sas Mon Oct 7 22:27:53 2002 EDT Modified files: /php4 configure.in Log: add support for adding /usr/lib to the linkline by default Index: php4/configure.in diff -u php4/configure.in:1.379 php4/configure.in:1.380 --- php4/configure.in:1.379 Sat Oct 5 16:37:11 2002 +++ php4/configure.in Mon Oct 7 22:27:53 2002 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.379 2002/10/05 20:37:11 andrei Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.380 2002/10/08 02:27:53 sas Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -914,10 +914,16 @@ AC_SUBST(EXPANDED_PHP_CONFIG_FILE_PATH) AC_SUBST(EXPANDED_PHP_CONFIG_FILE_SCAN_DIR) +if test -n "$php_ldflags_add_usr_lib"; then + PHP_RPATHS="$PHP_RPATHS /usr/lib" +fi + PHP_UTILIZE_RPATHS -PHP_REMOVE_USR_LIB(PHP_LDFLAGS) -PHP_REMOVE_USR_LIB(LDFLAGS) +if test -z "$php_ldflags_add_usr_lib"; then + PHP_REMOVE_USR_LIB(PHP_LDFLAGS) + PHP_REMOVE_USR_LIB(LDFLAGS) +fi EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS"
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php