Search
lxdream.org :: lxdream :: r528:49cb007348aa
lxdream 0.9.1
released Jun 29
Download Now
changeset528:49cb007348aa
parent527:14c9489f647e
child529:06ffbecc7262
authornkeynes
dateSun Nov 18 11:13:42 2007 +0000 (12 years ago)
Change SH4_TRANSLATOR to use defined constants
configure
configure.in
1.1 --- a/configure Sun Nov 18 11:12:44 2007 +0000
1.2 +++ b/configure Sun Nov 18 11:13:42 2007 +0000
1.3 @@ -5516,14 +5516,14 @@
1.4 SH4_TRANSLATOR="x86"
1.5
1.6 cat >>confdefs.h <<_ACEOF
1.7 -#define SH4_TRANSLATOR "x86"
1.8 +#define SH4_TRANSLATOR TARGET_X86
1.9 _ACEOF
1.10 ;;
1.11 x86_64)
1.12 SH4_TRANSLATOR="x86_64"
1.13
1.14 cat >>confdefs.h <<_ACEOF
1.15 -#define SH4_TRANSLATOR "x86_64"
1.16 +#define SH4_TRANSLATOR TARGET_X86_64
1.17 _ACEOF
1.18 ;;
1.19 *)
2.1 --- a/configure.in Sun Nov 18 11:12:44 2007 +0000
2.2 +++ b/configure.in Sun Nov 18 11:13:42 2007 +0000
2.3 @@ -30,10 +30,10 @@
2.4 case $host_cpu in
2.5 i386|i486|i586|i686)
2.6 SH4_TRANSLATOR="x86"
2.7 - AC_DEFINE_UNQUOTED(SH4_TRANSLATOR,["x86"], [SH4 Translator to use (if any)] );;
2.8 + AC_DEFINE_UNQUOTED(SH4_TRANSLATOR,[TARGET_X86], [SH4 Translator to use (if any)] );;
2.9 x86_64)
2.10 SH4_TRANSLATOR="x86_64"
2.11 - AC_DEFINE_UNQUOTED(SH4_TRANSLATOR,["x86_64"], [SH4 Translator to use (if any)] );;
2.12 + AC_DEFINE_UNQUOTED(SH4_TRANSLATOR,[TARGET_X86_64], [SH4 Translator to use (if any)] );;
2.13 *)
2.14 echo "Warning: No translator available for $host. Building emulation core only";;
2.15 esac
.