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

Re: '--with-berkeley-db' option [Re: svn commit: r35017 - build/ac-macros]

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Wed, 07 Jan 2009 10:19:10 +0000

On Wed, 2009-01-07 at 10:00 +0000, Julian Foad wrote:
> On Tue, 2009-01-06 at 18:53 -0800, Justin Erenkrantz wrote:
> > On Tue, Jan 6, 2009 at 5:25 PM, Julian Foad <julianfoad_at_btopenworld.com> wrote:
> > > # Look for an extended grep
> > > +AC_PROG_GREP
> > > AC_PROG_EGREP
> > >
> > > AC_PROG_LN_S
> > > ]]]
> > >
> > > and the result was:
> > >
> > > [[[
> > > $ ./autogen.sh
> > > configure.ac:41: error: possibly undefined macro: AC_PROG_GREP
> > > If this token and others are legitimate, please use m4_pattern_allow.
> > > See the Autoconf documentation.
> >
> > http://www.gnu.org/software/autoconf/manual/html_node/Particular-Programs.html#Particular-Programs
> >
> > Hmm...that sounds like there is something busted with your autoconf
> > config. (AFAICR, AC_PROG_GREP has been present for a while and it's
> > actually implicit in recent versions...) -- justin
>
> INSTALL says "autoconf 2.58 or later".
>
> I have autoconf-2.59. (In SuSE SLED 10 SP 2.)
>
> AC_PROG_GREP was introduced in autoconf 2.60.

AC_PROG_EGREP has been around for much longer, so the solution to my
problem is to use $EGREP instead of $GREP.

I still think we should avoid "grep -o" as well.

- Julian

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1009782
Received on 2009-01-07 11:19:47 CET

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.