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
fac67412
Commit
fac67412
authored
Dec 03, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Fix the OpenCL detection for Mac OS.
parent
e40093f7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
configure
configure
+8
-2
configure.ac
configure.ac
+6
-1
No files found.
configure
View file @
fac67412
...
...
@@ -640,7 +640,6 @@ HALINCL
XSLTINCL
XML2INCL
XML2LIBS
LIBOPENCL
NASLIBS
X_EXTRA_LIBS
X_LIBS
...
...
@@ -653,6 +652,7 @@ CROSSCC
CROSSTEST_DISABLE
PRELINK
CARBONLIB
LIBOPENCL
FRAMEWORK_OPENAL
COREAUDIO
DISKARBITRATIONLIB
...
...
@@ -6541,6 +6541,12 @@ _ACEOF
ac_cv_lib_openal
=
yes
fi
if
test
"
$ac_cv_header_OpenCL_opencl_h
"
=
"yes"
then
LIBOPENCL
=
"-framework OpenCL"
ac_cv_lib_OpenCL_clGetPlatformInfo
=
yes
fi
if
test
"
$ac_cv_header_IOKit_hid_IOHIDLib_h
"
=
"yes"
then
ac_save_LIBS
=
"
$LIBS
"
...
...
@@ -9063,7 +9069,7 @@ Use the --without-x option if you really want this." "$LINENO" 5 ;;
esac
fi
if
test
"
$ac_cv_header_CL_opencl_h
"
=
"yes"
-o
"
$ac_cv_header_OpenCL_opencl_h
"
=
"yes"
if
test
"
$ac_cv_header_CL_opencl_h
"
=
"yes"
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for clGetPlatformInfo in -lOpenCL"
>
&5
$as_echo_n
"checking for clGetPlatformInfo in -lOpenCL... "
>
&6
;
}
...
...
configure.ac
View file @
fac67412
...
...
@@ -719,6 +719,11 @@ case $host_os in
AC_DEFINE_UNQUOTED(HAVE_OPENAL,1,[Define to 1 if OpenAL is available])
ac_cv_lib_openal=yes
fi
if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
then
AC_SUBST(LIBOPENCL,"-framework OpenCL")
ac_cv_lib_OpenCL_clGetPlatformInfo=yes
fi
if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
then
ac_save_LIBS="$LIBS"
...
...
@@ -1102,7 +1107,7 @@ without X support, which probably isn't what you want. You will need
to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.])
dnl **** Check for OpenCL ****
if test "$ac_cv_header_CL_opencl_h" = "yes"
-o "$ac_cv_header_OpenCL_opencl_h" = "yes"
if test "$ac_cv_header_CL_opencl_h" = "yes"
then
AC_CHECK_LIB(OpenCL,clGetPlatformInfo,[AC_SUBST(LIBOPENCL,["-lOpenCL"])])
fi
...
...
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