automake
[Top][All Lists]
Advanced

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

96-cygxform.patch


From: Akim Demaille
Subject: 96-cygxform.patch
Date: Fri, 02 Mar 2001 00:27:00 +0100

Yes, it is really unused.  I checked too in 1.4, and it's the same: it
was still @EXEEXT@ at that time, and:

~/src/am % fgrep @EXEEXT@ /usr/share/automake/*.am                   23:02 remo
/usr/share/automake/program.am:@PROGRAM@@EXEEXT@: $(@address@hidden) 
$(@address@hidden)
/usr/share/automake/program.am: @rm -f @PROGRAM@@EXEEXT@

and only programs.am uses EXEEXT, now %EXEEXT%, and am_install_var
does not concern program.am.


Yet in 1.4, only @EXE

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * automake.in (&am_install_var): Remove $cygxform, unused.

Index: automake.in
--- automake.in Thu, 01 Mar 2001 22:55:36 +0100 akim (am/f/39_automake.i 1.103 
755)
+++ automake.in Thu, 01 Mar 2001 22:59:41 +0100 akim (am/f/39_automake.i 1.103 
755)
@@ -7006,16 +7006,6 @@ sub am_install_var
 {
     my (@args) = @_;

-    my $cygxform;
-    if (! $seen_exeext)
-    {
-       $cygxform = 's/%EXEEXT%//g;';
-    }
-    else
-    {
-       $cygxform = 's/%EXEEXT%/\$(EXEEXT)/g;';
-    }
-
     my $do_clean = 0;
     my $do_require = 1;
     my $can_dist = 0;
@@ -7214,8 +7204,7 @@ sub am_install_var
            {
                $output_rules .=
                  &file_contents ($file . '-clean',
-                                 &transform ('DIR' => $X)
-                                 . $cygxform);
+                                 &transform ('DIR' => $X))
            }

            if ($X eq 'check')
@@ -7241,8 +7230,7 @@ sub am_install_var
                              &transform ('DIR'  => $X,
                                          'NDIR' => $nodir_name,
                                          'BASE' => $strip_subdir,
-                                         'EXEC' => $exec_p)
-                             . $cygxform);
+                                         'EXEC' => $exec_p));
        }
     }



reply via email to

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