2012-09-01 18:27:24 +02:00
|
|
|
dnl ---- configure.ac for gb.mime
|
|
|
|
|
2014-04-05 23:22:43 +02:00
|
|
|
m4_include([../version.m4])
|
|
|
|
AC_INIT(gambas3-gb-mime, GB_VERSION, GB_MAIL, [], GB_URL)
|
2012-09-01 18:27:24 +02:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2014-04-05 23:22:43 +02:00
|
|
|
|
2012-09-01 18:27:24 +02:00
|
|
|
GB_INIT(gb.mime)
|
|
|
|
AC_PROG_LIBTOOL
|
2012-09-08 02:57:34 +02:00
|
|
|
|
|
|
|
gb_in_component_search=yes
|
|
|
|
|
2012-09-01 18:27:24 +02:00
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
|
|
mime,
|
|
|
|
MIME,
|
|
|
|
gb.mime,
|
|
|
|
[src],
|
2018-06-13 17:44:28 +02:00
|
|
|
gmime-3.0)
|
2012-09-08 02:57:34 +02:00
|
|
|
|
|
|
|
if test "$have_mime" = "no"; then
|
|
|
|
|
|
|
|
rm -f DISABLED DISABLED.gb.mime
|
|
|
|
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
|
|
mime,
|
|
|
|
MIME,
|
|
|
|
gb.mime,
|
|
|
|
[src],
|
2018-06-13 17:44:28 +02:00
|
|
|
gmime-2.6)
|
2012-09-08 02:57:34 +02:00
|
|
|
|
|
|
|
if test "$have_mime" = "yes"; then
|
2018-06-13 17:44:28 +02:00
|
|
|
GB_WARNING([But gmime 2.6 has been detected!])
|
2012-09-08 02:57:34 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
2018-08-14 18:24:45 +02:00
|
|
|
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
|
|
|
|
|
2012-09-08 02:57:34 +02:00
|
|
|
AC_OUTPUT(Makefile src/Makefile)
|
|
|
|
|
2012-09-01 18:27:24 +02:00
|
|
|
GB_PRINT_MESSAGES
|