summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-09-08 13:15:22 +0000
committerfoobar <sniper@php.net>2003-09-08 13:15:22 +0000
commit7429aadf30974ea62895e75a06178bcdc65897da (patch)
tree0399b97fd2ce7d3a5546c123664d33fd7526ca3f /configure.in
parent6ed790685f9ddae11834f36b0ba4fea58afc805a (diff)
downloadphp-git-7429aadf30974ea62895e75a06178bcdc65897da.tar.gz
- Should fix bug #25295
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index 51858b7822..68b97badf1 100644
--- a/configure.in
+++ b/configure.in
@@ -317,16 +317,12 @@ dnl -------------------------------------------------------------------------
dnl Checks for header files.
AC_HEADER_STDC
+AC_HEADER_DIRENT
-dnl In QNX opendir resides in libc but dirent.h is still required
-if test "`uname -s 2>/dev/null`" != "QNX"; then
- AC_HEADER_DIRENT
-else
- AC_CHECK_HEADERS(dirent.h)
-fi
PHP_MISSING_FCLOSE_DECL
dnl QNX requires unix.h to allow functions in libunix to work properly
AC_CHECK_HEADERS([ \
+dirent.h \
ApplicationServices/ApplicationServices.h \
sys/param.h \
sys/types.h \