autoconf-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Autoconf source repository branch, master, updated. v2.62-62-g


From: Ralf Wildenhues
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.62-62-g22efb81
Date: Mon, 04 Aug 2008 06:03:44 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=22efb81e0aaad363d4b0f9fb6cfef80aa6e46f85

The branch, master has been updated
       via  22efb81e0aaad363d4b0f9fb6cfef80aa6e46f85 (commit)
      from  550a531311a58a3ac7f9274e66e8b9a3540ba2e0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 22efb81e0aaad363d4b0f9fb6cfef80aa6e46f85
Author: Ralf Wildenhues <address@hidden>
Date:   Mon Aug 4 08:02:53 2008 +0200

    Fix AC_CONFIG_FILES([$var]) 2.62 regression.
    
    * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Flatten
    whitespace in $ac_config_files and $ac_config_headers.
    * tests/torture.at (Parameterized AC_CONFIG_FILES): New test.
    Report by Andreas Schwab and Per Øyvind Karlsen.
    * THANKS: Update.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog              |    9 +++++++++
 THANKS                 |    1 +
 lib/autoconf/status.m4 |   12 ++++++++++++
 tests/torture.at       |   17 +++++++++++++++++
 4 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5ff6e00..71abf0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-08-04  Ralf Wildenhues  <address@hidden>
+
+       Fix AC_CONFIG_FILES([$var]) 2.62 regression.
+       * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Flatten
+       whitespace in $ac_config_files and $ac_config_headers.
+       * tests/torture.at (Parameterized AC_CONFIG_FILES): New test.
+       Report by Andreas Schwab and Per Øyvind Karlsen.
+       * THANKS: Update.
+
 2008-07-30  Eric Blake  <address@hidden>
 
        Fix bugs in previous version of m4_bpatsubsts.
diff --git a/THANKS b/THANKS
index dfc26eb..912ec2c 100644
--- a/THANKS
+++ b/THANKS
@@ -267,6 +267,7 @@ Paul Martinolich            address@hidden
 Paul Pogonyshev             ?
 Paul Townsend               ?
 Pavel Roskin                address@hidden
+Per Øyvind Karlsen          address@hidden
 Peter Eisentraut            address@hidden
 Peter Hendrickson           address@hidden
 Peter O'Gorman              address@hidden
diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4
index 4d22085..4897461 100644
--- a/lib/autoconf/status.m4
+++ b/lib/autoconf/status.m4
@@ -1357,6 +1357,18 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
 _ACEOF
 
+dnl remove any newlines from these variables.
+m4_ifdef([_AC_SEEN_CONFIG(FILES)],
+[case $ac_config_files in *"
+"*) set x $ac_config_files; shift; ac_config_files=$[*];;
+esac
+])
+m4_ifdef([_AC_SEEN_CONFIG(HEADERS)],
+[case $ac_config_headers in *"
+"*) set x $ac_config_headers; shift; ac_config_headers=$[*];;
+esac
+])
+
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 # Files that config.status was made for.
 m4_ifdef([_AC_SEEN_CONFIG(FILES)],
diff --git a/tests/torture.at b/tests/torture.at
index 92f8d5b..44fdcd5 100644
--- a/tests/torture.at
+++ b/tests/torture.at
@@ -43,6 +43,23 @@ AT_CHECK_AUTOCONF([], 1, [], [ignore])
 AT_CLEANUP
 
 
+## ------------------------------- ##
+## parameterized AC_CONFIG_FILES.  ##
+## ------------------------------- ##
+
+AT_SETUP([Parameterized AC_CONFIG_FILES])
+
+AT_CONFIGURE_AC([[
+files="foo
+bar"
+AC_CONFIG_FILES([$files])]])
+AT_CHECK_AUTOCONF([], [], [], [ignore])
+touch foo.in bar.in config.hin
+AT_CHECK_CONFIGURE
+
+AT_CLEANUP
+
+
 
 ## ------------ ##
 ## AC_ARG_VAR.  ##


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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