cvs: php4 / acinclude.m4

From: Date: Sat, 17 Jun 2000 10:53:09 +0000
Subject: cvs: php4 / acinclude.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-327@lists.php.net to get a copy of this message
sas Sat Jun 17 03:53:09 2000 EDT Modified files: /php4 acinclude.m4 Log: Suppress AC_ADD_LIBRARY(x) where x is matched by /^(c|c_r|pthread*)$/ Index: php4/acinclude.m4 diff -u php4/acinclude.m4:1.96 php4/acinclude.m4:1.97 --- php4/acinclude.m4:1.96 Sat Jun 17 03:50:42 2000 +++ php4/acinclude.m4 Sat Jun 17 03:53:08 2000 @@ -1,4 +1,4 @@ -dnl $Id: acinclude.m4,v 1.96 2000/06/17 10:50:42 sas Exp $ +dnl $Id: acinclude.m4,v 1.97 2000/06/17 10:53:08 sas Exp $ dnl dnl This file contains local autoconf functions. @@ -535,7 +535,9 @@ dnl add a library to the link line dnl AC_DEFUN(AC_ADD_LIBRARY,[ - if test "$1" != "c"; then + case "$1" in + c|c_r|pthread*) ;; + *) ifelse($3,,[ AC_PHP_ONCE(LIBRARY, $1, [ PHP_X_ADD_LIBRARY($1,$2,LIBS) @@ -547,7 +549,8 @@ AC_ADD_LIBRARY($1,$2) fi ]) - fi + ;; + esac ]) dnl

« previous php.cvs (#327) next »