summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Check if compiler supports target attribute on ppc64Amitay Isaacs2018-08-201-0/+20
| | | | | | | Check if the compiler supports __attribute__((target("cpu=power8"))) and __attribute__((target("cpu=power9"))) Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
* configure.ac: Fix FLAC__CPU_PPC on little endian, and add FLAC__CPU_PPC64Anton Blanchard2018-08-201-1/+11
| | | | | | | FLAC__CPU_PPC wasn't catching powerpcle or powerpc64le. Fix that and add a new define for FLAC__CPU_PPC64. Signed-off-by: Anton Blanchard <anton@ozlabs.org>
* configure.ac: Add VSX enable/disableAnton Blanchard2018-08-201-0/+13
| | | | | | | We want to create functions with PowerPC VSX instructions, so add a configure check. Signed-off-by: Anton Blanchard <anton@ozlabs.org>
* configure.ac: Remove SPE detection codeAnton Blanchard2018-08-201-8/+0
| | | | | | | We don't have any SPE code, so there's no need to detect it at configure time. Signed-off-by: Anton Blanchard <anton@ozlabs.org>
* Fix miscellaneous typos.luz.paz2018-05-241-1/+1
| | | | Found via `codespell -q 3`
* Fix compile with cygwinRosen Penev2017-02-091-1/+1
| | | | | | | | | The underscores are wrong. The comment is also correct. Also remove the configure.ac option. Otherwise it tries to compile the windows unicode stuff which POSIX(cygwin) does not understand. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* configure.ac: Clean up CFLAGS codeErik de Castro Lopo2017-02-061-21/+2
| | | | | | Also moves _FORTIFY_SOURCE detection to an M4 macro. Patchfrom: David Seifert <soap@gentoo.org>
* Do not override CFLAGS, as CFLAGS is a user flag.David Seifert2017-01-191-16/+36
| | | | | | | | | * Furthermore, use NDEBUG globally to detect the presence of building with more debug output information. AX_CHECK_ENABLE_DEBUG is easier to use, and nowadays Gnome has also switched to it from its own custom solution. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Make building/installing examples optionalDavid Seifert2017-01-151-0/+5
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Support nasm coff obj format for djgppsezero2017-01-141-0/+1
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* configure.ac: relax linux OS detectionPeter Korsgaard2017-01-131-1/+1
| | | | | | | | | | | | | | Not all linux hosts match the *-pc-linux-gnu wildcard, causing build failures for older glibc versions where we need to link with -lrt for clock_gettime - E.G.: - arm-unknown-linux-musleabihf - powerpc-unknown-linux-gnuspe - bfin-linux-linux-uclibc .. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Version 1.3.21.3.2Erik de Castro Lopo2017-01-011-1/+1
|
* configure.ac: Fix description of --disable-sseErik de Castro Lopo2016-12-051-1/+1
|
* configure.ac: Remove unused config flagsErik de Castro Lopo2016-12-051-5/+0
| | | | | | FLAC__NO_SSE_OS and FLAC__SSE_OS. Patch-from: "lvqcl.mail" <lvqcl.mail@gmail.com>
* Fix use of FLAC__HAS_X86INTRIN configure variableErik de Castro Lopo2016-06-201-0/+2
|
* Fix use of FLAC__SSE_OS configure variableErik de Castro Lopo2016-06-201-4/+4
|
* configure.ac: Force FLAC__HAS_OGG to 0 or 1Erik de Castro Lopo2016-03-201-2/+4
|
* Fix autotool warningsErik de Castro Lopo2016-02-101-0/+1
|
* microbench: Add fallback to gettimeofday()Dave Yeo2016-02-091-0/+5
| | | | | | | | Some operating systems such as OS/2 don't have any of the CLOCK* API functions so add gettimeofday() as a fallback. Signed-off-by: Dave Yeo <dave.r.yeo@gmail.com> Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Make AVX and AVX2 instructions a configure optionDave Yeo2016-02-081-0/+13
| | | | | | | | Handy for toolchains or operating systems that don't support AVX or AVX2 like OS/2. Signed-off-by: Dave Yeo <dave.r.yeo@gmail.com> Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Fix ioctl/TIOCGWINSZ for OSXErik de Castro Lopo2016-01-261-3/+1
|
* configure.ac: Drop -Wunreachable-code from CFLAGSErik de Castro Lopo2016-01-261-2/+2
| | | | | | | | According to: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46158 this warning was removed in GCC 4.5.
* configure.ac: Remove redundant `XIPH_ADD_CFLAGS([-Wextra])`Erik de Castro Lopo2016-01-251-2/+0
|
* Fix linking of microbenchmark programErik de Castro Lopo2016-01-241-0/+5
| | | | | | | On some setups, benchmark_residual linkage fails with an undefined reference to clock_gettime(). Adding -lrt fixes that. Patch-from: Ozkan Sezer <sezeroz@gmail.com>
* configure.ac: Add --enable-64-bit-words optionErik de Castro Lopo2016-01-041-0/+9
| | | | | The old 32 bit words the default which can be overridded with this configure option.
* Add first micro-benchmarkErik de Castro Lopo2015-09-011-0/+1
|
* configure.ac : Pass -fno-inline-small-functions when using GCC 4.7Mario Sanchez Prada2015-07-081-0/+4
| | | | | | | | | | | | | | | For some reason, the build fails when using GCC 4.7 due to the implicit -finline-functions option passed to the compiler when -O3 is enabled, which does not happen in newer versions of GCC, probably due to some of the "General Optimizer Improvements" included in 4.8 (see [1]). Fortunately, we don't need to disable -finline-functions completely but just do it for "small functions", which is what this patch does. [1] https://gcc.gnu.org/gcc-4.8/changes.html Closes: https://sourceforge.net/p/flac/bugs/429/ Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* configure: Only use -mstackrealign on i686 for mingw32/os2Tristan Matthews2015-04-191-1/+7
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* configure.ac : Add -mstackrealign whenever we add -msse2.Erik de Castro Lopo2015-03-311-0/+1
| | | | | There have been some (pretty much unconfirmed) reports of problems with SSE enabled but without this stack alignment flag.
* configure.ac : Tweak for x32 architecture.Erik de Castro Lopo2015-03-121-13/+24
| | | | | | | | | The x32 architecture uses and ILP32 (32 bit ints, longs and pointers) on an x86_64 CPU. Since the CPU is x86_64 we need to set FLAC__CPU_X86_64 even though the pointer size is 32 bits. Patch-from: Stuart Shelton Closes: https://sourceforge.net/p/flac/bugs/427/
* configure.ac : Fix FLAC__HAS_X86INTRIN / FLaC__SSE_OS.Erik de Castro Lopo2015-02-251-2/+4
| | | | | | | * Correct definition of FLAC__HAS_X86INTRIN in config.h file. * Correct comparison of sse_os with 'true' instead of 'yes'. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* configure.ac : Detect 'amd64' as being same as 'x86_64'.Christian Weisgerber2015-02-191-1/+1
| | | | | | On BSD systems, the 64-bit x86 architecture is called "amd64". Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* configure.ac : Relax automake version requirements.Erik de Castro Lopo2014-12-011-1/+1
| | | | Suggested-by: Jan Stary <hans@stare.cz>
* configure.ac : Don't zap '-g' from $CFLAGS.Erik de Castro Lopo2014-11-301-2/+1
| | | | | | | | | The '-g' was in-correctly getting zapped from all CFLAGS expressions including eg: -mfloat-gprs=double (for powerpc e500) -> -mfloatprs=double. Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
* Version 1.3.1 final.1.3.1Erik de Castro Lopo2014-11-271-1/+1
|
* Set version to 1.3.1pre1.1.3.1pre1Erik de Castro Lopo2014-11-251-1/+1
|
* Use a configure check for bswap16 instead of gcc version #ifdefs.Ralph Giles2014-11-041-0/+1
| | | | | | Fixes a build problem on apple clang. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Remove support for AMD's 3Dnow.Erik de Castro Lopo2014-10-041-13/+0
| | | | | | AMD stopped release new chips withe 3DNow in 2010. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Remove old/broken PPC/Altivec code.Erik de Castro Lopo2014-09-171-27/+0
| | | | | | | | | | | | | * Removes FLAC__lpc_restore_signal_asm_ppc_altivec_16* from lpc.h and stream_decoder.c * Removes PPC-specific code from cpu.c and cpu.h * Removes PPC stuff from libFLAC/Makefile.lite and build/*.mk * Removes as/gas/PPC-specific stuff from configure.ac and libFLAC/Makefile.am* * Removes libFLAC/ppc folder and remove "src/libFLAC/ppc*/Makefile" lines from configure.ac Patch-from: lvqcl <lvqcl.mail@gmail.com>
* configure.ac : Fix --disable-sse option.Erik de Castro Lopo2014-07-271-1/+1
| | | | Based on a patch from lvqcl <lvqcl.mail@gmail.com>.
* configure.ac : Erase default -O2 when setting -O3.Erik de Castro Lopo2014-07-271-2/+4
| | | | | | | | | | | Previously CFLAGS had a -O3 at the start and a -O2 at the end. According to the GCC docs: https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gcc/Optimize-Options.html "If you use multiple -O options, with or without level numbers, the last such option is the one that is effective" which means that GCC doesn't try to use SIMD to vectorize the code, etc."
* configure.ac : Set default CFLAGS to something sensible.Erik de Castro Lopo2014-07-261-5/+1
| | | | Preserve the CFLAGS value from the time the configure script is run.
* Revert "Replace FLAC__CPU_X86_64 with FLaC__CPU_X86_64."Erik de Castro Lopo2014-06-151-3/+3
| | | | | | | This reverts commit 151739921b74fbf31420358a5fbeb094efa017ed. This patch only when part way to replace all FLAC_* with FLaC_* and its really not worth going all the way.
* Replace FLAC__CPU_X86_64 with FLaC__CPU_X86_64.Erik de Castro Lopo2014-06-011-3/+3
| | | | | | | Previous autorconf versions had problems with variable begining witj 'FLAC_' (autoconf uses 'AC_'). Reported-by: lvqcl <lvqcl.mail@gmail.com>
* configure.ac : Add -fvisibility=hidden to OSX build.Erik de Castro Lopo2014-05-251-1/+6
| | | | Patch-from : Ozkan Sezer <sezeroz@gmail.com>
* Purge src/monkeys_audio_utilities/ tree.Erik de Castro Lopo2014-05-141-3/+0
| | | | Monkey's Audio Utilities seem to have been dead for some time.
* configure.ac : Allow -Werror to be enabled when using clang.Erik de Castro Lopo2014-04-091-7/+10
|
* configure.ac : Add -Wunreachable-code to GCC CFLAGS.Erik de Castro Lopo2014-03-211-2/+2
|
* configure.ac : Add AC_PROG_MKDIR_P.Erik de Castro Lopo2014-03-211-0/+1
| | | | Closes: https://sourceforge.net/p/flac/bugs/404/
* Fix build issue on OSX with GCC 4.2/Xcode.Erik de Castro Lopo2014-03-211-1/+1
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>