Ticket #4369: configure.diff

File configure.diff, 1019 bytes (added by VinDuv, 10 years ago)

OS-neutral patch

  • configure

     
    409409    fi
    410410fi
    411411
    412 # check for case-sensitive filesystem if on darwin
    413 if [ $buildPlatform = "darwin" ]; then
    414     diskutil info . | grep -i "case-sensitive" > /dev/null
    415     if [ $? != 0 ]; then
    416         echo "You need a case-sensitive file-system to build Haiku."
    417         echo "Please see the following guide on how to set one up:"
    418         echo "http://haiku-os.org/documents/dev/how_to_build_haiku_on_mac_os_x"
    419         exit 1
    420     fi
     412# check for case-sensitive filesystem
     413mkdir case_sensitive_test && rmdir CASE_SENSITIVE_TEST 2> /dev/null
     414
     415if [ $? = 0 ]; then
     416    echo "You need a case-sensitive file-system to build Haiku."
     417    echo "Please see the developer guides on how to set one up:"
     418    echo "http://www.haiku-os.org/documents/dev"
     419    exit 1
    421420fi
    422421
     422rmdir case_sensitive_test
     423
    423424# create output directory
    424425if [ "$currentDir" = "$sourceDir" ]; then
    425426    outputDir=$currentDir/generated