Revision 379f6698 configure
b/configure | ||
---|---|---|
184 | 184 |
linux_user="no" |
185 | 185 |
darwin_user="no" |
186 | 186 |
bsd_user="no" |
187 |
guest_base="" |
|
187 | 188 |
build_docs="yes" |
188 | 189 |
uname_release="" |
189 | 190 |
curses="yes" |
... | ... | |
465 | 466 |
;; |
466 | 467 |
--enable-bsd-user) bsd_user="yes" |
467 | 468 |
;; |
469 |
--enable-guest-base) guest_base="yes" |
|
470 |
;; |
|
471 |
--disable-guest-base) guest_base="no" |
|
472 |
;; |
|
468 | 473 |
--enable-uname-release=*) uname_release="$optarg" |
469 | 474 |
;; |
470 | 475 |
--sparc_cpu=*) |
... | ... | |
544 | 549 |
# If cpu ~= sparc and sparc_cpu hasn't been defined, plug in the right |
545 | 550 |
# ARCH_CFLAGS/ARCH_LDFLAGS (assume sparc_v8plus for 32-bit and sparc_v9 for 64-bit) |
546 | 551 |
# |
552 |
host_guest_base="no" |
|
547 | 553 |
case "$cpu" in |
548 | 554 |
sparc) if test -z "$sparc_cpu" ; then |
549 | 555 |
ARCH_CFLAGS="-m32 -mcpu=ultrasparc -D__sparc_v8plus__" |
... | ... | |
576 | 582 |
i386) |
577 | 583 |
ARCH_CFLAGS="-m32" |
578 | 584 |
ARCH_LDFLAGS="-m32" |
585 |
host_guest_base="yes" |
|
579 | 586 |
;; |
580 | 587 |
x86_64) |
581 | 588 |
ARCH_CFLAGS="-m64" |
582 | 589 |
ARCH_LDFLAGS="-m64" |
590 |
host_guest_base="yes" |
|
591 |
;; |
|
592 |
arm*) |
|
593 |
host_guest_base="yes" |
|
583 | 594 |
;; |
584 | 595 |
esac |
585 | 596 |
|
597 |
[ -z "$guest_base" ] && guest_base="$host_guest_base" |
|
598 |
|
|
586 | 599 |
if test x"$show_help" = x"yes" ; then |
587 | 600 |
cat << EOF |
588 | 601 |
|
... | ... | |
641 | 654 |
echo " --disable-darwin-user disable all darwin usermode emulation targets" |
642 | 655 |
echo " --enable-bsd-user enable all BSD usermode emulation targets" |
643 | 656 |
echo " --disable-bsd-user disable all BSD usermode emulation targets" |
657 |
echo " --enable-guest-base enable GUEST_BASE support for usermode" |
|
658 |
echo " emulation targets" |
|
659 |
echo " --disable-guest-base disable GUEST_BASE support" |
|
644 | 660 |
echo " --fmod-lib path to FMOD library" |
645 | 661 |
echo " --fmod-inc path to FMOD includes" |
646 | 662 |
echo " --oss-lib path to OSS library" |
... | ... | |
1446 | 1462 |
[ ! -z "$uname_release" ] && \ |
1447 | 1463 |
echo "uname -r $uname_release" |
1448 | 1464 |
echo "NPTL support $nptl" |
1465 |
echo "GUEST_BASE $guest_base" |
|
1449 | 1466 |
echo "vde support $vde" |
1450 | 1467 |
echo "AIO support $aio" |
1451 | 1468 |
echo "IO thread $io_thread" |
... | ... | |
2070 | 2087 |
if test "$target_user_only" = "yes" -a "$elfload32" = "yes"; then |
2071 | 2088 |
echo "TARGET_HAS_ELFLOAD32=y" >> $config_mak |
2072 | 2089 |
fi |
2090 |
if test "$target_user_only" = "yes" -a "$guest_base" = "yes"; then |
|
2091 |
echo "CONFIG_USE_GUEST_BASE=y" >> $config_mak |
|
2092 |
fi |
|
2073 | 2093 |
if test "$target_bsd_user" = "yes" ; then |
2074 | 2094 |
echo "CONFIG_BSD_USER=y" >> $config_mak |
2075 | 2095 |
fi |
Also available in: Unified diff