Update required versions of the GSL and GTK libraries
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 23 May 2010 08:58:13 +0000 (10:58 +0200)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 24 May 2010 16:27:00 +0000 (09:27 -0700)
configure.ac
src/automake.mk

index c1c7e0e6945d0833e62470cb07f4a330ddbedbc4..e44dcce95f12307215726c198f364ecb467ba796 100644 (file)
@@ -76,8 +76,8 @@ AC_ARG_WITH([gui],
 AM_CONDITIONAL([HAVE_GUI], 
                [test "$with_cairo" != no && test "$with_gui" != "no"])
 if test "$with_cairo" != no && test "$with_gui" != "no"; then
-  PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.12], [],
-    [PSPP_REQUIRED_PREREQ([gtk+ 2.0 version 2.12 or later (or use --without-gui)])])
+  PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.16], [],
+    [PSPP_REQUIRED_PREREQ([gtk+ 2.0 version 2.16 or later (or use --without-gui)])])
 
   AC_ARG_VAR([GLIB_GENMARSHAL])
   AC_CHECK_PROGS([GLIB_GENMARSHAL], [glib-genmarshal])
@@ -239,7 +239,8 @@ 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])])
-AC_SEARCH_LIBS([gsl_cdf_binomial_P], [gsl],,[PSPP_REQUIRED_PREREQ([libgsl (version 1.8 or later)])])
+PKG_CHECK_MODULES([GSL], [gsl >= 1.12], [], [PSPP_REQUIRED_PREREQ([gsl 2.0 version 1.12 or later])])
+
 PSPP_GSL_NEEDS_FGNU89_INLINE
 
 dnl Recent versions of GNU ncurses install the curses header files into
index 65806fd442ed28bb83d9d674cbe5932355881a49..4987a56c2da3183195e77be34e43e7e102eb8884 100644 (file)
@@ -24,12 +24,13 @@ src_libpspp_core_la_LIBADD = \
 
 src_libpspp_la_SOURCES = 
 
-src_libpspp_la_LDFLAGS = -release $(VERSION)
+src_libpspp_la_CFLAGS = $(GSL_CFLAGS)
 
 src_libpspp_la_LIBADD = \
        src/language/liblanguage.la \
        src/math/libpspp-math.la \
        src/output/liboutput.la \
+        $(GSL_LIBS) \
        gl/libgl.la