autoconf-patches
[Top][All Lists]
Advanced

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

5-gary-autoreconf-grok-LT_INIT.patch


From: Gary V. Vaughan
Subject: 5-gary-autoreconf-grok-LT_INIT.patch
Date: Fri, 20 Feb 2004 16:18:59 +0000 (GMT)
User-agent: mailnotify/0.2

I am about to rename AC_PROG_LIBTOOL to LT_INIT in CVS Libtool
in order to move libtool's macros into its own (regular!) namespace.
The attached patch allows autoreconf to notice that libtoolize needs
to be called in trees that autoupdate to the new scheme.

Okay to commit?
-- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://www.oranda.demon.co.uk
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
__________________________________________________________
This patch notification generated by cvsapply version 0.13
http://savannah.gnu.org/projects/cvs-utils
Index: ChangeLog
from  Gary V. Vaughan  <address@hidden>

        * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
        from the next generation of Libtool.
        * lib/autom4te.in (Autoreconf-preselections): Ditto.

Index: bin/autoreconf.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/autoreconf.in,v
retrieving revision 1.123
diff -u -p -u -r1.123 autoreconf.in
--- bin/autoreconf.in 27 Jan 2004 19:02:51 -0000 1.123
+++ bin/autoreconf.in 20 Feb 2004 16:12:26 -0000
@@ -443,6 +443,7 @@ sub autoreconf_current_directory ()
             'AC_CONFIG_SUBDIRS:AC_CONFIG_SUBDIRS:\$1',
             'AC_INIT',
             'AC_PROG_LIBTOOL',
+            'LT_INIT',
             'AM_GNU_GETTEXT',
            )
      . ' |');
@@ -451,7 +452,7 @@ sub autoreconf_current_directory ()
       $aux_dir = $1                 if /AC_CONFIG_AUX_DIR:(.*)/;
       $uses_autoconf = 1            if /AC_INIT/;
       $uses_gettext_via_traces = 1  if /AM_GNU_GETTEXT/;
-      $uses_libtool = 1             if /AC_PROG_LIBTOOL/;
+      $uses_libtool = 1             if /(AC_PROG_LIBTOOL|LT_INIT)/;
       $uses_autoheader = 1          if /AC_CONFIG_HEADERS/;
       push @subdir, split (' ', $1) if /AC_CONFIG_SUBDIRS:(.*)/;
     }
Index: lib/autom4te.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autom4te.in,v
retrieving revision 1.22
diff -u -p -u -r1.22 autom4te.in
--- lib/autom4te.in 7 Jan 2004 22:07:08 -0000 1.22
+++ lib/autom4te.in 20 Feb 2004 16:12:26 -0000
@@ -68,6 +68,7 @@ args: --preselect AC_CONFIG_HEADERS
 args: --preselect AC_CONFIG_SUBDIRS
 args: --preselect AC_INIT
 args: --preselect AC_PROG_LIBTOOL
+args: --preselect LT_INIT
 args: --preselect AM_GNU_GETTEXT
 end-language: "Autoreconf-preselections"
 

reply via email to

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