aboutsummaryrefslogtreecommitdiff
path: root/src/appl/simple/client/configure.in
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-09-15 09:03:42 +0000
committerTheodore Tso <tytso@mit.edu>1995-09-15 09:03:42 +0000
commit81fa3c450617cd222d0bf22caabe7ab35ea36dfa (patch)
tree00b5bae917e38d6bed9c09f691e242a295a6e9b7 /src/appl/simple/client/configure.in
parentdca7f60026e64d2c463f1a679eca9d87d533ab15 (diff)
downloadkrb5-81fa3c450617cd222d0bf22caabe7ab35ea36dfa.zip
krb5-81fa3c450617cd222d0bf22caabe7ab35ea36dfa.tar.gz
krb5-81fa3c450617cd222d0bf22caabe7ab35ea36dfa.tar.bz2
sim_client.c (main): Added better options parsing for more flexibility
in calling this program. Worked around breakage in the Solaris Streams Sockets emulation where getsockname() can not be used to find out the address of a network interface. configure.in: If we are including both -lsocket and -lnsl, #define BROKEN_STREAMS_SOCKETS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6791 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/simple/client/configure.in')
-rw-r--r--src/appl/simple/client/configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/appl/simple/client/configure.in b/src/appl/simple/client/configure.in
index 657e99f..a942368 100644
--- a/src/appl/simple/client/configure.in
+++ b/src/appl/simple/client/configure.in
@@ -2,6 +2,9 @@ AC_INIT(sim_client.c)
CONFIG_RULES
AC_PROG_INSTALL
AC_CHECK_HEADERS(stdlib.h)
+if test "$ac_cv_lib_socket" = "yes" -a "$ac_cv_lib_nsl" = "yes"; then
+ AC_DEFINE(BROKEN_STREAMS_SOCKETS)
+fi
KRB5_LIBRARIES
V5_USE_SHARED_LIB
V5_AC_OUTPUT_MAKEFILE