VirtualBox

Changeset 26695 in vbox for trunk


Ignore:
Timestamp:
Feb 23, 2010 9:50:06 AM (15 years ago)
Author:
vboxsync
Message:

configure: introduced --disable-vmmraw

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r26687 r26695  
    7878WITH_XPCOM=1
    7979WITH_PYTHON=1
     80WITH_VMMRAW=1
    8081WITH_LIBIDL=1
    8182WITH_GSOAP=0
     
    421422        [ -z "$CXX64" ] && CXX64="$CXX -m64"
    422423      fi
     424      if [ "$TARGET_MACHINE" = "amd64" -a $WITH_VMMRAW -eq 0 ]; then
     425        CC32="undefined"
     426        CXX32="undefined"
     427      fi
    423428      if [ "$CC" != "gcc" ]; then
    424429        cnf_append "TOOL_GCC3_CC"   "$CC"
     
    433438        cnf_append "TOOL_GXX3_LD"   "$CXX"
    434439      fi
    435       if [ "$CC32" != "gcc -m32" ]; then
     440      if [ "$CC32" != "gcc -m32" -a "$CC32" != "undefined" ]; then
    436441        cnf_append "TOOL_GCC32_CC"  "$CC32"
    437442        cnf_append "TOOL_GCC32_AS"  "$CC32"
     
    440445        cnf_append "TOOL_GXX32_AS"  "$CC32"
    441446      fi
    442       if [ "$CXX32" != "g++ -m32" ]; then
     447      if [ "$CXX32" != "g++ -m32" -a "$CXX32" != "undefined" ]; then
    443448        cnf_append "TOOL_GCC32_CXX" "$CXX32"
    444449        cnf_append "TOOL_GXX32_CXX" "$CXX32"
     
    19881993[ $WITH_XPCOM   -eq 1 ] && echo "  --disable-xpcom          disable XPCOM and related stuff"
    19891994[ $WITH_PYTHON  -eq 1 ] && echo "  --disable-python         disable python bindings"
     1995[ $WITH_VMMRAW  -eq 1 ] && echo "  --disable-vmmraw         disable VMM raw mode (VT-x/AMD-V mandatory!)"
    19901996[ $WITH_SDL_TTF -eq 1 ] && echo "  --disable-sdl-ttf        disable SDL_ttf detection"
    19911997[ $WITH_ALSA    -eq 1 ] && echo "  --disable-alsa           disable the ALSA sound backend"
     
    21162122    --disable-python)
    21172123      [ $WITH_PYTHON -eq 1 ] && WITH_PYTHON=0
     2124      ;;
     2125    --disable-vmmraw)
     2126      [ $WITH_VMMRAW -eq 1 ] && WITH_VMMRAW=0
    21182127      ;;
    21192128    --disable-sdl-ttf)
     
    23102319[ $WITH_HARDENING -eq 0 ] && cnf_append "VBOX_WITHOUT_HARDENING" "1"
    23112320[ $WITH_HARDENING -eq 2 ] && cnf_append "VBOX_WITH_HARDENING" "2"
     2321[ $WITH_VMMRAW -eq 0 ]    && cnf_append "VBOX_WITH_RAW_MODE" ""
    23122322
    23132323# Darwin-specific
     
    23762386  check_libcap
    23772387  check_compiler_h
    2378   [ "$BUILD_MACHINE" = "amd64" ] && check_32bit
     2388  [ "$BUILD_MACHINE" = "amd64" -a $WITH_VMMRAW -eq 1 ] && check_32bit
    23792389fi
    23802390
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette