summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-04-23 20:38:57 +0200
committerPeter Kokot <peterkokot@gmail.com>2019-04-23 20:38:57 +0200
commitd2e6c1aff1e0f8583d27287420371f6dd6fd2741 (patch)
tree10425cc39d3f665a294ffdfb5e7b06a75c594dd8 /configure.ac
parent028ffddf69db246a8b5e8bf0a9d297cac8aa4934 (diff)
parentbeb58ca128e78bdbf56956e52a87eb943d85e534 (diff)
downloadphp-git-d2e6c1aff1e0f8583d27287420371f6dd6fd2741.tar.gz
Merge branch 'PHP-7.4'
* PHP-7.4: Move Autoconf Archive macros to a common m4 dir
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 66aeba933a..45da5d6817 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,6 +4,7 @@ dnl Include external macro definitions before the AC_INIT to also remove
dnl comments starting with # and empty newlines from the included files.
dnl -------------------------------------------------------------------------
m4_include([build/ax_check_compile_flag.m4])
+m4_include([build/ax_func_which_gethostbyname_r.m4])
m4_include([build/ax_gcc_func_attribute.m4])
m4_include([build/libtool.m4])
m4_include([build/php_cxx_compile_stdcxx.m4])
@@ -665,6 +666,8 @@ asprintf \
nanosleep \
)
+AX_FUNC_WHICH_GETHOSTBYNAME_R
+
dnl Some systems (like OpenSolaris) do not have nanosleep in libc
PHP_CHECK_FUNC_LIB(nanosleep, rt)