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])
|
2022-09-03 13:24:51 +02:00
|
|
|
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)
|
2022-09-03 13:24:51 +02:00
|
|
|
LT_INIT
|
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
|
|
|
|
|
|
|
|
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],
|
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
|
|
|
|
|
2022-09-03 13:24:51 +02:00
|
|
|
AC_CONFIG_FILES([Makefile src/Makefile])
|
|
|
|
AC_OUTPUT
|
2012-09-08 02:57:34 +02:00
|
|
|
|
2012-09-01 18:27:24 +02:00
|
|
|
GB_PRINT_MESSAGES
|