Skip to content

Commit 1ab64d2

Browse files
committed
- fix this: els is optional but may not be empty
1 parent 0e38fed commit 1ab64d2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

ext/dba/config.m4

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ AC_DEFUN(PHP_DBA_STD_BEGIN,[
1010

1111
AC_DEFUN(PHP_TEMP_LDFLAGS,[
1212
old_LDFLAGS=$LDFLAGS
13-
LDFLAGS="$1 $LDFLAGS"
13+
dnl LDFLAGS="$1 $LDFLAGS"
14+
LDFLAGS="$1"
1415
$2
1516
LDFLAGS=$old_LDFLAGS
1617
])
@@ -141,14 +142,14 @@ AC_DEFUN(PHP_DBA_DB_CHECK,[
141142
for LIB in $2; do
142143
PHP_TEMP_LDFLAGS(-L$THIS_PREFIX/lib,[
143144
AC_CHECK_LIB($LIB, $3, [
144-
AC_EGREP_CPP(yes,[
145+
AC_EGREP_CPP(yes,[
145146
#include "$THIS_INCLUDE"
146-
yes
147+
yes
147148
#endif
148149
],[
149150
THIS_LIBS=$LIB
150151
break
151-
],[ ])
152+
])
152153
])
153154
])
154155
done

0 commit comments

Comments
 (0)