From e595df4c2ce96d6329db059449dec48d81eeef99 Mon Sep 17 00:00:00 2001
From: "Peter W. Draper" <p.w.draper@durham.ac.uk>
Date: Fri, 9 Mar 2018 13:55:04 +0000
Subject: [PATCH] Make sure GSL test is correctly reported

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index c4e9f9d971..3b5d4893f8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -411,7 +411,7 @@ AC_CHECK_LIB(m,sqrt,,AC_MSG_ERROR(something is wrong with the math library!))
 have_gsl="no"
 AC_CHECK_LIB([gslcblas], [cblas_dgemm])
 AC_CHECK_LIB([gsl], [gsl_integration_qag])
-if test "x$ac_cv_lib_gslcblas_cblas_dgemm" != "x"; then
+if test "x$ac_cv_lib_gslcblas_cblas_dgemm" = "xyes"; then
    have_gsl="yes"
 fi
 
-- 
GitLab