1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Use AC_DEFINE_UNQUOTED where variables are present (#14377)

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
This commit is contained in:
Peter Kokot
2024-05-30 21:50:46 +02:00
committed by GitHub
parent 1fd40a6983
commit 5e242fea66

View File

@@ -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 <ffi.h>])])