From e37b0cae2ccee1fb10e568a2bdae80fbf0d33e58 Mon Sep 17 00:00:00 2001 From: "Jerry.Kirk%Nexwarecorp.com" Date: Wed, 4 Aug 1999 18:37:03 +0000 Subject: [PATCH] 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 --- mozilla/configure.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mozilla/configure.in b/mozilla/configure.in index 73842c4e079..c264f8d063b 100644 --- a/mozilla/configure.in +++ b/mozilla/configure.in @@ -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