diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/aclocal.m4 | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e053ae0..3240c26 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-02-04 Ken Raeburn <raeburn@mit.edu> + + * aclocal.m4 (KRB5_AC_ENABLE_THREADS): If thread support is not + enabled, zap the PTHREAD_ variables. + 2005-01-12 Tom Yu <tlyu@mit.edu> * aclocal.m4 (AC_LIBRARY_NET): Also check for res_ndestroy. 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 |