зеркало из https://github.com/mozilla/gecko-dev.git
Use MOZ_ARG_WITH_BOOL instead of MOZ_ARG_WITHOUT_BOOL for --with-system-nspr.
cleanup from Bug #127526
This commit is contained in:
Родитель
dd11131fed
Коммит
5424811bd8
|
@ -8775,9 +8775,9 @@ fi # SKIP_COMPILER_CHECKS
|
|||
# Check whether --with-system-nspr or --without-system-nspr was given.
|
||||
if test "${with_system_nspr+set}" = set; then
|
||||
withval="$with_system_nspr"
|
||||
if test "$withval" = "no"; then
|
||||
if test "$withval" = "yes"; then
|
||||
_USE_SYSTEM_NSPR=1
|
||||
elif test "$withval" = "yes"; then
|
||||
elif test "$withval" = "no"; then
|
||||
:
|
||||
else
|
||||
{ echo "configure: error: Option, system-nspr, does not take an argument ($withval)." 1>&2; exit 1; }
|
||||
|
|
|
@ -2407,7 +2407,7 @@ dnl ========================================================
|
|||
dnl = If NSPR was not detected in the system,
|
||||
dnl = use the one in the source tree (mozilla/nsprpub)
|
||||
dnl ========================================================
|
||||
MOZ_ARG_WITHOUT_BOOL(system-nspr,
|
||||
MOZ_ARG_WITH_BOOL(system-nspr,
|
||||
[ --with-system-nspr Use system installed NSPR],
|
||||
_USE_SYSTEM_NSPR=1 )
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче