Commit 9645beb5 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

configure: Remove check for IOKit (always present on macOS).

parent ab8103e0
......@@ -7856,12 +7856,6 @@ then :
printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
fi
ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
then :
printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
fi
ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
then :
......
......@@ -408,7 +408,6 @@ AC_CHECK_HEADERS(\
AL/al.h \
CL/cl.h \
EGL/egl.h \
IOKit/IOKitLib.h \
OpenCL/opencl.h \
Security/Security.h \
SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
......
......@@ -75,7 +75,7 @@
# include <sys/scsiio.h>
#endif
#ifdef HAVE_IOKIT_IOKITLIB_H
#ifdef __APPLE__
# include <libkern/OSByteOrder.h>
# include <sys/disk.h>
# include <IOKit/IOKitLib.h>
......
......@@ -54,14 +54,12 @@
#ifdef HAVE_SYS_RESOURCE_H
# include <sys/resource.h>
#endif
#ifdef HAVE_IOKIT_IOKITLIB_H
#ifdef __APPLE__
# include <CoreFoundation/CoreFoundation.h>
# include <IOKit/IOKitLib.h>
# include <IOKit/pwr_mgt/IOPM.h>
# include <IOKit/pwr_mgt/IOPMLib.h>
# include <IOKit/ps/IOPowerSources.h>
#endif
#ifdef __APPLE__
# include <mach/mach.h>
# include <mach/machine.h>
# include <mach/mach_init.h>
......@@ -3484,7 +3482,7 @@ static NTSTATUS fill_battery_state( SYSTEM_BATTERY_STATE *bs )
return STATUS_SUCCESS;
}
#elif defined(HAVE_IOKIT_IOKITLIB_H)
#elif defined(__APPLE__)
static NTSTATUS fill_battery_state( SYSTEM_BATTERY_STATE *bs )
{
......
......@@ -111,9 +111,6 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the <IOKit/IOKitLib.h> header file. */
#undef HAVE_IOKIT_IOKITLIB_H
/* Define to 1 if you have the `kqueue' function. */
#undef HAVE_KQUEUE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment