From: Marcus Boerger Date: Tue, 28 Jan 2003 06:27:01 +0000 (+0000) Subject: - fix this: els is optional but may not be empty X-Git-Tag: PHP_5_0_dev_before_13561_fix~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ab64d2b9659aabe485b9221d98b84e79decb8a1;p=php - fix this: els is optional but may not be empty --- diff --git a/ext/dba/config.m4 b/ext/dba/config.m4 index b5293e340a..999beed148 100644 --- a/ext/dba/config.m4 +++ b/ext/dba/config.m4 @@ -10,7 +10,8 @@ AC_DEFUN(PHP_DBA_STD_BEGIN,[ AC_DEFUN(PHP_TEMP_LDFLAGS,[ old_LDFLAGS=$LDFLAGS - LDFLAGS="$1 $LDFLAGS" +dnl LDFLAGS="$1 $LDFLAGS" + LDFLAGS="$1" $2 LDFLAGS=$old_LDFLAGS ]) @@ -141,14 +142,14 @@ AC_DEFUN(PHP_DBA_DB_CHECK,[ for LIB in $2; do PHP_TEMP_LDFLAGS(-L$THIS_PREFIX/lib,[ AC_CHECK_LIB($LIB, $3, [ - AC_EGREP_CPP(yes,[ + AC_EGREP_CPP(yes,[ #include "$THIS_INCLUDE" - yes + yes #endif ],[ THIS_LIBS=$LIB break - ],[ ]) + ]) ]) ]) done