summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@qt.io>2018-04-03 19:38:18 -0700
committerGabriel de Dietrich <gabriel.dedietrich@qt.io>2018-04-05 21:04:22 +0000
commitb6f7230cda02d9b11b309816ca1e41dbd2716fe0 (patch)
tree52082d0ac7e0b9e5014f65302133bffa54c1f962 /configure
parent8396162027bf65c5a0367d297fcf2b228ff2e85f (diff)
configure: Detect Cocoa instead of Carbon
Change-Id: I9d1ff47481ad450b4b57c82e15186657eb7dcf93 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 9757254097..2830a1b189 100755
--- a/configure
+++ b/configure
@@ -305,7 +305,7 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
BUILD_ON_MAC=no
-if [ -d /System/Library/Frameworks/Carbon.framework ]; then
+if [ -d /System/Library/Frameworks/Cocoa.framework ]; then
BUILD_ON_MAC=yes
fi
if [ "$OSTYPE" = "msys" ]; then