From 0618df6af020e361e57329d6f4113a8697115a72 Mon Sep 17 00:00:00 2001 From: Rafael Roquetto Date: Thu, 11 Jun 2015 09:26:28 -0300 Subject: [PATCH] Add QNX support to configure.ac * Disable -Werror or hell breaks loose * Disable X11, otherwise the headers of the build host will be erroneously * added to the include path. --- configure.ac | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index fd0600f..554927d 100644 --- a/configure.ac +++ b/configure.ac @@ -91,6 +91,8 @@ LT_LANG([Windows Resource]) dbus_win=no dbus_cygwin=no dbus_unix=no +dbus_qnx=no +enable_x=no case "${host}" in *-mingw32ce*) dbus_win=yes @@ -103,8 +105,13 @@ case "${host}" in dbus_cygwin=yes dbus_unix=yes ;; + *-qnx*) + dbus_unix=yes + dbus_qnx=yes + ;; *) dbus_unix=yes + enable_x=yes ;; esac @@ -1302,7 +1309,7 @@ if test "x$dbus_win" = xyes; then else AC_PATH_XTRA - if test "x$no_x" = xyes; then + if test "x$enable_x" = xno; then have_x11=no else have_x11=yes @@ -1348,7 +1355,7 @@ TP_COMPILER_WARNINGS([WARNING_CFLAGS], dnl - we're not on Windows (too many warnings), and dnl - we're in developer mode (a D-Bus developer, not a distro or end-user) dnl Override with --enable-Werror or --disable-Werror - [test x$dbus_win != xyes -a x$dbus_cygwin != xyes -a x$enable_developer = xyes], + [test x$dbus_win != xyes -a x$dbus_cygwin != xyes -a x$enable_developer = xyes -a x$dbus_qnx != xyes], dnl Enable these warnings if possible: [all \ -- 2.4.1