automake
[Top][All Lists]
Advanced

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

Re: Support for configure.ac


From: Akim Demaille
Subject: Re: Support for configure.ac
Date: 18 Jan 2001 18:16:44 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)

Once the `make check' finished, I'll check this in:

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * automake.in (handle_texinfo): Use &transform, and transform
        CONFIGURE_AC.
        Reported by Lars Hecking, and diagnosed by Raja R Harinath.

Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.818
diff -u -u -r1.818 automake.in
--- automake.in 2001/01/16 13:31:54 1.818
+++ automake.in 2001/01/18 17:15:57
@@ -2276,10 +2276,11 @@
            ($conf_pat = $conf_dir) =~ s/(\W)/\\$1/g;
            $output_rules .=
                &file_contents_with_transform
-                   ('s/address@hidden@/' . $info_cursor . '/g; '
-                    . 's/address@hidden@/' . $vti . '/g; '
-                    . 's/address@hidden@/' . $vtexi . '/g;'
-                    . 's,address@hidden@,' . $conf_pat . ',g;',
+                   (&transform ('TEXI'         => $info_cursor,
+                                'VTI'          => $vti,
+                                'VTEXI'        => $vtexi,
+                                'MDDIR'        => $conf_pat,
+                                'CONFIGURE_AC' => $configure_ac),
                     'texi-vers');
 
            &push_phony_cleaners ($vti);
@@ -3325,7 +3326,7 @@
     }
     else
     {
-        local ($xform) = &transform ("CONFIGURE_AC" => $configure_ac);
+        local ($xform) = &transform ('CONFIGURE_AC' => $configure_ac);
        &handle_aclocal_m4;
        $output_rules .= &file_contents_with_transform ($xform,
                                                        'remake');

Lars, thanks for your perseverance, and Raja, thanks for helping me.
I think it's time I stop.

PS: After this patch:

~/src/am % touch Makefile.am                                     nostromo 18:15
~/src/am % make                                                  nostromo 18:15
cd . && /home/lrde/prof/akim/src/am/automake --amdir=. --gnits Makefile
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating Makefile
Making all in .
make[1]: Entre dans le répertoire `/mnt/nostromo/home/lrde/prof/akim/src/am'
make[1]: Rien à faire pour `all-am'.
make[1]: Quitte le répertoire `/mnt/nostromo/home/lrde/prof/akim/src/am'
Making all in m4
make[1]: Entre dans le répertoire `/mnt/nostromo/home/lrde/prof/akim/src/am/m4'
make[1]: Rien à faire pour `all'.
make[1]: Quitte le répertoire `/mnt/nostromo/home/lrde/prof/akim/src/am/m4'
Making all in tests
make[1]: Entre dans le répertoire 
`/mnt/nostromo/home/lrde/prof/akim/src/am/tests'
make[1]: Rien à faire pour `all'.
make[1]: Quitte le répertoire `/mnt/nostromo/home/lrde/prof/akim/src/am/tests'



reply via email to

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