Let configure deal with nspr and pthreads insteads of client.mk

git-svn-id: svn://10.0.0.236/trunk@27437 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
slamm%netscape.com
1999-04-14 02:33:58 +00:00
parent 7f2fbbb4ad
commit b3c22936d8

View File

@@ -31,18 +31,7 @@ print_header() {
}
ac_add_options() {
for _opt
do
# Escape shell characters, space, tab, dollar, quote, backslash,
# and substitute '@<word>@' with '$(<word)'.
_opt=`echo $_opt | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g; s/@\([^@]*\)@/\$(\1)/g;'`
case "$_opt" in
--with-nspr=* ) echo MOZ_WITH_NSPR=`expr $_opt : ".*=\(.*\)"` ;;
--with-pthreads=no ) echo MOZ_WITHOUT_PTHREADS=1 ;;
--without-pthreads ) echo MOZ_WITHOUT_PTHREADS=1 ;;
--*-* ) echo "# $_opt is not used by client.mk" ;;
esac
done
echo "# $* is not used by client.mk"
}
mk_add_options() {