diff options
author | Gary V. Vaughan <gary@gnu.org> | 2004-01-06 20:25:53 +0000 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2004-01-06 20:25:53 +0000 |
commit | 96bf572fa917fec776057c648b89ee8304ea966c (patch) | |
tree | fa289263f7b9542f92bce2f7f98430dd44c12b76 /libtoolize.in | |
parent | 678ae874c279d8a802f6ce6ddc90dd70c58292e6 (diff) | |
download | libtool-96bf572fa917fec776057c648b89ee8304ea966c.tar.gz |
* libtoolize.in (func_scan_files): Don't assume the existence of
aclocal.m4. Make the comment more descriptive.
Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>
Diffstat (limited to 'libtoolize.in')
-rw-r--r-- | libtoolize.in | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libtoolize.in b/libtoolize.in index dd5c3842..92de17de 100644 --- a/libtoolize.in +++ b/libtoolize.in @@ -267,8 +267,11 @@ func_grep () } # func_scan_files -# Trace configure.(ac|in) for use of autoconf, gettext, aclocal, automake, -# libltdl and libtool. Possibly running some of these tools if necessary. +# Scan configure.(ac|in) and aclocal.m4 (if present) for use of libltdl +# and libtool. Possibly running some of these tools if necessary. +# Libtoolize affects the contents of aclocal.m4, and should be run before +# aclocal, so we can't use configure --trace which relies on a consistent +# configure.(ac|in) and aclocal.m4. func_scan_files () { # Prefer configure.ac to configure.in @@ -306,7 +309,7 @@ func_scan_files () /A[CM]_PROG_LIBTOOL/ { s,^.*$,seen_libtool=:,; p; }; /AC_LIB_LTDL/ { s,^.*$,seen_ltdl=:,; p; }; d;' - eval `cat aclocal.m4 "$configure_ac" | sed "$my_sed_traces"` + eval `cat aclocal.m4 "$configure_ac" | sed "$my_sed_traces" 2>/dev/null` # ---------------- # |