RE: [PHP-CVS] cvs: php-src /ext/mcve config.m4

2004-05-26 Thread Wez Furlong
AC_PROG_EGREP is not supported by autoconf 2.13, which is the recommended
version to use.
Please revert this and solve it some other way, particularly in the 4.3
branch! :-)

-Wez. 

 -Original Message-
 From: Brad House [mailto:[EMAIL PROTECTED] 
 Sent: 25 May 2004 18:09
 To: [EMAIL PROTECTED]
 Subject: [PHP-CVS] cvs: php-src /ext/mcve config.m4 
 
 bradmssw  Tue May 25 13:08:41 2004 EDT
 
   Modified files:  
 /php-src/ext/mcve config.m4 
   Log:
   PHP_SETUP_OPENSSL is NOT SNMP_SHARED_LIBADD, it's MCVE_SHARED_LIBADD
   requires AC_PROG_EGREP when you phpize

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



RE: [PHP-CVS] cvs: php-src /ext/mcve config.m4

2004-05-26 Thread Wez Furlong
That code might be GPL'd ;-)

It looks a bit too magical, so how about a simple:

AC_CHECK_PROG(EGREP, egrep, grep -E)
AC_SUBST(EGREP)

Instead? (please check that it works!)

--Wez.

 -Original Message-
 From: Brad House [mailto:[EMAIL PROTECTED] 
 Sent: 26 May 2004 13:32
 To: Wez Furlong
 Cc: 'Brad House'; [EMAIL PROTECTED]
 Subject: Re: [PHP-CVS] cvs: php-src /ext/mcve config.m4
 
 oops, didn't realize that ...
 I got an error message with 'phpize' when I tried to use
 autoconf 2.13, and it said I must use 2.5 ...
 
 The reason I added it is someone else did the
AC_EGREP_CPP
 stuff, and it pretty much just hangs on that line
 without defining $EGREP, and AC_PROG_EGREP is what
 defines it...
 
 Anyhow, is it ok with you if I just add this snippet to the
 config.m4 file (above the AC_PROG_EGREP call) ... I just
 ripped it out of the aclocal.m4 that was generated with phpize:
 
 # AC_PROG_EGREP
 # -
 # This is predefined starting with Autoconf 2.54, so this conditional
 # definition can be removed once we require Autoconf 2.54 or later.
 m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
 [AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
 [if echo a | (grep -E '(a|b)') /dev/null 21
  then ac_cv_prog_egrep='grep -E'
  else ac_cv_prog_egrep='egrep'
  fi])
   EGREP=$ac_cv_prog_egrep
   AC_SUBST([EGREP])
 ])])
 
 
 -Brad
 
 Wez Furlong wrote:
  AC_PROG_EGREP is not supported by autoconf 2.13, which is 
 the recommended
  version to use.
  Please revert this and solve it some other way, 
 particularly in the 4.3
  branch! :-)
  
  -Wez. 
  
  
 -Original Message-
 From: Brad House [mailto:[EMAIL PROTECTED] 
 Sent: 25 May 2004 18:09
 To: [EMAIL PROTECTED]
 Subject: [PHP-CVS] cvs: php-src /ext/mcve config.m4 
 
 bradmsswTue May 25 13:08:41 2004 EDT
 
   Modified files:  
 /php-src/ext/mcve   config.m4 
   Log:
   PHP_SETUP_OPENSSL is NOT SNMP_SHARED_LIBADD, it's 
 MCVE_SHARED_LIBADD
   requires AC_PROG_EGREP when you phpize
  
  
  
 

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



Re: [PHP-CVS] cvs: php-src /ext/mcve config.m4

2004-05-26 Thread Brad House
heh, yours seems so much ... erm ... simpler
I'll give it a test and commit it if it works.
Thanks!
-Brad
Wez Furlong wrote:
That code might be GPL'd ;-)
It looks a bit too magical, so how about a simple:
AC_CHECK_PROG(EGREP, egrep, grep -E)
AC_SUBST(EGREP)
Instead? (please check that it works!)
--Wez.

-Original Message-
From: Brad House [mailto:[EMAIL PROTECTED] 
Sent: 26 May 2004 13:32
To: Wez Furlong
Cc: 'Brad House'; [EMAIL PROTECTED]
Subject: Re: [PHP-CVS] cvs: php-src /ext/mcve config.m4

oops, didn't realize that ...
I got an error message with 'phpize' when I tried to use
autoconf 2.13, and it said I must use 2.5 ...
The reason I added it is someone else did the
  AC_EGREP_CPP
stuff, and it pretty much just hangs on that line
without defining $EGREP, and AC_PROG_EGREP is what
defines it...
Anyhow, is it ok with you if I just add this snippet to the
config.m4 file (above the AC_PROG_EGREP call) ... I just
ripped it out of the aclocal.m4 that was generated with phpize:
# AC_PROG_EGREP
# -
# This is predefined starting with Autoconf 2.54, so this conditional
# definition can be removed once we require Autoconf 2.54 or later.
m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
   [if echo a | (grep -E '(a|b)') /dev/null 21
then ac_cv_prog_egrep='grep -E'
else ac_cv_prog_egrep='egrep'
fi])
 EGREP=$ac_cv_prog_egrep
 AC_SUBST([EGREP])
])])
-Brad
Wez Furlong wrote:
AC_PROG_EGREP is not supported by autoconf 2.13, which is 
the recommended
version to use.
Please revert this and solve it some other way, 
particularly in the 4.3
branch! :-)
-Wez. 


-Original Message-
From: Brad House [mailto:[EMAIL PROTECTED] 
Sent: 25 May 2004 18:09
To: [EMAIL PROTECTED]
Subject: [PHP-CVS] cvs: php-src /ext/mcve config.m4 

bradmsswTue May 25 13:08:41 2004 EDT
Modified files:  
  /php-src/ext/mcve	config.m4 
Log:
PHP_SETUP_OPENSSL is NOT SNMP_SHARED_LIBADD, it's 
MCVE_SHARED_LIBADD
requires AC_PROG_EGREP when you phpize



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


Re: [PHP-CVS] cvs: php-src /ext/mcve config.m4

2004-05-26 Thread Brad House
oops, didn't realize that ...
I got an error message with 'phpize' when I tried to use
autoconf 2.13, and it said I must use 2.5 ...
The reason I added it is someone else did the
  AC_EGREP_CPP
stuff, and it pretty much just hangs on that line
without defining $EGREP, and AC_PROG_EGREP is what
defines it...
Anyhow, is it ok with you if I just add this snippet to the
config.m4 file (above the AC_PROG_EGREP call) ... I just
ripped it out of the aclocal.m4 that was generated with phpize:
# AC_PROG_EGREP
# -
# This is predefined starting with Autoconf 2.54, so this conditional
# definition can be removed once we require Autoconf 2.54 or later.
m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
   [if echo a | (grep -E '(a|b)') /dev/null 21
then ac_cv_prog_egrep='grep -E'
else ac_cv_prog_egrep='egrep'
fi])
 EGREP=$ac_cv_prog_egrep
 AC_SUBST([EGREP])
])])
-Brad
Wez Furlong wrote:
AC_PROG_EGREP is not supported by autoconf 2.13, which is the recommended
version to use.
Please revert this and solve it some other way, particularly in the 4.3
branch! :-)
-Wez. 


-Original Message-
From: Brad House [mailto:[EMAIL PROTECTED] 
Sent: 25 May 2004 18:09
To: [EMAIL PROTECTED]
Subject: [PHP-CVS] cvs: php-src /ext/mcve config.m4 

bradmsswTue May 25 13:08:41 2004 EDT
 Modified files:  
   /php-src/ext/mcve	config.m4 
 Log:
 PHP_SETUP_OPENSSL is NOT SNMP_SHARED_LIBADD, it's MCVE_SHARED_LIBADD
 requires AC_PROG_EGREP when you phpize


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