forked from enlightenment/efl
Don't try to build examples if dependencies are not met.
SVN revision: 61163
This commit is contained in:
parent
0a61ad17b6
commit
0e0ab628c7
|
@ -1656,9 +1656,10 @@ AC_ARG_ENABLE([build-examples],
|
||||||
# put in here the dependencies for Evas' examples. they are
|
# put in here the dependencies for Evas' examples. they are
|
||||||
# meant to be 'real world' usage examples, thus one will be
|
# meant to be 'real world' usage examples, thus one will be
|
||||||
# using higher level libraries on these programs
|
# 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],
|
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)
|
AC_SUBST(edje_cc)
|
||||||
else
|
else
|
||||||
build_examples="no"
|
build_examples="no"
|
||||||
|
|
Loading…
Reference in New Issue