## Process this file with automake to produce Makefile.in
-AUTOMAKE_OPTIONS = 1.6 foreign dist-zip dist-bzip2
+#AUTOMAKE_OPTIONS = 1.7 foreign dist-zip dist-bzip2
+AUTOMAKE_OPTIONS = foreign 1.11 dist-zip dist-xz
-SUBDIRS = include vq lib examples doc
+SUBDIRS = m4 include vq lib test doc
+
+if BUILD_EXAMPLES
+SUBDIRS += examples
+endif
m4datadir = $(datadir)/aclocal
m4data_DATA = vorbis.m4
vorbis-uninstalled.pc.in \
vorbisenc-uninstalled.pc.in \
vorbisfile-uninstalled.pc.in \
- doc examples symbian vq \
+ symbian \
macos macosx win32