|
From: Enlightenment C. <no...@cv...> - 2006-07-21 12:02:04
|
Enlightenment CVS committal Author : chaos Project : e17 Module : apps/evfs Dir : e17/apps/evfs Modified Files: configure.in Log Message: * Add a libextractor based metadata grabber =================================================================== RCS file: /cvs/e/e17/apps/evfs/configure.in,v retrieving revision 1.25 retrieving revision 1.26 diff -u -3 -r1.25 -r1.26 --- configure.in 19 Jul 2006 11:42:54 -0000 1.25 +++ configure.in 21 Jul 2006 17:01:31 -0000 1.26 @@ -201,6 +201,35 @@ +dnl ################### +dnl # checking for extractor (provider) +dnl ################### + +extractor=no; +AC_MSG_CHECKING(whether the extractor plugin is explicitly disabled) +AC_ARG_ENABLE(plugin-extractor, AC_HELP_STRING([--enable-plugin-extractor],[build the file keywords plugin]), + [ ac_use_plugin_extractor="$enableval" ], + [ ac_use_plugin_extractor="yes" ] + ) +if test X"$ac_use_plugin_extractor" = Xyes; then + AC_MSG_RESULT(no) + AC_CHECK_LIB(extractor, EXTRACTOR_getKeywords,[ + extractor=yes + extractor_libs="-lextractor" + extractor_cflags="" + AC_DEFINE(HAVE_EXTRACTOR, 1, libextractor keyword-library found)],[ + extractor=no + AC_MSG_WARN([Could not find all headers and libraries for extractor support: there will be fewer metadata in tooltips. cf. http://www.ovmj.org/samant +a/libextractor/ ])]) +else + AC_MSG_RESULT(yes) + extractor=no +fi +AC_SUBST(extractor_libs) +AC_SUBST(extractor_cflags) +AM_CONDITIONAL(HAVE_EXTRACTOR, test $extractor = yes) + + dnl Set PACKAGE_LOCALE_DIR in config.h. |