autoconf: 1999-09-21 Akim Demaille <akim@epita.fr> (2f32c)

From 2f32c2e1dea70d9b3c02d4a2b1e16fa660fa3fea Mon Sep 17 00:00:00 2001
From: Akim Demaille <[EMAIL REDACTED]>
Date: Tue, 21 Sep 1999 12:56:50 +0000
Subject: [PATCH] 1999-09-21  Akim Demaille  <akim@epita.fr>

	* acgeneral.m4 (AC_INIT_PARSE_ARGS, --help message): Use quoted
	heredocs to avoid problems with quotes.
---
 ChangeLog               |  5 +++++
 acgeneral.m4            | 10 +++++-----
 configure               |  4 ++--
 lib/autoconf/general.m4 | 10 +++++-----
 4 files changed, 17 insertions(+), 12 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f3676c0e..3040277a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-09-21  Akim Demaille  <akim@epita.fr>
+
+	* acgeneral.m4 (AC_INIT_PARSE_ARGS, --help message): Use quoted
+	heredocs to avoid problems with quotes.
+
 1999-09-21  Akim Demaille  <akim@epita.fr>
 
 	* NEWS: Updated.
diff --git a/acgeneral.m4 b/acgeneral.m4
index 796ec3c7..92dac461 100644
--- a/acgeneral.m4
+++ b/acgeneral.m4
@@ -765,10 +765,10 @@ changequote([, ])dnl
   -help | --help | --hel | --he)
     # Omit some internal or obsolete options to make the list less imposing.
     # This message is too long to be a string in the A/UX 3.1 sh.
-    cat << EOF
 changequote(, )dnl
-`configure' configures software source code packages to adapt to many
-kinds of systems.
+    cat << \EOF
+`configure' configures software source code packages to adapt to many kinds
+of systems.
 
 Usage: configure [OPTION]... [VAR=VALUE]... [HOST]
 
@@ -813,7 +813,7 @@ Program names:
                           run sed PROGRAM on installed program names
 
 EOF
-    cat << EOF
+    cat << \EOF
 Host type:
   --build=BUILD           configure for building on BUILD [BUILD=HOST]
   --host=HOST             configure for HOST [guessed]
@@ -826,8 +826,8 @@ Features and packages:
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   --x-includes=DIR        X include files are in DIR
   --x-libraries=DIR       X library files are in DIR
-changequote([, ])dnl
 EOF
+changequote([, ])dnl
     if test -n "$ac_help"; then
       echo "
 --enable and --with options recognized:$ac_help"
diff --git a/configure b/configure
index d7b46a6f..2003623f 100755
--- a/configure
+++ b/configure
@@ -150,7 +150,7 @@ do
   -help | --help | --hel | --he)
     # Omit some internal or obsolete options to make the list less imposing.
     # This message is too long to be a string in the A/UX 3.1 sh.
-    cat << EOF
+    cat << \EOF
 `configure' configures software source code packages to adapt to many
 kinds of systems.
 
@@ -197,7 +197,7 @@ Program names:
                           run sed PROGRAM on installed program names
 
 EOF
-    cat << EOF
+    cat << \EOF
 Host type:
   --build=BUILD           configure for building on BUILD [BUILD=HOST]
   --host=HOST             configure for HOST [guessed]
diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4
index 796ec3c7..92dac461 100644
--- a/lib/autoconf/general.m4
+++ b/lib/autoconf/general.m4
@@ -765,10 +765,10 @@ changequote([, ])dnl
   -help | --help | --hel | --he)
     # Omit some internal or obsolete options to make the list less imposing.
     # This message is too long to be a string in the A/UX 3.1 sh.
-    cat << EOF
 changequote(, )dnl
-`configure' configures software source code packages to adapt to many
-kinds of systems.
+    cat << \EOF
+`configure' configures software source code packages to adapt to many kinds
+of systems.
 
 Usage: configure [OPTION]... [VAR=VALUE]... [HOST]
 
@@ -813,7 +813,7 @@ Program names:
                           run sed PROGRAM on installed program names
 
 EOF
-    cat << EOF
+    cat << \EOF
 Host type:
   --build=BUILD           configure for building on BUILD [BUILD=HOST]
   --host=HOST             configure for HOST [guessed]
@@ -826,8 +826,8 @@ Features and packages:
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   --x-includes=DIR        X include files are in DIR
   --x-libraries=DIR       X library files are in DIR
-changequote([, ])dnl
 EOF
+changequote([, ])dnl
     if test -n "$ac_help"; then
       echo "
 --enable and --with options recognized:$ac_help"