sniper          Tue Jan 21 00:08:33 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /php4/ext/ircg      config.m4 
  Log:
  MFH: Fix bug: #21249, configure fails when searching for ircg-config script
  
Index: php4/ext/ircg/config.m4
diff -u php4/ext/ircg/config.m4:1.14 php4/ext/ircg/config.m4:1.14.4.1
--- php4/ext/ircg/config.m4:1.14        Mon Mar 18 10:00:57 2002
+++ php4/ext/ircg/config.m4     Tue Jan 21 00:08:33 2003
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.14 2002/03/18 15:00:57 sas Exp $
+dnl $Id: config.m4,v 1.14.4.1 2003/01/21 05:08:33 sniper Exp $
 dnl
 
 PHP_ARG_WITH(ircg, for IRCG support,
@@ -17,8 +17,10 @@
 ])
 
 if test "$PHP_IRCG" != "no"; then
-  $IRCG_CONFIG --ldflags
-  if test "$?" != "0"; then
+
+  $IRCG_PREFIX=`$IRCG_CONFIG --prefix`
+  
+  if test -z "$IRCG_PREFIX"; then
     AC_MSG_ERROR([I cannot run the ircg-config script which should have been 
installed by IRCG. Please ensure that the script is in your PATH or point 
--with-ircg-config to the path of the script.])
   fi
   



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

Reply via email to