summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/automake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/automake.in b/bin/automake.in
index 2c8f31e14..5cacf633e 100644
--- a/bin/automake.in
+++ b/bin/automake.in
@@ -2297,6 +2297,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');