]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
use here-docs in print_usage/print_version
authorLars J. Aas <larsa@sim.no>
Tue, 10 Apr 2001 11:29:53 +0000 (11:29 +0000)
committerLars J. Aas <larsa@sim.no>
Tue, 10 Apr 2001 11:29:53 +0000 (11:29 +0000)
ChangeLog
autoupdate.in
autoupdate.sh
bin/autoupdate.in

index 209b4b1000faacfc2760a2467dc1afe29f886e1e..c3d8c2356f7bab87865763a3272182d158f3584e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-04-10  Lars J. Aas  <larsa@sim.no>
+
+       * autoupdate.in (print_usage): print "\ at end of line does not
+       work as expected, so change block to here-doc instead.
+       (print_version): Same.
+
 2001-04-09  Steven G. Johnson  <stevenj@alum.mit.edu>
 
        * doc/autoconf.texi: Replace all tab characters with (8) spaces,
index 17d76077726ea3fe1afa51c203c5627ddd99645a..e61462adfe8b61417af23c25d4eb7f37e91896a4 100644 (file)
@@ -101,7 +101,7 @@ sub END
 # Display usage (--help).
 sub print_usage ()
 {
-  print "\
+  print <<"END";
 Usage: $0 [OPTION] ...  [TEMPLATE-FILE...]
 
 Update the TEMPLATE-FILE... if given, or \`configure.ac' if present,
@@ -123,7 +123,7 @@ Environment variables:
   AUTOCONF   autoconf @VERSION@
 
 Report bugs to <bug-autoconf\@gnu.org>.
-";
+END
   exit 0;
 }
 
@@ -133,14 +133,14 @@ Report bugs to <bug-autoconf\@gnu.org>.
 # Display version (--version).
 sub print_version
 {
-  print "\
+  print <<END;
 autoupdate (@PACKAGE_NAME@) @VERSION@
 Written by David J. MacKenzie and Akim Demaille.
 
 Copyright 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-";
+END
   exit 0;
 }
 
index 17d76077726ea3fe1afa51c203c5627ddd99645a..e61462adfe8b61417af23c25d4eb7f37e91896a4 100644 (file)
@@ -101,7 +101,7 @@ sub END
 # Display usage (--help).
 sub print_usage ()
 {
-  print "\
+  print <<"END";
 Usage: $0 [OPTION] ...  [TEMPLATE-FILE...]
 
 Update the TEMPLATE-FILE... if given, or \`configure.ac' if present,
@@ -123,7 +123,7 @@ Environment variables:
   AUTOCONF   autoconf @VERSION@
 
 Report bugs to <bug-autoconf\@gnu.org>.
-";
+END
   exit 0;
 }
 
@@ -133,14 +133,14 @@ Report bugs to <bug-autoconf\@gnu.org>.
 # Display version (--version).
 sub print_version
 {
-  print "\
+  print <<END;
 autoupdate (@PACKAGE_NAME@) @VERSION@
 Written by David J. MacKenzie and Akim Demaille.
 
 Copyright 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-";
+END
   exit 0;
 }
 
index 17d76077726ea3fe1afa51c203c5627ddd99645a..e61462adfe8b61417af23c25d4eb7f37e91896a4 100644 (file)
@@ -101,7 +101,7 @@ sub END
 # Display usage (--help).
 sub print_usage ()
 {
-  print "\
+  print <<"END";
 Usage: $0 [OPTION] ...  [TEMPLATE-FILE...]
 
 Update the TEMPLATE-FILE... if given, or \`configure.ac' if present,
@@ -123,7 +123,7 @@ Environment variables:
   AUTOCONF   autoconf @VERSION@
 
 Report bugs to <bug-autoconf\@gnu.org>.
-";
+END
   exit 0;
 }
 
@@ -133,14 +133,14 @@ Report bugs to <bug-autoconf\@gnu.org>.
 # Display version (--version).
 sub print_version
 {
-  print "\
+  print <<END;
 autoupdate (@PACKAGE_NAME@) @VERSION@
 Written by David J. MacKenzie and Akim Demaille.
 
 Copyright 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-";
+END
   exit 0;
 }