From: foobar Date: Sun, 10 Apr 2005 19:22:42 +0000 (+0000) Subject: MFH X-Git-Tag: php-5.0.5RC1~452 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8037889e2c3d994b350d2ee599c8bbe67c4ca353;p=php MFH --- diff --git a/ext/odbc/config.m4 b/ext/odbc/config.m4 index 630f533ea1..166a5a2d4f 100644 --- a/ext/odbc/config.m4 +++ b/ext/odbc/config.m4 @@ -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 ])