summaryrefslogtreecommitdiff
path: root/m4
AgeCommit message (Collapse)Author
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
2006-04-08Ancient platforms support:František Dvořák
- rint, lrint, M_PI (ffmpeg and goom) - avoid mkdir warnings - check for older _GUID_DEFINED too - ressurected generating inttypes, cleaned public os_types.h - moved function redefiniton used only in the old MSVC to central place Windows port update: - build internal ffmpeg: - workaround 'near' keyword problem - proper using __declspec(dllimport) Other changes: - LIBFFMPEG_CFLAGS --> LIBFFMPEG_CPPFLAGS CVS patchset: 7964 CVS date: 2006/04/08 16:42:23
2006-03-28ffmpeg automagic improvements:František Dvořák
- support FreeBSD port of external ffmpeg (but there is too old version now anyway) - differs postproc and avcodec, use both in Makefile (fixes bug seen in Gentoo) little fix in optimize automagic: - properly use '$' in automagic macros CVS patchset: 7955 CVS date: 2006/03/28 14:27:48
2006-01-22**BUGFIX**František Dvořák
Force running iconv test (it runs under AM_GNU_GETTEXT anyway). Add FreeBSD specific prefix to iconv test. Fixed missing autotools symbols on FreeBSD (it's somewhere in system, but xine should contain it too). CVS patchset: 7838 CVS date: 2006/01/22 15:15:30
2006-01-07 * Also look for Xv support in /usr/lib for X.org's new locationBastien Nocera
CVS patchset: 7831 CVS date: 2006/01/07 12:35:00
2005-12-17Summary: fix detection of libXv.James Courtier-Dutton
CVS patchset: 7823 CVS date: 2005/12/17 17:22:47
2005-11-28*BUGFIX*František Dvořák
Improved cross-compiling: detect and precedence of the host-specific libs W32dll: enabled by platforms as originaly, user can override it Fixed shell errors in the Makefile of the hackersguide Detect the place of SDL header independently on platform Fixed spelling in CDDA, include the header sys/param.h if available Fixed format strings (fix warnings (or even bugs) on Gentoo/FreeBSD) CVS patchset: 7815 CVS date: 2005/11/28 12:24:56
2005-11-14*BUGFIX*František Dvořák
Testsuite for M$ Windows: - init mutex in all video drivers ('none' for testsuite, fixes crashes), was OK for linux pthreads - use WaitForSingleObject for console file descriptirs in _x_io_select (fixes stdin:/) - workaround heavy debug messages in asf demuxer for some samples (fixes full disk :->) Fixed previous fix, s/gmtime/timgm/ :-) Aalib cross detection + udate docs CVS patchset: 7799 CVS date: 2005/11/14 12:34:45
2005-11-08*BUGFIX*František Dvořák
Fixed libraries detection for cross-compiling. CVS patchset: 7796 CVS date: 2005/11/08 20:18:36
2005-10-30disable controversial -funroll-loopsMiguel Freitas
users should set their own flags (with --disable-optimizations) if they want to try making xine faster. default flags should provide good optimization while keeping libxine stable. CVS patchset: 7789 CVS date: 2005/10/30 22:58:55
2005-10-23should fix make debugMiguel Freitas
CVS patchset: 7766 CVS date: 2005/10/23 02:01:22
2005-10-22commit Flameeyes' optimizations.m4 patchMiguel Freitas
CVS patchset: 7764 CVS date: 2005/10/22 22:02:40
2005-09-24- remove have_alsa_1_0_9Miguel Freitas
- note about overlay cropping fix CVS patchset: 7740 CVS date: 2005/09/24 19:27:33
2005-08-25*BUGFIX*František Dvořák
Windows ports fixes and improvements due to my current work on toxine: - first experiments with external win32 pthreads, more portable code (pthread_t may be a struct) - headers refactored - moved dirent win32 replacement to lib/, hide it for frontends, used system version, if found, not used non-POSIX dirent->d_reclen (this item doesn't work in MinGW), fix memleak in dvb - separated settings for postproc and avcodec when using external ffmpeg - check for malloc.h in public xine.m4, used it conditionally in xine headers - replaced random() by POSIX more common rand() - prevent one segfault in directx vo plugin, if fails - M$VC port update CVS patchset: 7709 CVS date: 2005/08/25 15:36:29
2005-07-31Check for ALSA >= 1.0.9 (HAVE_ALSA_1_0_9).Darren Salt
Rework the existing checks (common code) and simplify slightly. CVS patchset: 7703 CVS date: 2005/07/31 14:47:24
2005-07-22bero's fix for crosscompilingMiguel Freitas
CVS patchset: 7677 CVS date: 2005/07/22 21:18:56
2005-05-14Define __inline__ if necessary.Darren Salt
(This assumes that if the compiler isn't gcc, __inline__ isn't supported.) CVS patchset: 7540 CVS date: 2005/05/14 23:17:10
2005-04-21- Updated doc/README.openglMatthias Hopf
- Better extension handling: Distributing own, mangled, glext.h (now myglext.h). Resolving glXgetProcAddress[ARB] during runtime now (original patch by Robert Osfield). Should compile now virtually anywhere. - Test for existence / working GLU (original patch by Alien). - Windows often were opened with the wrong visual ID depending on the single/double buffering flag. Fixed. CVS patchset: 7478 CVS date: 2005/04/21 17:37:40
2004-12-27**BUGFIX** (<- testing whether my automated-merging-idea works)Michael Roitzsch
fix xine-lib builds without X11: HAVE_XV must not be defined conditionally, otherwise configure will complain also fix the Xv test for old shells with broken handling of empty variables CVS patchset: 7307 CVS date: 2004/12/27 17:22:30