diff options
author | David Seifert <soap@gentoo.org> | 2017-01-13 18:42:29 +0100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2017-01-15 12:34:03 +1100 |
commit | cc08bebaaa07559bf5879541e6f2c6661a669f87 (patch) | |
tree | be4268966f988b9355cdd2a310fe741792f1814f /configure.ac | |
parent | 8967db0cb0fa3dcac00c12b056a7af1a58a3efa8 (diff) | |
download | flac-cc08bebaaa07559bf5879541e6f2c6661a669f87.tar.gz |
Make building/installing examples optional
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 67e53cfc..a3e0fadb 100644 --- a/configure.ac +++ b/configure.ac @@ -360,6 +360,11 @@ AC_DEFINE_UNQUOTED([FLAC__HAS_OGG],$FLAC__HAS_OGG,[define if you have the ogg li AC_SUBST(FLAC__HAS_OGG) AC_SUBST(OGG_PACKAGE) +dnl Build examples? +AC_ARG_ENABLE([examples], + AS_HELP_STRING([--disable-examples], [Don't build and install examples])) +AM_CONDITIONAL([EXAMPLES], [test "x$enable_examples" != "xno"]) + dnl check for i18n(internationalization); these are from libiconv/gettext AM_ICONV AM_LANGINFO_CODESET |