From ab9e4b3c9a82dcca6a3790b58ebe1508a3b3ccb6 Mon Sep 17 00:00:00 2001 From: Jerome Pinot Date: Thu, 5 Jul 2012 06:03:37 +0000 Subject: [PATCH] edje: multisense 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". SVN revision: 73324 --- legacy/edje/configure.ac | 1 + legacy/edje/edje.pc.in | 1 + 2 files changed, 2 insertions(+) diff --git a/legacy/edje/configure.ac b/legacy/edje/configure.ac index de135c342e..5d62336278 100644 --- a/legacy/edje/configure.ac +++ b/legacy/edje/configure.ac @@ -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 diff --git a/legacy/edje/edje.pc.in b/legacy/edje/edje.pc.in index 1f2befe779..88110e9654 100644 --- a/legacy/edje/edje.pc.in +++ b/legacy/edje/edje.pc.in @@ -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.