1.1 --- a/configure.in Sat Jul 05 11:57:36 2008 +0000
1.2 +++ b/configure.in Mon Jul 14 07:42:45 2008 +0000
1.4 dnl Process this file with autoconf to produce a configure script.
1.6 AC_INIT(configure.in)
1.7 -AM_INIT_AUTOMAKE(lxdream, 0.8.1)
1.8 +AM_INIT_AUTOMAKE(lxdream, 0.8.3)
1.10 AM_CONFIG_HEADER(config.h)
1.14 dnl ---------------- enable/with flags ------------------
1.16 +AC_ARG_ENABLE( translator,
1.17 + AS_HELP_STRING( [--disable-translator], [Disable the SH4 translator (Enable by default)]),
1.18 + [true], [enable_translator=yes] )
1.19 AC_ARG_ENABLE( trace,
1.20 AS_HELP_STRING( [--enable-trace], [Enable generation of IO traces (warning: hurts performance)]),
1.21 [if test "$enableval" == "yes"; then
1.22 @@ -149,14 +152,16 @@
1.23 AC_CHECK_FUNC(glClampColorARB, [ AC_DEFINE([HAVE_OPENGL_CLAMP_COLOR],1,[Have Color Clamp]) ], [])
1.26 -dnl Check for a supported cpu target for translation purposes
1.28 - i386|i486|i586|i686|x86_64)
1.29 - SH4_TRANSLATOR="x86"
1.30 - AC_DEFINE_UNQUOTED(SH4_TRANSLATOR,[TARGET_X86], [SH4 Translator to use (if any)] );;
1.32 -AM_CONDITIONAL(BUILD_SH4X86, [test "$SH4_TRANSLATOR" = "x86" -o "$SH4_TRANSLATOR" = "x86_64"])
1.33 -AM_CONDITIONAL(BUILD_X86_64, [test "$SH4_TRANSLATOR" = "x86_64"])
1.34 +dnl ------------------- SH4 translator target -------------------
1.36 +if test "x$enable_translator" != "xno"; then
1.38 + i386|i486|i586|i686|x86_64)
1.39 + SH4_TRANSLATOR="x86"
1.40 + AC_DEFINE_UNQUOTED(SH4_TRANSLATOR,[TARGET_X86], [SH4 Translator to use (if any)] );;
1.43 +AM_CONDITIONAL(BUILD_SH4X86, [test "$SH4_TRANSLATOR" = "x86"])
1.45 dnl ------------------ Optional driver support -------------------
1.46 dnl Check for Apple CoreAudio