From 99483ca2d97abfed316f948b2f1b8137220240fd Mon Sep 17 00:00:00 2001 From: "briano%netscape.com" Date: Thu, 8 Apr 1999 01:31:49 +0000 Subject: [PATCH] Define _REENTRANT for any compiler on OSF/1. Fixes the problem with mkautocf.c. --- configure.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 574c2a7ea05c..916e833b74e7 100644 --- a/configure.in +++ b/configure.in @@ -1316,9 +1316,8 @@ AC_ARG_WITH(pthreads, *-*-linux*) AC_DEFINE(_REENTRANT) ;; alpha*-*-osf*) - if test "$GNU_CC"; then - AC_DEFINE(_REENTRANT) - else + AC_DEFINE(_REENTRANT) + if test ! "$GNU_CC"; then CFLAGS="$CFLAGS -pthread" CXXFLAGS="$CXXFLAGS -pthread" fi ;;