Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/bfd/configure

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    3737  --enable-maintainer-mode enable make rules and dependencies not useful
    3838                          (and sometimes confusing) to the casual installer"
     39ac_help="$ac_help
     40  --enable-install-libbfd controls installation of libbfd and related headers"
    3941ac_help="$ac_help
    4042  --disable-nls           do not use Native Language Support"
     
    562564
    563565echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    564 echo "configure:565: checking for Cygwin environment" >&5
     566echo "configure:567: checking for Cygwin environment" >&5
    565567if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    566568  echo $ac_n "(cached) $ac_c" 1>&6
    567569else
    568570  cat > conftest.$ac_ext <<EOF
    569 #line 570 "configure"
     571#line 572 "configure"
    570572#include "confdefs.h"
    571573
     
    578580; return 0; }
    579581EOF
    580 if { (eval echo configure:581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     582if { (eval echo configure:583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    581583  rm -rf conftest*
    582584  ac_cv_cygwin=yes
     
    595597test "$ac_cv_cygwin" = yes && CYGWIN=yes
    596598echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    597 echo "configure:598: checking for mingw32 environment" >&5
     599echo "configure:600: checking for mingw32 environment" >&5
    598600if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    599601  echo $ac_n "(cached) $ac_c" 1>&6
    600602else
    601603  cat > conftest.$ac_ext <<EOF
    602 #line 603 "configure"
     604#line 605 "configure"
    603605#include "confdefs.h"
    604606
     
    607609; return 0; }
    608610EOF
    609 if { (eval echo configure:610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     611if { (eval echo configure:612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    610612  rm -rf conftest*
    611613  ac_cv_mingw32=yes
     
    672674
    673675echo $ac_n "checking host system type""... $ac_c" 1>&6
    674 echo "configure:675: checking host system type" >&5
     676echo "configure:677: checking host system type" >&5
    675677
    676678host_alias=$host
     
    693695
    694696echo $ac_n "checking target system type""... $ac_c" 1>&6
    695 echo "configure:696: checking target system type" >&5
     697echo "configure:698: checking target system type" >&5
    696698
    697699target_alias=$target
     
    711713
    712714echo $ac_n "checking build system type""... $ac_c" 1>&6
    713 echo "configure:714: checking build system type" >&5
     715echo "configure:716: checking build system type" >&5
    714716
    715717build_alias=$build
     
    733735  program_prefix=${target_alias}-
    734736
     737
     738        echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
     739echo "configure:740: checking for strerror in -lcposix" >&5
     740ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
     741if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     742  echo $ac_n "(cached) $ac_c" 1>&6
     743else
     744  ac_save_LIBS="$LIBS"
     745LIBS="-lcposix  $LIBS"
     746cat > conftest.$ac_ext <<EOF
     747#line 748 "configure"
     748#include "confdefs.h"
     749/* Override any gcc2 internal prototype to avoid an error.  */
     750/* We use char because int might match the return type of a gcc2
     751    builtin and then its argument prototype would still apply.  */
     752char strerror();
     753
     754int main() {
     755strerror()
     756; return 0; }
     757EOF
     758if { (eval echo configure:759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     759  rm -rf conftest*
     760  eval "ac_cv_lib_$ac_lib_var=yes"
     761else
     762  echo "configure: failed program was:" >&5
     763  cat conftest.$ac_ext >&5
     764  rm -rf conftest*
     765  eval "ac_cv_lib_$ac_lib_var=no"
     766fi
     767rm -f conftest*
     768LIBS="$ac_save_LIBS"
     769
     770fi
     771if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     772  echo "$ac_t""yes" 1>&6
     773  LIBS="$LIBS -lcposix"
     774else
     775  echo "$ac_t""no" 1>&6
     776fi
     777
     778 
     779
     780
     781# Find a good install program.  We prefer a C program (faster),
     782# so one script is as good as another.  But avoid the broken or
     783# incompatible versions:
     784# SysV /etc/install, /usr/sbin/install
     785# SunOS /usr/etc/install
     786# IRIX /sbin/install
     787# AIX /bin/install
     788# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     789# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     790# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     791# ./install, which can be erroneously created by make from ./install.sh.
     792echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
     793echo "configure:794: checking for a BSD compatible install" >&5
     794if test -z "$INSTALL"; then
     795if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     796  echo $ac_n "(cached) $ac_c" 1>&6
     797else
     798    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
     799  for ac_dir in $PATH; do
     800    # Account for people who put trailing slashes in PATH elements.
     801    case "$ac_dir/" in
     802    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
     803    *)
     804      # OSF1 and SCO ODT 3.0 have their own names for install.
     805      # Don't use installbsd from OSF since it installs stuff as root
     806      # by default.
     807      for ac_prog in ginstall scoinst install; do
     808        if test -f $ac_dir/$ac_prog; then
     809          if test $ac_prog = install &&
     810            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
     811            # AIX install.  It has an incompatible calling convention.
     812            :
     813          else
     814            ac_cv_path_install="$ac_dir/$ac_prog -c"
     815            break 2
     816          fi
     817        fi
     818      done
     819      ;;
     820    esac
     821  done
     822  IFS="$ac_save_IFS"
     823
     824fi
     825  if test "${ac_cv_path_install+set}" = set; then
     826    INSTALL="$ac_cv_path_install"
     827  else
     828    # As a last resort, use the slow shell script.  We don't cache a
     829    # path for INSTALL within a source directory, because that will
     830    # break other packages using the cache if that directory is
     831    # removed, or if the path is relative.
     832    INSTALL="$ac_install_sh"
     833  fi
     834fi
     835echo "$ac_t""$INSTALL" 1>&6
     836
     837# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     838# It thinks the first close brace ends the variable substitution.
     839test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     840
     841test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
     842
     843test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     844
     845echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
     846echo "configure:847: checking whether build environment is sane" >&5
     847# Just in case
     848sleep 1
     849echo timestamp > conftestfile
     850# Do `set' in a subshell so we don't clobber the current shell's
     851# arguments.  Must try -L first in case configure is actually a
     852# symlink; some systems play weird games with the mod time of symlinks
     853# (eg FreeBSD returns the mod time of the symlink's containing
     854# directory).
     855if (
     856   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
     857   if test "$*" = "X"; then
     858      # -L didn't work.
     859      set X `ls -t $srcdir/configure conftestfile`
     860   fi
     861   if test "$*" != "X $srcdir/configure conftestfile" \
     862      && test "$*" != "X conftestfile $srcdir/configure"; then
     863
     864      # If neither matched, then we have a broken ls.  This can happen
     865      # if, for instance, CONFIG_SHELL is bash and it inherits a
     866      # broken ls alias from the environment.  This has actually
     867      # happened.  Such a system could not be considered "sane".
     868      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
     869alias in your environment" 1>&2; exit 1; }
     870   fi
     871
     872   test "$2" = conftestfile
     873   )
     874then
     875   # Ok.
     876   :
     877else
     878   { echo "configure: error: newly created file is older than distributed files!
     879Check your system clock" 1>&2; exit 1; }
     880fi
     881rm -f conftest*
     882echo "$ac_t""yes" 1>&6
     883if test "$program_transform_name" = s,x,x,; then
     884  program_transform_name=
     885else
     886  # Double any \ or $.  echo might interpret backslashes.
     887  cat <<\EOF_SED > conftestsed
     888s,\\,\\\\,g; s,\$,$$,g
     889EOF_SED
     890  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
     891  rm -f conftestsed
     892fi
     893test "$program_prefix" != NONE &&
     894  program_transform_name="s,^,${program_prefix},; $program_transform_name"
     895# Use a double $ so make ignores it.
     896test "$program_suffix" != NONE &&
     897  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
     898
     899# sed with no file args requires a program.
     900test "$program_transform_name" = "" && program_transform_name="s,x,x,"
     901
     902echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
     903echo "configure:904: checking whether ${MAKE-make} sets \${MAKE}" >&5
     904set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
     905if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     906  echo $ac_n "(cached) $ac_c" 1>&6
     907else
     908  cat > conftestmake <<\EOF
     909all:
     910        @echo 'ac_maketemp="${MAKE}"'
     911EOF
     912# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     913eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
     914if test -n "$ac_maketemp"; then
     915  eval ac_cv_prog_make_${ac_make}_set=yes
     916else
     917  eval ac_cv_prog_make_${ac_make}_set=no
     918fi
     919rm -f conftestmake
     920fi
     921if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     922  echo "$ac_t""yes" 1>&6
     923  SET_MAKE=
     924else
     925  echo "$ac_t""no" 1>&6
     926  SET_MAKE="MAKE=${MAKE-make}"
     927fi
     928
     929
     930PACKAGE=bfd
     931
     932VERSION=2.14
     933
     934if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
     935  { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
     936fi
     937cat >> confdefs.h <<EOF
     938#define PACKAGE "$PACKAGE"
     939EOF
     940
     941cat >> confdefs.h <<EOF
     942#define VERSION "$VERSION"
     943EOF
     944
     945
     946
     947missing_dir=`cd $ac_aux_dir && pwd`
     948echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
     949echo "configure:950: checking for working aclocal" >&5
     950# Run test in a subshell; some versions of sh will print an error if
     951# an executable is not found, even if stderr is redirected.
     952# Redirect stdin to placate older versions of autoconf.  Sigh.
     953if (aclocal --version) < /dev/null > /dev/null 2>&1; then
     954   ACLOCAL=aclocal
     955   echo "$ac_t""found" 1>&6
     956else
     957   ACLOCAL="$missing_dir/missing aclocal"
     958   echo "$ac_t""missing" 1>&6
     959fi
     960
     961echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
     962echo "configure:963: checking for working autoconf" >&5
     963# Run test in a subshell; some versions of sh will print an error if
     964# an executable is not found, even if stderr is redirected.
     965# Redirect stdin to placate older versions of autoconf.  Sigh.
     966if (autoconf --version) < /dev/null > /dev/null 2>&1; then
     967   AUTOCONF=autoconf
     968   echo "$ac_t""found" 1>&6
     969else
     970   AUTOCONF="$missing_dir/missing autoconf"
     971   echo "$ac_t""missing" 1>&6
     972fi
     973
     974echo $ac_n "checking for working automake""... $ac_c" 1>&6
     975echo "configure:976: checking for working automake" >&5
     976# Run test in a subshell; some versions of sh will print an error if
     977# an executable is not found, even if stderr is redirected.
     978# Redirect stdin to placate older versions of autoconf.  Sigh.
     979if (automake --version) < /dev/null > /dev/null 2>&1; then
     980   AUTOMAKE=automake
     981   echo "$ac_t""found" 1>&6
     982else
     983   AUTOMAKE="$missing_dir/missing automake"
     984   echo "$ac_t""missing" 1>&6
     985fi
     986
     987echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
     988echo "configure:989: checking for working autoheader" >&5
     989# Run test in a subshell; some versions of sh will print an error if
     990# an executable is not found, even if stderr is redirected.
     991# Redirect stdin to placate older versions of autoconf.  Sigh.
     992if (autoheader --version) < /dev/null > /dev/null 2>&1; then
     993   AUTOHEADER=autoheader
     994   echo "$ac_t""found" 1>&6
     995else
     996   AUTOHEADER="$missing_dir/missing autoheader"
     997   echo "$ac_t""missing" 1>&6
     998fi
     999
     1000echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
     1001echo "configure:1002: checking for working makeinfo" >&5
     1002# Run test in a subshell; some versions of sh will print an error if
     1003# an executable is not found, even if stderr is redirected.
     1004# Redirect stdin to placate older versions of autoconf.  Sigh.
     1005if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
     1006   MAKEINFO=makeinfo
     1007   echo "$ac_t""found" 1>&6
     1008else
     1009   MAKEINFO="$missing_dir/missing makeinfo"
     1010   echo "$ac_t""missing" 1>&6
     1011fi
     1012
     1013
     1014# Uncomment the next line to remove the date from the reported bfd version
     1015#is_release=y
     1016
     1017bfd_version=`echo "${VERSION}" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$/\1\2\3\4\5/'`
     1018
     1019bfd_version_string="\"${VERSION}\""
     1020if test x${is_release} = x; then
     1021  bfd_version_date=`sed -n -e 's/.*DATE //p' < ${srcdir}/version.h`
     1022  bfd_version_string="\"${VERSION} ${bfd_version_date}\""
     1023fi
     1024
     1025
     1026
     1027if test $host != $build; then
     1028  ac_tool_prefix=${host_alias}-
     1029else
     1030  ac_tool_prefix=
     1031fi
     1032
     1033# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
     1034set dummy ${ac_tool_prefix}ar; ac_word=$2
     1035echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1036echo "configure:1037: checking for $ac_word" >&5
     1037if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
     1038  echo $ac_n "(cached) $ac_c" 1>&6
     1039else
     1040  if test -n "$AR"; then
     1041  ac_cv_prog_AR="$AR" # Let the user override the test.
     1042else
     1043  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1044  ac_dummy="$PATH"
     1045  for ac_dir in $ac_dummy; do
     1046    test -z "$ac_dir" && ac_dir=.
     1047    if test -f $ac_dir/$ac_word; then
     1048      ac_cv_prog_AR="${ac_tool_prefix}ar"
     1049      break
     1050    fi
     1051  done
     1052  IFS="$ac_save_ifs"
     1053  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
     1054fi
     1055fi
     1056AR="$ac_cv_prog_AR"
     1057if test -n "$AR"; then
     1058  echo "$ac_t""$AR" 1>&6
     1059else
     1060  echo "$ac_t""no" 1>&6
     1061fi
     1062
     1063
     1064
     1065# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     1066set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     1067echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1068echo "configure:1069: checking for $ac_word" >&5
     1069if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
     1070  echo $ac_n "(cached) $ac_c" 1>&6
     1071else
     1072  if test -n "$RANLIB"; then
     1073  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     1074else
     1075  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1076  ac_dummy="$PATH"
     1077  for ac_dir in $ac_dummy; do
     1078    test -z "$ac_dir" && ac_dir=.
     1079    if test -f $ac_dir/$ac_word; then
     1080      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     1081      break
     1082    fi
     1083  done
     1084  IFS="$ac_save_ifs"
     1085fi
     1086fi
     1087RANLIB="$ac_cv_prog_RANLIB"
     1088if test -n "$RANLIB"; then
     1089  echo "$ac_t""$RANLIB" 1>&6
     1090else
     1091  echo "$ac_t""no" 1>&6
     1092fi
     1093
     1094
     1095if test -z "$ac_cv_prog_RANLIB"; then
     1096if test -n "$ac_tool_prefix"; then
     1097  # Extract the first word of "ranlib", so it can be a program name with args.
     1098set dummy ranlib; ac_word=$2
     1099echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1100echo "configure:1101: checking for $ac_word" >&5
     1101if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
     1102  echo $ac_n "(cached) $ac_c" 1>&6
     1103else
     1104  if test -n "$RANLIB"; then
     1105  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     1106else
     1107  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1108  ac_dummy="$PATH"
     1109  for ac_dir in $ac_dummy; do
     1110    test -z "$ac_dir" && ac_dir=.
     1111    if test -f $ac_dir/$ac_word; then
     1112      ac_cv_prog_RANLIB="ranlib"
     1113      break
     1114    fi
     1115  done
     1116  IFS="$ac_save_ifs"
     1117  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
     1118fi
     1119fi
     1120RANLIB="$ac_cv_prog_RANLIB"
     1121if test -n "$RANLIB"; then
     1122  echo "$ac_t""$RANLIB" 1>&6
     1123else
     1124  echo "$ac_t""no" 1>&6
     1125fi
     1126
     1127else
     1128  RANLIB=":"
     1129fi
     1130fi
     1131
     1132
     1133# Check whether --enable-shared or --disable-shared was given.
     1134if test "${enable_shared+set}" = set; then
     1135  enableval="$enable_shared"
     1136  p=${PACKAGE-default}
     1137case $enableval in
     1138yes) enable_shared=yes ;;
     1139no) enable_shared=no ;;
     1140*)
     1141  enable_shared=no
     1142  # Look at the argument we got.  We use all the common list separators.
     1143  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     1144  for pkg in $enableval; do
     1145    if test "X$pkg" = "X$p"; then
     1146      enable_shared=yes
     1147    fi
     1148  done
     1149  IFS="$ac_save_ifs"
     1150  ;;
     1151esac
     1152else
     1153  enable_shared=no
     1154fi
     1155
     1156
     1157# Check whether --enable-static or --disable-static was given.
     1158if test "${enable_static+set}" = set; then
     1159  enableval="$enable_static"
     1160  p=${PACKAGE-default}
     1161case $enableval in
     1162yes) enable_static=yes ;;
     1163no) enable_static=no ;;
     1164*)
     1165  enable_static=no
     1166  # Look at the argument we got.  We use all the common list separators.
     1167  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     1168  for pkg in $enableval; do
     1169    if test "X$pkg" = "X$p"; then
     1170      enable_static=yes
     1171    fi
     1172  done
     1173  IFS="$ac_save_ifs"
     1174  ;;
     1175esac
     1176else
     1177  enable_static=yes
     1178fi
     1179
     1180# Check whether --enable-fast-install or --disable-fast-install was given.
     1181if test "${enable_fast_install+set}" = set; then
     1182  enableval="$enable_fast_install"
     1183  p=${PACKAGE-default}
     1184case $enableval in
     1185yes) enable_fast_install=yes ;;
     1186no) enable_fast_install=no ;;
     1187*)
     1188  enable_fast_install=no
     1189  # Look at the argument we got.  We use all the common list separators.
     1190  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     1191  for pkg in $enableval; do
     1192    if test "X$pkg" = "X$p"; then
     1193      enable_fast_install=yes
     1194    fi
     1195  done
     1196  IFS="$ac_save_ifs"
     1197  ;;
     1198esac
     1199else
     1200  enable_fast_install=yes
     1201fi
     1202
    7351203# Extract the first word of "gcc", so it can be a program name with args.
    7361204set dummy gcc; ac_word=$2
    7371205echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    738 echo "configure:739: checking for $ac_word" >&5
     1206echo "configure:1207: checking for $ac_word" >&5
    7391207if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    7401208  echo $ac_n "(cached) $ac_c" 1>&6
     
    7661234set dummy cc; ac_word=$2
    7671235echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    768 echo "configure:769: checking for $ac_word" >&5
     1236echo "configure:1237: checking for $ac_word" >&5
    7691237if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    7701238  echo $ac_n "(cached) $ac_c" 1>&6
     
    8171285set dummy cl; ac_word=$2
    8181286echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    819 echo "configure:820: checking for $ac_word" >&5
     1287echo "configure:1288: checking for $ac_word" >&5
    8201288if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    8211289  echo $ac_n "(cached) $ac_c" 1>&6
     
    8491317
    8501318echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    851 echo "configure:852: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1319echo "configure:1320: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    8521320
    8531321ac_ext=c
     
    8601328cat > conftest.$ac_ext << EOF
    8611329
    862 #line 863 "configure"
     1330#line 1331 "configure"
    8631331#include "confdefs.h"
    8641332
    8651333main(){return(0);}
    8661334EOF
    867 if { (eval echo configure:868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1335if { (eval echo configure:1336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    8681336  ac_cv_prog_cc_works=yes
    8691337  # If we can't run a trivial program, we are probably using a cross compiler.
     
    8911359fi
    8921360echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    893 echo "configure:894: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1361echo "configure:1362: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    8941362echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    8951363cross_compiling=$ac_cv_prog_cc_cross
    8961364
    8971365echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    898 echo "configure:899: checking whether we are using GNU C" >&5
     1366echo "configure:1367: checking whether we are using GNU C" >&5
    8991367if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    9001368  echo $ac_n "(cached) $ac_c" 1>&6
     
    9051373#endif
    9061374EOF
    907 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1375if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    9081376  ac_cv_prog_gcc=yes
    9091377else
     
    9241392CFLAGS=
    9251393echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    926 echo "configure:927: checking whether ${CC-cc} accepts -g" >&5
     1394echo "configure:1395: checking whether ${CC-cc} accepts -g" >&5
    9271395if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    9281396  echo $ac_n "(cached) $ac_c" 1>&6
     
    9551423fi
    9561424
    957 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
    958 echo "configure:959: checking for POSIXized ISC" >&5
    959 if test -d /etc/conf/kconfig.d &&
    960   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
    961 then
    962   echo "$ac_t""yes" 1>&6
    963   ISC=yes # If later tests want to check for ISC.
    964   cat >> confdefs.h <<\EOF
    965 #define _POSIX_SOURCE 1
    966 EOF
    967 
    968   if test "$GCC" = yes; then
    969     CC="$CC -posix"
    970   else
    971     CC="$CC -Xp"
    972   fi
    973 else
    974   echo "$ac_t""no" 1>&6
    975   ISC=
    976 fi
    977 
    978 
    979 # Find a good install program.  We prefer a C program (faster),
    980 # so one script is as good as another.  But avoid the broken or
    981 # incompatible versions:
    982 # SysV /etc/install, /usr/sbin/install
    983 # SunOS /usr/etc/install
    984 # IRIX /sbin/install
    985 # AIX /bin/install
    986 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    987 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    988 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    989 # ./install, which can be erroneously created by make from ./install.sh.
    990 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    991 echo "configure:992: checking for a BSD compatible install" >&5
    992 if test -z "$INSTALL"; then
    993 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    994   echo $ac_n "(cached) $ac_c" 1>&6
    995 else
    996     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
    997   for ac_dir in $PATH; do
    998     # Account for people who put trailing slashes in PATH elements.
    999     case "$ac_dir/" in
    1000     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
    1001     *)
    1002       # OSF1 and SCO ODT 3.0 have their own names for install.
    1003       # Don't use installbsd from OSF since it installs stuff as root
    1004       # by default.
    1005       for ac_prog in ginstall scoinst install; do
    1006         if test -f $ac_dir/$ac_prog; then
    1007           if test $ac_prog = install &&
    1008             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
    1009             # AIX install.  It has an incompatible calling convention.
    1010             :
    1011           else
    1012             ac_cv_path_install="$ac_dir/$ac_prog -c"
    1013             break 2
    1014           fi
    1015         fi
    1016       done
    1017       ;;
    1018     esac
    1019   done
    1020   IFS="$ac_save_IFS"
    1021 
    1022 fi
    1023   if test "${ac_cv_path_install+set}" = set; then
    1024     INSTALL="$ac_cv_path_install"
    1025   else
    1026     # As a last resort, use the slow shell script.  We don't cache a
    1027     # path for INSTALL within a source directory, because that will
    1028     # break other packages using the cache if that directory is
    1029     # removed, or if the path is relative.
    1030     INSTALL="$ac_install_sh"
    1031   fi
    1032 fi
    1033 echo "$ac_t""$INSTALL" 1>&6
    1034 
    1035 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    1036 # It thinks the first close brace ends the variable substitution.
    1037 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    1038 
    1039 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
    1040 
    1041 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    1042 
    1043 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    1044 echo "configure:1045: checking whether build environment is sane" >&5
    1045 # Just in case
    1046 sleep 1
    1047 echo timestamp > conftestfile
    1048 # Do `set' in a subshell so we don't clobber the current shell's
    1049 # arguments.  Must try -L first in case configure is actually a
    1050 # symlink; some systems play weird games with the mod time of symlinks
    1051 # (eg FreeBSD returns the mod time of the symlink's containing
    1052 # directory).
    1053 if (
    1054    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
    1055    if test "$*" = "X"; then
    1056       # -L didn't work.
    1057       set X `ls -t $srcdir/configure conftestfile`
    1058    fi
    1059    if test "$*" != "X $srcdir/configure conftestfile" \
    1060       && test "$*" != "X conftestfile $srcdir/configure"; then
    1061 
    1062       # If neither matched, then we have a broken ls.  This can happen
    1063       # if, for instance, CONFIG_SHELL is bash and it inherits a
    1064       # broken ls alias from the environment.  This has actually
    1065       # happened.  Such a system could not be considered "sane".
    1066       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
    1067 alias in your environment" 1>&2; exit 1; }
    1068    fi
    1069 
    1070    test "$2" = conftestfile
    1071    )
    1072 then
    1073    # Ok.
    1074    :
    1075 else
    1076    { echo "configure: error: newly created file is older than distributed files!
    1077 Check your system clock" 1>&2; exit 1; }
    1078 fi
    1079 rm -f conftest*
    1080 echo "$ac_t""yes" 1>&6
    1081 if test "$program_transform_name" = s,x,x,; then
    1082   program_transform_name=
    1083 else
    1084   # Double any \ or $.  echo might interpret backslashes.
    1085   cat <<\EOF_SED > conftestsed
    1086 s,\\,\\\\,g; s,\$,$$,g
    1087 EOF_SED
    1088   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
    1089   rm -f conftestsed
    1090 fi
    1091 test "$program_prefix" != NONE &&
    1092   program_transform_name="s,^,${program_prefix},; $program_transform_name"
    1093 # Use a double $ so make ignores it.
    1094 test "$program_suffix" != NONE &&
    1095   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
    1096 
    1097 # sed with no file args requires a program.
    1098 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
    1099 
    1100 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1101 echo "configure:1102: checking whether ${MAKE-make} sets \${MAKE}" >&5
    1102 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    1103 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
    1104   echo $ac_n "(cached) $ac_c" 1>&6
    1105 else
    1106   cat > conftestmake <<\EOF
    1107 all:
    1108         @echo 'ac_maketemp="${MAKE}"'
    1109 EOF
    1110 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    1111 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
    1112 if test -n "$ac_maketemp"; then
    1113   eval ac_cv_prog_make_${ac_make}_set=yes
    1114 else
    1115   eval ac_cv_prog_make_${ac_make}_set=no
    1116 fi
    1117 rm -f conftestmake
    1118 fi
    1119 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    1120   echo "$ac_t""yes" 1>&6
    1121   SET_MAKE=
    1122 else
    1123   echo "$ac_t""no" 1>&6
    1124   SET_MAKE="MAKE=${MAKE-make}"
    1125 fi
    1126 
    1127 
    1128 PACKAGE=bfd
    1129 
    1130 VERSION=2.11.2
    1131 
    1132 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
    1133   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
    1134 fi
    1135 cat >> confdefs.h <<EOF
    1136 #define PACKAGE "$PACKAGE"
    1137 EOF
    1138 
    1139 cat >> confdefs.h <<EOF
    1140 #define VERSION "$VERSION"
    1141 EOF
    1142 
    1143 
    1144 
    1145 missing_dir=`cd $ac_aux_dir && pwd`
    1146 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    1147 echo "configure:1148: checking for working aclocal" >&5
    1148 # Run test in a subshell; some versions of sh will print an error if
    1149 # an executable is not found, even if stderr is redirected.
    1150 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1151 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
    1152    ACLOCAL=aclocal
    1153    echo "$ac_t""found" 1>&6
    1154 else
    1155    ACLOCAL="$missing_dir/missing aclocal"
    1156    echo "$ac_t""missing" 1>&6
    1157 fi
    1158 
    1159 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    1160 echo "configure:1161: checking for working autoconf" >&5
    1161 # Run test in a subshell; some versions of sh will print an error if
    1162 # an executable is not found, even if stderr is redirected.
    1163 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1164 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
    1165    AUTOCONF=autoconf
    1166    echo "$ac_t""found" 1>&6
    1167 else
    1168    AUTOCONF="$missing_dir/missing autoconf"
    1169    echo "$ac_t""missing" 1>&6
    1170 fi
    1171 
    1172 echo $ac_n "checking for working automake""... $ac_c" 1>&6
    1173 echo "configure:1174: checking for working automake" >&5
    1174 # Run test in a subshell; some versions of sh will print an error if
    1175 # an executable is not found, even if stderr is redirected.
    1176 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1177 if (automake --version) < /dev/null > /dev/null 2>&1; then
    1178    AUTOMAKE=automake
    1179    echo "$ac_t""found" 1>&6
    1180 else
    1181    AUTOMAKE="$missing_dir/missing automake"
    1182    echo "$ac_t""missing" 1>&6
    1183 fi
    1184 
    1185 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    1186 echo "configure:1187: checking for working autoheader" >&5
    1187 # Run test in a subshell; some versions of sh will print an error if
    1188 # an executable is not found, even if stderr is redirected.
    1189 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1190 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
    1191    AUTOHEADER=autoheader
    1192    echo "$ac_t""found" 1>&6
    1193 else
    1194    AUTOHEADER="$missing_dir/missing autoheader"
    1195    echo "$ac_t""missing" 1>&6
    1196 fi
    1197 
    1198 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    1199 echo "configure:1200: checking for working makeinfo" >&5
    1200 # Run test in a subshell; some versions of sh will print an error if
    1201 # an executable is not found, even if stderr is redirected.
    1202 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1203 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
    1204    MAKEINFO=makeinfo
    1205    echo "$ac_t""found" 1>&6
    1206 else
    1207    MAKEINFO="$missing_dir/missing makeinfo"
    1208    echo "$ac_t""missing" 1>&6
    1209 fi
    1210 
    1211 
    1212 
    1213 if test $host != $build; then
    1214   ac_tool_prefix=${host_alias}-
    1215 else
    1216   ac_tool_prefix=
    1217 fi
    1218 
    1219 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
    1220 set dummy ${ac_tool_prefix}ar; ac_word=$2
    1221 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1222 echo "configure:1223: checking for $ac_word" >&5
    1223 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    1224   echo $ac_n "(cached) $ac_c" 1>&6
    1225 else
    1226   if test -n "$AR"; then
    1227   ac_cv_prog_AR="$AR" # Let the user override the test.
    1228 else
    1229   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    1230   ac_dummy="$PATH"
    1231   for ac_dir in $ac_dummy; do
    1232     test -z "$ac_dir" && ac_dir=.
    1233     if test -f $ac_dir/$ac_word; then
    1234       ac_cv_prog_AR="${ac_tool_prefix}ar"
    1235       break
    1236     fi
    1237   done
    1238   IFS="$ac_save_ifs"
    1239   test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
    1240 fi
    1241 fi
    1242 AR="$ac_cv_prog_AR"
    1243 if test -n "$AR"; then
    1244   echo "$ac_t""$AR" 1>&6
    1245 else
    1246   echo "$ac_t""no" 1>&6
    1247 fi
    1248 
    1249 
    1250 
    1251 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    1252 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    1253 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1254 echo "configure:1255: checking for $ac_word" >&5
    1255 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    1256   echo $ac_n "(cached) $ac_c" 1>&6
    1257 else
    1258   if test -n "$RANLIB"; then
    1259   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    1260 else
    1261   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    1262   ac_dummy="$PATH"
    1263   for ac_dir in $ac_dummy; do
    1264     test -z "$ac_dir" && ac_dir=.
    1265     if test -f $ac_dir/$ac_word; then
    1266       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    1267       break
    1268     fi
    1269   done
    1270   IFS="$ac_save_ifs"
    1271 fi
    1272 fi
    1273 RANLIB="$ac_cv_prog_RANLIB"
    1274 if test -n "$RANLIB"; then
    1275   echo "$ac_t""$RANLIB" 1>&6
    1276 else
    1277   echo "$ac_t""no" 1>&6
    1278 fi
    1279 
    1280 
    1281 if test -z "$ac_cv_prog_RANLIB"; then
    1282 if test -n "$ac_tool_prefix"; then
    1283   # Extract the first word of "ranlib", so it can be a program name with args.
    1284 set dummy ranlib; ac_word=$2
    1285 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1286 echo "configure:1287: checking for $ac_word" >&5
    1287 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    1288   echo $ac_n "(cached) $ac_c" 1>&6
    1289 else
    1290   if test -n "$RANLIB"; then
    1291   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    1292 else
    1293   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    1294   ac_dummy="$PATH"
    1295   for ac_dir in $ac_dummy; do
    1296     test -z "$ac_dir" && ac_dir=.
    1297     if test -f $ac_dir/$ac_word; then
    1298       ac_cv_prog_RANLIB="ranlib"
    1299       break
    1300     fi
    1301   done
    1302   IFS="$ac_save_ifs"
    1303   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
    1304 fi
    1305 fi
    1306 RANLIB="$ac_cv_prog_RANLIB"
    1307 if test -n "$RANLIB"; then
    1308   echo "$ac_t""$RANLIB" 1>&6
    1309 else
    1310   echo "$ac_t""no" 1>&6
    1311 fi
    1312 
    1313 else
    1314   RANLIB=":"
    1315 fi
    1316 fi
    1317 
    1318 
    1319 # Check whether --enable-shared or --disable-shared was given.
    1320 if test "${enable_shared+set}" = set; then
    1321   enableval="$enable_shared"
    1322   p=${PACKAGE-default}
    1323 case "$enableval" in
    1324 yes) enable_shared=yes ;;
    1325 no) enable_shared=no ;;
    1326 *)
    1327   enable_shared=no
    1328   # Look at the argument we got.  We use all the common list separators.
    1329   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    1330   for pkg in $enableval; do
    1331     if test "X$pkg" = "X$p"; then
    1332       enable_shared=yes
    1333     fi
    1334   done
    1335   IFS="$ac_save_ifs"
    1336   ;;
    1337 esac
    1338 else
    1339   enable_shared=no
    1340 fi
    1341 
    1342 
    1343 # Check whether --enable-static or --disable-static was given.
    1344 if test "${enable_static+set}" = set; then
    1345   enableval="$enable_static"
    1346   p=${PACKAGE-default}
    1347 case "$enableval" in
    1348 yes) enable_static=yes ;;
    1349 no) enable_static=no ;;
    1350 *)
    1351   enable_static=no
    1352   # Look at the argument we got.  We use all the common list separators.
    1353   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    1354   for pkg in $enableval; do
    1355     if test "X$pkg" = "X$p"; then
    1356       enable_static=yes
    1357     fi
    1358   done
    1359   IFS="$ac_save_ifs"
    1360   ;;
    1361 esac
    1362 else
    1363   enable_static=yes
    1364 fi
    1365 
    1366 # Check whether --enable-fast-install or --disable-fast-install was given.
    1367 if test "${enable_fast_install+set}" = set; then
    1368   enableval="$enable_fast_install"
    1369   p=${PACKAGE-default}
    1370 case "$enableval" in
    1371 yes) enable_fast_install=yes ;;
    1372 no) enable_fast_install=no ;;
    1373 *)
    1374   enable_fast_install=no
    1375   # Look at the argument we got.  We use all the common list separators.
    1376   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    1377   for pkg in $enableval; do
    1378     if test "X$pkg" = "X$p"; then
    1379       enable_fast_install=yes
    1380     fi
    1381   done
    1382   IFS="$ac_save_ifs"
    1383   ;;
    1384 esac
    1385 else
    1386   enable_fast_install=yes
    1387 fi
    1388 
    13891425# Check whether --with-gnu-ld or --without-gnu-ld was given.
    13901426if test "${with_gnu_ld+set}" = set; then
     
    13961432
    13971433ac_prog=ld
    1398 if test "$ac_cv_prog_gcc" = yes; then
     1434if test "$GCC" = yes; then
    13991435  # Check if gcc -print-prog-name=ld gives a path.
    14001436  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
    1401 echo "configure:1402: checking for ld used by GCC" >&5
     1437echo "configure:1438: checking for ld used by GCC" >&5
    14021438  case $host in
    14031439  *-*-mingw*)
     
    14071443    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    14081444  esac
    1409   case "$ac_prog" in
     1445  case $ac_prog in
    14101446    # Accept absolute paths.
    14111447    [\\/]* | [A-Za-z]:[\\/]*)
     
    14291465elif test "$with_gnu_ld" = yes; then
    14301466  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
    1431 echo "configure:1432: checking for GNU ld" >&5
     1467echo "configure:1468: checking for GNU ld" >&5
    14321468else
    14331469  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
    1434 echo "configure:1435: checking for non-GNU ld" >&5
    1435 fi
    1436 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
     1470echo "configure:1471: checking for non-GNU ld" >&5
     1471fi
     1472if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
    14371473  echo $ac_n "(cached) $ac_c" 1>&6
    14381474else
     
    14421478    test -z "$ac_dir" && ac_dir=.
    14431479    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    1444       ac_cv_path_LD="$ac_dir/$ac_prog"
     1480      lt_cv_path_LD="$ac_dir/$ac_prog"
    14451481      # Check to see if the program is GNU ld.  I'd rather use --version,
    14461482      # but apparently some GNU ld's only accept -v.
    14471483      # Break only if it was the GNU/non-GNU ld that we prefer.
    1448       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
     1484      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
    14491485        test "$with_gnu_ld" != no && break
    14501486      else
     
    14551491  IFS="$ac_save_ifs"
    14561492else
    1457   ac_cv_path_LD="$LD" # Let the user override the test with a path.
    1458 fi
    1459 fi
    1460 
    1461 LD="$ac_cv_path_LD"
     1493  lt_cv_path_LD="$LD" # Let the user override the test with a path.
     1494fi
     1495fi
     1496
     1497LD="$lt_cv_path_LD"
    14621498if test -n "$LD"; then
    14631499  echo "$ac_t""$LD" 1>&6
     
    14671503test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
    14681504echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
    1469 echo "configure:1470: checking if the linker ($LD) is GNU ld" >&5
    1470 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
     1505echo "configure:1506: checking if the linker ($LD) is GNU ld" >&5
     1506if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
    14711507  echo $ac_n "(cached) $ac_c" 1>&6
    14721508else
    14731509  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    14741510if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
    1475   ac_cv_prog_gnu_ld=yes
    1476 else
    1477   ac_cv_prog_gnu_ld=no
    1478 fi
    1479 fi
    1480 
    1481 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
    1482 with_gnu_ld=$ac_cv_prog_gnu_ld
     1511  lt_cv_prog_gnu_ld=yes
     1512else
     1513  lt_cv_prog_gnu_ld=no
     1514fi
     1515fi
     1516
     1517echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
     1518with_gnu_ld=$lt_cv_prog_gnu_ld
    14831519
    14841520
    14851521echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
    1486 echo "configure:1487: checking for $LD option to reload object files" >&5
     1522echo "configure:1523: checking for $LD option to reload object files" >&5
    14871523if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
    14881524  echo $ac_n "(cached) $ac_c" 1>&6
     
    14961532
    14971533echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
    1498 echo "configure:1499: checking for BSD-compatible nm" >&5
    1499 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
     1534echo "configure:1535: checking for BSD-compatible nm" >&5
     1535if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
    15001536  echo $ac_n "(cached) $ac_c" 1>&6
    15011537else
    15021538  if test -n "$NM"; then
    15031539  # Let the user override the test.
    1504   ac_cv_path_NM="$NM"
     1540  lt_cv_path_NM="$NM"
    15051541else
    15061542  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
     
    15141550      # Tru64's nm complains that /dev/null is an invalid object file
    15151551      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
    1516         ac_cv_path_NM="$tmp_nm -B"
     1552        lt_cv_path_NM="$tmp_nm -B"
    15171553        break
    15181554      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
    1519         ac_cv_path_NM="$tmp_nm -p"
     1555        lt_cv_path_NM="$tmp_nm -p"
    15201556        break
    15211557      else
    1522         ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
     1558        lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    15231559        continue # so that we can try to find one that supports BSD flags
    15241560      fi
     
    15261562  done
    15271563  IFS="$ac_save_ifs"
    1528   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
    1529 fi
    1530 fi
    1531 
    1532 NM="$ac_cv_path_NM"
     1564  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
     1565fi
     1566fi
     1567
     1568NM="$lt_cv_path_NM"
    15331569echo "$ac_t""$NM" 1>&6
    15341570
    15351571echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1536 echo "configure:1537: checking whether ln -s works" >&5
     1572echo "configure:1573: checking whether ln -s works" >&5
    15371573if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    15381574  echo $ac_n "(cached) $ac_c" 1>&6
     
    15551591
    15561592echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
    1557 echo "configure:1558: checking how to recognise dependant libraries" >&5
     1593echo "configure:1594: checking how to recognise dependant libraries" >&5
    15581594if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
    15591595  echo $ac_n "(cached) $ac_c" 1>&6
     
    15731609# whether `pass_all' will *always* work, you probably want this one.
    15741610
    1575 case "$host_os" in
    1576 aix4*)
     1611case $host_os in
     1612aix*)
    15771613  lt_cv_deplibs_check_method=pass_all
    15781614  ;;
     
    15831619
    15841620bsdi4*)
    1585     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
    1586     lt_cv_file_magic_cmd='/usr/bin/file -L'
     1621  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
     1622  lt_cv_file_magic_cmd='/usr/bin/file -L'
    15871623  lt_cv_file_magic_test_file=/shlib/libc.so
    15881624  ;;
     
    15931629  ;;
    15941630
     1631darwin* | rhapsody*)
     1632  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
     1633  lt_cv_file_magic_cmd='/usr/bin/file -L'
     1634  case "$host_os" in
     1635  rhapsody* | darwin1.012)
     1636    lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
     1637    ;;
     1638  *) # Darwin 1.3 on
     1639    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
     1640    ;;
     1641  esac
     1642  ;;
     1643
    15951644freebsd* )
    15961645  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    1597     case "$host_cpu" in
     1646    case $host_cpu in
    15981647    i*86 )
    15991648      # Not sure whether the presence of OpenBSD here was a mistake.
    16001649      # Let's accept both of them until this is cleared up.
    1601             lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
    1602             lt_cv_file_magic_cmd=/usr/bin/file
     1650      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
     1651      lt_cv_file_magic_cmd=/usr/bin/file
    16031652      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
    16041653      ;;
     
    16131662  ;;
    16141663
    1615 hpux10.20*)
    1616   # TODO:  Does this work for hpux-11 too?
    1617   lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
    1618   lt_cv_file_magic_cmd=/usr/bin/file
    1619   lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1664hpux10.20*|hpux11*)
     1665  case $host_cpu in
     1666  hppa*)
     1667    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
     1668    lt_cv_file_magic_cmd=/usr/bin/file
     1669    lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1670    ;;
     1671  ia64*)
     1672    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     1673    lt_cv_file_magic_cmd=/usr/bin/file
     1674    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     1675    ;;
     1676  esac
    16201677  ;;
    16211678
    16221679irix5* | irix6*)
    1623   case "$host_os" in
     1680  case $host_os in
    16241681  irix5*)
    16251682    # this will be overridden with pass_all, but let us keep it just in case
     
    16271684    ;;
    16281685  *)
    1629     case "$LD" in
     1686    case $LD in
    16301687    *-32|*"-32 ") libmagic=32-bit;;
    16311688    *-n32|*"-n32 ") libmagic=N32;;
     
    16341691    esac
    16351692    # this will be overridden with pass_all, but let us keep it just in case
    1636         lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
    1637         ;;
     1693    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
     1694    ;;
    16381695  esac
    16391696  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
     
    16431700# This must be Linux ELF.
    16441701linux-gnu*)
    1645   case "$host_cpu" in
    1646   alpha* | i*86 | powerpc* | sparc* | ia64* )
     1702  case $host_cpu in
     1703  alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    16471704    lt_cv_deplibs_check_method=pass_all ;;
    16481705  *)
    16491706    # glibc up to 2.1.1 does not perform some relocations on ARM
    1650         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
    1651       esac
     1707    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
     1708  esac
    16521709  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    16531710  ;;
    16541711
    16551712netbsd*)
    1656   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
     1713  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     1714    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
    16571715  else
    1658         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
    1659         lt_cv_file_magic_cmd='/usr/bin/file -L'
    1660     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1716    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
    16611717  fi
     1718  ;;
     1719
     1720newsos6)
     1721  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
     1722  lt_cv_file_magic_cmd=/usr/bin/file
     1723  lt_cv_file_magic_test_file=/usr/lib/libnls.so
    16621724  ;;
    16631725
     
    16781740  ;;
    16791741
     1742sysv5uw[78]* | sysv4*uw2*)
     1743  lt_cv_deplibs_check_method=pass_all
     1744  ;;
     1745
    16801746sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    1681   case "$host_vendor" in
     1747  case $host_vendor in
    16821748  ncr)
    16831749    lt_cv_deplibs_check_method=pass_all
    16841750    ;;
    16851751  motorola)
    1686         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
    1687         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1752    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
     1753    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
    16881754    ;;
    16891755  esac
     
    16981764
    16991765echo $ac_n "checking for object suffix""... $ac_c" 1>&6
    1700 echo "configure:1701: checking for object suffix" >&5
     1766echo "configure:1767: checking for object suffix" >&5
    17011767if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
    17021768  echo $ac_n "(cached) $ac_c" 1>&6
     
    17041770  rm -f conftest*
    17051771echo 'int i = 1;' > conftest.$ac_ext
    1706 if { (eval echo configure:1707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1772if { (eval echo configure:1773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    17071773  for ac_file in conftest.*; do
    17081774    case $ac_file in
     
    17241790
    17251791echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    1726 echo "configure:1727: checking for executable suffix" >&5
     1792echo "configure:1793: checking for executable suffix" >&5
    17271793if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    17281794  echo $ac_n "(cached) $ac_c" 1>&6
     
    17341800  echo 'int main () { return 0; }' > conftest.$ac_ext
    17351801  ac_cv_exeext=
    1736   if { (eval echo configure:1737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1802  if { (eval echo configure:1803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    17371803    for file in conftest.*; do
    17381804      case $file in
     
    17571823
    17581824# Only perform the check for file, if the check method requires it
    1759 case "$deplibs_check_method" in
     1825case $deplibs_check_method in
    17601826file_magic*)
    17611827  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    17621828    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
    1763 echo "configure:1764: checking for ${ac_tool_prefix}file" >&5
     1829echo "configure:1830: checking for ${ac_tool_prefix}file" >&5
    17641830if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    17651831  echo $ac_n "(cached) $ac_c" 1>&6
    17661832else
    1767   case "$MAGIC_CMD" in
     1833  case $MAGIC_CMD in
    17681834  /*)
    17691835  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    17811847      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
    17821848      if test -n "$file_magic_test_file"; then
    1783         case "$deplibs_check_method" in
     1849        case $deplibs_check_method in
    17841850        "file_magic "*)
    17851851          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    18231889  if test -n "$ac_tool_prefix"; then
    18241890    echo $ac_n "checking for file""... $ac_c" 1>&6
    1825 echo "configure:1826: checking for file" >&5
     1891echo "configure:1892: checking for file" >&5
    18261892if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    18271893  echo $ac_n "(cached) $ac_c" 1>&6
    18281894else
    1829   case "$MAGIC_CMD" in
     1895  case $MAGIC_CMD in
    18301896  /*)
    18311897  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    18431909      lt_cv_path_MAGIC_CMD="$ac_dir/file"
    18441910      if test -n "$file_magic_test_file"; then
    1845         case "$deplibs_check_method" in
     1911        case $deplibs_check_method in
    18461912        "file_magic "*)
    18471913          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    18941960set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    18951961echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1896 echo "configure:1897: checking for $ac_word" >&5
     1962echo "configure:1963: checking for $ac_word" >&5
    18971963if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    18981964  echo $ac_n "(cached) $ac_c" 1>&6
     
    19261992set dummy ranlib; ac_word=$2
    19271993echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1928 echo "configure:1929: checking for $ac_word" >&5
     1994echo "configure:1995: checking for $ac_word" >&5
    19291995if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    19301996  echo $ac_n "(cached) $ac_c" 1>&6
     
    19612027set dummy ${ac_tool_prefix}strip; ac_word=$2
    19622028echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1963 echo "configure:1964: checking for $ac_word" >&5
     2029echo "configure:2030: checking for $ac_word" >&5
    19642030if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    19652031  echo $ac_n "(cached) $ac_c" 1>&6
     
    19932059set dummy strip; ac_word=$2
    19942060echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1995 echo "configure:1996: checking for $ac_word" >&5
     2061echo "configure:2062: checking for $ac_word" >&5
    19962062if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    19972063  echo $ac_n "(cached) $ac_c" 1>&6
     
    20312097test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
    20322098test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
    2033 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
    2034 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
     2099test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
     2100test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
    20352101
    20362102
     
    20572123# Some flags need to be propagated to the compiler or linker for good
    20582124# libtool support.
    2059 case "$host" in
     2125case $host in
    20602126*-*-irix6*)
    20612127  # Find out which ABI we are using.
    2062   echo '#line 2063 "configure"' > conftest.$ac_ext
    2063   if { (eval echo configure:2064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    2064     case "`/usr/bin/file conftest.o`" in
     2128  echo '#line 2129 "configure"' > conftest.$ac_ext
     2129  if { (eval echo configure:2130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2130   if test "$lt_cv_prog_gnu_ld" = yes; then
     2131    case `/usr/bin/file conftest.$ac_objext` in
     2132    *32-bit*)
     2133      LD="${LD-ld} -melf32bsmip"
     2134      ;;
     2135    *N32*)
     2136      LD="${LD-ld} -melf32bmipn32"
     2137      ;;
     2138    *64-bit*)
     2139      LD="${LD-ld} -melf64bmip"
     2140      ;;
     2141    esac
     2142   else
     2143    case `/usr/bin/file conftest.$ac_objext` in
    20652144    *32-bit*)
    20662145      LD="${LD-ld} -32"
     
    20732152      ;;
    20742153    esac
     2154   fi
     2155  fi
     2156  rm -rf conftest*
     2157  ;;
     2158
     2159ia64-*-hpux*)
     2160  # Find out which ABI we are using.
     2161  echo 'int i;' > conftest.$ac_ext
     2162  if { (eval echo configure:2163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2163    case "`/usr/bin/file conftest.o`" in
     2164    *ELF-32*)
     2165      HPUX_IA64_MODE="32"
     2166      ;;
     2167    *ELF-64*)
     2168      HPUX_IA64_MODE="64"
     2169      ;;
     2170    esac
    20752171  fi
    20762172  rm -rf conftest*
     
    20822178  CFLAGS="$CFLAGS -belf"
    20832179  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    2084 echo "configure:2085: checking whether the C compiler needs -belf" >&5
     2180echo "configure:2181: checking whether the C compiler needs -belf" >&5
    20852181if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    20862182  echo $ac_n "(cached) $ac_c" 1>&6
     
    20952191
    20962192     cat > conftest.$ac_ext <<EOF
    2097 #line 2098 "configure"
     2193#line 2194 "configure"
    20982194#include "confdefs.h"
    20992195
     
    21022198; return 0; }
    21032199EOF
    2104 if { (eval echo configure:2105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2200if { (eval echo configure:2201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21052201  rm -rf conftest*
    21062202  lt_cv_cc_needs_belf=yes
     
    22122308exec 5>>./config.log
    22132309
    2214 
    22152310 
    22162311
     
    22612356fi
    22622357
    2263 build_warnings="-W -Wall"
     2358build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
    22642359# Check whether --enable-build-warnings or --disable-build-warnings was given.
    22652360if test "${enable_build_warnings+set}" = set; then
     
    22792374fi
    22802375WARN_CFLAGS=""
    2281 if test "x${build_warnings}" != x -a "x$GCC" = xyes ; then
     2376if test "x${build_warnings}" != x && test "x$GCC" = xyes ; then
    22822377    WARN_CFLAGS="${build_warnings}"
    22832378fi
     
    22912386    { echo "configure: error: Unrecognized target system type; please check config.sub." 1>&2; exit 1; }
    22922387fi
    2293 if test "$program_transform_name" = s,x,x,; then
    2294   program_transform_name=
    2295 else
    2296   # Double any \ or $.  echo might interpret backslashes.
    2297   cat <<\EOF_SED > conftestsed
    2298 s,\\,\\\\,g; s,\$,$$,g
    2299 EOF_SED
    2300   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
    2301   rm -f conftestsed
    2302 fi
    2303 test "$program_prefix" != NONE &&
    2304   program_transform_name="s,^,${program_prefix},; $program_transform_name"
    2305 # Use a double $ so make ignores it.
    2306 test "$program_suffix" != NONE &&
    2307   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
    2308 
    2309 # sed with no file args requires a program.
    2310 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
    2311 
    23122388
    23132389echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    2314 echo "configure:2315: checking whether to enable maintainer-specific portions of Makefiles" >&5
     2390echo "configure:2391: checking whether to enable maintainer-specific portions of Makefiles" >&5
    23152391    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    23162392if test "${enable_maintainer_mode+set}" = set; then
     
    23342410 
    23352411
     2412echo $ac_n "checking whether to install libbfd""... $ac_c" 1>&6
     2413echo "configure:2414: checking whether to install libbfd" >&5
     2414  # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
     2415if test "${enable_install_libbfd+set}" = set; then
     2416  enableval="$enable_install_libbfd"
     2417  install_libbfd_p=$enableval
     2418else
     2419  if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
     2420        install_libbfd_p=yes
     2421      else
     2422        install_libbfd_p=no
     2423      fi
     2424fi
     2425
     2426  echo "$ac_t""$install_libbfd_p" 1>&6
     2427 
     2428
     2429if test $install_libbfd_p = yes; then
     2430  INSTALL_LIBBFD_TRUE=
     2431  INSTALL_LIBBFD_FALSE='#'
     2432else
     2433  INSTALL_LIBBFD_TRUE='#'
     2434  INSTALL_LIBBFD_FALSE=
     2435fi
     2436  # libbfd.a is a host library containing target dependent code
     2437  bfdlibdir='$(libdir)'
     2438  bfdincludedir='$(includedir)'
     2439  if test "${host}" != "${target}"; then
     2440    bfdlibdir='$(exec_prefix)/$(host_alias)/$(target_alias)/lib'
     2441    bfdincludedir='$(exec_prefix)/$(host_alias)/$(target_alias)/include'
     2442  fi
     2443 
     2444 
     2445
     2446
    23362447
    23372448
    23382449echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    2339 echo "configure:2340: checking for executable suffix" >&5
     2450echo "configure:2451: checking for executable suffix" >&5
    23402451if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    23412452  echo $ac_n "(cached) $ac_c" 1>&6
     
    23472458  echo 'int main () { return 0; }' > conftest.$ac_ext
    23482459  ac_cv_exeext=
    2349   if { (eval echo configure:2350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2460  if { (eval echo configure:2461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    23502461    for file in conftest.*; do
    23512462      case $file in
     
    23702481host64=false
    23712482target64=false
     2483bfd_default_target_size=32
    23722484
    23732485# host stuff:
     
    23762488set dummy gcc; ac_word=$2
    23772489echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2378 echo "configure:2379: checking for $ac_word" >&5
     2490echo "configure:2491: checking for $ac_word" >&5
    23792491if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    23802492  echo $ac_n "(cached) $ac_c" 1>&6
     
    24062518set dummy cc; ac_word=$2
    24072519echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2408 echo "configure:2409: checking for $ac_word" >&5
     2520echo "configure:2521: checking for $ac_word" >&5
    24092521if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    24102522  echo $ac_n "(cached) $ac_c" 1>&6
     
    24572569set dummy cl; ac_word=$2
    24582570echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2459 echo "configure:2460: checking for $ac_word" >&5
     2571echo "configure:2572: checking for $ac_word" >&5
    24602572if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    24612573  echo $ac_n "(cached) $ac_c" 1>&6
     
    24892601
    24902602echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2491 echo "configure:2492: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2603echo "configure:2604: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    24922604
    24932605ac_ext=c
     
    25002612cat > conftest.$ac_ext << EOF
    25012613
    2502 #line 2503 "configure"
     2614#line 2615 "configure"
    25032615#include "confdefs.h"
    25042616
    25052617main(){return(0);}
    25062618EOF
    2507 if { (eval echo configure:2508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2619if { (eval echo configure:2620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    25082620  ac_cv_prog_cc_works=yes
    25092621  # If we can't run a trivial program, we are probably using a cross compiler.
     
    25312643fi
    25322644echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2533 echo "configure:2534: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2645echo "configure:2646: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    25342646echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    25352647cross_compiling=$ac_cv_prog_cc_cross
    25362648
    25372649echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2538 echo "configure:2539: checking whether we are using GNU C" >&5
     2650echo "configure:2651: checking whether we are using GNU C" >&5
    25392651if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    25402652  echo $ac_n "(cached) $ac_c" 1>&6
     
    25452657#endif
    25462658EOF
    2547 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2659if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    25482660  ac_cv_prog_gcc=yes
    25492661else
     
    25642676CFLAGS=
    25652677echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2566 echo "configure:2567: checking whether ${CC-cc} accepts -g" >&5
     2678echo "configure:2679: checking whether ${CC-cc} accepts -g" >&5
    25672679if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    25682680  echo $ac_n "(cached) $ac_c" 1>&6
     
    25962708
    25972709
    2598 ALL_LINGUAS=
     2710ALL_LINGUAS="fr tr ja es sv da zh_CN"
    25992711echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    2600 echo "configure:2601: checking how to run the C preprocessor" >&5
     2712echo "configure:2713: checking how to run the C preprocessor" >&5
    26012713# On Suns, sometimes $CPP names a directory.
    26022714if test -n "$CPP" && test -d "$CPP"; then
     
    26132725  # not just through cpp.
    26142726  cat > conftest.$ac_ext <<EOF
    2615 #line 2616 "configure"
     2727#line 2728 "configure"
    26162728#include "confdefs.h"
    26172729#include <assert.h>
     
    26192731EOF
    26202732ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2621 { (eval echo configure:2622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2733{ (eval echo configure:2734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26222734ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    26232735if test -z "$ac_err"; then
     
    26302742  CPP="${CC-cc} -E -traditional-cpp"
    26312743  cat > conftest.$ac_ext <<EOF
    2632 #line 2633 "configure"
     2744#line 2745 "configure"
    26332745#include "confdefs.h"
    26342746#include <assert.h>
     
    26362748EOF
    26372749ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2638 { (eval echo configure:2639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2750{ (eval echo configure:2751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26392751ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    26402752if test -z "$ac_err"; then
     
    26472759  CPP="${CC-cc} -nologo -E"
    26482760  cat > conftest.$ac_ext <<EOF
    2649 #line 2650 "configure"
     2761#line 2762 "configure"
    26502762#include "confdefs.h"
    26512763#include <assert.h>
     
    26532765EOF
    26542766ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2655 { (eval echo configure:2656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2767{ (eval echo configure:2768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26562768ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    26572769if test -z "$ac_err"; then
     
    26802792set dummy ranlib; ac_word=$2
    26812793echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2682 echo "configure:2683: checking for $ac_word" >&5
     2794echo "configure:2795: checking for $ac_word" >&5
    26832795if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    26842796  echo $ac_n "(cached) $ac_c" 1>&6
     
    27082820
    27092821echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2710 echo "configure:2711: checking for ANSI C header files" >&5
     2822echo "configure:2823: checking for ANSI C header files" >&5
    27112823if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    27122824  echo $ac_n "(cached) $ac_c" 1>&6
    27132825else
    27142826  cat > conftest.$ac_ext <<EOF
    2715 #line 2716 "configure"
     2827#line 2828 "configure"
    27162828#include "confdefs.h"
    27172829#include <stdlib.h>
     
    27212833EOF
    27222834ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2723 { (eval echo configure:2724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2835{ (eval echo configure:2836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    27242836ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    27252837if test -z "$ac_err"; then
     
    27382850  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    27392851cat > conftest.$ac_ext <<EOF
    2740 #line 2741 "configure"
     2852#line 2853 "configure"
    27412853#include "confdefs.h"
    27422854#include <string.h>
     
    27562868  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    27572869cat > conftest.$ac_ext <<EOF
    2758 #line 2759 "configure"
     2870#line 2871 "configure"
    27592871#include "confdefs.h"
    27602872#include <stdlib.h>
     
    27772889else
    27782890  cat > conftest.$ac_ext <<EOF
    2779 #line 2780 "configure"
     2891#line 2892 "configure"
    27802892#include "confdefs.h"
    27812893#include <ctype.h>
     
    27882900
    27892901EOF
    2790 if { (eval echo configure:2791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2902if { (eval echo configure:2903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    27912903then
    27922904  :
     
    28122924
    28132925echo $ac_n "checking for working const""... $ac_c" 1>&6
    2814 echo "configure:2815: checking for working const" >&5
     2926echo "configure:2927: checking for working const" >&5
    28152927if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    28162928  echo $ac_n "(cached) $ac_c" 1>&6
    28172929else
    28182930  cat > conftest.$ac_ext <<EOF
    2819 #line 2820 "configure"
     2931#line 2932 "configure"
    28202932#include "confdefs.h"
    28212933
     
    28662978; return 0; }
    28672979EOF
    2868 if { (eval echo configure:2869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2980if { (eval echo configure:2981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    28692981  rm -rf conftest*
    28702982  ac_cv_c_const=yes
     
    28872999
    28883000echo $ac_n "checking for inline""... $ac_c" 1>&6
    2889 echo "configure:2890: checking for inline" >&5
     3001echo "configure:3002: checking for inline" >&5
    28903002if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    28913003  echo $ac_n "(cached) $ac_c" 1>&6
     
    28943006for ac_kw in inline __inline__ __inline; do
    28953007  cat > conftest.$ac_ext <<EOF
    2896 #line 2897 "configure"
     3008#line 3009 "configure"
    28973009#include "confdefs.h"
    28983010
     
    29013013; return 0; }
    29023014EOF
    2903 if { (eval echo configure:2904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3015if { (eval echo configure:3016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    29043016  rm -rf conftest*
    29053017  ac_cv_c_inline=$ac_kw; break
     
    29273039
    29283040echo $ac_n "checking for off_t""... $ac_c" 1>&6
    2929 echo "configure:2930: checking for off_t" >&5
     3041echo "configure:3042: checking for off_t" >&5
    29303042if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
    29313043  echo $ac_n "(cached) $ac_c" 1>&6
    29323044else
    29333045  cat > conftest.$ac_ext <<EOF
    2934 #line 2935 "configure"
     3046#line 3047 "configure"
    29353047#include "confdefs.h"
    29363048#include <sys/types.h>
     
    29603072
    29613073echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2962 echo "configure:2963: checking for size_t" >&5
     3074echo "configure:3075: checking for size_t" >&5
    29633075if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    29643076  echo $ac_n "(cached) $ac_c" 1>&6
    29653077else
    29663078  cat > conftest.$ac_ext <<EOF
    2967 #line 2968 "configure"
     3079#line 3080 "configure"
    29683080#include "confdefs.h"
    29693081#include <sys/types.h>
     
    29953107# for constant arguments.  Useless!
    29963108echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2997 echo "configure:2998: checking for working alloca.h" >&5
     3109echo "configure:3110: checking for working alloca.h" >&5
    29983110if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    29993111  echo $ac_n "(cached) $ac_c" 1>&6
    30003112else
    30013113  cat > conftest.$ac_ext <<EOF
    3002 #line 3003 "configure"
     3114#line 3115 "configure"
    30033115#include "confdefs.h"
    30043116#include <alloca.h>
     
    30073119; return 0; }
    30083120EOF
    3009 if { (eval echo configure:3010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3121if { (eval echo configure:3122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30103122  rm -rf conftest*
    30113123  ac_cv_header_alloca_h=yes
     
    30283140
    30293141echo $ac_n "checking for alloca""... $ac_c" 1>&6
    3030 echo "configure:3031: checking for alloca" >&5
     3142echo "configure:3143: checking for alloca" >&5
    30313143if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    30323144  echo $ac_n "(cached) $ac_c" 1>&6
    30333145else
    30343146  cat > conftest.$ac_ext <<EOF
    3035 #line 3036 "configure"
     3147#line 3148 "configure"
    30363148#include "confdefs.h"
    30373149
     
    30613173; return 0; }
    30623174EOF
    3063 if { (eval echo configure:3064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3175if { (eval echo configure:3176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30643176  rm -rf conftest*
    30653177  ac_cv_func_alloca_works=yes
     
    30933205
    30943206echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    3095 echo "configure:3096: checking whether alloca needs Cray hooks" >&5
     3207echo "configure:3208: checking whether alloca needs Cray hooks" >&5
    30963208if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    30973209  echo $ac_n "(cached) $ac_c" 1>&6
    30983210else
    30993211  cat > conftest.$ac_ext <<EOF
    3100 #line 3101 "configure"
     3212#line 3213 "configure"
    31013213#include "confdefs.h"
    31023214#if defined(CRAY) && ! defined(CRAY2)
     
    31233235for ac_func in _getb67 GETB67 getb67; do
    31243236  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3125 echo "configure:3126: checking for $ac_func" >&5
     3237echo "configure:3238: checking for $ac_func" >&5
    31263238if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    31273239  echo $ac_n "(cached) $ac_c" 1>&6
    31283240else
    31293241  cat > conftest.$ac_ext <<EOF
    3130 #line 3131 "configure"
     3242#line 3243 "configure"
    31313243#include "confdefs.h"
    31323244/* System header to define __stub macros and hopefully few prototypes,
     
    31513263; return 0; }
    31523264EOF
    3153 if { (eval echo configure:3154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3265if { (eval echo configure:3266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    31543266  rm -rf conftest*
    31553267  eval "ac_cv_func_$ac_func=yes"
     
    31783290
    31793291echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    3180 echo "configure:3181: checking stack direction for C alloca" >&5
     3292echo "configure:3293: checking stack direction for C alloca" >&5
    31813293if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    31823294  echo $ac_n "(cached) $ac_c" 1>&6
     
    31863298else
    31873299  cat > conftest.$ac_ext <<EOF
    3188 #line 3189 "configure"
     3300#line 3301 "configure"
    31893301#include "confdefs.h"
    31903302find_stack_direction ()
     
    32053317}
    32063318EOF
    3207 if { (eval echo configure:3208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3319if { (eval echo configure:3320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32083320then
    32093321  ac_cv_c_stack_direction=1
     
    32303342ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    32313343echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3232 echo "configure:3233: checking for $ac_hdr" >&5
     3344echo "configure:3345: checking for $ac_hdr" >&5
    32333345if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    32343346  echo $ac_n "(cached) $ac_c" 1>&6
    32353347else
    32363348  cat > conftest.$ac_ext <<EOF
    3237 #line 3238 "configure"
     3349#line 3350 "configure"
    32383350#include "confdefs.h"
    32393351#include <$ac_hdr>
    32403352EOF
    32413353ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3242 { (eval echo configure:3243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3354{ (eval echo configure:3355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    32433355ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    32443356if test -z "$ac_err"; then
     
    32693381do
    32703382echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3271 echo "configure:3272: checking for $ac_func" >&5
     3383echo "configure:3384: checking for $ac_func" >&5
    32723384if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    32733385  echo $ac_n "(cached) $ac_c" 1>&6
    32743386else
    32753387  cat > conftest.$ac_ext <<EOF
    3276 #line 3277 "configure"
     3388#line 3389 "configure"
    32773389#include "confdefs.h"
    32783390/* System header to define __stub macros and hopefully few prototypes,
     
    32973409; return 0; }
    32983410EOF
    3299 if { (eval echo configure:3300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3411if { (eval echo configure:3412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    33003412  rm -rf conftest*
    33013413  eval "ac_cv_func_$ac_func=yes"
     
    33223434
    33233435echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    3324 echo "configure:3325: checking for working mmap" >&5
     3436echo "configure:3437: checking for working mmap" >&5
    33253437if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    33263438  echo $ac_n "(cached) $ac_c" 1>&6
     
    33303442else
    33313443  cat > conftest.$ac_ext <<EOF
    3332 #line 3333 "configure"
     3444#line 3445 "configure"
    33333445#include "confdefs.h"
    33343446
     
    34703582
    34713583EOF
    3472 if { (eval echo configure:3473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3584if { (eval echo configure:3585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34733585then
    34743586  ac_cv_func_mmap_fixed_mapped=yes
     
    34983610ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    34993611echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3500 echo "configure:3501: checking for $ac_hdr" >&5
     3612echo "configure:3613: checking for $ac_hdr" >&5
    35013613if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    35023614  echo $ac_n "(cached) $ac_c" 1>&6
    35033615else
    35043616  cat > conftest.$ac_ext <<EOF
    3505 #line 3506 "configure"
     3617#line 3618 "configure"
    35063618#include "confdefs.h"
    35073619#include <$ac_hdr>
    35083620EOF
    35093621ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3510 { (eval echo configure:3511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3622{ (eval echo configure:3623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    35113623ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    35123624if test -z "$ac_err"; then
     
    35383650do
    35393651echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3540 echo "configure:3541: checking for $ac_func" >&5
     3652echo "configure:3653: checking for $ac_func" >&5
    35413653if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    35423654  echo $ac_n "(cached) $ac_c" 1>&6
    35433655else
    35443656  cat > conftest.$ac_ext <<EOF
    3545 #line 3546 "configure"
     3657#line 3658 "configure"
    35463658#include "confdefs.h"
    35473659/* System header to define __stub macros and hopefully few prototypes,
     
    35663678; return 0; }
    35673679EOF
    3568 if { (eval echo configure:3569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3680if { (eval echo configure:3681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35693681  rm -rf conftest*
    35703682  eval "ac_cv_func_$ac_func=yes"
     
    35953707do
    35963708echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3597 echo "configure:3598: checking for $ac_func" >&5
     3709echo "configure:3710: checking for $ac_func" >&5
    35983710if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    35993711  echo $ac_n "(cached) $ac_c" 1>&6
    36003712else
    36013713  cat > conftest.$ac_ext <<EOF
    3602 #line 3603 "configure"
     3714#line 3715 "configure"
    36033715#include "confdefs.h"
    36043716/* System header to define __stub macros and hopefully few prototypes,
     
    36233735; return 0; }
    36243736EOF
    3625 if { (eval echo configure:3626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3737if { (eval echo configure:3738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36263738  rm -rf conftest*
    36273739  eval "ac_cv_func_$ac_func=yes"
     
    36573769   if test $ac_cv_header_locale_h = yes; then
    36583770    echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
    3659 echo "configure:3660: checking for LC_MESSAGES" >&5
     3771echo "configure:3772: checking for LC_MESSAGES" >&5
    36603772if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
    36613773  echo $ac_n "(cached) $ac_c" 1>&6
    36623774else
    36633775  cat > conftest.$ac_ext <<EOF
    3664 #line 3665 "configure"
     3776#line 3777 "configure"
    36653777#include "confdefs.h"
    36663778#include <locale.h>
     
    36693781; return 0; }
    36703782EOF
    3671 if { (eval echo configure:3672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3783if { (eval echo configure:3784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36723784  rm -rf conftest*
    36733785  am_cv_val_LC_MESSAGES=yes
     
    36903802  fi
    36913803   echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
    3692 echo "configure:3693: checking whether NLS is requested" >&5
     3804echo "configure:3805: checking whether NLS is requested" >&5
    36933805        # Check whether --enable-nls or --disable-nls was given.
    36943806if test "${enable_nls+set}" = set; then
     
    37103822
    37113823      echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
    3712 echo "configure:3713: checking whether included gettext is requested" >&5
     3824echo "configure:3825: checking whether included gettext is requested" >&5
    37133825      # Check whether --with-included-gettext or --without-included-gettext was given.
    37143826if test "${with_included_gettext+set}" = set; then
     
    37293841        ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
    37303842echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
    3731 echo "configure:3732: checking for libintl.h" >&5
     3843echo "configure:3844: checking for libintl.h" >&5
    37323844if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    37333845  echo $ac_n "(cached) $ac_c" 1>&6
    37343846else
    37353847  cat > conftest.$ac_ext <<EOF
    3736 #line 3737 "configure"
     3848#line 3849 "configure"
    37373849#include "confdefs.h"
    37383850#include <libintl.h>
    37393851EOF
    37403852ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3741 { (eval echo configure:3742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3853{ (eval echo configure:3854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    37423854ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    37433855if test -z "$ac_err"; then
     
    37563868  echo "$ac_t""yes" 1>&6
    37573869  echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
    3758 echo "configure:3759: checking for gettext in libc" >&5
     3870echo "configure:3871: checking for gettext in libc" >&5
    37593871if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
    37603872  echo $ac_n "(cached) $ac_c" 1>&6
    37613873else
    37623874  cat > conftest.$ac_ext <<EOF
    3763 #line 3764 "configure"
     3875#line 3876 "configure"
    37643876#include "confdefs.h"
    37653877#include <libintl.h>
     
    37683880; return 0; }
    37693881EOF
    3770 if { (eval echo configure:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3882if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37713883  rm -rf conftest*
    37723884  gt_cv_func_gettext_libc=yes
     
    37843896           if test "$gt_cv_func_gettext_libc" != "yes"; then
    37853897             echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
    3786 echo "configure:3787: checking for bindtextdomain in -lintl" >&5
     3898echo "configure:3899: checking for bindtextdomain in -lintl" >&5
    37873899ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
    37883900if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37923904LIBS="-lintl  $LIBS"
    37933905cat > conftest.$ac_ext <<EOF
    3794 #line 3795 "configure"
     3906#line 3907 "configure"
    37953907#include "confdefs.h"
    37963908/* Override any gcc2 internal prototype to avoid an error.  */
     
    38033915; return 0; }
    38043916EOF
    3805 if { (eval echo configure:3806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3917if { (eval echo configure:3918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38063918  rm -rf conftest*
    38073919  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38193931  echo "$ac_t""yes" 1>&6
    38203932  echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
    3821 echo "configure:3822: checking for gettext in libintl" >&5
     3933echo "configure:3934: checking for gettext in libintl" >&5
    38223934if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
    38233935  echo $ac_n "(cached) $ac_c" 1>&6
    38243936else
    38253937  cat > conftest.$ac_ext <<EOF
    3826 #line 3827 "configure"
     3938#line 3939 "configure"
    38273939#include "confdefs.h"
    38283940
     
    38313943; return 0; }
    38323944EOF
    3833 if { (eval echo configure:3834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3945if { (eval echo configure:3946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38343946  rm -rf conftest*
    38353947  gt_cv_func_gettext_libintl=yes
     
    38593971set dummy msgfmt; ac_word=$2
    38603972echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3861 echo "configure:3862: checking for $ac_word" >&5
     3973echo "configure:3974: checking for $ac_word" >&5
    38623974if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    38633975  echo $ac_n "(cached) $ac_c" 1>&6
     
    38934005do
    38944006echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3895 echo "configure:3896: checking for $ac_func" >&5
     4007echo "configure:4008: checking for $ac_func" >&5
    38964008if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    38974009  echo $ac_n "(cached) $ac_c" 1>&6
    38984010else
    38994011  cat > conftest.$ac_ext <<EOF
    3900 #line 3901 "configure"
     4012#line 4013 "configure"
    39014013#include "confdefs.h"
    39024014/* System header to define __stub macros and hopefully few prototypes,
     
    39214033; return 0; }
    39224034EOF
    3923 if { (eval echo configure:3924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4035if { (eval echo configure:4036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39244036  rm -rf conftest*
    39254037  eval "ac_cv_func_$ac_func=yes"
     
    39484060set dummy gmsgfmt; ac_word=$2
    39494061echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3950 echo "configure:3951: checking for $ac_word" >&5
     4062echo "configure:4063: checking for $ac_word" >&5
    39514063if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    39524064  echo $ac_n "(cached) $ac_c" 1>&6
     
    39844096set dummy xgettext; ac_word=$2
    39854097echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3986 echo "configure:3987: checking for $ac_word" >&5
     4098echo "configure:4099: checking for $ac_word" >&5
    39874099if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    39884100  echo $ac_n "(cached) $ac_c" 1>&6
     
    40164128
    40174129                cat > conftest.$ac_ext <<EOF
    4018 #line 4019 "configure"
     4130#line 4131 "configure"
    40194131#include "confdefs.h"
    40204132
     
    40244136; return 0; }
    40254137EOF
    4026 if { (eval echo configure:4027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4138if { (eval echo configure:4139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40274139  rm -rf conftest*
    40284140  CATOBJEXT=.gmo
     
    40564168set dummy msgfmt; ac_word=$2
    40574169echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4058 echo "configure:4059: checking for $ac_word" >&5
     4170echo "configure:4171: checking for $ac_word" >&5
    40594171if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    40604172  echo $ac_n "(cached) $ac_c" 1>&6
     
    40904202set dummy gmsgfmt; ac_word=$2
    40914203echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4092 echo "configure:4093: checking for $ac_word" >&5
     4204echo "configure:4205: checking for $ac_word" >&5
    40934205if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    40944206  echo $ac_n "(cached) $ac_c" 1>&6
     
    41264238set dummy xgettext; ac_word=$2
    41274239echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4128 echo "configure:4129: checking for $ac_word" >&5
     4240echo "configure:4241: checking for $ac_word" >&5
    41294241if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    41304242  echo $ac_n "(cached) $ac_c" 1>&6
     
    42164328     else
    42174329       echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
    4218 echo "configure:4219: checking for catalogs to be installed" >&5
     4330echo "configure:4331: checking for catalogs to be installed" >&5
    42194331       NEW_LINGUAS=
    42204332       for lang in ${LINGUAS=$ALL_LINGUAS}; do
     
    42444356         ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
    42454357echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
    4246 echo "configure:4247: checking for linux/version.h" >&5
     4358echo "configure:4359: checking for linux/version.h" >&5
    42474359if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    42484360  echo $ac_n "(cached) $ac_c" 1>&6
    42494361else
    42504362  cat > conftest.$ac_ext <<EOF
    4251 #line 4252 "configure"
     4363#line 4364 "configure"
    42524364#include "confdefs.h"
    42534365#include <linux/version.h>
    42544366EOF
    42554367ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4256 { (eval echo configure:4257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4368{ (eval echo configure:4369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    42574369ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    42584370if test -z "$ac_err"; then
     
    42994411   
    43004412
    4301             if test -d $srcdir/po; then
     4413            if test -f $srcdir/po/POTFILES.in; then
    43024414      test -d po || mkdir po
    43034415      if test "x$srcdir" != "x."; then
     
    43324444# ./install, which can be erroneously created by make from ./install.sh.
    43334445echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    4334 echo "configure:4335: checking for a BSD compatible install" >&5
     4446echo "configure:4447: checking for a BSD compatible install" >&5
    43354447if test -z "$INSTALL"; then
    43364448if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    44154527else
    44164528  echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6
    4417 echo "configure:4418: checking for build system executable suffix" >&5
     4529echo "configure:4530: checking for build system executable suffix" >&5
    44184530if eval "test \"`echo '$''{'bfd_cv_build_exeext'+set}'`\" = set"; then
    44194531  echo $ac_n "(cached) $ac_c" 1>&6
     
    44434555ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    44444556echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4445 echo "configure:4446: checking for $ac_hdr" >&5
     4557echo "configure:4558: checking for $ac_hdr" >&5
    44464558if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    44474559  echo $ac_n "(cached) $ac_c" 1>&6
    44484560else
    44494561  cat > conftest.$ac_ext <<EOF
    4450 #line 4451 "configure"
     4562#line 4563 "configure"
    44514563#include "confdefs.h"
    44524564#include <$ac_hdr>
    44534565EOF
    44544566ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4455 { (eval echo configure:4456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4567{ (eval echo configure:4568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    44564568ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    44574569if test -z "$ac_err"; then
     
    44834595ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    44844596echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4485 echo "configure:4486: checking for $ac_hdr" >&5
     4597echo "configure:4598: checking for $ac_hdr" >&5
    44864598if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    44874599  echo $ac_n "(cached) $ac_c" 1>&6
    44884600else
    44894601  cat > conftest.$ac_ext <<EOF
    4490 #line 4491 "configure"
     4602#line 4603 "configure"
    44914603#include "confdefs.h"
    44924604#include <$ac_hdr>
    44934605EOF
    44944606ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4495 { (eval echo configure:4496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4607{ (eval echo configure:4608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    44964608ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    44974609if test -z "$ac_err"; then
     
    45204632
    45214633echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    4522 echo "configure:4523: checking whether time.h and sys/time.h may both be included" >&5
     4634echo "configure:4635: checking whether time.h and sys/time.h may both be included" >&5
    45234635if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    45244636  echo $ac_n "(cached) $ac_c" 1>&6
    45254637else
    45264638  cat > conftest.$ac_ext <<EOF
    4527 #line 4528 "configure"
     4639#line 4640 "configure"
    45284640#include "confdefs.h"
    45294641#include <sys/types.h>
     
    45344646; return 0; }
    45354647EOF
    4536 if { (eval echo configure:4537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4648if { (eval echo configure:4649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    45374649  rm -rf conftest*
    45384650  ac_cv_header_time=yes
     
    45594671ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    45604672echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
    4561 echo "configure:4562: checking for $ac_hdr that defines DIR" >&5
     4673echo "configure:4674: checking for $ac_hdr that defines DIR" >&5
    45624674if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
    45634675  echo $ac_n "(cached) $ac_c" 1>&6
    45644676else
    45654677  cat > conftest.$ac_ext <<EOF
    4566 #line 4567 "configure"
     4678#line 4679 "configure"
    45674679#include "confdefs.h"
    45684680#include <sys/types.h>
     
    45724684; return 0; }
    45734685EOF
    4574 if { (eval echo configure:4575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4686if { (eval echo configure:4687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    45754687  rm -rf conftest*
    45764688  eval "ac_cv_header_dirent_$ac_safe=yes"
     
    45974709if test $ac_header_dirent = dirent.h; then
    45984710echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
    4599 echo "configure:4600: checking for opendir in -ldir" >&5
     4711echo "configure:4712: checking for opendir in -ldir" >&5
    46004712ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
    46014713if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46054717LIBS="-ldir  $LIBS"
    46064718cat > conftest.$ac_ext <<EOF
    4607 #line 4608 "configure"
     4719#line 4720 "configure"
    46084720#include "confdefs.h"
    46094721/* Override any gcc2 internal prototype to avoid an error.  */
     
    46164728; return 0; }
    46174729EOF
    4618 if { (eval echo configure:4619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4730if { (eval echo configure:4731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46194731  rm -rf conftest*
    46204732  eval "ac_cv_lib_$ac_lib_var=yes"
     
    46384750else
    46394751echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
    4640 echo "configure:4641: checking for opendir in -lx" >&5
     4752echo "configure:4753: checking for opendir in -lx" >&5
    46414753ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
    46424754if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46464758LIBS="-lx  $LIBS"
    46474759cat > conftest.$ac_ext <<EOF
    4648 #line 4649 "configure"
     4760#line 4761 "configure"
    46494761#include "confdefs.h"
    46504762/* Override any gcc2 internal prototype to avoid an error.  */
     
    46574769; return 0; }
    46584770EOF
    4659 if { (eval echo configure:4660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4771if { (eval echo configure:4772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46604772  rm -rf conftest*
    46614773  eval "ac_cv_lib_$ac_lib_var=yes"
     
    46824794do
    46834795echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4684 echo "configure:4685: checking for $ac_func" >&5
     4796echo "configure:4797: checking for $ac_func" >&5
    46854797if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    46864798  echo $ac_n "(cached) $ac_c" 1>&6
    46874799else
    46884800  cat > conftest.$ac_ext <<EOF
    4689 #line 4690 "configure"
     4801#line 4802 "configure"
    46904802#include "confdefs.h"
    46914803/* System header to define __stub macros and hopefully few prototypes,
     
    47104822; return 0; }
    47114823EOF
    4712 if { (eval echo configure:4713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4824if { (eval echo configure:4825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47134825  rm -rf conftest*
    47144826  eval "ac_cv_func_$ac_func=yes"
     
    47454857
    47464858echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6
    4747 echo "configure:4748: checking whether strstr must be declared" >&5
     4859echo "configure:4860: checking whether strstr must be declared" >&5
    47484860if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then
    47494861  echo $ac_n "(cached) $ac_c" 1>&6
    47504862else
    47514863  cat > conftest.$ac_ext <<EOF
    4752 #line 4753 "configure"
     4864#line 4865 "configure"
    47534865#include "confdefs.h"
    47544866
     
    47714883; return 0; }
    47724884EOF
    4773 if { (eval echo configure:4774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4885if { (eval echo configure:4886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    47744886  rm -rf conftest*
    47754887  bfd_cv_decl_needed_strstr=no
     
    47924904
    47934905echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6
    4794 echo "configure:4795: checking whether malloc must be declared" >&5
     4906echo "configure:4907: checking whether malloc must be declared" >&5
    47954907if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+set}'`\" = set"; then
    47964908  echo $ac_n "(cached) $ac_c" 1>&6
    47974909else
    47984910  cat > conftest.$ac_ext <<EOF
    4799 #line 4800 "configure"
     4911#line 4912 "configure"
    48004912#include "confdefs.h"
    48014913
     
    48184930; return 0; }
    48194931EOF
    4820 if { (eval echo configure:4821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4932if { (eval echo configure:4933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    48214933  rm -rf conftest*
    48224934  bfd_cv_decl_needed_malloc=no
     
    48394951
    48404952echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6
    4841 echo "configure:4842: checking whether realloc must be declared" >&5
     4953echo "configure:4954: checking whether realloc must be declared" >&5
    48424954if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+set}'`\" = set"; then
    48434955  echo $ac_n "(cached) $ac_c" 1>&6
    48444956else
    48454957  cat > conftest.$ac_ext <<EOF
    4846 #line 4847 "configure"
     4958#line 4959 "configure"
    48474959#include "confdefs.h"
    48484960
     
    48654977; return 0; }
    48664978EOF
    4867 if { (eval echo configure:4868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4979if { (eval echo configure:4980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    48684980  rm -rf conftest*
    48694981  bfd_cv_decl_needed_realloc=no
     
    48864998
    48874999echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6
    4888 echo "configure:4889: checking whether free must be declared" >&5
     5000echo "configure:5001: checking whether free must be declared" >&5
    48895001if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then
    48905002  echo $ac_n "(cached) $ac_c" 1>&6
    48915003else
    48925004  cat > conftest.$ac_ext <<EOF
    4893 #line 4894 "configure"
     5005#line 5006 "configure"
    48945006#include "confdefs.h"
    48955007
     
    49125024; return 0; }
    49135025EOF
    4914 if { (eval echo configure:4915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5026if { (eval echo configure:5027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    49155027  rm -rf conftest*
    49165028  bfd_cv_decl_needed_free=no
     
    49335045
    49345046echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6
    4935 echo "configure:4936: checking whether getenv must be declared" >&5
     5047echo "configure:5048: checking whether getenv must be declared" >&5
    49365048if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then
    49375049  echo $ac_n "(cached) $ac_c" 1>&6
    49385050else
    49395051  cat > conftest.$ac_ext <<EOF
    4940 #line 4941 "configure"
     5052#line 5053 "configure"
    49415053#include "confdefs.h"
    49425054
     
    49595071; return 0; }
    49605072EOF
    4961 if { (eval echo configure:4962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5073if { (eval echo configure:5074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    49625074  rm -rf conftest*
    49635075  bfd_cv_decl_needed_getenv=no
     
    49935105        TRAD_HEADER='"hosts/alphalinux.h"'
    49945106        ;;
    4995   alpha*-*-netbsd*)     COREFILE=netbsd-core.lo ;;
     5107  alpha*-*-netbsd* | alpha*-*-openbsd*)
     5108        COREFILE=netbsd-core.lo
     5109        ;;
    49965110  alpha*-*-*)           COREFILE=osf-core.lo ;;
    49975111  arm-*-freebsd*)       COREFILE='' ;;
     5112  arm-*-netbsd*)        COREFILE=netbsd-core.lo ;;
    49985113  arm-*-riscix)         COREFILE=trad-core.lo ;;
    49995114  hppa*-*-hpux*)        COREFILE=hpux-core.lo ;;
     
    50025117  hppa*-*-bsd*)         COREFILE="hpux-core.lo hppabsd-core.lo"
    50035118                        COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;;
    5004   i370-*-*)             
     5119  i370-*-*)
    50055120        COREFILE=trad-core.lo
    50065121        TRAD_HEADER='"hosts/i370linux.h"'
     
    50165131        TRAD_HEADER='"hosts/symmetry.h"'
    50175132        ;;
    5018   i[3456]86-*-bsd* | i[34567]86-*-freebsd[1234] | i[34567]86-*-freebsd[1234]\.* | i[34567]86-*-freebsd*aout*)
     5133  i[3456]86-*-bsdi)
     5134        COREFILE=
     5135        ;;
     5136  i[3456]86-*-bsd* | i[34567]86-*-freebsd[123] | i[34567]86-*-freebsd[123]\.* | i[34567]86-*-freebsd4\.[01234]* | i[34567]86-*-freebsd*aout*)
    50195137        COREFILE=trad-core.lo
    50205138        TRAD_HEADER='"hosts/i386bsd.h"'
     
    51115229        TRAD_HEADER='"hosts/m68kaux.h"'
    51125230        ;;
    5113   m88*-*-sysv4*)        ;;
    5114   m88*-motorola-sysv*)  COREFILE=ptrace-core.lo ;;
     5231  m88*-*-sysv4*)
     5232        ;;
     5233  m88*-motorola-sysv*)
     5234        COREFILE=ptrace-core.lo
     5235        ;;
    51155236  m88*-*-mach3*)
    51165237        COREFILE=trad-core.lo
     
    51245245        COREFILE=netbsd-core.lo
    51255246        ;;
    5126   rs6000-*-lynx*)       COREFILE=lynx-core.lo ;;
     5247  rs6000-*-lynx*)
     5248        COREFILE=lynx-core.lo
     5249        ;;
     5250  rs6000-*-aix5.* | powerpc-*-aix5.*)
     5251        COREFILE=rs6000-core.lo
     5252        COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
     5253        ;;
    51275254  rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*)
    51285255        COREFILE=rs6000-core.lo
    51295256        COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
     5257        # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
     5258        # have c_impl as a member of struct core_dumpx
     5259        echo $ac_n "checking for c_impl in struct core_dumpx""... $ac_c" 1>&6
     5260echo "configure:5261: checking for c_impl in struct core_dumpx" >&5
     5261        cat > conftest.$ac_ext <<EOF
     5262#line 5263 "configure"
     5263#include "confdefs.h"
     5264#include <core.h>
     5265int main() {
     5266struct core_dumpx c; c.c_impl = 0;
     5267; return 0; }
     5268EOF
     5269if { (eval echo configure:5270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5270  rm -rf conftest*
     5271  cat >> confdefs.h <<\EOF
     5272#define HAVE_ST_C_IMPL 1
     5273EOF
     5274
     5275          echo "$ac_t""yes" 1>&6
     5276else
     5277  echo "configure: failed program was:" >&5
     5278  cat conftest.$ac_ext >&5
     5279  rm -rf conftest*
     5280  echo "$ac_t""no" 1>&6
     5281fi
     5282rm -f conftest*
    51305283        ;;
    51315284  rs6000-*-aix4*)       COREFILE=rs6000-core.lo ;;
     
    51375290  powerpc-*-netbsd*)    COREFILE=netbsd-core.lo ;;
    51385291  powerpc-*-*bsd*)      COREFILE=netbsd-core.lo ;;
    5139   sparc-*-netbsd* | sparc-*-openbsd*)
     5292  s390*-*-*)            COREFILE=trad-core.lo ;;
     5293  sh*-*-netbsd*)        COREFILE=netbsd-core.lo ;;
     5294  sparc-*-netbsd* | sparc*-*-openbsd*)
    51405295        COREFILE=netbsd-core.lo
    51415296        ;;
     
    51445299        TRAD_HEADER='"hosts/tahoe.h"'
    51455300        ;;
     5301  vax-*-netbsd*)        COREFILE=netbsd-core.lo ;;
    51465302  vax-*-ultrix2*)
    51475303        COREFILE=trad-core.lo
     
    51565312        TRAD_HEADER='"hosts/vaxbsd.h"'
    51575313        ;;
     5314  x86_64-*-netbsd*)     COREFILE=netbsd-core.lo ;;
    51585315  esac
    51595316
     
    51785335ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    51795336echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    5180 echo "configure:5181: checking for $ac_hdr" >&5
     5337echo "configure:5338: checking for $ac_hdr" >&5
    51815338if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    51825339  echo $ac_n "(cached) $ac_c" 1>&6
    51835340else
    51845341  cat > conftest.$ac_ext <<EOF
    5185 #line 5186 "configure"
     5342#line 5343 "configure"
    51865343#include "confdefs.h"
    51875344#include <$ac_hdr>
    51885345EOF
    51895346ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5190 { (eval echo configure:5191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5347{ (eval echo configure:5348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    51915348ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    51925349if test -z "$ac_err"; then
     
    52165373  if test "$ac_cv_header_sys_procfs_h" = yes; then
    52175374    echo $ac_n "checking for prstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5218 echo "configure:5219: checking for prstatus_t in sys/procfs.h" >&5
     5375echo "configure:5376: checking for prstatus_t in sys/procfs.h" >&5
    52195376 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus_t'+set}'`\" = set"; then
    52205377  echo $ac_n "(cached) $ac_c" 1>&6
    52215378else
    52225379  cat > conftest.$ac_ext <<EOF
    5223 #line 5224 "configure"
     5380#line 5381 "configure"
    52245381#include "confdefs.h"
    52255382
     
    52305387; return 0; }
    52315388EOF
    5232 if { (eval echo configure:5233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5389if { (eval echo configure:5390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    52335390  rm -rf conftest*
    52345391  bfd_cv_have_sys_procfs_type_prstatus_t=yes
     
    52525409
    52535410    echo $ac_n "checking for prstatus32_t in sys/procfs.h""... $ac_c" 1>&6
    5254 echo "configure:5255: checking for prstatus32_t in sys/procfs.h" >&5
     5411echo "configure:5412: checking for prstatus32_t in sys/procfs.h" >&5
    52555412 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus32_t'+set}'`\" = set"; then
    52565413  echo $ac_n "(cached) $ac_c" 1>&6
    52575414else
    52585415  cat > conftest.$ac_ext <<EOF
    5259 #line 5260 "configure"
     5416#line 5417 "configure"
    52605417#include "confdefs.h"
    52615418
     
    52665423; return 0; }
    52675424EOF
    5268 if { (eval echo configure:5269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5425if { (eval echo configure:5426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    52695426  rm -rf conftest*
    52705427  bfd_cv_have_sys_procfs_type_prstatus32_t=yes
     
    52885445
    52895446    echo $ac_n "checking for prstatus_t.pr_who in sys/procfs.h""... $ac_c" 1>&6
    5290 echo "configure:5291: checking for prstatus_t.pr_who in sys/procfs.h" >&5
     5447echo "configure:5448: checking for prstatus_t.pr_who in sys/procfs.h" >&5
    52915448 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who'+set}'`\" = set"; then
    52925449  echo $ac_n "(cached) $ac_c" 1>&6
    52935450else
    52945451  cat > conftest.$ac_ext <<EOF
    5295 #line 5296 "configure"
     5452#line 5453 "configure"
    52965453#include "confdefs.h"
    52975454
     
    53025459; return 0; }
    53035460EOF
    5304 if { (eval echo configure:5305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5461if { (eval echo configure:5462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    53055462  rm -rf conftest*
    53065463  bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
     
    53245481
    53255482    echo $ac_n "checking for prstatus32_t.pr_who in sys/procfs.h""... $ac_c" 1>&6
    5326 echo "configure:5327: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
     5483echo "configure:5484: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
    53275484 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who'+set}'`\" = set"; then
    53285485  echo $ac_n "(cached) $ac_c" 1>&6
    53295486else
    53305487  cat > conftest.$ac_ext <<EOF
    5331 #line 5332 "configure"
     5488#line 5489 "configure"
    53325489#include "confdefs.h"
    53335490
     
    53385495; return 0; }
    53395496EOF
    5340 if { (eval echo configure:5341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5497if { (eval echo configure:5498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    53415498  rm -rf conftest*
    53425499  bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
     
    53605517
    53615518    echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5362 echo "configure:5363: checking for pstatus_t in sys/procfs.h" >&5
     5519echo "configure:5520: checking for pstatus_t in sys/procfs.h" >&5
    53635520 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then
    53645521  echo $ac_n "(cached) $ac_c" 1>&6
    53655522else
    53665523  cat > conftest.$ac_ext <<EOF
    5367 #line 5368 "configure"
     5524#line 5525 "configure"
    53685525#include "confdefs.h"
    53695526
     
    53745531; return 0; }
    53755532EOF
    5376 if { (eval echo configure:5377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5533if { (eval echo configure:5534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    53775534  rm -rf conftest*
    53785535  bfd_cv_have_sys_procfs_type_pstatus_t=yes
     
    53965553
    53975554    echo $ac_n "checking for pxstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5398 echo "configure:5399: checking for pxstatus_t in sys/procfs.h" >&5
     5555echo "configure:5556: checking for pxstatus_t in sys/procfs.h" >&5
    53995556 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pxstatus_t'+set}'`\" = set"; then
    54005557  echo $ac_n "(cached) $ac_c" 1>&6
    54015558else
    54025559  cat > conftest.$ac_ext <<EOF
    5403 #line 5404 "configure"
     5560#line 5561 "configure"
    54045561#include "confdefs.h"
    54055562
     
    54105567; return 0; }
    54115568EOF
    5412 if { (eval echo configure:5413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5569if { (eval echo configure:5570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    54135570  rm -rf conftest*
    54145571  bfd_cv_have_sys_procfs_type_pxstatus_t=yes
     
    54325589
    54335590    echo $ac_n "checking for pstatus32_t in sys/procfs.h""... $ac_c" 1>&6
    5434 echo "configure:5435: checking for pstatus32_t in sys/procfs.h" >&5
     5591echo "configure:5592: checking for pstatus32_t in sys/procfs.h" >&5
    54355592 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus32_t'+set}'`\" = set"; then
    54365593  echo $ac_n "(cached) $ac_c" 1>&6
    54375594else
    54385595  cat > conftest.$ac_ext <<EOF
    5439 #line 5440 "configure"
     5596#line 5597 "configure"
    54405597#include "confdefs.h"
    54415598
     
    54465603; return 0; }
    54475604EOF
    5448 if { (eval echo configure:5449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5605if { (eval echo configure:5606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    54495606  rm -rf conftest*
    54505607  bfd_cv_have_sys_procfs_type_pstatus32_t=yes
     
    54685625
    54695626    echo $ac_n "checking for prpsinfo_t in sys/procfs.h""... $ac_c" 1>&6
    5470 echo "configure:5471: checking for prpsinfo_t in sys/procfs.h" >&5
     5627echo "configure:5628: checking for prpsinfo_t in sys/procfs.h" >&5
    54715628 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo_t'+set}'`\" = set"; then
    54725629  echo $ac_n "(cached) $ac_c" 1>&6
    54735630else
    54745631  cat > conftest.$ac_ext <<EOF
    5475 #line 5476 "configure"
     5632#line 5633 "configure"
    54765633#include "confdefs.h"
    54775634
     
    54825639; return 0; }
    54835640EOF
    5484 if { (eval echo configure:5485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5641if { (eval echo configure:5642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    54855642  rm -rf conftest*
    54865643  bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
     
    55045661
    55055662    echo $ac_n "checking for prpsinfo32_t in sys/procfs.h""... $ac_c" 1>&6
    5506 echo "configure:5507: checking for prpsinfo32_t in sys/procfs.h" >&5
     5663echo "configure:5664: checking for prpsinfo32_t in sys/procfs.h" >&5
    55075664 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo32_t'+set}'`\" = set"; then
    55085665  echo $ac_n "(cached) $ac_c" 1>&6
    55095666else
    55105667  cat > conftest.$ac_ext <<EOF
    5511 #line 5512 "configure"
     5668#line 5669 "configure"
    55125669#include "confdefs.h"
    55135670
     
    55185675; return 0; }
    55195676EOF
    5520 if { (eval echo configure:5521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5677if { (eval echo configure:5678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    55215678  rm -rf conftest*
    55225679  bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
     
    55405697
    55415698    echo $ac_n "checking for psinfo_t in sys/procfs.h""... $ac_c" 1>&6
    5542 echo "configure:5543: checking for psinfo_t in sys/procfs.h" >&5
     5699echo "configure:5700: checking for psinfo_t in sys/procfs.h" >&5
    55435700 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo_t'+set}'`\" = set"; then
    55445701  echo $ac_n "(cached) $ac_c" 1>&6
    55455702else
    55465703  cat > conftest.$ac_ext <<EOF
    5547 #line 5548 "configure"
     5704#line 5705 "configure"
    55485705#include "confdefs.h"
    55495706
     
    55545711; return 0; }
    55555712EOF
    5556 if { (eval echo configure:5557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5713if { (eval echo configure:5714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    55575714  rm -rf conftest*
    55585715  bfd_cv_have_sys_procfs_type_psinfo_t=yes
     
    55765733
    55775734    echo $ac_n "checking for psinfo32_t in sys/procfs.h""... $ac_c" 1>&6
    5578 echo "configure:5579: checking for psinfo32_t in sys/procfs.h" >&5
     5735echo "configure:5736: checking for psinfo32_t in sys/procfs.h" >&5
    55795736 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo32_t'+set}'`\" = set"; then
    55805737  echo $ac_n "(cached) $ac_c" 1>&6
    55815738else
    55825739  cat > conftest.$ac_ext <<EOF
    5583 #line 5584 "configure"
     5740#line 5741 "configure"
    55845741#include "confdefs.h"
    55855742
     
    55905747; return 0; }
    55915748EOF
    5592 if { (eval echo configure:5593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5749if { (eval echo configure:5750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    55935750  rm -rf conftest*
    55945751  bfd_cv_have_sys_procfs_type_psinfo32_t=yes
     
    56125769
    56135770    echo $ac_n "checking for lwpstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5614 echo "configure:5615: checking for lwpstatus_t in sys/procfs.h" >&5
     5771echo "configure:5772: checking for lwpstatus_t in sys/procfs.h" >&5
    56155772 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpstatus_t'+set}'`\" = set"; then
    56165773  echo $ac_n "(cached) $ac_c" 1>&6
    56175774else
    56185775  cat > conftest.$ac_ext <<EOF
    5619 #line 5620 "configure"
     5776#line 5777 "configure"
    56205777#include "confdefs.h"
    56215778
     
    56265783; return 0; }
    56275784EOF
    5628 if { (eval echo configure:5629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5785if { (eval echo configure:5786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    56295786  rm -rf conftest*
    56305787  bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
     
    56485805
    56495806    echo $ac_n "checking for lwpxstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5650 echo "configure:5651: checking for lwpxstatus_t in sys/procfs.h" >&5
     5807echo "configure:5808: checking for lwpxstatus_t in sys/procfs.h" >&5
    56515808 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpxstatus_t'+set}'`\" = set"; then
    56525809  echo $ac_n "(cached) $ac_c" 1>&6
    56535810else
    56545811  cat > conftest.$ac_ext <<EOF
    5655 #line 5656 "configure"
     5812#line 5813 "configure"
    56565813#include "confdefs.h"
    56575814
     
    56625819; return 0; }
    56635820EOF
    5664 if { (eval echo configure:5665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5821if { (eval echo configure:5822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    56655822  rm -rf conftest*
    56665823  bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
     
    56845841
    56855842    echo $ac_n "checking for lwpstatus_t.pr_context in sys/procfs.h""... $ac_c" 1>&6
    5686 echo "configure:5687: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
     5843echo "configure:5844: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
    56875844 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context'+set}'`\" = set"; then
    56885845  echo $ac_n "(cached) $ac_c" 1>&6
    56895846else
    56905847  cat > conftest.$ac_ext <<EOF
    5691 #line 5692 "configure"
     5848#line 5849 "configure"
    56925849#include "confdefs.h"
    56935850
     
    56985855; return 0; }
    56995856EOF
    5700 if { (eval echo configure:5701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5857if { (eval echo configure:5858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    57015858  rm -rf conftest*
    57025859  bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
     
    57205877
    57215878    echo $ac_n "checking for lwpstatus_t.pr_reg in sys/procfs.h""... $ac_c" 1>&6
    5722 echo "configure:5723: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
     5879echo "configure:5880: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
    57235880 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg'+set}'`\" = set"; then
    57245881  echo $ac_n "(cached) $ac_c" 1>&6
    57255882else
    57265883  cat > conftest.$ac_ext <<EOF
    5727 #line 5728 "configure"
     5884#line 5885 "configure"
    57285885#include "confdefs.h"
    57295886
     
    57345891; return 0; }
    57355892EOF
    5736 if { (eval echo configure:5737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5893if { (eval echo configure:5894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    57375894  rm -rf conftest*
    57385895  bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
     
    57565913
    57575914    echo $ac_n "checking for win32_pstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5758 echo "configure:5759: checking for win32_pstatus_t in sys/procfs.h" >&5
     5915echo "configure:5916: checking for win32_pstatus_t in sys/procfs.h" >&5
    57595916 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_win32_pstatus_t'+set}'`\" = set"; then
    57605917  echo $ac_n "(cached) $ac_c" 1>&6
    57615918else
    57625919  cat > conftest.$ac_ext <<EOF
    5763 #line 5764 "configure"
     5920#line 5921 "configure"
    57645921#include "confdefs.h"
    57655922
     
    57705927; return 0; }
    57715928EOF
    5772 if { (eval echo configure:5773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5929if { (eval echo configure:5930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    57735930  rm -rf conftest*
    57745931  bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
     
    58115968    WIN32LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
    58125969  fi
     5970  ;;
     5971*-*-linux*)
     5972  # We borrow WIN32LIBADD so that the shared libbfd won't depend on
     5973  # libiberty.a.
     5974  case "${host}" in
     5975  mips*-*-linux*)
     5976    # Linux/MIPS uses PIC by default.
     5977    if test "$enable_shared" = "yes"; then
     5978      WIN32LIBADD="-L../libiberty -liberty"
     5979    fi
     5980    ;;
     5981  *)
     5982    x=`sed -n -e 's/^[  ]*PICFLAG[      ]*=[    ]*//p' < ../libiberty/Makefile | sed -n '$p'`
     5983    if test -n "$x"; then
     5984      WIN32LIBADD="-L../libiberty/pic -liberty"
     5985    fi
     5986  ;;
     5987  esac
    58135988  ;;
    58145989esac
     
    58356010defvec=
    58366011selvecs=
     6012assocvecs=
    58376013selarchs=
    58386014TDEFINES=
     
    58416017    if test "x$targ" = "xall"; then
    58426018        all_targets=true
     6019        assocvecs="$assocvecs $targ_defvec $targ_selvecs"
    58436020    else
    58446021        . $srcdir/config.bfd
     
    58716048
    58726049
     6050# uniq the associated vectors in all the configured targets.
     6051f=""
     6052for i in $assocvecs ; do
     6053    case " $f " in
     6054    *" $i "*) ;;
     6055    *) f="$f $i" ;;
     6056    esac
     6057done
     6058assocvecs="$f"
     6059
     6060
    58736061# uniq the architectures in all the configured targets.
    58746062f=""
     
    58846072tb=
    58856073
    5886 elf="elf.lo elflink.lo dwarf1.lo"
     6074elf="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
    58876075
    58886076for vec in $selvecs
    58896077do
     6078    target_size=32
    58906079    case "$vec" in
    58916080    # This list is alphabetized to make it easy to compare
    5892     # with the two vector lists in targets.c.
     6081    # with the two vector lists in targets.c.  For the same reason,
     6082    # use one entry per line, even though this leads to long lines.
    58936083    a29kcoff_big_vec)           tb="$tb coff-a29k.lo cofflink.lo" ;;
    58946084    a_out_adobe_vec)            tb="$tb aout-adobe.lo aout32.lo" ;;
    5895     armcoff_little_vec)         tb="$tb coff-arm.lo cofflink.lo " ;;
    5896     armcoff_big_vec)            tb="$tb coff-arm.lo cofflink.lo " ;;
    5897     armnetbsd_vec)              tb="$tb armnetbsd.lo aout32.lo" ;;
    5898     armpe_little_vec)           tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
    5899     armpe_big_vec)              tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
    5900     armpei_little_vec)          tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
    5901     armpei_big_vec)             tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
    5902     arm_epoc_pe_little_vec)     tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
    5903     arm_epoc_pe_big_vec)        tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
    5904     arm_epoc_pei_little_vec)    tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
    5905     arm_epoc_pei_big_vec)       tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
     6085    aix5coff64_vec)             tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
    59066086    aout0_big_vec)              tb="$tb aout0.lo aout32.lo" ;;
    59076087    aout_arm_big_vec)           tb="$tb aout-arm.lo aout32.lo" ;;
     
    59106090    aout_mips_little_vec)       tb="$tb mipsbsd.lo aout32.lo" ;;
    59116091    apollocoff_vec)             tb="$tb coff-apollo.lo" ;;
     6092    arm_epoc_pe_big_vec)        tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
     6093    arm_epoc_pe_little_vec)     tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
     6094    arm_epoc_pei_big_vec)       tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
     6095    arm_epoc_pei_little_vec)    tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
     6096    armcoff_big_vec)            tb="$tb coff-arm.lo cofflink.lo " ;;
     6097    armcoff_little_vec)         tb="$tb coff-arm.lo cofflink.lo " ;;
     6098    armnetbsd_vec)              tb="$tb armnetbsd.lo aout32.lo" ;;
     6099    armpe_big_vec)              tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
     6100    armpe_little_vec)           tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
     6101    armpei_big_vec)             tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
     6102    armpei_little_vec)          tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
    59126103    b_out_vec_big_host)         tb="$tb bout.lo aout32.lo" ;;
    59136104    b_out_vec_little_host)      tb="$tb bout.lo aout32.lo" ;;
    59146105    bfd_efi_app_ia32_vec)       tb="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
    5915     bfd_efi_app_ia64_vec)       tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"
    5916                                 target64=true ;;
    5917     bfd_elf64_alpha_vec)        tb="$tb elf64-alpha.lo elf64.lo $elf"
    5918                                 target64=true ;;
    5919     bfd_elf64_hppa_vec | bfd_elf64_hppa_linux_vec)
    5920                                 tb="$tb elf64-hppa.lo elf64.lo $elf"
    5921                                 target64=true ;;
    5922     bfd_elf64_ia64_little_vec)  tb="$tb elf64-ia64.lo elf64.lo $elf"
    5923                                 target64=true ;;
    5924     bfd_elf64_ia64_big_vec)     tb="$tb elf64-ia64.lo elf64.lo $elf"
    5925                                 target64=true ;;
    5926     bfd_elf32_ia64_big_vec)     tb="$tb elf32-ia64.lo elf32.lo $elf" ;;
     6106    bfd_efi_app_ia64_vec)       tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
    59276107    bfd_elf32_avr_vec)          tb="$tb elf32-avr.lo elf32.lo $elf" ;;
    5928     bfd_elf32_littlearc_vec)    tb="$tb elf32-arc.lo elf32.lo $elf" ;;
    5929     bfd_elf32_littlearm_vec)    tb="$tb elfarm-nabi.lo elf32.lo $elf" ;;
    5930     bfd_elf32_littlearm_oabi_vec) tb="$tb elfarm-oabi.lo elf32.lo $elf" ;;
     6108    bfd_elf32_big_generic_vec)  tb="$tb elf32-gen.lo elf32.lo $elf" ;;
    59316109    bfd_elf32_bigarc_vec)       tb="$tb elf32-arc.lo elf32.lo $elf" ;;
     6110    bfd_elf32_bigarm_oabi_vec)  tb="$tb elfarm-oabi.lo elf32.lo $elf" ;;
    59326111    bfd_elf32_bigarm_vec)       tb="$tb elfarm-nabi.lo elf32.lo $elf" ;;
    5933     bfd_elf32_bigarm_oabi_vec)  tb="$tb elfarm-oabi.lo elf32.lo $elf" ;;
    5934     bfd_elf32_big_generic_vec)  tb="$tb elf32-gen.lo elf32.lo $elf" ;;
    5935     bfd_elf32_bigmips_vec)      tb="$tb elf32-mips.lo elf32.lo $elf ecofflink.lo" ;;
    5936     bfd_elf64_bigmips_vec)      tb="$tb elf64-mips.lo elf64.lo elf32-mips.lo elf32.lo $elf ecofflink.lo"
    5937                                 target64=true ;;
     6112    bfd_elf32_bigmips_vec)      tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
    59386113    bfd_elf32_cris_vec)         tb="$tb elf32-cris.lo elf32.lo $elf" ;;
    5939     bfd_elf32_us_cris_vec)      tb="$tb elf32-cris.lo elf32.lo $elf" ;;
    59406114    bfd_elf32_d10v_vec)         tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
    59416115    bfd_elf32_d30v_vec)         tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
     6116    bfd_elf32_dlx_big_vec)      tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
    59426117    bfd_elf32_fr30_vec)         tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
    5943     bfd_elf32_hppa_vec | bfd_elf32_hppa_linux_vec)
    5944                                 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
     6118    bfd_elf32_frv_vec)          tb="$tb elf32-frv.lo elf32.lo $elf" ;;
     6119    bfd_elf32_h8300_vec)        tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
     6120    bfd_elf32_hppa_linux_vec)   tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
     6121    bfd_elf32_hppa_vec)         tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
    59456122    bfd_elf32_i370_vec)         tb="$tb elf32-i370.lo elf32.lo $elf" ;;
     6123    bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;;
    59466124    bfd_elf32_i386_vec)         tb="$tb elf32-i386.lo elf32.lo $elf" ;;
    5947     bfd_elf64_x86_64_vec)       tb="$tb elf64-x86-64.lo elf64.lo $elf"
    5948                                 target64=true ;;
     6125    bfd_elf32_i860_little_vec)  tb="$tb elf32-i860.lo elf32.lo $elf" ;;
    59496126    bfd_elf32_i860_vec)         tb="$tb elf32-i860.lo elf32.lo $elf" ;;
    5950     bfd_elf32_i860_little_vec)  tb="$tb elf32-i860.lo elf32.lo $elf" ;;
    59516127    bfd_elf32_i960_vec)         tb="$tb elf32-i960.lo elf32.lo $elf" ;;
     6128    bfd_elf32_ia64_big_vec)     tb="$tb elf32-ia64.lo elf32.lo $elf" ;;
     6129    bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf";;
     6130    bfd_elf32_ip2k_vec)         tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
     6131    bfd_elf32_iq2000_vec)       tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
    59526132    bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
    5953     bfd_elf32_littlemips_vec)   tb="$tb elf32-mips.lo elf32.lo $elf ecofflink.lo" ;;
    5954     bfd_elf64_littlemips_vec)   tb="$tb elf64-mips.lo elf64.lo elf32-mips.lo elf32.lo $elf ecofflink.lo"
    5955                                 target64=true ;;
     6133    bfd_elf32_littlearc_vec)    tb="$tb elf32-arc.lo elf32.lo $elf" ;;
     6134    bfd_elf32_littlearm_oabi_vec) tb="$tb elfarm-oabi.lo elf32.lo $elf" ;;
     6135    bfd_elf32_littlearm_vec)    tb="$tb elfarm-nabi.lo elf32.lo $elf" ;;
     6136    bfd_elf32_littlemips_vec)   tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
    59566137    bfd_elf32_m32r_vec)         tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
    5957     bfd_elf32_m68hc11_vec)      tb="$tb elf32-m68hc11.lo elf32.lo $elf" ;;
    5958     bfd_elf32_m68hc12_vec)      tb="$tb elf32-m68hc12.lo elf32.lo $elf" ;;
     6138    bfd_elf32_m68hc11_vec)      tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
     6139    bfd_elf32_m68hc12_vec)      tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
    59596140    bfd_elf32_m68k_vec)         tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
    59606141    bfd_elf32_m88k_vec)         tb="$tb elf32-m88k.lo elf32.lo $elf" ;;
     
    59636144    bfd_elf32_mn10200_vec)      tb="$tb elf-m10200.lo elf32.lo $elf" ;;
    59646145    bfd_elf32_mn10300_vec)      tb="$tb elf-m10300.lo elf32.lo $elf" ;;
     6146    bfd_elf32_msp430_vec)       tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
     6147    bfd_elf32_nbigmips_vec)     tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     6148    bfd_elf32_nlittlemips_vec)  tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     6149    bfd_elf32_ntradbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     6150    bfd_elf32_ntradlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     6151    bfd_elf32_openrisc_vec)     tb="$tb elf32-openrisc.lo elf32.lo $elf" ;;
     6152    bfd_elf32_or32_big_vec)     tb="$tb elf32-or32.lo elf32.lo $elf" ;;
    59656153    bfd_elf32_pj_vec)           tb="$tb elf32-pj.lo elf32.lo $elf";;
    59666154    bfd_elf32_pjl_vec)          tb="$tb elf32-pj.lo elf32.lo $elf";;
    59676155    bfd_elf32_powerpc_vec)      tb="$tb elf32-ppc.lo elf32.lo $elf" ;;
    59686156    bfd_elf32_powerpcle_vec)    tb="$tb elf32-ppc.lo elf32.lo $elf" ;;
     6157    bfd_elf32_s390_vec)         tb="$tb elf32-s390.lo elf32.lo $elf" ;;
     6158    # FIXME: We include cofflink.lo not because it's needed for
     6159    # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
     6160    # which needs it but does not list it.  Should be fixed in right place.
     6161    bfd_elf32_sh64_vec)         tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
     6162    bfd_elf32_sh64l_vec)        tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
     6163    bfd_elf32_sh64lin_vec)      tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
     6164    bfd_elf32_sh64blin_vec)     tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
     6165    bfd_elf32_sh64lnbsd_vec)    tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
     6166    bfd_elf32_sh64nbsd_vec)     tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
    59696167    bfd_elf32_sh_vec)           tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
     6168    bfd_elf32_shblin_vec)       tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
    59706169    bfd_elf32_shl_vec)          tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
    5971     bfd_elf32_shlin_vec)        tb="$tb elf32-sh-lin.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
    5972     bfd_elf32_shblin_vec)       tb="$tb elf32-sh-lin.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
     6170    bfd_elf32_shlin_vec)        tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
     6171    bfd_elf32_shlnbsd_vec)      tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
     6172    bfd_elf32_shnbsd_vec)       tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
    59736173    bfd_elf32_sparc_vec)        tb="$tb elf32-sparc.lo elf32.lo $elf" ;;
    5974     bfd_elf32_tradbigmips_vec)  tb="$tb elf32-mips.lo elf32.lo $elf ecofflink.lo" ;;
    5975     bfd_elf32_tradlittlemips_vec) tb="$tb elf32-mips.lo elf32.lo $elf ecofflink.lo" ;;
     6174    bfd_elf32_tradbigmips_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
     6175    bfd_elf32_tradlittlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
     6176    bfd_elf32_us_cris_vec)      tb="$tb elf32-cris.lo elf32.lo $elf" ;;
    59766177    bfd_elf32_v850_vec)         tb="$tb elf32-v850.lo elf32.lo $elf" ;;
    5977     bfd_elf64_big_generic_vec)  tb="$tb elf64-gen.lo elf64.lo $elf"
    5978                                 target64=true ;;
    5979     bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"
    5980                                 target64=true ;;
    5981     bfd_elf64_sparc_vec)        tb="$tb elf64-sparc.lo elf64.lo $elf"
    5982                                 target64=true ;;
    5983     bfd_elf64_tradbigmips_vec)  tb="$tb elf64-mips.lo elf64.lo $elf ecofflink.lo"
    5984                                 target64=true ;;
    5985     bfd_elf64_tradlittlemips_vec) tb="$tb elf64-mips.lo elf64.lo $elf ecofflink.lo"
    5986                                 target64=true ;;
    5987     cisco_core_big_vec)         tb="$tb cisco-core.lo" ;;
    5988     cisco_core_little_vec)      tb="$tb cisco-core.lo" ;;
     6178    bfd_elf32_vax_vec)          tb="$tb elf32-vax.lo elf32.lo $elf" ;;
     6179    bfd_elf32_xstormy16_vec)    tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
     6180    bfd_elf32_xtensa_le_vec)    tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
     6181    bfd_elf32_xtensa_be_vec)    tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
     6182    bfd_elf64_alpha_freebsd_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
     6183    bfd_elf64_alpha_vec)        tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
     6184    bfd_elf64_big_generic_vec)  tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
     6185    bfd_elf64_bigmips_vec)      tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     6186    bfd_elf64_hppa_linux_vec)   tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
     6187    bfd_elf64_hppa_vec)         tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
     6188    bfd_elf64_ia64_aix_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
     6189    bfd_elf64_ia64_aix_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
     6190    bfd_elf64_ia64_big_vec)     tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
     6191    bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
     6192    bfd_elf64_ia64_little_vec)  tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
     6193    bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
     6194    bfd_elf64_littlemips_vec)   tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     6195    bfd_elf64_mmix_vec)         tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
     6196    bfd_elf64_powerpc_vec)      tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
     6197    bfd_elf64_powerpcle_vec)    tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
     6198    bfd_elf64_s390_vec)         tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
     6199    bfd_elf64_sh64_vec)         tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
     6200    bfd_elf64_sh64l_vec)        tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
     6201    bfd_elf64_sh64lin_vec)      tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
     6202    bfd_elf64_sh64blin_vec)     tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
     6203    bfd_elf64_sh64lnbsd_vec)    tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
     6204    bfd_elf64_sh64nbsd_vec)     tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
     6205    bfd_elf64_sparc_vec)        tb="$tb elf64-sparc.lo elf64.lo $elf"; target_size=64 ;;
     6206    bfd_elf64_tradbigmips_vec)  tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     6207    bfd_elf64_tradlittlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     6208    bfd_elf64_x86_64_vec)       tb="$tb elf64-x86-64.lo elf64.lo $elf"; target_size=64 ;;
     6209    bfd_mmo_vec)                tb="$tb mmo.lo" target_size=64 ;;
     6210    bfd_powerpc_pe_vec)         tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
     6211    bfd_powerpc_pei_vec)        tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
     6212    bfd_powerpcle_pe_vec)       tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
     6213    bfd_powerpcle_pei_vec)      tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
    59896214    cris_aout_vec)              tb="$tb aout-cris.lo" ;;
    5990     demo_64_vec)                tb="$tb demo64.lo aout64.lo"
    5991                                 target64=true ;;
     6215    demo_64_vec)                tb="$tb demo64.lo aout64.lo"; target_size=64 ;;
    59926216    ecoff_big_vec)              tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
     6217    ecoff_biglittle_vec)        tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
    59936218    ecoff_little_vec)           tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
    5994     ecoff_biglittle_vec)        tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
    5995     ecoffalpha_little_vec)      tb="$tb coff-alpha.lo ecoff.lo ecofflink.lo"
    5996                                 target64=true ;;
     6219    ecoffalpha_little_vec)      tb="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size=64 ;;
    59976220    go32coff_vec)               tb="$tb coff-go32.lo cofflink.lo" ;;
    59986221    go32stubbedcoff_vec)        tb="$tb coff-stgo32.lo cofflink.lo" ;;
     
    60076230    i386dynix_vec)              tb="$tb i386dynix.lo aout32.lo" ;;
    60086231    i386freebsd_vec)            tb="$tb i386freebsd.lo aout32.lo" ;;
    6009     i386msdos_vec)              tb="$tb i386msdos.lo" ;;
    6010     i386pe_vec)                 tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
    6011     i386pei_vec)                tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
    60126232    i386linux_vec)              tb="$tb i386linux.lo aout32.lo" ;;
    60136233    i386lynx_aout_vec)          tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
    60146234    i386lynx_coff_vec)          tb="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
    60156235    i386mach3_vec)              tb="$tb i386mach3.lo aout32.lo" ;;
     6236    i386msdos_vec)              tb="$tb i386msdos.lo" ;;
    60166237    i386netbsd_vec)             tb="$tb i386netbsd.lo aout32.lo" ;;
    60176238    i386os9k_vec)               tb="$tb i386os9k.lo aout32.lo" ;;
     6239    i386pe_vec)                 tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
     6240    i386pei_vec)                tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
    60186241    i860coff_vec)               tb="$tb coff-i860.lo cofflink.lo" ;;
    60196242    icoff_big_vec)              tb="$tb coff-i960.lo cofflink.lo" ;;
    60206243    icoff_little_vec)           tb="$tb coff-i960.lo cofflink.lo" ;;
    60216244    ieee_vec)                   tb="$tb ieee.lo" ;;
     6245    m68k4knetbsd_vec)           tb="$tb m68k4knetbsd.lo aout32.lo" ;;
     6246    m68kaux_coff_vec)           tb="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
    60226247    m68kcoff_vec)               tb="$tb coff-m68k.lo cofflink.lo" ;;
    60236248    m68kcoffun_vec)             tb="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
     
    60266251    m68klynx_coff_vec)          tb="$tb cf-m68klynx.lo coff-m68k.lo cofflink.lo lynx-core.lo" ;;
    60276252    m68knetbsd_vec)             tb="$tb m68knetbsd.lo aout32.lo" ;;
    6028     m68k4knetbsd_vec)           tb="$tb m68k4knetbsd.lo aout32.lo" ;;
    6029     m68kaux_coff_vec)           tb="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
    60306253    m68ksysvcoff_vec)           tb="$tb coff-svm68k.lo cofflink.lo" ;;
    60316254    m88kbcs_vec)                tb="$tb coff-m88k.lo" ;;
    6032     mipslpe_vec)                tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
    6033     mipslpei_vec)               tb="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
     6255    m88kmach3_vec)              tb="$tb m88kmach3.lo aout32.lo" ;;
     6256    mach_o_be_vec)              tb="$tb mach-o.lo" ;;
     6257    mach_o_le_vec)              tb="$tb mach-o.lo" ;;
     6258    mach_o_fat_vec)             tb="$tb mach-o.lo" ;;
    60346259    mcore_pe_big_vec)           tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
    60356260    mcore_pe_little_vec)        tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
    60366261    mcore_pei_big_vec)          tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
    60376262    mcore_pei_little_vec)       tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
     6263    mipslpe_vec)                tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
     6264    mipslpei_vec)               tb="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
    60386265    newsos3_vec)                tb="$tb newsos3.lo aout32.lo" ;;
     6266    nlm32_alpha_vec)            tb="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size=64 ;;
    60396267    nlm32_i386_vec)             tb="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
    6040     rs6000coff64_vec)           tb="$tb coff64-rs6000.lo xcofflink.lo"
    6041                                 target64=true ;;
     6268    nlm32_powerpc_vec)          tb="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
    60426269    nlm32_sparc_vec)            tb="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
    6043     nlm32_alpha_vec)            tb="$tb nlm32-alpha.lo nlm32.lo nlm.lo"
    6044                                 target64=true ;;
     6270    or32coff_big_vec)           tb="$tb coff-or32.lo cofflink.lo" ;;
     6271    pc532machaout_vec)          tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
     6272    pc532netbsd_vec)            tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
     6273    pef_vec)                    tb="$tb pef.lo" ;;
     6274    pef_xlib_vec)               tb="$tb pef.lo" ;;
     6275    pdp11_aout_vec)             tb="$tb pdp11.lo" ;;
     6276    pmac_xcoff_vec)             tb="$tb coff-rs6000.lo xcofflink.lo" ;;
     6277    ppcboot_vec)                tb="$tb ppcboot.lo" ;;
    60456278    riscix_vec)                 tb="$tb aout32.lo riscix.lo" ;;
    6046     nlm32_powerpc_vec)          tb="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
    6047     pc532netbsd_vec)            tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
    6048     pc532machaout_vec)          tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
    6049     pmac_xcoff_vec)             tb="$tb coff-pmac.lo xcofflink.lo" ;;
     6279    rs6000coff64_vec)           tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
    60506280    rs6000coff_vec)             tb="$tb coff-rs6000.lo xcofflink.lo" ;;
    6051     bfd_powerpc_pe_vec)         tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;; 
    6052     bfd_powerpcle_pe_vec)       tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;; 
    6053     bfd_powerpc_pei_vec)        tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
    6054     bfd_powerpcle_pei_vec)      tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
    6055     ppcboot_vec)                tb="$tb ppcboot.lo" ;;
     6281    shcoff_small_vec)           tb="$tb coff-sh.lo cofflink.lo" ;;
    60566282    shcoff_vec)                 tb="$tb coff-sh.lo cofflink.lo" ;;
     6283    shlcoff_small_vec)          tb="$tb coff-sh.lo cofflink.lo" ;;
    60576284    shlcoff_vec)                tb="$tb coff-sh.lo cofflink.lo" ;;
    6058     shcoff_small_vec)           tb="$tb coff-sh.lo cofflink.lo" ;;
    6059     shlcoff_small_vec)          tb="$tb coff-sh.lo cofflink.lo" ;;
    60606285    shlpe_vec)                  tb="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
    60616286    shlpei_vec)                 tb="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
    60626287    som_vec)                    tb="$tb som.lo" ;;
     6288    sparccoff_vec)              tb="$tb coff-sparc.lo" ;;
    60636289    sparcle_aout_vec)           tb="$tb aout-sparcle.lo aout32.lo" ;;
    60646290    sparclinux_vec)             tb="$tb sparclinux.lo aout32.lo" ;;
     
    60666292    sparclynx_coff_vec)         tb="$tb cf-sparclynx.lo lynx-core.lo" ;;
    60676293    sparcnetbsd_vec)            tb="$tb sparcnetbsd.lo aout32.lo" ;;
    6068     sparccoff_vec)              tb="$tb coff-sparc.lo" ;;
    6069     srec_vec)                   tb="$tb srec.lo" ;;
    60706294    sunos_big_vec)              tb="$tb sunos.lo aout32.lo" ;;
    6071     symbolsrec_vec)             tb="$tb srec.lo" ;;
    6072     tekhex_vec)                 tb="$tb tekhex.lo" ;;
     6295    sym_vec)                    tb="$tb xsym.lo" ;;
    60736296    tic30_aout_vec)             tb="$tb aout-tic30.lo" ;;
    60746297    tic30_coff_vec)             tb="$tb coff-tic30.lo" ;;
     6298    tic4x_coff0_vec)            tb="$tb coff-tic4x.lo" ;;
     6299    tic4x_coff0_beh_vec)        tb="$tb coff-tic4x.lo" ;;
     6300    tic4x_coff1_vec)            tb="$tb coff-tic4x.lo" ;;
     6301    tic4x_coff1_beh_vec)        tb="$tb coff-tic4x.lo" ;;
     6302    tic4x_coff2_vec)            tb="$tb coff-tic4x.lo" ;;
     6303    tic4x_coff2_beh_vec)        tb="$tb coff-tic4x.lo" ;;
     6304    tic54x_coff0_beh_vec)       tb="$tb coff-tic54x.lo" ;;
    60756305    tic54x_coff0_vec)           tb="$tb coff-tic54x.lo" ;;
    6076     tic54x_coff0_beh_vec)       tb="$tb coff-tic54x.lo" ;;
     6306    tic54x_coff1_beh_vec)       tb="$tb coff-tic54x.lo" ;;
    60776307    tic54x_coff1_vec)           tb="$tb coff-tic54x.lo" ;;
    6078     tic54x_coff1_beh_vec)       tb="$tb coff-tic54x.lo" ;;
     6308    tic54x_coff2_beh_vec)       tb="$tb coff-tic54x.lo" ;;
    60796309    tic54x_coff2_vec)           tb="$tb coff-tic54x.lo" ;;
    6080     tic54x_coff2_beh_vec)       tb="$tb coff-tic54x.lo" ;;
    60816310    tic80coff_vec)              tb="$tb coff-tic80.lo cofflink.lo" ;;
     6311    vaxnetbsd_vec)              tb="$tb vaxnetbsd.lo aout32.lo" ;;
     6312    vax1knetbsd_vec)            tb="$tb vax1knetbsd.lo aout32.lo" ;;
     6313    vaxbsd_vec)                 tb="$tb vaxbsd.lo aout32.lo" ;;
    60826314    versados_vec)               tb="$tb versados.lo" ;;
    6083     vms_alpha_vec)              tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"
    6084                                 target64=true ;;
     6315    vms_alpha_vec)              tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size=64 ;;
    60856316    vms_vax_vec)                tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
    60866317    w65_vec)                    tb="$tb coff-w65.lo reloc16.lo" ;;
     
    60886319    z8kcoff_vec)                tb="$tb coff-z8k.lo reloc16.lo" ;;
    60896320
     6321    # These appear out of order in targets.c
     6322    srec_vec)                   tb="$tb srec.lo" ;;
     6323    symbolsrec_vec)             tb="$tb srec.lo" ;;
     6324    tekhex_vec)                 tb="$tb tekhex.lo" ;;
     6325    cisco_core_big_vec)         tb="$tb cisco-core.lo" ;;
     6326    cisco_core_little_vec)      tb="$tb cisco-core.lo" ;;
     6327
    60906328    "")                 ;;
    60916329    *) { echo "configure: error: *** unknown target vector $vec" 1>&2; exit 1; } ;;
    60926330    esac
     6331
     6332    if test ${target_size} = 64; then
     6333        target64=true
     6334    fi
     6335    if test x"${vec}" = x"${defvec}"; then
     6336        bfd_default_target_size=${target_size}
     6337    fi
    60936338done
    60946339
     
    61266371  havevecs=
    61276372  selarchs=
     6373  test -n "$assocvecs" &&
     6374    assocvecs=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
    61286375else    # all_targets is true
    61296376  # Only set these if they will be nonempty, for the clever echo.
    61306377  havevecs=
     6378  assocvecs=
    61316379  test -n "$selvecs" &&
    61326380    havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
     
    61406388  *true*)
    61416389    wordsize=64
     6390    bfd_libs='$(BFD64_LIBS) $(BFD32_LIBS)'
    61426391    all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
    61436392    if test -z "$GCC" && test "$BFD_HOST_64BIT_LONG" = "0" && test "$BFD_HOST_64_BIT_DEFINED" = "0"; then
     
    61456394      echo "configure: warning: your compiler may not have a 64 bit integral type" 1>&2
    61466395    fi
     6396    if test -n "$GCC" ; then
     6397       bad_64bit_gcc=no;
     6398       echo $ac_n "checking for gcc version with buggy 64-bit support""... $ac_c" 1>&6
     6399echo "configure:6400: checking for gcc version with buggy 64-bit support" >&5
     6400       # Add more tests for gcc versions with non-working 64-bit support here.
     6401       cat > conftest.$ac_ext <<EOF
     6402#line 6403 "configure"
     6403#include "confdefs.h"
     6404:__GNUC__:__GNUC_MINOR__:__i386__:
     6405EOF
     6406if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     6407  egrep ": 2 : 91 : 1 :" >/dev/null 2>&1; then
     6408  rm -rf conftest*
     6409  bad_64bit_gcc=yes;
     6410                    echo "$ac_t""yes: egcs-1.1.2 on ix86 spotted" 1>&6
     6411else
     6412  rm -rf conftest*
     6413  echo "$ac_t""no" 1>&6
     6414fi
     6415rm -f conftest*
     6416
     6417       if test $bad_64bit_gcc = yes ; then
     6418         { echo "configure: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" 1>&2; exit 1; }
     6419       fi
     6420    fi
    61476421    ;;
    61486422  false-false-false)
    61496423    wordsize=32
     6424    bfd_libs='$(BFD32_LIBS)'
    61506425    all_backends='$(BFD32_BACKENDS)'
    61516426    ;;
     
    61576432
    61586433
     6434
     6435
    61596436tdefaults=""
    61606437test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
    61616438test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
     6439test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
    61626440test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
    61636441test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
     
    61686446ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    61696447echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    6170 echo "configure:6171: checking for $ac_hdr" >&5
     6448echo "configure:6449: checking for $ac_hdr" >&5
    61716449if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    61726450  echo $ac_n "(cached) $ac_c" 1>&6
    61736451else
    61746452  cat > conftest.$ac_ext <<EOF
    6175 #line 6176 "configure"
     6453#line 6454 "configure"
    61766454#include "confdefs.h"
    61776455#include <$ac_hdr>
    61786456EOF
    61796457ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    6180 { (eval echo configure:6181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     6458{ (eval echo configure:6459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    61816459ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    61826460if test -z "$ac_err"; then
     
    62076485do
    62086486echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    6209 echo "configure:6210: checking for $ac_func" >&5
     6487echo "configure:6488: checking for $ac_func" >&5
    62106488if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    62116489  echo $ac_n "(cached) $ac_c" 1>&6
    62126490else
    62136491  cat > conftest.$ac_ext <<EOF
    6214 #line 6215 "configure"
     6492#line 6493 "configure"
    62156493#include "confdefs.h"
    62166494/* System header to define __stub macros and hopefully few prototypes,
     
    62356513; return 0; }
    62366514EOF
    6237 if { (eval echo configure:6238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6515if { (eval echo configure:6516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    62386516  rm -rf conftest*
    62396517  eval "ac_cv_func_$ac_func=yes"
     
    62606538
    62616539echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    6262 echo "configure:6263: checking for working mmap" >&5
     6540echo "configure:6541: checking for working mmap" >&5
    62636541if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    62646542  echo $ac_n "(cached) $ac_c" 1>&6
     
    62686546else
    62696547  cat > conftest.$ac_ext <<EOF
    6270 #line 6271 "configure"
     6548#line 6549 "configure"
    62716549#include "confdefs.h"
    62726550
     
    64086686
    64096687EOF
    6410 if { (eval echo configure:6411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     6688if { (eval echo configure:6689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    64116689then
    64126690  ac_cv_func_mmap_fixed_mapped=yes
     
    64336711do
    64346712echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    6435 echo "configure:6436: checking for $ac_func" >&5
     6713echo "configure:6714: checking for $ac_func" >&5
    64366714if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    64376715  echo $ac_n "(cached) $ac_c" 1>&6
    64386716else
    64396717  cat > conftest.$ac_ext <<EOF
    6440 #line 6441 "configure"
     6718#line 6719 "configure"
    64416719#include "confdefs.h"
    64426720/* System header to define __stub macros and hopefully few prototypes,
     
    64616739; return 0; }
    64626740EOF
    6463 if { (eval echo configure:6464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6741if { (eval echo configure:6742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    64646742  rm -rf conftest*
    64656743  eval "ac_cv_func_$ac_func=yes"
     
    65946872ac_given_INSTALL="$INSTALL"
    65956873
    6596 trap 'rm -fr `echo "Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     6874trap 'rm -fr `echo "Makefile doc/Makefile bfd-in3.h:bfd-in2.h bfdver.h:version.h po/Makefile.in:po/Make-in config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
    65976875EOF
    65986876cat >> $CONFIG_STATUS <<EOF
     
    66416919s%@build_vendor@%$build_vendor%g
    66426920s%@build_os@%$build_os%g
    6643 s%@CC@%$CC%g
    66446921s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
    66456922s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
     
    66536930s%@MAKEINFO@%$MAKEINFO%g
    66546931s%@SET_MAKE@%$SET_MAKE%g
     6932s%@bfd_version@%$bfd_version%g
     6933s%@bfd_version_string@%$bfd_version_string%g
    66556934s%@AR@%$AR%g
    66566935s%@RANLIB@%$RANLIB%g
     6936s%@CC@%$CC%g
    66576937s%@LN_S@%$LN_S%g
    66586938s%@OBJEXT@%$OBJEXT%g
     
    66646944s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
    66656945s%@MAINT@%$MAINT%g
     6946s%@INSTALL_LIBBFD_TRUE@%$INSTALL_LIBBFD_TRUE%g
     6947s%@INSTALL_LIBBFD_FALSE@%$INSTALL_LIBBFD_FALSE%g
     6948s%@bfdlibdir@%$bfdlibdir%g
     6949s%@bfdincludedir@%$bfdincludedir%g
    66666950s%@CPP@%$CPP%g
    66676951s%@ALLOCA@%$ALLOCA%g
     
    66996983s%@TDEFINES@%$TDEFINES%g
    67006984s%@wordsize@%$wordsize%g
     6985s%@bfd_libs@%$bfd_libs%g
    67016986s%@all_backends@%$all_backends%g
    67026987s%@bfd_backends@%$bfd_backends%g
    67036988s%@bfd_machines@%$bfd_machines%g
     6989s%@bfd_default_target_size@%$bfd_default_target_size%g
    67046990s%@tdefaults@%$tdefaults%g
    67056991
     
    67447030cat >> $CONFIG_STATUS <<EOF
    67457031
    6746 CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"}
     7032CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile bfd-in3.h:bfd-in2.h bfdver.h:version.h po/Makefile.in:po/Make-in"}
    67477033EOF
    67487034cat >> $CONFIG_STATUS <<\EOF
Note: See TracChangeset for help on using the changeset viewer.