1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

configure: Remove ApplicationServices.framework check (always present on macOS).

This commit is contained in:
Brendan Shanks 2022-11-22 13:27:56 -08:00 committed by Alexandre Julliard
parent 87eb0a544a
commit 650b6a9fc4
4 changed files with 2 additions and 13 deletions

6
configure vendored
View File

@ -7843,12 +7843,6 @@ if test "x$ac_cv_header_AL_al_h" = xyes
then :
printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
fi
ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
then :
printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
fi
ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
if test "x$ac_cv_header_CL_cl_h" = xyes

View File

@ -407,7 +407,6 @@ AC_SYS_LARGEFILE()
AC_CHECK_HEADERS(\
AL/al.h \
ApplicationServices/ApplicationServices.h \
CL/cl.h \
Carbon/Carbon.h \
CoreAudio/CoreAudio.h \

View File

@ -41,7 +41,7 @@
#include <cups/ppd.h>
#endif
#ifdef HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H
#ifdef __APPLE__
#define GetCurrentProcess GetCurrentProcess_Mac
#define GetCurrentThread GetCurrentThread_Mac
#define LoadResource LoadResource_Mac
@ -386,7 +386,7 @@ static NTSTATUS get_ppd( void *args )
static NTSTATUS get_default_page_size( void *args )
{
#ifdef HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H
#ifdef __APPLE__
const struct get_default_page_size_params *params = args;
NTSTATUS status = STATUS_UNSUCCESSFUL;
PMPrintSession session = NULL;

View File

@ -9,10 +9,6 @@
/* Define to 1 if you have the <AL/al.h> header file. */
#undef HAVE_AL_AL_H
/* Define to 1 if you have the <ApplicationServices/ApplicationServices.h>
header file. */
#undef HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H
/* Define to 1 if you have the <arpa/inet.h> header file. */
#undef HAVE_ARPA_INET_H