# HG changeset patch
# User Diego 'Flameeyes' Pettenò <[EMAIL PROTECTED]>
# Date 1181388674 -7200
# Node ID ad1ddbe4df1af7e7edb6b1678a90d22bd90efde8
# Parent  4e4972cef8cfc79c45659c4d8a5a8fe0d70579ec
Add a configure option to disable runtime CPU detection.

diff -r ad1ddbe4df1af7e7edb6b1678a90d22bd90efde8 -r 
4e4972cef8cfc79c45659c4d8a5a8fe0d70579ec configure.ac
--- a/configure.ac      Sat Jun 09 13:31:14 2007 +0200
+++ b/configure.ac      Sat Jun 09 13:04:43 2007 +0200
@@ -806,6 +806,14 @@ AM_CONDITIONAL([ARCH_X86], test x"$arch_
 AM_CONDITIONAL([ARCH_X86], test x"$arch_x86" = x"yes")
 AM_CONDITIONAL([HAVE_MMX], test x"$arch_x86" = x"yes")
 AM_CONDITIONAL([HOST_OS_DARWIN], test x"$HOST_OS_DARWIN" = x"1")
+
+AC_ARG_ENABLE([runtime-cpudetection],
+              [AS_HELP_STRING([--disable-runtime-cpudetection], [Follow 
compiler's decision about enabling CPU-specific features, rather than checking 
at runtime])],
+             [], [enable_runtime_cpudetection=yes])
+
+if test x"$enable_runtime_cpudetection" = x"no"; then
+     AC_DEFINE([BUILDTIME_CPUDETECTION], [], [Define this if you want to 
follow compiler's decision about enabling CPU-specific features])
+fi
 
 if test x"$enable_impure_text" = x"yes"; then
     case "$host_or_hostalias" in

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog

Reply via email to