[PATCH app-xdm 6/9] config: comment libxtrans macros as they are order sensitive
Gaetan Nadon
memsize at videotron.ca
Fri Nov 12 16:59:31 PST 2010
XTRANS_SECURE_RPC_FLAGS must be called after XTRANS_CONNECTION_FLAGS
which finds libraries like -lsockect, -lnsl or -lws32_32.
The found libraries are pre-pended to $LIBS which is not obvious.
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
configure.ac | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 4d9f198..70d5676 100644
--- a/configure.ac
+++ b/configure.ac
@@ -107,8 +107,10 @@ CHOOSER_CFLAGS="$CHOOSER_CFLAGS"
AC_FUNC_FORK
+# Find needed libraries for TCP sockets (pre-pended in $LIBS)
XTRANS_CONNECTION_FLAGS
-dnl Sets $SECURE_RPC to "yes" or "no"
+
+# Sets $SECURE_RPC to "yes" or "no" using libraries found above from $LIBS
XTRANS_SECURE_RPC_FLAGS
AM_CONDITIONAL(HAS_SECURE_RPC, test x$SECURE_RPC = xyes)
--
1.6.0.4
More information about the xorg-devel
mailing list