sniper          Sun Apr 10 15:18:39 2005 EDT

  Modified files:              
    /php-src/ext/odbc   config.m4 
  Log:
  Add more detailed failure msg. (bug #32649)
  
http://cvs.php.net/diff.php/php-src/ext/odbc/config.m4?r1=1.70&r2=1.71&ty=u
Index: php-src/ext/odbc/config.m4
diff -u php-src/ext/odbc/config.m4:1.70 php-src/ext/odbc/config.m4:1.71
--- php-src/ext/odbc/config.m4:1.70     Mon Apr  4 06:50:32 2005
+++ php-src/ext/odbc/config.m4  Sun Apr 10 15:18:37 2005
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.70 2005/04/04 10:50:32 tony2001 Exp $
+dnl $Id: config.m4,v 1.71 2005/04/10 19:18:37 sniper Exp $
 dnl
 
 dnl
@@ -207,15 +207,16 @@
     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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to