* gdb.base/list.exp: Add expect patterns for output from
[deliverable/binutils-gdb.git] / gas / configure
index 75edb15f4789da75c52e2bf87368d92078bd8ed8..99ccc20e6ff5c58d90922c45e8060e0d348938ee 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 # Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 2.0 
+# Generated automatically using autoconf version 2.1 
 # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
 #
 # This configure script is free software; the Free Software Foundation
@@ -14,37 +14,6 @@ ac_default_prefix=/usr/local
 ac_help="$ac_help
     bfd-assembler      use BFD back end for writing object files"
 
-# Omit some internal or obsolete options to make the list less imposing.
-ac_usage="Usage: configure [options] [host]
-Options: [defaults in brackets after descriptions]
-Configuration:
-  --cache-file=FILE       cache test results in FILE
-  --help                  print this message
-  --no-create             do not create output files
-  --quiet, --silent       do not print \`checking...' messages
-  --version               print the version of autoconf that created configure
-Directory and file names:
-  --prefix=PREFIX         install architecture-independent files in PREFIX
-                          [$ac_default_prefix]
-  --exec-prefix=PREFIX    install architecture-dependent files in PREFIX
-                          [same as prefix]
-  --srcdir=DIR            find the sources in DIR [configure dir or ..]
-  --program-prefix=PREFIX prepend PREFIX to installed program names
-  --program-suffix=SUFFIX append SUFFIX to installed program names
-  --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-Host type:
-  --build=BUILD           configure for building on BUILD [BUILD=HOST]
-  --host=HOST             configure for HOST [guessed]
-  --target=TARGET         configure for TARGET [TARGET=HOST]
-Features and packages:
-  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
-  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
-  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
-  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
-  --x-includes=DIR        X include files are in DIR
-  --x-libraries=DIR       X library files are in DIR
---enable and --with options recognized:$ac_help"
-
 # Initialize some variables set by options.
 # The variables have the same names as the options, with
 # dashes changed to underlines.
@@ -138,8 +107,38 @@ do
     with_gas=yes ;;
 
   -help | --help | --hel | --he)
+    # Omit some internal or obsolete options to make the list less imposing.
+    # This message is too long to be a string in the A/UX 3.1 sh.
     cat << EOF
-$ac_usage
+Usage: configure [options] [host]
+Options: [defaults in brackets after descriptions]
+Configuration:
+  --cache-file=FILE       cache test results in FILE
+  --help                  print this message
+  --no-create             do not create output files
+  --quiet, --silent       do not print \`checking...' messages
+  --version               print the version of autoconf that created configure
+Directory and file names:
+  --prefix=PREFIX         install architecture-independent files in PREFIX
+                          [$ac_default_prefix]
+  --exec-prefix=PREFIX    install architecture-dependent files in PREFIX
+                          [same as prefix]
+  --srcdir=DIR            find the sources in DIR [configure dir or ..]
+  --program-prefix=PREFIX prepend PREFIX to installed program names
+  --program-suffix=SUFFIX append SUFFIX to installed program names
+  --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+Host type:
+  --build=BUILD           configure for building on BUILD [BUILD=HOST]
+  --host=HOST             configure for HOST [guessed]
+  --target=TARGET         configure for TARGET [TARGET=HOST]
+Features and packages:
+  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
+  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
+  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
+  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
+  --x-includes=DIR        X include files are in DIR
+  --x-libraries=DIR       X library files are in DIR
+--enable and --with options recognized:$ac_help
 EOF
     exit 0 ;;
 
@@ -219,7 +218,7 @@ EOF
     verbose=yes ;;
 
   -version | --version | --versio | --versi | --vers)
-    echo "configure generated by autoconf version 2.0"
+    echo "configure generated by autoconf version 2.1"
     exit 0 ;;
 
   -with-* | --with-*)
@@ -550,6 +549,7 @@ case ${target_cpu} in
   m8*)         cpu_type=m88k ;;
   mips*el)     cpu_type=mips endian=little;;
   mips*)       cpu_type=mips endian=big ;;
+  powerpc*eabi*) cpu_type=ppc obj_format=elf;;
   powerpc*)    cpu_type=ppc ;;
   rs6000*)     cpu_type=ppc ;;
   sparc64)     cpu_type=sparc obj_format=elf
@@ -583,6 +583,10 @@ case ${generic_target} in
   alpha-*-netware*)    obj_format=ecoff ;;
   alpha-*-osf*)                obj_format=ecoff ;;
 
+# start-sanitize-arc
+  arc-*-elf*)          obj_format=elf bfd_gas=yes ;;
+# end-sanitize-arc
+
   arm-*-riscix*)       obj_format=aout ;;
 
   hppa-*-*elf*)                obj_format=elf emulation=hppa ;;
@@ -610,8 +614,10 @@ case ${generic_target} in
                        obj_format=coff gas_target=i386coff ;;
   i386-*-vsta)         obj_format=aout ;;
   i386-*-go32)         obj_format=coff gas_target=i386coff ;;
+  i386-*-gnu*elf*)     obj_format=elf ;;
   i386-*-mach* | i386-*-gnu*)
                        obj_format=aout emulation=mach bfd_gas=yes ;;
+  i386-*-msdos*)       obj_format=aout ;;
 
   i960-*-bout)         obj_format=bout ;;
   i960-*-coff)         obj_format=coff emulation=ic960 gas_target=ic960coff ;;
@@ -636,7 +642,9 @@ case ${generic_target} in
   m88k-*-coff*)                obj_format=coff gas_target=m88kcoff ;;
 
   # don't change emulation like *-*-bsd does
-  mips-*-bsd*)         obj_format=aout gas_target=mips-lit ;;
+  mips-dec-bsd*)       obj_format=aout gas_target=mips-lit ;;
+  mips-sony-bsd*)      obj_format=ecoff gas_target=mips-big ;;
+  mips-*-bsd*)         { echo "configure: error: Unknown vendor for mips-bsd configuration." 1>&2; exit 1; } ;;
   mips-*-ultrix*)      obj_format=ecoff gas_target=mips-lit ;;
   mips-*-ecoff*)       obj_format=ecoff 
                        case "$endian" in
@@ -645,6 +653,12 @@ case ${generic_target} in
                        esac
                        ;;
   mips-*-ecoff*)       obj_format=ecoff gas_target=mips-big ;;
+  mips-*-gnu*)         obj_format=aout
+                       case "$endian" in
+                       big) gas_target=mips-big ;;
+                       *)   gas_target=mips-lit ;;
+                       esac
+                       ;;
   mips-*-irix5*)       obj_format=elf gas_target=mips-big ;;
   mips-*-irix*)                obj_format=ecoff gas_target=mips-big ;;
   mips-*-riscos*)      obj_format=ecoff gas_target=mips-big ;;
@@ -662,18 +676,22 @@ case ${generic_target} in
 
   sh-*-coff)           obj_format=coff ;;
 
-  ns32k-pc532-mach*)   obj_format=aout emulation=pc532 ;;
+# start-sanitize-rce
+  rce-*-aout)          obj_format=aout ;;
+# end-sanitize-rce
+
+  ns32k-pc532-mach*)   obj_format=aout emulation=pc532mach ;;
   ns32k-pc532-netbsd*) obj_format=aout emulation=nbsd532 ;;
 
-  sparc*-*-sunos4*)    obj_format=aout emulation=sun3 ;;
-  sparc*-*-aout | sparc*-*-vxworks)
+  sparc-*-sunos4*)     obj_format=aout emulation=sun3 ;;
+  sparc-*-aout | sparc*-*-vxworks)
                        obj_format=aout ;;
-  sparc*-*-coff)       obj_format=coff ;;
-  sparc*-*-lynxos*)    obj_format=coff emulation=lynx ;;
-  sparc*-fujitsu-none) obj_format=aout ;;
-  sparc*-*-elf | sparc*-*-solaris*)
+  sparc-*-coff)                obj_format=coff ;;
+  sparc-*-lynxos*)     obj_format=coff emulation=lynx ;;
+  sparc-fujitsu-none)  obj_format=aout ;;
+  sparc-*-elf | sparc*-*-solaris*)
                        obj_format=elf ;;
-  sparc*-*-netbsd*)    obj_format=aout emulation=nbsd bfd_gas=yes ;;
+  sparc-*-netbsd*)     obj_format=aout emulation=nbsd bfd_gas=yes ;;
 
   vax-*-bsd* | vax-*-ultrix*)
                        obj_format=aout ;;
@@ -682,6 +700,8 @@ case ${generic_target} in
   z8k-*-coff | z8k-*-sim)
                        obj_format=coff ;;
 
+  w65-*-*)             obj_format=coff ;;
+
   *-*-aout | *-*-scout)
                        obj_format=aout ;;
   *-*-nindy*)
@@ -734,7 +754,7 @@ case ${cpu_type}-${obj_format} in
   mips-*)      bfd_gas=yes ;;
   ns32k-*)     bfd_gas=yes ;;
   ppc-*)       bfd_gas=yes ;;
-  sparc*-*)    bfd_gas=yes ;;
+  sparc-*)     bfd_gas=yes ;;
   *-elf)       bfd_gas=yes ;;
   *-ecoff)     bfd_gas=yes ;;
   *-som)       bfd_gas=yes ;;
@@ -904,7 +924,7 @@ else
   # On the NeXT, cc -E runs the code through the compiler's parser,
   # not just through cpp.
   cat > conftest.$ac_ext <<EOF
-#line 908 "configure"
+#line 928 "configure"
 #include "confdefs.h"
 #include <assert.h>
 Syntax Error
@@ -918,7 +938,7 @@ else
   rm -rf conftest*
   CPP="${CC-cc} -E -traditional-cpp"
   cat > conftest.$ac_ext <<EOF
-#line 922 "configure"
+#line 942 "configure"
 #include "confdefs.h"
 #include <assert.h>
 Syntax Error
@@ -949,7 +969,7 @@ if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&4
 else
   cat > conftest.$ac_ext <<EOF
-#line 953 "configure"
+#line 973 "configure"
 #include "confdefs.h"
 #include <$ac_hdr>
 EOF
@@ -1001,7 +1021,7 @@ else
   ac_cv_cross=yes
 else
 cat > conftest.$ac_ext <<EOF
-#line 1005 "configure"
+#line 1025 "configure"
 #include "confdefs.h"
 main(){return(0);}
 EOF
@@ -1024,7 +1044,7 @@ if eval "test \"`echo '${'ac_cv_header_alloca_h'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&4
 else
   cat > conftest.$ac_ext <<EOF
-#line 1028 "configure"
+#line 1048 "configure"
 #include "confdefs.h"
 #include <alloca.h>
 int main() { return 0; }
@@ -1055,7 +1075,7 @@ if eval "test \"`echo '${'ac_cv_func_alloca'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&4
 else
   cat > conftest.$ac_ext <<EOF
-#line 1059 "configure"
+#line 1079 "configure"
 #include "confdefs.h"
 
 #ifdef __GNUC__
@@ -1113,7 +1133,7 @@ if eval "test \"`echo '${'ac_cv_os_cray'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&4
 else
   cat > conftest.$ac_ext <<EOF
-#line 1117 "configure"
+#line 1137 "configure"
 #include "confdefs.h"
 #if defined(CRAY) && ! defined(CRAY2)
 webecray
@@ -1140,9 +1160,12 @@ if eval "test \"`echo '${'ac_cv_func__getb67'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&4
 else
   cat > conftest.$ac_ext <<EOF
-#line 1144 "configure"
+#line 1164 "configure"
 #include "confdefs.h"
 #include <ctype.h> /* Arbitrary system header to define __stub macros. */
+/* Override any gcc2 internal prototype to avoid an error.  */
+char _getb67(); 
+
 int main() { return 0; }
 int t() {
 
@@ -1152,8 +1175,7 @@ int t() {
 #if defined (__stub__getb67) || defined (__stub____getb67)
 choke me
 #else
-/* Override any gcc2 internal prototype to avoid an error.  */
-char _getb67(); _getb67();
+_getb67();
 #endif
 
 ; return 0; }
@@ -1181,9 +1203,12 @@ if eval "test \"`echo '${'ac_cv_func_GETB67'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&4
 else
   cat > conftest.$ac_ext <<EOF
-#line 1185 "configure"
+#line 1207 "configure"
 #include "confdefs.h"
 #include <ctype.h> /* Arbitrary system header to define __stub macros. */
+/* Override any gcc2 internal prototype to avoid an error.  */
+char GETB67(); 
+
 int main() { return 0; }
 int t() {
 
@@ -1193,8 +1218,7 @@ int t() {
 #if defined (__stub_GETB67) || defined (__stub___GETB67)
 choke me
 #else
-/* Override any gcc2 internal prototype to avoid an error.  */
-char GETB67(); GETB67();
+GETB67();
 #endif
 
 ; return 0; }
@@ -1222,9 +1246,12 @@ if eval "test \"`echo '${'ac_cv_func_getb67'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&4
 else
   cat > conftest.$ac_ext <<EOF
-#line 1226 "configure"
+#line 1250 "configure"
 #include "confdefs.h"
 #include <ctype.h> /* Arbitrary system header to define __stub macros. */
+/* Override any gcc2 internal prototype to avoid an error.  */
+char getb67(); 
+
 int main() { return 0; }
 int t() {
 
@@ -1234,8 +1261,7 @@ int t() {
 #if defined (__stub_getb67) || defined (__stub___getb67)
 choke me
 #else
-/* Override any gcc2 internal prototype to avoid an error.  */
-char getb67(); getb67();
+getb67();
 #endif
 
 ; return 0; }
@@ -1274,7 +1300,7 @@ else
   ac_cv_c_stack_direction=0
 else
 cat > conftest.$ac_ext <<EOF
-#line 1278 "configure"
+#line 1304 "configure"
 #include "confdefs.h"
 find_stack_direction ()
 {
@@ -1315,7 +1341,7 @@ if eval "test \"`echo '${'ac_cv_c_inline'+set}'`\" = set"; then
 else
   if test "$GCC" = yes; then
 cat > conftest.$ac_ext <<EOF
-#line 1319 "configure"
+#line 1345 "configure"
 #include "confdefs.h"
 
 int main() { return 0; }
@@ -1353,9 +1379,12 @@ if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&4
 else
   cat > conftest.$ac_ext <<EOF
-#line 1357 "configure"
+#line 1383 "configure"
 #include "confdefs.h"
 #include <ctype.h> /* Arbitrary system header to define __stub macros. */
+/* Override any gcc2 internal prototype to avoid an error.  */
+char $ac_func(); 
+
 int main() { return 0; }
 int t() {
 
@@ -1365,8 +1394,7 @@ int t() {
 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 choke me
 #else
-/* Override any gcc2 internal prototype to avoid an error.  */
-char $ac_func(); $ac_func();
+$ac_func();
 #endif
 
 ; return 0; }
@@ -1402,7 +1430,7 @@ if eval "test \"`echo '${'gas_cv_assert_ok'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&4
 else
   cat > conftest.$ac_ext <<EOF
-#line 1406 "configure"
+#line 1434 "configure"
 #include "confdefs.h"
 #include <assert.h>
 #include <stdio.h>
@@ -1459,7 +1487,7 @@ if eval "test \"`echo '${'gas_cv_decl_needed_malloc'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&4
 else
   cat > conftest.$ac_ext <<EOF
-#line 1463 "configure"
+#line 1491 "configure"
 #include "confdefs.h"
 $gas_test_headers
 int main() { return 0; }
@@ -1495,7 +1523,7 @@ if eval "test \"`echo '${'gas_cv_decl_needed_free'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&4
 else
   cat > conftest.$ac_ext <<EOF
-#line 1499 "configure"
+#line 1527 "configure"
 #include "confdefs.h"
 $gas_test_headers
 int main() { return 0; }
@@ -1534,7 +1562,7 @@ if eval "test \"`echo '${'gas_cv_decl_needed_errno'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&4
 else
   cat > conftest.$ac_ext <<EOF
-#line 1538 "configure"
+#line 1566 "configure"
 #include "confdefs.h"
 
 #ifdef HAVE_ERRNO_H
@@ -1641,7 +1669,7 @@ do
     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
-    echo "$CONFIG_STATUS generated by autoconf version 2.0"
+    echo "$CONFIG_STATUS generated by autoconf version 2.1"
     exit 0 ;;
   -help | --help | --hel | --he | --h)
     echo "\$ac_cs_usage"; exit 0 ;;
This page took 0.029135 seconds and 4 git commands to generate.