[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: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-03-11 19:38:01 CET

Justin Erenkrantz <jerenkrantz@apache.org> writes:

> 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.

OK, this patch works for me. It's not urgent so I won't commit it
until someone verifies that it works on 2.54 as well.

Index: configure.in
===================================================================
--- configure.in (revision 5278)
+++ configure.in (working copy)
@@ -160,8 +160,8 @@
 dnl Look for a C pre-processor
 AC_PROG_CPP
 
-dnl Look for an extended grep
-AC_PROG_EGREP
+dnl Look for an extended grep, this macro appeared in autoconf-2.53b
+ifdef([AC_PROG_EGREP],[AC_PROG_EGREP],[])
 
 dnl See if 'ln -s' works
 AC_PROG_LN_S

-- 
Philip Martin
---------------------------------------------------------------------
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:38:52 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.