From c54f6781ae0b0f43abfe752396b1db7cd54111d6 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 files changed, 2 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 95ce0f0..2d38c41 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 -- 1.7.3.4