File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -441,21 +441,25 @@ AC_MSG_CHECKING(for OpenLink ODBC support)
441
441
AC_ARG_WITH ( openlink ,
442
442
[ --with-openlink[ =DIR] Include OpenLink ODBC support. DIR is the
443
443
OpenLink base install directory, defaults to
444
- /usr/local/openlink .] ,
444
+ /usr/local. This is the same as iODBC .] ,
445
445
[
446
446
PHP_WITH_SHARED
447
447
if test "$withval" = "yes"; then
448
- withval=/usr/local/openlink
448
+ withval=/usr/local
449
449
fi
450
450
if test "$withval" != "no"; then
451
- ODBC_INCDIR=$withval/odbcsdk/include
452
- ODBC_LIBDIR=$withval/odbcsdk/lib
453
- ODBC_LFLAGS=-L$ODBC_LIBDIR
454
- ODBC_INCLUDE=-I$ODBC_INCDIR
451
+ PHP_ADD_LIBRARY_WITH_PATH(iodbc, $withval/lib)
452
+ PHP_ADD_INCLUDE($withval/include, 1)
453
+ ODBC_TYPE=iodbc
454
+ ODBC_INCLUDE=-I$withval/include
455
+ ODBC_LFLAGS=-L$withval/lib
455
456
ODBC_LIBS=-liodbc
456
- ODBC_TYPE=openlink
457
- AC_DEFINE ( HAVE_OPENLINK ,1 ,[ ] )
457
+ AC_DEFINE ( HAVE_IODBC ,1 ,[ ] )
458
458
AC_MSG_RESULT ( yes )
459
+ echo "****************************************************************"
460
+ echo " --with-openlink will not be valid in future releases. Please "
461
+ echo " update your configure script to use --with-iodbc instead. "
462
+ echo "****************************************************************"
459
463
else
460
464
AC_MSG_RESULT ( no )
461
465
fi
You can’t perform that action at this time.
0 commit comments