Search
lxdream.org :: lxdream/configure.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename configure.in
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.in Sat Jul 05 11:57:36 2008 +0000
1.2 +++ b/configure.in Mon Jul 14 00:09:51 2008 +0000
1.3 @@ -1,7 +1,7 @@
1.4 dnl Process this file with autoconf to produce a configure script.
1.5
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.9 AM_MAINTAINER_MODE
1.10 AM_CONFIG_HEADER(config.h)
1.11
1.12 @@ -19,6 +19,9 @@
1.13
1.14 dnl ---------------- enable/with flags ------------------
1.15
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.24
1.25
1.26 -dnl Check for a supported cpu target for translation purposes
1.27 -case $host_cpu in
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.31 -esac
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.35 +
1.36 +if test "x$enable_translator" != "xno"; then
1.37 + case $host_cpu in
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.41 + esac
1.42 +fi
1.43 +AM_CONDITIONAL(BUILD_SH4X86, [test "$SH4_TRANSLATOR" = "x86"])
1.44
1.45 dnl ------------------ Optional driver support -------------------
1.46 dnl Check for Apple CoreAudio
.