aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-07-04 22:14:01 +0000
committerdos-reis <gdr@axiomatics.org>2011-07-04 22:14:01 +0000
commit096c66f423ee3b18b96025c85576f16cf08cabf5 (patch)
tree3269dfbd28787da9ae09295b3203c0b0ec6d382c /configure
parente1989d674ccc83e2ca332b1dad30cefff007c32b (diff)
downloadopen-axiom-096c66f423ee3b18b96025c85576f16cf08cabf5.tar.gz
* configure.ac: Use macx-g++ spec for QT when building for darwin
host using C++ compiler for GNU.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index 1be64aa6..1213f74a 100755
--- a/configure
+++ b/configure
@@ -23726,7 +23726,13 @@ fi
## Set up Makefile for QT-based gui
if test x$oa_has_qt = xyes; then
- (cd src/gui && $OA_QT_QMAKE -makefile gui.pro)
+ oa_qmake_spec=
+ case $host,$GXX in
+ *darwin*,yes)
+ oa_qmake_spec="-spec macx-g++"
+ ;;
+ esac
+ (cd src/gui && $OA_QT_QMAKE $oa_qmake_spec -makefile gui.pro)
fi
## Generate rules to extrad SPAD type definitions from pamphlets.