From 0035c67eb55967c1f96f6d3ca538196ade340f47 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Thu, 30 May 2024 18:10:47 +0200 Subject: [PATCH] Use AC_DEFINE_UNQUOTED where variables are present According to Autoconf docs and upstream code, AC_DEFINE_UNQUOTED must be used where variables are present in the arguments. Follow up of GH-13552 --- ext/ffi/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ffi/config.m4 b/ext/ffi/config.m4 index 22b8ba8d0a9f..76b8dc5bb766 100644 --- a/ext/ffi/config.m4 +++ b/ext/ffi/config.m4 @@ -15,7 +15,7 @@ if test "$PHP_FFI" != "no"; then AC_DEFUN([PHP_FFI_CHECK_DECL], [AC_CHECK_DECL([$1], - [AC_DEFINE(AS_TR_CPP([HAVE_$1]), [1], + [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$1]), [1], [Whether libffi supports the '$1' calling convention.])],, [#include ])])