From 9b22df06ad5bca32167eeb5f7618415c2163a494 Mon Sep 17 00:00:00 2001 From: Benoit Sigoure Date: Sun, 19 Apr 2009 14:59:37 +0100 Subject: [PATCH] Look for Qt4 under /opt/local/libexec/qt4-mac/bin. This is the default path to which Qt4 is installed by recent MacPorts. Signed-off-by: Benoit Sigoure --- build-aux/autotroll.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build-aux/autotroll.m4 b/build-aux/autotroll.m4 index e6baacc..de73c9d 100644 --- a/build-aux/autotroll.m4 +++ b/build-aux/autotroll.m4 @@ -84,7 +84,7 @@ # them automagically for you (using implicit rules defined in autotroll.mk). m4_define([_AUTOTROLL_SERIAL], [m4_translit([ -# serial 3 +# serial 4 ], [# ], [])]) @@ -150,6 +150,9 @@ dnl Memo: AC_ARG_WITH(package, help-string, [if-given], [if-not-given]) tmp_qt_paths=`echo /usr/local/Trolltech/*/bin | tr ' ' '\n' | sort -nr \ | xargs | sed 's/ */:/g'` fi + # Path to which recent MacPorts (~v1.7) install Qt4. + test -d /opt/local/libexec/qt4-mac/bin \ + && tmp_qt_paths="$tmp_qt_paths:/opt/local/libexec/qt4-mac/bin" # Find qmake. AC_ARG_VAR([QMAKE], [Qt Makefile generator command]) -- 2.11.4.GIT