summaryrefslogtreecommitdiff
path: root/ext/odbc
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-04-10 19:18:37 +0000
committerfoobar <sniper@php.net>2005-04-10 19:18:37 +0000
commit338bdf15872012e6485169fe59034a0ca6ba373c (patch)
tree71a0fbcd3c4d6435a364c12200a2f61d50e1b8be /ext/odbc
parent28ffae8ad0c76b0624f6852229b7f8821eb9ea8a (diff)
downloadphp-git-338bdf15872012e6485169fe59034a0ca6ba373c.tar.gz
Add more detailed failure msg. (bug #32649)
Diffstat (limited to 'ext/odbc')
-rw-r--r--ext/odbc/config.m413
1 files changed, 7 insertions, 6 deletions
diff --git a/ext/odbc/config.m4 b/ext/odbc/config.m4
index 7b9f703359..ff827d851d 100644
--- a/ext/odbc/config.m4
+++ b/ext/odbc/config.m4
@@ -207,15 +207,16 @@ AC_ARG_WITH(ibm-db2,
PHP_TEST_BUILD(SQLExecute, [
AC_DEFINE(HAVE_IBMDB2,1,[ ])
AC_MSG_RESULT(yes)
- ],
- [
+ ], [
AC_MSG_RESULT(no)
- AC_MSG_ERROR([build test failed. Please check the config.log for details.])
- ],
- [
+ AC_MSG_ERROR([
+build test failed. Please check the config.log for details.
+You need to source your DB2 environment before running PHP configure:
+# . $IBM_DB2/db2profile
+])
+ ], [
$ODBC_LFLAGS $ODBC_LIBS
])
-
else
AC_MSG_RESULT(no)
fi