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

This commit is contained in:
slamm%netscape.com 1999-04-14 02:33:58 +00:00
parent 64dc3aa3a6
commit 2632005114

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() {