terminology: Fix ecore-imf DSO missing flag.
authorantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 19 Jun 2012 01:02:19 +0000 (01:02 +0000)
committerantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 19 Jun 2012 01:02:19 +0000 (01:02 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/terminology@72428 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac
src/bin/Makefile.am

index 2c1ba7f..b9b7ff6 100644 (file)
@@ -39,11 +39,13 @@ AC_ARG_ENABLE([ecore-imf],
    [AC_HELP_STRING([--disable-ecore-imf], [disable ecore-imf (Input Method Framework) usage. @<:@default=enabled@:>@])],
    [want_ecore_imf=$enableval], [])
 
+AM_CONDITIONAL(HAVE_ECORE_IMF, false)
 if test "x$want_ecore_imf" != "xno"; then
    PKG_CHECK_MODULES([ECORE_IMF],
        [ecore-imf >= 1.2.0 ecore-imf-evas >= 1.2.0],
        [
           AC_DEFINE([HAVE_ECORE_IMF], [1], [Input Method Support])
+          AM_CONDITIONAL(HAVE_ECORE_IMF, true)
           have_ecore_imf="yes"
           requirements="ecore-imf-evas >= 1.2.0 ecore-imf >= 1.2.0 ${requirements}"
        ],
index 10012fb..a31b260 100644 (file)
@@ -8,6 +8,12 @@ terminology_CPPFLAGS = -I. \
 
 terminology_LDADD = @TERMINOLOGY_LIBS@
 
+if HAVE_ECORE_IMF
+
+terminology_LDADD += @ECORE_IMF_LIBS@
+
+endif
+
 terminology_SOURCES = \
 private.h \
 col.c col.h \