filename | configure |
changeset | 734:f8fcc8322b45 |
prev | 720:b5594d1ac80a |
next | 744:5ab610718918 |
author | nkeynes |
date | Tue Jul 15 06:47:49 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Record the SVN revision in the build Rationalise the version/copyright strings a little as well. |
file | annotate | diff | log | raw |
1.1 --- a/configure Sat Jul 05 11:57:36 2008 +00001.2 +++ b/configure Tue Jul 15 06:47:49 2008 +00001.3 @@ -746,8 +746,6 @@1.4 VIDEO_NSGL_FALSE1.5 BUILD_SH4X86_TRUE1.6 BUILD_SH4X86_FALSE1.7 -BUILD_X86_64_TRUE1.8 -BUILD_X86_64_FALSE1.9 AUDIO_OSX_TRUE1.10 AUDIO_OSX_FALSE1.11 PULSE_CFLAGS1.12 @@ -804,6 +802,7 @@1.13 enable_option_checking1.14 enable_maintainer_mode1.15 enable_dependency_tracking1.16 +enable_translator1.17 enable_trace1.18 enable_watch1.19 enable_sh4stats1.20 @@ -1468,6 +1467,7 @@1.21 (and sometimes confusing) to the casual installer1.22 --disable-dependency-tracking speeds up one-time build1.23 --enable-dependency-tracking do not reject slow dependency extractors1.24 + --disable-translator Disable the SH4 translator (Enable by default)1.25 --enable-trace Enable generation of IO traces (warning: hurts1.26 performance)1.27 --enable-watch Enable watchpoints in the debugger (warning: hurts1.28 @@ -2276,7 +2276,7 @@1.30 # Define the identity of the package.1.31 PACKAGE=lxdream1.32 - VERSION=0.8.11.33 + VERSION=0.8.31.36 cat >>confdefs.h <<_ACEOF1.37 @@ -6551,6 +6551,13 @@1.41 +# Check whether --enable-translator was given.1.42 +if test "${enable_translator+set}" = set; then1.43 + enableval=$enable_translator; true1.44 +else1.45 + enable_translator=yes1.46 +fi1.47 +1.48 # Check whether --enable-trace was given.1.49 if test "${enable_trace+set}" = set; then1.50 enableval=$enable_trace; if test "$enableval" == "yes"; then1.51 @@ -8636,18 +8643,21 @@1.55 -case $host_cpu in1.56 - i386|i486|i586|i686|x86_64)1.57 - SH4_TRANSLATOR="x86"1.58 +1.59 +if test "x$enable_translator" != "xno"; then1.60 + case $host_cpu in1.61 + i386|i486|i586|i686|x86_64)1.62 + SH4_TRANSLATOR="x86"1.64 cat >>confdefs.h <<_ACEOF1.65 #define SH4_TRANSLATOR TARGET_X861.66 _ACEOF1.67 ;;1.68 -esac1.69 -1.70 -1.71 -if test "$SH4_TRANSLATOR" = "x86" -o "$SH4_TRANSLATOR" = "x86_64"; then1.72 + esac1.73 +fi1.74 +1.75 +1.76 +if test "$SH4_TRANSLATOR" = "x86"; then1.77 BUILD_SH4X86_TRUE=1.78 BUILD_SH4X86_FALSE='#'1.79 else1.80 @@ -8656,16 +8666,6 @@1.81 fi1.84 -1.85 -if test "$SH4_TRANSLATOR" = "x86_64"; then1.86 - BUILD_X86_64_TRUE=1.87 - BUILD_X86_64_FALSE='#'1.88 -else1.89 - BUILD_X86_64_TRUE='#'1.90 - BUILD_X86_64_FALSE=1.91 -fi1.92 -1.93 -1.94 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then1.95 { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&51.96 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }1.97 @@ -11619,13 +11619,6 @@1.98 Usually this means the macro was only invoked conditionally." >&2;}1.99 { (exit 1); exit 1; }; }1.100 fi1.101 -if test -z "${BUILD_X86_64_TRUE}" && test -z "${BUILD_X86_64_FALSE}"; then1.102 - { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_X86_64\" was never defined.1.103 -Usually this means the macro was only invoked conditionally." >&51.104 -$as_echo "$as_me: error: conditional \"BUILD_X86_64\" was never defined.1.105 -Usually this means the macro was only invoked conditionally." >&2;}1.106 - { (exit 1); exit 1; }; }1.107 -fi1.108 if test -z "${AUDIO_OSX_TRUE}" && test -z "${AUDIO_OSX_FALSE}"; then1.109 { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_OSX\" was never defined.1.110 Usually this means the macro was only invoked conditionally." >&5
.