* automake.in (handle_texinfo): Use &transform, and transform
authorAkim Demaille <akim@epita.fr>
Thu, 18 Jan 2001 17:20:09 +0000 (17:20 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 18 Jan 2001 17:20:09 +0000 (17:20 +0000)
CONFIGURE_AC.
Reported by Lars Hecking, and diagnosed by Raja R Harinath.

ChangeLog
automake.in

index d294f9e..e80eb22 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-01-18  Akim Demaille  <akim@epita.fr>
+
+       * automake.in (handle_texinfo): Use &transform, and transform
+       CONFIGURE_AC.
+       Reported by Lars Hecking, and diagnosed by Raja R Harinath.
+
 2001-01-16  Akim Demaille  <akim@epita.fr>
 
        Let Automake support `configure.ac'.
index ae328f1..7637b53 100755 (executable)
@@ -2276,10 +2276,11 @@ sub handle_texinfo
            ($conf_pat = $conf_dir) =~ s/(\W)/\\$1/g;
            $output_rules .=
                &file_contents_with_transform
-                   ('s/\@TEXI\@/' . $info_cursor . '/g; '
-                    . 's/\@VTI\@/' . $vti . '/g; '
-                    . 's/\@VTEXI\@/' . $vtexi . '/g;'
-                    . 's,\@MDDIR\@,' . $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 @@ sub handle_configure
     }
     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');