]> granicus.if.org Git - php/commitdiff
MFH
authorfoobar <sniper@php.net>
Sun, 10 Apr 2005 19:22:42 +0000 (19:22 +0000)
committerfoobar <sniper@php.net>
Sun, 10 Apr 2005 19:22:42 +0000 (19:22 +0000)
ext/odbc/config.m4

index 630f533ea13fcefb2fd4337ba82a68848d927b97..166a5a2d4f65913c9f328e284e9fa3d4a024e9fd 100644 (file)
@@ -207,12 +207,14 @@ 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
     ])