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

List:       kde-commits
Subject:    kdelibs/kimgio
From:       Simone Gotti <simone.gotti () email ! it>
Date:       2005-02-15 21:37:53
Message-ID: 20050215213753.863351D171 () office ! kde ! org
[Download RAW message or body]

CVS commit by sgotti: 

Add flags to the configure script to esplicity enable/disable tiff, openexr and \
jasper (jpeg2k) support. The default behavior if nothing is specified is unchanged \
(the check is done).


  M +15 -0     configure.in.in   1.14


--- kdelibs/kimgio/configure.in.in  #1.13:1.14
@@ -69,9 +69,24 @@
 ])
 
+AC_ARG_WITH(tiff,AC_HELP_STRING([--with-tiff],[Enable tiff support \
[default=check]]),[tiff_test="$withval"],[tiff_test="yes"]) +
+if test "x$tiff_test" = "xyes" ; then
 AC_FIND_TIFF
+fi
+
 AC_FIND_JPEG
 AC_FIND_PNG
+
+AC_ARG_WITH(jasper,AC_HELP_STRING([--with-jasper],[Enable jasper (jpeg2k) support \
[default=check]]),[jasper_test="$withval"],[jasper_test="yes"]) +
+if test "x$jasper_test" = "xyes" ; then
 AC_FIND_JASPER
+fi
+
+AC_ARG_WITH(openexr,AC_HELP_STRING([--with-openexr],[Enable openexr support \
[default=check]]),[openexr_test="$withval"],[openexr_test="yes"]) +
+if test "x$openexr_test" = "xyes" ; then
 AC_FIND_LIBEXR
+fi
 
 AM_CONDITIONAL(include_TIFF_MODULES, test -n "$LIBTIFF")


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

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