[Kst] kdeextragear-2/kst

George Staikos staikos at kde.org
Wed Jan 28 03:42:57 CET 2004


CVS commit by staikos: 

add a basically untested autoconf check for gsl.  The fits plugins should
use the variables set here instead of hardcoding them, and those Makefiles
should also be updated to reflect that they are plugins and not libraries.


  M +13 -0     configure.in.in   1.6
  M +5 -1      plugins/Makefile.am   1.6


--- kdeextragear-2/kst/configure.in.in  #1.5:1.6
@@ -15,2 +15,15 @@
 fi
 
+KDE_CHECK_LIB(gsl, gsl_fit_linear, GSLLIBS="-lgsl $GSLLIBS", , )
+AC_SUBST(GSLLIBS)
+
+if test $ac_cv_lib_gsl_gsl_fit_linear = yes; then
+  KDE_CHECK_HEADER(gsl/gsl_fit.h, AC_DEFINE(HAVE_GSL, 1, [If we have gsl headers]) have_gsl=yes, , )
+
+  if test $have_gsl = yes; then
+    AC_DEFINE(KST_HAVE_GSL, 1, [If we have GSL libraries.])
+  fi
+fi
+
+AM_CONDITIONAL(include_fits_plugins, test x$have_gsl = xyes)
+

--- kdeextragear-2/kst/plugins/Makefile.am  #1.5:1.6
@@ -1,2 +1,6 @@
-SUBDIRS=linefit autocorrelation crosscorrelation periodogram phase statistics chop
+if include_fits_plugins
+FITS_SUBDIR=fits
+endif
+
+SUBDIRS=linefit autocorrelation crosscorrelation periodogram phase statistics chop $(FITS_SUBDIR)
 





More information about the Kst mailing list