Patch for admin dir: Do not require JasPer == 1.600.x

Michael Ritzert kde at ritzert.de
Fri Apr 18 11:38:45 BST 2003


Hi all,

I finally got around to write the code to have KDE use JasPer version 1.700 
for at least reading a JPEG2000 file. So we can revert the check for the 
JasPer version in acinclude.m4.in.

I hope I can get code to write a JPEG2000 file with 1.700 working during the 
long weekend.

Michael

Index: acinclude.m4.in
===================================================================
RCS file: /home/kde/kde-common/admin/acinclude.m4.in,v
retrieving revision 2.360
diff -u -3 -p -r2.360 acinclude.m4.in
--- acinclude.m4.in     17 Apr 2003 13:57:18 -0000      2.360
+++ acinclude.m4.in     18 Apr 2003 10:33:48 -0000
@@ -2606,7 +2606,7 @@ AC_DEFUN(AC_FIND_JASPER,
 [
 AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
 AC_REQUIRE([AC_FIND_JPEG])
-AC_MSG_CHECKING([for jasper 1.600])
+AC_MSG_CHECKING([for jasper])
 AC_CACHE_VAL(ac_cv_jasper,
 [
 kde_save_LIBS="$LIBS"
@@ -2619,7 +2619,7 @@ AC_TRY_LINK(dnl
     #include<jasper/jasper.h>
     ],
     [
-    return( jas_init() && JAS_IMAGE_CS_RGB );
+    return( jas_init() );
     ],
     eval "ac_cv_jasper='-ljasper $LIBJPEG -lm'",
     eval "ac_cv_jasper=no"





More information about the kde-core-devel mailing list