configure: Assume that dirent.h is available on Unix.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
338af40707
commit
f8faa8ced5
|
@ -8251,12 +8251,6 @@ if test "x$ac_cv_header_asm_user_h" = xyes
|
||||||
then :
|
then :
|
||||||
printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
|
printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
|
||||||
|
|
||||||
fi
|
|
||||||
ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
|
|
||||||
if test "x$ac_cv_header_dirent_h" = xyes
|
|
||||||
then :
|
|
||||||
printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
|
||||||
if test "x$ac_cv_header_elf_h" = xyes
|
if test "x$ac_cv_header_elf_h" = xyes
|
||||||
|
|
|
@ -434,7 +434,6 @@ AC_CHECK_HEADERS(\
|
||||||
arpa/nameser.h \
|
arpa/nameser.h \
|
||||||
asm/types.h \
|
asm/types.h \
|
||||||
asm/user.h \
|
asm/user.h \
|
||||||
dirent.h \
|
|
||||||
elf.h \
|
elf.h \
|
||||||
float.h \
|
float.h \
|
||||||
gettext-po.h \
|
gettext-po.h \
|
||||||
|
|
|
@ -25,19 +25,13 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <dirent.h>
|
||||||
|
|
||||||
#ifdef HAVE_SYS_PARAM_H
|
#ifdef HAVE_SYS_PARAM_H
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
|
||||||
#include <sys/types.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_DIRENT_H
|
|
||||||
#include <dirent.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -37,9 +37,7 @@
|
||||||
# include <sys/mman.h>
|
# include <sys/mman.h>
|
||||||
#endif
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#ifdef HAVE_DIRENT_H
|
#include <dirent.h>
|
||||||
# include <dirent.h>
|
|
||||||
#endif
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
|
@ -19,9 +19,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#ifdef HAVE_DIRENT_H
|
#include <dirent.h>
|
||||||
# include <dirent.h>
|
|
||||||
#endif
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -49,9 +49,6 @@
|
||||||
/* Define to 1 if you have the <cups/ppd.h> header file. */
|
/* Define to 1 if you have the <cups/ppd.h> header file. */
|
||||||
#undef HAVE_CUPS_PPD_H
|
#undef HAVE_CUPS_PPD_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <dirent.h> header file. */
|
|
||||||
#undef HAVE_DIRENT_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <DiskArbitration/DiskArbitration.h> header
|
/* Define to 1 if you have the <DiskArbitration/DiskArbitration.h> header
|
||||||
file. */
|
file. */
|
||||||
#undef HAVE_DISKARBITRATION_DISKARBITRATION_H
|
#undef HAVE_DISKARBITRATION_DISKARBITRATION_H
|
||||||
|
|
Loading…
Reference in New Issue