gambas-source-code/gb.mime/configure.ac
Benoît Minisini cb9042fbad [GB.MIME]
* NEW: Try to detect gmime-2.4 if gmime-2.6 is not available.


git-svn-id: svn://localhost/gambas/trunk@5142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-08 00:57:34 +00:00

38 lines
554 B
Text

dnl ---- configure.ac for gb.mime
AC_INIT(configure.ac)
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-2.6)
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.4)
if test "$have_mime" = "yes"; then
GB_WARNING([But gmime 2.4 has been detected!])
fi
fi
AC_OUTPUT(Makefile src/Makefile)
GB_PRINT_MESSAGES