disable compiling of examples.

SVN revision: 65667
This commit is contained in:
Carsten Haitzler 2011-11-29 03:47:51 +00:00
parent d33324ebc1
commit 4363b3ea19
1 changed files with 16 additions and 16 deletions

View File

@ -550,22 +550,22 @@ AC_ARG_ENABLE([install-examples],
AM_CONDITIONAL([INSTALL_EXAMPLES], [test "x${install_examples}" = "xyes"]) AM_CONDITIONAL([INSTALL_EXAMPLES], [test "x${install_examples}" = "xyes"])
build_examples="no" build_examples="no"
AC_ARG_ENABLE([build-examples], dnl AC_ARG_ENABLE([build-examples],
AC_HELP_STRING([--enable-build-examples], dnl AC_HELP_STRING([--enable-build-examples],
[Enable building examples. This requires extra denpendencies. If you don't have them installed yet, don't build with this option or it will fail. Build again when you have it, overriding the previous installation). @<:@default==disabled@:>@]), dnl [Enable building examples. This requires extra denpendencies. If you don't have them installed yet, don't build with this option or it will fail. Build again when you have it, overriding the previous installation). @<:@default==disabled@:>@]),
[ dnl [
if test "x${enableval}" = "xyes" ; then dnl if test "x${enableval}" = "xyes" ; then
build_examples="yes" dnl build_examples="yes"
edje_cc=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc dnl edje_cc=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc
# put in here the dependencies for Edje' examples. They are dnl # put in here the dependencies for Edje' examples. They are
# meant to be 'real world' usage examples, thus one will be dnl # meant to be 'real world' usage examples, thus one will be
# using higher level libraries on these programs dnl # using higher level libraries on these programs
AC_SUBST(edje_cc) dnl AC_SUBST(edje_cc)
else dnl else
build_examples="no" dnl build_examples="no"
fi dnl fi
], dnl ],
[build_examples="no"]) dnl [build_examples="no"])
AM_CONDITIONAL([BUILD_EXAMPLES], [test "x${build_examples}" = "xyes"]) AM_CONDITIONAL([BUILD_EXAMPLES], [test "x${build_examples}" = "xyes"])
AC_SUBST(requirement_edje) AC_SUBST(requirement_edje)