mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
add --disable-cpplibs configure option (SF#1723295: https://sourceforge.net/tracker/index.php?func=detail&aid=1723295&group_id=13478&atid=313478
This commit is contained in:
10
configure.in
10
configure.in
@@ -230,6 +230,16 @@ if test "x$enable_xmms_plugin" != xfalse ; then
|
|||||||
fi
|
fi
|
||||||
AM_CONDITIONAL(FLaC__HAS_XMMS, test -n "$XMMS_INPUT_PLUGIN_DIR")
|
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
|
dnl check for ogg library
|
||||||
AC_ARG_ENABLE([ogg],
|
AC_ARG_ENABLE([ogg],
|
||||||
AC_HELP_STRING([--disable-ogg], [Disable ogg support (default: test for libogg)]),
|
AC_HELP_STRING([--disable-ogg], [Disable ogg support (default: test for libogg)]),
|
||||||
|
|||||||
@@ -101,6 +101,7 @@
|
|||||||
<li>
|
<li>
|
||||||
build system:
|
build system:
|
||||||
<ul>
|
<ul>
|
||||||
|
<li>New configure option <span class="argument">--disable-cpplibs</span> to prevent building libFLAC++ (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1723295&group_id=13478&atid=313478">SF #1723295</a>).</li>
|
||||||
<li>Fixed bug compiling <span class="commandname">flac</span> without Ogg support (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1760786&group_id=13478&atid=113478">SF #1760786</a>).</li>
|
<li>Fixed bug compiling <span class="commandname">flac</span> without Ogg support (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1760786&group_id=13478&atid=113478">SF #1760786</a>).</li>
|
||||||
<li>Fixed bug where sometimes an existing installation of flac could interfere with the build process (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1763690&group_id=13478&atid=113478">SF #1763690</a>).</li>
|
<li>Fixed bug where sometimes an existing installation of flac could interfere with the build process (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1763690&group_id=13478&atid=113478">SF #1763690</a>).</li>
|
||||||
<li>Some MinGW fixes (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1684879&group_id=13478&atid=113478">SF #1684879</a>).</li>
|
<li>Some MinGW fixes (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1684879&group_id=13478&atid=113478">SF #1684879</a>).</li>
|
||||||
|
|||||||
@@ -15,4 +15,8 @@
|
|||||||
# restrictive of those mentioned above. See the file COPYING.Xiph in this
|
# restrictive of those mentioned above. See the file COPYING.Xiph in this
|
||||||
# distribution.
|
# distribution.
|
||||||
|
|
||||||
SUBDIRS = FLAC FLAC++ share test_libs_common
|
if FLaC__WITH_CPPLIBS
|
||||||
|
CPPLIBS_DIRS = FLAC++
|
||||||
|
endif
|
||||||
|
|
||||||
|
SUBDIRS = FLAC $(CPPLIBS_DIRS) share test_libs_common
|
||||||
|
|||||||
@@ -19,9 +19,12 @@ if FLaC__HAS_XMMS
|
|||||||
XMMS_DIRS = plugin_common plugin_xmms
|
XMMS_DIRS = plugin_common plugin_xmms
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if FLaC__WITH_CPPLIBS
|
||||||
|
CPPLIBS_DIRS = libFLAC++ test_libFLAC++
|
||||||
|
endif
|
||||||
|
|
||||||
SUBDIRS = \
|
SUBDIRS = \
|
||||||
libFLAC \
|
libFLAC \
|
||||||
libFLAC++ \
|
|
||||||
share \
|
share \
|
||||||
flac \
|
flac \
|
||||||
metaflac \
|
metaflac \
|
||||||
@@ -31,9 +34,9 @@ SUBDIRS = \
|
|||||||
test_grabbag \
|
test_grabbag \
|
||||||
test_libs_common \
|
test_libs_common \
|
||||||
test_libFLAC \
|
test_libFLAC \
|
||||||
test_libFLAC++ \
|
|
||||||
test_seeking \
|
test_seeking \
|
||||||
test_streams
|
test_streams \
|
||||||
|
$(CPPLIBS_DIRS)
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
Makefile.lite
|
Makefile.lite
|
||||||
|
|||||||
@@ -15,13 +15,17 @@
|
|||||||
# restrictive of those mentioned above. See the file COPYING.Xiph in this
|
# restrictive of those mentioned above. See the file COPYING.Xiph in this
|
||||||
# distribution.
|
# distribution.
|
||||||
|
|
||||||
|
if FLaC__WITH_CPPLIBS
|
||||||
|
CPPLIBS_TESTS = test_libFLAC++.sh
|
||||||
|
endif
|
||||||
|
|
||||||
TESTS_ENVIRONMENT = FLAC__TEST_LEVEL=@FLAC__TEST_LEVEL@ FLAC__TEST_WITH_VALRGIND=@FLAC__TEST_WITH_VALGRIND@
|
TESTS_ENVIRONMENT = FLAC__TEST_LEVEL=@FLAC__TEST_LEVEL@ FLAC__TEST_WITH_VALRGIND=@FLAC__TEST_WITH_VALGRIND@
|
||||||
|
|
||||||
SUBDIRS = cuesheets flac-to-flac-metadata-test-files metaflac-test-files pictures
|
SUBDIRS = cuesheets flac-to-flac-metadata-test-files metaflac-test-files pictures
|
||||||
|
|
||||||
TESTS = \
|
TESTS = \
|
||||||
./test_libFLAC.sh \
|
./test_libFLAC.sh \
|
||||||
./test_libFLAC++.sh \
|
$(CPPLIBS_TESTS) \
|
||||||
./test_grabbag.sh \
|
./test_grabbag.sh \
|
||||||
./test_flac.sh \
|
./test_flac.sh \
|
||||||
./test_metaflac.sh \
|
./test_metaflac.sh \
|
||||||
@@ -35,7 +39,7 @@ EXTRA_DIST = \
|
|||||||
metaflac.flac.ok \
|
metaflac.flac.ok \
|
||||||
picture.ok \
|
picture.ok \
|
||||||
test_libFLAC.sh \
|
test_libFLAC.sh \
|
||||||
test_libFLAC++.sh \
|
$(CPPLIBS_TESTS) \
|
||||||
test_flac.sh \
|
test_flac.sh \
|
||||||
test_metaflac.sh \
|
test_metaflac.sh \
|
||||||
test_grabbag.sh \
|
test_grabbag.sh \
|
||||||
|
|||||||
Reference in New Issue
Block a user