Skip to content

Commit ec778c0

Browse files
committed
Use default HAVE_SIGSETJMP symbol description
When AC_DEFINE is called after some macro that has already defined the symbol with description (help text), it can be called with two arguments to make things easier. [ci skip]
1 parent 92dffb7 commit ec778c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/Zend.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ AC_CHECK_FUNCS(getpid kill pthread_getattr_np pthread_attr_get_np pthread_get_st
151151
dnl Check for sigsetjmp. If it's defined as a macro, AC_CHECK_FUNCS won't work.
152152
AC_CHECK_FUNCS([sigsetjmp],,
153153
[AC_CHECK_DECL([sigsetjmp],
154-
[AC_DEFINE([HAVE_SIGSETJMP],[1],[Define to 1 if you have the 'sigsetjmp' function.])],,
154+
[AC_DEFINE([HAVE_SIGSETJMP], [1])],,
155155
[#include <setjmp.h>])])
156156
157157
dnl Test whether the stack grows downwards

0 commit comments

Comments
 (0)