configure: Only enable the Mac driver on Mac OS X 10.6 or later.
This commit is contained in:
parent
95279b87e4
commit
10c6f8436c
|
@ -6673,8 +6673,20 @@ done
|
|||
then
|
||||
CARBONLIB="-framework Carbon"
|
||||
|
||||
enable_winemac_drv=${enable_winemac_drv:-yes}
|
||||
fi
|
||||
|
||||
if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
|
||||
then
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="$LIBS $APPLICATIONSERVICESLIB"
|
||||
ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
|
||||
if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
|
||||
enable_winemac_drv=${enable_winemac_drv:-yes}
|
||||
fi
|
||||
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
|
||||
if test "x$enable_win16" = "xyes"
|
||||
then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
|
||||
|
|
12
configure.ac
12
configure.ac
|
@ -796,12 +796,20 @@ case $host_os in
|
|||
else
|
||||
WINE_NOTICE([QuickTime ${notice_platform}development files not found, video decoding won't be supported.])
|
||||
fi
|
||||
dnl Enable Mac driver on Mac OS X
|
||||
if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
|
||||
then
|
||||
AC_SUBST(CARBONLIB,"-framework Carbon")
|
||||
enable_winemac_drv=${enable_winemac_drv:-yes}
|
||||
fi
|
||||
|
||||
dnl Enable Mac driver on Mac OS X 10.6 or later
|
||||
if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
|
||||
then
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="$LIBS $APPLICATIONSERVICESLIB"
|
||||
AC_CHECK_FUNC(CGDisplayModeGetWidth,enable_winemac_drv=${enable_winemac_drv:-yes})
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
|
||||
dnl Check for Xcode 3.x broken 16-bit support
|
||||
if test "x$enable_win16" = "xyes"
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue