From 102060efb245db0eeae3c36bd2ee4fef6ad95a69 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Wed, 11 Jun 2003 16:33:49 +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. --- ChangeLog | 3 +++ libtool.m4 | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 156b03da..7a99b6a9 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. + * ChangeLog: Restore missing entries from 2003-04-22. * NEWS: Sychronised from branch-1-5. diff --git a/libtool.m4 b/libtool.m4 index 8b76b37b..351e1fc2 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