[xiph-commits] r18006 - trunk/theora

ds at svn.xiph.org ds at svn.xiph.org
Sun May 29 13:23:31 PDT 2011


Author: ds
Date: 2011-05-29 13:23:31 -0700 (Sun, 29 May 2011)
New Revision: 18006

Modified:
   trunk/theora/configure.ac
Log:
Use $host instead of $target in configure

Because we just removed target by removing AC_CANONICAL_TARGET,
and host is correct anyway.



Modified: trunk/theora/configure.ac
===================================================================
--- trunk/theora/configure.ac	2011-05-26 23:42:39 UTC (rev 18005)
+++ trunk/theora/configure.ac	2011-05-29 20:23:31 UTC (rev 18006)
@@ -172,7 +172,7 @@
 dnl Set build flags based on environment
 dnl --------------------------------------------------
 
-dnl Set some target options
+dnl Set some host options
 
 cflags_save="$CFLAGS"
 if test -z "$GCC"; then
@@ -203,12 +203,12 @@
 
 if test "x${ac_enable_asm}" = xyes; then
   cpu_optimization="no optimization for your platform, please send a patch"
-  case $target_cpu in
+  case $host_cpu in
   i[[3456]]86)
     cpu_x86_32=yes
     cpu_optimization="32 bit x86"
     AC_DEFINE([OC_X86_ASM], [],  [make use of x86 asm optimization])
-    if test "x$target_vendor" = "xapple"; then
+    if test "x$host_vendor" = "xapple"; then
       THEORA_LDFLAGS="$THEORA_LDFLAGS  -Wl,-read_only_relocs,suppress"
     fi
       ;;
@@ -334,7 +334,7 @@
 THENC_VERSION_ARG=""
 TH_VERSION_ARG=""
 if test "x$lt_cv_prog_gnu_ld" = "xyes"; then
- case "$target_os" in
+ case "$host_os" in
   *mingw*)
     THEORA_LDFLAGS="$THEORA_LDFLAGS -no-undefined"
     THDEC_VERSION_ARG="-export-symbols \$(top_srcdir)/win32/xmingw32/libtheoradec-all.def"
@@ -355,7 +355,7 @@
     ;;
  esac
 else
- case "$target_os" in
+ case "$host_os" in
   darwin*)
     THDEC_VERSION_ARG='-Wl,-exported_symbols_list,$(srcdir)/theoradec.exp'
     THENC_VERSION_ARG='-Wl,-exported_symbols_list,$(srcdir)/theoraenc.exp'
@@ -452,7 +452,7 @@
 
 dnl OpenBSD needs -lossaudio to use the oss interface
 OSS_LIBS=
-case "$target_os" in
+case "$host_os" in
   openbsd*)
     OSS_LIBS='-lossaudio'
     ;;



More information about the commits mailing list