summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2007-04-13Change the dev version suffix from cvs to hg; fix .cvsversion detection.Darren Salt
2007-04-12Set xv_path before rewriting X_LIBS if we're not using pkg-config to ↵Diego 'Flameeyes' Pettenò
discover X libraries.
2007-04-10Have configure option --enable-debug turn on debug code.Reinhard Nißl
2007-04-07Add a missing test call.Diego 'Flameeyes' Pettenò
2007-04-07Use CC_ATTRIBUTE_FORMAT; replace __attribute((format(printf, ...))) accordingly.Darren Salt
2007-04-04Move the Speex decoder from libspeex to libxineadec, as it's a single file.Diego 'Flameeyes' Pettenò
--HG-- rename : src/libspeex/xine_decoder.c => src/libxineadec/xine_speex_decoder.c
2007-04-04Move the Theora decoder from libtheora to libxinevdec, as it's a single file.Diego 'Flameeyes' Pettenò
--HG-- rename : src/libtheora/xine_decoder.c => src/libxinevdec/xine_theora_decoder.c
2007-04-04Move the Vorbis decoder from libvorbis to libxineadec, as it's a single file.Diego 'Flameeyes' Pettenò
--HG-- rename : src/libvorbis/xine_decoder.c => src/libxineadec/xine_vorbis_decoder.c
2007-04-04Move the linear pcm decoder from liblpcm to libxineadec, as it's a single file.Diego 'Flameeyes' Pettenò
--HG-- rename : src/liblpcm/xine_decoder.c => src/libxineadec/xine_lpcm_decoder.c
2007-04-04Move the flac plugins sources into the combined directory, like wavpack.Diego 'Flameeyes' Pettenò
--HG-- rename : src/libflac/decoder_flac.c => src/combined/decoder_flac.c rename : src/libflac/demux_flac.c => src/combined/demux_flac.c rename : src/libflac/demux_flac.h => src/combined/demux_flac.h
2007-04-04Remove duplicate wavpack line.Diego 'Flameeyes' Pettenò
2007-04-04Check for sys/dvdio.h, and use that if found, rather than having a check for ↵Diego 'Flameeyes' Pettenò
the BSDs. Thanks to Pascal S. de Kloe for pointing at this.
2007-04-04Check for audio_info_t.output_muted member, rather than assuming it's not ↵Diego 'Flameeyes' Pettenò
available on NetBSD only. With this, it's not needed to check for OpenBSD too. Thanks to Pascal S. de Kloe for pointing at it.
2007-04-02Don't rely on AC_PROG_OBJC presence.Diego 'Flameeyes' Pettenò
When the macro is not present (so we're using autoconf 2.59), use a different path, by checking for the proper gcc command as OBJC, and substitute it in Makefiles together with OBJCFLAGS. This completes support for autoconf 2.59 by itself.
2007-04-02Decrease the prerequisites to autoconf 2.59 (even if the code hasn't been ↵Diego 'Flameeyes' Pettenò
made compatible yet).
2007-04-01Define CONFIG_DARWIN when building for Darwin (i.e.: Mac OS X).Diego 'Flameeyes' Pettenò
Patch thanks to Matt Messier. CVS patchset: 8783 CVS date: 2007/04/01 22:05:27
2007-03-29Replace obsolete macros (processing done by autoupdate).Darren Salt
Some tests were rearranged (AC_TRY_LINK moved out of AC_TRY_RUN cross-compilation case, with arrangements to maintain the semantics) to avoid autoupdate errors. Factored out common (duplicate) code in aa.m4. Tested with autoconf 2.61; needs testing with 2.60. CVS patchset: 8767 CVS date: 2007/03/29 18:23:36
2007-03-26Use AS_HELP_STRING instead of the deprecated AC_HELP_STRING.Darren Salt
CVS patchset: 8751 CVS date: 2007/03/26 14:21:10
2007-03-26Send an event when the amp value or amp mute change. Patch by reinhard ↵Diego 'Flameeyes' Pettenò
Nissl. Also bump the libtool version info. CVS patchset: 8749 CVS date: 2007/03/26 11:48:00
2007-03-24Improve tests for visibility attribute support; Mach-O supports default ↵Diego 'Flameeyes' Pettenò
visibility but not protected (as the default is actually kinda like protected), thanks to Matt Messier in bug #1686194 for pointing me at that. CVS patchset: 8744 CVS date: 2007/03/24 02:36:52
2007-03-22Instead of defining HAVE_ASMALIGN_POT during configure and then creating the ↵Diego 'Flameeyes' Pettenò
macro ASMALIGN(ZEROBITS) in ffmpeg's code, define it directly at configure, this way it can be used for the planar postplugin, that will then build with Apple's AS. CVS patchset: 8742 CVS date: 2007/03/22 23:32:05
2007-03-22Move handling of Win32 codecs all in a single point of configure.ac rather ↵Diego 'Flameeyes' Pettenò
than split in two. Check for GNU as (macro adapted from libtool's check for GNU ld), as for instance Apple's assembler is not going to compile the Win32 wrappers. When GNU as is not found and user hasn't requested win32 codecs support explicitely, skip over it; if user requested win32 codecs and GNU as is not found, bail out. CVS patchset: 8740 CVS date: 2007/03/22 22:31:48
2007-03-22Fix crosscompile to use build and host definition from autoconf, rather than ↵Diego 'Flameeyes' Pettenò
using hacksaround. Also replace the whole pthread check with an improved macro originally written for XCB, this way it's not going to try linking the fake -lpthread on Darwin, and it also does not force a -I/usr/local/include on FreeBSD. The new macro respects the same variables set by ports, so that it's even more transparent to FreeBSD users. CVS patchset: 8739 CVS date: 2007/03/22 20:44:58
2007-03-22Try to reorganize the first tests so that the conditional macros are tested ↵Diego 'Flameeyes' Pettenò
together, and that the programs are checked. This way all the compilers and flags variables are grouped together on the --help output. CVS patchset: 8738 CVS date: 2007/03/22 18:21:16
2007-03-22As the code as it is requires autoconf 2.60, at least state it so. If we ↵Diego 'Flameeyes' Pettenò
decide to push back to support 2.59 again, then the AC_PREREQ should be changed too. Leaving 2.53 is out of question for sure. CVS patchset: 8736 CVS date: 2007/03/22 14:32:56
2007-03-20Missing 'test'.Darren Salt
CVS patchset: 8735 CVS date: 2007/03/20 14:10:49
2007-03-20Oops, I copied it wrong from his paste, this should do it.Diego 'Flameeyes' Pettenò
CVS patchset: 8732 CVS date: 2007/03/20 01:25:03
2007-03-20On Darwin we also have to enable explicitly the text relocations. Thanks to ↵Diego 'Flameeyes' Pettenò
Emanuele Giaquinta for pointing me at the right LDFLAG. CVS patchset: 8731 CVS date: 2007/03/20 01:18:51
2007-03-20USE AC_PROG_OBJC to find the objective C compiler, rather than messing by hand.Diego 'Flameeyes' Pettenò
CVS patchset: 8730 CVS date: 2007/03/20 01:13:30
2007-03-20The AC_C_ATTRIBUTE_ALIGNED macro is broken, it always reports maximum ↵Diego 'Flameeyes' Pettenò
aligned available as 64 even on Darwin where the maximum is 16, as it does not use -Werror, and the wrong alignment is considered only a warning. Rewrite it as CC_ATTRIBUTE_ALIGNED (in attributes.m4, where other similar macros are located). Also reverse the order of the checks, so that the highest version is tried first; this way you can avoid five compile tests on systems where 64 is the highest alignment available. CVS patchset: 8726 CVS date: 2007/03/20 00:30:55
2007-03-20Fix typo.Diego 'Flameeyes' Pettenò
CVS patchset: 8725 CVS date: 2007/03/20 00:01:19
2007-03-19Define EXPORTED as a dummy value even when visibility attribute is not found.Diego 'Flameeyes' Pettenò
CVS patchset: 8724 CVS date: 2007/03/19 23:55:00
2007-03-19Use CC_CHECK_CFLAGS rather than AC_TRY_CFLAGS for checking the warnings to ↵Diego 'Flameeyes' Pettenò
enabled, as this one caches its tests, so a run using cached values will be faster. CVS patchset: 8721 CVS date: 2007/03/19 23:41:05
2007-03-19Instead of unconditionally defining _GNU_SOURCE in three different places, ↵Diego 'Flameeyes' Pettenò
let AC_GNU_SOURCE decide what it's best to do. CVS patchset: 8720 CVS date: 2007/03/19 23:30:17
2007-03-19Check first for the non-alternate form of functions having alternative ↵Diego 'Flameeyes' Pettenò
names, and break at the first one found; avoids four link tests on Linux, FreeBSD and Darwin. CVS patchset: 8719 CVS date: 2007/03/19 23:21:36
2007-03-19Check for visibility flag only if the visibility attribute has been found, ↵Diego 'Flameeyes' Pettenò
as we don't care otherwise. CVS patchset: 8718 CVS date: 2007/03/19 23:16:19
2007-03-19Make more generic the support for skipping the missing X11 output plugins ↵Diego 'Flameeyes' Pettenò
warning: Darwin dows not need them either. CVS patchset: 8717 CVS date: 2007/03/19 23:10:15
2007-03-19We can't use Real codecs support on Darwin systems (OS X), as the format ↵Diego 'Flameeyes' Pettenò
there is Mach-O and not ELF (and also aliases are not available). CVS patchset: 8716 CVS date: 2007/03/19 23:04:08
2007-03-19We need to call CC_CHECK_WERROR first of all, as the autoconf automatic ↵Diego 'Flameeyes' Pettenò
dependency support fails us, as the first time it's invoked is conditional. CVS patchset: 8715 CVS date: 2007/03/19 23:02:49
2007-03-17Clean up configure checks for OSS support. Check for the various soundcard.h ↵Diego 'Flameeyes' Pettenò
headers, and then include the best one that has been found on the system. Check for definition of SNDCTL_DSP_SETFRAGMENT in those headers. Check for the correct request parameter type for ioctl(), as also modern Linux uses unsigned long. Don't list all the big endian machines (as they aren't reliable to list anyway, some of them might work with both endians), use WORDS_BIGENDIAN instead. CVS patchset: 8697 CVS date: 2007/03/17 06:59:31
2007-03-17Instead of relying on FreeBSD being the only system not having __environ ↵Diego 'Flameeyes' Pettenò
stderr ___brk_addr and __ctype_b, look for them during ./configure stage. Also check for alternatives, and check for compiler's weak aliasing support only if it's actually going to be used. CVS patchset: 8696 CVS date: 2007/03/17 06:11:30
2007-03-16Add proper support for disabling Real binary codecs support and add a ↵Diego 'Flameeyes' Pettenò
parameter to define a codecs path during configure stage, rather than probing at runtime. CVS patchset: 8688 CVS date: 2007/03/16 22:32:13
2007-03-16Add a check if the compiler supports weak aliases, to add FreeBSD support to ↵Diego 'Flameeyes' Pettenò
Real codecs. CVS patchset: 8680 CVS date: 2007/03/16 20:12:41
2007-03-16Cleanup pkg-config checks for libcdio/libvcdinfo.Diego 'Flameeyes' Pettenò
CVS patchset: 8674 CVS date: 2007/03/16 02:35:29
2007-03-16Fix the logic of libstk, as I declared it disabled by default.Diego 'Flameeyes' Pettenò
CVS patchset: 8672 CVS date: 2007/03/16 02:04:32
2007-03-16Simplify Jack checks, replace --enable/--disable with --with/--without as ↵Diego 'Flameeyes' Pettenò
it's an external library, list it in the list of available audio outputs if found. CVS patchset: 8671 CVS date: 2007/03/16 02:02:50
2007-03-16Stop libstk checks from being automagic, by providing a --with/--without ↵Diego 'Flameeyes' Pettenò
switch for it. Default for it to be disabled, as the libstk site is no more available, and at least on Debian, libstk is a totally different package. CVS patchset: 8670 CVS date: 2007/03/16 01:53:27
2007-03-16Run true to avoid then else without content.Diego 'Flameeyes' Pettenò
CVS patchset: 8668 CVS date: 2007/03/16 00:29:02
2007-03-16Don't put -lXext into LIBS if found.Diego 'Flameeyes' Pettenò
CVS patchset: 8667 CVS date: 2007/03/16 00:21:40
2007-03-16Collapse X_LIBS, X_PRE_LIBS, -lXext and -lX11 in a single X_LIBS variable ↵Diego 'Flameeyes' Pettenò
when using non-pkg-config based discovery of X11 libraries; also check for xext together with x11 with pkg-config. This reduces the list of libraries to add to _LIBADD for video output plugins, and should solve the problems with -lXext being linked in with X disabled. CVS patchset: 8666 CVS date: 2007/03/16 00:01:31