Changeset View
Changeset View
Standalone View
Standalone View
databases/php74-odbc/files/patch-config.m4
--- config.m4.orig 2018-09-25 09:07:57 UTC | --- config.m4.orig 2019-08-06 06:54:18 UTC | ||||
+++ config.m4 | +++ config.m4 | ||||
@@ -97,6 +97,9 @@ AC_DEFUN([PHP_ODBC_FIND_EMPRESS_BCS_LIBS | @@ -91,6 +91,9 @@ AC_DEFUN([PHP_ODBC_FIND_EMPRESS_BCS_LIBS | ||||
dnl | dnl | ||||
dnl configure options | dnl configure options | ||||
dnl | dnl | ||||
Context not available. | |||||
+[ --enable-odbc Enable ODBC support with selected driver]) | +[ --enable-odbc Enable ODBC support with selected driver]) | ||||
+ | + | ||||
PHP_ARG_WITH(odbcver,, | PHP_ARG_WITH([odbcver],, | ||||
[ --with-odbcver[=HEX] Force support for the passed ODBC version. A hex number is expected, default 0x0350. | [AS_HELP_STRING([[--with-odbcver[=HEX]]], | ||||
@@ -104,7 +107,7 @@ PHP_ARG_WITH(odbcver,, | @@ -102,7 +105,7 @@ PHP_ARG_WITH([odbcver],, | ||||
if test -z "$ODBC_TYPE"; then | if test -z "$ODBC_TYPE"; then | ||||
PHP_ARG_WITH(adabas,, | PHP_ARG_WITH([adabas],, | ||||
-[ --with-adabas[=DIR] Include Adabas D support [/usr/local]]) | [AS_HELP_STRING([[--with-adabas[=DIR]]], | ||||
+[ --with-adabas[=DIR] Include Adabas D support [/usr/local]], no, no) | - [Include Adabas D support [/usr/local]])]) | ||||
+ [Include Adabas D support [/usr/local]])], [no], [no]) | |||||
AC_MSG_CHECKING([for Adabas support]) | AC_MSG_CHECKING([for Adabas support]) | ||||
if test "$PHP_ADABAS" != "no"; then | if test "$PHP_ADABAS" != "no"; then | ||||
@@ -133,7 +136,7 @@ fi | @@ -132,7 +135,7 @@ fi | ||||
if test -z "$ODBC_TYPE"; then | if test -z "$ODBC_TYPE"; then | ||||
PHP_ARG_WITH(sapdb,, | PHP_ARG_WITH([sapdb],, | ||||
-[ --with-sapdb[=DIR] Include SAP DB support [/usr/local]]) | [AS_HELP_STRING([[--with-sapdb[=DIR]]], | ||||
+[ --with-sapdb[=DIR] Include SAP DB support [/usr/local]], no, no) | - [Include SAP DB support [/usr/local]])]) | ||||
+ [Include SAP DB support [/usr/local]])], [no], [no]) | |||||
AC_MSG_CHECKING([for SAP DB support]) | AC_MSG_CHECKING([for SAP DB support]) | ||||
if test "$PHP_SAPDB" != "no"; then | if test "$PHP_SAPDB" != "no"; then | ||||
@@ -153,7 +156,7 @@ fi | @@ -153,7 +156,7 @@ fi | ||||
if test -z "$ODBC_TYPE"; then | if test -z "$ODBC_TYPE"; then | ||||
PHP_ARG_WITH(solid,, | PHP_ARG_WITH([solid],, | ||||
-[ --with-solid[=DIR] Include Solid support [/usr/local/solid]]) | [AS_HELP_STRING([[--with-solid[=DIR]]], | ||||
+[ --with-solid[=DIR] Include Solid support [/usr/local/solid]], no, no) | - [Include Solid support [/usr/local/solid]])]) | ||||
+ [Include Solid support [/usr/local/solid]])], [no], [no]) | |||||
AC_MSG_CHECKING(for Solid support) | AC_MSG_CHECKING(for Solid support) | ||||
if test "$PHP_SOLID" != "no"; then | if test "$PHP_SOLID" != "no"; then | ||||
@@ -180,7 +183,7 @@ fi | @@ -181,7 +184,7 @@ fi | ||||
if test -z "$ODBC_TYPE"; then | if test -z "$ODBC_TYPE"; then | ||||
PHP_ARG_WITH(ibm-db2,, | PHP_ARG_WITH([ibm-db2],, | ||||
-[ --with-ibm-db2[=DIR] Include IBM DB2 support [/home/db2inst1/sqllib]]) | [AS_HELP_STRING([[--with-ibm-db2[=DIR]]], | ||||
+[ --with-ibm-db2[=DIR] Include IBM DB2 support [/home/db2inst1/sqllib]], no, no) | - [Include IBM DB2 support [/home/db2inst1/sqllib]])]) | ||||
+ [Include IBM DB2 support [/home/db2inst1/sqllib]])], [no], [no]) | |||||
AC_MSG_CHECKING(for IBM DB2 support) | AC_MSG_CHECKING(for IBM DB2 support) | ||||
if test "$PHP_IBM_DB2" != "no"; then | if test "$PHP_IBM_DB2" != "no"; then | ||||
@@ -220,7 +223,7 @@ fi | @@ -222,7 +225,7 @@ if test -z "$ODBC_TYPE"; then | ||||
if test -z "$ODBC_TYPE"; then | PHP_ARG_WITH([empress],, | ||||
PHP_ARG_WITH(empress,, | [AS_HELP_STRING([[--with-empress[=DIR]]], | ||||
[ --with-empress[=DIR] Include Empress support [\$EMPRESSPATH] | [Include Empress support $EMPRESSPATH (Empress Version >= 8.60 | ||||
- (Empress Version >= 8.60 required)]) | - required)])]) | ||||
+ (Empress Version >= 8.60 required)], no, no) | + required)])], [no], [no]) | ||||
AC_MSG_CHECKING(for Empress support) | AC_MSG_CHECKING(for Empress support) | ||||
if test "$PHP_EMPRESS" != "no"; then | if test "$PHP_EMPRESS" != "no"; then | ||||
@@ -245,7 +248,7 @@ fi | @@ -248,7 +251,7 @@ if test -z "$ODBC_TYPE"; then | ||||
if test -z "$ODBC_TYPE"; then | PHP_ARG_WITH([empress-bcs],, | ||||
PHP_ARG_WITH(empress-bcs,, | [AS_HELP_STRING([[--with-empress-bcs[=DIR]]], | ||||
[ --with-empress-bcs[=DIR] Include Empress Local Access support [\$EMPRESSPATH] | [Include Empress Local Access support $EMPRESSPATH (Empress Version >= | ||||
- (Empress Version >= 8.60 required)]) | - 8.60 required)])]) | ||||
+ (Empress Version >= 8.60 required)], no, no) | + 8.60 required)])], [no], [no]) | ||||
AC_MSG_CHECKING(for Empress local access support) | AC_MSG_CHECKING(for Empress local access support) | ||||
if test "$PHP_EMPRESS_BCS" != "no"; then | if test "$PHP_EMPRESS_BCS" != "no"; then | ||||
@@ -292,7 +295,7 @@ PHP_ARG_WITH(custom-odbc,, | @@ -294,7 +297,7 @@ PHP_ARG_WITH([custom-odbc],, | ||||
running this configure script: | your include dirs. For example, you should define following for Sybase SQL | ||||
CPPFLAGS=\"-DODBC_QNX -DSQLANY_BUG\" | Anywhere 5.5.00 on QNX, prior to running this configure script: | ||||
LDFLAGS=-lunix | CPPFLAGS="-DODBC_QNX -DSQLANY_BUG" LDFLAGS=-lunix | ||||
- CUSTOM_ODBC_LIBS=\"-ldblib -lodbc\"]) | - CUSTOM_ODBC_LIBS="-ldblib -lodbc"])]) | ||||
+ CUSTOM_ODBC_LIBS=\"-ldblib -lodbc\"], no, no) | + CUSTOM_ODBC_LIBS="-ldblib -lodbc"])], [no], [no]) | ||||
AC_MSG_CHECKING(for a custom ODBC support) | AC_MSG_CHECKING(for a custom ODBC support) | ||||
if test "$PHP_CUSTOM_ODBC" != "no"; then | if test "$PHP_CUSTOM_ODBC" != "no"; then | ||||
@@ -314,7 +317,7 @@ fi | @@ -317,7 +320,7 @@ fi | ||||
if test -z "$ODBC_TYPE"; then | if test -z "$ODBC_TYPE"; then | ||||
PHP_ARG_WITH(iodbc,, | PHP_ARG_WITH([iodbc],, | ||||
-[ --with-iodbc[=DIR] Include iODBC support [/usr/local]]) | [AS_HELP_STRING([--with-iodbc], | ||||
+[ --with-iodbc[=DIR] Include iODBC support [/usr/local]], no, no) | - [Include iODBC support])]) | ||||
+ [Include iODBC support])], [no], [no]) | |||||
AC_MSG_CHECKING(for iODBC support) | AC_MSG_CHECKING(whether to build with iODBC support) | ||||
if test "$PHP_IODBC" != "no"; then | if test "$PHP_IODBC" != "no"; then | ||||
@@ -352,7 +355,7 @@ fi | @@ -335,7 +338,7 @@ fi | ||||
if test -z "$ODBC_TYPE"; then | if test -z "$ODBC_TYPE"; then | ||||
PHP_ARG_WITH(esoob,, | PHP_ARG_WITH([esoob],, | ||||
-[ --with-esoob[=DIR] Include Easysoft OOB support [/usr/local/easysoft/oob/client]]) | [AS_HELP_STRING([[--with-esoob[=DIR]]], | ||||
+[ --with-esoob[=DIR] Include Easysoft OOB support [/usr/local/easysoft/oob/client]], no, no) | - [Include Easysoft OOB support [/usr/local/easysoft/oob/client]])]) | ||||
+ [Include Easysoft OOB support [/usr/local/easysoft/oob/client]])], [no], [no]) | |||||
AC_MSG_CHECKING(for Easysoft ODBC-ODBC Bridge support) | AC_MSG_CHECKING(for Easysoft ODBC-ODBC Bridge support) | ||||
if test "$PHP_ESOOB" != "no"; then | if test "$PHP_ESOOB" != "no"; then | ||||
@@ -374,7 +377,7 @@ fi | @@ -358,7 +361,7 @@ fi | ||||
if test -z "$ODBC_TYPE"; then | if test -z "$ODBC_TYPE"; then | ||||
PHP_ARG_WITH(unixODBC,, | PHP_ARG_WITH([unixODBC],, | ||||
-[ --with-unixODBC[=DIR] Include unixODBC support [/usr/local]]) | [AS_HELP_STRING([--with-unixODBC], | ||||
+[ --with-unixODBC[=DIR] Include unixODBC support [/usr/local]], no, no) | - [Include unixODBC support])]) | ||||
+ [Include unixODBC support])], [no], [no]) | |||||
AC_MSG_CHECKING(for unixODBC support) | AC_MSG_CHECKING(whether to build with unixODBC support) | ||||
if test "$PHP_UNIXODBC" != "no"; then | if test "$PHP_UNIXODBC" != "no"; then | ||||
@@ -397,7 +400,7 @@ fi | @@ -386,7 +389,7 @@ fi | ||||
if test -z "$ODBC_TYPE"; then | if test -z "$ODBC_TYPE"; then | ||||
PHP_ARG_WITH(dbmaker,, | PHP_ARG_WITH([dbmaker],, | ||||
-[ --with-dbmaker[=DIR] Include DBMaker support]) | [AS_HELP_STRING([[--with-dbmaker[=DIR]]], | ||||
+[ --with-dbmaker[=DIR] Include DBMaker support], no, no) | - [Include DBMaker support])]) | ||||
+ [Include DBMaker support])], [no], [no]) | |||||
AC_MSG_CHECKING(for DBMaker support) | AC_MSG_CHECKING(for DBMaker support) | ||||
if test "$PHP_DBMAKER" != "no"; then | if test "$PHP_DBMAKER" != "no"; then | ||||
Context not available. |