From e5452e049c48008907090fb205bea3de0770d9aa Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Wed, 11 Jun 2003 16:21:55 +0000 Subject: [PATCH] * libtool.m4 (AC_LIBTOOL_COMPILER_OPTION): Require LT_AC_PROG_SED to ensure $SED is set by the time it is used. to be before AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH, because the --- ChangeLog | 5 ++++- libtool.m4 | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 25274dc33..799b2b8b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-06-11 Gary V. Vaughan + * 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 * 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. diff --git a/libtool.m4 b/libtool.m4 index 8b76b37bf..351e1fc2b 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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 -- 2.47.3