Mercurial > minori
comparison m4/m4_ax_have_qt.m4 @ 271:f01b6e9c8fa2
dep/animone: make OS X code build
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 14 Apr 2024 22:28:50 -0400 |
parents | 09c5bd74fe93 |
children |
comparison
equal
deleted
inserted
replaced
270:0718f538c5f9 | 271:f01b6e9c8fa2 |
---|---|
75 ver=`$QMAKE --version | grep -o "Qt version ."` | 75 ver=`$QMAKE --version | grep -o "Qt version ."` |
76 | 76 |
77 if test "$ver" ">" "Qt version 4"; then | 77 if test "$ver" ">" "Qt version 4"; then |
78 have_qt=yes | 78 have_qt=yes |
79 # This pro file dumps qmake's variables, but it only works on Qt 5 or later | 79 # This pro file dumps qmake's variables, but it only works on Qt 5 or later |
80 am_have_qt_dir=`mktemp -d` | 80 am_have_qt_dir=$(mktemp -d || mktemp -d -t tmp) |
81 am_have_qt_pro="$am_have_qt_dir/test.pro" | 81 am_have_qt_pro="$am_have_qt_dir/test.pro" |
82 am_have_qt_stash="$am_have_qt_dir/.qmake.stash" | 82 am_have_qt_stash="$am_have_qt_dir/.qmake.stash" |
83 am_have_qt_makefile="$am_have_qt_dir/Makefile" | 83 am_have_qt_makefile="$am_have_qt_dir/Makefile" |
84 am_have_qt_makefile_vars="$am_have_qt_dir/Makefile.vars" | 84 am_have_qt_makefile_vars="$am_have_qt_dir/Makefile.vars" |
85 # http://qt-project.org/doc/qt-5/qmake-variable-reference.html#qt | 85 # http://qt-project.org/doc/qt-5/qmake-variable-reference.html#qt |