libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] removing an obsolete macro (s/AC_HELP_MESSAGE/AS_HELP_MESSAGE/g)


From: Martin Quinson
Subject: [PATCH] removing an obsolete macro (s/AC_HELP_MESSAGE/AS_HELP_MESSAGE/g)
Date: Sat, 10 Jul 2004 22:46:59 -0700
User-agent: Mutt/1.5.6+20040523i

Hello,

here is a tiny patch against the current CVS to get ride of some warning
when using "autoconf -W obsolete" on my own project. It simply replace all
occurences of the deprecated AC_HELP_STRING with its new replacement
AS_HELP_STRING.

I don't know why it's not already done since autoconf.ac reads on line 20:
AC_PREREQ(2.58) ## We use AS_HELP_STRING

but there is no occurence of the new macro before the patch.

There are other obsolete macros around. Extract from "autoconf -W obsolete"
on my project: (configure.ac:17 is where I call AC_PROG_LIBTOOL ; I use
autoconf version 2.59-5 from Debian)

configure.ac:17: warning: back quotes and double quotes must not be escaped
in: $as_me:$LINENO: error: tag name \"$tagname\" already exists
configure.ac:17: warning: back quotes and double quotes must not be escaped
in: $as_me: error: tag name \"$tagname\" already exists
configure.ac:17: warning: instead of using AC_LANG', AC_LANG_SAVE',
configure.ac:17: and AC_LANG_RESTORE', you should use AC_LANG_PUSH' and 
AC_LANG_POP'.
configure.ac:17: warning: The macro AC_LANG_RESTORE' is obsolete.

Please take the provided patch with a grain of salt. It is just an untested
proof of concept (I don't trust myself to install the cvs version of libtool
on my production box).


Thanks for that wonderful program, Mt.

-- 
Though a program be but three lines long, someday it will have to be
maintained.
          -- The Tao of programming

Attachment: libtool-AS_HELP_MESSAGE
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]