From: sachiel Date: Sat, 9 Jul 2011 01:20:18 +0000 (+0000) Subject: Don't try to build examples if dependencies are not met. X-Git-Tag: accepted/2.0/20130306.225542~242^2~346 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0402c60b189dcf1e78dcbe0b1e00f25d15e9e2f3;p=profile%2Fivi%2Fevas.git Don't try to build examples if dependencies are not met. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61163 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/configure.ac b/configure.ac index 423df8b..747d6c0 100644 --- a/configure.ac +++ b/configure.ac @@ -1656,9 +1656,10 @@ 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]) + 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]) + [edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc], + [build_examples="no"]) AC_SUBST(edje_cc) else build_examples="no"