From: David D. Zuhn Date: Wed, 8 Sep 1993 00:31:08 +0000 (+0000) Subject: support for --host HOST X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0c709662243d08dda04a6c4d109e9d9d23e9689;p=binutils-gdb.git support for --host HOST --- diff --git a/configure b/configure index e8f8bfe98ca..5bbd7b0e12b 100755 --- a/configure +++ b/configure @@ -152,6 +152,17 @@ do fatal=yes ;; esac + elif [ -n "${next_host}" ] ; then + next_host= + case "${host_alias}" in + "") + host_alias="${arg}" + ;; + *) + echo '***' Can only configure for one host at a time. 1>&2 + fatal=yes + ;; + esac elif [ -n "${next_tmpdir}" ] ; then next_tmpdir= tmpdiroption="--tmpdir=${arg}" @@ -183,6 +194,17 @@ do ;; esac ;; + -host=* | --host | --hos | --ho) + case "${host_alias}" in + "") + next_host=yes + ;; + *) + echo '***' Can only configure for one host at a time. 1>&2 + fatal=yes + ;; + esac + ;; -nfp | --nf*) floating_point=no ;; @@ -902,7 +924,7 @@ if [ -z "${norecursion}" -a -n "${configdirs}" ] ; then *) recprog=../${progname} ;; esac else - echo No configuration information in ${configdir} ${redirect} + eval echo No configuration information in ${configdir} ${redirect} recprog= fi