blob: 5c25dd588f2b09de2ff86440a50e4fbd3661a797 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- flac-1.3.0/configure.ac
+++ flac-1.3.0/configure.ac
@@ -319,6 +319,12 @@
fi
AC_SUBST(OGG_PACKAGE)
+dnl Build examples?
+AC_ARG_ENABLE(examples,
+ AS_HELP_STRING([--disable-examples], [Don't build examples during make]),,
+ enable_examples="yes")
+AM_CONDITIONAL(EXAMPLES, [test "$enable_examples" = "yes"])
+
dnl check for i18n(internationalization); these are from libiconv/gettext
AM_ICONV
AM_LANGINFO_CODESET
--- flac-1.3.0/Makefile.am
+++ flac-1.3.0/Makefile.am
@@ -31,7 +31,11 @@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = doc include m4 man src examples test build objs
+SUBDIRS = doc include m4 man src test build objs
+
+if EXAMPLES
+SUBDIRS += examples
+endif
EXTRA_DIST = \
COPYING.FDL \
|