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)
LT_INIT

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.* FAILED

AC_CONFIG_FILES([\
Makefile \
src/Makefile \
])
AC_OUTPUT

GB_PRINT_MESSAGES
