summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-05-21 23:07:47 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-05-21 23:07:47 +0000
commita0637be926e6da5db8d131e7914f1300f484c626 (patch)
tree9de2d173b06d260553c48666e5811102e93e16fd /configure.ac
parentefdb2468119be0c62a379d91088a708ca8d37e1b (diff)
xtrans:
Create autoconf macro XTRANS_CONNECTION_FLAGS to provide standard set of --enable flags for which transports to support and common place to update for required libraries for platforms that need certain libs for certain transports ICE: Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro. X11: Moved transport type checks to new macro XTRANS_CONNECTION_FLAGS in xtrans.m4 in xtrans module so they can be shared by all modules using xtrans.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index be0ff59..dfa5ebf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,8 +27,9 @@ PKG_CHECK_MODULES(XTRANS, xtrans)
AC_SUBST(XTRANS_CFLAGS)
AC_SUBST(XTRANS_LIBS)
-AC_DEFINE(LOCALCONN, 1, [Support local connections])
-AC_DEFINE(UNIXCONN, 1, [Support UNIX socket connections])
+# Transport selection macro from xtrans.m4
+XTRANS_CONNECTION_FLAGS
+AC_DEFINE(ICE_t, 1, [Xtrans transport type])
# Checks for libraries.