summaryrefslogtreecommitdiff
path: root/m4
AgeCommit message (Collapse)Author
2007-05-12More configure/Makefile cleanupsMatt Messier
-- Make a pass at cleaning up contrib/ Makefile.am files -- Rename many AM_CONDITIONALS for consistency and give them better names to better indicate what they mean -- Remove some dead input plugin tests -- Clean up AM_PATH_DVDNAV
2007-05-11Another pass at cleaning up Makefile.am files. More to come.Matt Messier
2007-05-11Cleanup, fix, and generally rework assembler configure checksMatt Messier
2007-05-10Rename PPC_ARCH to ARCH_PPC for consistency.Matt Messier
Move the definition of it to a much more appropriate location.
2007-05-10Uncomment libFLAC tests accidentally left commented outMatt Messier
2007-05-09Clean up decoder/demuxer configuration checksMatt Messier
2007-05-09Move some more macros around into more approriately named placesMatt Messier
-- Create programs.m4 to hold program related checks -- Move the always inline check macro (currently dead) into attributes.m4 -- Rename the remainder of _xine.m4 to types.m4, because there's just type related checks left. --HG-- rename : m4/_xine.m4 => m4/types.m4
2007-05-09Move decoder/demuxer checks from configure.ac to decoders.m4Matt Messier
2007-05-09Clean up input plugin configuration checksMatt Messier
-- Split input plugin checks out of configure.ac into m4/input.m4 -- Move m4/vcd.m4 (previously split out from configure.ac) into m4/input.m4 -- Fold m4/dl.m4 into configure.ac -- Various miscellaneous cleanups throughout configure.ac and m4/*.m4
2007-05-09Clean up video output plugin configure checksMatt Messier
2007-05-08Clean up audio out plugin testsMatt Messier
2007-05-08Add AC_MSG_RESULT([no]) for test failures so lines don't bunch upMatt Messier
2007-05-08Minor cleanups for X11 checks. Mostly comment what's going on.Matt Messier
2007-05-08More configure.ac cleanupsMatt Messier
-- Revisit NLS stuff. Not much changed, remove the REVISIT tag -- Change XDG_BASEDIR_CFLAGS to XDG_BASEDIR_CPPFLAGS, because it only includes a -I, which is a CPPFLAGS option, not CFLAGS -- Move XDG stuff up to library checks -- Cleanup and move zlib checks -- Move X11 checks up to checks for system services -- Break audio out plugin stuff into m4/audio_out.m4 -- Break video out plugin stuff into m4/video_out.m4 -- Move libdir name stuff into m4/libFLAC.m4 since that's the only thing that uses it.
2007-05-08Remove some more dead macrosMatt Messier
2007-05-08RIP: AC_OPTIMIZATIONSMatt Messier
-- Removed m4/optimizations.m4, and along with it, AC_OPTIMIZATIONS. -- Stripped down, cleaned up, and merged the former together with other compiler characteristic checks. -- Do not set any optimization flags into CFLAGS. Update all Makefile.am's with proper AM_CFLAGS, AM_CPPFLAGS, AM_LDFLAGS, etc. to set up optimization flags, usually from DEFAULT_OCFLAGS. -- Start cleaning up CFLAGS/CPPFLAGS stuff in Makefile.am's all over the place. -- Correct a number of places where CFLAGS itself was being mangled in Makefile to on-the-fly adjust optimizations to work around compiler bugs. This stuff is now done correctly. -- The run of automake from autogen.sh is now clean of warnings. -- Cleaned out some (now) dead macros from m4/_xine.m4 -- Mac OS X intel builds out-of-the-box now -- dropped optimization on post/deinterlace/plugins/kdetv-greedyh to O1_CFLAGS. -- OBJCFLAGS is now getting set correctly everywhere that it needs to be -- Various other miscellaneous cleanups all over
2007-05-05More configure cleanups.Matt Messier
-- Move Windows port checks to an earlier point, but after AC_PROG_CC and AC_PROG_EGREP are done, because it depends on both of them. Also rename SYS to WIN32_SYS, because the former is way too generic and prone to clashes from elsewhere. -- Removed some dead automake work-arounds that should no longer be necessary with the new automake 1.9 requirement -- For Mac OS X universal builds, don't set CFLAGS/OBJCFLAGS/LDFLAGS so early with multiple -arch flags. Set them at the end from UNIVERSAL_CFLAGS and UNIVERSAL_LDFLAGS. -- Move set of INCLUDES down to final set of CFLAGS/OBJCFLAGS/LDFLAGS.
2007-05-04More build cleanupsMatt Messier
-- Pull AC_PROG_OBJC and AC_PROG_OBJCPP from autoconf 2.61, but use the local versions only if they're not defined by the version of autoconf in use. -- Always call AC_PROG_OBJC since there's no harm in doing so. It'll fail most of the time, but it's cleaner than adding yet another $host_os check -- Remove -DCONFIG_DARWIN from CPPFLAGS since it was added specifically for ffmpeg when ffmpeg was built using xine's built infrastructure rather than its own. It's now defined properly where its needed elsewhere. -- Set host_or_hostalias early rather than later in the middle of xv checking since a bunch of other stuff depends on it too.
2007-05-04Begin cleaning up compiler command-line flagsMatt Messier
- Removed debug related targets from all Makefiles. Debug builds are now fully controlled by --enable-debug passed to configure - Disable optimizations by default when configuring with --enable-debug - Added --enable-profiling for building profile builds. This has problems with optimizations currently, but that'll get taken care of over time. - Initialize ASFLAGS/CFLAGS/CPPFLAGS/OBJCFLAGS/LDFLAGS early so that autoconf defaults don't come into play. - Added some additional commentary to configure.ac
2007-05-04Move a bunch of x11/xv related stuff out of configure.acMatt Messier
2007-05-04Move some stuff out of configure.ac and into existing or new m4 files forMatt Messier
better organization. No functional change.
2007-05-03Remove libtool15.m4 -- Nobody can offer up an explanation as to what this isMatt Messier
here for, and the logs are less than forthcoming about it, so let's get rid of it and see what breaks, if anything.
2007-05-03Fix alpha order of files in EXTRA_DIST and add missing files:Matt Messier
ioctl_request.m4 and symbol.m4
2007-05-03Move autoconf macros that come from gettext from m4 to m4/gettext to make itMatt Messier
easier to update them when necessary (they're out of date at present--the versions here are from 0.14.5, but 0.16.1 is current). --HG-- rename : m4/codeset.m4 => m4/gettext/codeset.m4 rename : m4/gettext.m4 => m4/gettext/gettext.m4 rename : m4/glibc2.m4 => m4/gettext/glibc2.m4 rename : m4/glibc21.m4 => m4/gettext/glibc21.m4 rename : m4/iconv.m4 => m4/gettext/iconv.m4 rename : m4/intdiv0.m4 => m4/gettext/intdiv0.m4 rename : m4/intmax.m4 => m4/gettext/intmax.m4 rename : m4/inttypes-pri.m4 => m4/gettext/inttypes-pri.m4 rename : m4/inttypes.m4 => m4/gettext/inttypes.m4 rename : m4/inttypes_h.m4 => m4/gettext/inttypes_h.m4 rename : m4/isc-posix.m4 => m4/gettext/isc-posix.m4 rename : m4/lcmessage.m4 => m4/gettext/lcmessage.m4 rename : m4/lib-ld.m4 => m4/gettext/lib-ld.m4 rename : m4/lib-link.m4 => m4/gettext/lib-link.m4 rename : m4/lib-prefix.m4 => m4/gettext/lib-prefix.m4 rename : m4/longdouble.m4 => m4/gettext/longdouble.m4 rename : m4/longlong.m4 => m4/gettext/longlong.m4 rename : m4/nls.m4 => m4/gettext/nls.m4 rename : m4/po.m4 => m4/gettext/po.m4 rename : m4/printf-posix.m4 => m4/gettext/printf-posix.m4 rename : m4/progtest.m4 => m4/gettext/progtest.m4 rename : m4/signed.m4 => m4/gettext/signed.m4 rename : m4/size_max.m4 => m4/gettext/size_max.m4 rename : m4/stdint_h.m4 => m4/gettext/stdint_h.m4 rename : m4/uintmax_t.m4 => m4/gettext/uintmax_t.m4 rename : m4/ulonglong.m4 => m4/gettext/ulonglong.m4 rename : m4/wchar_t.m4 => m4/gettext/wchar_t.m4 rename : m4/wint_t.m4 => m4/gettext/wint_t.m4 rename : m4/xsize.m4 => m4/gettext/xsize.m4
2007-05-02Mac OS X Universal Binary supportMatt Messier
2007-04-14Check for __malloc__ attribute during configure stage, avoid conditional in ↵Diego 'Flameeyes' Pettenò
xineutils.h for it, instead use XINE_MALLOC.
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