This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

96-cygxform.patch


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@: $(@XPROGRAM@_OBJECTS) $(@XPROGRAM@_DEPENDENCIES)
/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  <akim@epita.fr>
	* 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));
 	}
     }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]