From b1c8bdc899cd276fcb90ad424b128bd7d8a21e21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?= <morten.sorvig@nokia.com>
Date: Thu, 15 Apr 2010 11:12:19 +0200
Subject: 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.
---
 configure | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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'`
-- 
cgit v0.12