symbols that -pthread defines, but don't use -pthread so we can avoid forcing
linking against pthread libraries.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16806
dc483132-0cff-0310-8789-
dd5450dbe970
+2004-10-05 Ken Raeburn <raeburn@mit.edu>
+
+ * aclocal.m4 (KRB5_AC_ENABLE_THREADS): On HP-UX, define some
+ preprocessor symbols that -pthread defines, but don't use -pthread
+ so we can avoid forcing linking against pthread libraries.
+
2004-09-24 Tom Yu <tlyu@mit.edu>
* configure.in: Update to get RELTAIL from patchlevel.h as well.
PTHREAD_LIBS=
PTHREAD_CFLAGS=
;;
+ hpux*)
+ # These are the flags that "gcc -pthread" adds. But we don't
+ # want "-pthread" because that has link-time effects, and we
+ # don't exclude CFLAGS when linking. *sigh*
+ CFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_C_SOURCE=199506L"
+ ;;
esac
fi
dnl We want to know where these routines live, so on systems with weak