Commit Graph

28 Commits

Author SHA1 Message Date
Erik de Castro Lopo
d2cb0d1eb2 configure.ac: Clean up CFLAGS code
Also moves _FORTIFY_SOURCE detection to an M4 macro.

Patchfrom: David Seifert <soap@gentoo.org>
2017-02-06 19:54:15 +11:00
David Seifert
b3ece71334 Do not override CFLAGS, as CFLAGS is a user flag.
* 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>
2017-01-19 20:47:26 +11:00
Erik de Castro Lopo
6b00dc26b2 Another bulk update of copyright dates 2016-12-05 19:07:13 +11:00
Erik de Castro Lopo
6a5fe43b7e Bulk update copyright dates 2016-12-05 06:35:39 +11:00
Erik de Castro Lopo
39d9791b03 More date fixes. 2014-11-25 20:02:22 +11:00
Erik de Castro Lopo
1437391577 Update copyright years to include 2014. 2014-11-25 13:04:30 +11:00
Ralph Giles
69c2318b7b Fix indenting on the bswap32 autoconf macro.
We generally prefer spaces to tabs.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2014-11-04 21:18:48 -08:00
Ralph Giles
87408b3661 Clean up bswap32 autoconf macro.
Improve 'checking' message and don't hog the cache namespace.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2014-11-04 21:18:48 -08:00
Ralph Giles
1f30b3e711 Add autoconf macro to check for the bswap16 intrinsic.
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2014-11-04 21:18:48 -08:00
Erik de Castro Lopo
a6a4b6f205 Detect Clang masquerading as GCC.
Autoconf detects the Clang compiler as GNU GCC (clang sets defines like
__GNUC__ etc) but Clang is *not* completely compatible. If we detect
Clang we set ac_vc_c_compiler_gnu to 'no'.
2013-11-22 18:13:40 +11:00
Ulrich Klauer
cd4ddabe0f Language fix: "difference licenses"
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-05-27 18:08:57 +10:00
Xiyue Deng
b09ee0177c Fix bootstrap on Mac OS X
* Mac OS X has incomplete installations of gettext/iconv. So stop
  checking for gettext command on Darwin, and install some additional m4
  scripts so it can be bootstrapped on Mac OS X.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-05-27 06:20:08 +10:00
Erik de Castro Lopo
b1982fbc5f Set version to 1.3.0 and update coyprights throughout. 2013-05-26 19:17:53 +10:00
Erik de Castro Lopo
805ffdb6eb m4/ogg.m4 : Grab latest version from libogg-1.3.0. 2013-04-06 20:18:03 +11:00
Erik de Castro Lopo
195470fe2e Add configure option to enable GNU GCC stack smash protection.
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.

It is known to work for native compiles in Debian testing and
OpenBSD 5.2.
2013-03-13 18:59:50 +11:00
Erik de Castro Lopo
11efaa37f7 gcc_version.m4 : Use cut instead of sed.
Add this and other macros to Makefile.am.
2013-03-10 12:38:38 +11:00
Erik de Castro Lopo
b555ec1a6c m4/gcc_version.m4 : Fix XIPH_GCC_VERSION macro.
Macro was misbehaving with OpenBSD's sed.
2013-03-09 20:07:38 +11:00
Erik de Castro Lopo
05609d5b4b configure.ac : Add hardening compile options.
Extra compile options are detected at configure time with new
XIPH_ADD_*FLAGS m4 macros.

Options enabled include -Wextra, -D_FORTIFY_SOURCE=2 and stack
protection.
2013-03-06 07:39:24 +11:00
Max Horn
f20164e41e configure: replace XIPH_C_FIND_ENDIAN by AC_C_BIGENDIAN
Signed-off-by: Max Horn <max@quendi.de>
2012-12-13 08:11:32 +11:00
Erik de Castro Lopo
caef93ec8b configure.ac : Report useful info at the end of configure. 2012-02-26 22:41:44 +11:00
Erik de Castro Lopo
d7bfc779c8 Add XIPH_BSWAP32 configure macro to detect __builtin_bswap32() intrinsic. 2012-02-06 07:15:48 +11:00
Erik de Castro Lopo
3abb6c98e9 Add m4/endian.m4 and use it in configure.ac. 2012-02-05 18:58:11 +11:00
Josh Coalson
dea0f5a044 add 2009 copyright 2009-01-07 07:31:28 +00:00
Josh Coalson
82b128050e update copyright for 2008 2008-02-28 05:34:21 +00:00
Josh Coalson
e74bd9516c add 2007 copyright 2007-02-02 06:58:19 +00:00
Josh Coalson
a094242735 *** empty log message *** 2006-11-26 19:21:26 +00:00
Josh Coalson
0f1ea85461 *** empty log message *** 2006-11-17 07:45:39 +00:00
Josh Coalson
33f4ce575a add xmms.m4 to new m4/ directory as backup 2005-09-02 05:07:35 +00:00