Justtechjobs.com Find a programming school near you






Online Campus Both


php4-beta | 199912

[PHP4BETA] cvs: /php4 acinclude.m4 From: Sascha Schumann (sascha <email protected>)
Date: 12/30/99

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")
   ])
 ])
 

-- 
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe <email protected>
For additional commands, e-mail: php4beta-help <email protected>
To contact the list administrators, e-mail: php4beta-admin <email protected>