Fixed configuration problems with gsl
[pspp-builds.git] / configure.ac
index ffe69d86e50bc1ee1eabe2bf0cdc499589b08fd9..5015f73aa8291b076dfe77aa665ae766b5125f16 100644 (file)
@@ -27,7 +27,8 @@ AC_CHECK_LIB(gmp, mpf_get_str,,
 )
 
 AC_CHECK_LIB(gslcblas,main,,AC_MSG_ERROR([You must install libgslcblas]))
-AC_CHECK_LIB(gsl,gsl_set_error_handler,,AC_MSG_ERROR([You must install libgsl]))
+AC_CHECK_LIB(gsl, gsl_cdf_chisq_Q,,
+       AC_MSG_ERROR([You must install libgsl version 1.4 or later]))
 
 AC_CHECK_FUNC(getopt_long,,
        AC_MSG_ERROR(`This application depends upon getopt_long'))