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)
|
2007-12-30 17:41:49 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
AC_OUTPUT( \
|
|
|
|
Makefile \
|
|
|
|
src/Makefile \
|
|
|
|
)
|