diff 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
line wrap: on
line diff
--- a/m4/m4_ax_have_qt.m4	Fri Apr 12 19:13:50 2024 -0400
+++ b/m4/m4_ax_have_qt.m4	Sun Apr 14 22:28:50 2024 -0400
@@ -77,7 +77,7 @@
   if test "$ver" ">" "Qt version 4"; then
     have_qt=yes
     # This pro file dumps qmake's variables, but it only works on Qt 5 or later
-    am_have_qt_dir=`mktemp -d`
+    am_have_qt_dir=$(mktemp -d || mktemp -d -t tmp)
     am_have_qt_pro="$am_have_qt_dir/test.pro"
     am_have_qt_stash="$am_have_qt_dir/.qmake.stash"
     am_have_qt_makefile="$am_have_qt_dir/Makefile"