No need to check on OS X

Change-Id: Ib7dc7b4e6f4dd5829116968f9c86d431b16a5071
This commit is contained in:
Tor Lillqvist
2013-06-17 19:26:45 +03:00
parent c38a9b9041
commit 2a7722d365

View File

@@ -9845,8 +9845,15 @@ dnl =================================================
OPENCL_LIBS=
OPENCL_CFLAGS=
ENABLE_OPENCL=
AC_MSG_CHECKING([opencl sdk])
if test "z$with_opencl_sdk" = "z"; then
AC_MSG_CHECKING([OpenCL])
if test \( -z "$with_opencl_sdk" -o "$with_opencl_sdk" = yes \) -a $_os = Darwin; then
# OS X
AC_MSG_RESULT([yes, always on OS X])
ENABLE_OPENCL=TRUE
OPENCL_CFLAGS=
OPENCL_LIBS="-framework OpenCL"
AC_DEFINE(HAVE_FEATURE_OPENCL)
elif test "z$with_opencl_sdk" = "z"; then
AC_MSG_RESULT([no])
else
if test -d $with_opencl_sdk/include; then