[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
This commit is contained in:
parent
fad5bdba3b
commit
cb9042fbad
@ -4,11 +4,35 @@ 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user