build: require a recent enough version of ecore.
authorIsmo Puustinen <ismo.puustinen@intel.com>
Fri, 4 Jan 2013 09:15:18 +0000 (11:15 +0200)
committerIsmo Puustinen <ismo.puustinen@intel.com>
Fri, 4 Jan 2013 09:15:18 +0000 (11:15 +0200)
configure.ac

index 0dc7a76..a3889da 100644 (file)
@@ -188,8 +188,10 @@ AC_ARG_ENABLE(ecore,
               [  --enable-ecore          enable EFL/ecore mainloop support],
              [enable_ecore=$enableval], [enable_ecore=auto])
 
+
 if test "$enable_ecore" != "no"; then
-    PKG_CHECK_MODULES(ECORE, ecore,
+    # We are using features which are present only at ecore 1.2 onwards.
+    PKG_CHECK_MODULES(ECORE, ecore >= 1.2,
                       [have_ecore=yes], [have_ecore=no])
     if test "$have_ecore" = "no" -a "$enable_ecore" = "yes"; then
         AC_MSG_ERROR([EFL/ecore development libraries not found.])