From: Akim Demaille Date: Mon, 5 Nov 2001 17:39:33 +0000 (+0000) Subject: * bin/autom4te.in (--normalize): Remove. X-Git-Tag: AUTOCONF-2.52g~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eec4a3470d5fb9a2706e7374c19cbc2b63f46a05;p=thirdparty%2Fautoconf.git * bin/autom4te.in (--normalize): Remove. * lib/autom4te.in: Adjust. --- diff --git a/ChangeLog b/ChangeLog index 36462a34b..7a47dd614 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-05 Akim Demaille + + * bin/autom4te.in (--normalize): Remove. + * lib/autom4te.in: Adjust. + 2001-11-05 Akim Demaille * tests/Makefile.am (testsuite): Rename this target as... diff --git a/bin/autom4te.in b/bin/autom4te.in index 1a1f37356..abd045ad9 100644 --- a/bin/autom4te.in +++ b/bin/autom4te.in @@ -239,9 +239,6 @@ my %language; my $output = '-'; -# Should we normalize the output? -my $normalize = 0; - # Mode of the output file except for traces. my $mode = "0666"; @@ -360,7 +357,6 @@ Operation modes: -v, --verbose verbosely report processing -d, --debug don\'t remove temporary files -o, --output=FILE save output in FILE (defaults to \`-\', stdout) - --normalize smash successive empty lines -f, --force don\'t rely on cached values -W, --warnings=CATEGORY report the warnings falling in CATEGORY -l, --language=LANG specify the set of M4 macros to use @@ -483,7 +479,6 @@ sub parse_args () ( # Operation modes: "o|output=s" => \$output, - "normalize" => \$normalize, "W|warnings=s" => \@warning, "m|mode=s" => \$mode, "M|melt" => \$melt, @@ -631,29 +626,12 @@ sub handle_output ($$) unless $out; my $in = new Autom4te::XFile ($ocache . $req->id); - my $separate = 0; - my $oline = 0; my %prohibited; my $res; while ($_ = $in->getline) { s/\s+$//; - if ($normalize && /^$/) - { - $separate = 1; - next; - } - - if ($separate) - { - $oline++; - print $out "\n"; - } - $separate = 0; - - $oline++; - s/__oline__/$oline/g; - + s/__oline__/$./g; s/\@<:\@/[/g; s/\@:>\@/]/g; s/\@S\|\@/\$/g; @@ -667,7 +645,7 @@ sub handle_output ($$) unless /^\#\s*(if|include|endif|ifdef|ifndef|define)\b/; foreach (split (/\W+/)) { - $prohibited{$_} = $oline + $prohibited{$_} = $. if /$forbidden/o && !/$allowed/o && ! exists $prohibited{$_}; } diff --git a/configure b/configure index 3fa7ea280..db80c6c9e 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.52e for GNU Autoconf 2.52g. +# Generated by GNU Autoconf 2.52g for GNU Autoconf 2.52g. # # Report bugs to . # @@ -838,7 +838,7 @@ test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF GNU Autoconf configure 2.52g -generated by GNU Autoconf 2.52e +generated by GNU Autoconf 2.52g Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. @@ -853,7 +853,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU Autoconf $as_me 2.52g, which was -generated by GNU Autoconf 2.52e. Invocation command line was +generated by GNU Autoconf 2.52g. Invocation command line was $ $0 $@ @@ -2021,7 +2021,7 @@ _ASBOX cat >&5 <<_CSEOF This file was extended by GNU Autoconf $as_me 2.52g, which was -generated by GNU Autoconf 2.52e. Invocation command line was +generated by GNU Autoconf 2.52g. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -2078,7 +2078,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ GNU Autoconf config.status 2.52g -configured by $0, generated by GNU Autoconf 2.52e, +configured by $0, generated by GNU Autoconf 2.52g, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 diff --git a/lib/autom4te.in b/lib/autom4te.in index dd893ef30..7c2cb3530 100644 --- a/lib/autom4te.in +++ b/lib/autom4te.in @@ -134,7 +134,6 @@ args: acsite.m4? args: aclocal.m4? args: --mode 777 args: --warning syntax -args: --normalize args: --language Autoheader-preselections args: --language Automake-preselections args: --language Autoreconf-preselections diff --git a/man/autom4te.1 b/man/autom4te.1 index 957ed02a5..ee70108c1 100644 --- a/man/autom4te.1 +++ b/man/autom4te.1 @@ -29,9 +29,6 @@ don't remove temporary files \fB\-o\fR, \fB\-\-output\fR=\fIFILE\fR save output in FILE (defaults to `-', stdout) .TP -\fB\-\-normalize\fR -smash successive empty lines -.TP \fB\-f\fR, \fB\-\-force\fR don't rely on cached values .TP