File use-lcms2.diff of Package gimp.16289

Index: gimp-2.8.18/configure
===================================================================
--- gimp-2.8.18.orig/configure
+++ gimp-2.8.18/configure
@@ -21978,7 +21978,6 @@ $as_echo "#define HAVE_LCMS1 1" >>confde
 fi
   fi
 
-  if test "x$have_lcms" != "xyes (lcms1)"; then
     if test "x$with_lcms" = x2 || \
         test "x$with_lcms" = xlcms2 || \
         test "x$with_lcms" = xcheck; then
@@ -22071,7 +22070,6 @@ $as_echo "#define HAVE_LCMS2 1" >>confde
          LCMS='lcms$(EXEEXT)'
 fi
     fi
-  fi
 fi
 
 
Index: gimp-2.8.18/configure.ac
===================================================================
--- gimp-2.8.18.orig/configure.ac
+++ gimp-2.8.18/configure.ac
@@ -1625,7 +1625,6 @@ if test "x$with_lcms" != xno; then
       [have_lcms="no (lcms1 not found)"])
   fi
 
-  if test "x$have_lcms" != "xyes (lcms1)"; then
     if test "x$with_lcms" = x2 || \
         test "x$with_lcms" = xlcms2 || \
         test "x$with_lcms" = xcheck; then
@@ -1642,7 +1641,6 @@ if test "x$with_lcms" != xno; then
            have_lcms="no (lcms2 not found)"
          fi])
     fi
-  fi
 fi
 
 AC_SUBST(LCMS_CFLAGS)
openSUSE Build Service is sponsored by