gambas-source-code/gb.mime/configure.ac
bgermann dd26e934ac Make gb.mime compatible with libgmime 3.0.
[GB.MIME]
* NEW: Make compatible with libgmime 3.0.
* NEW: Drop libgmime 2.4 support.
2018-08-07 09:51:15 +02:00

40 lines
619 B
Text

dnl ---- configure.ac for gb.mime
m4_include([../version.m4])
AC_INIT(gambas3-gb-mime, GB_VERSION, GB_MAIL, [], GB_URL)
AC_CONFIG_MACRO_DIR([m4])
GB_INIT(gb.mime)
AC_PROG_LIBTOOL
gb_in_component_search=yes
GB_COMPONENT_PKG_CONFIG(
mime,
MIME,
gb.mime,
[src],
gmime-3.0)
gb_in_component_search=no
if test "$have_mime" = "no"; then
rm -f DISABLED DISABLED.gb.mime
GB_COMPONENT_PKG_CONFIG(
mime,
MIME,
gb.mime,
[src],
gmime-2.6)
if test "$have_mime" = "yes"; then
GB_WARNING([But gmime 2.6 has been detected!])
fi
fi
AC_OUTPUT(Makefile src/Makefile)
GB_PRINT_MESSAGES