415de7b257
[CONFIGURATION] * NEW: Update configuration files to autoconf 2.71.
58 lines
888 B
Text
58 lines
888 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)
|
|
LT_INIT
|
|
|
|
gb_in_component_search=yes
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
mime,
|
|
MIME,
|
|
gb.mime,
|
|
[src],
|
|
gmime-3.0)
|
|
|
|
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
|
|
|
|
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_CONFIG_FILES([Makefile src/Makefile])
|
|
AC_OUTPUT
|
|
|
|
GB_PRINT_MESSAGES
|