From: John Darrington Date: Sat, 9 Oct 2010 19:12:42 +0000 (+0200) Subject: Use conventional search for gsl if pkg-config fails X-Git-Tag: v0.7.6~39 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd5925923ec4d758b38f1c4bed9ee65f2dc19fb9;p=pspp-builds.git Use conventional search for gsl if pkg-config fails --- 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