mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
On Darwin/Mac OS X use diskutil to determine if the volume we configure on is a
case-sensitive one. If not, print out a message and a link to the guide that describes how to set one up. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30913 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1ecab59008
commit
3ecc528774
11
configure
vendored
11
configure
vendored
@ -399,6 +399,17 @@ if [ $targetArch = "x86" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# check for case-sensitive filesystem if on darwin
|
||||
if [ $buildPlatform = "darwin" ]; then
|
||||
diskutil info . | grep -i "case-sensitive" > /dev/null
|
||||
if [ $? != 0 ]; then
|
||||
echo "You need a case-sensitive file-system to build Haiku."
|
||||
echo "Please see the following guide on how to set one up:"
|
||||
echo "http://haiku-os.org/documents/dev/how_to_build_haiku_on_mac_os_x"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# create output directory
|
||||
if [ "$currentDir" = "$sourceDir" ]; then
|
||||
outputDir=$currentDir/generated
|
||||
|
Loading…
Reference in New Issue
Block a user