aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-09 16:08:31 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:19 +0100
commit46ead5b4294bd3b9fed14f89a2c178ac9876d7ce (patch)
treee8df01669390c071d5de172c6ec9100a64b54b14
parentff5935cdde391f9c3f63a1decba5fbb4aa693b8a (diff)
Fix string comparison
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
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])
])