[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] bootstrap: check for AC_PROG_LIBTOOL as well as AM_PROG_LIBT
From: |
Bruno Haible |
Subject: |
Re: [PATCH] bootstrap: check for AC_PROG_LIBTOOL as well as AM_PROG_LIBTOOL |
Date: |
Sun, 5 Oct 2008 17:12:19 +0200 |
User-agent: |
KMail/1.5.4 |
Hi Jim,
> - grep '^[ ]*A[CM]_PROG_LIBTOOL\>' configure.ac >/dev/null ||
> + grep -E '^[ ]*(LT_INIT|A[CM]_PROG_LIBTOOL)\>' configure.ac
> >/dev/null ||
Solaris 9 'grep' does not support the '-E' option. This is documented in the
autoconf manual:
Traditional `grep' implementations (e.g., Solaris) do not support
the `-E' or `-F' options. To work around these problems, invoke
`AC_PROG_EGREP' and then use `$EGREP', and similarly for
`AC_PROG_FGREP' and `$FGREP'.
In a script like this, where you cannot rely on AC_PROG_EGREP either, I would
just grep configure.ac twice, with two different basic regular expressions.
Bruno
- Re: [PATCH] bootstrap: check for AC_PROG_LIBTOOL as well as AM_PROG_LIBTOOL, Jim Meyering, 2008/10/05
- Re: [PATCH] bootstrap: check for AC_PROG_LIBTOOL as well as AM_PROG_LIBTOOL, Ralf Wildenhues, 2008/10/05
- Re: [PATCH] bootstrap: check for AC_PROG_LIBTOOL as well as AM_PROG_LIBTOOL, Jim Meyering, 2008/10/05
- Re: [PATCH] bootstrap: check for AC_PROG_LIBTOOL as well as AM_PROG_LIBTOOL,
Bruno Haible <=
- Re: [PATCH] bootstrap: check for AC_PROG_LIBTOOL as well as AM_PROG_LIBTOOL, Jim Meyering, 2008/10/05
- Re: [PATCH] bootstrap: check for AC_PROG_LIBTOOL as well as AM_PROG_LIBTOOL, Bruno Haible, 2008/10/05
- Re: [PATCH] bootstrap: check for AC_PROG_LIBTOOL as well as AM_PROG_LIBTOOL, Jim Meyering, 2008/10/05
- Re: [PATCH] bootstrap: check for AC_PROG_LIBTOOL as well as AM_PROG_LIBTOOL, Ralf Wildenhues, 2008/10/05
- Re: [PATCH] bootstrap: check for AC_PROG_LIBTOOL as well as AM_PROG_LIBTOOL, Jim Meyering, 2008/10/05