From 7d3018111c525b4d7d3f2619ded499ca031f88d3 Mon Sep 17 00:00:00 2001 From: cantor Date: Tue, 1 Jul 2003 15:47:56 +0000 Subject: [PATCH 1/1] Add --enable-tcp option. git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@611 cb58f699-b61c-0410-a6fe-9272a202ed29 --- configure.ac | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/configure.ac b/configure.ac index 897d9e5..80b9968 100644 --- a/configure.ac +++ b/configure.ac @@ -48,6 +48,19 @@ fi # Test RPC now -- deal with it later ACX_RPCTEST([rpctest="yes"],[rpctest="no"]) +# Determine whether to use TCP for the shar socket +AC_ARG_ENABLE([tcp], + AC_HELP_STRING([--enable-tcp], [enable the SHAR to use a TCP socket on Unix]), + [tcp_enabled=$enableval], [tcp_enabled=default]) + +if test "x$tcp_enabled" = "x" ; then + tcp_enabled=yes +fi + +if test "$tcp_enabled" = "yes" ; then + CFLAGS="$CFLAGS -DWANT_TCP_SHAR" +fi + AC_ARG_WITH(dmalloc, AC_HELP_STRING([--with-dmalloc=PATH], [where dmalloc is installed]), [if test x_$with_dmalloc != x_/usr; then -- 2.1.4