* coff-sparc.c (sparccoff_vec): Change minimum alignment power to 2, so that
[deliverable/binutils-gdb.git] / configure
index 1df73a1a8d50fbc7e9b5744c75c6d031382b95e5..c3ee67ef5fd0be29621e726f2afb690e7eff6ba8 100755 (executable)
--- a/configure
+++ b/configure
@@ -3,7 +3,7 @@
 ### WARNING: this file contains embedded tabs.  Do not run untabify on this file.
 
 # Configuration script
-#   Copyright (C) 1988, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
+# Copyright (C) 1988, 90, 91, 92, 93, 94 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
 # 
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 # Please email any bugs, comments, and/or additions to this file to:
 # configure@cygnus.com
@@ -60,6 +60,7 @@ host_alias=NOHOST
 host_makefile_frag=
 moveifchange=
 norecursion=
+other_options=
 package_makefile_frag=
 prefix=/usr/local
 progname=
@@ -140,7 +141,7 @@ do
                ;;
 # These options have mandatory values.  Since we didn't find an = sign,
 # the value must be in the next argument
-       --b* | --ex* | --ho* | --pre* | --program-p* | --program-s* | --program-t* | --si* | --sr* | --ta* | --tm*)
+       --b* | --ex* | --ho* | --pre* | --program-p* | --program-s* | --program-t* | --si* | --sr* | --ta* | --tm* | --x-*)
                optarg=$1
                shift
                ;;
@@ -157,6 +158,11 @@ do
                   ;;
                esac
                ;;
+       --disable-*)
+               enableopt=`echo ${option} | sed 's:^--disable-:enable_:;s:-:_:g'`
+               eval $enableopt=no
+               disableoptions="$disableoptions $option"
+               ;;
        --enable-*)
                case "$option" in
                *=*)    ;;
@@ -211,15 +217,19 @@ do
        --rm)
                removing=--rm
                ;;
-       --site* | --si*)
+       --silent | --sil* | --quiet | --q*)
+               redirect=">/dev/null"
+               verbose=--silent
+               ;;
+       --site* | --sit*)
                site=$optarg
                site_option="--site=$optarg"
                ;;
        --srcdir*/ | --sr*/)
                 # Remove trailing slashes.  Otherwise, when the file name gets
-                # bolted into an object file as debug info, it has two slashes in
-                # it.  Ordinarily this is ok, but emacs takes double slash to
-                # mean "forget the first part".
+                # bolted into an object file as debug info, it has two slashes
+                # in it.  Ordinarily this is ok, but emacs takes double slash
+                # to mean "forget the first part".
                srcdir=`echo $optarg | sed -e 's:/$::'`
                ;;
        --srcdir* | --sr*)
@@ -256,17 +266,20 @@ do
                withoptions="$withoptions $option"
                ;;
        --without-*)
-               withopt=`echo ${option} | sed 's:^--::;s:out::;s:-:_:g'`                
+               withopt=`echo ${option} | sed 's:^--::;s:out::;s:-:_:g'`
                eval $withopt=no
                withoutoptions="$withoutoptions $option"
                ;;
-       --x)    ;;
+       --x)    with_x=yes
+               withoptions="$withoptions --with-x"
+               ;;
+       --x-i* | --x-l*) other_options="$other_options $orig_option"
+               ;;
        --*)
-               exec 1>&2
-               echo
-               echo "Unrecognized option: \"$orig_option\"".
-               echo
-               fatal=yes
+               echo "Warning: Unrecognized option: \"$orig_option\"". >&2
+               # Pass the option to any configure scripts in subdirectories
+               # in case they recognize it.
+               other_options="$other_options $orig_option"
                ;;
        *)
                case $undefs in
@@ -369,6 +382,7 @@ if [ -n "${fatal}" -o "${host_alias}" = "help" ] ; then
        echo ' --with-FOO, --with-FOO=BAR package FOO is available (parameter BAR)'
        echo ' --without-FOO             package FOO is NOT available'
        echo ' --enable-FOO, --enable-FOO=BAR include feature FOO (parameter BAR)'
+       echo ' --disable-FOO             do not include feature FOO'
        echo
        echo 'Where HOST and TARGET are something like "vax", "sun3", "encore", etc.'
        echo
@@ -929,7 +943,7 @@ if [ -z "${norecursion}" -a -n "${configdirs}" ] ; then
                        if [ ! -z "${recprog}" ] ; then
                                if eval ${config_shell} ${recprog} ${verbose} ${buildopt} --host=${host_alias} --target=${target_alias} \
                                        ${prefixoption} ${tmpdiroption} ${exec_prefixoption} \
-                                       ${srcdiroption} ${program_prefixoption} ${program_suffixoption} ${program_transform_nameoption} ${site_option} ${withoptions} ${withoutoptions} ${enableoptions} ${removing} ${redirect} ; then
+                                       ${srcdiroption} ${program_prefixoption} ${program_suffixoption} ${program_transform_nameoption} ${site_option} ${withoptions} ${withoutoptions} ${enableoptions} ${disableoptions} ${removing} ${other_options} ${redirect} ; then
                                        true
                                else
                                        echo Configure in `pwd` failed, exiting. 1>&2
This page took 0.027823 seconds and 4 git commands to generate.