Search
lxdream.org :: lxdream/configure :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 734:f8fcc8322b45
prev720:b5594d1ac80a
next744:5ab610718918
author nkeynes
date Mon Jul 14 00:09:51 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Fix version number in configure.in
Remove obsolete x86_64 AM conditional
Add --disable-translator option for testing purposes
file annotate diff log raw
1.1 --- a/configure Sat Jul 05 11:57:36 2008 +0000
1.2 +++ b/configure Mon Jul 14 00:09:51 2008 +0000
1.3 @@ -746,8 +746,6 @@
1.4 VIDEO_NSGL_FALSE
1.5 BUILD_SH4X86_TRUE
1.6 BUILD_SH4X86_FALSE
1.7 -BUILD_X86_64_TRUE
1.8 -BUILD_X86_64_FALSE
1.9 AUDIO_OSX_TRUE
1.10 AUDIO_OSX_FALSE
1.11 PULSE_CFLAGS
1.12 @@ -804,6 +802,7 @@
1.13 enable_option_checking
1.14 enable_maintainer_mode
1.15 enable_dependency_tracking
1.16 +enable_translator
1.17 enable_trace
1.18 enable_watch
1.19 enable_sh4stats
1.20 @@ -1468,6 +1467,7 @@
1.21 (and sometimes confusing) to the casual installer
1.22 --disable-dependency-tracking speeds up one-time build
1.23 --enable-dependency-tracking do not reject slow dependency extractors
1.24 + --disable-translator Disable the SH4 translator (Enable by default)
1.25 --enable-trace Enable generation of IO traces (warning: hurts
1.26 performance)
1.27 --enable-watch Enable watchpoints in the debugger (warning: hurts
1.28 @@ -2276,7 +2276,7 @@
1.29
1.30 # Define the identity of the package.
1.31 PACKAGE=lxdream
1.32 - VERSION=0.8.1
1.33 + VERSION=0.8.3
1.34
1.35
1.36 cat >>confdefs.h <<_ACEOF
1.37 @@ -6551,6 +6551,13 @@
1.38
1.39
1.40
1.41 +# Check whether --enable-translator was given.
1.42 +if test "${enable_translator+set}" = set; then
1.43 + enableval=$enable_translator; true
1.44 +else
1.45 + enable_translator=yes
1.46 +fi
1.47 +
1.48 # Check whether --enable-trace was given.
1.49 if test "${enable_trace+set}" = set; then
1.50 enableval=$enable_trace; if test "$enableval" == "yes"; then
1.51 @@ -8636,18 +8643,21 @@
1.52
1.53
1.54
1.55 -case $host_cpu in
1.56 - i386|i486|i586|i686|x86_64)
1.57 - SH4_TRANSLATOR="x86"
1.58 +
1.59 +if test "x$enable_translator" != "xno"; then
1.60 + case $host_cpu in
1.61 + i386|i486|i586|i686|x86_64)
1.62 + SH4_TRANSLATOR="x86"
1.63
1.64 cat >>confdefs.h <<_ACEOF
1.65 #define SH4_TRANSLATOR TARGET_X86
1.66 _ACEOF
1.67 ;;
1.68 -esac
1.69 -
1.70 -
1.71 -if test "$SH4_TRANSLATOR" = "x86" -o "$SH4_TRANSLATOR" = "x86_64"; then
1.72 + esac
1.73 +fi
1.74 +
1.75 +
1.76 +if test "$SH4_TRANSLATOR" = "x86"; then
1.77 BUILD_SH4X86_TRUE=
1.78 BUILD_SH4X86_FALSE='#'
1.79 else
1.80 @@ -8656,16 +8666,6 @@
1.81 fi
1.82
1.83
1.84 -
1.85 -if test "$SH4_TRANSLATOR" = "x86_64"; then
1.86 - BUILD_X86_64_TRUE=
1.87 - BUILD_X86_64_FALSE='#'
1.88 -else
1.89 - BUILD_X86_64_TRUE='#'
1.90 - BUILD_X86_64_FALSE=
1.91 -fi
1.92 -
1.93 -
1.94 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
1.95 { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
1.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 fi
1.101 -if test -z "${BUILD_X86_64_TRUE}" && test -z "${BUILD_X86_64_FALSE}"; then
1.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." >&5
1.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 -fi
1.108 if test -z "${AUDIO_OSX_TRUE}" && test -z "${AUDIO_OSX_FALSE}"; then
1.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
.