Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e


Modified Files:
        configure.in 


Log Message:
Only link tempget with needed libs.

===================================================================
RCS file: /cvs/e/e17/apps/e/configure.in,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -3 -r1.198 -r1.199
--- configure.in        11 Jan 2008 07:33:54 -0000      1.198
+++ configure.in        20 Jan 2008 19:42:37 -0000      1.199
@@ -185,7 +185,6 @@
   ecore-ipc
   ecore-con
   ecore-job
-  ecore-txt
   ecore-imf
   ecore-imf-evas
   edje
@@ -195,11 +194,17 @@
   efreet-mime
 ])
 
-# ecore-txt is really only needed by the temperature module,
-# so we check for it separately.
-# in a perfect world, we'd also disable the temperate module here
-# if ecore-txt isn't available.
-PKG_CHECK_MODULES(ECORE_TXT, ecore-txt)
+PKG_CHECK_MODULES(ECORE_TXT, [
+  ecore-txt
+], [
+  have_temp="yes"
+  # This test will succeed as these modules are also checked before
+  PKG_CHECK_MODULES(TEMPERATURE, [
+    ecore
+    ecore-file
+  ])
+], [ have_temp="no"])
+AM_CONDITIONAL(HAVE_TEMPERATURE, test x$have_temp = "xyes")
 
 PKG_CHECK_MODULES(E_DBUS, edbus, have_edbus=yes, have_edbus=no)
 PKG_CHECK_MODULES(E_HAL, ehal, have_ehal=yes, have_ehal=no)



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to