summaryrefslogtreecommitdiff
path: root/m4
AgeCommit message (Collapse)Author
2007-04-12Update from 1.1 branch.Diego 'Flameeyes' Pettenò
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-11Return NULL to avoid 'control reaches end of non-void function' warning from ↵Ville Skyttä
throwing off the test.
2007-04-11Merge changes from 1.1 branch (where they still make sense).Diego 'Flameeyes' Pettenò
2007-04-11Try linking the program for Pthread support, and feed proper parameters to ↵Diego 'Flameeyes' Pettenò
pthread_create. The link is needed to make sure that the LIBS variable is set correctly, otherwise it might just be finding the definition but using the wrong link-time parameter. Also, feed proper parameters to pthread_create to avoid -Wnonnull to cause a test failure (GCC/GLIBC).
2007-04-10Add a new check for __attribute__((packed)), and if present, define XINE_PACKED.Diego 'Flameeyes' Pettenò
This is the first step to sanitise the handling of PACKED attribute.
2007-04-09format_arg attribute requires the function to return char*.Diego 'Flameeyes' Pettenò
2007-04-03Rationalise use of .hgignore, removes a bunch of files that only ignored ↵Diego 'Flameeyes' Pettenò
automake-related files.
2007-04-02Never udnefine m4_foreach_w, after all if it's defined it is because it ↵Diego 'Flameeyes' Pettenò
never was.
2007-04-02Use LT_AC_PROG_SED rather than AC_PROG_SED.Diego 'Flameeyes' Pettenò
The latter is only available on 2.60 and later, so use the first one, provided by libtool, until we move further on to the newer versions.
2007-04-02Add a m4_foreach_w macro when autoconf does not provide it.Diego 'Flameeyes' Pettenò
This allows to get AC_CHECK_SYMBOLS macro working on autoconf 2.59.
2007-04-02Migrate all .cvsignore files to .hgignore.Diego 'Flameeyes' Pettenò
--HG-- rename : .cvsignore => .hgignore rename : doc/.cvsignore => doc/.hgignore rename : doc/faq/.cvsignore => doc/faq/.hgignore rename : doc/hackersguide/.cvsignore => doc/hackersguide/.hgignore rename : doc/man/.cvsignore => doc/man/.hgignore rename : doc/man/en/.cvsignore => doc/man/en/.hgignore rename : include/.cvsignore => include/.hgignore rename : intl/.cvsignore => intl/.hgignore rename : lib/.cvsignore => lib/.hgignore rename : m4/.cvsignore => m4/.hgignore rename : misc/.cvsignore => misc/.hgignore rename : misc/fonts/.cvsignore => misc/fonts/.hgignore rename : po/.cvsignore => po/.hgignore rename : src/.cvsignore => src/.hgignore rename : src/audio_out/.cvsignore => src/audio_out/.hgignore rename : src/combined/.cvsignore => src/combined/.hgignore rename : src/demuxers/.cvsignore => src/demuxers/.hgignore rename : src/dxr3/.cvsignore => src/dxr3/.hgignore rename : src/input/.cvsignore => src/input/.hgignore rename : src/input/dvb/.cvsignore => src/input/dvb/.hgignore rename : src/input/libdvdnav/.cvsignore => src/input/libdvdnav/.hgignore rename : src/input/libreal/.cvsignore => src/input/libreal/.hgignore rename : src/input/librtsp/.cvsignore => src/input/librtsp/.hgignore rename : src/input/vcd/.cvsignore => src/input/vcd/.hgignore rename : src/input/vcd/libcdio/.cvsignore => src/input/vcd/libcdio/.hgignore rename : src/input/vcd/libcdio/MSWindows/.cvsignore => src/input/vcd/libcdio/MSWindows/.hgignore rename : src/input/vcd/libcdio/cdio/.cvsignore => src/input/vcd/libcdio/cdio/.hgignore rename : src/input/vcd/libcdio/image/.cvsignore => src/input/vcd/libcdio/image/.hgignore rename : src/input/vcd/libvcd/.cvsignore => src/input/vcd/libvcd/.hgignore rename : src/input/vcd/libvcd/libvcd/.cvsignore => src/input/vcd/libvcd/libvcd/.hgignore rename : src/liba52/.cvsignore => src/liba52/.hgignore rename : src/libdts/.cvsignore => src/libdts/.hgignore rename : src/libfaad/.cvsignore => src/libfaad/.hgignore rename : src/libfaad/codebook/.cvsignore => src/libfaad/codebook/.hgignore rename : src/libffmpeg/.cvsignore => src/libffmpeg/.hgignore rename : src/libffmpeg/libavcodec/.cvsignore => src/libffmpeg/libavcodec/.hgignore rename : src/libffmpeg/libavcodec/alpha/.cvsignore => src/libffmpeg/libavcodec/alpha/.hgignore rename : src/libffmpeg/libavcodec/armv4l/.cvsignore => src/libffmpeg/libavcodec/armv4l/.hgignore rename : src/libffmpeg/libavcodec/i386/.cvsignore => src/libffmpeg/libavcodec/i386/.hgignore rename : src/libffmpeg/libavcodec/libpostproc/.cvsignore => src/libffmpeg/libavcodec/libpostproc/.hgignore rename : src/libffmpeg/libavcodec/mlib/.cvsignore => src/libffmpeg/libavcodec/mlib/.hgignore rename : src/libffmpeg/libavcodec/ppc/.cvsignore => src/libffmpeg/libavcodec/ppc/.hgignore rename : src/libffmpeg/libavcodec/sparc/.cvsignore => src/libffmpeg/libavcodec/sparc/.hgignore rename : src/libffmpeg/libavutil/.cvsignore => src/libffmpeg/libavutil/.hgignore rename : src/libflac/.cvsignore => src/libflac/.hgignore rename : src/liblpcm/.cvsignore => src/liblpcm/.hgignore rename : src/libmad/.cvsignore => src/libmad/.hgignore rename : src/libmpeg2/.cvsignore => src/libmpeg2/.hgignore rename : src/libmpeg2new/.cvsignore => src/libmpeg2new/.hgignore rename : src/libmpeg2new/include/.cvsignore => src/libmpeg2new/include/.hgignore rename : src/libmpeg2new/libmpeg2/.cvsignore => src/libmpeg2new/libmpeg2/.hgignore rename : src/libmusepack/.cvsignore => src/libmusepack/.hgignore rename : src/libmusepack/musepack/.cvsignore => src/libmusepack/musepack/.hgignore rename : src/libreal/.cvsignore => src/libreal/.hgignore rename : src/libspeex/.cvsignore => src/libspeex/.hgignore rename : src/libspucc/.cvsignore => src/libspucc/.hgignore rename : src/libspucmml/.cvsignore => src/libspucmml/.hgignore rename : src/libspudec/.cvsignore => src/libspudec/.hgignore rename : src/libspudvb/.cvsignore => src/libspudvb/.hgignore rename : src/libsputext/.cvsignore => src/libsputext/.hgignore rename : src/libtheora/.cvsignore => src/libtheora/.hgignore rename : src/libvorbis/.cvsignore => src/libvorbis/.hgignore rename : src/libw32dll/.cvsignore => src/libw32dll/.hgignore rename : src/libw32dll/DirectShow/.cvsignore => src/libw32dll/DirectShow/.hgignore rename : src/libw32dll/dmo/.cvsignore => src/libw32dll/dmo/.hgignore rename : src/libw32dll/qtx/.cvsignore => src/libw32dll/qtx/.hgignore rename : src/libw32dll/qtx/qtxsdk/.cvsignore => src/libw32dll/qtx/qtxsdk/.hgignore rename : src/libw32dll/wine/.cvsignore => src/libw32dll/wine/.hgignore rename : src/libxineadec/.cvsignore => src/libxineadec/.hgignore rename : src/libxineadec/gsm610/.cvsignore => src/libxineadec/gsm610/.hgignore rename : src/libxineadec/nosefart/.cvsignore => src/libxineadec/nosefart/.hgignore rename : src/libxinevdec/.cvsignore => src/libxinevdec/.hgignore rename : src/post/.cvsignore => src/post/.hgignore rename : src/post/audio/.cvsignore => src/post/audio/.hgignore rename : src/post/deinterlace/.cvsignore => src/post/deinterlace/.hgignore rename : src/post/deinterlace/plugins/.cvsignore => src/post/deinterlace/plugins/.hgignore rename : src/post/goom/.cvsignore => src/post/goom/.hgignore rename : src/post/mosaico/.cvsignore => src/post/mosaico/.hgignore rename : src/post/planar/.cvsignore => src/post/planar/.hgignore rename : src/post/visualizations/.cvsignore => src/post/visualizations/.hgignore rename : src/video_out/.cvsignore => src/video_out/.hgignore rename : src/video_out/libdha/.cvsignore => src/video_out/libdha/.hgignore rename : src/video_out/libdha/bin/.cvsignore => src/video_out/libdha/bin/.hgignore rename : src/video_out/libdha/kernelhelper/.cvsignore => src/video_out/libdha/kernelhelper/.hgignore rename : src/video_out/libdha/oth/.cvsignore => src/video_out/libdha/oth/.hgignore rename : src/video_out/libdha/sysdep/.cvsignore => src/video_out/libdha/sysdep/.hgignore rename : src/video_out/macosx/.cvsignore => src/video_out/macosx/.hgignore rename : src/video_out/vidix/.cvsignore => src/video_out/vidix/.hgignore rename : src/video_out/vidix/drivers/.cvsignore => src/video_out/vidix/drivers/.hgignore rename : src/xine-engine/.cvsignore => src/xine-engine/.hgignore rename : src/xine-utils/.cvsignore => src/xine-utils/.hgignore rename : win32/.cvsignore => win32/.hgignore rename : win32/include/.cvsignore => win32/include/.hgignore
2007-04-01Fix test for visibility attributes. Patch thanks to Matt Messier.Diego 'Flameeyes' Pettenò
CVS patchset: 8782 CVS date: 2007/04/01 21:56:35
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-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-22Add the gas.m4 macro file, at least :)Diego 'Flameeyes' Pettenò
CVS patchset: 8741 CVS date: 2007/03/22 22:34:28
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-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-19Make CC_CHECK_CFLAGS report the name of the compiler, like AC_TRY_CFLAGS ↵Diego 'Flameeyes' Pettenò
used to. CVS patchset: 8722 CVS date: 2007/03/19 23:41:49
2007-03-19Rewrite the CC_CHECK_CFLAGS macro, to be more in style with Autoconf macros, ↵Diego 'Flameeyes' Pettenò
and cache the value. Rewrite also CC_CHECK_WERROR, caching there too. Rename the final variable with the werror flag ($werror -> $cc_cv_werror). CVS patchset: 8714 CVS date: 2007/03/19 23:02:16
2007-03-17Fix obvious and stupid mistake in the symbol check, both if-found and ↵Diego 'Flameeyes' Pettenò
if-not-found conditions were going to be executed, always. CVS patchset: 8698 CVS date: 2007/03/17 07:25:37
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 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-09Use a simpler and more portable awk command. Patch by Albert Lee.Diego 'Flameeyes' Pettenò
CVS patchset: 8647 CVS date: 2007/03/09 23:43:33
2007-02-18Don't disable stack-alignment anymore, as discussed in private mail with ↵Reinhard Tartler
Miguel Freitas on 17 Feb CVS patchset: 8598 CVS date: 2007/02/18 08:46:43
2007-01-09As as.m4 was removed, remove its reference.Diego 'Flameeyes' Pettenò
CVS patchset: 8495 CVS date: 2007/01/09 22:18:41
2007-01-06Use AM_PROG_AS instead of our AM_PROG_AS_MOD.Darren Salt
CVS patchset: 8489 CVS date: 2007/01/06 17:31:55
2006-12-25Add AC_TRY_LDFLAGS macro similarly to AC_TRY_CFLAGS.Diego 'Flameeyes' Pettenò
CVS patchset: 8453 CVS date: 2006/12/25 18:45:15
2006-11-05Fix a compile problem which can mean that the Xv output plugin isn't linkedDarren Salt
with libXv. Problem was that the pkgconfig test sets XV_LIBS, but XV_LIB was used elsewhere. So we change XV_LIB -> XV_LIBS. The same change is made for XVMC_LIB and XXMC_LIB in case of future use of pkgconfig. CVS patchset: 8360 CVS date: 2006/11/05 15:16:56
2006-10-11Added compatibility with different libtool versions.Hans-Dieter Kosch
CVS patchset: 8335 CVS date: 2006/10/11 23:44:16
2006-10-02build cdio for builddir != .František Dvořák
update for attic platforms (mainly older MinGW) unsupported attributes not used (fixes warnings) added check for sentinel attribute enabled TrueSpeech codec CVS patchset: 8327 CVS date: 2006/10/02 15:56:03
2006-09-14Use pkg-config also to check for freetype2.Diego 'Flameeyes' Pettenò
CVS patchset: 8251 CVS date: 2006/09/14 03:05:35
2006-09-14Do the same for SDL: use pkg-config rather than the m4 test.Diego 'Flameeyes' Pettenò
CVS patchset: 8248 CVS date: 2006/09/14 02:42:20
2006-09-14Replace also esound test with pkg-config based test, and remove esd.m4.Diego 'Flameeyes' Pettenò
CVS patchset: 8247 CVS date: 2006/09/14 02:33:14
2006-09-14Remove.Diego 'Flameeyes' Pettenò
CVS patchset: 8246 CVS date: 2006/09/14 02:11:40
2006-09-14Remove m4 files for the tests moved to pkg-config.Diego 'Flameeyes' Pettenò
CVS patchset: 8245 CVS date: 2006/09/14 02:11:09
2006-09-14Remove reference to removed caca.m4 (libcaca 0.99 will use pkg-config).Diego 'Flameeyes' Pettenò
CVS patchset: 8237 CVS date: 2006/09/14 00:32:09
2006-09-14Removed.Diego 'Flameeyes' Pettenò
CVS patchset: 8236 CVS date: 2006/09/14 00:25:34
2006-09-12Rewrite external ffmpeg support by using pkg-config rather than ad-hoc ↵Diego 'Flameeyes' Pettenò
tests. To change the prefix, simply change the variables from outside or add the directory containing the .pc files to PKG_CONFIG_PATH environment variable. CVS patchset: 8222 CVS date: 2006/09/12 00:06:05
2006-08-30Remember to add attributes.m4 to the dist tarball.Diego 'Flameeyes' Pettenò
CVS patchset: 8184 CVS date: 2006/08/30 23:03:56
2006-08-02Don't try to distribute removed files.Darren Salt
CVS patchset: 8158 CVS date: 2006/08/02 23:27:26
2006-07-11Update pkg.m4 with the one provided by pkg-config 0.20, that's shorter for ↵Diego 'Flameeyes' Pettenò
the configure. CVS patchset: 8116 CVS date: 2006/07/11 05:32:32
2006-07-10Replace custom ALSA macro with a simpler PKG_CHECK_MODULES call, and assume ↵Diego 'Flameeyes' Pettenò
requirement of 0.9.0 minimum. See SF.net bug 1394688. CVS patchset: 8104 CVS date: 2006/07/10 22:43:50
2006-07-10Add the m4 file with the needed check for -fvisibility=hidden.Diego 'Flameeyes' Pettenò
CVS patchset: 8102 CVS date: 2006/07/10 22:14:55
2006-06-17Fix strict aliasing rules breakages where possible, enable ↵Diego 'Flameeyes' Pettenò
-fno-strict-aliasing where the breakage is unresolvable, and not enable it globally (decreases performances). CVS patchset: 8048 CVS date: 2006/06/17 15:20:56
2006-06-11Add xine-specific changes to the new intl files, other little correction.František Dvořák
CVS patchset: 8034 CVS date: 2006/06/11 15:13:06
2006-06-10Update gettext to 0.14.5, remove intl/ subdirectory so that external gettext ↵Diego 'Flameeyes' Pettenò
is used, as discussed in xine-devel. CVS patchset: 8027 CVS date: 2006/06/10 01:47:01