From 747ded858d47d435c997958348b2843ea0994539 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Fri, 3 Sep 2004 01:54:37 +0000 Subject: [PATCH] From Martin Quinson * m4/libtool.m4 (_LT_SETUP, _LT_ENABLE_LOCK, LT_PATH_LD): Use AS_HELP_STRING to get rid of autoconf -Wobsolete warning messages. * m4/ltdl.m4 (LT_WITH_LTDL, _LT_ENABLE_INSTALL): Ditto. * m4/ltoptions.m4 (_LT_ENABLE_SHARED, _LT_ENABLE_STATIC) (_LT_ENABLE_FAST_INSTALL, _LT_WITH_PIC): Ditto. * TODO: Updated --- ChangeLog | 11 +++++++++++ TODO | 5 +++++ m4/libtool.m4 | 6 +++--- m4/ltdl.m4 | 4 ++-- m4/ltoptions.m4 | 8 ++++---- 5 files changed, 25 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5dd1fca3f..b46b14648 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2004-09-03 Gary V. Vaughan + + From Martin Quinson + * m4/libtool.m4 (_LT_SETUP, _LT_ENABLE_LOCK, LT_PATH_LD): Use + AS_HELP_STRING to get rid of autoconf -Wobsolete warning + messages. + * m4/ltdl.m4 (LT_WITH_LTDL, _LT_ENABLE_INSTALL): Ditto. + * m4/ltoptions.m4 (_LT_ENABLE_SHARED, _LT_ENABLE_STATIC) + (_LT_ENABLE_FAST_INSTALL, _LT_WITH_PIC): Ditto. + * TODO: Updated + 2004-09-03 Ralf Wildenhues * libltdl/slist.c (slist_cons): Don't leak the tail of a list. diff --git a/TODO b/TODO index 639307879..17a992abf 100644 --- a/TODO +++ b/TODO @@ -11,6 +11,11 @@ GNU Libtool file and substitute the contents into all of our shell scripts at bootstrap, to avoid any synchronisation issues. +* Eliminate the warnings from autoconf -Wobsolete. + +* Hook the various language dependencies into the autoconf _AC_LANG + framework. + * We could have an option to hardcode paths into libraries, as well as binaries: `... -Wl,-soname -Wl,/tmp/libtest.so.0 ...'. This is not possible on all platforms, and is in part obviated by the ability of diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 49225eeb9..24ca7911b 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -186,7 +186,7 @@ file_magic*) esac AC_ARG_ENABLE([libtool-lock], - [AC_HELP_STRING([--disable-libtool-lock], + [AS_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes @@ -834,7 +834,7 @@ _LT_DECL([], [echo], [1], m4_defun([_LT_ENABLE_LOCK], [AC_REQUIRE([AC_OBJEXT])dnl AC_ARG_ENABLE([libtool-lock], - [AC_HELP_STRING([--disable-libtool-lock], + [AS_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes @@ -2250,7 +2250,7 @@ m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl AC_ARG_WITH([gnu-ld], - [AC_HELP_STRING([--with-gnu-ld], + [AS_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test "$withval" = no || with_gnu_ld=yes], [with_gnu_ld=no])dnl diff --git a/m4/ltdl.m4 b/m4/ltdl.m4 index 88cb53244..987757400 100644 --- a/m4/ltdl.m4 +++ b/m4/ltdl.m4 @@ -29,7 +29,7 @@ # version of the library. AC_DEFUN([LT_WITH_LTDL], [AC_ARG_WITH([included_ltdl], - [AC_HELP_STRING([--with-included-ltdl], + [AS_HELP_STRING([--with-included-ltdl], [use the GNU ltdl sources included here])]) if test "x$with_included_ltdl" != xyes; then @@ -192,7 +192,7 @@ AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT]) # ------------------ m4_defun([_LT_ENABLE_INSTALL], [AC_ARG_ENABLE([ltdl-install], - [AC_HELP_STRING([--enable-ltdl-install], [install libltdl])]) + [AS_HELP_STRING([--enable-ltdl-install], [install libltdl])]) AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno) AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno) diff --git a/m4/ltoptions.m4 b/m4/ltoptions.m4 index ea3089d33..a28d85e52 100644 --- a/m4/ltoptions.m4 +++ b/m4/ltoptions.m4 @@ -153,7 +153,7 @@ put the `win32-dll' option into LT_LIBTOOL_INIT's first parameter.]) m4_define([_LT_ENABLE_SHARED], [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([shared], - [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in @@ -219,7 +219,7 @@ the `disable-shared' option into LT_LIBTOOL_INIT's first parameter.]) m4_define([_LT_ENABLE_STATIC], [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([static], - [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in @@ -285,7 +285,7 @@ the `disable-static' option into LT_LIBTOOL_INIT's first parameter.]) m4_define([_LT_ENABLE_FAST_INSTALL], [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([fast-install], - [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in @@ -336,7 +336,7 @@ the `disable-fast-install' option into LT_LIBTOOL_INIT's first parameter.]) # MODE is either `yes' or `no'. If omitted, it defaults to `both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], - [AC_HELP_STRING([--with-pic], + [AS_HELP_STRING([--with-pic], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [pic_mode="$withval"], [pic_mode=default]) -- 2.47.2