From 69df3e14ec55addfa17914f927002be03bc6fd1f Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Mon, 22 Oct 2012 20:02:35 +0000 Subject: [PATCH] evas/build: Fix examples building enable/disable. It should be disable if the dependencies were NOT found. SVN revision: 78339 --- legacy/evas/configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/legacy/evas/configure.ac b/legacy/evas/configure.ac index 0470472da0..222defc3b3 100644 --- a/legacy/evas/configure.ac +++ b/legacy/evas/configure.ac @@ -1177,10 +1177,11 @@ AC_ARG_ENABLE([build-examples], # put in here the dependencies for Evas' examples. they are # meant to be 'real world' usage examples, thus one will be # using higher level libraries on these programs - PKG_CHECK_MODULES([ECORE_EVAS], [ecore-evas ecore], [build_examples="no"]) + PKG_CHECK_MODULES([ECORE_EVAS], [ecore-evas ecore], + [], [build_examples="no"]) PKG_CHECK_MODULES([EDJE], [edje], [edje_cc=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc], - [build_examples="no"]) + [], [build_examples="no"]) AC_SUBST(edje_cc) else build_examples="no"