Fixed the config.m4 script to allow the cracklib extension to be properly built

as a shared module.
This commit is contained in:
Alexander Feldman 2001-07-28 07:09:42 +00:00
parent 2bff935a4f
commit adb1fa5a4c

View File

@ -22,10 +22,12 @@ if test "$PHP_CRACK" != "no"; then
AC_MSG_ERROR(Cannot find a cracklib header file)
fi
PHP_ADD_INCLUDE($CRACK_INCLUDEDIR)
PHP_ADD_LIBRARY_WITH_PATH(crack, $CRACK_LIBDIR)
PHP_ADD_INCLUDE($CRACK_INCLUDEDIR)
PHP_ADD_LIBRARY_WITH_PATH(crack, $CRACK_LIBDIR, CRACK_SHARED_LIBADD)
PHP_EXTENSION(crack, $ext_shared)
AC_DEFINE(HAVE_CRACK, 1, [ ])
fi
PHP_SUBST(CRACK_SHARED_LIBADD)