diff options
Diffstat (limited to 'bin/automake.in')
-rw-r--r-- | bin/automake.in | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bin/automake.in b/bin/automake.in index 74990b364..9c4cb8694 100644 --- a/bin/automake.in +++ b/bin/automake.in @@ -2208,6 +2208,7 @@ sub handle_ALLOCA $lt ||= ''; my $dir = handle_LIBOBJS_or_ALLOCA "${lt}ALLOCA"; + $dir eq '' and $dir = './'; $var->requires_variables ("\@${lt}ALLOCA\@ used", $lt . 'ALLOCA'); $dep_files{$dir . '$(DEPDIR)/alloca.P' . $myobjext} = 1; require_libsource_with_macro ($cond, $var, FOREIGN, 'alloca.c'); @@ -6038,10 +6039,13 @@ sub check_trailing_slash ($\$) # read_am_file ($AMFILE, $WHERE, $RELDIR) # --------------------------------------- -# Read Makefile.am and set up %contents. Simultaneously copy lines -# from Makefile.am into $output_trailer, or define variables as -# appropriate. NOTE we put rules in the trailer section. We want -# user rules to come after our generated stuff. +# Read $AMFILE file name which is located in $RELDIR, and set up +# global variables resetted by '&generate_makefile'. Simultaneously +# copy lines from $AMFILE into '$output_trailer', or define variables +# as appropriate. +# +# NOTE: We put rules in the trailer section. We want user rules to +# come after our generated stuff. sub read_am_file { my ($amfile, $where, $reldir) = @_; |