cvs: php4 /ext/dba config.m4

From: Date: Sat, 21 Oct 2000 00:35:10 +0000
Subject: cvs: php4 /ext/dba config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2184@lists.php.net to get a copy of this message
sniper Fri Oct 20 17:35:10 2000 EDT Modified files: /php4/ext/dba config.m4 Log: Now checks that the library really exists even if path is specified as /usr PR: 7358 Index: php4/ext/dba/config.m4 diff -u php4/ext/dba/config.m4:1.9 php4/ext/dba/config.m4:1.10 --- php4/ext/dba/config.m4:1.9 Mon May 1 21:01:14 2000 +++ php4/ext/dba/config.m4 Fri Oct 20 17:35:10 2000 @@ -1,4 +1,4 @@ -dnl $Id: config.m4,v 1.9 2000/05/02 04:01:14 sas Exp $ +dnl $Id: config.m4,v 1.10 2000/10/21 00:35:10 sniper Exp $ dnl config.m4 for extension dba dnl don't forget to call PHP_EXTENSION(dba) @@ -21,12 +21,11 @@ dnl Standard check AC_DEFUN(AC_DBA_STD_CHECK,[ THIS_RESULT="yes" - if test "$THIS_PREFIX" != "/usr"; then - if test "$THIS_INCLUDE" = "" ; then + if test "$THIS_PREFIX" != "/usr" -a "$THIS_INCLUDE" = ""; then AC_MSG_ERROR(cannot find necessary header file(s)) - elif test "$THIS_LIBS" = "" ; then - AC_MSG_ERROR(cannot find necessary library) fi + if test "$THIS_LIBS" = "" ; then + AC_MSG_ERROR(cannot find necessary library) fi ])

« previous php.cvs (#2184) next »