From 46ead5b4294bd3b9fed14f89a2c178ac9876d7ce Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 9 Mar 2011 16:08:31 +0100 Subject: Fix string comparison --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 0cbd6e89..3c4bb53c 100755 --- a/configure +++ b/configure @@ -6522,7 +6522,7 @@ else $as_echo "no" >&6; } fi -if test "x$cl_cl_h" == "xtrue"; then : +if test "x$cl_cl_h" = "xtrue"; then : $as_echo "#define HAVE_CL_CL_H 1" >>confdefs.h diff --git a/configure.ac b/configure.ac index 30075260..c2266a2b 100644 --- a/configure.ac +++ b/configure.ac @@ -88,7 +88,7 @@ AS_IF([test "x$with_opencl" == "xyes"], ], [ AC_MSG_RESULT([no]) ]) -AS_IF([test "x$cl_cl_h" == "xtrue"], +AS_IF([test "x$cl_cl_h" = "xtrue"], [ AC_DEFINE([HAVE_CL_CL_H], [1], [Define to 1 if CL/cl.h should be used]) ]) -- cgit v1.2.3