2007-12-30 17:41:49 +01:00
|
|
|
dnl ---- configure.ac for gb.pdf
|
|
|
|
|
|
|
|
AC_INIT(configure.ac)
|
2009-08-17 00:07:48 +02:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2007-12-30 17:41:49 +01:00
|
|
|
GB_INIT(gb.pdf)
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
|
|
poppler,
|
|
|
|
POPPLER,
|
|
|
|
[Poppler PDF library],
|
|
|
|
[src],
|
2008-04-29 15:40:55 +02:00
|
|
|
poppler ">= 0.5"
|
2007-12-30 17:41:49 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
if test "$have_poppler" = "yes"; then
|
|
|
|
pkg-config --atleast-version=0.5 poppler
|
|
|
|
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_5, $((1-$?)), Poppler version >= 0.5)
|
|
|
|
pkg-config --atleast-version=0.5.91 poppler
|
|
|
|
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_6, $((1-$?)), Poppler version >= 0.6)
|
2008-05-01 19:01:38 +02:00
|
|
|
pkg-config --atleast-version=0.8.0 poppler
|
|
|
|
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_8, $((1-$?)), Poppler version >= 0.8)
|
2009-08-25 01:30:23 +02:00
|
|
|
pkg-config --atleast-version=0.11.3 poppler
|
|
|
|
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_11_3, $((1-$?)), Poppler version >= 0.11.3)
|
2011-08-09 12:43:30 +02:00
|
|
|
pkg-config --atleast-version=0.17.0 poppler
|
|
|
|
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_17, $((1-$?)), Poppler version >= 0.17)
|
2007-12-30 17:41:49 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
AC_OUTPUT( \
|
|
|
|
Makefile \
|
|
|
|
src/Makefile \
|
|
|
|
)
|
2010-07-14 03:50:18 +02:00
|
|
|
|
|
|
|
GB_PRINT_MESSAGES
|