summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tests/ChangeLog7
-rw-r--r--src/tests/Makefile.in3
-rw-r--r--src/tests/configure.in6
3 files changed, 12 insertions, 4 deletions
diff --git a/src/tests/ChangeLog b/src/tests/ChangeLog
index 7934832832..3a10c382ee 100644
--- a/src/tests/ChangeLog
+++ b/src/tests/ChangeLog
@@ -1,3 +1,10 @@
+2005-02-09 Ken Raeburn <raeburn@mit.edu>
+
+ * gss-threads: New subdirectory.
+ * Makefile.in (LOCAL_SUBDIRS): Add it.
+ * configure.in: Configure it. Check for semaphore.h, sem_init,
+ sem_trywait.
+
2005-02-02 Ken Raeburn <raeburn@mit.edu>
* configure.in: Look for dlfcn.h. Configure new shlib
diff --git a/src/tests/Makefile.in b/src/tests/Makefile.in
index 93a1ab6b68..9e2f80bcd5 100644
--- a/src/tests/Makefile.in
+++ b/src/tests/Makefile.in
@@ -1,7 +1,8 @@
thisconfigdir=.
mydir=.
BUILDTOP=$(REL)..
-LOCAL_SUBDIRS = resolve asn.1 create hammer verify gssapi dejagnu shlib
+LOCAL_SUBDIRS = resolve asn.1 create hammer verify gssapi dejagnu shlib \
+ gss-threads
RUN_SETUP = @KRB5_RUN_ENV@ KRB5_KDC_PROFILE=kdc.conf KRB5_CONFIG=$(SRCTOP)/config-files/krb5.conf
KRB5_RUN_ENV= @KRB5_RUN_ENV@
diff --git a/src/tests/configure.in b/src/tests/configure.in
index e5e23f23fc..88606f3487 100644
--- a/src/tests/configure.in
+++ b/src/tests/configure.in
@@ -6,8 +6,8 @@ dnl Set krb5_cv_host
KRB5_LIB_PARAMS
dnl
AC_HEADER_STDC
-AC_CHECK_FUNCS(strchr)
-AC_CHECK_HEADERS(unistd.h stdlib.h sys/param.h sys/socket.h dlfcn.h)
+AC_CHECK_FUNCS(strchr sem_init sem_trywait)
+AC_CHECK_HEADERS(unistd.h stdlib.h sys/param.h sys/socket.h dlfcn.h semaphore.h)
AC_C_CONST
AC_PROG_INSTALL
AC_CHECK_PROG(RUNTEST,runtest,runtest)
@@ -27,4 +27,4 @@ else
fi
AC_SUBST(KRB4_DEJAGNU_TEST)
KRB5_AC_PRIOCNTL_HACK
-V5_AC_OUTPUT_MAKEFILE(. resolve asn.1 create hammer verify gssapi dejagnu threads shlib)
+V5_AC_OUTPUT_MAKEFILE(. resolve asn.1 create hammer verify gssapi dejagnu threads shlib gss-threads)