Erik de Castro Lopo
95828ca2e9
Rename EXTERNAL_*
to EXTERNAL_XIPH_*`
...
New naming makes sense because adding Wavpack support would not
depend on any of the existing Xiph.Org libraries.
2016-03-14 08:17:45 +11:00
Erik de Castro Lopo
01a2712a98
configure.ac: Clean up CFLAGS/CXXFLAGS
2016-01-27 21:34:39 +11:00
Erik de Castro Lopo
cc77ff33bd
configure.ac: Remove duplicate line
2015-12-06 15:24:46 +11:00
Erik de Castro Lopo
bb6cd875af
Remove all mentions of Carbon for OSX
...
Suport for Carbon was remove in 2012, but crept back in the same
year in an un-related commit.
Patch-from: Jan Stary <hans@stare.cz>
2015-11-27 06:16:38 +11:00
Erik de Castro Lopo
2f9c2945b4
configure.ac: 1.0.27pre1
2015-11-22 21:34:49 +11:00
Erik de Castro Lopo
f67f0992ea
Version 1.0.26
2015-11-22 20:54:04 +11:00
Erik de Castro Lopo
f98d9588ba
configure.ac: Improve <sndio.h> detection
...
Only test for it on OpenBSD.
2015-10-29 13:17:50 +11:00
Erik de Castro Lopo
ec63d5765f
configure.ac: Remove -fsanitize options
...
Previously, the address, integer and undefined sanitizers were all
enabled at once which doesn't always work.
Instead, compiling libsndfile with the sanitizer should be done with
for example:
CFLAGS=-fsanitize=address CXXFLAGS=-fsanitize=address ./configure
2015-08-07 21:08:37 +10:00
Erik de Castro Lopo
d9bae19203
Version 1.0.26pre6
2015-04-28 15:30:50 +10:00
Erik de Castro Lopo
4c7e1bd99c
configure.ac : Add detection of -fsanitizer=undefined.
...
Both Clang and GCC-4.9 now support the undefined behaviour sanitizer
so detect and enable it when configuring with --enable-sanitizer.
Also improve configure reporting of sanitizer and stack smash
protection.
2014-12-16 13:18:42 +11:00
Erik de Castro Lopo
9f1fbafb56
configure.ac : Require flac >= 1.3.1.
...
Earlier versions of FLAC had a couple of CVEs.
Also AC_SUBST the HAVE_EXTERNAL_LIBS variable.
2014-12-07 08:21:22 +11:00
Erik de Castro Lopo
ea963dfd31
configure.ac : Use '-static-libgcc' with mingw-w64-* compilers.
...
Without this, libsndfile-1.dll depends on libgcc_s_sjlj-1.dll which
is a pain in the neck. Tried a number of things to fix this, but in
the end it was a suggestion from Jean-Baptiste Kempf on the
mingw-w64-public mailing list that solved it.
Suggested-by: Jean-Baptiste Kempf <jb@videolan.org>
2014-11-27 18:37:50 +11:00
Erik de Castro Lopo
6c67259489
Revert "configure : Disable versioned dynamic library when compling for Android."
...
This reverts commit 432479b3f5
.
This approach didn't work.
2014-11-26 06:22:02 +11:00
Erik de Castro Lopo
432479b3f5
configure : Disable versioned dynamic library when compling for Android.
...
Closes: https://github.com/erikd/libsndfile/issues/51
2014-11-13 06:08:05 -08:00
Timothy Gu
9c2575f7de
configure.ac: Fix detection of MinGW
...
This is more consistent with other checks in the file and fixes #75 .
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2014-09-02 06:16:16 +10:00
Erik de Castro Lopo
548cd98a0d
configure.ac : Fix chmod of Scripts/build-test-tarball.mk.
2014-08-03 19:54:11 +10:00
Erik de Castro Lopo
c161588249
Fix detection and usage OpenBSD's <sndio.h>.
2014-07-30 14:36:47 +10:00
Erik de Castro Lopo
c66bb23bfb
configure.ac : Detect OpenBSD as a separate OS.
2014-07-04 20:35:31 +10:00
Erik de Castro Lopo
2b598d2e23
configure.ac : Add -funsigned-char to CXXFLAGS.
...
Reported by Michael Tautschnig <mt@debian.org> via the Debian bug
tracker : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750098
2014-06-02 19:39:38 +10:00
Erik de Castro Lopo
6b466560c3
configure.ac : Add --enable-sanitizer option.
...
Currently this includes:
-fsanitize=address
-fsanitize-integer
Even with this option enabled, the flags will only be added if the
compiler supports them.
2014-04-05 13:34:14 +11:00
Erik de Castro Lopo
c1e11ddac0
configure.ac : Symbols file is in $(srcdir).
2014-03-01 20:48:21 +11:00
Erik de Castro Lopo
2f645e491e
configure.ac : Add AC_CONFIG_MACRO_DIR directive.
2014-02-28 09:51:13 +11:00
Vadim Markovtsev
b53a11e75b
Added support for building in a separate directory
...
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-12-20 20:52:50 +11:00
Erik de Castro Lopo
50d1df56f7
configure.ac : Report if C compile is Clang.
2013-11-23 11:43:56 +11:00
Erik de Castro Lopo
700ae0e8f3
configure.ac : Allow -Werror to be switched on for Clang.
...
Commit d7cc3dd0a4
allowed the detection of Clang masquerading as GNU GCC
which was required because Clang is not the same as GCC. However, that
change prevented configuration with --enable-gcc-werror.
This fix changes the configure option to --enable-werror and will allow
it to be enabled for any compiler that accepts the -Werror flag.
2013-11-23 11:38:27 +11:00
Erik de Castro Lopo
d7cc3dd0a4
Detect Clang compiler compiler.
...
Autoconf detects the Clang compiler as GNU GCC (clang sets defines like
__GNUC__ etc) but Clang is *not* completely compatible. We detect Clang
and set ac_vc_c_compiler_gnu to 'no'.
Closes: https://github.com/erikd/libsndfile/issues/49
2013-11-01 15:58:44 +11:00
Erik de Castro Lopo
a463af3946
Scripts/ : Add to EXTRA_DIST.
...
Add: Scripts/android-configure.sh Scripts/linux-to-win-cross-configure.sh
Rename: build-test-tarball.mk.in -> Scripts/build-test-tarball.mk.in
2013-09-08 13:06:37 +10:00
Erik de Castro Lopo
24f8ddf14d
configure.ac : CFLAGS and CXXFLAGS tweaks.
2013-09-08 12:45:46 +10:00
Erik de Castro Lopo
328b8f8a38
Configure improvements for Android.
2013-09-08 12:44:06 +10:00
Erik de Castro Lopo
4ffd22a4a4
Fix issues with 'make test-tarball' with --disable-shared.
...
When shared libs are disabled the binaries end up in a .libs/
dir while when they're enabled there is no .libs/ dir.
2013-09-04 21:02:16 +10:00
Erik de Castro Lopo
8a657c2424
configure.ac : Add HOST_TRIPLET.
2013-08-12 09:37:10 +10:00
Erik de Castro Lopo
7a5f494183
Detect and use fstat64() when sizeof (off_t) == 4.
...
Still have a problem of 32 bit systems where sizeof (off_t) == 4
and fstat64() doesn't exist (eg Android). In this case it will just
fail to work correctly at run time. This is bad.
2013-07-31 22:34:58 +10:00
Erik de Castro Lopo
1212de31c6
configure.ac : Improve detection of 64 bit file offset type.
2013-07-31 18:32:22 +10:00
Erik de Castro Lopo
84ee01e72c
configure.ac : Drop -Wunreachable-code.
...
Warns on things like a break after a return in a switch statement.
Doesn't seem that useful a warning.
2013-07-13 17:53:01 +10:00
Erik de Castro Lopo
ca790066b6
configure.ac : Fix for current versions of autotools.
...
Patch from Cristian Rodriguez.
2013-07-13 17:28:25 +10:00
Erik de Castro Lopo
8393ee3e61
configure.ac : Include a couple more -W flags.
2013-07-12 18:44:21 +10:00
Erik de Castro Lopo
c2e58d077f
configure.ac : Add -Wmissing-declarations to CFLAGS.
2013-06-25 18:00:51 +10:00
Erik de Castro Lopo
90b38b36b8
Disable stack protector by default.
...
This option is disabled by default because it is known not to work
on FreeBSD 9.1 and for Linux -> Windows cross compiling using the
Debian MinGW-w64 tool chain.
Closes: https://github.com/erikd/libsndfile/issues/42
2013-06-22 19:36:32 +10:00
Erik de Castro Lopo
d0c9fae4f9
configure.ac : Sanity check --disable-largefile.
...
If sizeof (off_t) == 8, then disable large file support doesn't work.
2013-04-30 09:41:35 +10:00
Karl Lindén
9b331554ab
Use pkgconfigdir variable as it is not sure it will be libdir/pkgconfig.
...
Let an external script handle printing of installation directories so
that printing can be done in a `cleaner' way without tests.
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-04-28 21:35:08 +10:00
Karl Lindén
958263fbd7
Do not use old variable INCLUDES and use modern AM_INIT_AUTOMAKE invocation.
...
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-04-07 20:05:08 +10:00
Karl Lindén
315c92457b
Honour --htmldir option to configure script.
...
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-04-05 07:32:24 +11:00
Erik de Castro Lopo
4953e9e8bb
configure.ac : Detect and enable stack protection.
2013-04-04 21:14:06 +11:00
Erik de Castro Lopo
f4698f5998
configure.ac : Fix sanitization of FLAC_CFLAGS value.
2013-02-22 17:34:31 +11:00
Erik de Castro Lopo
275a13db6d
configure.ac : Improve sanitization of FLAC_CFLAGS value.
2013-02-22 06:29:40 +11:00
Erik de Castro Lopo
a86e5d89f2
configure.ac : Version 1.0.26pre5.
2013-02-10 14:09:32 +11:00
Erik de Castro Lopo
e092a9f885
Drop tests for and CPP hackery for C99 struct flexible array feature.
2013-02-06 18:48:36 +11:00
Erik de Castro Lopo
66c5d9490c
configure.ac : Use PKG_INSTALLDIR when it exists.
2013-02-05 19:44:05 +11:00
Erik de Castro Lopo
0cebed8572
configure.ac : Version 1.0.26pre4.
2012-12-01 12:38:40 +11:00
Erik de Castro Lopo
c976070ba4
configure.ac : Detect OSX_DARWIN_VERSION.
2012-11-30 22:35:29 +11:00