From: Alexandre Duret-Lutz Date: Wed, 7 Jun 2006 06:01:22 +0000 (+0000) Subject: * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1. X-Git-Tag: Release-1-9b~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6be60bbd7c212b84599addc85135f5c24962609;p=thirdparty%2Fautomake.git * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1. --- diff --git a/ChangeLog b/ChangeLog index 9dc41c2d8..b9506a860 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-06-07 Alexandre Duret-Lutz + + * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1. + 2006-06-07 Stepan Kasal * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P. diff --git a/automake.in b/automake.in index 8c2269240..73e42e027 100755 --- a/automake.in +++ b/automake.in @@ -2195,8 +2195,8 @@ sub handle_LIBOBJS_or_ALLOCA ($) sub handle_LIBOBJS ($$$) { my ($var, $cond, $lt) = @_; + my $myobjext = $lt ? 'lo' : 'o'; $lt ||= ''; - my $myobjext = ($1 ? 'l' : '') . 'o'; $var->requires_variables ("\@${lt}LIBOBJS\@ used", $lt . 'LIBOBJS') if ! keys %libsources; @@ -2234,7 +2234,7 @@ sub handle_LIBOBJS ($$$) 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";