_LT_AC_LANG_C_CONFIG.
(AC_PROG_EGREP): Remove, now that Libtool requires Autoconf 2.56.
* bootstrap: Issue an upgrade warning.
+2003-08-29 Alexandre Duret-Lutz <adl@gnu.org>
+
+ * libtool.m4 (_LT_AC_LANG_C_CONFIG): Fix unquoted call to
+ _LT_AC_LANG_C_CONFIG.
+ (AC_PROG_EGREP): Remove, now that Libtool requires Autoconf 2.56.
+ * bootstrap: Issue an upgrade warning.
+
2003-08-27 Gary V. Vaughan <gary@gnu.org>
* libtool.m4 (_LT_AC_CHECK_DLFCN): Use the interrim new
#! /bin/sh
# helps bootstrapping libtool, when checked out from CVS
-# requires at least GNU autoconf 2.50 and GNU automake1.4-p5
+# requires at least GNU autoconf 2.56 and GNU automake 1.7
-find . \( -name autom4te.cache -o -name libtool \) -exec rm -r {} \;
+rm -rf `find . \( -name autom4te.cache -o -name libtool \) -print`
: ${ACLOCAL=aclocal}
: ${AUTOMAKE=automake}
: ${AUTOCONF=autoconf}
: ${AUTOHEADER=autoheader}
+# Upgrade caveat
+
+cat <<'EOF'
+WARNING: If bootstrapping with this script fails, it may be due to an
+WARNING: incompatible installed `libtool.m4' being pulled in to
+WARNING: `aclocal.m4'. The best way to work around such a problem is to
+WARNING: uninstall pour system libtool files, or failing that, overwrite
+WARNING: them with `libtool.m4' as shipped with this distribution.
+WARNING: After that, retry this bootstrap.
+EOF
+
# fake the libtool scripts
touch ltmain.sh
touch libtoolize
for sub in . libltdl cdemo demo depdemo mdemo mdemo2 pdemo tagdemo f77demo; do
case $sub in
- .)
+ .)
top_srcdir=.
acfiles="$top_srcdir/libtool.m4"
AUTOMAKE_FLAGS="--gnu --add-missing --copy"
])# AC_LIBTOOL_PICMODE
-# AC_PROG_EGREP
-# -------------
-# This is predefined starting with Autoconf 2.54, so this conditional
-# definition can be removed once we require Autoconf 2.54 or later.
-m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
-[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
- [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
- then ac_cv_prog_egrep='grep -E'
- else ac_cv_prog_egrep='egrep'
- fi])
- EGREP=$ac_cv_prog_egrep
- AC_SUBST([EGREP])
-])])
-
-
# AC_PATH_TOOL_PREFIX
# -------------------
# find a file program which can recognise shared library
fi
if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
- if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then :
+ if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
else
AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
_LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no