File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -188,16 +188,16 @@ AC_ARG_WITH(ibm-db2,
188
188
PHP_WITH_SHARED
189
189
if test "$withval" != "no"; then
190
190
if test "$withval" = "yes"; then
191
- ODBC_INCDIR=/home/db2inst1/sqllib/include
192
- ODBC_LIBDIR=/home/db2inst1/sqllib/lib
191
+ ODBC_INCDIR=/home/db2inst1/sqllib/include
192
+ ODBC_LIBDIR=/home/db2inst1/sqllib/lib
193
193
else
194
- ODBC_INCDIR=$withval/include
195
- ODBC_LIBDIR=$withval/lib
194
+ ODBC_INCDIR=$withval/include
195
+ ODBC_LIBDIR=$withval/lib
196
196
fi
197
197
ODBC_INCLUDE=-I$ODBC_INCDIR
198
198
ODBC_LFLAGS=-L$ODBC_LIBDIR
199
199
ODBC_TYPE=db2
200
- ODBC_LIBS=" -ldb2"
200
+ ODBC_LIBS=-ldb2
201
201
AC_DEFINE ( HAVE_IBMDB2 ,1 ,[ ] )
202
202
203
203
AC_MSG_RESULT ( yes )
538
538
if test -n "$ODBC_TYPE"; then
539
539
if test "$ODBC_TYPE" != "dbmaker"; then
540
540
if test "$shared" != "yes"; then
541
- EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ODBC_LFLAGS"
542
- EXTRA_LIBS="$EXTRA_LIBS $ODBC_LIBS"
541
+ PHP_EVAL_LIBLINE([ $ODBC_LFLAGS $ODBC_LIBS] , OBDC_SHARED_LIBADD)
543
542
fi
544
543
fi
545
544
AC_DEFINE ( HAVE_UODBC ,1 ,[ ] )
You can’t perform that action at this time.
0 commit comments