diff options
author | Eric Blake <eblake@redhat.com> | 2010-09-22 15:55:26 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2010-09-22 16:02:27 -0600 |
commit | bb4a036f8383658cbc353699d90e56bd113fc14f (patch) | |
tree | efa1065043360c58fdad9874ccd38e2c35e9548a /tests/semantics.at | |
parent | 6117b5a630834020b77722acd7e76580e113b728 (diff) | |
download | autoconf-bb4a036f8383658cbc353699d90e56bd113fc14f.tar.gz |
AC_REPLACE_FUNCS: allow split lines again
More fallout from the same 2.66 regression that was partially fixed
yesterday, but until yesterday's AS_LITERAL_IF actually treated \ as a
non-literal, apparently no one noticed the latent bug of a spurious
call to AC_CHECK_FUNC([\]) during automake's libobj5.test.
* lib/autoconf/functions.m4 (AC_REPLACE_FUNCS): Flatten newlines
and move guts...
(_AC_REPLACE_FUNCS): ...to new helper.
* tests/semantics.at (AC_REPLACE_FUNCS): Enhance test.
Reported by Ralf Wildenhues.
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/semantics.at')
-rw-r--r-- | tests/semantics.at | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/semantics.at b/tests/semantics.at index 9fd08e04..0e287375 100644 --- a/tests/semantics.at +++ b/tests/semantics.at @@ -177,11 +177,13 @@ AT_DATA([config.in], AT_CONFIGURE_AC( [AC_CONFIG_FILES([config.libobjs:config.in]) -AC_REPLACE_FUNCS([printf autoconf_ftnirp]) +AC_REPLACE_FUNCS([printf \ +autoconf_ftnirp]) funcs='fprintf autoconf_ftnirpf' AH_TEMPLATE([HAVE_FPRINTF], []) AH_TEMPLATE([HAVE_AUTOCONF_FTNIRPF], []) -AC_REPLACE_FUNCS([$funcs]) +AC_REPLACE_FUNCS([\ +$funcs]) AS_UNSET([funcs])]) AT_CHECK_AUTOCONF([-W obsolete]) |