Commit ab8103e0 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

configure: Remove check for the HID Manager (always present on macOS).

parent c8f9ee0b
......@@ -7862,12 +7862,6 @@ then :
printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
fi
ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
then :
printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_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 :
......@@ -9946,19 +9940,6 @@ fi
ac_cv_lib_OpenCL_clGetPlatformInfo=yes
fi
if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
then
ac_save_LIBS="$LIBS"
LIBS="$LIBS $IOKIT_LIBS"
ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
then :
printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
fi
LIBS="$ac_save_LIBS"
fi
if test "$ac_cv_header_Metal_Metal_h" = "yes"
then
......
......@@ -409,7 +409,6 @@ AC_CHECK_HEADERS(\
CL/cl.h \
EGL/egl.h \
IOKit/IOKitLib.h \
IOKit/hid/IOHIDLib.h \
OpenCL/opencl.h \
Security/Security.h \
SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
......@@ -724,13 +723,6 @@ case $host_os in
AC_SUBST(OPENCL_LIBS,"-framework OpenCL")
ac_cv_lib_OpenCL_clGetPlatformInfo=yes
fi
if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
then
ac_save_LIBS="$LIBS"
LIBS="$LIBS $IOKIT_LIBS"
AC_CHECK_FUNCS(IOHIDManagerCreate)
LIBS="$ac_save_LIBS"
fi
if test "$ac_cv_header_Metal_Metal_h" = "yes"
then
......
......@@ -26,7 +26,7 @@
#include <stdarg.h>
#include <sys/types.h>
#if defined(HAVE_IOKIT_HID_IOHIDLIB_H)
#ifdef __APPLE__
#define DWORD UInt32
#define LPDWORD UInt32*
#define LONG SInt32
......@@ -81,7 +81,7 @@
#undef LPLONG
#undef E_PENDING
#undef PAGE_SHIFT
#endif /* HAVE_IOKIT_HID_IOHIDLIB_H */
#endif /* __APPLE__ */
#include <pthread.h>
......@@ -98,7 +98,7 @@
#include "unix_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(hid);
#ifdef HAVE_IOHIDMANAGERCREATE
#ifdef __APPLE__
static pthread_mutex_t iohid_cs = PTHREAD_MUTEX_INITIALIZER;
......@@ -441,4 +441,4 @@ NTSTATUS iohid_bus_stop(void *args)
return STATUS_NOT_IMPLEMENTED;
}
#endif /* HAVE_IOHIDMANAGERCREATE */
#endif /* __APPLE__ */
......@@ -111,12 +111,6 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `IOHIDManagerCreate' function. */
#undef HAVE_IOHIDMANAGERCREATE
/* Define to 1 if you have the <IOKit/hid/IOHIDLib.h> header file. */
#undef HAVE_IOKIT_HID_IOHIDLIB_H
/* Define to 1 if you have the <IOKit/IOKitLib.h> header file. */
#undef HAVE_IOKIT_IOKITLIB_H
......
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