File: qt6-autotools

package info (click to toggle)
gecode-snapshot 6.2.0%2Bgit20240207-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 35,308 kB
  • sloc: cpp: 475,516; perl: 2,077; makefile: 1,816; sh: 198
file content (13 lines) | stat: -rw-r--r-- 558 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/gecode.m4
+++ b/gecode.m4
@@ -1321,8 +1321,8 @@
   AC_ARG_ENABLE([qt],
     AS_HELP_STRING([--enable-qt],
       [build with Qt support, requires at least Qt 4.3 @<:@default=yes@:>@]))
-  AC_CHECK_PROGS(QMAKE, [qmake-qt4 qmake])
-  AC_CHECK_PROGS(MOC, [moc-qt4 moc])
+  AC_CHECK_PROGS(QMAKE, [qmake-qt4 qmake qmake6])
+  AC_CHECK_PROGS(MOC, [moc-qt4 moc], [], [/usr/bin:/bin:/usr/lib/qt6/libexec])
   AC_MSG_CHECKING(whether to build with Qt support)
   if test "${enable_qt:-yes}" = "yes"; then
     if test "${QMAKE}x" = "x" -o "${MOC}x" = "x"; then