]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBTOOL_COMPILER_OPTION): Require LT_AC_PROG_SED to
authorGary V. Vaughan <gary@gnu.org>
Wed, 11 Jun 2003 16:33:49 +0000 (16:33 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 11 Jun 2003 16:33:49 +0000 (16:33 +0000)
ensure $SED is set by the time it is used.

ChangeLog
libtool.m4

index 156b03dad77e358a99ce8116cd04777602facf76..7a99b6a9e25d24d5b570d0790dd210f9309ac751 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 8b76b37bf4198937e264ae41992891de4453ea57..351e1fc2b4c1f80cc891ab2b749c50d5de4df60d 100644 (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