correct value for solaris+gcc.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17266
dc483132-0cff-0310-8789-
dd5450dbe970
* aclocal.m4 (WITH_CC): Don't use -pedantic on Linux.
(KRB5_AC_FIND_DLOPEN): New macro. Set DL_LIB.
(CONFIG_RULES, AC_KRB5_TCL_TRYOLD): Use it.
+ (KRB5_AC_ENABLE_THREADS): Override guessed PTHREAD_CFLAGS with
+ correct value for solaris+gcc.
Novell merge.
* aclocal.m4:
# don't exclude CFLAGS when linking. *sigh*
PTHREAD_CFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_C_SOURCE=199506L"
;;
+ solaris*)
+ # On Solaris 10 with gcc 3.4.3, the autoconf archive macro doesn't
+ # get the right result.
+ if test "$GCC" = yes ; then
+ PTHREAD_CFLAGS="-D_REENTRANT -pthreads"
+ fi
+ ;;
esac
THREAD_SUPPORT=1
else