cvs: php4 /
| From: | Thies C. Arntzen | Date: | Mon, 08 May 2000 08:55:45 +0000 |
| Subject: | cvs: php4 / | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14653@lists.php.net to get a copy of this message | ||
thies Mon May 8 01:55:45 2000 EDT
Modified files:
/php4 acinclude.m4
Log:
AC_ADD_LIBRARY_WITH_PATH now always prepends new libraries.
Index: php4/acinclude.m4
diff -u php4/acinclude.m4:1.81 php4/acinclude.m4:1.82
--- php4/acinclude.m4:1.81 Mon May 8 01:27:48 2000
+++ php4/acinclude.m4 Mon May 8 01:55:45 2000
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.81 2000/05/08 08:27:48 thies Exp $
+dnl $Id: acinclude.m4,v 1.82 2000/05/08 08:55:45 thies Exp $
dnl
dnl This file contains local autoconf functions.
@@ -429,18 +429,19 @@
if test -n "$2"; then
AC_ADD_LIBPATH($2)
fi
- AC_ADD_LIBRARY($1,1)
+ AC_ADD_LIBRARY($1)
],[
if test "$ext_shared" = "yes"; then
if test -n "$2"; then
- $3="[$]$3 -R$2 -L$2"
+ $3="-R$2 -L$2 -l$1 [$]$3"
+ else
+ $3="-l$1 [$]$3"
fi
- $3="[$]$3 -l$1"
else
if test -n "$2"; then
AC_ADD_LIBPATH($2)
fi
- AC_ADD_LIBRARY($1,1)
+ AC_ADD_LIBRARY($1)
fi
])
])