mirror of
git://git.sv.gnu.org/autoconf
synced 2024-12-03 02:00:36 +08:00
(AC_PARSEARGS): Warn about multiple non-option args.
This commit is contained in:
parent
84f652336d
commit
8a94b65cb3
@ -105,6 +105,7 @@ changequote([,])dnl
|
||||
build=NONE
|
||||
exec_prefix=
|
||||
host=NONE
|
||||
nonopt=NONE
|
||||
norecursion=
|
||||
prefix=
|
||||
program_prefix=
|
||||
@ -287,6 +288,10 @@ changequote(,)dnl
|
||||
changequote([,])dnl
|
||||
AC_WARN($ac_option: invalid host type)
|
||||
fi
|
||||
if test "x$nonopt" -ne xNONE; then
|
||||
AC_WARN(can only configure for one host and one target at a time)
|
||||
fi
|
||||
nonopt="$ac_option"
|
||||
;;
|
||||
|
||||
esac
|
||||
|
@ -105,6 +105,7 @@ changequote([,])dnl
|
||||
build=NONE
|
||||
exec_prefix=
|
||||
host=NONE
|
||||
nonopt=NONE
|
||||
norecursion=
|
||||
prefix=
|
||||
program_prefix=
|
||||
@ -287,6 +288,10 @@ changequote(,)dnl
|
||||
changequote([,])dnl
|
||||
AC_WARN($ac_option: invalid host type)
|
||||
fi
|
||||
if test "x$nonopt" -ne xNONE; then
|
||||
AC_WARN(can only configure for one host and one target at a time)
|
||||
fi
|
||||
nonopt="$ac_option"
|
||||
;;
|
||||
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user