aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1993-09-08 00:31:08 +0000
committerDavid D. Zuhn <zoo@cygnus>1993-09-08 00:31:08 +0000
commitc0c709662243d08dda04a6c4d109e9d9d23e9689 (patch)
tree884e350cff53a40a96be39011d8e8b226036143b
parent1531386bca715e97b852bad3733b5032dfe91489 (diff)
downloadgdb-c0c709662243d08dda04a6c4d109e9d9d23e9689.zip
gdb-c0c709662243d08dda04a6c4d109e9d9d23e9689.tar.gz
gdb-c0c709662243d08dda04a6c4d109e9d9d23e9689.tar.bz2
support for --host HOST
-rwxr-xr-xconfigure24
1 files changed, 23 insertions, 1 deletions
diff --git a/configure b/configure
index e8f8bfe..5bbd7b0 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