summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-05-14Clean up xine.m4 to match with package.m4 for 3rd-party use.Matt Messier
Since xine.m4 is also derived from the same code that's all been replaced with the more generic package.m4 code, use that same code for xine.m4 as well, though it doesn't actually depend on package.m4, but is instead a specific, customized version of it intended to be used where package.m4 is not available.
2007-05-14Final pass over decoders.m4Matt Messier
2007-05-14Final pass over input plugin configuration checksMatt Messier
-- Move some generic checks out of m4/input.m4 and back into configure.ac -- Remove ioctl_request.m4 and inline it in configure.ac -- Fix compilation of internal libcdio and libvcd stuff -- now works for Darwin -- Add a switch for enabling/disabling dvb support. Disabled by default for all platforms except for Linux. Only allowed to be used on Linux. -- Disable vcd support on all platforms except for FreeBSD, Linux, and Solaris, because src/input/input_vcd.c is only supported on those platforms even though libcdio and libvcd will compile on other platforms -- Clean up some summary.m4 stuff
2007-05-14Final pass over video_out.m4Matt Messier
-- Create ACX_PACKAGE_CHECK to remove duplicate code for aalib, arts, dvdnav, and libfame. Remove aa.m4, arts.m4, dvdnav.m4, and libfame.m4 -- ACX_PACKAGE_CHECK does not require compiling and running a test program. Stole version code from autogen.sh
2007-05-14Only check for Xext if X is found via AC_PATH_XTRAMatt Messier
2007-05-13Fixes to make Objective C tests actually workMatt Messier
with versions of autoconf that do not have AC_PROG_OBJC. Pull missing bits from autoconf 2.61, guard with m4_ifdef, and forcibly m4_include m4/objc.m4 into configure.ac, because aclocal won't pick it up with the m4_ifdef present.
2007-05-13Clean up xxmc/xvmc configure checks, move xv.m4 into video_out.m4Matt Messier
2007-05-12Fix X checks to do AC_PATH_XTRA before PKG_CHECK_MODULESMatt Messier
It seems that even embedded in a shell if-statement, AC_PATH_XTRA still runs before PKG_CHECK_MODULES, even if PKG_CHECK_MODULES comes first. There's something funky going on inside autoconf wrt AC_PATH_XTRA. I know that the intended behavior is to do the PKG_CHECK_MODULES first, but no matter what I do, it never actually works that way. I give up, and so here's the code written to reflect what _actually_ happens in that order that it happens.
2007-05-12X11 and video output plugin configuration check cleanupsMatt Messier
-- Move x11.m4 back into configure.ac, because AC_PATH_XTRA was behaving oddly inside a macro. That code is now cleaned up enough so that it's not too painful having it there. -- Move opengl.m4 inline into video_out.m4 -- Fix x11 checks to work on Darwin, including XShm checks, Xv checks, OpenGL, and GLU checks.
2007-05-12Fix the sense of a check for with_external_libmadMatt Messier
2007-05-12Typo fixes: instances of $" should be "$Matt Messier
2007-05-12Style consistency fixes. No functional change.Matt Messier
2007-05-12Fix stupid typos: instances of $" should be "$Matt Messier
2007-05-12Final pass over audio_out configure checksMatt Messier
2007-05-12Minor fixes and cleanupsMatt Messier
2007-05-12Miscellaneous cleanups, revisit REVISIT tagsMatt Messier
2007-05-12Merge changes from main 1.2 repositoryMatt Messier
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 round of Makefile.am cleanupsMatt Messier
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-10Fix the $(XINE_LIB) build rule to build from top_builddirMatt Messier
instead of building from top_srcdir. Also, use make -C instead of cd && make
2007-05-10Change AUTOMAKE_OPTIONS to require automake 1.9 rather than 1.8Matt Messier
2007-05-10Add large file macros to CPPFLAGS as requiredMatt Messier
If AC_SYS_LARGEFILES defines _FILE_OFFSET_BITS=64 or _LARGEFILE_SOURCE, they'll only be in config.h. Add them to CPPFLAGS as well. If AC_FUNC_FSEEKO defines _LARGE_FILES, add it to CPPFLAGS as well. Do all of this for the benefit of those things that do not #include config.h
2007-05-10Remove -D_LARGEFILE64_SOURCE from AM_CPPFLAGSMatt Messier
This is a transitional macro that's normally defined by the system includes if _GNU_SOURCE is defined, which it will be because of AC_GNU_SOURCE. It's only used by GNU libc. I cannot find anything in any of the code built by these Makefiles that uses any of the types, structures, or functions that defining this macro produces.
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-08Fix the build rules for libavutil.a and libpostproc.a (for the planar plugin).Darren Salt
2007-05-08Merge changes from main 1.2 repositoryMatt Messier
2007-05-08Merge from 1.1.Darren Salt
2007-05-08Internal libpostproc.a needs libavutil.a, so link planar post-plugin with both.Darren Salt
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-06More cleanups - move stuff around some more and a few tweaksMatt Messier
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-05More configure.ac cleanups - moving stuff aroundMatt Messier
2007-05-05More cleanups for configure.acMatt Messier
-- Begin re-ordering tests as appropriate to match the recommended autoconf layout -- Remove dead tests, replacing some tests with standard existing autoconf tests added in 2.59 (or possibly earlier) -- Use $host_or_hostalias in more places instead of $host -- Set OBJCFLAGS when CFLAGS is set just before producing output
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-04Clean up configure-time version handlingMatt Messier
-- Execute version.sh from configure.ac to get version information. Update the release version in this file now instead of configure.ac. -- Clean up a bunch of cruft hanging around and consolidate version information as much as possible. -- Move autoconf/autoheader/automake initialization together. -- Use AM_MAINTAINER_MODE
2007-05-04Move a bunch of x11/xv related stuff out of configure.acMatt Messier