ports/devel/autoconf/2.54/patches/patch-bin_autoupdate_in

23 lines
735 B
Text

--- bin/autoupdate.in.orig Thu Aug 19 00:57:16 2004
+++ bin/autoupdate.in Thu Aug 19 00:59:21 2004
@@ -44,6 +44,7 @@ my @include = ('@datadir@');
my $force = 0;
# m4.
my $m4 = $ENV{"M4"} || "@M4@";
+$m4.=" -g -D__gnu__";
# $HELP
@@ -386,9 +387,9 @@ EOF
or error "cannot close $tmp/input.m4: $!";
# Now ask m4 to perform the update.
- xsystem ("$m4 --include=$tmp"
- . join (' --include=', '', reverse (@prepend_include))
- . join (' --include=', '', @include)
+ xsystem ("$m4 -I$tmp"
+ . join (' -I', '', reverse (@prepend_include))
+ . join (' -I', '', @include)
. " $tmp/input.m4 >$tmp/updated");
update_file ("$tmp/updated",
"$file" eq "$tmp/stdin" ? '-' : "$file");