mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 20:53:47 +00:00
configure: Remove check for the HID Manager (always present on macOS).
This commit is contained in:
parent
c8f9ee0bf0
commit
ab8103e0e3
19
configure
vendored
19
configure
vendored
|
@ -7861,12 +7861,6 @@ if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
|
||||||
then :
|
then :
|
||||||
printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
|
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
|
fi
|
||||||
ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
|
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
|
if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
|
||||||
|
@ -9946,19 +9940,6 @@ fi
|
||||||
|
|
||||||
ac_cv_lib_OpenCL_clGetPlatformInfo=yes
|
ac_cv_lib_OpenCL_clGetPlatformInfo=yes
|
||||||
fi
|
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"
|
if test "$ac_cv_header_Metal_Metal_h" = "yes"
|
||||||
then
|
then
|
||||||
|
|
|
@ -409,7 +409,6 @@ AC_CHECK_HEADERS(\
|
||||||
CL/cl.h \
|
CL/cl.h \
|
||||||
EGL/egl.h \
|
EGL/egl.h \
|
||||||
IOKit/IOKitLib.h \
|
IOKit/IOKitLib.h \
|
||||||
IOKit/hid/IOHIDLib.h \
|
|
||||||
OpenCL/opencl.h \
|
OpenCL/opencl.h \
|
||||||
Security/Security.h \
|
Security/Security.h \
|
||||||
SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
|
SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
|
||||||
|
@ -724,13 +723,6 @@ case $host_os in
|
||||||
AC_SUBST(OPENCL_LIBS,"-framework OpenCL")
|
AC_SUBST(OPENCL_LIBS,"-framework OpenCL")
|
||||||
ac_cv_lib_OpenCL_clGetPlatformInfo=yes
|
ac_cv_lib_OpenCL_clGetPlatformInfo=yes
|
||||||
fi
|
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"
|
if test "$ac_cv_header_Metal_Metal_h" = "yes"
|
||||||
then
|
then
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#if defined(HAVE_IOKIT_HID_IOHIDLIB_H)
|
#ifdef __APPLE__
|
||||||
#define DWORD UInt32
|
#define DWORD UInt32
|
||||||
#define LPDWORD UInt32*
|
#define LPDWORD UInt32*
|
||||||
#define LONG SInt32
|
#define LONG SInt32
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
#undef LPLONG
|
#undef LPLONG
|
||||||
#undef E_PENDING
|
#undef E_PENDING
|
||||||
#undef PAGE_SHIFT
|
#undef PAGE_SHIFT
|
||||||
#endif /* HAVE_IOKIT_HID_IOHIDLIB_H */
|
#endif /* __APPLE__ */
|
||||||
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
#include "unix_private.h"
|
#include "unix_private.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(hid);
|
WINE_DEFAULT_DEBUG_CHANNEL(hid);
|
||||||
#ifdef HAVE_IOHIDMANAGERCREATE
|
#ifdef __APPLE__
|
||||||
|
|
||||||
static pthread_mutex_t iohid_cs = PTHREAD_MUTEX_INITIALIZER;
|
static pthread_mutex_t iohid_cs = PTHREAD_MUTEX_INITIALIZER;
|
||||||
|
|
||||||
|
@ -441,4 +441,4 @@ NTSTATUS iohid_bus_stop(void *args)
|
||||||
return STATUS_NOT_IMPLEMENTED;
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* HAVE_IOHIDMANAGERCREATE */
|
#endif /* __APPLE__ */
|
||||||
|
|
|
@ -111,12 +111,6 @@
|
||||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
#undef HAVE_INTTYPES_H
|
#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. */
|
/* Define to 1 if you have the <IOKit/IOKitLib.h> header file. */
|
||||||
#undef HAVE_IOKIT_IOKITLIB_H
|
#undef HAVE_IOKIT_IOKITLIB_H
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue