diff options
author | Ken Raeburn <raeburn@mit.edu> | 2005-02-04 23:10:48 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2005-02-04 23:10:48 +0000 |
commit | aff40216960f0d87634e1429b1ff7e2237eed803 (patch) | |
tree | 6f922dbebeedeb45fdc164536df49d13e745e74b /src/aclocal.m4 | |
parent | 30193518e6c00bf0eb6a59c58e32fa53a2e1357a (diff) | |
download | krb5-aff40216960f0d87634e1429b1ff7e2237eed803.zip krb5-aff40216960f0d87634e1429b1ff7e2237eed803.tar.gz krb5-aff40216960f0d87634e1429b1ff7e2237eed803.tar.bz2 |
* aclocal.m4 (KRB5_AC_ENABLE_THREADS): If thread support is not enabled, zap
the PTHREAD_ variables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17086 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/aclocal.m4')
-rw-r--r-- | src/aclocal.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/aclocal.m4 b/src/aclocal.m4 index d135d5c..0e8f4bd 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -166,6 +166,10 @@ if test "$enable_thread_support" = yes; then CFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_C_SOURCE=199506L" ;; esac +else + PTHREAD_CC="$CC" + PTHREAD_CFLAGS="" + PTHREAD_LIBS="" fi dnl We want to know where these routines live, so on systems with weak dnl reference support we can figure out whether or not the pthread library |