VirtualBox

Changeset 8070 in vbox


Ignore:
Timestamp:
Apr 16, 2008 10:04:09 PM (17 years ago)
Author:
vboxsync
Message:

Check for leopard and set VBOX_TARGET_MAC_OS_X_VERSION_10_5 if found. (should check the SDK version and not the kernel version, but this'll will have to do for the present.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r8069 r8070  
    14921492
    14931493#
     1494# Determins the darwin version.
     1495# @todo This should really check the Xcode/SDK version.
     1496#
     1497check_darwinversion()
     1498{
     1499  test_header "Darwin version"
     1500  darwin_ver=`uname -r`
     1501  case "$darwin_ver" in
     1502    9\.*)
     1503      darwin_ver="10.5"
     1504      cnf_append "VBOX_TARGET_MAC_OS_X_VERSION_10_5" "1"
     1505      ;;
     1506    8\.*)
     1507      darwin_ver="10.5"
     1508      ;;
     1509    *)
     1510      echo "  failed to determin darwin version. (uname -r: $darwin_ver)"
     1511      fail
     1512      darwin_ver="unknown"
     1513      ;;
     1514  esac
     1515  log_success "found version $darwin_ver"
     1516}
     1517
     1518
     1519#
    14941520# Show help
    14951521#
     
    17721798
    17731799[ -n "$SETUP_WINE" ] && setup_wine
     1800
     1801# Darwin-specific
     1802if [ "$OS" = "darwin" ]; then
     1803  check_darwinversion
     1804fi
    17741805
    17751806# success!
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