Commit 014d43b06a3f6f78618b5033733a7c9632f1e074

Luke Dashjr 2011-09-22T20:41:17

Bugfix: fix linking when OpenCL is not detected

1
2
3
4
5
6
7
8
9
10
11
12
13
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