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(
|
2012-05-18 03:19:15 +02:00
|
|
|
poppler, POPPLER, gb.pdf, [src],
|
2012-05-29 07:55:35 +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)
|
2012-05-15 09:32:03 +02:00
|
|
|
pkg-config --atleast-version=0.20.0 poppler
|
|
|
|
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_20, $((1-$?)), Poppler version >= 0.20)
|
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
|