From c0c709662243d08dda04a6c4d109e9d9d23e9689 Mon Sep 17 00:00:00 2001 From: "David D. Zuhn" Date: Wed, 8 Sep 1993 00:31:08 +0000 Subject: [PATCH] support for --host HOST --- configure | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) 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 -- 2.30.2