edje: multisense
authorngc891 <ngc891@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 5 Jul 2012 06:03:37 +0000 (06:03 +0000)
committerngc891 <ngc891@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 5 Jul 2012 06:03:37 +0000 (06:03 +0000)
Add a key in edje.pc to help third-party applications detect if the library
has been compiled with multisense support. This will be eventually reverted
if multisense becomes a requirement for edje. For the time being, people can
check multisense availability by "pkg-config edje --variable=multisense".

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@73324 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac
edje.pc.in

index de135c3..5d62336 100644 (file)
@@ -451,6 +451,7 @@ fi
 if test "x${want_multisense}" = "xyes" ; then
    AC_DEFINE([ENABLE_MULTISENSE], [1], [Use Multisense])
 fi
+AC_SUBST([want_multisense])
 
 # Dependencies for the binaries
 
index 1f2befe..88110e9 100644 (file)
@@ -6,6 +6,7 @@ includedir=@includedir@
 datarootdir=@datarootdir@
 datadir=@datadir@/edje
 vmaj=@VMAJ@
+multisense=@want_multisense@
 
 Name: edje
 Description: Enlightened graphical design and layout engine.