2007-12-30 17:41:49 +01:00
|
|
|
dnl ---- configure.ac for gb.pdf
|
|
|
|
|
2014-04-05 23:22:43 +02:00
|
|
|
m4_include([../version.m4])
|
|
|
|
AC_INIT(gambas3-gb-pdf, GB_VERSION, GB_MAIL, [], GB_URL)
|
2009-08-17 00:07:48 +02:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2014-04-05 23:22:43 +02:00
|
|
|
|
2007-12-30 17:41:49 +01:00
|
|
|
GB_INIT(gb.pdf)
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
|
2020-06-15 00:10:27 +02:00
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
2012-05-18 03:19:15 +02:00
|
|
|
poppler, POPPLER, gb.pdf, [src],
|
2020-06-15 00:10:27 +02:00
|
|
|
'poppler >= 0.20'
|
2007-12-30 17:41:49 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
if test "$have_poppler" = "yes"; then
|
2017-09-06 12:58:12 +02:00
|
|
|
pkg-config --atleast-version=0.58.0 poppler
|
|
|
|
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_58, $((1-$?)), Poppler version >= 0.58)
|
2018-05-16 02:04:47 +02:00
|
|
|
pkg-config --atleast-version=0.64.0 poppler
|
|
|
|
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_64, $((1-$?)), Poppler version >= 0.64)
|
2018-11-03 11:19:42 +01:00
|
|
|
pkg-config --atleast-version=0.71.0 poppler
|
|
|
|
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_71, $((1-$?)), Poppler version >= 0.71)
|
2018-12-21 02:48:20 +01:00
|
|
|
pkg-config --atleast-version=0.72.0 poppler
|
|
|
|
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_72, $((1-$?)), Poppler version >= 0.72)
|
2019-05-01 13:52:51 +02:00
|
|
|
pkg-config --atleast-version=0.76.0 poppler
|
|
|
|
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_76, $((1-$?)), Poppler version >= 0.76)
|
2020-01-17 09:08:33 +01:00
|
|
|
pkg-config --atleast-version=0.83.0 poppler
|
|
|
|
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_83, $((1-$?)), Poppler version >= 0.83)
|
2020-01-30 20:08:47 +01:00
|
|
|
pkg-config --atleast-version=0.85.0 poppler
|
|
|
|
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_85, $((1-$?)), Poppler version >= 0.85)
|
2020-03-10 01:40:24 +01:00
|
|
|
pkg-config --atleast-version=0.85.0 poppler
|
|
|
|
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_86, $((1-$?)), Poppler version >= 0.86)
|
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
|