diff options
author | Sascha Schumann <sas@php.net> | 1999-06-20 18:52:46 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-06-20 18:52:46 +0000 |
commit | 43a466a076ccae658c468615f7b05a93188bc897 (patch) | |
tree | 051cb80ce73069834f4aa3d1565ccf017613b4ee /ext/mhash | |
parent | 2b97cb1f88f745897e91cc966c7faad3a097b635 (diff) | |
download | php-git-43a466a076ccae658c468615f7b05a93188bc897.tar.gz |
Introduce AC_ADD_* macros
The use of AC_EXPAND_PATH makes it possible to continue
to use relative paths when configuring PHP.
(e.g. --with-apache=../apache-1.3.x works again)
Diffstat (limited to 'ext/mhash')
-rw-r--r-- | ext/mhash/config.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mhash/config.m4 b/ext/mhash/config.m4 index 5a19821462..92c03d4abd 100644 --- a/ext/mhash/config.m4 +++ b/ext/mhash/config.m4 @@ -16,8 +16,8 @@ AC_ARG_WITH(mhash, if test "$MHASH_DIR" = ""; then AC_MSG_ERROR(Please reinstall libmhash - I cannot find mhash.h) fi - INCLUDES="$INCLUDES -I$MHASH_DIR/include" - EXTRA_LIBS="$EXTRA_LIBS -L$MHASH_DIR/lib -lmhash" + AC_ADD_INCLUDE($MHASH_DIR/include) + AC_ADD_LIBRARY_WITH_PATH(mhash, $MHASH_DIR/lib) AC_DEFINE(HAVE_LIBMHASH) |