(AC_PARSEARGS): Warn about multiple non-option args.

This commit is contained in:
David MacKenzie 1994-03-29 00:40:23 +00:00
parent 84f652336d
commit 8a94b65cb3
2 changed files with 10 additions and 0 deletions

View File

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

View File

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