Commit Graph

330 Commits

Author SHA1 Message Date
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
Erik de Castro Lopo
42dd9b90ac configure.ac : Version 1.0.26pre3. 2012-10-13 12:48:38 +11:00
Erik de Castro Lopo
65a5067d7a Patch from Ricci Adams to use OSX's AudioQueues on OSX 10.7 and greater. 2012-08-04 18:00:51 +10:00
Erik de Castro Lopo
32b5bfdf15 configure.ac : Detect the presence of lround. 2012-06-08 18:16:35 +10:00
Erik de Castro Lopo
eab47d649e configure.ac : Fix if test for empty $prefix. 2012-03-20 18:29:08 +11:00
Erik de Castro Lopo
11d0791d1d configure.ac : Only use automake AM_SLIENT_RULES where supported. 2012-03-10 18:22:51 +11:00
Erik de Castro Lopo
d99740b6f8 For GCC, use inline assembler for endian swapping. 2012-03-09 20:53:29 +11:00
Erik de Castro Lopo
4bee0d2b62 configure.ac : Detect presence of <x86intrin.h> header file. 2012-03-05 19:34:14 +11:00
Erik de Castro Lopo
fb5e4f7570 configure.ac : Version 1.0.26pre2. 2012-03-04 10:42:23 +11:00
Erik de Castro Lopo
e0671a836c configure.ac : Fix typo, FLAC_CLFAGS -> FLAC_CFLAGS. 2012-01-26 16:21:52 +11:00
Erik de Castro Lopo
d464da7dba configure.ac : Use AC_SYS_LARGEFILE instead of AC_SYS_EXTRA_LARGEFILE. 2011-08-23 20:20:20 +10:00
Erik de Castro Lopo
5983e8ca46 Move ACLOCAL_AMFLAGS setup to Makefile.am. 2011-08-07 19:54:24 +10:00
Erik de Castro Lopo
164a20e75b configure.ac : 1.0.26pre1. 2011-07-15 19:05:30 +10:00
Erik de Castro Lopo
2c4d2bdce6 Updates for 1.0.25. 2011-07-13 21:21:13 +10:00
Erik de Castro Lopo
c4e96841c9 configure.ac : Link libspeex if ENABLE_EXPERIMENTAL_CODE == 1. 2011-07-04 22:01:56 +10:00
Erik de Castro Lopo
1b4b05ae6a configure.ac : Add -Wundef to CFLAGS. 2011-06-13 22:15:06 +10:00