Use MOZ_ARG_WITH_BOOL instead of MOZ_ARG_WITHOUT_BOOL for --with-system-nspr.

cleanup from Bug #127526
This commit is contained in:
seawood%netscape.com 2002-03-08 23:27:48 +00:00
Родитель dd11131fed
Коммит 5424811bd8
2 изменённых файлов: 3 добавлений и 3 удалений

4
configure поставляемый
Просмотреть файл

@ -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 )