From 014d43b06a3f6f78618b5033733a7c9632f1e074 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Thu, 22 Sep 2011 20:41:17 -0400 Subject: [PATCH] Bugfix: fix linking when OpenCL is not detected --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 95ce0f0f..2d38c419 100644 --- a/configure.ac +++ b/configure.ac @@ -123,6 +123,8 @@ if test "x$opencl" != xno; then found_opencl=1 ], [AC_MSG_RESULT(no) + OPENCL_FLAGS= + OPENCL_LIBS= found_opencl=0]) LIBS=$SAVED_LIBS CFLAGS=$SAVED_CFLAGS