mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-01 11:27:55 +00:00
Let configure deal with nspr and pthreads insteads of client.mk
This commit is contained in:
parent
64dc3aa3a6
commit
2632005114
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user