From cd5925923ec4d758b38f1c4bed9ee65f2dc19fb9 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 9 Oct 2010 21:12:42 +0200 Subject: [PATCH] Use conventional search for gsl if pkg-config fails --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2d8b6a45..7e065acf 100644 --- a/configure.ac +++ b/configure.ac @@ -239,7 +239,9 @@ AC_SUBST([WITH_PERL_MODULE]) AM_CONDITIONAL(WITH_PERL_MODULE, test $WITH_PERL_MODULE = yes) AC_SEARCH_LIBS([cblas_dsdot], [gslcblas],,[PSPP_REQUIRED_PREREQ([libgslcblas])]) -PKG_CHECK_MODULES([GSL], [gsl >= 1.12], [], [PSPP_REQUIRED_PREREQ([gsl 2.0 version 1.12 or later])]) +PKG_CHECK_MODULES([GSL], [gsl >= 1.12], [], + AC_SEARCH_LIBS([gsl_linalg_cholesky_invert], [gsl],,[PSPP_REQUIRED_PREREQ([gsl 2.0 version 1.12 or later])])) + PSPP_GSL_NEEDS_FGNU89_INLINE -- 2.30.2