Make building/installing examples optional
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
This commit is contained in:
parent
8967db0cb0
commit
cc08bebaaa
@ -31,7 +31,11 @@
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
SUBDIRS = doc include m4 man src examples test build objs microbench
|
||||
SUBDIRS = doc include m4 man src test build objs microbench
|
||||
|
||||
if EXAMPLES
|
||||
SUBDIRS += examples
|
||||
endif
|
||||
|
||||
EXTRA_DIST = \
|
||||
COPYING.FDL \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user