From: cantor Date: Tue, 1 Jul 2003 15:47:56 +0000 (+0000) Subject: Add --enable-tcp option. X-Git-Tag: 2.4~2249 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=7d3018111c525b4d7d3f2619ded499ca031f88d3;hp=055aa467b193f72ee0322ba34dd7573cd51568f6;p=shibboleth%2Fsp.git Add --enable-tcp option. git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@611 cb58f699-b61c-0410-a6fe-9272a202ed29 --- 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