sniper          Tue Jan 21 00:08:15 2003 EDT

  Modified files:              
    /php4/ext/ircg      config.m4 
  Log:
  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.18 php4/ext/ircg/config.m4:1.19
--- php4/ext/ircg/config.m4:1.18        Fri Dec  6 01:27:01 2002
+++ php4/ext/ircg/config.m4     Tue Jan 21 00:08:14 2003
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.18 2002/12/06 06:27:01 sas Exp $
+dnl $Id: config.m4,v 1.19 2003/01/21 05:08:14 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