Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
10c6f843
Commit
10c6f843
authored
Dec 20, 2012
by
Ken Thomases
Committed by
Alexandre Julliard
Dec 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Only enable the Mac driver on Mac OS X 10.6 or later.
parent
95279b87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
4 deletions
+24
-4
configure
configure
+14
-2
configure.ac
configure.ac
+10
-2
No files found.
configure
View file @
10c6f843
...
...
@@ -6669,12 +6669,24 @@ done
else
as_fn_append wine_notices
"|QuickTime
${
notice_platform
}
development files not found, video decoding won't be supported."
fi
if
test
"
$ac_cv_header_Carbon_Carbon_h
"
=
"yes"
if
test
"
$ac_cv_header_Carbon_Carbon_h
"
=
"yes"
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
...
...
configure.ac
View file @
10c6f843
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment