From da764e5441aabbe02a4b0f1cee6832db5ccb138e Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 23 Sep 2011 10:04:09 +1000 Subject: [PATCH] Reset opencl flags if not detected to prevent build failure without opencl. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index c5cf3b0d..95ce0f0f 100644 --- a/configure.ac +++ b/configure.ac @@ -126,6 +126,9 @@ if test "x$opencl" != xno; then found_opencl=0]) LIBS=$SAVED_LIBS CFLAGS=$SAVED_CFLAGS +else + OPENCL_FLAGS="" + OPENCL_LIBS="" fi AC_CHECK_LIB(pthread, pthread_create, ,