gambas-source-code/gb.pdf/configure.ac
Benoît Minisini ba19f3c1dd * Copy https://gambas.svn.sourceforge.net/svnroot/gambas/2.0 to https://gambas.svn.sourceforge.net/svnroot/gambas/gambas
git-svn-id: svn://localhost/gambas/trunk@893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2007-12-30 16:41:49 +00:00

26 lines
521 B
Text

dnl ---- configure.ac for gb.pdf
AC_INIT(configure.ac)
GB_INIT(gb.pdf)
AC_PROG_LIBTOOL
GB_COMPONENT_PKG_CONFIG(
poppler,
POPPLER,
[Poppler PDF library],
[src],
poppler,
[>= 0.5]
)
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)
fi
AC_OUTPUT( \
Makefile \
src/Makefile \
)