forked from enlightenment/efl
evas/build: Fix examples building enable/disable.
It should be disable if the dependencies were NOT found. SVN revision: 78339
This commit is contained in:
parent
3e5a6c4b8d
commit
69df3e14ec
|
@ -1177,10 +1177,11 @@ 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], [build_examples="no"])
|
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"])
|
[], [build_examples="no"])
|
||||||
AC_SUBST(edje_cc)
|
AC_SUBST(edje_cc)
|
||||||
else
|
else
|
||||||
build_examples="no"
|
build_examples="no"
|
||||||
|
|
Loading…
Reference in New Issue