[Kst] branches/work/kst/portto4/kst

Mike Fenton mike at staikos.net
Fri Nov 7 18:03:13 CET 2008


SVN commit 881269 by fenton:

Add config option for building of dirfile.


 M  +4 -1      config.pri  
 M  +5 -1      src/datasources/datasources.pro  


--- branches/work/kst/portto4/kst/config.pri #881268:881269
@@ -1,2 +1,5 @@
 # Define if you have cfitsio
-HAVE_CFITSIO = 1
\ No newline at end of file
+HAVE_CFITSIO = 1
+
+#Define if you have dirfile getdata library
+HAVE_DIRFILE = 1
\ No newline at end of file
--- branches/work/kst/portto4/kst/src/datasources/datasources.pro #881268:881269
@@ -12,4 +12,8 @@
      message(CFITSIO configured.  Plugins will be built.)
      SUBDIRS += fitsimage
  }
-!win32:SUBDIRS += dirfilesource
+
+contains(HAVE_DIRFILE, 1) {
+     message(DIRFILE configured.  Plugins will be built.)
+  !win32:SUBDIRS += dirfilesource
+}


More information about the Kst mailing list