Pthreads is on by default now for configure. Make client.mk do the same.

This commit is contained in:
slamm%netscape.com 1999-04-12 21:20:59 +00:00
Родитель 89b0093c37
Коммит fd3432b0fa
2 изменённых файлов: 14 добавлений и 13 удалений

Просмотреть файл

@ -38,7 +38,8 @@ ac_add_options() {
_opt=`echo $_opt | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g; s/@\([^@]*\)@/\$(\1)/g;'` _opt=`echo $_opt | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g; s/@\([^@]*\)@/\$(\1)/g;'`
case "$_opt" in case "$_opt" in
--with-nspr=* ) echo MOZ_WITH_NSPR=`expr $_opt : ".*=\(.*\)"` ;; --with-nspr=* ) echo MOZ_WITH_NSPR=`expr $_opt : ".*=\(.*\)"` ;;
--with-pthreads* ) echo MOZ_WITH_PTHREADS=1 ;; --with-pthreads=no ) echo MOZ_WITHOUT_PTHREADS=1 ;;
--without-pthreads ) echo MOZ_WITHOUT_PTHREADS=1 ;;
--*-* ) echo "# $_opt is not used by client.mk" ;; --*-* ) echo "# $_opt is not used by client.mk" ;;
esac esac
done done

Просмотреть файл

@ -47,7 +47,7 @@
# #
# Options: # Options:
# MOZ_WITH_NSPR - Nspr directory for configure --with-nspr= # MOZ_WITH_NSPR - Nspr directory for configure --with-nspr=
# MOZ_WITH_PTHREADS - Pthreads for nspr and configure # MOZ_WITHOUT_PTHREADS - Turn off pthreads for nspr and configure
# MOZ_OBJDIR - Destination object directory # MOZ_OBJDIR - Destination object directory
# also, # also,
# MOZ_CO_BRANCH - Branch tag to use for checkout (default: HEAD) # MOZ_CO_BRANCH - Branch tag to use for checkout (default: HEAD)
@ -149,7 +149,7 @@ CVSCO_LOGFILE := $(ROOTDIR)/cvsco.log
#################################### ####################################
# NSPR # NSPR
ifeq ($(MOZ_WITH_PTHREADS), 1) ifneq ($(MOZ_WITHOUT_PTHREADS), 1)
NSPR_PTHREAD_FLAG := USE_PTHREADS=1 NSPR_PTHREAD_FLAG := USE_PTHREADS=1
endif endif
@ -195,8 +195,8 @@ ifdef NEED_WITH_NSPR
CONFIG_FLAGS += --with-nspr=$(NSPR_INSTALL_DIR) CONFIG_FLAGS += --with-nspr=$(NSPR_INSTALL_DIR)
endif endif
ifeq "$(origin MOZ_WITH_PTHREADS)" "environment" ifeq "$(origin MOZ_WITHOUT_PTHREADS)" "environment"
CONFIG_FLAGS += --with-pthreads CONFIG_FLAGS += --without-pthreads
endif endif
####################################################################### #######################################################################