From 593790400ecb8e6dbbef1ade3da56b1070ba155e Mon Sep 17 00:00:00 2001 From: Ross Paterson Date: Mon, 16 Aug 2010 14:24:42 +0000 Subject: [PATCH] fix FP_CHECK_ALIGNMENT for autoconf 2.66 (fixes #4252) Recent versions of AS_LITERAL_IF don't like *'s. Fix from http://blog.gmane.org/gmane.comp.sysutils.autoconf.general/month=20100701 --- aclocal.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aclocal.m4 b/aclocal.m4 index 5358cc2..747d064 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -141,7 +141,7 @@ AC_DEFUN([FP_COMPUTE_INT], # A variation of AC_CHECK_SIZEOF for computing the alignment restrictions of a # given type. Defines ALIGNMENT_TYPE. AC_DEFUN([FP_CHECK_ALIGNMENT], -[AS_LITERAL_IF([$1], [], +[AS_LITERAL_IF(m4_translit([[$1]], [*], [p]), [], [AC_FATAL([$0: requires literal arguments])])[]dnl AC_CHECK_TYPE([$1], [], [], [$3])[]dnl m4_pushdef([fp_Cache], [AS_TR_SH([fp_cv_alignment_$1])])[]dnl -- 1.7.10.4