• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:disable +full:- +full:examples

1 #  FLAC - Free Lossless Audio Codec
2 # Copyright (C) 2001-2009 Josh Coalson
3 # Copyright (C) 2011-2023 Xiph.Org Foundation
7 # are distributed under Xiph.Org's BSD-like license (see the file
23 AC_INIT([flac],[1.4.3],[flac-dev@xiph.org],[flac],[https://www.xiph.org/flac/])
27 AM_INIT_AUTOMAKE([foreign 1.10 -Wall tar-pax no-dist-gzip dist-xz subdir-objects])
37 LT_INIT([win32-dll disable-static pic-only])
58 if test "x$ac_cv_header_stdint_h" != xyes -o "x$ac_cv_header_stdbool_h" != xyes; then
70 AC_MSG_WARN([[*** Not able to determine endian-ness of target processor. ]])
82 AC_ARG_ENABLE(asm-optimizations, AS_HELP_STRING([--disable-asm-optimizations],[Do not use any CPU s…
86 AH_TEMPLATE(FLAC__NO_ASM, [define to disable use of assembly code])
139 if test "x$ac_cv_header_x86intrin_h" = xyes -a "x$asm_opt" = xyes; then
146 if test "x$ac_cv_header_arm_neon_h" = xyes -a "x$asm_opt" = xyes; then
166 i386-*-openbsd3.[[0-3]]) OBJ_FORMAT=aoutb ;;
167 *-*-cygwin|*mingw*) OBJ_FORMAT=win32 ;;
168 *-*-darwin*) OBJ_FORMAT=macho ;;
187 *-linux-*)
192 *-*-darwin*)
203 AH_TEMPLATE(FLAC__ALIGN_MALLOC_DATA, [define to align allocated memory on 32-byte boundaries])
209 AS_HELP_STRING([--disable-avx],[Disable AVX, AVX2 optimizations. There is runtime detection of CPU …
213 *) AC_MSG_ERROR(bad value ${enableval} for --enable-avx) ;;
221 AC_ARG_ENABLE(thorough-tests,
222 AS_HELP_STRING([--disable-thorough-tests],[Disable thorough (long) testing, do only basic tests]),
226 *) AC_MSG_ERROR(bad value ${enableval} for --enable-thorough-tests) ;;
228 AC_ARG_ENABLE(exhaustive-tests,
229 AS_HELP_STRING([--enable-exhaustive-tests],[Enable exhaustive testing (VERY long)]),
233 *) AC_MSG_ERROR(bad value ${enableval} for --enable-exhaustive-tests) ;;
245 AS_HELP_STRING([--enable-werror],[Enable -Werror in all Makefiles]))
247 AC_ARG_ENABLE([stack-smash-protection],
248 [AS_HELP_STRING([--disable-stack-smash-protection],[Disable GNU GCC stack smash protection])],,
252 AC_ARG_ENABLE([fortify-source],
253 …[AS_HELP_STRING([--disable-fortify-source],[Disable _FORTIFY_SOURCE buffer overflow protection])],,
269 AC_ARG_ENABLE(64-bit-words,
270 AS_HELP_STRING([--disable-64-bit-words],[Set FLAC__BYTES_PER_WORD to 4 (8 is the default)]))
278 AC_ARG_ENABLE(valgrind-testing,
279 AS_HELP_STRING([--enable-valgrind-testing],[Run all tests inside Valgrind]),
283 *) AC_MSG_ERROR(bad value ${enableval} for --enable-valgrind-testing) ;;
287 AC_ARG_ENABLE(doxygen-docs,
288 AS_HELP_STRING([--disable-doxygen-docs],[Disable API documentation building via Doxygen]),
292 *) AC_MSG_ERROR(bad value ${enableval} for --enable-doxygen-docs) ;;
297 AM_CONDITIONAL(FLaC__HAS_DOXYGEN, test -n "$DOXYGEN")
299 if test ! -n "$DOXYGEN" && test -f "$srcdir/doc/FLAC.tag" && test -f "$srcdir/doc/api/modules.html"…
306 AS_HELP_STRING([--disable-cpplibs],[Do not build libFLAC++]),
310 *) AC_MSG_ERROR(bad value ${enableval} for --enable-cpplibs) ;;
314 AC_ARG_ENABLE([oss-fuzzers],
315 [AS_HELP_STRING([--enable-oss-fuzzers],
316 [Whether to generate the fuzzers for OSS-Fuzz (Clang only)])],
324 LIB_FUZZING_ENGINE=-fsanitize=fuzzer
328 # Disable fuzzer if the compiler is not Clang.
329 AC_MSG_WARN([*** Ozz-Fuzz is disabled because that requires the Clang compiler.])
340 AS_HELP_STRING([--disable-ogg],[Disable ogg support (default: test for libogg)]),
344 …XIPH_PATH_OGG(have_ogg=yes, AC_MSG_WARN([*** Ogg development environment not installed - Ogg suppo…
361 AS_HELP_STRING([--disable-programs], [Do not build and install flac and metaflac]))
364 dnl Build examples?
365 AC_ARG_ENABLE([examples], optenable
366 AS_HELP_STRING([--disable-examples], [Do not build and install examples]))
367 AM_CONDITIONAL([EXAMPLES], [test "x$enable_examples" != "xno"]) condition
370 AC_ARG_ENABLE([version-from-git],
371 …AS_HELP_STRING([--disable-version-from-git], [Do not use git tag, commit hash and commit date for …
380 AM_CONDITIONAL(FLaC__HAS_PANDOC, test -n "$PANDOC")
381 if test -n "$PANDOC" ; then
385 if test -f "$srcdir/man/flac.1" && test -f "$srcdir/man/metaflac.1" ; then
392 LIB_CLOCK_GETTIME=-lrt
397 XIPH_GCC_VERSION dnl Sets a non-zero GCC_XXX_VERSION for gcc, not clang. checks below rely on that..
399 if test x$ac_cv_c_compiler_gnu = xyes -o x$xiph_cv_c_compiler_clang = xyes ; then
402 CFLAGS="-O3 -funroll-loops $CFLAGS"
403 CXXFLAGS="-O3 $CXXFLAGS"
406-Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-ex…
407-Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreord…
409 XIPH_ADD_CFLAGS([-Wdeclaration-after-statement])
421 XIPH_ADD_CXXFLAGS([-Weffc++])
424 if test x$xiph_cv_c_compiler_clang = xyes -a "$OBJ_FORMAT" = elf; then
425 CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR"
426 CFLAGS="$CFLAGS -fvisibility=hidden"
427 CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
428 elif test "$GCC_MAJOR_VERSION" -ge 4 && test "$OBJ_FORMAT" = elf; then
429 CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR"
430 CFLAGS="$CFLAGS -fvisibility=hidden"
431 CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
435 if test x$xiph_cv_c_compiler_clang = xyes -a "$OBJ_FORMAT" = macho; then
436 CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR"
437 CFLAGS="$CFLAGS -fvisibility=hidden"
438 CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
439 elif test "$GCC_MAJOR_VERSION" -ge 4 && test "$OBJ_FORMAT" = macho; then
440 CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR"
441 CFLAGS="$CFLAGS -fvisibility=hidden"
442 CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
446 XIPH_ADD_CFLAGS([-fgnu89-inline])
450 XIPH_ADD_CFLAGS([-fno-inline-small-functions])
458 XIPH_ADD_CFLAGS([-mstackrealign])
463 XIPH_ADD_CFLAGS([-Werror])
465 XIPH_ADD_CXXFLAGS([-Werror])
489 CPPFLAGS="-DFLAC__NO_DLL $CPPFLAGS"
495 GIT_COMMIT_TAG=`git -C $srcdir --git-dir=.git describe --tags --exact-match 2>/dev/null`
496 GIT_COMMIT_HASH=`git -C $srcdir --git-dir=.git log -1 --pretty=format:%h 2>/dev/null`
497 …GIT_COMMIT_DATE=`git -C $srcdir --git-dir=.git log -1 --pretty=format:%cd --date=format:%Y%m%d 2>/…
513 AX_CHECK_COMPILE_FLAG([-fassociative-math -fno-signed-zeros -fno-trapping-math -freciprocal-math],H…
541 examples/Makefile \
542 examples/c/Makefile \
543 examples/c/decode/Makefile \
544 examples/c/decode/file/Makefile \
545 examples/c/encode/Makefile \
546 examples/c/encode/file/Makefile \
547 examples/cpp/Makefile \
548 examples/cpp/decode/Makefile \
549 examples/cpp/decode/file/Makefile \
550 examples/cpp/encode/Makefile \
551 examples/cpp/encode/file/Makefile \
566 test/foreign-metadata-test-files/Makefile \
567 test/flac-to-flac-metadata-test-files/Makefile \
568 test/metaflac-test-files/Makefile \
571 oss-fuzz/Makefile
576 -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
590 echo " Version string : reference libFLAC git-${GIT_COMMIT_HASH} ${GIT_COMMIT_DATE}"