[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU autoconf-2.66 released [stable]
From: |
Eric Blake |
Subject: |
Re: GNU autoconf-2.66 released [stable] |
Date: |
Sat, 3 Jul 2010 15:53:43 -0400 (EDT) |
----- "Roberto Bagnara" <address@hidden> wrote:
> On 07/03/2010 01:30 AM, Eric Blake wrote:
> > The GNU Autoconf team is pleased to announce the stable release of
> > Autoconf 2.66.
>
> After upgrading from Autoconf 2.65 to Autoconf 2.66 the line
>
> AC_CHECK_SIZEOF([int*])
>
> results into this error
>
> $ autoreconf
> configure.ac:651: error: AC_CHECK_SIZEOF: requires literal arguments
> ../../lib/autoconf/types.m4:765: AC_CHECK_SIZEOF is expanded from...
> configure.ac:651: the top level
Thanks for the report, and sorry for the regression. Does this
(untested) patch fix things for you?
Unfortunately, I'm not in a position to release 2.67 for another
two weeks, but hopefully distros will pick this up if it helps,
as part of their distro version of 2.66.
diff --git a/lib/autoconf/types.m4 b/lib/autoconf/types.m4
index ee07148..9f482da 100644
--- a/lib/autoconf/types.m4
+++ b/lib/autoconf/types.m4
@@ -763,7 +763,7 @@ Remove this warning and the `AC_CACHE_CHECK' when you
adjust the code.])
# AC_CHECK_SIZEOF(TYPE, [IGNORED], [INCLUDES = DEFAULT-INCLUDES])
# ---------------------------------------------------------------
AC_DEFUN([AC_CHECK_SIZEOF],
-[AS_LITERAL_IF([$1], [],
+[AS_LITERAL_IF(m4_translit([[$1]], [*], [p]), [],
[m4_fatal([$0: requires literal arguments])])]dnl
[# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org