mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
Hmm actually it seems to be the other way around, Anatol?
This commit is contained in:
parent
f0f3cb6ab5
commit
a569d003e2
@ -2,7 +2,7 @@
|
||||
// vim:ft=javascript
|
||||
|
||||
ARG_ENABLE("odbc", "ODBC support", "no");
|
||||
ARG_WITH("odbcver", "Force support for the passed ODBC version. A hex number is expected, default 0x0350. Use the special value of 0 to prevent an explicit ODBCVER to be defined.", "0x0300");
|
||||
ARG_WITH("odbcver", "Force support for the passed ODBC version. A hex number is expected, default 0x0350. Use the special value of 0 to prevent an explicit ODBCVER to be defined.", "0x0350");
|
||||
|
||||
if (PHP_ODBC == "yes") {
|
||||
if (CHECK_LIB("odbc32.lib", "odbc") && CHECK_LIB("odbccp32.lib", "odbc")
|
||||
@ -11,7 +11,7 @@ if (PHP_ODBC == "yes") {
|
||||
EXTENSION("odbc", "php_odbc.c", PHP_ODBC_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
|
||||
AC_DEFINE("HAVE_UODBC", 1, "ODBC support");
|
||||
if ("no" == PHP_ODBCVER) {
|
||||
AC_DEFINE("ODBCVER", "0x0300", "The highest supported ODBC version", false);
|
||||
AC_DEFINE("ODBCVER", "0x0350", "The highest supported ODBC version", false);
|
||||
} else if ("0" != PHP_ODBCVER) {
|
||||
AC_DEFINE("ODBCVER", PHP_ODBCVER, "The highest supported ODBC version", false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user