configure: Remove some no longer needed header checks.

This commit is contained in:
Alexandre Julliard 2024-09-19 14:49:40 +02:00
parent ec2e77c63f
commit 64dd96d43e
6 changed files with 2 additions and 26 deletions

12
configure vendored
View file

@ -7603,12 +7603,6 @@ if test "x$ac_cv_header_elf_h" = xyes
then :
printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
fi
ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
if test "x$ac_cv_header_float_h" = xyes
then :
printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
fi
ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
if test "x$ac_cv_header_gettext_po_h" = xyes
@ -7801,12 +7795,6 @@ if test "x$ac_cv_header_scsi_sg_h" = xyes
then :
printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
fi
ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
if test "x$ac_cv_header_stdint_h" = xyes
then :
printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
fi
ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_attr_h" = xyes

View file

@ -370,7 +370,6 @@ AC_CHECK_HEADERS(\
asm/types.h \
asm/user.h \
elf.h \
float.h \
gettext-po.h \
link.h \
linux/cdrom.h \
@ -403,7 +402,6 @@ AC_CHECK_HEADERS(\
scsi/scsi.h \
scsi/scsi_ioctl.h \
scsi/sg.h \
stdint.h \
sys/attr.h \
sys/auxv.h \
sys/cdio.h \

View file

@ -61,9 +61,6 @@
# include <sys/sysmacros.h>
#endif
#ifdef HAVE_SYS_VNODE_H
# ifdef HAVE_STDINT_H
# include <stdint.h> /* needed for kfreebsd */
# endif
/* Work around a conflict with Solaris' system list defined in sys/list.h. */
#define list SYSLIST
#define list_next SYSLIST_NEXT

View file

@ -32,9 +32,7 @@
#include <stdarg.h>
#include <math.h>
#ifdef HAVE_FLOAT_H
#include <float.h>
#endif
#include <stdlib.h>
#ifndef PI
#define PI M_PI

View file

@ -54,9 +54,6 @@
/* Define to 1 if you have the FFmpeg libraries. */
#undef HAVE_FFMPEG
/* Define to 1 if you have the <float.h> header file. */
#undef HAVE_FLOAT_H
/* Define if FreeType 2 is installed */
#undef HAVE_FREETYPE

View file

@ -31,6 +31,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <poll.h>
#ifdef HAVE_LINUX_MAJOR_H
#include <linux/major.h>
@ -73,9 +74,6 @@
#undef LIST_INIT
#undef LIST_ENTRY
#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <sys/stat.h>
#include <sys/time.h>
#ifdef MAJOR_IN_MKDEV