diff options
author | Rafael Antognolli <antognolli@gmail.com> | 2012-10-22 20:02:35 +0000 |
---|---|---|
committer | Rafael Antognolli <antognolli@gmail.com> | 2012-10-22 20:02:35 +0000 |
commit | 69df3e14ec55addfa17914f927002be03bc6fd1f (patch) | |
tree | 8258d88570d4b1323490f3a1c25fdf7881cda73f /legacy | |
parent | 3e5a6c4b8d430c2311dfe6722d637bd21626a434 (diff) |
evas/build: Fix examples building enable/disable.
It should be disable if the dependencies were NOT found.
SVN revision: 78339
Diffstat (limited to 'legacy')
-rw-r--r-- | legacy/evas/configure.ac | 5 |
1 files 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], | |||
1177 | # put in here the dependencies for Evas' examples. they are | 1177 | # put in here the dependencies for Evas' examples. they are |
1178 | # meant to be 'real world' usage examples, thus one will be | 1178 | # meant to be 'real world' usage examples, thus one will be |
1179 | # using higher level libraries on these programs | 1179 | # using higher level libraries on these programs |
1180 | PKG_CHECK_MODULES([ECORE_EVAS], [ecore-evas ecore], [build_examples="no"]) | 1180 | PKG_CHECK_MODULES([ECORE_EVAS], [ecore-evas ecore], |
1181 | [], [build_examples="no"]) | ||
1181 | PKG_CHECK_MODULES([EDJE], [edje], | 1182 | PKG_CHECK_MODULES([EDJE], [edje], |
1182 | [edje_cc=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc], | 1183 | [edje_cc=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc], |
1183 | [build_examples="no"]) | 1184 | [], [build_examples="no"]) |
1184 | AC_SUBST(edje_cc) | 1185 | AC_SUBST(edje_cc) |
1185 | else | 1186 | else |
1186 | build_examples="no" | 1187 | build_examples="no" |