From 36397d3050c5c74aaf92bed8d69214bfb7f198e5 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 10 Oct 1997 01:00:54 +0000 Subject: * 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 --- src/lib/rpc/unit-test/ChangeLog | 6 ++++++ src/lib/rpc/unit-test/Makefile.in | 2 +- src/lib/rpc/unit-test/configure.in | 13 ++++++++++++- 3 files changed, 19 insertions(+), 2 deletions(-) (limited to 'src/lib') 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 + + * 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 * 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 -- cgit