summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/php/files/4-any/php4-iodbc-config.diff')
-rw-r--r--dev-lang/php/files/4-any/php4-iodbc-config.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-lang/php/files/4-any/php4-iodbc-config.diff b/dev-lang/php/files/4-any/php4-iodbc-config.diff
new file mode 100644
index 000000000000..a706916fad5e
--- /dev/null
+++ b/dev-lang/php/files/4-any/php4-iodbc-config.diff
@@ -0,0 +1,14 @@
+--- ext/odbc/config.m4 2005-08-10 02:05:26.000000000 +0200
++++ ext/odbc/config.m4 2005-08-10 02:06:10.000000000 +0200
+@@ -401,9 +401,9 @@
+ fi
+ if test "$withval" != "no"; then
+ PHP_ADD_LIBRARY_WITH_PATH(iodbc, $withval/lib)
+- PHP_ADD_INCLUDE($withval/include, 1)
++ PHP_ADD_INCLUDE($withval/include/iodbc, 1)
+ ODBC_TYPE=iodbc
+- ODBC_INCLUDE=-I$withval/include
++ ODBC_INCLUDE=-I$withval/include/iodbc
+ ODBC_LFLAGS=-L$withval/lib
+ ODBC_LIBS=-liodbc
+ AC_DEFINE(HAVE_IODBC,1,[ ])