[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LT_AC_PROG_SED
From: |
Gary V. Vaughan |
Subject: |
Re: LT_AC_PROG_SED |
Date: |
Wed, 17 May 2006 17:10:24 +0100 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050317) |
Gary V. Vaughan wrote:
I'm attaching the revised branch-1-5 version of the patch for approval.
More inline...
Forgot the attachment. (Note to self: Really must migrate back to gnus)
Cheers,
Gary.
--
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://blog.azazil.net
GNU Hacker / )= http://trac.azazil.net/projects/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
Index: libtool--release--1.5/ChangeLog
===================================================================
--- libtool--release--1.5.orig/ChangeLog 2006-05-15 17:40:59.000000000
+0100
+++ libtool--release--1.5/ChangeLog 2006-05-17 16:38:51.000000000 +0100
@@ -1,3 +1,12 @@
+2006-05-17 Gary V. Vaughan <address@hidden>
+
+ * libtool.m4 (LT_AC_PROG_SED): Rename to AC_PROG_SED and only
+ define if autoconf failed to provide a definition.
+ AC_SUBST([SED]) for compatibility with future autoconf release
+ of AC_PROG_SED. Provide an LT_AC_PROG_SED wrapper with attendant
+ obsolesence warning for projects that used this undocumented
+ macro.
+
2006-05-15 Bruno Haible <address@hidden>,
Ralf Wildenhues <address@hidden>
@@ -252,7 +261,7 @@
2005-11-26 Peter O'Gorman <address@hidden>
- * ltmain.in (link mode): Add missing $LTCFLAGS for a $LTCC.
+ * ltmain.in (link mode): Add missing $LTCFLAGS for a $LTCC.
* libtool.m4 [darwin]: Use $LTCC $LTCFLAGS to create reloadable
objects.
@@ -519,7 +528,7 @@
2005-10-17 Ralf Wildenhues <address@hidden>
- * ltmain.in [darwin]: Don't check for "bundle" in file path.
+ * ltmain.in [darwin]: Don't check for "bundle" in file path.
Reported by Christoph Egger <address@hidden>.
2005-10-13 Peter O'Gorman <address@hidden>
Index: libtool--release--1.5/libtool.m4
===================================================================
--- libtool--release--1.5.orig/libtool.m4 2006-05-15 17:41:00.000000000
+0100
+++ libtool--release--1.5/libtool.m4 2006-05-17 16:37:02.000000000 +0100
@@ -620,7 +620,7 @@
# ----------------------------------------------------------------
# Check whether the given compiler option works
AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
-[AC_REQUIRE([LT_AC_PROG_SED])
+[AC_REQUIRE([AC_PROG_SED])
AC_CACHE_CHECK([$1], [$2],
[$2=no
ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
@@ -2142,7 +2142,7 @@
[assume the C compiler uses GNU ld @<:@default=no@:>@])],
[test "$withval" = no || with_gnu_ld=yes],
[with_gnu_ld=no])
-AC_REQUIRE([LT_AC_PROG_SED])dnl
+AC_REQUIRE([AC_PROG_SED])dnl
AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_CANONICAL_HOST])dnl
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
@@ -6417,17 +6417,15 @@
[AC_CHECK_TOOL(RC, windres, no)
])
+m4_ifndef([AC_PROG_SED], [
############################################################
# NOTE: This macro has been submitted for inclusion into #
# GNU Autoconf as AC_PROG_SED. When it is available in #
# a released version of Autoconf we should remove this #
# macro and use it instead. #
############################################################
-# LT_AC_PROG_SED
-# --------------
-# Check for a fully-functional sed program, that truncates
-# as few characters as possible. Prefer GNU sed if found.
-AC_DEFUN([LT_AC_PROG_SED],
+
+m4_defun([AC_PROG_SED],
[AC_MSG_CHECKING([for a sed that does not truncate output])
AC_CACHE_VAL(lt_cv_path_SED,
[# Loop through the user's path and test for sed and gsed.
@@ -6478,5 +6476,14 @@
done
])
SED=$lt_cv_path_SED
+AC_SUBST([SED])
AC_MSG_RESULT([$SED])
-])
+])#AC_PROG_SED
+])#m4_ifndef
+
+# Old name:
+AC_DEFUN([LT_AC_PROG_SED],
+[AC_PROG_SED
+AC_DIAGNOSE([obsolete],
+ [Please update your configure.ac. $0 is superceded by A][C_PROG_SED])dnl
+])#LT_AC_PROG_SED