summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2010-04-15 09:12:19 (GMT)
committerMorten Johan Sørvig <morten.sorvig@nokia.com>2010-04-15 09:12:19 (GMT)
commitb1c8bdc899cd276fcb90ad424b128bd7d8a21e21 (patch)
treefbd09a949aafef9ad0d1c1061b3b1b70c7311e60 /configure
parent1396194f7e7914b941022b808d6b01b3c9158609 (diff)
downloadQt-b1c8bdc899cd276fcb90ad424b128bd7d8a21e21.zip
Qt-b1c8bdc899cd276fcb90ad424b128bd7d8a21e21.tar.gz
Qt-b1c8bdc899cd276fcb90ad424b128bd7d8a21e21.tar.bz2
Disable debug-only framework builds on Mac.
("Fixes" WebKit build error with ./configure -debug) This puts the build system in an inconsistent state: We configure for debug only but still build both debug and release binaries. Use -no-framework of you want a pure debug build.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index d6e401b..634f0a2 100755
--- a/configure
+++ b/configure
@@ -7968,8 +7968,10 @@ if [ "$CFG_OPENSSL" = "linked" ] && [ "$OPENSSL_LIBS" = "" ]; then
fi
if [ "$PLATFORM_MAC" = "yes" ] && [ "$CFG_FRAMEWORK" = "yes" ] && [ "$CFG_DEBUG" = "yes" ] && [ "$CFG_DEBUG_RELEASE" = "no" ]; then
echo
- echo "NOTE: Mac OS X frameworks implicitly build debug and release Qt libraries."
+ echo "Error: debug-only framework builds are not supported. Configure with -no-framework"
+ echo "if you want a pure debug build."
echo
+ exit 1
fi
sepath=`echo "$relpath" | sed -e 's/\\./\\\\./g'`