Check for cairo-pdf.h. Check for cairo-ps.h on non-win32.

2006-04-24  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Check for cairo-pdf.h.
	Check for cairo-ps.h on non-win32.
This commit is contained in:
Alexander Larsson 2006-04-24 07:34:11 +00:00 committed by Alexander Larsson
parent 2a834a412d
commit 98e12dd91a
3 changed files with 28 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-04-24 Alexander Larsson <alexl@redhat.com>
* configure.in:
Check for cairo-pdf.h.
Check for cairo-ps.h on non-win32.
2006-04-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkclipboard.h:

View File

@ -1,3 +1,9 @@
2006-04-24 Alexander Larsson <alexl@redhat.com>
* configure.in:
Check for cairo-pdf.h.
Check for cairo-ps.h on non-win32.
2006-04-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkclipboard.h:

View File

@ -1549,7 +1549,22 @@ if test "x$CUPS_CONFIG" != "xno"; then
fi
AM_CONDITIONAL(HAVE_CUPS, test "x$CUPS_CONFIG" != "xno")
gtk_save_cppflags="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $GTK_DEP_CFLAGS"
AC_CHECK_HEADER(cairo-pdf.h,,AC_MSG_ERROR([
*** Can't find cairo-pdf.h. You must build Cairo with the pdf
*** backend enabled.]))
if test "$os_win32" != "yes"; then
AC_CHECK_HEADER(cairo-ps.h,,AC_MSG_ERROR([
*** Can't find cairo-ps.h. You must build Cairo with the
*** postscript backend enabled.]))
fi
CPPFLAGS="$gtk_save_cppflags"
################################################################
# Strip -export-dynamic from the link lines of various libraries
################################################################