support for --host HOST
authorDavid D. Zuhn <zoo@cygnus>
Wed, 8 Sep 1993 00:31:08 +0000 (00:31 +0000)
committerDavid D. Zuhn <zoo@cygnus>
Wed, 8 Sep 1993 00:31:08 +0000 (00:31 +0000)
configure

index e8f8bfe98cae38e605bf764c7da8e4708f94f0f3..5bbd7b0e12b7fe46b1a8eba7c82b51bfe50661c7 100755 (executable)
--- 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
 
This page took 0.046659 seconds and 4 git commands to generate.