cvs: /php4 acinclude.m4

From: Date: Thu, 30 Dec 1999 14:48:28 +0000
Subject: cvs: /php4 acinclude.m4
Groups: php.version4 
Request: Send a blank email to php-version4+get-8707@lists.php.net to get a copy of this message
sas Thu Dec 30 09:48:28 1999 EDT Modified files: /php4 acinclude.m4 Log: Let m4 decide what to do Index: php4/acinclude.m4 diff -u php4/acinclude.m4:1.54 php4/acinclude.m4:1.55 --- php4/acinclude.m4:1.54 Wed Dec 29 21:58:26 1999 +++ php4/acinclude.m4 Thu Dec 30 09:48:26 1999 @@ -1,4 +1,4 @@ -dnl $Id: acinclude.m4,v 1.54 1999/12/30 02:58:26 sas Exp $ +dnl $Id: acinclude.m4,v 1.55 1999/12/30 14:48:26 sas Exp $ dnl dnl This file contains local autoconf functions. @@ -243,11 +243,7 @@ dnl AC_DEFUN(AC_ADD_LIBRARY,[ AC_PHP_ONCE(LIBRARY, $1, [ - if test -z "$2"; then - LIBS="-l$1 $LIBS" - else - LIBS="$LIBS -l$1" - fi + ifelse($#, 1, LIBS="-l$1 $LIBS", LIBS="$LIBS -l$1") ]) ])

« previous php.version4 (#8707) next »