diff options
author | Sascha Schumann <sas@php.net> | 2000-05-02 04:01:15 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-05-02 04:01:15 +0000 |
commit | 82c5c690c9813fe8f5abe790947be8065968b05b (patch) | |
tree | de753ac02abf15395bf097ac6968578967abd29b /ext/icap | |
parent | f1dfd1f5f746b33b85ab307dbfdde8131aa1d6b6 (diff) | |
download | php-git-82c5c690c9813fe8f5abe790947be8065968b05b.tar.gz |
Use the new AC_ADD_LIBRARY_WITH_PATH option shared-libadd
Diffstat (limited to 'ext/icap')
-rw-r--r-- | ext/icap/config.m4 | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/icap/config.m4 b/ext/icap/config.m4 index 27f1be4c6a..2bd3b6a129 100644 --- a/ext/icap/config.m4 +++ b/ext/icap/config.m4 @@ -8,12 +8,8 @@ if test "$PHP_ICAP" != "no"; then test "$ICAP_DIR" = "yes" && ICAP_DIR=/usr/local AC_ADD_INCLUDE($ICAP_DIR) - if test "$ext_shared" = "yes"; then - ICAP_SHARED_LIBADD="-R$ICAP_DIR/lib -L$ICAP_DIR/lib -licap" - PHP_SUBST(ICAP_SHARED_LIBADD) - else - AC_ADD_LIBRARY_WITH_PATH(icap, $ICAP_DIR) - fi + PHP_SUBST(ICAP_SHARED_LIBADD) + AC_ADD_LIBRARY_WITH_PATH(icap, $ICAP_DIR, ICAP_SHARED_LIBADD) AC_DEFINE(HAVE_ICAP,1,[ ]) PHP_EXTENSION(icap, $ext_shared) fi |