cvs: php4 / acinclude.m4
| From: | Sascha Schumann | Date: | Thu, 04 Apr 2002 10:03:30 +0000 |
| Subject: | cvs: php4 / acinclude.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10850@lists.php.net to get a copy of this message | ||
sas Thu Apr 4 05:03:30 2002 EDT
Modified files:
/php4 acinclude.m4
Log:
Add deferred libs to DLIBS instead of LIBS.
Noticed by: Jani Taskinen <sniper@iki.fi>
Index: php4/acinclude.m4
diff -u php4/acinclude.m4:1.178 php4/acinclude.m4:1.179
--- php4/acinclude.m4:1.178 Fri Mar 29 22:17:24 2002
+++ php4/acinclude.m4 Thu Apr 4 05:03:29 2002
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.178 2002/03/30 03:17:24 markonen Exp $
+dnl $Id: acinclude.m4,v 1.179 2002/04/04 10:03:29 sas Exp $
dnl
dnl This file contains local autoconf functions.
@@ -924,7 +924,7 @@
case $1 in
c|c_r|pthread*) ;;
*) ifelse($3,,[
- PHP_X_ADD_LIBRARY($1,$2,LIBS)
+ PHP_X_ADD_LIBRARY($1,$2,$5)
],[
if test "$ext_shared" = "yes"; then
PHP_X_ADD_LIBRARY($1,$2,$3)
@@ -942,7 +942,7 @@
dnl add a library to the link line
dnl
AC_DEFUN(PHP_ADD_LIBRARY,[
- PHP_ADD_LIBRARY_SKELETON([$1],[$2],[$3],[PHP_ADD_LIBRARY])
+ PHP_ADD_LIBRARY_SKELETON([$1],[$2],[$3],[PHP_ADD_LIBRARY],[LIBS])
])
dnl
@@ -951,9 +951,9 @@
dnl add a library to the link line (deferred)
dnl
AC_DEFUN(PHP_ADD_LIBRARY_DEFER,[
- PHP_ADD_LIBRARY_SKELETON([$1],[$2],[$3],[PHP_ADD_LIBRARY_DEFER])
+ PHP_ADD_LIBRARY_SKELETON([$1],[$2],[$3],[PHP_ADD_LIBRARY_DEFER],[DLIBS])
])
-
+
dnl
dnl PHP_ADD_LIBRARY_WITH_PATH(library, path[, shared-libadd])
dnl