* libtool.m4 (AC_LIBTOOL_COMPILER_OPTION): Require LT_AC_PROG_SED to

ensure $SED is set by the time it is used.
This commit is contained in:
Gary V. Vaughan 2003-06-11 16:33:49 +00:00
parent 2ce5f5b5e8
commit 102060efb2
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2003-06-11 Gary V. Vaughan <gary@gnu.org>
* libtool.m4 (AC_LIBTOOL_COMPILER_OPTION): Require LT_AC_PROG_SED to
ensure $SED is set by the time it is used.
* ChangeLog: Restore missing entries from 2003-04-22.
* NEWS: Sychronised from branch-1-5.

3
libtool.m4 vendored
View File

@ -564,7 +564,8 @@ need_locks="$enable_libtool_lock"
# ----------------------------------------------------------------
# Check whether the given compiler option works
AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
[AC_CACHE_CHECK([$1], [$2],
[AC_REQUIRE([LT_AC_PROG_SED])
AC_CACHE_CHECK([$1], [$2],
[$2=no
ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
printf "$lt_simple_compile_test_code" > conftest.$ac_ext