--- qwtbuild.pri.orig	2011-06-15 17:06:50.000000000 +0200
+++ qwtbuild.pri	2011-06-15 17:02:59.000000000 +0200
@@ -14,7 +14,6 @@
 CONFIG           += qt     
 CONFIG           += warn_on
 CONFIG           += no_keywords
-CONFIG           += silent
 
 ######################################################################
 # release/debug mode
@@ -32,7 +31,7 @@
 }
 else {
 
-    CONFIG           += release
+    CONFIG           += @ARCHES@ release
 
     VER_MAJ           = $${QWT_VER_MAJ}
     VER_MIN           = $${QWT_VER_MIN}
@@ -40,9 +39,6 @@
     VERSION           = $${QWT_VERSION}
 }
 
-linux-g++ {
-    # CONFIG           += separate_debug_info
-}
 
 ######################################################################
 # paths for building qwt
@@ -53,17 +49,3 @@
 !debug_and_release {
     OBJECTS_DIR       = obj
 }
-
-unix {
-
-    exists( $${QMAKE_LIBDIR_QT}/libqwt.* ) {
-
-        # On some Linux distributions the Qwt libraries are installed 
-        # in the same directory as the Qt libraries. Unfortunately
-        # qmake always adds QMAKE_LIBDIR_QT at the beginning of the 
-        # linker path, so that the installed libraries will be
-        # used instead of the local ones.
-
-        error( "local build will conflict with $${QMAKE_LIBDIR_QT}/libqwt.*" )
-    }
-}
