automake-patches
[Top][All Lists]
Advanced

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

FYI: fix latent bug in handle_LIBOBJS


From: Alexandre Duret-Lutz
Subject: FYI: fix latent bug in handle_LIBOBJS
Date: Wed, 07 Jun 2006 08:01:11 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

I'm checking this in.

2006-06-07  Alexandre Duret-Lutz  <address@hidden>

        * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1.

Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1621
diff -u -r1.1621 automake.in
--- automake.in 9 Apr 2006 07:46:55 -0000       1.1621
+++ automake.in 7 Jun 2006 05:59:09 -0000
@@ -2195,8 +2195,8 @@
 sub handle_LIBOBJS ($$$)
 {
   my ($var, $cond, $lt) = @_;
+  my $myobjext = $lt ? 'lo' : 'o';
   $lt ||= '';
-  my $myobjext = ($1 ? 'l' : '') . 'o';
 
   $var->requires_variables ("address@hidden@ used", $lt . 'LIBOBJS')
     if ! keys %libsources;
@@ -2234,7 +2234,7 @@
 sub handle_ALLOCA ($$$)
 {
   my ($var, $cond, $lt) = @_;
-  my $myobjext = ($lt ? 'l' : '') . 'o';
+  my $myobjext = $lt ? 'lo' : 'o';
   $lt ||= '';
   my $dir = handle_LIBOBJS_or_ALLOCA "${lt}ALLOCA";
 

-- 
Alexandre Duret-Lutz





reply via email to

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