]> granicus.if.org Git - php/commitdiff
- Should fix bug #25295
authorfoobar <sniper@php.net>
Mon, 8 Sep 2003 13:15:22 +0000 (13:15 +0000)
committerfoobar <sniper@php.net>
Mon, 8 Sep 2003 13:15:22 +0000 (13:15 +0000)
configure.in

index 51858b7822bf056ffac1e004cbcb15c031567e8d..68b97badf1d20eed06123accdb3e971c56a1092a 100644 (file)
@@ -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 \