From 1a9db8ea41e6c12d75c1c5732fccebc9cf4f15cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Thu, 9 Dec 2021 15:22:11 +0100 Subject: [PATCH] Configure: Fix some quoting issues. Fixes #10058. --- src/aclocal.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/aclocal.m4 b/src/aclocal.m4 index e4b436c37d..bb5ac001d6 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -25,7 +25,7 @@ define([if_autoconf], translit(substr(AC_ACVERSION, 0, index(AC_ACVERSION,.)),[A-Za-z])-0 > $1 || translit(substr(AC_ACVERSION, index(+AC_ACVERSION,.)),[A-Za-z])-0 >= $2 ) -)]),1,$3,$4)]) +)]),1,[$3],[$4])]) dnl Autoconf 2.60 is the first version that supports C99. dnl C99-compilers complain about implicit declarations. @@ -35,10 +35,11 @@ if_autoconf(2,60,,[ m4_copy([AC_LANG_SOURCE(C)], [ORIG_AC_LANG_SOURCE_C]) m4_define([AC_LANG_SOURCE(C)], [ ORIG_AC_LANG_SOURCE_C([ +/* Kludge for C99 */ #ifdef HAVE_STDLIB_H #include <stdlib.h> #endif -]$1) +$1]) ]) ]) -- GitLab