Hi,

There is currently no easy way to know if edje was compiled with
edje multisense support. For instance, if you want to compile in
sounds in an edje theme, this may fail if support is not in the lib.

What about adding a key in edje.pc? 3rd-party applications could
then check against it before compilation. Something like:

Index: trunk/edje/configure.ac
===================================================================
--- trunk/edje/configure.ac     (revision 73321)
+++ trunk/edje/configure.ac     (working copy)
@@ -451,6 +451,7 @@
 if test "x${want_multisense}" = "xyes" ; then
    AC_DEFINE([ENABLE_MULTISENSE], [1], [Use Multisense])
 fi
+AC_SUBST(want_multisense)
 
 # Dependencies for the binaries
 
Index: trunk/edje/edje.pc.in
===================================================================
--- trunk/edje/edje.pc.in       (revision 73321)
+++ trunk/edje/edje.pc.in       (working copy)
@@ -6,6 +6,7 @@
 datarootdir=@datarootdir@
 datadir=@datadir@/edje
 vmaj=@VMAJ@
+multisense=@want_multisense@
 
 Name: edje
 Description: Enlightened graphical design and layout engine.


-- 
Jérôme Pinot
http://ngc891.blogdns.net/

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to