Skip to content

Commit

Permalink
MFH
Browse files Browse the repository at this point in the history
  • Loading branch information
foobar committed Jun 1, 2001
1 parent 82bf518 commit 8fd4280
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 8 additions & 3 deletions ext/odbc/config.m4
@@ -1,3 +1,5 @@
dnl $Id$

dnl
dnl Figure out which library file to link with for the Solid support.
dnl
Expand Down Expand Up @@ -366,6 +368,9 @@ AC_ARG_WITH(iodbc,
PHP_ADD_LIBRARY_WITH_PATH(iodbc, $withval/lib)
PHP_ADD_INCLUDE($withval/include)
ODBC_TYPE=iodbc
ODBC_INCLUDE=-I$withval/include
ODBC_LFLAGS=-L$withval/lib
ODBC_LIBS=-liodbc
AC_DEFINE(HAVE_IODBC,1,[ ])
AC_MSG_RESULT(yes)
else
Expand Down Expand Up @@ -533,10 +538,10 @@ if test -n "$ODBC_TYPE"; then
fi
AC_DEFINE(HAVE_UODBC,1,[ ])
PHP_SUBST(ODBC_INCDIR)
PHP_SUBST(ODBC_INCLUDE)
PHP_SUBST(ODBC_LIBDIR)
PHP_SUBST(ODBC_LIBS)
PHP_SUBST(ODBC_LFLAGS)
PHP_SUBST_OLD(ODBC_INCLUDE)
PHP_SUBST_OLD(ODBC_LIBS)
PHP_SUBST_OLD(ODBC_LFLAGS)
PHP_SUBST_OLD(ODBC_TYPE)
PHP_EXTENSION(odbc, $shared)
fi
2 changes: 2 additions & 0 deletions ext/odbc/php_odbc.c
Expand Up @@ -259,6 +259,8 @@ static PHP_INI_DISP(display_defPW)
#else
PUTS("********");
#endif
} else {
PUTS("<i>no value</i>");
}
}

Expand Down

0 comments on commit 8fd4280

Please sign in to comment.