Re: cvs: php-src /ext/mcve config.m4
| From: | Brad House | Date: | Wed, 26 May 2004 12:32:06 +0000 |
| Subject: | Re: cvs: php-src /ext/mcve config.m4 | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-27459@lists.php.net to get a copy of this message | ||
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>&1
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: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's MCVE_SHARED_LIBADD requires AC_PROG_EGREP when you phpize