[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeedu/kig
From:       Maurizio Paolini <paolini () dmf ! unicatt ! it>
Date:       2005-02-02 11:18:25
Message-ID: 20050202111825.4F0FF1D188 () office ! kde ! org
[Download RAW message or body]

CVS commit by paolini: 

changed configure.in.in to allow "--disable-kig-compressed-files"


  M +13 -0     configure.in.in   1.33


--- kdeedu/kig/configure.in.in  #1.32:1.33
@@ -20,4 +20,8 @@
 kig_enable_python_scripting="yes"
 
+# this var is set to no if we want to disable support for compressed files
+# (for compatibility reasons with kde 3.1)
+kig_enable_compressed_files="yes"
+
 AC_DEFUN([KIG_PYTHON_NOT_FOUND], [
   AC_MSG_WARN( 
@@ -33,4 +37,9 @@
   [  kig_enable_python_scripting=yes] )
 
+AC_ARG_ENABLE( kig-compressed-files, 
+  [  --disable-kig-compressed-files     Disable Kig Compressed Files support],
+  [  kig_enable_compressed_files=$enableval ],
+  [  kig_enable_compressed_files=yes] )
+
 dnl domi: we use some macro's by Ben Burton from the Regina program,
 dnl to check for the availability of a good python+boost.python
@@ -210,4 +219,8 @@
 AM_CONDITIONAL(KIG_COMPILE_PYTHON_SCRIPTING, test x$kig_enable_python_scripting != xno)
 
+if test "x$kig_enable_compressed_files" = xno; then
+  CXXFLAGS="$CXXFLAGS -DKIG_NO_COMPRESSED_FILES"
+fi
+
 AC_SUBST( KIGVERSION, $kig_version )
 AC_DEFINE_UNQUOTED( KIGVERSION, "$kig_version", [The current Kig version as a string] )


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic