comparison configure.ac @ 240:6ffe42286978

m4: use different method for CXXFLAGS
author Paper <paper@paper.us.eu.org>
date Fri, 19 Jan 2024 13:47:56 -0500
parents cae61340cc86
children 06d6c351925c
comparison
equal deleted inserted replaced
239:cae61340cc86 240:6ffe42286978
21 have_qt=no 21 have_qt=no
22 # Qt? 22 # Qt?
23 AX_HAVE_QT 23 AX_HAVE_QT
24 24
25 if test "x$have_qt" = "xno"; then 25 if test "x$have_qt" = "xno"; then
26 PKG_CHECK_MODULES([QT], [Qt6Widgets >= 6.0.0], [have_qt=yes], []) 26 PKG_CHECK_MODULES([QT], [Qt6Widgets >= 6.0.0], [have_qt=yes], [true])
27 # prioritize qt 5 27 # prioritize qt 5
28 PKG_CHECK_MODULES([QT], [Qt5Widgets >= 5.15.0], [have_qt=yes], []) 28 PKG_CHECK_MODULES([QT], [Qt5Widgets >= 5.15.0], [have_qt=yes], [true])
29 29
30 if test "x$have_qt" = "xno"; then 30 if test "x$have_qt" = "xno"; then
31 AC_MSG_ERROR([*** Qt not found.]) 31 AC_MSG_ERROR([*** Qt not found.])
32 fi 32 fi
33 33