diff 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
line wrap: on
line diff
--- a/configure.ac	Fri Jan 19 12:29:53 2024 -0500
+++ b/configure.ac	Fri Jan 19 13:47:56 2024 -0500
@@ -23,9 +23,9 @@
 AX_HAVE_QT
 
 if test "x$have_qt" = "xno"; then
-	PKG_CHECK_MODULES([QT], [Qt6Widgets >= 6.0.0], [have_qt=yes], [])
+	PKG_CHECK_MODULES([QT], [Qt6Widgets >= 6.0.0], [have_qt=yes], [true])
 	# prioritize qt 5
-	PKG_CHECK_MODULES([QT], [Qt5Widgets >= 5.15.0], [have_qt=yes], [])
+	PKG_CHECK_MODULES([QT], [Qt5Widgets >= 5.15.0], [have_qt=yes], [true])
 
 	if test "x$have_qt" = "xno"; then
 		AC_MSG_ERROR([*** Qt not found.])