From 367c1587f52e0300f97525ecb96715f484501e8c Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Wed, 29 Aug 2007 05:45:19 +0000 Subject: [PATCH] add --disable-cpplibs configure option (SF#1723295: https://sourceforge.net/tracker/index.php?func=detail&aid=1723295&group_id=13478&atid=313478 --- configure.in | 10 ++++++++++ doc/html/changelog.html | 1 + include/Makefile.am | 6 +++++- src/Makefile.am | 9 ++++++--- test/Makefile.am | 8 ++++++-- 5 files changed, 28 insertions(+), 6 deletions(-) diff --git a/configure.in b/configure.in index 9bbae79..effd1f4 100644 --- a/configure.in +++ b/configure.in @@ -230,6 +230,16 @@ if test "x$enable_xmms_plugin" != xfalse ; then fi AM_CONDITIONAL(FLaC__HAS_XMMS, test -n "$XMMS_INPUT_PLUGIN_DIR") +dnl build FLAC++ or not +AC_ARG_ENABLE([cpplibs], +AC_HELP_STRING([--disable-cpplibs], [Do not build libFLAC++]), +[case "${enableval}" in + yes) disable_cpplibs=false ;; + no) disable_cpplibs=true ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-cpplibs) ;; +esac], [disable_cpplibs=false]) +AM_CONDITIONAL(FLaC__WITH_CPPLIBS, [test "x$disable_cpplibs" != xtrue]) + dnl check for ogg library AC_ARG_ENABLE([ogg], AC_HELP_STRING([--disable-ogg], [Disable ogg support (default: test for libogg)]), diff --git a/doc/html/changelog.html b/doc/html/changelog.html index a2a57b6..e303096 100644 --- a/doc/html/changelog.html +++ b/doc/html/changelog.html @@ -101,6 +101,7 @@
  • build system: