summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1997-10-10 01:00:54 +0000
committerTom Yu <tlyu@mit.edu>1997-10-10 01:00:54 +0000
commit36397d3050c5c74aaf92bed8d69214bfb7f198e5 (patch)
tree87db31fa0402ba546e07f3ecfebcc178e61e07b6 /src/lib
parenta7fa484cd3c91521819b30daf2d3033d036cccdc (diff)
downloadkrb5-36397d3050c5c74aaf92bed8d69214bfb7f198e5.tar.gz
krb5-36397d3050c5c74aaf92bed8d69214bfb7f198e5.tar.xz
krb5-36397d3050c5c74aaf92bed8d69214bfb7f198e5.zip
* configure.in, Makefile.in: Add test to disable udp test under
Solaris 2.0 thru 2.5; a getsockname() bug prevents channel bindings from working. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10221 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/rpc/unit-test/ChangeLog6
-rw-r--r--src/lib/rpc/unit-test/Makefile.in2
-rw-r--r--src/lib/rpc/unit-test/configure.in13
3 files changed, 19 insertions, 2 deletions
diff --git a/src/lib/rpc/unit-test/ChangeLog b/src/lib/rpc/unit-test/ChangeLog
index 5bc39f23ac..62225f225e 100644
--- a/src/lib/rpc/unit-test/ChangeLog
+++ b/src/lib/rpc/unit-test/ChangeLog
@@ -1,3 +1,9 @@
+Thu Oct 9 20:58:35 1997 Tom Yu <tlyu@mit.edu>
+
+ * configure.in, Makefile.in: Add test to disable udp test under
+ Solaris 2.0 thru 2.5; a getsockname() bug prevents channel
+ bindings from working.
+
Thu Feb 6 15:58:52 1997 Tom Yu <tlyu@mit.edu>
* Makefile.in:
diff --git a/src/lib/rpc/unit-test/Makefile.in b/src/lib/rpc/unit-test/Makefile.in
index dfccd7e685..95cf25206d 100644
--- a/src/lib/rpc/unit-test/Makefile.in
+++ b/src/lib/rpc/unit-test/Makefile.in
@@ -40,7 +40,7 @@ unit-test-:
unit-test-ok:: unit-test-setup unit-test-body unit-test-cleanup
-unit-test-body:: unit-test-body-tcp unit-test-body-udp
+unit-test-body:: unit-test-body-tcp @UDP_TEST@
unit-test-body-tcp:
RPC_TEST_SRVTAB=/tmp/rpc_test_v5srvtab $(ENV_SETUP) \
diff --git a/src/lib/rpc/unit-test/configure.in b/src/lib/rpc/unit-test/configure.in
index 3f55147016..95f719fbd0 100644
--- a/src/lib/rpc/unit-test/configure.in
+++ b/src/lib/rpc/unit-test/configure.in
@@ -9,7 +9,18 @@ AC_KRB5_TCL
if test "$PERL" = perl -a "$RUNTEST" = runtest -a "$TCL_LIBS" != ""; then
DO_TEST=ok
fi
-AC_SUBST(DO_TEST)
+AC_SUBST(DO_TEST)
+changequote(<<, >>)
+case "$host" in
+*-*-solaris2.[012345]*)
+ UDP_TEST=
+ ;;
+*)
+ UDP_TEST=unit-test-body-udp
+ ;;
+esac
+changequote([, ])
+AC_SUBST(UDP_TEST)
dnl
KRB5_BUILD_PROGRAM
V5_AC_OUTPUT_MAKEFILE