Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy


Modified Files:
        configure.in 


Log Message:
Whoa! Lots of while-you-were sleeping CVS downtime changes:

* Extractor based plugin - middle click a file to try!
* Remove pthread nastiness, and begin making *everything* async
* Lots of bug fixes
* Much improved file cache reference tracking - more stable entropy
* Loads more

===================================================================
RCS file: /cvs/e/e17/proto/entropy/configure.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- configure.in        24 Feb 2006 23:19:48 -0000      1.8
+++ configure.in        28 Mar 2006 10:31:14 -0000      1.9
@@ -100,8 +100,6 @@
 AC_FUNC_LSTAT
 AC_FUNC_CLOSEDIR_VOID
 
-ACX_PTHREAD()
-
 # inspired by Bruno Haible
 langinfo=no
 AC_TRY_LINK([#include <langinfo.h>],
@@ -163,6 +161,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/samanta/libextractor/ ])])
+else
+        AC_MSG_RESULT(yes)
+     extractor=no
+fi
+AC_SUBST(extractor_libs)
+AC_SUBST(extractor_cflags)
+AM_CONDITIONAL(HAVE_EXTRACTOR, test $extractor = yes)
+
+
 #check for ewl
 AC_PATH_EFL(
    ewl,
@@ -357,12 +384,6 @@
 
 
 
-dnl pthread.
-AC_SUBST(PTHREAD_LIBS)
-AC_SUBST(PTHREAD_CFLAGS)
-AC_SUBST(PTHREAD_CC)
-
-
 
 dnl
 dnl Adjust the Makefile.am conditionals accordingly
@@ -391,6 +412,7 @@
 echo "  ETK plugin..............: $have_etk"
 echo "  Thumbnailing............: $have_libpng"
 echo "  Imlib2..................: $have_imlib2"
+echo "  Extractor Plugin........: $extractor"
 echo
 echo "Installation Path.........: $prefix"
 echo




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to