Skip to content

Commit 5e242fe

Browse files
authored
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
1 parent 1fd40a6 commit 5e242fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/ffi/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if test "$PHP_FFI" != "no"; then
1515

1616
AC_DEFUN([PHP_FFI_CHECK_DECL],
1717
[AC_CHECK_DECL([$1],
18-
[AC_DEFINE(AS_TR_CPP([HAVE_$1]), [1],
18+
[AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$1]), [1],
1919
[Whether libffi supports the '$1' calling convention.])],,
2020
[#include <ffi.h>])])
2121

0 commit comments

Comments
 (0)