Hello,
> AC_PREREQ(2.61)
> Should that be AC_PREREQ([2.61])?
yes, you are right. I have fixed it in the development version of
Autoconf, see the attched patch.
From: Stepan Kasal <[EMAIL PROTECTED]>
Date: Wed, 2 Jul 2008 15:38:24 +0200
Subject: [PATCH] Add quotes to the header of autoscan-generated source.
* bin/autoscan.in: Add quotes to AC_PREREQ and AC_INIT.
Signed-off-by: Stepan Kasal <[EMAIL PROTECTED]>
---
ChangeLog | 5 +++++
bin/autoscan.in | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 70b9b66..cb4adb5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-02 Stepan Kasal <[EMAIL PROTECTED]>
+
+ Add quotes to the header of autoscan-generated source.
+ * bin/autoscan.in: Add quotes to AC_PREREQ and AC_INIT.
+
2008-06-28 Andreas Schwab <[EMAIL PROTECTED]>
* doc/autoconf.texi (autoscan Invocation): Fix spacing.
diff --git a/bin/autoscan.in b/bin/autoscan.in
index 2fe2809..83fa6fc 100644
--- a/bin/autoscan.in
+++ b/bin/autoscan.in
@@ -527,8 +527,8 @@ sub output ($)
("# -*- Autoconf -*-\n" .
"# Process this file with autoconf to produce a configure script.\n" .
"\n" .
- "AC_PREREQ(@VERSION@)\n" .
- "AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)\n");
+ "AC_PREREQ([EMAIL PROTECTED]@])\n" .
+ "AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])\n");
if (defined $cfiles[0])
{
print $file "AC_CONFIG_SRCDIR([$cfiles[0]])\n";
--
1.5.5.3