Commit 223a4bf3 authored by Kristian Høgsberg's avatar Kristian Høgsberg

2006-05-30 Kristian Høgsberg <krh@redhat.com>

	* poppler-glib.pc.in:
	* configure.ac: Add poppler as a private requires if pkg-config
	supports it.
parent 7aaa4d3f
2006-05-30 Kristian Høgsberg <krh@redhat.com>
* poppler-glib.pc.in:
* configure.ac: Add poppler as a private requires if pkg-config
supports it.
2006-05-30 Kristian Høgsberg <krh@redhat.com>
* test/gtk-cairo-test.cc: Add --page option to gtk-cairo-test.
......
......@@ -304,6 +304,17 @@ case "$enable_compile_warnings" in
-fno-common $CXXFLAGS" ;;
esac
case $($PKG_CONFIG --version) in
0.?|0.1[0-7])
PC_REQUIRES_PRIVATE="";
PC_REQUIRES="poppler = $VERSION";;
*)
PC_REQUIRES_PRIVATE="Requires.private: poppler = $VERSION";
PC_REQUIRES="";;
esac
AC_SUBST(PC_REQUIRES)
AC_SUBST(PC_REQUIRES_PRIVATE)
AC_OUTPUT([
Makefile
......
......@@ -6,7 +6,8 @@ includedir=@includedir@
Name: poppler-glib
Description: GLib wrapper for poppler
Version: @VERSION@
Requires: poppler = @VERSION@ gobject-2.0 gdk-2.0 gdk-pixbuf-2.0 @CAIRO_REQ@
Requires: @PC_REQUIRES@ gobject-2.0 gdk-2.0 gdk-pixbuf-2.0 @CAIRO_REQ@
@PC_REQUIRES_PRIVATE@
Libs: -L${libdir} -lpoppler-glib
Cflags: -I${includedir}/poppler/glib
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