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:
@@ -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>])])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user