From: Ken Raeburn Date: Fri, 25 Mar 2005 21:28:30 +0000 (+0000) Subject: threaded test program built even with thread support disabled X-Git-Tag: ms-bug-test-20060525~306 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a413400cb98d2aeba576762ee445560da03e9d55;p=krb5.git threaded test program built even with thread support disabled * Makefile.in (all-unix): Use @THREAD_SUPPORT@ and helper targets to build programs only if thread support is enabled. (all-unix-0, all-unix-1): New helper targets. ticket: new tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17152 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/gss-threads/ChangeLog b/src/tests/gss-threads/ChangeLog index 11e71b730..5d6d0c7f9 100644 --- a/src/tests/gss-threads/ChangeLog +++ b/src/tests/gss-threads/ChangeLog @@ -1,3 +1,9 @@ +2005-03-25 Ken Raeburn + + * Makefile.in (all-unix): Use @THREAD_SUPPORT@ and helper targets + to build programs only if thread support is enabled. + (all-unix-0, all-unix-1): New helper targets. + 2005-02-11 Ken Raeburn * gss-misc.c: Include autoconf.h. If both time.h and sys/time.h diff --git a/src/tests/gss-threads/Makefile.in b/src/tests/gss-threads/Makefile.in index 1229081a3..679397af5 100644 --- a/src/tests/gss-threads/Makefile.in +++ b/src/tests/gss-threads/Makefile.in @@ -13,7 +13,9 @@ SRCS= $(srcdir)/gss-client.c $(srcdir)/gss-misc.c $(srcdir)/gss-server.c OBJS= gss-client.o gss-misc.o gss-server.o -all-unix:: gss-server gss-client +all-unix:: all-unix-@THREAD_SUPPORT@ +all-unix-1:: gss-server gss-client +all-unix-0:: all-windows:: $(OUTPRE)gss-server.exe $(OUTPRE)gss-client.exe gss-server: gss-server.o gss-misc.o $(GSS_DEPLIBS) $(KRB5_BASE_DEPLIBS)