openbsd-ports/devel/autoconf-new/patches/patch-autoupdate_in
2001-12-31 09:36:04 +00:00

23 lines
823 B
Plaintext

$OpenBSD: patch-autoupdate_in,v 1.1.1.1 2001/12/31 09:36:04 espie Exp $
--- autoupdate.in.orig Tue May 22 15:21:59 2001
+++ autoupdate.in Fri Sep 28 18:10:56 2001
@@ -35,6 +35,7 @@ my $debug = 0;
my $localdir = '.';
# m4.
my $m4 = $ENV{"M4"} || "@M4@";
+$m4.=" -g -D__gnu__";
my $verbose = 0;
my $SIMPLE_BACKUP_SUFFIX = $ENV{'SIMPLE_BACKUP_SUFFIX'} || '~';
my $tmp = '';
@@ -204,8 +205,8 @@ sub parse_args ()
sub find_slaves ()
{
# Some non-GNU m4's don't reject the --help option, so give them /dev/null.
- die "Autoconf requires GNU m4 1.4 or later\n"
- if system "$m4 --help </dev/null 2>&1 | fgrep reload-state >/dev/null";
+# die "Autoconf requires GNU m4 1.4 or later\n"
+# if system "$m4 --help </dev/null 2>&1 | fgrep reload-state >/dev/null";
# autoconf.
(my $dir = $0) =~ s,[^\\/]*$,,;