require remix 0.2.4 and use remix pkgconfig libdir for plugins
authorraster <raster>
Tue, 8 Nov 2011 06:52:05 +0000 (06:52 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 8 Nov 2011 06:52:05 +0000 (06:52 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@64934 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac

index 698fcb7..e1d7ad4 100644 (file)
@@ -335,19 +335,14 @@ AC_ARG_ENABLE([remix],
 
 if test "x${want_multisense}" = "xyes" -a "x$want_libremix" != "xno"; then
    PKG_CHECK_MODULES([REMIX],
-      [remix >= 0.2.3],
+      [remix >= 0.2.4],
       [
        AC_DEFINE(HAVE_LIBREMIX, 1, [remix support for Edje])
        have_libremix="yes"
-       requirement_edje="remix >= 0.2.3 ${requirement_edje}"
+       requirement_edje="remix >= 0.2.4 ${requirement_edje}"
        AC_DEFINE(__REMIX_PLUGIN__, 1, "Set to REMIX Plugin type")
-       REMIX_PLUGIN_DIR="${libdir}/remix"
+       REMIX_PLUGIN_DIR=`pkg-config --variable=libdir remix`"/remix"
        AC_SUBST(REMIX_PLUGIN_DIR)
-       if test "x${prefix}" = "xNONE"; then
-         REMIX_PLUGIN_DIR="${ac_default_prefix}/lib/remix"
-       else
-         REMIX_PLUGIN_DIR="${prefix}/lib/remix"
-       fi
        AC_DEFINE_UNQUOTED(REMIX_PLUGIN_DIR, "$REMIX_PLUGIN_DIR", [Set the remix plugin directory])
        ],
       [have_libremix="no"; want_multisense="no"]