Skip to content

Commit 2cfe266

Browse files
committed
Ope, accidentally deleted this in a refactor
1 parent ddceb67 commit 2cfe266

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ext/odbc/config.m4

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,10 @@ AS_VAR_IF([PHP_ODBCVER], [no],
127127

128128
dnl Extension setup
129129
if test -n "$ODBC_TYPE"; then
130-
AS_VAR_IF([ODBC_TYPE], [dbmaker],, [
131-
PHP_EVAL_LIBLINE([$ODBC_LFLAGS $ODBC_LIBS], [ODBC_SHARED_LIBADD])
132-
])
130+
PHP_EVAL_LIBLINE([$ODBC_LFLAGS $ODBC_LIBS], [ODBC_SHARED_LIBADD])
131+
AC_DEFINE([HAVE_SQLDATASOURCES], [1],
132+
[Define to 1 if ODBC library has 'SQLDataSources', as a function or
133+
macro.])
133134

134135
AC_DEFINE([HAVE_UODBC], [1],
135136
[Define to 1 if the PHP extension 'odbc' is available.])

0 commit comments

Comments
 (0)