diff --git a/configure b/configure index 8b25e3f1a..7e1a2ffe6 100755 --- a/configure +++ b/configure @@ -688,6 +688,7 @@ infodir docdir oldincludedir includedir +runstatedir localstatedir sharedstatedir sysconfdir @@ -779,6 +780,7 @@ datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' +runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' @@ -1031,6 +1033,15 @@ do | -silent | --silent | --silen | --sile | --sil) silent=yes ;; + -runstatedir | --runstatedir | --runstatedi | --runstated \ + | --runstate | --runstat | --runsta | --runst | --runs \ + | --run | --ru | --r) + ac_prev=runstatedir ;; + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ + | --run=* | --ru=* | --r=*) + runstatedir=$ac_optarg ;; + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ @@ -1168,7 +1179,7 @@ fi for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir + libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. @@ -1321,6 +1332,7 @@ Fine tuning of the installation directories: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] @@ -4477,6 +4489,10 @@ $as_echo "not found" >&6; } fi +if test "x$QT_QMAKE" = "x"; then : + as_fn_error $? "Could not find qmake" "$LINENO" 5 + +fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether QtDBus should be enabled" >&5 $as_echo_n "checking whether QtDBus should be enabled... " >&6; } case "x$enable_qt_dbus" in #( diff --git a/configure.ac b/configure.ac index 872dfe3ff..c77d9f936 100644 --- a/configure.ac +++ b/configure.ac @@ -116,6 +116,9 @@ AS_CASE(["x$enable_webui"], AC_MSG_ERROR([Unknown option "$enable_webui". Use either "yes" or "no".])]) FIND_QT5() +AS_IF([test "x$QT_QMAKE" = "x"], + [AC_MSG_ERROR([Could not find qmake]) + ]) AC_MSG_CHECKING([whether QtDBus should be enabled]) AS_CASE(["x$enable_qt_dbus"], ["xyes"],