summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-12-12 12:06:37 +0000
committerAntony Dovgal <tony2001@php.net>2006-12-12 12:06:37 +0000
commit24b312f8d510efb5a1714c291a5fb02ed1f189b5 (patch)
tree8af576c24398a9d51bfcf07ccf7d424c0d53170e /acinclude.m4
parent53f89fad03790343010dbf0efd76c138b87c8806 (diff)
downloadphp-git-24b312f8d510efb5a1714c291a5fb02ed1f189b5.tar.gz
MFH: missing part of the fix for #39795
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 9662f17190..f8884fa6ce 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2600,6 +2600,7 @@ AC_DEFUN([PHP_CRYPT_R_STYLE],
AC_CACHE_CHECK([which data struct is used by crypt_r], php_cv_crypt_r_style,[
php_cv_crypt_r_style=none
AC_TRY_COMPILE([
+#define _REENTRANT 1
#include <crypt.h>
],[
CRYPTD buffer;
@@ -2609,6 +2610,7 @@ php_cv_crypt_r_style=cryptd)
if test "$php_cv_crypt_r_style" = "none"; then
AC_TRY_COMPILE([
+#define _REENTRANT 1
#include <crypt.h>
],[
struct crypt_data buffer;
@@ -2619,6 +2621,7 @@ php_cv_crypt_r_style=struct_crypt_data)
if test "$php_cv_crypt_r_style" = "none"; then
AC_TRY_COMPILE([
+#define _REENTRANT 1
#define _GNU_SOURCE
#include <crypt.h>
],[