summaryrefslogtreecommitdiff
path: root/m4
AgeCommit message (Collapse)Author
2007-05-17Merge fixes from Darren SaltMatt Messier
2007-05-17Mac OS X universal binary build cleanupsMatt Messier
2007-05-17Update gettext files. Fixes an install target failure.Darren Salt
po/Makefile.in.in was depending on mkinstalldirs, which is no longer installed.
2007-05-17Fix some m4 quoting mistakes which were breaking a Perl script.Darren Salt
2007-05-15Fix the GNU assembler configuration checkMatt Messier
2007-05-15Enable dvb input plugin support by default on LinuxMatt Messier
2007-05-15Mac OS X universal build fixesMatt Messier
-- Set -isysroot in CFLAGS and -syslibroot in LDFLAGS early -- Patch libtool's sys_lib_search_path_spec to not search /usr/lib, et al., and instead search /Developer/SDKs/MacOSX10.4u.sdk/usr/lib so that it'll find universal versions of stuff, libiconv.dylib in particular. There's a libiconv.la file hanging around in /usr/lib that breaks everything otherwise.
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-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-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-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-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).