]> 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:21:55 +0000 (16:21 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 11 Jun 2003 16:21:55 +0000 (16:21 +0000)
ensure $SED is set by the time it is used.

to be before AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH, because the

ChangeLog
libtool.m4

index 25274dc33ae62eeb62547c6879feab94bb7e9a08..799b2b8b18029566854f4f3d616d2c520e6deb2d 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.
+
        * configure.ac (AC_INIT): Bumped revision to 1.5.0a -- the first cvs
        revision number for the 1.5 maintenance branch, leading towards a
        1.5.1 release.
@@ -78,7 +81,7 @@
 2003-04-22  Peter O'Gorman  <peter@pogma.com>
 
        * libtool.m4: Move the AC_LIBTOOL_SYS_DYNAMIC_LINKER check
-       to be before AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH, becuase the
+       to be before AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH, because the
        value of shlibpath_overrides_runpath is used in the HARDCODE
        test and is set in the DYNAMIC_LINKER test.
        * ltmain.in(darwin): We never need to relink on darwin.
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