]> Pileus Git - ~andy/gtk/commitdiff
Check for cups.h
authorMatthias Clasen <matthiasc@src.gnome.org>
Fri, 7 Sep 2007 03:59:33 +0000 (03:59 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 7 Sep 2007 03:59:33 +0000 (03:59 +0000)
svn path=/trunk/; revision=18743

ChangeLog
configure.in

index 69e75cd14d9c630e5b1b5cd94d88435c540fa99d..0fdd4b9808b72748ce11b26180ec93cad5e2b690 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-09-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Check for cups.h.  (#459732, Guillaume Cottenceau)
+
 2007-09-06  Matthias Clasen  <mclasen@redhat.com>
 
        * gdk/gdkrectangle.c (gdk_rectangle_intersect): Allow
index 0932560dd80c3757095e430b306b3b0bff553657..cf4491154ca512a35481a0e101a02120c2fb905d 100644 (file)
@@ -1569,6 +1569,8 @@ if test "x$CUPS_CONFIG" != "xno"; then
   AC_SUBST(CUPS_API_MINOR)
   AC_SUBST(CUPS_CFLAGS)
   AC_SUBST(CUPS_LIBS)
+
+  AC_CHECK_HEADER(cups/cups.h,,AC_MSG_ERROR([[*** Sorry, cups-config present but cups/cups.h missing.]]))
 fi
 AM_CONDITIONAL(HAVE_CUPS, test "x$CUPS_CONFIG" != "xno")