comparison configure.ac @ 241:06d6c351925c

*: reorganize resources, +docs, build translations with autotools
author Paper <paper@paper.us.eu.org>
date Mon, 22 Jan 2024 16:36:19 -0500
parents 6ffe42286978
children 6b2441c776dd
comparison
equal deleted inserted replaced
240:6ffe42286978 241:06d6c351925c
16 16
17 # Init libtool 17 # Init libtool
18 AM_PROG_AR 18 AM_PROG_AR
19 LT_INIT 19 LT_INIT
20 20
21 have_qt=no
22 # Qt? 21 # Qt?
23 AX_HAVE_QT 22 AX_HAVE_QT
24 23
25 if test "x$have_qt" = "xno"; then 24 if test "x$have_qt" = "xno"; then
26 PKG_CHECK_MODULES([QT], [Qt6Widgets >= 6.0.0], [have_qt=yes], [true]) 25 AC_MSG_ERROR([*** Qt not found.])
27 # prioritize qt 5
28 PKG_CHECK_MODULES([QT], [Qt5Widgets >= 5.15.0], [have_qt=yes], [true])
29
30 if test "x$have_qt" = "xno"; then
31 AC_MSG_ERROR([*** Qt not found.])
32 fi
33
34 QT_CXXFLAGS=$QT_CFLAGS
35 AC_SUBST([QT_CXXFLAGS])
36 fi 26 fi
37 27
38 # need this for moc 28 # need this for moc
39 AC_PROG_MKDIR_P 29 AC_PROG_MKDIR_P
40 30