diff options
author | Matt Messier <mmessier@grapetv.org> | 2007-05-04 21:55:20 -0400 |
---|---|---|
committer | Matt Messier <mmessier@grapetv.org> | 2007-05-04 21:55:20 -0400 |
commit | f1d5c1fc6c4c79bdc8969b94cf0ca08d3dbd7735 (patch) | |
tree | 9d176ab2d4ec713b663aa8a317f32f7f596e3284 /m4/optimizations.m4 | |
parent | b5de3be503bc9fac73ffbcaf6ce92970195c122f (diff) | |
download | xine-lib-f1d5c1fc6c4c79bdc8969b94cf0ca08d3dbd7735.tar.gz xine-lib-f1d5c1fc6c4c79bdc8969b94cf0ca08d3dbd7735.tar.bz2 |
More build cleanups
-- 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.
Diffstat (limited to 'm4/optimizations.m4')
-rw-r--r-- | m4/optimizations.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/optimizations.m4 b/m4/optimizations.m4 index d47dc94e0..f25da2a02 100644 --- a/m4/optimizations.m4 +++ b/m4/optimizations.m4 @@ -125,7 +125,7 @@ AC_DEFUN([AC_OPTIMIZATIONS], [ ;; pentiumpro-* | pentium2-* | i686-*) archopt_val="pentiumpro" - if test x"$check_athlon" = "xyes"; then + if test x"$host" = x"$build"; then if test -f /proc/cpuinfo; then modelname=`cat /proc/cpuinfo | grep "model\ name\ :" | sed -e 's/ //g' | cut -d':' -f2` case "$modelname" in |