Commit de2617d1 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

if lcms.h cannot be found, try lcms/lcms.h.

2003-11-21  Sven Neumann  <sven@gimp.org>

	* configure.in: if lcms.h cannot be found, try lcms/lcms.h.

	* modules/cdisplay_proof.c: changed accordingly.
parent 00efb611
2003-11-21 Sven Neumann <sven@gimp.org>
* configure.in: if lcms.h cannot be found, try lcms/lcms.h.
* modules/cdisplay_proof.c: changed accordingly.
2003-11-21 Jakub Steiner <jimmac@ximian.com>
 
* themes/Default/images/preferences/window-manager.png: use
......@@ -1044,7 +1044,13 @@ have_lcms=no
AC_CHECK_LIB(lcms, cmsCreateProofingTransform, [
AC_CHECK_HEADER(lcms.h,
have_lcms=yes
LCMS_LIBS="-llcms")])
LCMS_LIBS="-llcms", [
AC_CHECK_HEADER(lcms/lcms.h,
have_lcms=yes
AC_DEFINE(HAVE_LCMS_LCMS_H, 1,
[Define to 1 if the lcms header must be included as lcms/lcms.h])
LCMS_LIBS="-llcms")])
])
AC_SUBST(LCMS_LIBS)
AM_CONDITIONAL(HAVE_LCMS, test $have_lcms = yes)
......
......@@ -18,9 +18,13 @@
#include "config.h"
#include <stdio.h>
#include <string.h>
#ifdef HAVE_LCMS_LCMS_H
#include <lcms/lcms.h>
#else
#include <lcms.h>
#endif
#include <gtk/gtk.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment