summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@trolltech.com>2011-06-23 06:59:51 -0300
committerAlexis Menard <alexis.menard@trolltech.com>2011-06-23 06:59:51 -0300
commite1c651f1284f1041ba5e03246686018e363d0e44 (patch)
treecb482b45dc7adcc15ed8f85901d52f0440ae6dbe /configure
parent221fa23ed7307a42e576a6070e37d0152c6a8d08 (diff)
parentfa0332ce6cec38e3ba9396c4c535e65cc8e10770 (diff)
Merge branch '4.8' of git://gitorious.org/qt/qt into 4.8
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure b/configure
index f99ab32944..ec04414148 100755
--- a/configure
+++ b/configure
@@ -5112,6 +5112,19 @@ if [ "$XPLATFORM_SYMBIAN" = "yes" ]; then
fi
fi
+# check IPC support
+if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/ipc_sysv "ipc_sysv" $L_FLAGS $I_FLAGS $l_FLAGS ; then
+ # SYSV IPC is not supported - check POSIX IPC
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/ipc_posix "ipc_posix" $L_FLAGS $I_FLAGS $l_FLAGS ; then
+ QCONFIG_FLAGS="$QCONFIG_FLAGS QT_POSIX_IPC"
+ else
+ QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SYSTEMSEMAPHORE QT_NO_SHAREDMEMORY"
+ if [ "$PLATFORM_QWS" = "yes" ]; then
+ QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SEMAPHORE QT_NO_QWS_MULTIPROCESS QT_NO_QWS_SHARE_FONTS"
+ fi
+ fi
+fi
+
# detect zlib
if [ "$CFG_ZLIB" = "no" ]; then
# Note: Qt no longer support builds without zlib