Re: cvs: php-src /ext/mcve config.m4
| From: | Brad House | Date: | Wed, 26 May 2004 12:54:32 +0000 |
| Subject: | Re: cvs: php-src /ext/mcve config.m4 | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-27458@lists.php.net to get a copy of this message | ||
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:brad@mainstreetsoftworks.com] Sent: 26 May 2004 13:32 To: Wez Furlong Cc: 'Brad House'; php-cvs@lists.php.net 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 2>&1then 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 isthe recommendedversion to use. Please revert this and solve it some other way,particularly in the 4.3branch! :-) -Wez.MCVE_SHARED_LIBADD-----Original Message----- From: Brad House [mailto:bradmssw@php.net] Sent: 25 May 2004 18:09 To: php-cvs@lists.php.net Subject: [PHP-CVS] cvs: php-src /ext/mcve config.m4 bradmssw Tue May 25 13:08:41 2004 EDTModified files: /php-src/ext/mcve config.m4 Log: PHP_SETUP_OPENSSL is NOT SNMP_SHARED_LIBADD, it'srequires AC_PROG_EGREP when you phpize