[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:21:23 CET

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

> Justin Erenkrantz <jerenkrantz@apache.org> writes:
>
>> On my 2.54, it is:
>>
>> if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
>> $EGREP "VERSION_OKAY" >/dev/null 2>&1; then
>
> On my 2.53 it is
>
> if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
> egrep "VERSION_OKAY" >/dev/null 2>&1; then

Sigh. I'd try replacing the AC_PROG_EGREP line with something like this:

dnl AC_PROG_EGREP is only available in autoconf 2.53b and later
ifdef([AC_PROG_EGREP],[AC_PROG_EGREP],[])

I don't have time to test it myself, but if it works, feel free to commit. =)
-- 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:22:09 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.