[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: What is AC_PROG_EGREP?

From: Justin Erenkrantz <jerenkrantz_at_apache.org>
Date: 2003-03-11 19:07:02 CET

--On Tuesday, March 11, 2003 5:58 PM +0000 Philip Martin
<philip@codematters.co.uk> wrote:

> AC_PROG_EGREP is new in autoconf 2.53b. Should we change the
> AC_PREREQ in configure.in? Should we change buildcheck.sh? Do we
> really need AC_PROG_EGREP? Am I going to have to install a newer
> version on autoconf to build Subversion, despite the fact that the
> current one works?

How does the AC_EGREP_HEADER macro expand in prior releases?

On my 2.54, it is:

if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "VERSION_OKAY" >/dev/null 2>&1; then

(VERSION_OKAY would be the thing to search for in the generated configure
script...)

$EGREP is undefined without that check. If it is just hardcoded to 'grep -E'
or 'egrep' before 2.53b, then we may somehow be able to do a conditional based
on autoconf's version. But, we need it for 2.53b+. -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 11 19:07:49 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.