Commit 650b6a9f authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

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

parent 87eb0a54
...@@ -7844,12 +7844,6 @@ then : ...@@ -7844,12 +7844,6 @@ then :
printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
fi 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" 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 if test "x$ac_cv_header_CL_cl_h" = xyes
then : then :
......
...@@ -407,7 +407,6 @@ AC_SYS_LARGEFILE() ...@@ -407,7 +407,6 @@ AC_SYS_LARGEFILE()
AC_CHECK_HEADERS(\ AC_CHECK_HEADERS(\
AL/al.h \ AL/al.h \
ApplicationServices/ApplicationServices.h \
CL/cl.h \ CL/cl.h \
Carbon/Carbon.h \ Carbon/Carbon.h \
CoreAudio/CoreAudio.h \ CoreAudio/CoreAudio.h \
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
#include <cups/ppd.h> #include <cups/ppd.h>
#endif #endif
#ifdef HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H #ifdef __APPLE__
#define GetCurrentProcess GetCurrentProcess_Mac #define GetCurrentProcess GetCurrentProcess_Mac
#define GetCurrentThread GetCurrentThread_Mac #define GetCurrentThread GetCurrentThread_Mac
#define LoadResource LoadResource_Mac #define LoadResource LoadResource_Mac
...@@ -386,7 +386,7 @@ static NTSTATUS get_ppd( void *args ) ...@@ -386,7 +386,7 @@ static NTSTATUS get_ppd( void *args )
static NTSTATUS get_default_page_size( 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; const struct get_default_page_size_params *params = args;
NTSTATUS status = STATUS_UNSUCCESSFUL; NTSTATUS status = STATUS_UNSUCCESSFUL;
PMPrintSession session = NULL; PMPrintSession session = NULL;
......
...@@ -9,10 +9,6 @@ ...@@ -9,10 +9,6 @@
/* Define to 1 if you have the <AL/al.h> header file. */ /* Define to 1 if you have the <AL/al.h> header file. */
#undef HAVE_AL_AL_H #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. */ /* Define to 1 if you have the <arpa/inet.h> header file. */
#undef HAVE_ARPA_INET_H #undef HAVE_ARPA_INET_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