aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/configure.ac
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-02-28 23:57:36 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-10-17 22:01:46 +0200
commit94fcba361060b2e8da9eba395ffc5d4b7978ea47 (patch)
tree99c7aab0070dc67a9b0523a9d023c7343f1c5b3c /nx-X11/lib/configure.ac
parentb4124219afdf4c5bb5dc2e9584bbec8ab5c19758 (diff)
downloadnx-libs-94fcba361060b2e8da9eba395ffc5d4b7978ea47.tar.gz
nx-libs-94fcba361060b2e8da9eba395ffc5d4b7978ea47.tar.bz2
nx-libs-94fcba361060b2e8da9eba395ffc5d4b7978ea47.zip
libNX_X11: set FAIL_HARD
as it has been in the imake builds Fixes ArcticaProject/nx-libs#783
Diffstat (limited to 'nx-X11/lib/configure.ac')
-rw-r--r--nx-X11/lib/configure.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/nx-X11/lib/configure.ac b/nx-X11/lib/configure.ac
index 81647aee7..09204bba6 100644
--- a/nx-X11/lib/configure.ac
+++ b/nx-X11/lib/configure.ac
@@ -67,9 +67,22 @@ m4_pattern_forbid([^NX_XTRANS_CONNECTION_FLAGS$])
# Transport selection macro from nx-xtrans.m4
NX_XTRANS_CONNECTION_FLAGS
+
# Secure RPC detection macro from xtrans.m4
NX_XTRANS_SECURE_RPC_FLAGS
+# Original comments regarding FAIL_HARD from libxtrans:
+# "fail hard if socket directories cannot be chowned to root or
+# chmod'ed to the requested mode if 'sticky' bit is requested for this
+# directory instead of just print a warning that will remain unnoticed
+# most of the times.
+# Set the define XtransFailSoft to restore the old
+# behavior to fail softly when socket directory cannot chowned/chmod
+# to correct user/group."
+#
+# -> we want to always fail in that scenario.
+AC_DEFINE(FAIL_HARD,1,[Fail if the xtrans socket directory has wrong permissions])
+
# Check for dlopen
AC_MSG_CHECKING([if run-time linking is supported])
AC_SEARCH_LIBS(dlopen,[dl svld])