bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Avoid leading empty line in --version output


From: Andreas Schwab
Subject: Avoid leading empty line in --version output
Date: Thu, 09 Oct 2003 10:44:29 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux)

The output of autoheader --version starts with an empty line.  This can
confuse scripts that try to parse the output for a version number and
expect it in the first line.

Andreas.

2003-10-09  Andreas Schwab  <address@hidden>

        * bin/autoheader.in: Avoid empty first line in --version and
        --help output.
        * bin/ifnames.in: Likewise.

--- bin/autoheader.in.~1.136.~  2003-09-02 17:52:18.000000000 +0200
+++ bin/autoheader.in   2003-10-09 10:38:21.000000000 +0200
@@ -60,8 +60,7 @@ my @include;
 
 # $HELP
 # -----
-$help = "\
-Usage: $0 [OPTION] ... [TEMPLATE-FILE]
+$help = "Usage: $0 [OPTION] ... [TEMPLATE-FILE]
 
 Create a template file of C \`\#define\' statements for \`configure\' to
 use.  To this end, scan TEMPLATE-FILE, or \`configure.ac\' if present,
@@ -86,8 +85,7 @@ Report bugs to <address@hidden>.
 
 # $VERSION
 # --------
-$version = "\
-autoheader (@PACKAGE_NAME@) @VERSION@
+$version = "autoheader (@PACKAGE_NAME@) @VERSION@
 Written by Roland McGrath and Akim Demaille.
 
 Copyright (C) 2003 Free Software Foundation, Inc.
--- bin/ifnames.in      2003/10/08 14:14:51     1.1
+++ bin/ifnames.in      2003/10/08 14:15:44
@@ -65,8 +65,7 @@ Report bugs to <address@hidden>.
 
 # $VERSION
 # --------
-$version = "\
-ifnames (@PACKAGE_NAME@) @VERSION@
+$version = "ifnames (@PACKAGE_NAME@) @VERSION@
 Written by David J. MacKenzie and Paul Eggert.
 
 Copyright (C) 2003 Free Software Foundation, Inc.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]