aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@axiomatics.org>2016-02-07 04:14:05 -0800
committerGabriel Dos Reis <gdr@axiomatics.org>2016-02-07 04:14:05 -0800
commit51e79f0190ef9781ad2b695e413a96aad07eb7da (patch)
treeb862ca958eaf174f7b63d1346c8999f20f52dde4 /config
parentdcc3ba9f9929cfc3047bd2738ee8fa4d88804ca4 (diff)
downloadopen-axiom-51e79f0190ef9781ad2b695e413a96aad07eb7da.tar.gz
Look for QT5 in /opt/local/libexec/qt5 on OS X
Diffstat (limited to 'config')
-rw-r--r--config/open-axiom.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/config/open-axiom.m4 b/config/open-axiom.m4
index 747319aa..ac4610b8 100644
--- a/config/open-axiom.m4
+++ b/config/open-axiom.m4
@@ -43,6 +43,20 @@ case $host in
esac
])
+dnl ------------------------------------------
+dnl -- OPENAXIOM_CHECK_FOR_ADDITIONAL_PATHS --
+dnl ------------------------------------------
+AC_DEFUN([OPENAXIOM_CHECK_FOR_ADDITIONAL_PATHS],[
+# If there is a MacPort installation of QT5, use it.
+case $host in
+ *darwin*)
+ if test -d /opt/local/libexec/qt5; then
+ PATH=/opt/local/libexec/qt5/bin:$PATH
+ fi
+ ;;
+esac
+])
+
dnl ----------------------------------
dnl -- OPENAXIOM_REJECT_ROTTED_LISP --
dnl ----------------------------------