Merge pull request #347 from kleetus/bug/missing_headers

Checking for missing headers
This commit is contained in:
Patrick Nagurny 2015-10-27 10:19:32 -04:00
commit 0c3ea838b9

View File

@ -13,7 +13,7 @@ host="${arch}"-"${platform}"
mac_response=
check_mac_build_system () {
if [ "${platform}" == "darwin" ]; then
if [ ! -d "/usr/include" ]; then
if [ ! -e "/usr/include/stdlib.h" ]; then
if hash xcode-select 2>/dev/null; then
mac_response="Please run 'xcode-select --install' from the command line because it seems that you've got Xcode, but not the Xcode command line tools that are required for compiling this project from source..."
else