gambas-source-code/gb.crypt/configure.ac
gambas aa6b7825d8 Do not disable 'gb.crypt' if libcrypt is not found. Let's suppose it is located in the C system library, as on some systems based on musl and busybox.
[CONFIGURATION]
* NEW: Fix some messages

[GB.CRYPT]
* NEW: Do not disable the component if libcrypt is not found. Let's suppose it is located in the C system library, as on some systems.
2018-09-29 04:40:24 +02:00

27 lines
594 B
Text

dnl ---- configure.ac for gb.crypt
m4_include([../version.m4])
AC_INIT(gambas3-gb-crypt, GB_VERSION, GB_MAIL, [], GB_URL)
AC_CONFIG_MACRO_DIR([m4])
GB_INIT(gb.crypt)
AC_PROG_LIBTOOL
GB_COMPONENT(
crypt, CRYPT, gb.crypt, [src],
[],
[GB_FIND(libcrypt.$SHLIBEXT, $prefix /usr/local /usr, lib)],
[-lcrypt],
[],
[Cannot find 'libcrypt' library. It may be merged inside the system C library, so you can ignore that warning...])
dnl ---- Remove DISABLED file that could have been generated before
rm -f DISABLED DISABLED.*
AC_OUTPUT( \
Makefile \
src/Makefile \
)
GB_PRINT_MESSAGES