Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
2eb2f71c
Commit
2eb2f71c
authored
Dec 28, 2010
by
Adam Martinson
Committed by
Alexandre Julliard
Dec 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Fix OpenCL includes on systems with only CL/cl.h.
parent
01b9fd36
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
configure
configure
+3
-3
configure.ac
configure.ac
+3
-3
opencl.c
dlls/opencl/opencl.c
+2
-2
config.h.in
include/config.h.in
+2
-2
No files found.
configure
View file @
2eb2f71c
...
...
@@ -2641,7 +2641,7 @@ fi
# Check whether --with-opencl was given.
if
test
"
${
with_opencl
+set
}
"
=
set
;
then
:
withval
=
$with_opencl
;
if
test
"x
$withval
"
=
"xno"
;
then
ac_cv_header_CL_
open
cl_h
=
no
;
ac_cv_header_OpenCL_opencl_h
=
no
;
fi
withval
=
$with_opencl
;
if
test
"x
$withval
"
=
"xno"
;
then
ac_cv_header_CL_cl_h
=
no
;
ac_cv_header_OpenCL_opencl_h
=
no
;
fi
fi
...
...
@@ -5760,7 +5760,7 @@ for ac_header in \
AL/al.h
\
AudioToolbox/AudioConverter.h
\
AudioUnit/AudioUnit.h
\
CL/
open
cl.h
\
CL/cl.h
\
Carbon/Carbon.h
\
CoreAudio/CoreAudio.h
\
DiskArbitration/DiskArbitration.h
\
...
...
@@ -9064,7 +9064,7 @@ Use the --without-x option if you really want this." "$LINENO" 5 ;;
esac
fi
if
test
"
$ac_cv_header_CL_
open
cl_h
"
=
"yes"
if
test
"
$ac_cv_header_CL_cl_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 @
2eb2f71c
...
...
@@ -69,7 +69,7 @@ AC_ARG_WITH(nas, AS_HELP_STRING([--without-nas],[do not use the NAS sound
AC_ARG_WITH(openal, AS_HELP_STRING([--without-openal],[do not use OpenAL]),
[if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi])
AC_ARG_WITH(opencl, AS_HELP_STRING([--without-opencl],[do not use OpenCL]),
[if test "x$withval" = "xno"; then ac_cv_header_CL_
open
cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi])
[if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi])
AC_ARG_WITH(opengl, AS_HELP_STRING([--without-opengl],[do not use OpenGL]))
AC_ARG_WITH(openssl, AS_HELP_STRING([--without-openssl],[do not use OpenSSL]),
[if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi])
...
...
@@ -370,7 +370,7 @@ AC_CHECK_HEADERS(\
AL/al.h \
AudioToolbox/AudioConverter.h \
AudioUnit/AudioUnit.h \
CL/
open
cl.h \
CL/cl.h \
Carbon/Carbon.h \
CoreAudio/CoreAudio.h \
DiskArbitration/DiskArbitration.h \
...
...
@@ -1107,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_
open
cl_h" = "yes"
if test "$ac_cv_header_CL_cl_h" = "yes"
then
AC_CHECK_LIB(OpenCL,clGetPlatformInfo,[AC_SUBST(LIBOPENCL,["-lOpenCL"])])
fi
...
...
dlls/opencl/opencl.c
View file @
2eb2f71c
...
...
@@ -30,8 +30,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
opencl
);
#if defined(HAVE_CL_
OPEN
CL_H)
#include <CL/
open
cl.h>
#if defined(HAVE_CL_CL_H)
#include <CL/cl.h>
#elif defined(HAVE_OPENCL_OPENCL_H)
#include <OpenCL/opencl.h>
#endif
...
...
include/config.h.in
View file @
2eb2f71c
...
...
@@ -54,8 +54,8 @@
/* Define to 1 if you have the `chsize' function. */
#undef HAVE_CHSIZE
/* Define to 1 if you have the <CL/
open
cl.h> header file. */
#undef HAVE_CL_
OPEN
CL_H
/* Define to 1 if you have the <CL/cl.h> header file. */
#undef HAVE_CL_CL_H
/* Define to 1 if you have the <CoreAudio/CoreAudio.h> header file. */
#undef HAVE_COREAUDIO_COREAUDIO_H
...
...
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