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
b218e81d
Commit
b218e81d
authored
Jan 26, 2015
by
Charles Davis
Committed by
Alexandre Julliard
Jan 27, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Check that we can link to QuickTime.framework before using it.
parent
e62612b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
6 deletions
+45
-6
configure
configure
+31
-3
configure.ac
configure.ac
+14
-3
No files found.
configure
View file @
b218e81d
...
...
@@ -7949,10 +7949,38 @@ done
fi
if
test
"
$ac_cv_header_QuickTime_ImageCompression_h
"
=
"yes"
then
QUICKTIME_LIBS
=
"-framework QuickTime -framework ApplicationServices -framework CoreVideo"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-framework QuickTime -framework ApplicationServices -framework CoreVideo
$LIBS
"
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for the QuickTime framework"
>
&5
$as_echo_n
"checking for the QuickTime framework... "
>
&6
;
}
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
#include <QuickTime/ImageCompression.h>
int
main ()
{
CodecManagerVersion(NULL);
;
return 0;
}
_ACEOF
if
ac_fn_c_try_link
"
$LINENO
"
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: yes"
>
&5
$as_echo
"yes"
>
&6
;
}
QUICKTIME_LIBS
=
"-framework QuickTime -framework ApplicationServices -framework CoreVideo"
enable_wineqtdecoder
=
${
enable_wineqtdecoder
:-
yes
}
else
enable_wineqtdecoder
=
${
enable_wineqtdecoder
:-
yes
}
else
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
$as_echo
"no"
>
&6
;
}
ac_cv_header_QuickTime_ImageCompression_h
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
\
conftest
$ac_exeext
conftest.
$ac_ext
LIBS
=
"
$ac_save_LIBS
"
fi
if
test
"
$ac_cv_header_QuickTime_ImageCompression_h
"
!=
"yes"
then
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"
...
...
configure.ac
View file @
b218e81d
...
...
@@ -813,9 +813,20 @@ uninstall::
fi
if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
then
AC_SUBST(QUICKTIME_LIBS,"-framework QuickTime -framework ApplicationServices -framework CoreVideo")
enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
else
dnl Make sure we can actually use the QuickTime framework
ac_save_LIBS="$LIBS"
LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
AC_MSG_CHECKING([for the QuickTime framework])
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <QuickTime/ImageCompression.h>]],[[CodecManagerVersion(NULL);]])],
[AC_MSG_RESULT([yes])
AC_SUBST(QUICKTIME_LIBS,"-framework QuickTime -framework ApplicationServices -framework CoreVideo")
enable_wineqtdecoder=${enable_wineqtdecoder:-yes}],
[AC_MSG_RESULT([no])
ac_cv_header_QuickTime_ImageCompression_h=no])
LIBS="$ac_save_LIBS"
fi
if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
then
WINE_NOTICE([QuickTime ${notice_platform}development files not found, video decoding won't be supported.])
fi
if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
...
...
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