cvs: php4 /ext/ircg config.m4

From: Date: Mon, 18 Mar 2002 15:00:58 +0000
Subject: cvs: php4 /ext/ircg config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10358@lists.php.net to get a copy of this message
sas Mon Mar 18 10:00:58 2002 EDT Modified files: /php4/ext/ircg config.m4 Log: If --with-ircg=foo was specified, default to --with-ircg-config=foo/bin/ircg-config. Index: php4/ext/ircg/config.m4 diff -u php4/ext/ircg/config.m4:1.13 php4/ext/ircg/config.m4:1.14 --- php4/ext/ircg/config.m4:1.13 Tue Mar 12 11:22:55 2002 +++ php4/ext/ircg/config.m4 Mon Mar 18 10:00:57 2002 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.13 2002/03/12 16:22:55 sas Exp $ +dnl $Id: config.m4,v 1.14 2002/03/18 15:00:57 sas Exp $ dnl PHP_ARG_WITH(ircg, for IRCG support, @@ -8,7 +8,13 @@ AC_ARG_WITH(ircg-config, [ --with-ircg-config=PATH IRCG: Path to the ircg-config script], [ IRCG_CONFIG=$withval ], -[ IRCG_CONFIG=ircg-config ]) +[ +if test "$with_ircg" != "yes" && test "$with_ircg" != "no"; then + IRCG_CONFIG=$with_ircg/bin/ircg-config +else + IRCG_CONFIG=ircg-config +fi +]) if test "$PHP_IRCG" != "no"; then $IRCG_CONFIG --ldflags

« previous php.cvs (#10358) next »