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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs