Commit 2d50a24e authored by Monty's avatar Monty

Add patch to disable building examples by default, test Makefile.am fix

Closes Trac #1571

svn path=/trunk/vorbis/; revision=17018
parent 0a274ec1
......@@ -2,7 +2,11 @@
AUTOMAKE_OPTIONS = 1.6 foreign dist-zip dist-bzip2
SUBDIRS = m4 include vq lib examples test doc
SUBDIRS = m4 include vq lib test doc
if BUILD_EXAMPLES
SUBDIRS += examples
endif
m4datadir = $(datadir)/aclocal
m4data_DATA = vorbis.m4
......
......@@ -89,6 +89,11 @@ fi
AM_CONDITIONAL(BUILD_DOCS, [test "x$enable_docs" = xyes])
AC_ARG_ENABLE(examples,
AS_HELP_STRING([--enable-examples], [build the examples]))
AM_CONDITIONAL(BUILD_EXAMPLES, [test "x$enable_examples" = xyes])
dnl --------------------------------------------------
dnl Set build flags based on environment
dnl --------------------------------------------------
......
......@@ -4,9 +4,9 @@ AUTOMAKE_OPTIONS = foreign
INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@
noinst_PROGRAMS = test
check_PROGRAMS = test
check: $(noinst_PROGRAMS)
check: $(check_PROGRAMS)
./test$(EXEEXT)
test_SOURCES = util.c util.h write_read.c write_read.h test.c
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment