Move the initialization of Pthread variables up so that each platform

can override them.


git-svn-id: svn://10.0.0.236/trunk@42153 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
Jerry.Kirk%Nexwarecorp.com 1999-08-04 18:37:03 +00:00
parent c89294e709
commit e37b0cae2c

View File

@ -67,6 +67,12 @@ MISSING_MOTIF=
MISSING_NSPR=
MISSING_X=
dnl Initialize the Pthread test variables early so they can be
dnl overridden by each platform.
dnl ========================================================
USE_PTHREADS=
PTHREAD_LDFLAGS=""
dnl Do not allow a separate objdir build if a srcdir build exists.
dnl ==============================================================
_topsrcdir=`cd \`dirname $0\`; pwd`
@ -394,6 +400,8 @@ alpha*-*-linux*)
_PREPROCESSOR_PREFIX="-Wp,"
_COMPILER_PREFIX="-Wc,"
_LINKER_PREFIX="-Wl,"
USE_PTHREADS=1
PTHREAD_LDFLAGS=""
;;
*-openbsd*)
@ -1000,8 +1008,6 @@ dnl
dnl Start by checking whether the system support pthreads
dnl
USE_PTHREADS=
PTHREAD_LDFLAGS=""
dnl
dnl Try lib pthread