[
AC_DEFINE([HAVE_MCRYPT_H], [1],
[Define to 1 if you have the <mcrypt.h> header file.])
- AC_CHECK_LIB([ltdl], [lt_dlinit], [mc_libs=-lltdl], [mc_libs=])
AC_CHECK_LIB([mcrypt], [mcrypt_generic_init],
[
AC_DEFINE([HAVE_LIBMCRYPT], [1],
[Define to 1 if you have the `mcrypt' library (-lmcrypt).])
- MODULE_LIBS="-lmcrypt ${mc_libs} ${MODULE_LIBS}"
+ MODULE_LIBS="-lmcrypt ${MODULE_LIBS}"
MODULE_BASES="${MODULE_BASES} prmcrypt"
- ],
- [],
- [${mc_libs}])
+ ])
])
fi
$(LINK_MODULE) prmhash.o -lmhash $(MODULE_LIBS)
prmcrypt.so: prmcrypt.o @MODULE_LOADER@
- $(LINK_MODULE) prmcrypt.o -lmcrypt -lltdl $(MODULE_LIBS)
+ $(LINK_MODULE) prmcrypt.o -lmcrypt $(MODULE_LIBS)
prgdbm.so: prgdbm.o @MODULE_LOADER@
$(LINK_MODULE) prgdbm.o -lgdbm $(MODULE_LIBS)