Changeset 619


Ignore:
Timestamp:
Aug 16, 2003, 11:56:50 PM (22 years ago)
Author:
bird
Message:

Regenerated configure files after 2.14 join.

Location:
trunk/src/binutils
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/binutils/bfd/configure

    • Property cvs2svn:cvs-rev changed from 1.5 to 1.6
    r618 r619  
    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"
     
    551553
    552554echo $ac_n "checking for path separator""... $ac_c" 1>&6
    553 echo "configure:554: checking for path separator" >&5
     555echo "configure:556: checking for path separator" >&5
    554556# Filter path to get backslahes into forwardslashes
    555557case "`uname -s 2> /dev/null`" in
     
    565567
    566568echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    567 echo "configure:568: checking for Cygwin environment" >&5
     569echo "configure:570: checking for Cygwin environment" >&5
    568570if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    569571  echo $ac_n "(cached) $ac_c" 1>&6
    570572else
    571573  cat > conftest.$ac_ext <<EOF
    572 #line 573 "configure"
     574#line 575 "configure"
    573575#include "confdefs.h"
    574576
     
    581583; return 0; }
    582584EOF
    583 if { (eval echo configure:584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     585if { (eval echo configure:586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    584586  rm -rf conftest*
    585587  ac_cv_cygwin=yes
     
    598600test "$ac_cv_cygwin" = yes && CYGWIN=yes
    599601echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    600 echo "configure:601: checking for mingw32 environment" >&5
     602echo "configure:603: checking for mingw32 environment" >&5
    601603if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    602604  echo $ac_n "(cached) $ac_c" 1>&6
    603605else
    604606  cat > conftest.$ac_ext <<EOF
    605 #line 606 "configure"
     607#line 608 "configure"
    606608#include "confdefs.h"
    607609
     
    610612; return 0; }
    611613EOF
    612 if { (eval echo configure:613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     614if { (eval echo configure:615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    613615  rm -rf conftest*
    614616  ac_cv_mingw32=yes
     
    627629test "$ac_cv_mingw32" = yes && MINGW32=yes
    628630echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6
    629 echo "configure:630: checking for EMX/OS2 environment" >&5
     631echo "configure:632: checking for EMX/OS2 environment" >&5
    630632if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then
    631633  echo $ac_n "(cached) $ac_c" 1>&6
     
    633635  : ${CC=gcc.exe}
    634636cat > conftest.$ac_ext <<EOF
    635 #line 636 "configure"
     637#line 638 "configure"
    636638#include "confdefs.h"
    637639
     
    640642; return 0; }
    641643EOF
    642 if { (eval echo configure:643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     644if { (eval echo configure:645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    643645  rm -rf conftest*
    644646  ac_cv_emxos2=yes
     
    671673
    672674echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    673 echo "configure:674: checking for executable suffix" >&5
     675echo "configure:676: checking for executable suffix" >&5
    674676if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    675677  echo $ac_n "(cached) $ac_c" 1>&6
     
    681683  echo 'int main () { return 0; }' > conftest.$ac_ext
    682684  ac_cv_exeext=
    683   if { (eval echo configure:684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     685  if { (eval echo configure:686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    684686    for file in conftest.*; do
    685687      case $file in
     
    750752
    751753echo $ac_n "checking host system type""... $ac_c" 1>&6
    752 echo "configure:753: checking host system type" >&5
     754echo "configure:755: checking host system type" >&5
    753755
    754756host_alias=$host
     
    771773
    772774echo $ac_n "checking target system type""... $ac_c" 1>&6
    773 echo "configure:774: checking target system type" >&5
     775echo "configure:776: checking target system type" >&5
    774776
    775777target_alias=$target
     
    789791
    790792echo $ac_n "checking build system type""... $ac_c" 1>&6
    791 echo "configure:792: checking build system type" >&5
     793echo "configure:794: checking build system type" >&5
    792794
    793795build_alias=$build
     
    811813  program_prefix=${target_alias}-
    812814
     815
     816        echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
     817echo "configure:818: checking for strerror in -lcposix" >&5
     818ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
     819if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     820  echo $ac_n "(cached) $ac_c" 1>&6
     821else
     822  ac_save_LIBS="$LIBS"
     823LIBS="-lcposix  $LIBS"
     824cat > conftest.$ac_ext <<EOF
     825#line 826 "configure"
     826#include "confdefs.h"
     827/* Override any gcc2 internal prototype to avoid an error.  */
     828/* We use char because int might match the return type of a gcc2
     829    builtin and then its argument prototype would still apply.  */
     830char strerror();
     831
     832int main() {
     833strerror()
     834; return 0; }
     835EOF
     836if { (eval echo configure:837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     837  rm -rf conftest*
     838  eval "ac_cv_lib_$ac_lib_var=yes"
     839else
     840  echo "configure: failed program was:" >&5
     841  cat conftest.$ac_ext >&5
     842  rm -rf conftest*
     843  eval "ac_cv_lib_$ac_lib_var=no"
     844fi
     845rm -f conftest*
     846LIBS="$ac_save_LIBS"
     847
     848fi
     849if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     850  echo "$ac_t""yes" 1>&6
     851  LIBS="$LIBS -lcposix"
     852else
     853  echo "$ac_t""no" 1>&6
     854fi
     855
     856 
     857
     858
     859# Find a good install program.  We prefer a C program (faster),
     860# so one script is as good as another.  But avoid the broken or
     861# incompatible versions:
     862# SysV /etc/install, /usr/sbin/install
     863# SunOS /usr/etc/install
     864# IRIX /sbin/install
     865# AIX /bin/install
     866# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     867# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     868# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     869# ./install, which can be erroneously created by make from ./install.sh.
     870echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
     871echo "configure:872: checking for a BSD compatible install" >&5
     872if test -z "$INSTALL"; then
     873if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     874  echo $ac_n "(cached) $ac_c" 1>&6
     875else
     876    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS"
     877  for ac_dir in $PATH; do
     878    # Account for people who put trailing slashes in PATH elements.
     879    case "$ac_dir/" in
     880    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
     881    # We reject the install program from OS/2 or W3.1
     882    */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;;
     883    *)
     884      # OSF1 and SCO ODT 3.0 have their own names for install.
     885      # Don't use installbsd from OSF since it installs stuff as root
     886      # by default.
     887      for ac_prog in ginstall scoinst install; do
     888        if test -f $ac_dir/$ac_prog$ac_exeext; then
     889          if test $ac_prog = install &&
     890            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
     891            # AIX install.  It has an incompatible calling convention.
     892            :
     893          else
     894            ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c"
     895            break 2
     896          fi
     897        fi
     898      done
     899      ;;
     900    esac
     901  done
     902  IFS="$ac_save_IFS"
     903
     904fi
     905  if test "${ac_cv_path_install+set}" = set; then
     906    INSTALL="$ac_cv_path_install"
     907  else
     908    # As a last resort, use the slow shell script.  We don't cache a
     909    # path for INSTALL within a source directory, because that will
     910    # break other packages using the cache if that directory is
     911    # removed, or if the path is relative.
     912    INSTALL="$ac_install_sh"
     913  fi
     914fi
     915echo "$ac_t""$INSTALL" 1>&6
     916
     917# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     918# It thinks the first close brace ends the variable substitution.
     919test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     920
     921test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
     922
     923test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     924
     925echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
     926echo "configure:927: checking whether build environment is sane" >&5
     927# Just in case
     928sleep 1
     929echo timestamp > conftestfile
     930# Do `set' in a subshell so we don't clobber the current shell's
     931# arguments.  Must try -L first in case configure is actually a
     932# symlink; some systems play weird games with the mod time of symlinks
     933# (eg FreeBSD returns the mod time of the symlink's containing
     934# directory).
     935if (
     936   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
     937   if test "$*" = "X"; then
     938      # -L didn't work.
     939      set X `ls -t $srcdir/configure conftestfile`
     940   fi
     941   if test "$*" != "X $srcdir/configure conftestfile" \
     942      && test "$*" != "X conftestfile $srcdir/configure"; then
     943
     944      # If neither matched, then we have a broken ls.  This can happen
     945      # if, for instance, CONFIG_SHELL is bash and it inherits a
     946      # broken ls alias from the environment.  This has actually
     947      # happened.  Such a system could not be considered "sane".
     948      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
     949alias in your environment" 1>&2; exit 1; }
     950   fi
     951
     952   test "$2" = conftestfile
     953   )
     954then
     955   # Ok.
     956   :
     957else
     958   { echo "configure: error: newly created file is older than distributed files!
     959Check your system clock" 1>&2; exit 1; }
     960fi
     961rm -f conftest*
     962echo "$ac_t""yes" 1>&6
     963if test "$program_transform_name" = s,x,x,; then
     964  program_transform_name=
     965else
     966  # Double any \ or $.  echo might interpret backslashes.
     967  cat <<\EOF_SED > conftestsed
     968s,\\,\\\\,g; s,\$,$$,g
     969EOF_SED
     970  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
     971  rm -f conftestsed
     972fi
     973test "$program_prefix" != NONE &&
     974  program_transform_name="s,^,${program_prefix},; $program_transform_name"
     975# Use a double $ so make ignores it.
     976test "$program_suffix" != NONE &&
     977  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
     978
     979# sed with no file args requires a program.
     980test "$program_transform_name" = "" && program_transform_name="s,x,x,"
     981
     982echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
     983echo "configure:984: checking whether ${MAKE-make} sets \${MAKE}" >&5
     984set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
     985if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     986  echo $ac_n "(cached) $ac_c" 1>&6
     987else
     988  cat > conftestmake <<\EOF
     989all:
     990        @echo 'ac_maketemp="${MAKE}"'
     991EOF
     992# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     993eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
     994if test -n "$ac_maketemp"; then
     995  eval ac_cv_prog_make_${ac_make}_set=yes
     996else
     997  eval ac_cv_prog_make_${ac_make}_set=no
     998fi
     999rm -f conftestmake
     1000fi
     1001if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     1002  echo "$ac_t""yes" 1>&6
     1003  SET_MAKE=
     1004else
     1005  echo "$ac_t""no" 1>&6
     1006  SET_MAKE="MAKE=${MAKE-make}"
     1007fi
     1008
     1009
     1010PACKAGE=bfd
     1011
     1012VERSION=2.14
     1013
     1014if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
     1015  { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
     1016fi
     1017cat >> confdefs.h <<EOF
     1018#define PACKAGE "$PACKAGE"
     1019EOF
     1020
     1021cat >> confdefs.h <<EOF
     1022#define VERSION "$VERSION"
     1023EOF
     1024
     1025
     1026
     1027missing_dir=`cd $ac_aux_dir && pwd`
     1028echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
     1029echo "configure:1030: checking for working aclocal" >&5
     1030# Run test in a subshell; some versions of sh will print an error if
     1031# an executable is not found, even if stderr is redirected.
     1032# Redirect stdin to placate older versions of autoconf.  Sigh.
     1033if (aclocal --version) < /dev/null > /dev/null 2>&1; then
     1034   ACLOCAL=aclocal
     1035   echo "$ac_t""found" 1>&6
     1036else
     1037   ACLOCAL="$missing_dir/missing aclocal"
     1038   echo "$ac_t""missing" 1>&6
     1039fi
     1040
     1041echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
     1042echo "configure:1043: checking for working autoconf" >&5
     1043# Run test in a subshell; some versions of sh will print an error if
     1044# an executable is not found, even if stderr is redirected.
     1045# Redirect stdin to placate older versions of autoconf.  Sigh.
     1046if (autoconf --version) < /dev/null > /dev/null 2>&1; then
     1047   AUTOCONF=autoconf
     1048   echo "$ac_t""found" 1>&6
     1049else
     1050   AUTOCONF="$missing_dir/missing autoconf"
     1051   echo "$ac_t""missing" 1>&6
     1052fi
     1053
     1054echo $ac_n "checking for working automake""... $ac_c" 1>&6
     1055echo "configure:1056: checking for working automake" >&5
     1056# Run test in a subshell; some versions of sh will print an error if
     1057# an executable is not found, even if stderr is redirected.
     1058# Redirect stdin to placate older versions of autoconf.  Sigh.
     1059if (automake --version) < /dev/null > /dev/null 2>&1; then
     1060   AUTOMAKE=automake
     1061   echo "$ac_t""found" 1>&6
     1062else
     1063   AUTOMAKE="$missing_dir/missing automake"
     1064   echo "$ac_t""missing" 1>&6
     1065fi
     1066
     1067echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
     1068echo "configure:1069: checking for working autoheader" >&5
     1069# Run test in a subshell; some versions of sh will print an error if
     1070# an executable is not found, even if stderr is redirected.
     1071# Redirect stdin to placate older versions of autoconf.  Sigh.
     1072if (autoheader --version) < /dev/null > /dev/null 2>&1; then
     1073   AUTOHEADER=autoheader
     1074   echo "$ac_t""found" 1>&6
     1075else
     1076   AUTOHEADER="$missing_dir/missing autoheader"
     1077   echo "$ac_t""missing" 1>&6
     1078fi
     1079
     1080echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
     1081echo "configure:1082: checking for working makeinfo" >&5
     1082# Run test in a subshell; some versions of sh will print an error if
     1083# an executable is not found, even if stderr is redirected.
     1084# Redirect stdin to placate older versions of autoconf.  Sigh.
     1085if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
     1086   MAKEINFO=makeinfo
     1087   echo "$ac_t""found" 1>&6
     1088else
     1089   MAKEINFO="$missing_dir/missing makeinfo"
     1090   echo "$ac_t""missing" 1>&6
     1091fi
     1092
     1093
     1094# Uncomment the next line to remove the date from the reported bfd version
     1095#is_release=y
     1096
     1097bfd_version=`echo "${VERSION}" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$/\1\2\3\4\5/'`
     1098
     1099bfd_version_string="\"${VERSION}\""
     1100if test x${is_release} = x; then
     1101  bfd_version_date=`sed -n -e 's/.*DATE //p' < ${srcdir}/version.h`
     1102  bfd_version_string="\"${VERSION} ${bfd_version_date}\""
     1103fi
     1104
     1105
     1106
     1107if test $host != $build; then
     1108  ac_tool_prefix=${host_alias}-
     1109else
     1110  ac_tool_prefix=
     1111fi
     1112
     1113# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
     1114set dummy ${ac_tool_prefix}ar; ac_word=$2
     1115echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1116echo "configure:1117: checking for $ac_word" >&5
     1117if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
     1118  echo $ac_n "(cached) $ac_c" 1>&6
     1119else
     1120  if test -n "$AR"; then
     1121  ac_cv_prog_AR="$AR" # Let the user override the test.
     1122else
     1123  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
     1124  ac_dummy="$PATH"
     1125  for ac_dir in $ac_dummy; do
     1126    test -z "$ac_dir" && ac_dir=.
     1127    if test -f $ac_dir/$ac_word -o \
     1128            -f $ac_dir/$ac_word$ac_exeext ; then
     1129      ac_cv_prog_AR="${ac_tool_prefix}ar"
     1130      break
     1131    fi
     1132  done
     1133  IFS="$ac_save_ifs"
     1134  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
     1135fi
     1136fi
     1137AR="$ac_cv_prog_AR"
     1138if test -n "$AR"; then
     1139  echo "$ac_t""$AR" 1>&6
     1140else
     1141  echo "$ac_t""no" 1>&6
     1142fi
     1143
     1144
     1145
     1146# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     1147set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     1148echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1149echo "configure:1150: checking for $ac_word" >&5
     1150if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
     1151  echo $ac_n "(cached) $ac_c" 1>&6
     1152else
     1153  if test -n "$RANLIB"; then
     1154  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     1155else
     1156  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
     1157  ac_dummy="$PATH"
     1158  for ac_dir in $ac_dummy; do
     1159    test -z "$ac_dir" && ac_dir=.
     1160    if test -f $ac_dir/$ac_word -o \
     1161            -f $ac_dir/$ac_word$ac_exeext ; then
     1162      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     1163      break
     1164    fi
     1165  done
     1166  IFS="$ac_save_ifs"
     1167fi
     1168fi
     1169RANLIB="$ac_cv_prog_RANLIB"
     1170if test -n "$RANLIB"; then
     1171  echo "$ac_t""$RANLIB" 1>&6
     1172else
     1173  echo "$ac_t""no" 1>&6
     1174fi
     1175
     1176
     1177if test -z "$ac_cv_prog_RANLIB"; then
     1178if test -n "$ac_tool_prefix"; then
     1179  # Extract the first word of "ranlib", so it can be a program name with args.
     1180set dummy ranlib; ac_word=$2
     1181echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1182echo "configure:1183: checking for $ac_word" >&5
     1183if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
     1184  echo $ac_n "(cached) $ac_c" 1>&6
     1185else
     1186  if test -n "$RANLIB"; then
     1187  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     1188else
     1189  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
     1190  ac_dummy="$PATH"
     1191  for ac_dir in $ac_dummy; do
     1192    test -z "$ac_dir" && ac_dir=.
     1193    if test -f $ac_dir/$ac_word -o \
     1194            -f $ac_dir/$ac_word$ac_exeext ; then
     1195      ac_cv_prog_RANLIB="ranlib"
     1196      break
     1197    fi
     1198  done
     1199  IFS="$ac_save_ifs"
     1200  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
     1201fi
     1202fi
     1203RANLIB="$ac_cv_prog_RANLIB"
     1204if test -n "$RANLIB"; then
     1205  echo "$ac_t""$RANLIB" 1>&6
     1206else
     1207  echo "$ac_t""no" 1>&6
     1208fi
     1209
     1210else
     1211  RANLIB=":"
     1212fi
     1213fi
     1214
     1215
     1216# Check whether --enable-shared or --disable-shared was given.
     1217if test "${enable_shared+set}" = set; then
     1218  enableval="$enable_shared"
     1219  p=${PACKAGE-default}
     1220case $enableval in
     1221yes) enable_shared=yes ;;
     1222no) enable_shared=no ;;
     1223*)
     1224  enable_shared=no
     1225  # Look at the argument we got.  We use all the common list separators.
     1226  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     1227  for pkg in $enableval; do
     1228    if test "X$pkg" = "X$p"; then
     1229      enable_shared=yes
     1230    fi
     1231  done
     1232  IFS="$ac_save_ifs"
     1233  ;;
     1234esac
     1235else
     1236  enable_shared=no
     1237fi
     1238
     1239
     1240# Check whether --enable-static or --disable-static was given.
     1241if test "${enable_static+set}" = set; then
     1242  enableval="$enable_static"
     1243  p=${PACKAGE-default}
     1244case $enableval in
     1245yes) enable_static=yes ;;
     1246no) enable_static=no ;;
     1247*)
     1248  enable_static=no
     1249  # Look at the argument we got.  We use all the common list separators.
     1250  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     1251  for pkg in $enableval; do
     1252    if test "X$pkg" = "X$p"; then
     1253      enable_static=yes
     1254    fi
     1255  done
     1256  IFS="$ac_save_ifs"
     1257  ;;
     1258esac
     1259else
     1260  enable_static=yes
     1261fi
     1262
     1263# Check whether --enable-fast-install or --disable-fast-install was given.
     1264if test "${enable_fast_install+set}" = set; then
     1265  enableval="$enable_fast_install"
     1266  p=${PACKAGE-default}
     1267case $enableval in
     1268yes) enable_fast_install=yes ;;
     1269no) enable_fast_install=no ;;
     1270*)
     1271  enable_fast_install=no
     1272  # Look at the argument we got.  We use all the common list separators.
     1273  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     1274  for pkg in $enableval; do
     1275    if test "X$pkg" = "X$p"; then
     1276      enable_fast_install=yes
     1277    fi
     1278  done
     1279  IFS="$ac_save_ifs"
     1280  ;;
     1281esac
     1282else
     1283  enable_fast_install=yes
     1284fi
     1285
    8131286# Extract the first word of "gcc", so it can be a program name with args.
    8141287set dummy gcc; ac_word=$2
    8151288echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    816 echo "configure:817: checking for $ac_word" >&5
     1289echo "configure:1290: checking for $ac_word" >&5
    8171290if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    8181291  echo $ac_n "(cached) $ac_c" 1>&6
     
    8451318set dummy cc; ac_word=$2
    8461319echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    847 echo "configure:848: checking for $ac_word" >&5
     1320echo "configure:1321: checking for $ac_word" >&5
    8481321if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    8491322  echo $ac_n "(cached) $ac_c" 1>&6
     
    8981371set dummy cl; ac_word=$2
    8991372echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    900 echo "configure:901: checking for $ac_word" >&5
     1373echo "configure:1374: checking for $ac_word" >&5
    9011374if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    9021375  echo $ac_n "(cached) $ac_c" 1>&6
     
    9311404
    9321405echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    933 echo "configure:934: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1406echo "configure:1407: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    9341407
    9351408ac_ext=c
     
    9421415cat > conftest.$ac_ext << EOF
    9431416
    944 #line 945 "configure"
     1417#line 1418 "configure"
    9451418#include "confdefs.h"
    9461419
    9471420main(){return(0);}
    9481421EOF
    949 if { (eval echo configure:950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1422if { (eval echo configure:1423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    9501423  ac_cv_prog_cc_works=yes
    9511424  # If we can't run a trivial program, we are probably using a cross compiler.
     
    9731446fi
    9741447echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    975 echo "configure:976: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1448echo "configure:1449: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    9761449echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    9771450cross_compiling=$ac_cv_prog_cc_cross
    9781451
    9791452echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    980 echo "configure:981: checking whether we are using GNU C" >&5
     1453echo "configure:1454: checking whether we are using GNU C" >&5
    9811454if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    9821455  echo $ac_n "(cached) $ac_c" 1>&6
     
    9871460#endif
    9881461EOF
    989 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1462if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    9901463  ac_cv_prog_gcc=yes
    9911464else
     
    10061479CFLAGS=
    10071480echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1008 echo "configure:1009: checking whether ${CC-cc} accepts -g" >&5
     1481echo "configure:1482: checking whether ${CC-cc} accepts -g" >&5
    10091482if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    10101483  echo $ac_n "(cached) $ac_c" 1>&6
     
    10371510fi
    10381511
    1039 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
    1040 echo "configure:1041: checking for POSIXized ISC" >&5
    1041 if test -d /etc/conf/kconfig.d &&
    1042   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
    1043 then
    1044   echo "$ac_t""yes" 1>&6
    1045   ISC=yes # If later tests want to check for ISC.
    1046   cat >> confdefs.h <<\EOF
    1047 #define _POSIX_SOURCE 1
    1048 EOF
    1049 
    1050   if test "$GCC" = yes; then
    1051     CC="$CC -posix"
    1052   else
    1053     CC="$CC -Xp"
    1054   fi
    1055 else
    1056   echo "$ac_t""no" 1>&6
    1057   ISC=
    1058 fi
    1059 
    1060 
    1061 # Find a good install program.  We prefer a C program (faster),
    1062 # so one script is as good as another.  But avoid the broken or
    1063 # incompatible versions:
    1064 # SysV /etc/install, /usr/sbin/install
    1065 # SunOS /usr/etc/install
    1066 # IRIX /sbin/install
    1067 # AIX /bin/install
    1068 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    1069 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    1070 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    1071 # ./install, which can be erroneously created by make from ./install.sh.
    1072 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1073 echo "configure:1074: checking for a BSD compatible install" >&5
    1074 if test -z "$INSTALL"; then
    1075 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    1076   echo $ac_n "(cached) $ac_c" 1>&6
    1077 else
    1078     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS"
    1079   for ac_dir in $PATH; do
    1080     # Account for people who put trailing slashes in PATH elements.
    1081     case "$ac_dir/" in
    1082     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
    1083     # We reject the install program from OS/2 or W3.1
    1084     */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;;
    1085     *)
    1086       # OSF1 and SCO ODT 3.0 have their own names for install.
    1087       # Don't use installbsd from OSF since it installs stuff as root
    1088       # by default.
    1089       for ac_prog in ginstall scoinst install; do
    1090         if test -f $ac_dir/$ac_prog$ac_exeext; then
    1091           if test $ac_prog = install &&
    1092             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
    1093             # AIX install.  It has an incompatible calling convention.
    1094             :
    1095           else
    1096             ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c"
    1097             break 2
    1098           fi
    1099         fi
    1100       done
    1101       ;;
    1102     esac
    1103   done
    1104   IFS="$ac_save_IFS"
    1105 
    1106 fi
    1107   if test "${ac_cv_path_install+set}" = set; then
    1108     INSTALL="$ac_cv_path_install"
    1109   else
    1110     # As a last resort, use the slow shell script.  We don't cache a
    1111     # path for INSTALL within a source directory, because that will
    1112     # break other packages using the cache if that directory is
    1113     # removed, or if the path is relative.
    1114     INSTALL="$ac_install_sh"
    1115   fi
    1116 fi
    1117 echo "$ac_t""$INSTALL" 1>&6
    1118 
    1119 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    1120 # It thinks the first close brace ends the variable substitution.
    1121 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    1122 
    1123 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
    1124 
    1125 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    1126 
    1127 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    1128 echo "configure:1129: checking whether build environment is sane" >&5
    1129 # Just in case
    1130 sleep 1
    1131 echo timestamp > conftestfile
    1132 # Do `set' in a subshell so we don't clobber the current shell's
    1133 # arguments.  Must try -L first in case configure is actually a
    1134 # symlink; some systems play weird games with the mod time of symlinks
    1135 # (eg FreeBSD returns the mod time of the symlink's containing
    1136 # directory).
    1137 if (
    1138    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
    1139    if test "$*" = "X"; then
    1140       # -L didn't work.
    1141       set X `ls -t $srcdir/configure conftestfile`
    1142    fi
    1143    if test "$*" != "X $srcdir/configure conftestfile" \
    1144       && test "$*" != "X conftestfile $srcdir/configure"; then
    1145 
    1146       # If neither matched, then we have a broken ls.  This can happen
    1147       # if, for instance, CONFIG_SHELL is bash and it inherits a
    1148       # broken ls alias from the environment.  This has actually
    1149       # happened.  Such a system could not be considered "sane".
    1150       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
    1151 alias in your environment" 1>&2; exit 1; }
    1152    fi
    1153 
    1154    test "$2" = conftestfile
    1155    )
    1156 then
    1157    # Ok.
    1158    :
    1159 else
    1160    { echo "configure: error: newly created file is older than distributed files!
    1161 Check your system clock" 1>&2; exit 1; }
    1162 fi
    1163 rm -f conftest*
    1164 echo "$ac_t""yes" 1>&6
    1165 if test "$program_transform_name" = s,x,x,; then
    1166   program_transform_name=
    1167 else
    1168   # Double any \ or $.  echo might interpret backslashes.
    1169   cat <<\EOF_SED > conftestsed
    1170 s,\\,\\\\,g; s,\$,$$,g
    1171 EOF_SED
    1172   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
    1173   rm -f conftestsed
    1174 fi
    1175 test "$program_prefix" != NONE &&
    1176   program_transform_name="s,^,${program_prefix},; $program_transform_name"
    1177 # Use a double $ so make ignores it.
    1178 test "$program_suffix" != NONE &&
    1179   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
    1180 
    1181 # sed with no file args requires a program.
    1182 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
    1183 
    1184 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1185 echo "configure:1186: checking whether ${MAKE-make} sets \${MAKE}" >&5
    1186 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    1187 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
    1188   echo $ac_n "(cached) $ac_c" 1>&6
    1189 else
    1190   cat > conftestmake <<\EOF
    1191 all:
    1192         @echo 'ac_maketemp="${MAKE}"'
    1193 EOF
    1194 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    1195 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
    1196 if test -n "$ac_maketemp"; then
    1197   eval ac_cv_prog_make_${ac_make}_set=yes
    1198 else
    1199   eval ac_cv_prog_make_${ac_make}_set=no
    1200 fi
    1201 rm -f conftestmake
    1202 fi
    1203 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    1204   echo "$ac_t""yes" 1>&6
    1205   SET_MAKE=
    1206 else
    1207   echo "$ac_t""no" 1>&6
    1208   SET_MAKE="MAKE=${MAKE-make}"
    1209 fi
    1210 
    1211 
    1212 PACKAGE=bfd
    1213 
    1214 VERSION=2.11.2
    1215 
    1216 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
    1217   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
    1218 fi
    1219 cat >> confdefs.h <<EOF
    1220 #define PACKAGE "$PACKAGE"
    1221 EOF
    1222 
    1223 cat >> confdefs.h <<EOF
    1224 #define VERSION "$VERSION"
    1225 EOF
    1226 
    1227 
    1228 
    1229 missing_dir=`cd $ac_aux_dir && pwd`
    1230 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    1231 echo "configure:1232: checking for working aclocal" >&5
    1232 # Run test in a subshell; some versions of sh will print an error if
    1233 # an executable is not found, even if stderr is redirected.
    1234 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1235 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
    1236    ACLOCAL=aclocal
    1237    echo "$ac_t""found" 1>&6
    1238 else
    1239    ACLOCAL="$missing_dir/missing aclocal"
    1240    echo "$ac_t""missing" 1>&6
    1241 fi
    1242 
    1243 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    1244 echo "configure:1245: checking for working autoconf" >&5
    1245 # Run test in a subshell; some versions of sh will print an error if
    1246 # an executable is not found, even if stderr is redirected.
    1247 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1248 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
    1249    AUTOCONF=autoconf
    1250    echo "$ac_t""found" 1>&6
    1251 else
    1252    AUTOCONF="$missing_dir/missing autoconf"
    1253    echo "$ac_t""missing" 1>&6
    1254 fi
    1255 
    1256 echo $ac_n "checking for working automake""... $ac_c" 1>&6
    1257 echo "configure:1258: checking for working automake" >&5
    1258 # Run test in a subshell; some versions of sh will print an error if
    1259 # an executable is not found, even if stderr is redirected.
    1260 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1261 if (automake --version) < /dev/null > /dev/null 2>&1; then
    1262    AUTOMAKE=automake
    1263    echo "$ac_t""found" 1>&6
    1264 else
    1265    AUTOMAKE="$missing_dir/missing automake"
    1266    echo "$ac_t""missing" 1>&6
    1267 fi
    1268 
    1269 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    1270 echo "configure:1271: checking for working autoheader" >&5
    1271 # Run test in a subshell; some versions of sh will print an error if
    1272 # an executable is not found, even if stderr is redirected.
    1273 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1274 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
    1275    AUTOHEADER=autoheader
    1276    echo "$ac_t""found" 1>&6
    1277 else
    1278    AUTOHEADER="$missing_dir/missing autoheader"
    1279    echo "$ac_t""missing" 1>&6
    1280 fi
    1281 
    1282 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    1283 echo "configure:1284: checking for working makeinfo" >&5
    1284 # Run test in a subshell; some versions of sh will print an error if
    1285 # an executable is not found, even if stderr is redirected.
    1286 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1287 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
    1288    MAKEINFO=makeinfo
    1289    echo "$ac_t""found" 1>&6
    1290 else
    1291    MAKEINFO="$missing_dir/missing makeinfo"
    1292    echo "$ac_t""missing" 1>&6
    1293 fi
    1294 
    1295 
    1296 
    1297 if test $host != $build; then
    1298   ac_tool_prefix=${host_alias}-
    1299 else
    1300   ac_tool_prefix=
    1301 fi
    1302 
    1303 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
    1304 set dummy ${ac_tool_prefix}ar; ac_word=$2
    1305 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1306 echo "configure:1307: checking for $ac_word" >&5
    1307 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    1308   echo $ac_n "(cached) $ac_c" 1>&6
    1309 else
    1310   if test -n "$AR"; then
    1311   ac_cv_prog_AR="$AR" # Let the user override the test.
    1312 else
    1313   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    1314   ac_dummy="$PATH"
    1315   for ac_dir in $ac_dummy; do
    1316     test -z "$ac_dir" && ac_dir=.
    1317     if test -f $ac_dir/$ac_word -o \
    1318             -f $ac_dir/$ac_word$ac_exeext ; then
    1319       ac_cv_prog_AR="${ac_tool_prefix}ar"
    1320       break
    1321     fi
    1322   done
    1323   IFS="$ac_save_ifs"
    1324   test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
    1325 fi
    1326 fi
    1327 AR="$ac_cv_prog_AR"
    1328 if test -n "$AR"; then
    1329   echo "$ac_t""$AR" 1>&6
    1330 else
    1331   echo "$ac_t""no" 1>&6
    1332 fi
    1333 
    1334 
    1335 
    1336 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    1337 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    1338 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1339 echo "configure:1340: checking for $ac_word" >&5
    1340 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    1341   echo $ac_n "(cached) $ac_c" 1>&6
    1342 else
    1343   if test -n "$RANLIB"; then
    1344   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    1345 else
    1346   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    1347   ac_dummy="$PATH"
    1348   for ac_dir in $ac_dummy; do
    1349     test -z "$ac_dir" && ac_dir=.
    1350     if test -f $ac_dir/$ac_word -o \
    1351             -f $ac_dir/$ac_word$ac_exeext ; then
    1352       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    1353       break
    1354     fi
    1355   done
    1356   IFS="$ac_save_ifs"
    1357 fi
    1358 fi
    1359 RANLIB="$ac_cv_prog_RANLIB"
    1360 if test -n "$RANLIB"; then
    1361   echo "$ac_t""$RANLIB" 1>&6
    1362 else
    1363   echo "$ac_t""no" 1>&6
    1364 fi
    1365 
    1366 
    1367 if test -z "$ac_cv_prog_RANLIB"; then
    1368 if test -n "$ac_tool_prefix"; then
    1369   # Extract the first word of "ranlib", so it can be a program name with args.
    1370 set dummy ranlib; ac_word=$2
    1371 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1372 echo "configure:1373: checking for $ac_word" >&5
    1373 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    1374   echo $ac_n "(cached) $ac_c" 1>&6
    1375 else
    1376   if test -n "$RANLIB"; then
    1377   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    1378 else
    1379   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    1380   ac_dummy="$PATH"
    1381   for ac_dir in $ac_dummy; do
    1382     test -z "$ac_dir" && ac_dir=.
    1383     if test -f $ac_dir/$ac_word -o \
    1384             -f $ac_dir/$ac_word$ac_exeext ; then
    1385       ac_cv_prog_RANLIB="ranlib"
    1386       break
    1387     fi
    1388   done
    1389   IFS="$ac_save_ifs"
    1390   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
    1391 fi
    1392 fi
    1393 RANLIB="$ac_cv_prog_RANLIB"
    1394 if test -n "$RANLIB"; then
    1395   echo "$ac_t""$RANLIB" 1>&6
    1396 else
    1397   echo "$ac_t""no" 1>&6
    1398 fi
    1399 
    1400 else
    1401   RANLIB=":"
    1402 fi
    1403 fi
    1404 
    1405 
    1406 # Check whether --enable-shared or --disable-shared was given.
    1407 if test "${enable_shared+set}" = set; then
    1408   enableval="$enable_shared"
    1409   p=${PACKAGE-default}
    1410 case "$enableval" in
    1411 yes) enable_shared=yes ;;
    1412 no) enable_shared=no ;;
    1413 *)
    1414   enable_shared=no
    1415   # Look at the argument we got.  We use all the common list separators.
    1416   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    1417   for pkg in $enableval; do
    1418     if test "X$pkg" = "X$p"; then
    1419       enable_shared=yes
    1420     fi
    1421   done
    1422   IFS="$ac_save_ifs"
    1423   ;;
    1424 esac
    1425 else
    1426   enable_shared=no
    1427 fi
    1428 
    1429 
    1430 # Check whether --enable-static or --disable-static was given.
    1431 if test "${enable_static+set}" = set; then
    1432   enableval="$enable_static"
    1433   p=${PACKAGE-default}
    1434 case "$enableval" in
    1435 yes) enable_static=yes ;;
    1436 no) enable_static=no ;;
    1437 *)
    1438   enable_static=no
    1439   # Look at the argument we got.  We use all the common list separators.
    1440   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    1441   for pkg in $enableval; do
    1442     if test "X$pkg" = "X$p"; then
    1443       enable_static=yes
    1444     fi
    1445   done
    1446   IFS="$ac_save_ifs"
    1447   ;;
    1448 esac
    1449 else
    1450   enable_static=yes
    1451 fi
    1452 
    1453 # Check whether --enable-fast-install or --disable-fast-install was given.
    1454 if test "${enable_fast_install+set}" = set; then
    1455   enableval="$enable_fast_install"
    1456   p=${PACKAGE-default}
    1457 case "$enableval" in
    1458 yes) enable_fast_install=yes ;;
    1459 no) enable_fast_install=no ;;
    1460 *)
    1461   enable_fast_install=no
    1462   # Look at the argument we got.  We use all the common list separators.
    1463   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    1464   for pkg in $enableval; do
    1465     if test "X$pkg" = "X$p"; then
    1466       enable_fast_install=yes
    1467     fi
    1468   done
    1469   IFS="$ac_save_ifs"
    1470   ;;
    1471 esac
    1472 else
    1473   enable_fast_install=yes
    1474 fi
    1475 
    14761512# Check whether --with-gnu-ld or --without-gnu-ld was given.
    14771513if test "${with_gnu_ld+set}" = set; then
     
    14831519
    14841520ac_prog=ld
    1485 if test "$ac_cv_prog_gcc" = yes; then
     1521if test "$GCC" = yes; then
    14861522  # Check if gcc -print-prog-name=ld gives a path.
    14871523  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
    1488 echo "configure:1489: checking for ld used by GCC" >&5
     1524echo "configure:1525: checking for ld used by GCC" >&5
    14891525  case $host in
    14901526  *-*-mingw*)
     
    14941530    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    14951531  esac
    1496   case "$ac_prog" in
     1532  case $ac_prog in
    14971533    # Accept absolute paths.
    14981534    [\\/]* | [A-Za-z]:[\\/]*)
     
    15161552elif test "$with_gnu_ld" = yes; then
    15171553  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
    1518 echo "configure:1519: checking for GNU ld" >&5
     1554echo "configure:1555: checking for GNU ld" >&5
    15191555else
    15201556  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
    1521 echo "configure:1522: checking for non-GNU ld" >&5
    1522 fi
    1523 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
     1557echo "configure:1558: checking for non-GNU ld" >&5
     1558fi
     1559if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
    15241560  echo $ac_n "(cached) $ac_c" 1>&6
    15251561else
     
    15291565    test -z "$ac_dir" && ac_dir=.
    15301566    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    1531       ac_cv_path_LD="$ac_dir/$ac_prog"
     1567      lt_cv_path_LD="$ac_dir/$ac_prog"
    15321568      # Check to see if the program is GNU ld.  I'd rather use --version,
    15331569      # but apparently some GNU ld's only accept -v.
    15341570      # Break only if it was the GNU/non-GNU ld that we prefer.
    1535       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
     1571      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
    15361572        test "$with_gnu_ld" != no && break
    15371573      else
     
    15421578  IFS="$ac_save_ifs"
    15431579else
    1544   ac_cv_path_LD="$LD" # Let the user override the test with a path.
    1545 fi
    1546 fi
    1547 
    1548 LD="$ac_cv_path_LD"
     1580  lt_cv_path_LD="$LD" # Let the user override the test with a path.
     1581fi
     1582fi
     1583
     1584LD="$lt_cv_path_LD"
    15491585if test -n "$LD"; then
    15501586  echo "$ac_t""$LD" 1>&6
     
    15541590test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
    15551591echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
    1556 echo "configure:1557: checking if the linker ($LD) is GNU ld" >&5
    1557 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
     1592echo "configure:1593: checking if the linker ($LD) is GNU ld" >&5
     1593if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
    15581594  echo $ac_n "(cached) $ac_c" 1>&6
    15591595else
    15601596  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    15611597if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
    1562   ac_cv_prog_gnu_ld=yes
    1563 else
    1564   ac_cv_prog_gnu_ld=no
    1565 fi
    1566 fi
    1567 
    1568 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
    1569 with_gnu_ld=$ac_cv_prog_gnu_ld
     1598  lt_cv_prog_gnu_ld=yes
     1599else
     1600  lt_cv_prog_gnu_ld=no
     1601fi
     1602fi
     1603
     1604echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
     1605with_gnu_ld=$lt_cv_prog_gnu_ld
    15701606
    15711607
    15721608echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
    1573 echo "configure:1574: checking for $LD option to reload object files" >&5
     1609echo "configure:1610: checking for $LD option to reload object files" >&5
    15741610if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
    15751611  echo $ac_n "(cached) $ac_c" 1>&6
     
    15831619
    15841620echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
    1585 echo "configure:1586: checking for BSD-compatible nm" >&5
    1586 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
     1621echo "configure:1622: checking for BSD-compatible nm" >&5
     1622if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
    15871623  echo $ac_n "(cached) $ac_c" 1>&6
    15881624else
    15891625  if test -n "$NM"; then
    15901626  # Let the user override the test.
    1591   ac_cv_path_NM="$NM"
     1627  lt_cv_path_NM="$NM"
    15921628else
    15931629  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
     
    16011637      # Tru64's nm complains that /dev/null is an invalid object file
    16021638      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
    1603         ac_cv_path_NM="$tmp_nm -B"
     1639        lt_cv_path_NM="$tmp_nm -B"
    16041640        break
    16051641      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
    1606         ac_cv_path_NM="$tmp_nm -p"
     1642        lt_cv_path_NM="$tmp_nm -p"
    16071643        break
    16081644      else
    1609         ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
     1645        lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    16101646        continue # so that we can try to find one that supports BSD flags
    16111647      fi
     
    16131649  done
    16141650  IFS="$ac_save_ifs"
    1615   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
    1616 fi
    1617 fi
    1618 
    1619 NM="$ac_cv_path_NM"
     1651  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
     1652fi
     1653fi
     1654
     1655NM="$lt_cv_path_NM"
    16201656echo "$ac_t""$NM" 1>&6
    16211657
    16221658echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1623 echo "configure:1624: checking whether ln -s works" >&5
     1659echo "configure:1660: checking whether ln -s works" >&5
    16241660if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    16251661  echo $ac_n "(cached) $ac_c" 1>&6
     
    16481684
    16491685echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
    1650 echo "configure:1651: checking how to recognise dependant libraries" >&5
     1686echo "configure:1687: checking how to recognise dependant libraries" >&5
    16511687if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
    16521688  echo $ac_n "(cached) $ac_c" 1>&6
     
    16661702# whether `pass_all' will *always* work, you probably want this one.
    16671703
    1668 case "$host_os" in
    1669 aix4*)
     1704case $host_os in
     1705aix*)
    16701706  lt_cv_deplibs_check_method=pass_all
    16711707  ;;
     
    16761712
    16771713bsdi4*)
    1678     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
    1679     lt_cv_file_magic_cmd='/usr/bin/file -L'
     1714  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
     1715  lt_cv_file_magic_cmd='/usr/bin/file -L'
    16801716  lt_cv_file_magic_test_file=/shlib/libc.so
    16811717  ;;
     
    16861722  ;;
    16871723
     1724darwin* | rhapsody*)
     1725  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
     1726  lt_cv_file_magic_cmd='/usr/bin/file -L'
     1727  case "$host_os" in
     1728  rhapsody* | darwin1.012)
     1729    lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
     1730    ;;
     1731  *) # Darwin 1.3 on
     1732    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
     1733    ;;
     1734  esac
     1735  ;;
     1736
    16881737freebsd* )
    16891738  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    1690     case "$host_cpu" in
     1739    case $host_cpu in
    16911740    i*86 )
    16921741      # Not sure whether the presence of OpenBSD here was a mistake.
    16931742      # Let's accept both of them until this is cleared up.
    1694             lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
    1695             lt_cv_file_magic_cmd=/usr/bin/file
     1743      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
     1744      lt_cv_file_magic_cmd=/usr/bin/file
    16961745      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
    16971746      ;;
     
    17061755  ;;
    17071756
    1708 hpux10.20*)
    1709   # TODO:  Does this work for hpux-11 too?
    1710   lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
    1711   lt_cv_file_magic_cmd=/usr/bin/file
    1712   lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1757hpux10.20*|hpux11*)
     1758  case $host_cpu in
     1759  hppa*)
     1760    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
     1761    lt_cv_file_magic_cmd=/usr/bin/file
     1762    lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1763    ;;
     1764  ia64*)
     1765    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     1766    lt_cv_file_magic_cmd=/usr/bin/file
     1767    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     1768    ;;
     1769  esac
    17131770  ;;
    17141771
    17151772irix5* | irix6*)
    1716   case "$host_os" in
     1773  case $host_os in
    17171774  irix5*)
    17181775    # this will be overridden with pass_all, but let us keep it just in case
     
    17201777    ;;
    17211778  *)
    1722     case "$LD" in
     1779    case $LD in
    17231780    *-32|*"-32 ") libmagic=32-bit;;
    17241781    *-n32|*"-n32 ") libmagic=N32;;
     
    17271784    esac
    17281785    # this will be overridden with pass_all, but let us keep it just in case
    1729         lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
    1730         ;;
     1786    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
     1787    ;;
    17311788  esac
    17321789  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
     
    17361793# This must be Linux ELF.
    17371794linux-gnu*)
    1738   case "$host_cpu" in
    1739   alpha* | i*86 | powerpc* | sparc* | ia64* )
     1795  case $host_cpu in
     1796  alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    17401797    lt_cv_deplibs_check_method=pass_all ;;
    17411798  *)
    17421799    # glibc up to 2.1.1 does not perform some relocations on ARM
    1743         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
    1744       esac
     1800    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
     1801  esac
    17451802  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    17461803  ;;
    17471804
    17481805netbsd*)
    1749   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
     1806  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     1807    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
    17501808  else
    1751         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
    1752         lt_cv_file_magic_cmd='/usr/bin/file -L'
    1753     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1809    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
    17541810  fi
    17551811  ;;
     
    17571813os2*)
    17581814  lt_cv_deplibs_check_method=pass_all
     1815  ;;
     1816
     1817newsos6)
     1818  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
     1819  lt_cv_file_magic_cmd=/usr/bin/file
     1820  lt_cv_file_magic_test_file=/usr/lib/libnls.so
    17591821  ;;
    17601822
     
    17751837  ;;
    17761838
     1839sysv5uw[78]* | sysv4*uw2*)
     1840  lt_cv_deplibs_check_method=pass_all
     1841  ;;
     1842
    17771843sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    1778   case "$host_vendor" in
     1844  case $host_vendor in
    17791845  ncr)
    17801846    lt_cv_deplibs_check_method=pass_all
    17811847    ;;
    17821848  motorola)
    1783         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]'
    1784         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1849    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]'
     1850    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
    17851851    ;;
    17861852  esac
     
    17951861
    17961862echo $ac_n "checking for object suffix""... $ac_c" 1>&6
    1797 echo "configure:1798: checking for object suffix" >&5
     1863echo "configure:1864: checking for object suffix" >&5
    17981864if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
    17991865  echo $ac_n "(cached) $ac_c" 1>&6
     
    18011867  rm -f conftest*
    18021868echo 'int i = 1;' > conftest.$ac_ext
    1803 if { (eval echo configure:1804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1869if { (eval echo configure:1870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    18041870  for ac_file in conftest.*; do
    18051871    case $ac_file in
     
    18211887
    18221888# Only perform the check for file, if the check method requires it
    1823 case "$deplibs_check_method" in
     1889case $deplibs_check_method in
    18241890file_magic*)
    18251891  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    18261892    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
    1827 echo "configure:1828: checking for ${ac_tool_prefix}file" >&5
     1893echo "configure:1894: checking for ${ac_tool_prefix}file" >&5
    18281894if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    18291895  echo $ac_n "(cached) $ac_c" 1>&6
    18301896else
    1831   case "$MAGIC_CMD" in
     1897  case $MAGIC_CMD in
    18321898  /*)
    18331899  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    18451911      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
    18461912      if test -n "$file_magic_test_file"; then
    1847         case "$deplibs_check_method" in
     1913        case $deplibs_check_method in
    18481914        "file_magic "*)
    18491915          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    18871953  if test -n "$ac_tool_prefix"; then
    18881954    echo $ac_n "checking for file""... $ac_c" 1>&6
    1889 echo "configure:1890: checking for file" >&5
     1955echo "configure:1956: checking for file" >&5
    18901956if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    18911957  echo $ac_n "(cached) $ac_c" 1>&6
    18921958else
    1893   case "$MAGIC_CMD" in
     1959  case $MAGIC_CMD in
    18941960  /*)
    18951961  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    19071973      lt_cv_path_MAGIC_CMD="$ac_dir/file"
    19081974      if test -n "$file_magic_test_file"; then
    1909         case "$deplibs_check_method" in
     1975        case $deplibs_check_method in
    19101976        "file_magic "*)
    19111977          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    19582024set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    19592025echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1960 echo "configure:1961: checking for $ac_word" >&5
     2026echo "configure:2027: checking for $ac_word" >&5
    19612027if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    19622028  echo $ac_n "(cached) $ac_c" 1>&6
     
    19912057set dummy ranlib; ac_word=$2
    19922058echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1993 echo "configure:1994: checking for $ac_word" >&5
     2059echo "configure:2060: checking for $ac_word" >&5
    19942060if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    19952061  echo $ac_n "(cached) $ac_c" 1>&6
     
    20272093set dummy ${ac_tool_prefix}strip; ac_word=$2
    20282094echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2029 echo "configure:2030: checking for $ac_word" >&5
     2095echo "configure:2096: checking for $ac_word" >&5
    20302096if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    20312097  echo $ac_n "(cached) $ac_c" 1>&6
     
    20602126set dummy strip; ac_word=$2
    20612127echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2062 echo "configure:2063: checking for $ac_word" >&5
     2128echo "configure:2129: checking for $ac_word" >&5
    20632129if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    20642130  echo $ac_n "(cached) $ac_c" 1>&6
     
    20992165test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
    21002166test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
    2101 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
    2102 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
     2167test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
     2168test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
    21032169
    21042170
     
    21252191# Some flags need to be propagated to the compiler or linker for good
    21262192# libtool support.
    2127 case "$host" in
     2193case $host in
    21282194*-*-irix6*)
    21292195  # Find out which ABI we are using.
    2130   echo '#line 2131 "configure"' > conftest.$ac_ext
    2131   if { (eval echo configure:2132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    2132     case "`/usr/bin/file conftest.o`" in
     2196  echo '#line 2197 "configure"' > conftest.$ac_ext
     2197  if { (eval echo configure:2198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2198   if test "$lt_cv_prog_gnu_ld" = yes; then
     2199    case `/usr/bin/file conftest.$ac_objext` in
     2200    *32-bit*)
     2201      LD="${LD-ld} -melf32bsmip"
     2202      ;;
     2203    *N32*)
     2204      LD="${LD-ld} -melf32bmipn32"
     2205      ;;
     2206    *64-bit*)
     2207      LD="${LD-ld} -melf64bmip"
     2208      ;;
     2209    esac
     2210   else
     2211    case `/usr/bin/file conftest.$ac_objext` in
    21332212    *32-bit*)
    21342213      LD="${LD-ld} -32"
     
    21412220      ;;
    21422221    esac
     2222   fi
     2223  fi
     2224  rm -rf conftest*
     2225  ;;
     2226
     2227ia64-*-hpux*)
     2228  # Find out which ABI we are using.
     2229  echo 'int i;' > conftest.$ac_ext
     2230  if { (eval echo configure:2231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2231    case "`/usr/bin/file conftest.o`" in
     2232    *ELF-32*)
     2233      HPUX_IA64_MODE="32"
     2234      ;;
     2235    *ELF-64*)
     2236      HPUX_IA64_MODE="64"
     2237      ;;
     2238    esac
    21432239  fi
    21442240  rm -rf conftest*
     
    21502246  CFLAGS="$CFLAGS -belf"
    21512247  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    2152 echo "configure:2153: checking whether the C compiler needs -belf" >&5
     2248echo "configure:2249: checking whether the C compiler needs -belf" >&5
    21532249if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    21542250  echo $ac_n "(cached) $ac_c" 1>&6
     
    21632259
    21642260     cat > conftest.$ac_ext <<EOF
    2165 #line 2166 "configure"
     2261#line 2262 "configure"
    21662262#include "confdefs.h"
    21672263
     
    21702266; return 0; }
    21712267EOF
    2172 if { (eval echo configure:2173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2268if { (eval echo configure:2269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21732269  rm -rf conftest*
    21742270  lt_cv_cc_needs_belf=yes
     
    22802376exec 5>>./config.log
    22812377
    2282 
    22832378 
    22842379
     
    23292424fi
    23302425
    2331 build_warnings="-W -Wall"
     2426build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
    23322427# Check whether --enable-build-warnings or --disable-build-warnings was given.
    23332428if test "${enable_build_warnings+set}" = set; then
     
    23472442fi
    23482443WARN_CFLAGS=""
    2349 if test "x${build_warnings}" != x -a "x$GCC" = xyes ; then
     2444if test "x${build_warnings}" != x && test "x$GCC" = xyes ; then
    23502445    WARN_CFLAGS="${build_warnings}"
    23512446fi
     
    23592454    { echo "configure: error: Unrecognized target system type; please check config.sub." 1>&2; exit 1; }
    23602455fi
    2361 if test "$program_transform_name" = s,x,x,; then
    2362   program_transform_name=
    2363 else
    2364   # Double any \ or $.  echo might interpret backslashes.
    2365   cat <<\EOF_SED > conftestsed
    2366 s,\\,\\\\,g; s,\$,$$,g
    2367 EOF_SED
    2368   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
    2369   rm -f conftestsed
    2370 fi
    2371 test "$program_prefix" != NONE &&
    2372   program_transform_name="s,^,${program_prefix},; $program_transform_name"
    2373 # Use a double $ so make ignores it.
    2374 test "$program_suffix" != NONE &&
    2375   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
    2376 
    2377 # sed with no file args requires a program.
    2378 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
    2379 
    23802456
    23812457echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    2382 echo "configure:2383: checking whether to enable maintainer-specific portions of Makefiles" >&5
     2458echo "configure:2459: checking whether to enable maintainer-specific portions of Makefiles" >&5
    23832459    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    23842460if test "${enable_maintainer_mode+set}" = set; then
     
    24022478 
    24032479
     2480echo $ac_n "checking whether to install libbfd""... $ac_c" 1>&6
     2481echo "configure:2482: checking whether to install libbfd" >&5
     2482  # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
     2483if test "${enable_install_libbfd+set}" = set; then
     2484  enableval="$enable_install_libbfd"
     2485  install_libbfd_p=$enableval
     2486else
     2487  if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
     2488        install_libbfd_p=yes
     2489      else
     2490        install_libbfd_p=no
     2491      fi
     2492fi
     2493
     2494  echo "$ac_t""$install_libbfd_p" 1>&6
     2495 
     2496
     2497if test $install_libbfd_p = yes; then
     2498  INSTALL_LIBBFD_TRUE=
     2499  INSTALL_LIBBFD_FALSE='#'
     2500else
     2501  INSTALL_LIBBFD_TRUE='#'
     2502  INSTALL_LIBBFD_FALSE=
     2503fi
     2504  # libbfd.a is a host library containing target dependent code
     2505  bfdlibdir='$(libdir)'
     2506  bfdincludedir='$(includedir)'
     2507  if test "${host}" != "${target}"; then
     2508    bfdlibdir='$(exec_prefix)/$(host_alias)/$(target_alias)/lib'
     2509    bfdincludedir='$(exec_prefix)/$(host_alias)/$(target_alias)/include'
     2510  fi
     2511 
     2512 
     2513
     2514
    24042515
    24052516
    24062517
    24072518echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    2408 echo "configure:2409: checking for executable suffix" >&5
     2519echo "configure:2520: checking for executable suffix" >&5
    24092520if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    24102521  echo $ac_n "(cached) $ac_c" 1>&6
     
    24162527  echo 'int main () { return 0; }' > conftest.$ac_ext
    24172528  ac_cv_exeext=
    2418   if { (eval echo configure:2419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2529  if { (eval echo configure:2530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    24192530    for file in conftest.*; do
    24202531      case $file in
     
    24392550host64=false
    24402551target64=false
     2552bfd_default_target_size=32
    24412553
    24422554# host stuff:
     
    24452557set dummy gcc; ac_word=$2
    24462558echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2447 echo "configure:2448: checking for $ac_word" >&5
     2559echo "configure:2560: checking for $ac_word" >&5
    24482560if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    24492561  echo $ac_n "(cached) $ac_c" 1>&6
     
    24762588set dummy cc; ac_word=$2
    24772589echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2478 echo "configure:2479: checking for $ac_word" >&5
     2590echo "configure:2591: checking for $ac_word" >&5
    24792591if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    24802592  echo $ac_n "(cached) $ac_c" 1>&6
     
    25292641set dummy cl; ac_word=$2
    25302642echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2531 echo "configure:2532: checking for $ac_word" >&5
     2643echo "configure:2644: checking for $ac_word" >&5
    25322644if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    25332645  echo $ac_n "(cached) $ac_c" 1>&6
     
    25622674
    25632675echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2564 echo "configure:2565: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2676echo "configure:2677: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    25652677
    25662678ac_ext=c
     
    25732685cat > conftest.$ac_ext << EOF
    25742686
    2575 #line 2576 "configure"
     2687#line 2688 "configure"
    25762688#include "confdefs.h"
    25772689
    25782690main(){return(0);}
    25792691EOF
    2580 if { (eval echo configure:2581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2692if { (eval echo configure:2693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    25812693  ac_cv_prog_cc_works=yes
    25822694  # If we can't run a trivial program, we are probably using a cross compiler.
     
    26042716fi
    26052717echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2606 echo "configure:2607: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2718echo "configure:2719: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    26072719echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    26082720cross_compiling=$ac_cv_prog_cc_cross
    26092721
    26102722echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2611 echo "configure:2612: checking whether we are using GNU C" >&5
     2723echo "configure:2724: checking whether we are using GNU C" >&5
    26122724if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    26132725  echo $ac_n "(cached) $ac_c" 1>&6
     
    26182730#endif
    26192731EOF
    2620 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2732if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    26212733  ac_cv_prog_gcc=yes
    26222734else
     
    26372749CFLAGS=
    26382750echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2639 echo "configure:2640: checking whether ${CC-cc} accepts -g" >&5
     2751echo "configure:2752: checking whether ${CC-cc} accepts -g" >&5
    26402752if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    26412753  echo $ac_n "(cached) $ac_c" 1>&6
     
    26692781
    26702782
    2671 ALL_LINGUAS=
     2783ALL_LINGUAS="fr tr ja es sv da zh_CN"
    26722784echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    2673 echo "configure:2674: checking how to run the C preprocessor" >&5
     2785echo "configure:2786: checking how to run the C preprocessor" >&5
    26742786# On Suns, sometimes $CPP names a directory.
    26752787if test -n "$CPP" && test -d "$CPP"; then
     
    26872799  cat > conftest.$ac_ext <<EOF
    26882800#include <sys/types.h>
    2689 #line 2690 "configure"
     2801#line 2802 "configure"
    26902802#include "confdefs.h"
    26912803#include <assert.h>
     
    26932805EOF
    26942806ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2695 { (eval echo configure:2696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2807{ (eval echo configure:2808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26962808ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    26972809if test -z "$ac_err"; then
     
    27052817  cat > conftest.$ac_ext <<EOF
    27062818#include <sys/types.h>
    2707 #line 2708 "configure"
     2819#line 2820 "configure"
    27082820#include "confdefs.h"
    27092821#include <assert.h>
     
    27112823EOF
    27122824ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2713 { (eval echo configure:2714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2825{ (eval echo configure:2826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    27142826ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    27152827if test -z "$ac_err"; then
     
    27232835  cat > conftest.$ac_ext <<EOF
    27242836#include <sys/types.h>
    2725 #line 2726 "configure"
     2837#line 2838 "configure"
    27262838#include "confdefs.h"
    27272839#include <assert.h>
     
    27292841EOF
    27302842ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2731 { (eval echo configure:2732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2843{ (eval echo configure:2844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    27322844ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    27332845if test -z "$ac_err"; then
     
    27562868set dummy ranlib; ac_word=$2
    27572869echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2758 echo "configure:2759: checking for $ac_word" >&5
     2870echo "configure:2871: checking for $ac_word" >&5
    27592871if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    27602872  echo $ac_n "(cached) $ac_c" 1>&6
     
    27852897
    27862898echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2787 echo "configure:2788: checking for ANSI C header files" >&5
     2899echo "configure:2900: checking for ANSI C header files" >&5
    27882900if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    27892901  echo $ac_n "(cached) $ac_c" 1>&6
     
    27912903  cat > conftest.$ac_ext <<EOF
    27922904#include <sys/types.h>
    2793 #line 2794 "configure"
     2905#line 2906 "configure"
    27942906#include "confdefs.h"
    27952907#include <stdlib.h>
     
    27992911EOF
    28002912ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2801 { (eval echo configure:2802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2913{ (eval echo configure:2914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    28022914ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    28032915if test -z "$ac_err"; then
     
    28162928  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    28172929cat > conftest.$ac_ext <<EOF
    2818 #line 2819 "configure"
     2930#line 2931 "configure"
    28192931#include "confdefs.h"
    28202932#include <string.h>
     
    28342946  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    28352947cat > conftest.$ac_ext <<EOF
    2836 #line 2837 "configure"
     2948#line 2949 "configure"
    28372949#include "confdefs.h"
    28382950#include <stdlib.h>
     
    28552967else
    28562968  cat > conftest.$ac_ext <<EOF
    2857 #line 2858 "configure"
     2969#line 2970 "configure"
    28582970#include "confdefs.h"
    28592971#include <ctype.h>
     
    28662978
    28672979EOF
    2868 if { (eval echo configure:2869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2980if { (eval echo configure:2981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    28692981then
    28702982  :
     
    28903002
    28913003echo $ac_n "checking for working const""... $ac_c" 1>&6
    2892 echo "configure:2893: checking for working const" >&5
     3004echo "configure:3005: checking for working const" >&5
    28933005if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    28943006  echo $ac_n "(cached) $ac_c" 1>&6
    28953007else
    28963008  cat > conftest.$ac_ext <<EOF
    2897 #line 2898 "configure"
     3009#line 3010 "configure"
    28983010#include "confdefs.h"
    28993011
     
    29443056; return 0; }
    29453057EOF
    2946 if { (eval echo configure:2947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3058if { (eval echo configure:3059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    29473059  rm -rf conftest*
    29483060  ac_cv_c_const=yes
     
    29653077
    29663078echo $ac_n "checking for inline""... $ac_c" 1>&6
    2967 echo "configure:2968: checking for inline" >&5
     3079echo "configure:3080: checking for inline" >&5
    29683080if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    29693081  echo $ac_n "(cached) $ac_c" 1>&6
     
    29723084for ac_kw in inline __inline__ __inline; do
    29733085  cat > conftest.$ac_ext <<EOF
    2974 #line 2975 "configure"
     3086#line 3087 "configure"
    29753087#include "confdefs.h"
    29763088
     
    29793091; return 0; }
    29803092EOF
    2981 if { (eval echo configure:2982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3093if { (eval echo configure:3094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    29823094  rm -rf conftest*
    29833095  ac_cv_c_inline=$ac_kw; break
     
    30053117
    30063118echo $ac_n "checking for off_t""... $ac_c" 1>&6
    3007 echo "configure:3008: checking for off_t" >&5
     3119echo "configure:3120: checking for off_t" >&5
    30083120if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
    30093121  echo $ac_n "(cached) $ac_c" 1>&6
    30103122else
    30113123  cat > conftest.$ac_ext <<EOF
    3012 #line 3013 "configure"
     3124#line 3125 "configure"
    30133125#include "confdefs.h"
    30143126#include <sys/types.h>
     
    30383150
    30393151echo $ac_n "checking for size_t""... $ac_c" 1>&6
    3040 echo "configure:3041: checking for size_t" >&5
     3152echo "configure:3153: checking for size_t" >&5
    30413153if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    30423154  echo $ac_n "(cached) $ac_c" 1>&6
    30433155else
    30443156  cat > conftest.$ac_ext <<EOF
    3045 #line 3046 "configure"
     3157#line 3158 "configure"
    30463158#include "confdefs.h"
    30473159#include <sys/types.h>
     
    30733185# for constant arguments.  Useless!
    30743186echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    3075 echo "configure:3076: checking for working alloca.h" >&5
     3187echo "configure:3188: checking for working alloca.h" >&5
    30763188if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    30773189  echo $ac_n "(cached) $ac_c" 1>&6
    30783190else
    30793191  cat > conftest.$ac_ext <<EOF
    3080 #line 3081 "configure"
     3192#line 3193 "configure"
    30813193#include "confdefs.h"
    30823194#include <alloca.h>
     
    30853197; return 0; }
    30863198EOF
    3087 if { (eval echo configure:3088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3199if { (eval echo configure:3200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30883200  rm -rf conftest*
    30893201  ac_cv_header_alloca_h=yes
     
    31063218
    31073219echo $ac_n "checking for alloca""... $ac_c" 1>&6
    3108 echo "configure:3109: checking for alloca" >&5
     3220echo "configure:3221: checking for alloca" >&5
    31093221if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    31103222  echo $ac_n "(cached) $ac_c" 1>&6
    31113223else
    31123224  cat > conftest.$ac_ext <<EOF
    3113 #line 3114 "configure"
     3225#line 3226 "configure"
    31143226#include "confdefs.h"
    31153227
     
    31393251; return 0; }
    31403252EOF
    3141 if { (eval echo configure:3142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3253if { (eval echo configure:3254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    31423254  rm -rf conftest*
    31433255  ac_cv_func_alloca_works=yes
     
    31713283
    31723284echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    3173 echo "configure:3174: checking whether alloca needs Cray hooks" >&5
     3285echo "configure:3286: checking whether alloca needs Cray hooks" >&5
    31743286if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    31753287  echo $ac_n "(cached) $ac_c" 1>&6
    31763288else
    31773289  cat > conftest.$ac_ext <<EOF
    3178 #line 3179 "configure"
     3290#line 3291 "configure"
    31793291#include "confdefs.h"
    31803292#if defined(CRAY) && ! defined(CRAY2)
     
    32013313for ac_func in _getb67 GETB67 getb67; do
    32023314  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3203 echo "configure:3204: checking for $ac_func" >&5
     3315echo "configure:3316: checking for $ac_func" >&5
    32043316if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    32053317  echo $ac_n "(cached) $ac_c" 1>&6
    32063318else
    32073319  cat > conftest.$ac_ext <<EOF
    3208 #line 3209 "configure"
     3320#line 3321 "configure"
    32093321#include "confdefs.h"
    32103322/* System header to define __stub macros and hopefully few prototypes,
     
    32293341; return 0; }
    32303342EOF
    3231 if { (eval echo configure:3232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3343if { (eval echo configure:3344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    32323344  rm -rf conftest*
    32333345  eval "ac_cv_func_$ac_func=yes"
     
    32563368
    32573369echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    3258 echo "configure:3259: checking stack direction for C alloca" >&5
     3370echo "configure:3371: checking stack direction for C alloca" >&5
    32593371if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    32603372  echo $ac_n "(cached) $ac_c" 1>&6
     
    32643376else
    32653377  cat > conftest.$ac_ext <<EOF
    3266 #line 3267 "configure"
     3378#line 3379 "configure"
    32673379#include "confdefs.h"
    32683380find_stack_direction ()
     
    32833395}
    32843396EOF
    3285 if { (eval echo configure:3286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3397if { (eval echo configure:3398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32863398then
    32873399  ac_cv_c_stack_direction=1
     
    33083420ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    33093421echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3310 echo "configure:3311: checking for $ac_hdr" >&5
     3422echo "configure:3423: checking for $ac_hdr" >&5
    33113423if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    33123424  echo $ac_n "(cached) $ac_c" 1>&6
     
    33143426  cat > conftest.$ac_ext <<EOF
    33153427#include <sys/types.h>
    3316 #line 3317 "configure"
     3428#line 3429 "configure"
    33173429#include "confdefs.h"
    33183430#include <$ac_hdr>
    33193431EOF
    33203432ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3321 { (eval echo configure:3322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3433{ (eval echo configure:3434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    33223434ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    33233435if test -z "$ac_err"; then
     
    33483460do
    33493461echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3350 echo "configure:3351: checking for $ac_func" >&5
     3462echo "configure:3463: checking for $ac_func" >&5
    33513463if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    33523464  echo $ac_n "(cached) $ac_c" 1>&6
    33533465else
    33543466  cat > conftest.$ac_ext <<EOF
    3355 #line 3356 "configure"
     3467#line 3468 "configure"
    33563468#include "confdefs.h"
    33573469/* System header to define __stub macros and hopefully few prototypes,
     
    33763488; return 0; }
    33773489EOF
    3378 if { (eval echo configure:3379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3490if { (eval echo configure:3491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    33793491  rm -rf conftest*
    33803492  eval "ac_cv_func_$ac_func=yes"
     
    34013513
    34023514echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    3403 echo "configure:3404: checking for working mmap" >&5
     3515echo "configure:3516: checking for working mmap" >&5
    34043516if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    34053517  echo $ac_n "(cached) $ac_c" 1>&6
     
    34093521else
    34103522  cat > conftest.$ac_ext <<EOF
    3411 #line 3412 "configure"
     3523#line 3524 "configure"
    34123524#include "confdefs.h"
    34133525
     
    35493661
    35503662EOF
    3551 if { (eval echo configure:3552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3663if { (eval echo configure:3664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    35523664then
    35533665  ac_cv_func_mmap_fixed_mapped=yes
     
    35773689ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    35783690echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3579 echo "configure:3580: checking for $ac_hdr" >&5
     3691echo "configure:3692: checking for $ac_hdr" >&5
    35803692if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    35813693  echo $ac_n "(cached) $ac_c" 1>&6
     
    35833695  cat > conftest.$ac_ext <<EOF
    35843696#include <sys/types.h>
    3585 #line 3586 "configure"
     3697#line 3698 "configure"
    35863698#include "confdefs.h"
    35873699#include <$ac_hdr>
    35883700EOF
    35893701ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3590 { (eval echo configure:3591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3702{ (eval echo configure:3703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    35913703ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    35923704if test -z "$ac_err"; then
     
    36183730do
    36193731echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3620 echo "configure:3621: checking for $ac_func" >&5
     3732echo "configure:3733: checking for $ac_func" >&5
    36213733if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    36223734  echo $ac_n "(cached) $ac_c" 1>&6
    36233735else
    36243736  cat > conftest.$ac_ext <<EOF
    3625 #line 3626 "configure"
     3737#line 3738 "configure"
    36263738#include "confdefs.h"
    36273739/* System header to define __stub macros and hopefully few prototypes,
     
    36463758; return 0; }
    36473759EOF
    3648 if { (eval echo configure:3649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3760if { (eval echo configure:3761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36493761  rm -rf conftest*
    36503762  eval "ac_cv_func_$ac_func=yes"
     
    36753787do
    36763788echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3677 echo "configure:3678: checking for $ac_func" >&5
     3789echo "configure:3790: checking for $ac_func" >&5
    36783790if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    36793791  echo $ac_n "(cached) $ac_c" 1>&6
    36803792else
    36813793  cat > conftest.$ac_ext <<EOF
    3682 #line 3683 "configure"
     3794#line 3795 "configure"
    36833795#include "confdefs.h"
    36843796/* System header to define __stub macros and hopefully few prototypes,
     
    37033815; return 0; }
    37043816EOF
    3705 if { (eval echo configure:3706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3817if { (eval echo configure:3818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37063818  rm -rf conftest*
    37073819  eval "ac_cv_func_$ac_func=yes"
     
    37373849   if test $ac_cv_header_locale_h = yes; then
    37383850    echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
    3739 echo "configure:3740: checking for LC_MESSAGES" >&5
     3851echo "configure:3852: checking for LC_MESSAGES" >&5
    37403852if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
    37413853  echo $ac_n "(cached) $ac_c" 1>&6
    37423854else
    37433855  cat > conftest.$ac_ext <<EOF
    3744 #line 3745 "configure"
     3856#line 3857 "configure"
    37453857#include "confdefs.h"
    37463858#include <locale.h>
     
    37493861; return 0; }
    37503862EOF
    3751 if { (eval echo configure:3752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3863if { (eval echo configure:3864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37523864  rm -rf conftest*
    37533865  am_cv_val_LC_MESSAGES=yes
     
    37703882  fi
    37713883   echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
    3772 echo "configure:3773: checking whether NLS is requested" >&5
     3884echo "configure:3885: checking whether NLS is requested" >&5
    37733885        # Check whether --enable-nls or --disable-nls was given.
    37743886if test "${enable_nls+set}" = set; then
     
    37903902
    37913903      echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
    3792 echo "configure:3793: checking whether included gettext is requested" >&5
     3904echo "configure:3905: checking whether included gettext is requested" >&5
    37933905      # Check whether --with-included-gettext or --without-included-gettext was given.
    37943906if test "${with_included_gettext+set}" = set; then
     
    38093921        ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
    38103922echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
    3811 echo "configure:3812: checking for libintl.h" >&5
     3923echo "configure:3924: checking for libintl.h" >&5
    38123924if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    38133925  echo $ac_n "(cached) $ac_c" 1>&6
     
    38153927  cat > conftest.$ac_ext <<EOF
    38163928#include <sys/types.h>
    3817 #line 3818 "configure"
     3929#line 3930 "configure"
    38183930#include "confdefs.h"
    38193931#include <libintl.h>
    38203932EOF
    38213933ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3822 { (eval echo configure:3823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3934{ (eval echo configure:3935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    38233935ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    38243936if test -z "$ac_err"; then
     
    38373949  echo "$ac_t""yes" 1>&6
    38383950  echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
    3839 echo "configure:3840: checking for gettext in libc" >&5
     3951echo "configure:3952: checking for gettext in libc" >&5
    38403952if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
    38413953  echo $ac_n "(cached) $ac_c" 1>&6
    38423954else
    38433955  cat > conftest.$ac_ext <<EOF
    3844 #line 3845 "configure"
     3956#line 3957 "configure"
    38453957#include "confdefs.h"
    38463958#include <libintl.h>
     
    38493961; return 0; }
    38503962EOF
    3851 if { (eval echo configure:3852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3963if { (eval echo configure:3964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38523964  rm -rf conftest*
    38533965  gt_cv_func_gettext_libc=yes
     
    38653977           if test "$gt_cv_func_gettext_libc" != "yes"; then
    38663978             echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
    3867 echo "configure:3868: checking for bindtextdomain in -lintl" >&5
     3979echo "configure:3980: checking for bindtextdomain in -lintl" >&5
    38683980ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
    38693981if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    38733985LIBS="-lintl  $LIBS"
    38743986cat > conftest.$ac_ext <<EOF
    3875 #line 3876 "configure"
     3987#line 3988 "configure"
    38763988#include "confdefs.h"
    38773989/* Override any gcc2 internal prototype to avoid an error.  */
     
    38843996; return 0; }
    38853997EOF
    3886 if { (eval echo configure:3887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3998if { (eval echo configure:3999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38873999  rm -rf conftest*
    38884000  eval "ac_cv_lib_$ac_lib_var=yes"
     
    39004012  echo "$ac_t""yes" 1>&6
    39014013  echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
    3902 echo "configure:3903: checking for gettext in libintl" >&5
     4014echo "configure:4015: checking for gettext in libintl" >&5
    39034015if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
    39044016  echo $ac_n "(cached) $ac_c" 1>&6
    39054017else
    39064018  cat > conftest.$ac_ext <<EOF
    3907 #line 3908 "configure"
     4019#line 4020 "configure"
    39084020#include "confdefs.h"
    39094021
     
    39124024; return 0; }
    39134025EOF
    3914 if { (eval echo configure:3915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4026if { (eval echo configure:4027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39154027  rm -rf conftest*
    39164028  gt_cv_func_gettext_libintl=yes
     
    39404052set dummy msgfmt; ac_word=$2
    39414053echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3942 echo "configure:3943: checking for $ac_word" >&5
     4054echo "configure:4055: checking for $ac_word" >&5
    39434055if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    39444056  echo $ac_n "(cached) $ac_c" 1>&6
     
    39744086do
    39754087echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3976 echo "configure:3977: checking for $ac_func" >&5
     4088echo "configure:4089: checking for $ac_func" >&5
    39774089if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    39784090  echo $ac_n "(cached) $ac_c" 1>&6
    39794091else
    39804092  cat > conftest.$ac_ext <<EOF
    3981 #line 3982 "configure"
     4093#line 4094 "configure"
    39824094#include "confdefs.h"
    39834095/* System header to define __stub macros and hopefully few prototypes,
     
    40024114; return 0; }
    40034115EOF
    4004 if { (eval echo configure:4005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4116if { (eval echo configure:4117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40054117  rm -rf conftest*
    40064118  eval "ac_cv_func_$ac_func=yes"
     
    40294141set dummy gmsgfmt; ac_word=$2
    40304142echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4031 echo "configure:4032: checking for $ac_word" >&5
     4143echo "configure:4144: checking for $ac_word" >&5
    40324144if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    40334145  echo $ac_n "(cached) $ac_c" 1>&6
     
    40694181set dummy xgettext; ac_word=$2
    40704182echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4071 echo "configure:4072: checking for $ac_word" >&5
     4183echo "configure:4184: checking for $ac_word" >&5
    40724184if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    40734185  echo $ac_n "(cached) $ac_c" 1>&6
     
    41014213
    41024214                cat > conftest.$ac_ext <<EOF
    4103 #line 4104 "configure"
     4215#line 4216 "configure"
    41044216#include "confdefs.h"
    41054217
     
    41094221; return 0; }
    41104222EOF
    4111 if { (eval echo configure:4112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4223if { (eval echo configure:4224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41124224  rm -rf conftest*
    41134225  CATOBJEXT=.gmo
     
    41414253set dummy msgfmt; ac_word=$2
    41424254echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4143 echo "configure:4144: checking for $ac_word" >&5
     4255echo "configure:4256: checking for $ac_word" >&5
    41444256if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    41454257  echo $ac_n "(cached) $ac_c" 1>&6
     
    41754287set dummy gmsgfmt; ac_word=$2
    41764288echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4177 echo "configure:4178: checking for $ac_word" >&5
     4289echo "configure:4290: checking for $ac_word" >&5
    41784290if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    41794291  echo $ac_n "(cached) $ac_c" 1>&6
     
    42154327set dummy xgettext; ac_word=$2
    42164328echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4217 echo "configure:4218: checking for $ac_word" >&5
     4329echo "configure:4330: checking for $ac_word" >&5
    42184330if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    42194331  echo $ac_n "(cached) $ac_c" 1>&6
     
    43054417     else
    43064418       echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
    4307 echo "configure:4308: checking for catalogs to be installed" >&5
     4419echo "configure:4420: checking for catalogs to be installed" >&5
    43084420       NEW_LINGUAS=
    43094421       for lang in ${LINGUAS=$ALL_LINGUAS}; do
     
    43334445         ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
    43344446echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
    4335 echo "configure:4336: checking for linux/version.h" >&5
     4447echo "configure:4448: checking for linux/version.h" >&5
    43364448if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    43374449  echo $ac_n "(cached) $ac_c" 1>&6
     
    43394451  cat > conftest.$ac_ext <<EOF
    43404452#include <sys/types.h>
    4341 #line 4342 "configure"
     4453#line 4454 "configure"
    43424454#include "confdefs.h"
    43434455#include <linux/version.h>
    43444456EOF
    43454457ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4346 { (eval echo configure:4347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4458{ (eval echo configure:4459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    43474459ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    43484460if test -z "$ac_err"; then
     
    43894501   
    43904502
    4391             if test -d $srcdir/po; then
     4503            if test -f $srcdir/po/POTFILES.in; then
    43924504      test -d po || mkdir po
    43934505      if test "x$srcdir" != "x."; then
    4394                  if test "x`echo $srcdir | sed -e 's@.\:/.*@@'  -e 's@/.*@@' `" = "x"; then
     4506                 if test "x`echo $srcdir | sed -e 's@.\:/.*@@'  -e 's@/.*@@' `" = "x"; then
    43954507            posrcprefix="$srcdir/"
    43964508         else
     
    44224534# ./install, which can be erroneously created by make from ./install.sh.
    44234535echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    4424 echo "configure:4425: checking for a BSD compatible install" >&5
     4536echo "configure:4537: checking for a BSD compatible install" >&5
    44254537if test -z "$INSTALL"; then
    44264538if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    45074619else
    45084620  echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6
    4509 echo "configure:4510: checking for build system executable suffix" >&5
     4621echo "configure:4622: checking for build system executable suffix" >&5
    45104622if eval "test \"`echo '$''{'bfd_cv_build_exeext'+set}'`\" = set"; then
    45114623  echo $ac_n "(cached) $ac_c" 1>&6
     
    45354647ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    45364648echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4537 echo "configure:4538: checking for $ac_hdr" >&5
     4649echo "configure:4650: checking for $ac_hdr" >&5
    45384650if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    45394651  echo $ac_n "(cached) $ac_c" 1>&6
     
    45414653  cat > conftest.$ac_ext <<EOF
    45424654#include <sys/types.h>
    4543 #line 4544 "configure"
     4655#line 4656 "configure"
    45444656#include "confdefs.h"
    45454657#include <$ac_hdr>
    45464658EOF
    45474659ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4548 { (eval echo configure:4549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4660{ (eval echo configure:4661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    45494661ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    45504662if test -z "$ac_err"; then
     
    45764688ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    45774689echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4578 echo "configure:4579: checking for $ac_hdr" >&5
     4690echo "configure:4691: checking for $ac_hdr" >&5
    45794691if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    45804692  echo $ac_n "(cached) $ac_c" 1>&6
     
    45824694  cat > conftest.$ac_ext <<EOF
    45834695#include <sys/types.h>
    4584 #line 4585 "configure"
     4696#line 4697 "configure"
    45854697#include "confdefs.h"
    45864698#include <$ac_hdr>
    45874699EOF
    45884700ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4589 { (eval echo configure:4590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4701{ (eval echo configure:4702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    45904702ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    45914703if test -z "$ac_err"; then
     
    46144726
    46154727echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    4616 echo "configure:4617: checking whether time.h and sys/time.h may both be included" >&5
     4728echo "configure:4729: checking whether time.h and sys/time.h may both be included" >&5
    46174729if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    46184730  echo $ac_n "(cached) $ac_c" 1>&6
    46194731else
    46204732  cat > conftest.$ac_ext <<EOF
    4621 #line 4622 "configure"
     4733#line 4734 "configure"
    46224734#include "confdefs.h"
    46234735#include <sys/types.h>
     
    46284740; return 0; }
    46294741EOF
    4630 if { (eval echo configure:4631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4742if { (eval echo configure:4743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    46314743  rm -rf conftest*
    46324744  ac_cv_header_time=yes
     
    46534765ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    46544766echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
    4655 echo "configure:4656: checking for $ac_hdr that defines DIR" >&5
     4767echo "configure:4768: checking for $ac_hdr that defines DIR" >&5
    46564768if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
    46574769  echo $ac_n "(cached) $ac_c" 1>&6
    46584770else
    46594771  cat > conftest.$ac_ext <<EOF
    4660 #line 4661 "configure"
     4772#line 4773 "configure"
    46614773#include "confdefs.h"
    46624774#include <sys/types.h>
     
    46664778; return 0; }
    46674779EOF
    4668 if { (eval echo configure:4669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4780if { (eval echo configure:4781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    46694781  rm -rf conftest*
    46704782  eval "ac_cv_header_dirent_$ac_safe=yes"
     
    46914803if test $ac_header_dirent = dirent.h; then
    46924804echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
    4693 echo "configure:4694: checking for opendir in -ldir" >&5
     4805echo "configure:4806: checking for opendir in -ldir" >&5
    46944806ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
    46954807if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46994811LIBS="-ldir  $LIBS"
    47004812cat > conftest.$ac_ext <<EOF
    4701 #line 4702 "configure"
     4813#line 4814 "configure"
    47024814#include "confdefs.h"
    47034815/* Override any gcc2 internal prototype to avoid an error.  */
     
    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_lib_$ac_lib_var=yes"
     
    47324844else
    47334845echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
    4734 echo "configure:4735: checking for opendir in -lx" >&5
     4846echo "configure:4847: checking for opendir in -lx" >&5
    47354847ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
    47364848if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47404852LIBS="-lx  $LIBS"
    47414853cat > conftest.$ac_ext <<EOF
    4742 #line 4743 "configure"
     4854#line 4855 "configure"
    47434855#include "confdefs.h"
    47444856/* Override any gcc2 internal prototype to avoid an error.  */
     
    47514863; return 0; }
    47524864EOF
    4753 if { (eval echo configure:4754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4865if { (eval echo configure:4866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47544866  rm -rf conftest*
    47554867  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47764888do
    47774889echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4778 echo "configure:4779: checking for $ac_func" >&5
     4890echo "configure:4891: checking for $ac_func" >&5
    47794891if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    47804892  echo $ac_n "(cached) $ac_c" 1>&6
    47814893else
    47824894  cat > conftest.$ac_ext <<EOF
    4783 #line 4784 "configure"
     4895#line 4896 "configure"
    47844896#include "confdefs.h"
    47854897/* System header to define __stub macros and hopefully few prototypes,
     
    48044916; return 0; }
    48054917EOF
    4806 if { (eval echo configure:4807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4918if { (eval echo configure:4919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48074919  rm -rf conftest*
    48084920  eval "ac_cv_func_$ac_func=yes"
     
    48394951
    48404952echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6
    4841 echo "configure:4842: checking whether strstr must be declared" >&5
     4953echo "configure:4954: checking whether strstr must be declared" >&5
    48424954if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+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_strstr=no
     
    48864998
    48874999echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6
    4888 echo "configure:4889: checking whether malloc must be declared" >&5
     5000echo "configure:5001: checking whether malloc must be declared" >&5
    48895001if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+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_malloc=no
     
    49335045
    49345046echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6
    4935 echo "configure:4936: checking whether realloc must be declared" >&5
     5047echo "configure:5048: checking whether realloc must be declared" >&5
    49365048if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+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_realloc=no
     
    49805092
    49815093echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6
    4982 echo "configure:4983: checking whether free must be declared" >&5
     5094echo "configure:5095: checking whether free must be declared" >&5
    49835095if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then
    49845096  echo $ac_n "(cached) $ac_c" 1>&6
    49855097else
    49865098  cat > conftest.$ac_ext <<EOF
    4987 #line 4988 "configure"
     5099#line 5100 "configure"
    49885100#include "confdefs.h"
    49895101
     
    50065118; return 0; }
    50075119EOF
    5008 if { (eval echo configure:5009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5120if { (eval echo configure:5121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    50095121  rm -rf conftest*
    50105122  bfd_cv_decl_needed_free=no
     
    50275139
    50285140echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6
    5029 echo "configure:5030: checking whether getenv must be declared" >&5
     5141echo "configure:5142: checking whether getenv must be declared" >&5
    50305142if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then
    50315143  echo $ac_n "(cached) $ac_c" 1>&6
    50325144else
    50335145  cat > conftest.$ac_ext <<EOF
    5034 #line 5035 "configure"
     5146#line 5147 "configure"
    50355147#include "confdefs.h"
    50365148
     
    50535165; return 0; }
    50545166EOF
    5055 if { (eval echo configure:5056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5167if { (eval echo configure:5168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    50565168  rm -rf conftest*
    50575169  bfd_cv_decl_needed_getenv=no
     
    50875199        TRAD_HEADER='"hosts/alphalinux.h"'
    50885200        ;;
    5089   alpha*-*-netbsd*)     COREFILE=netbsd-core.lo ;;
     5201  alpha*-*-netbsd* | alpha*-*-openbsd*)
     5202        COREFILE=netbsd-core.lo
     5203        ;;
    50905204  alpha*-*-*)           COREFILE=osf-core.lo ;;
    50915205  arm-*-freebsd*)       COREFILE='' ;;
     5206  arm-*-netbsd*)        COREFILE=netbsd-core.lo ;;
    50925207  arm-*-riscix)         COREFILE=trad-core.lo ;;
    50935208  hppa*-*-hpux*)        COREFILE=hpux-core.lo ;;
     
    50965211  hppa*-*-bsd*)         COREFILE="hpux-core.lo hppabsd-core.lo"
    50975212                        COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;;
    5098   i370-*-*)             
     5213  i370-*-*)
    50995214        COREFILE=trad-core.lo
    51005215        TRAD_HEADER='"hosts/i370linux.h"'
     
    51105225        TRAD_HEADER='"hosts/symmetry.h"'
    51115226        ;;
    5112   i[3456]86-*-bsd* | i[34567]86-*-freebsd[1234] | i[34567]86-*-freebsd[1234]\.* | i[34567]86-*-freebsd*aout*)
     5227  i[3456]86-*-bsdi)
     5228        COREFILE=
     5229        ;;
     5230  i[3456]86-*-bsd* | i[34567]86-*-freebsd[123] | i[34567]86-*-freebsd[123]\.* | i[34567]86-*-freebsd4\.[01234]* | i[34567]86-*-freebsd*aout*)
    51135231        COREFILE=trad-core.lo
    51145232        TRAD_HEADER='"hosts/i386bsd.h"'
     
    52125330        TRAD_HEADER='"hosts/m68kaux.h"'
    52135331        ;;
    5214   m88*-*-sysv4*)        ;;
    5215   m88*-motorola-sysv*)  COREFILE=ptrace-core.lo ;;
     5332  m88*-*-sysv4*)
     5333        ;;
     5334  m88*-motorola-sysv*)
     5335        COREFILE=ptrace-core.lo
     5336        ;;
    52165337  m88*-*-mach3*)
    52175338        COREFILE=trad-core.lo
     
    52255346        COREFILE=netbsd-core.lo
    52265347        ;;
    5227   rs6000-*-lynx*)       COREFILE=lynx-core.lo ;;
     5348  rs6000-*-lynx*)
     5349        COREFILE=lynx-core.lo
     5350        ;;
     5351  rs6000-*-aix5.* | powerpc-*-aix5.*)
     5352        COREFILE=rs6000-core.lo
     5353        COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
     5354        ;;
    52285355  rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*)
    52295356        COREFILE=rs6000-core.lo
    52305357        COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
     5358        # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
     5359        # have c_impl as a member of struct core_dumpx
     5360        echo $ac_n "checking for c_impl in struct core_dumpx""... $ac_c" 1>&6
     5361echo "configure:5362: checking for c_impl in struct core_dumpx" >&5
     5362        cat > conftest.$ac_ext <<EOF
     5363#line 5364 "configure"
     5364#include "confdefs.h"
     5365#include <core.h>
     5366int main() {
     5367struct core_dumpx c; c.c_impl = 0;
     5368; return 0; }
     5369EOF
     5370if { (eval echo configure:5371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5371  rm -rf conftest*
     5372  cat >> confdefs.h <<\EOF
     5373#define HAVE_ST_C_IMPL 1
     5374EOF
     5375
     5376          echo "$ac_t""yes" 1>&6
     5377else
     5378  echo "configure: failed program was:" >&5
     5379  cat conftest.$ac_ext >&5
     5380  rm -rf conftest*
     5381  echo "$ac_t""no" 1>&6
     5382fi
     5383rm -f conftest*
    52315384        ;;
    52325385  rs6000-*-aix4*)       COREFILE=rs6000-core.lo ;;
     
    52385391  powerpc-*-netbsd*)    COREFILE=netbsd-core.lo ;;
    52395392  powerpc-*-*bsd*)      COREFILE=netbsd-core.lo ;;
    5240   sparc-*-netbsd* | sparc-*-openbsd*)
     5393  s390*-*-*)            COREFILE=trad-core.lo ;;
     5394  sh*-*-netbsd*)        COREFILE=netbsd-core.lo ;;
     5395  sparc-*-netbsd* | sparc*-*-openbsd*)
    52415396        COREFILE=netbsd-core.lo
    52425397        ;;
     
    52455400        TRAD_HEADER='"hosts/tahoe.h"'
    52465401        ;;
     5402  vax-*-netbsd*)        COREFILE=netbsd-core.lo ;;
    52475403  vax-*-ultrix2*)
    52485404        COREFILE=trad-core.lo
     
    52575413        TRAD_HEADER='"hosts/vaxbsd.h"'
    52585414        ;;
     5415  x86_64-*-netbsd*)     COREFILE=netbsd-core.lo ;;
    52595416  esac
    52605417
     
    52795436ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    52805437echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    5281 echo "configure:5282: checking for $ac_hdr" >&5
     5438echo "configure:5439: checking for $ac_hdr" >&5
    52825439if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    52835440  echo $ac_n "(cached) $ac_c" 1>&6
     
    52855442  cat > conftest.$ac_ext <<EOF
    52865443#include <sys/types.h>
    5287 #line 5288 "configure"
     5444#line 5445 "configure"
    52885445#include "confdefs.h"
    52895446#include <$ac_hdr>
    52905447EOF
    52915448ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5292 { (eval echo configure:5293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5449{ (eval echo configure:5450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    52935450ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    52945451if test -z "$ac_err"; then
     
    53185475  if test "$ac_cv_header_sys_procfs_h" = yes; then
    53195476    echo $ac_n "checking for prstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5320 echo "configure:5321: checking for prstatus_t in sys/procfs.h" >&5
     5477echo "configure:5478: checking for prstatus_t in sys/procfs.h" >&5
    53215478 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus_t'+set}'`\" = set"; then
    53225479  echo $ac_n "(cached) $ac_c" 1>&6
    53235480else
    53245481  cat > conftest.$ac_ext <<EOF
    5325 #line 5326 "configure"
     5482#line 5483 "configure"
    53265483#include "confdefs.h"
    53275484
     
    53325489; return 0; }
    53335490EOF
    5334 if { (eval echo configure:5335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5491if { (eval echo configure:5492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    53355492  rm -rf conftest*
    53365493  bfd_cv_have_sys_procfs_type_prstatus_t=yes
     
    53545511
    53555512    echo $ac_n "checking for prstatus32_t in sys/procfs.h""... $ac_c" 1>&6
    5356 echo "configure:5357: checking for prstatus32_t in sys/procfs.h" >&5
     5513echo "configure:5514: checking for prstatus32_t in sys/procfs.h" >&5
    53575514 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus32_t'+set}'`\" = set"; then
    53585515  echo $ac_n "(cached) $ac_c" 1>&6
    53595516else
    53605517  cat > conftest.$ac_ext <<EOF
    5361 #line 5362 "configure"
     5518#line 5519 "configure"
    53625519#include "confdefs.h"
    53635520
     
    53685525; return 0; }
    53695526EOF
    5370 if { (eval echo configure:5371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5527if { (eval echo configure:5528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    53715528  rm -rf conftest*
    53725529  bfd_cv_have_sys_procfs_type_prstatus32_t=yes
     
    53905547
    53915548    echo $ac_n "checking for prstatus_t.pr_who in sys/procfs.h""... $ac_c" 1>&6
    5392 echo "configure:5393: checking for prstatus_t.pr_who in sys/procfs.h" >&5
     5549echo "configure:5550: checking for prstatus_t.pr_who in sys/procfs.h" >&5
    53935550 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who'+set}'`\" = set"; then
    53945551  echo $ac_n "(cached) $ac_c" 1>&6
    53955552else
    53965553  cat > conftest.$ac_ext <<EOF
    5397 #line 5398 "configure"
     5554#line 5555 "configure"
    53985555#include "confdefs.h"
    53995556
     
    54045561; return 0; }
    54055562EOF
    5406 if { (eval echo configure:5407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5563if { (eval echo configure:5564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    54075564  rm -rf conftest*
    54085565  bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
     
    54265583
    54275584    echo $ac_n "checking for prstatus32_t.pr_who in sys/procfs.h""... $ac_c" 1>&6
    5428 echo "configure:5429: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
     5585echo "configure:5586: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
    54295586 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who'+set}'`\" = set"; then
    54305587  echo $ac_n "(cached) $ac_c" 1>&6
    54315588else
    54325589  cat > conftest.$ac_ext <<EOF
    5433 #line 5434 "configure"
     5590#line 5591 "configure"
    54345591#include "confdefs.h"
    54355592
     
    54405597; return 0; }
    54415598EOF
    5442 if { (eval echo configure:5443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5599if { (eval echo configure:5600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    54435600  rm -rf conftest*
    54445601  bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
     
    54625619
    54635620    echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5464 echo "configure:5465: checking for pstatus_t in sys/procfs.h" >&5
     5621echo "configure:5622: checking for pstatus_t in sys/procfs.h" >&5
    54655622 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then
    54665623  echo $ac_n "(cached) $ac_c" 1>&6
    54675624else
    54685625  cat > conftest.$ac_ext <<EOF
    5469 #line 5470 "configure"
     5626#line 5627 "configure"
    54705627#include "confdefs.h"
    54715628
     
    54765633; return 0; }
    54775634EOF
    5478 if { (eval echo configure:5479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5635if { (eval echo configure:5636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    54795636  rm -rf conftest*
    54805637  bfd_cv_have_sys_procfs_type_pstatus_t=yes
     
    54985655
    54995656    echo $ac_n "checking for pxstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5500 echo "configure:5501: checking for pxstatus_t in sys/procfs.h" >&5
     5657echo "configure:5658: checking for pxstatus_t in sys/procfs.h" >&5
    55015658 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pxstatus_t'+set}'`\" = set"; then
    55025659  echo $ac_n "(cached) $ac_c" 1>&6
    55035660else
    55045661  cat > conftest.$ac_ext <<EOF
    5505 #line 5506 "configure"
     5662#line 5663 "configure"
    55065663#include "confdefs.h"
    55075664
     
    55125669; return 0; }
    55135670EOF
    5514 if { (eval echo configure:5515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5671if { (eval echo configure:5672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    55155672  rm -rf conftest*
    55165673  bfd_cv_have_sys_procfs_type_pxstatus_t=yes
     
    55345691
    55355692    echo $ac_n "checking for pstatus32_t in sys/procfs.h""... $ac_c" 1>&6
    5536 echo "configure:5537: checking for pstatus32_t in sys/procfs.h" >&5
     5693echo "configure:5694: checking for pstatus32_t in sys/procfs.h" >&5
    55375694 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus32_t'+set}'`\" = set"; then
    55385695  echo $ac_n "(cached) $ac_c" 1>&6
    55395696else
    55405697  cat > conftest.$ac_ext <<EOF
    5541 #line 5542 "configure"
     5698#line 5699 "configure"
    55425699#include "confdefs.h"
    55435700
     
    55485705; return 0; }
    55495706EOF
    5550 if { (eval echo configure:5551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5707if { (eval echo configure:5708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    55515708  rm -rf conftest*
    55525709  bfd_cv_have_sys_procfs_type_pstatus32_t=yes
     
    55705727
    55715728    echo $ac_n "checking for prpsinfo_t in sys/procfs.h""... $ac_c" 1>&6
    5572 echo "configure:5573: checking for prpsinfo_t in sys/procfs.h" >&5
     5729echo "configure:5730: checking for prpsinfo_t in sys/procfs.h" >&5
    55735730 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo_t'+set}'`\" = set"; then
    55745731  echo $ac_n "(cached) $ac_c" 1>&6
    55755732else
    55765733  cat > conftest.$ac_ext <<EOF
    5577 #line 5578 "configure"
     5734#line 5735 "configure"
    55785735#include "confdefs.h"
    55795736
     
    55845741; return 0; }
    55855742EOF
    5586 if { (eval echo configure:5587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5743if { (eval echo configure:5744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    55875744  rm -rf conftest*
    55885745  bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
     
    56065763
    56075764    echo $ac_n "checking for prpsinfo32_t in sys/procfs.h""... $ac_c" 1>&6
    5608 echo "configure:5609: checking for prpsinfo32_t in sys/procfs.h" >&5
     5765echo "configure:5766: checking for prpsinfo32_t in sys/procfs.h" >&5
    56095766 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo32_t'+set}'`\" = set"; then
    56105767  echo $ac_n "(cached) $ac_c" 1>&6
    56115768else
    56125769  cat > conftest.$ac_ext <<EOF
    5613 #line 5614 "configure"
     5770#line 5771 "configure"
    56145771#include "confdefs.h"
    56155772
     
    56205777; return 0; }
    56215778EOF
    5622 if { (eval echo configure:5623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5779if { (eval echo configure:5780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    56235780  rm -rf conftest*
    56245781  bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
     
    56425799
    56435800    echo $ac_n "checking for psinfo_t in sys/procfs.h""... $ac_c" 1>&6
    5644 echo "configure:5645: checking for psinfo_t in sys/procfs.h" >&5
     5801echo "configure:5802: checking for psinfo_t in sys/procfs.h" >&5
    56455802 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo_t'+set}'`\" = set"; then
    56465803  echo $ac_n "(cached) $ac_c" 1>&6
    56475804else
    56485805  cat > conftest.$ac_ext <<EOF
    5649 #line 5650 "configure"
     5806#line 5807 "configure"
    56505807#include "confdefs.h"
    56515808
     
    56565813; return 0; }
    56575814EOF
    5658 if { (eval echo configure:5659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5815if { (eval echo configure:5816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    56595816  rm -rf conftest*
    56605817  bfd_cv_have_sys_procfs_type_psinfo_t=yes
     
    56785835
    56795836    echo $ac_n "checking for psinfo32_t in sys/procfs.h""... $ac_c" 1>&6
    5680 echo "configure:5681: checking for psinfo32_t in sys/procfs.h" >&5
     5837echo "configure:5838: checking for psinfo32_t in sys/procfs.h" >&5
    56815838 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo32_t'+set}'`\" = set"; then
    56825839  echo $ac_n "(cached) $ac_c" 1>&6
    56835840else
    56845841  cat > conftest.$ac_ext <<EOF
    5685 #line 5686 "configure"
     5842#line 5843 "configure"
    56865843#include "confdefs.h"
    56875844
     
    56925849; return 0; }
    56935850EOF
    5694 if { (eval echo configure:5695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5851if { (eval echo configure:5852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    56955852  rm -rf conftest*
    56965853  bfd_cv_have_sys_procfs_type_psinfo32_t=yes
     
    57145871
    57155872    echo $ac_n "checking for lwpstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5716 echo "configure:5717: checking for lwpstatus_t in sys/procfs.h" >&5
     5873echo "configure:5874: checking for lwpstatus_t in sys/procfs.h" >&5
    57175874 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpstatus_t'+set}'`\" = set"; then
    57185875  echo $ac_n "(cached) $ac_c" 1>&6
    57195876else
    57205877  cat > conftest.$ac_ext <<EOF
    5721 #line 5722 "configure"
     5878#line 5879 "configure"
    57225879#include "confdefs.h"
    57235880
     
    57285885; return 0; }
    57295886EOF
    5730 if { (eval echo configure:5731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5887if { (eval echo configure:5888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    57315888  rm -rf conftest*
    57325889  bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
     
    57505907
    57515908    echo $ac_n "checking for lwpxstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5752 echo "configure:5753: checking for lwpxstatus_t in sys/procfs.h" >&5
     5909echo "configure:5910: checking for lwpxstatus_t in sys/procfs.h" >&5
    57535910 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpxstatus_t'+set}'`\" = set"; then
    57545911  echo $ac_n "(cached) $ac_c" 1>&6
    57555912else
    57565913  cat > conftest.$ac_ext <<EOF
    5757 #line 5758 "configure"
     5914#line 5915 "configure"
    57585915#include "confdefs.h"
    57595916
     
    57645921; return 0; }
    57655922EOF
    5766 if { (eval echo configure:5767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5923if { (eval echo configure:5924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    57675924  rm -rf conftest*
    57685925  bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
     
    57865943
    57875944    echo $ac_n "checking for lwpstatus_t.pr_context in sys/procfs.h""... $ac_c" 1>&6
    5788 echo "configure:5789: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
     5945echo "configure:5946: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
    57895946 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context'+set}'`\" = set"; then
    57905947  echo $ac_n "(cached) $ac_c" 1>&6
    57915948else
    57925949  cat > conftest.$ac_ext <<EOF
    5793 #line 5794 "configure"
     5950#line 5951 "configure"
    57945951#include "confdefs.h"
    57955952
     
    58005957; return 0; }
    58015958EOF
    5802 if { (eval echo configure:5803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5959if { (eval echo configure:5960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    58035960  rm -rf conftest*
    58045961  bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
     
    58225979
    58235980    echo $ac_n "checking for lwpstatus_t.pr_reg in sys/procfs.h""... $ac_c" 1>&6
    5824 echo "configure:5825: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
     5981echo "configure:5982: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
    58255982 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg'+set}'`\" = set"; then
    58265983  echo $ac_n "(cached) $ac_c" 1>&6
    58275984else
    58285985  cat > conftest.$ac_ext <<EOF
    5829 #line 5830 "configure"
     5986#line 5987 "configure"
    58305987#include "confdefs.h"
    58315988
     
    58365993; return 0; }
    58375994EOF
    5838 if { (eval echo configure:5839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5995if { (eval echo configure:5996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    58395996  rm -rf conftest*
    58405997  bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
     
    58586015
    58596016    echo $ac_n "checking for win32_pstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5860 echo "configure:5861: checking for win32_pstatus_t in sys/procfs.h" >&5
     6017echo "configure:6018: checking for win32_pstatus_t in sys/procfs.h" >&5
    58616018 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_win32_pstatus_t'+set}'`\" = set"; then
    58626019  echo $ac_n "(cached) $ac_c" 1>&6
    58636020else
    58646021  cat > conftest.$ac_ext <<EOF
    5865 #line 5866 "configure"
     6022#line 6023 "configure"
    58666023#include "confdefs.h"
    58676024
     
    58726029; return 0; }
    58736030EOF
    5874 if { (eval echo configure:5875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     6031if { (eval echo configure:6032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    58756032  rm -rf conftest*
    58766033  bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
     
    59206077  fi
    59216078  ;;
     6079*-*-linux*)
     6080  # We borrow WIN32LIBADD so that the shared libbfd won't depend on
     6081  # libiberty.a.
     6082  case "${host}" in
     6083  mips*-*-linux*)
     6084    # Linux/MIPS uses PIC by default.
     6085    if test "$enable_shared" = "yes"; then
     6086      WIN32LIBADD="-L../libiberty -liberty"
     6087    fi
     6088    ;;
     6089  *)
     6090    x=`sed -n -e 's/^[  ]*PICFLAG[      ]*=[    ]*//p' < ../libiberty/Makefile | sed -n '$p'`
     6091    if test -n "$x"; then
     6092      WIN32LIBADD="-L../libiberty/pic -liberty"
     6093    fi
     6094  ;;
     6095  esac
     6096  ;;
    59226097esac
    59236098
     
    59436118defvec=
    59446119selvecs=
     6120assocvecs=
    59456121selarchs=
    59466122TDEFINES=
     
    59496125    if test "x$targ" = "xall"; then
    59506126        all_targets=true
     6127        assocvecs="$assocvecs $targ_defvec $targ_selvecs"
    59516128    else
    59526129        . $srcdir/config.bfd
     
    59796156
    59806157
     6158# uniq the associated vectors in all the configured targets.
     6159f=""
     6160for i in $assocvecs ; do
     6161    case " $f " in
     6162    *" $i "*) ;;
     6163    *) f="$f $i" ;;
     6164    esac
     6165done
     6166assocvecs="$f"
     6167
     6168
    59816169# uniq the architectures in all the configured targets.
    59826170f=""
     
    59926180tb=
    59936181
    5994 elf="elf.lo elflink.lo dwarf1.lo"
     6182elf="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
    59956183
    59966184for vec in $selvecs
    59976185do
     6186    target_size=32
    59986187    case "$vec" in
    59996188    # This list is alphabetized to make it easy to compare
    6000     # with the two vector lists in targets.c.
     6189    # with the two vector lists in targets.c.  For the same reason,
     6190    # use one entry per line, even though this leads to long lines.
    60016191    a29kcoff_big_vec)           tb="$tb coff-a29k.lo cofflink.lo" ;;
    60026192    a_out_adobe_vec)            tb="$tb aout-adobe.lo aout32.lo" ;;
    6003     armcoff_little_vec)         tb="$tb coff-arm.lo cofflink.lo " ;;
    6004     armcoff_big_vec)            tb="$tb coff-arm.lo cofflink.lo " ;;
    6005     armnetbsd_vec)              tb="$tb armnetbsd.lo aout32.lo" ;;
    6006     armpe_little_vec)           tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
    6007     armpe_big_vec)              tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
    6008     armpei_little_vec)          tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
    6009     armpei_big_vec)             tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
    6010     arm_epoc_pe_little_vec)     tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
    6011     arm_epoc_pe_big_vec)        tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
    6012     arm_epoc_pei_little_vec)    tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
    6013     arm_epoc_pei_big_vec)       tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
     6193    aix5coff64_vec)             tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
    60146194    aout0_big_vec)              tb="$tb aout0.lo aout32.lo" ;;
    60156195    aout_arm_big_vec)           tb="$tb aout-arm.lo aout32.lo" ;;
     
    60186198    aout_mips_little_vec)       tb="$tb mipsbsd.lo aout32.lo" ;;
    60196199    apollocoff_vec)             tb="$tb coff-apollo.lo" ;;
     6200    arm_epoc_pe_big_vec)        tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
     6201    arm_epoc_pe_little_vec)     tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
     6202    arm_epoc_pei_big_vec)       tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
     6203    arm_epoc_pei_little_vec)    tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
     6204    armcoff_big_vec)            tb="$tb coff-arm.lo cofflink.lo " ;;
     6205    armcoff_little_vec)         tb="$tb coff-arm.lo cofflink.lo " ;;
     6206    armnetbsd_vec)              tb="$tb armnetbsd.lo aout32.lo" ;;
     6207    armpe_big_vec)              tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
     6208    armpe_little_vec)           tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
     6209    armpei_big_vec)             tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
     6210    armpei_little_vec)          tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
    60206211    b_out_vec_big_host)         tb="$tb bout.lo aout32.lo" ;;
    60216212    b_out_vec_little_host)      tb="$tb bout.lo aout32.lo" ;;
    60226213    bfd_efi_app_ia32_vec)       tb="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
    6023     bfd_efi_app_ia64_vec)       tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"
    6024                                 target64=true ;;
    6025     bfd_elf64_alpha_vec)        tb="$tb elf64-alpha.lo elf64.lo $elf"
    6026                                 target64=true ;;
    6027     bfd_elf64_hppa_vec | bfd_elf64_hppa_linux_vec)
    6028                                 tb="$tb elf64-hppa.lo elf64.lo $elf"
    6029                                 target64=true ;;
    6030     bfd_elf64_ia64_little_vec)  tb="$tb elf64-ia64.lo elf64.lo $elf"
    6031                                 target64=true ;;
    6032     bfd_elf64_ia64_big_vec)     tb="$tb elf64-ia64.lo elf64.lo $elf"
    6033                                 target64=true ;;
    6034     bfd_elf32_ia64_big_vec)     tb="$tb elf32-ia64.lo elf32.lo $elf" ;;
     6214    bfd_efi_app_ia64_vec)       tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
    60356215    bfd_elf32_avr_vec)          tb="$tb elf32-avr.lo elf32.lo $elf" ;;
    6036     bfd_elf32_littlearc_vec)    tb="$tb elf32-arc.lo elf32.lo $elf" ;;
    6037     bfd_elf32_littlearm_vec)    tb="$tb elfarm-nabi.lo elf32.lo $elf" ;;
    6038     bfd_elf32_littlearm_oabi_vec) tb="$tb elfarm-oabi.lo elf32.lo $elf" ;;
     6216    bfd_elf32_big_generic_vec)  tb="$tb elf32-gen.lo elf32.lo $elf" ;;
    60396217    bfd_elf32_bigarc_vec)       tb="$tb elf32-arc.lo elf32.lo $elf" ;;
     6218    bfd_elf32_bigarm_oabi_vec)  tb="$tb elfarm-oabi.lo elf32.lo $elf" ;;
    60406219    bfd_elf32_bigarm_vec)       tb="$tb elfarm-nabi.lo elf32.lo $elf" ;;
    6041     bfd_elf32_bigarm_oabi_vec)  tb="$tb elfarm-oabi.lo elf32.lo $elf" ;;
    6042     bfd_elf32_big_generic_vec)  tb="$tb elf32-gen.lo elf32.lo $elf" ;;
    6043     bfd_elf32_bigmips_vec)      tb="$tb elf32-mips.lo elf32.lo $elf ecofflink.lo" ;;
    6044     bfd_elf64_bigmips_vec)      tb="$tb elf64-mips.lo elf64.lo elf32-mips.lo elf32.lo $elf ecofflink.lo"
    6045                                 target64=true ;;
     6220    bfd_elf32_bigmips_vec)      tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
    60466221    bfd_elf32_cris_vec)         tb="$tb elf32-cris.lo elf32.lo $elf" ;;
    6047     bfd_elf32_us_cris_vec)      tb="$tb elf32-cris.lo elf32.lo $elf" ;;
    60486222    bfd_elf32_d10v_vec)         tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
    60496223    bfd_elf32_d30v_vec)         tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
     6224    bfd_elf32_dlx_big_vec)      tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
    60506225    bfd_elf32_fr30_vec)         tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
    6051     bfd_elf32_hppa_vec | bfd_elf32_hppa_linux_vec)
    6052                                 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
     6226    bfd_elf32_frv_vec)          tb="$tb elf32-frv.lo elf32.lo $elf" ;;
     6227    bfd_elf32_h8300_vec)        tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
     6228    bfd_elf32_hppa_linux_vec)   tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
     6229    bfd_elf32_hppa_vec)         tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
    60536230    bfd_elf32_i370_vec)         tb="$tb elf32-i370.lo elf32.lo $elf" ;;
     6231    bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;;
    60546232    bfd_elf32_i386_vec)         tb="$tb elf32-i386.lo elf32.lo $elf" ;;
    6055     bfd_elf64_x86_64_vec)       tb="$tb elf64-x86-64.lo elf64.lo $elf"
    6056                                 target64=true ;;
     6233    bfd_elf32_i860_little_vec)  tb="$tb elf32-i860.lo elf32.lo $elf" ;;
    60576234    bfd_elf32_i860_vec)         tb="$tb elf32-i860.lo elf32.lo $elf" ;;
    6058     bfd_elf32_i860_little_vec)  tb="$tb elf32-i860.lo elf32.lo $elf" ;;
    60596235    bfd_elf32_i960_vec)         tb="$tb elf32-i960.lo elf32.lo $elf" ;;
     6236    bfd_elf32_ia64_big_vec)     tb="$tb elf32-ia64.lo elf32.lo $elf" ;;
     6237    bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf";;
     6238    bfd_elf32_ip2k_vec)         tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
     6239    bfd_elf32_iq2000_vec)       tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
    60606240    bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
    6061     bfd_elf32_littlemips_vec)   tb="$tb elf32-mips.lo elf32.lo $elf ecofflink.lo" ;;
    6062     bfd_elf64_littlemips_vec)   tb="$tb elf64-mips.lo elf64.lo elf32-mips.lo elf32.lo $elf ecofflink.lo"
    6063                                 target64=true ;;
     6241    bfd_elf32_littlearc_vec)    tb="$tb elf32-arc.lo elf32.lo $elf" ;;
     6242    bfd_elf32_littlearm_oabi_vec) tb="$tb elfarm-oabi.lo elf32.lo $elf" ;;
     6243    bfd_elf32_littlearm_vec)    tb="$tb elfarm-nabi.lo elf32.lo $elf" ;;
     6244    bfd_elf32_littlemips_vec)   tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
    60646245    bfd_elf32_m32r_vec)         tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
    6065     bfd_elf32_m68hc11_vec)      tb="$tb elf32-m68hc11.lo elf32.lo $elf" ;;
    6066     bfd_elf32_m68hc12_vec)      tb="$tb elf32-m68hc12.lo elf32.lo $elf" ;;
     6246    bfd_elf32_m68hc11_vec)      tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
     6247    bfd_elf32_m68hc12_vec)      tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
    60676248    bfd_elf32_m68k_vec)         tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
    60686249    bfd_elf32_m88k_vec)         tb="$tb elf32-m88k.lo elf32.lo $elf" ;;
     
    60716252    bfd_elf32_mn10200_vec)      tb="$tb elf-m10200.lo elf32.lo $elf" ;;
    60726253    bfd_elf32_mn10300_vec)      tb="$tb elf-m10300.lo elf32.lo $elf" ;;
     6254    bfd_elf32_msp430_vec)       tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
     6255    bfd_elf32_nbigmips_vec)     tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     6256    bfd_elf32_nlittlemips_vec)  tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     6257    bfd_elf32_ntradbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     6258    bfd_elf32_ntradlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     6259    bfd_elf32_openrisc_vec)     tb="$tb elf32-openrisc.lo elf32.lo $elf" ;;
     6260    bfd_elf32_or32_big_vec)     tb="$tb elf32-or32.lo elf32.lo $elf" ;;
    60736261    bfd_elf32_pj_vec)           tb="$tb elf32-pj.lo elf32.lo $elf";;
    60746262    bfd_elf32_pjl_vec)          tb="$tb elf32-pj.lo elf32.lo $elf";;
    60756263    bfd_elf32_powerpc_vec)      tb="$tb elf32-ppc.lo elf32.lo $elf" ;;
    60766264    bfd_elf32_powerpcle_vec)    tb="$tb elf32-ppc.lo elf32.lo $elf" ;;
     6265    bfd_elf32_s390_vec)         tb="$tb elf32-s390.lo elf32.lo $elf" ;;
     6266    # FIXME: We include cofflink.lo not because it's needed for
     6267    # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
     6268    # which needs it but does not list it.  Should be fixed in right place.
     6269    bfd_elf32_sh64_vec)         tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
     6270    bfd_elf32_sh64l_vec)        tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
     6271    bfd_elf32_sh64lin_vec)      tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
     6272    bfd_elf32_sh64blin_vec)     tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
     6273    bfd_elf32_sh64lnbsd_vec)    tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
     6274    bfd_elf32_sh64nbsd_vec)     tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
    60776275    bfd_elf32_sh_vec)           tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
     6276    bfd_elf32_shblin_vec)       tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
    60786277    bfd_elf32_shl_vec)          tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
    6079     bfd_elf32_shlin_vec)        tb="$tb elf32-sh-lin.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
    6080     bfd_elf32_shblin_vec)       tb="$tb elf32-sh-lin.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
     6278    bfd_elf32_shlin_vec)        tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
     6279    bfd_elf32_shlnbsd_vec)      tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
     6280    bfd_elf32_shnbsd_vec)       tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
    60816281    bfd_elf32_sparc_vec)        tb="$tb elf32-sparc.lo elf32.lo $elf" ;;
    6082     bfd_elf32_tradbigmips_vec)  tb="$tb elf32-mips.lo elf32.lo $elf ecofflink.lo" ;;
    6083     bfd_elf32_tradlittlemips_vec) tb="$tb elf32-mips.lo elf32.lo $elf ecofflink.lo" ;;
     6282    bfd_elf32_tradbigmips_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
     6283    bfd_elf32_tradlittlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
     6284    bfd_elf32_us_cris_vec)      tb="$tb elf32-cris.lo elf32.lo $elf" ;;
    60846285    bfd_elf32_v850_vec)         tb="$tb elf32-v850.lo elf32.lo $elf" ;;
    6085     bfd_elf64_big_generic_vec)  tb="$tb elf64-gen.lo elf64.lo $elf"
    6086                                 target64=true ;;
    6087     bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"
    6088                                 target64=true ;;
    6089     bfd_elf64_sparc_vec)        tb="$tb elf64-sparc.lo elf64.lo $elf"
    6090                                 target64=true ;;
    6091     bfd_elf64_tradbigmips_vec)  tb="$tb elf64-mips.lo elf64.lo $elf ecofflink.lo"
    6092                                 target64=true ;;
    6093     bfd_elf64_tradlittlemips_vec) tb="$tb elf64-mips.lo elf64.lo $elf ecofflink.lo"
    6094                                 target64=true ;;
    6095     cisco_core_big_vec)         tb="$tb cisco-core.lo" ;;
    6096     cisco_core_little_vec)      tb="$tb cisco-core.lo" ;;
     6286    bfd_elf32_vax_vec)          tb="$tb elf32-vax.lo elf32.lo $elf" ;;
     6287    bfd_elf32_xstormy16_vec)    tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
     6288    bfd_elf32_xtensa_le_vec)    tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
     6289    bfd_elf32_xtensa_be_vec)    tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
     6290    bfd_elf64_alpha_freebsd_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
     6291    bfd_elf64_alpha_vec)        tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
     6292    bfd_elf64_big_generic_vec)  tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
     6293    bfd_elf64_bigmips_vec)      tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     6294    bfd_elf64_hppa_linux_vec)   tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
     6295    bfd_elf64_hppa_vec)         tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
     6296    bfd_elf64_ia64_aix_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
     6297    bfd_elf64_ia64_aix_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
     6298    bfd_elf64_ia64_big_vec)     tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
     6299    bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
     6300    bfd_elf64_ia64_little_vec)  tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
     6301    bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
     6302    bfd_elf64_littlemips_vec)   tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     6303    bfd_elf64_mmix_vec)         tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
     6304    bfd_elf64_powerpc_vec)      tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
     6305    bfd_elf64_powerpcle_vec)    tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
     6306    bfd_elf64_s390_vec)         tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
     6307    bfd_elf64_sh64_vec)         tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
     6308    bfd_elf64_sh64l_vec)        tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
     6309    bfd_elf64_sh64lin_vec)      tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
     6310    bfd_elf64_sh64blin_vec)     tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
     6311    bfd_elf64_sh64lnbsd_vec)    tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
     6312    bfd_elf64_sh64nbsd_vec)     tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
     6313    bfd_elf64_sparc_vec)        tb="$tb elf64-sparc.lo elf64.lo $elf"; target_size=64 ;;
     6314    bfd_elf64_tradbigmips_vec)  tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     6315    bfd_elf64_tradlittlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     6316    bfd_elf64_x86_64_vec)       tb="$tb elf64-x86-64.lo elf64.lo $elf"; target_size=64 ;;
     6317    bfd_mmo_vec)                tb="$tb mmo.lo" target_size=64 ;;
     6318    bfd_powerpc_pe_vec)         tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
     6319    bfd_powerpc_pei_vec)        tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
     6320    bfd_powerpcle_pe_vec)       tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
     6321    bfd_powerpcle_pei_vec)      tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
    60976322    cris_aout_vec)              tb="$tb aout-cris.lo" ;;
    6098     demo_64_vec)                tb="$tb demo64.lo aout64.lo"
    6099                                 target64=true ;;
     6323    demo_64_vec)                tb="$tb demo64.lo aout64.lo"; target_size=64 ;;
    61006324    ecoff_big_vec)              tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
     6325    ecoff_biglittle_vec)        tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
    61016326    ecoff_little_vec)           tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
    6102     ecoff_biglittle_vec)        tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
    6103     ecoffalpha_little_vec)      tb="$tb coff-alpha.lo ecoff.lo ecofflink.lo"
    6104                                 target64=true ;;
     6327    ecoffalpha_little_vec)      tb="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size=64 ;;
    61056328    go32coff_vec)               tb="$tb coff-go32.lo cofflink.lo" ;;
    61066329    go32stubbedcoff_vec)        tb="$tb coff-stgo32.lo cofflink.lo" ;;
     
    61156338    i386dynix_vec)              tb="$tb i386dynix.lo aout32.lo" ;;
    61166339    i386freebsd_vec)            tb="$tb i386freebsd.lo aout32.lo" ;;
    6117     i386msdos_vec)              tb="$tb i386msdos.lo" ;;
    6118     i386pe_vec)                 tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
    6119     i386pei_vec)                tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
    61206340    i386linux_vec)              tb="$tb i386linux.lo aout32.lo" ;;
    61216341    i386lynx_aout_vec)          tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
    61226342    i386lynx_coff_vec)          tb="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
    61236343    i386mach3_vec)              tb="$tb i386mach3.lo aout32.lo" ;;
     6344    i386msdos_vec)              tb="$tb i386msdos.lo" ;;
    61246345    i386netbsd_vec)             tb="$tb i386netbsd.lo aout32.lo" ;;
    61256346    i386os9k_vec)               tb="$tb i386os9k.lo aout32.lo" ;;
    6126     i386aout_emx_vec)           tb="$tb i386aoutemx.lo aout32.lo " ;;
     6347    i386aout_emx_vec)   tb="$tb i386aoutemx.lo aout32.lo" ;;
     6348    i386pe_vec)                 tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
     6349    i386pei_vec)                tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
    61276350    i860coff_vec)               tb="$tb coff-i860.lo cofflink.lo" ;;
    61286351    icoff_big_vec)              tb="$tb coff-i960.lo cofflink.lo" ;;
    61296352    icoff_little_vec)           tb="$tb coff-i960.lo cofflink.lo" ;;
    61306353    ieee_vec)                   tb="$tb ieee.lo" ;;
     6354    m68k4knetbsd_vec)           tb="$tb m68k4knetbsd.lo aout32.lo" ;;
     6355    m68kaux_coff_vec)           tb="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
    61316356    m68kcoff_vec)               tb="$tb coff-m68k.lo cofflink.lo" ;;
    61326357    m68kcoffun_vec)             tb="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
     
    61356360    m68klynx_coff_vec)          tb="$tb cf-m68klynx.lo coff-m68k.lo cofflink.lo lynx-core.lo" ;;
    61366361    m68knetbsd_vec)             tb="$tb m68knetbsd.lo aout32.lo" ;;
    6137     m68k4knetbsd_vec)           tb="$tb m68k4knetbsd.lo aout32.lo" ;;
    6138     m68kaux_coff_vec)           tb="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
    61396362    m68ksysvcoff_vec)           tb="$tb coff-svm68k.lo cofflink.lo" ;;
    61406363    m88kbcs_vec)                tb="$tb coff-m88k.lo" ;;
    6141     mipslpe_vec)                tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
    6142     mipslpei_vec)               tb="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
     6364    m88kmach3_vec)              tb="$tb m88kmach3.lo aout32.lo" ;;
     6365    mach_o_be_vec)              tb="$tb mach-o.lo" ;;
     6366    mach_o_le_vec)              tb="$tb mach-o.lo" ;;
     6367    mach_o_fat_vec)             tb="$tb mach-o.lo" ;;
    61436368    mcore_pe_big_vec)           tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
    61446369    mcore_pe_little_vec)        tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
    61456370    mcore_pei_big_vec)          tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
    61466371    mcore_pei_little_vec)       tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
     6372    mipslpe_vec)                tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
     6373    mipslpei_vec)               tb="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
    61476374    newsos3_vec)                tb="$tb newsos3.lo aout32.lo" ;;
     6375    nlm32_alpha_vec)            tb="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size=64 ;;
    61486376    nlm32_i386_vec)             tb="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
    6149     rs6000coff64_vec)           tb="$tb coff64-rs6000.lo xcofflink.lo"
    6150                                 target64=true ;;
     6377    nlm32_powerpc_vec)          tb="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
    61516378    nlm32_sparc_vec)            tb="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
    6152     nlm32_alpha_vec)            tb="$tb nlm32-alpha.lo nlm32.lo nlm.lo"
    6153                                 target64=true ;;
     6379    or32coff_big_vec)           tb="$tb coff-or32.lo cofflink.lo" ;;
     6380    pc532machaout_vec)          tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
     6381    pc532netbsd_vec)            tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
     6382    pef_vec)                    tb="$tb pef.lo" ;;
     6383    pef_xlib_vec)               tb="$tb pef.lo" ;;
     6384    pdp11_aout_vec)             tb="$tb pdp11.lo" ;;
     6385    pmac_xcoff_vec)             tb="$tb coff-rs6000.lo xcofflink.lo" ;;
     6386    ppcboot_vec)                tb="$tb ppcboot.lo" ;;
    61546387    riscix_vec)                 tb="$tb aout32.lo riscix.lo" ;;
    6155     nlm32_powerpc_vec)          tb="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
    6156     pc532netbsd_vec)            tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
    6157     pc532machaout_vec)          tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
    6158     pmac_xcoff_vec)             tb="$tb coff-pmac.lo xcofflink.lo" ;;
     6388    rs6000coff64_vec)           tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
    61596389    rs6000coff_vec)             tb="$tb coff-rs6000.lo xcofflink.lo" ;;
    6160     bfd_powerpc_pe_vec)         tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
    6161     bfd_powerpcle_pe_vec)       tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
    6162     bfd_powerpc_pei_vec)        tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
    6163     bfd_powerpcle_pei_vec)      tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
    6164     ppcboot_vec)                tb="$tb ppcboot.lo" ;;
     6390    shcoff_small_vec)           tb="$tb coff-sh.lo cofflink.lo" ;;
    61656391    shcoff_vec)                 tb="$tb coff-sh.lo cofflink.lo" ;;
     6392    shlcoff_small_vec)          tb="$tb coff-sh.lo cofflink.lo" ;;
    61666393    shlcoff_vec)                tb="$tb coff-sh.lo cofflink.lo" ;;
    6167     shcoff_small_vec)           tb="$tb coff-sh.lo cofflink.lo" ;;
    6168     shlcoff_small_vec)          tb="$tb coff-sh.lo cofflink.lo" ;;
    61696394    shlpe_vec)                  tb="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
    61706395    shlpei_vec)                 tb="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
    61716396    som_vec)                    tb="$tb som.lo" ;;
     6397    sparccoff_vec)              tb="$tb coff-sparc.lo" ;;
    61726398    sparcle_aout_vec)           tb="$tb aout-sparcle.lo aout32.lo" ;;
    61736399    sparclinux_vec)             tb="$tb sparclinux.lo aout32.lo" ;;
     
    61756401    sparclynx_coff_vec)         tb="$tb cf-sparclynx.lo lynx-core.lo" ;;
    61766402    sparcnetbsd_vec)            tb="$tb sparcnetbsd.lo aout32.lo" ;;
    6177     sparccoff_vec)              tb="$tb coff-sparc.lo" ;;
    6178     srec_vec)                   tb="$tb srec.lo" ;;
    61796403    sunos_big_vec)              tb="$tb sunos.lo aout32.lo" ;;
    6180     symbolsrec_vec)             tb="$tb srec.lo" ;;
    6181     tekhex_vec)                 tb="$tb tekhex.lo" ;;
     6404    sym_vec)                    tb="$tb xsym.lo" ;;
    61826405    tic30_aout_vec)             tb="$tb aout-tic30.lo" ;;
    61836406    tic30_coff_vec)             tb="$tb coff-tic30.lo" ;;
     6407    tic4x_coff0_vec)            tb="$tb coff-tic4x.lo" ;;
     6408    tic4x_coff0_beh_vec)        tb="$tb coff-tic4x.lo" ;;
     6409    tic4x_coff1_vec)            tb="$tb coff-tic4x.lo" ;;
     6410    tic4x_coff1_beh_vec)        tb="$tb coff-tic4x.lo" ;;
     6411    tic4x_coff2_vec)            tb="$tb coff-tic4x.lo" ;;
     6412    tic4x_coff2_beh_vec)        tb="$tb coff-tic4x.lo" ;;
     6413    tic54x_coff0_beh_vec)       tb="$tb coff-tic54x.lo" ;;
    61846414    tic54x_coff0_vec)           tb="$tb coff-tic54x.lo" ;;
    6185     tic54x_coff0_beh_vec)       tb="$tb coff-tic54x.lo" ;;
     6415    tic54x_coff1_beh_vec)       tb="$tb coff-tic54x.lo" ;;
    61866416    tic54x_coff1_vec)           tb="$tb coff-tic54x.lo" ;;
    6187     tic54x_coff1_beh_vec)       tb="$tb coff-tic54x.lo" ;;
     6417    tic54x_coff2_beh_vec)       tb="$tb coff-tic54x.lo" ;;
    61886418    tic54x_coff2_vec)           tb="$tb coff-tic54x.lo" ;;
    6189     tic54x_coff2_beh_vec)       tb="$tb coff-tic54x.lo" ;;
    61906419    tic80coff_vec)              tb="$tb coff-tic80.lo cofflink.lo" ;;
     6420    vaxnetbsd_vec)              tb="$tb vaxnetbsd.lo aout32.lo" ;;
     6421    vax1knetbsd_vec)            tb="$tb vax1knetbsd.lo aout32.lo" ;;
     6422    vaxbsd_vec)                 tb="$tb vaxbsd.lo aout32.lo" ;;
    61916423    versados_vec)               tb="$tb versados.lo" ;;
    6192     vms_alpha_vec)              tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"
    6193                                 target64=true ;;
     6424    vms_alpha_vec)              tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size=64 ;;
    61946425    vms_vax_vec)                tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
    61956426    w65_vec)                    tb="$tb coff-w65.lo reloc16.lo" ;;
     
    61976428    z8kcoff_vec)                tb="$tb coff-z8k.lo reloc16.lo" ;;
    61986429
     6430    # These appear out of order in targets.c
     6431    srec_vec)                   tb="$tb srec.lo" ;;
     6432    symbolsrec_vec)             tb="$tb srec.lo" ;;
     6433    tekhex_vec)                 tb="$tb tekhex.lo" ;;
     6434    cisco_core_big_vec)         tb="$tb cisco-core.lo" ;;
     6435    cisco_core_little_vec)      tb="$tb cisco-core.lo" ;;
     6436
    61996437    "")                 ;;
    62006438    *) { echo "configure: error: *** unknown target vector $vec" 1>&2; exit 1; } ;;
    62016439    esac
     6440
     6441    if test ${target_size} = 64; then
     6442        target64=true
     6443    fi
     6444    if test x"${vec}" = x"${defvec}"; then
     6445        bfd_default_target_size=${target_size}
     6446    fi
    62026447done
    62036448
     
    62356480  havevecs=
    62366481  selarchs=
     6482  test -n "$assocvecs" &&
     6483    assocvecs=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
    62376484else    # all_targets is true
    62386485  # Only set these if they will be nonempty, for the clever echo.
    62396486  havevecs=
     6487  assocvecs=
    62406488  test -n "$selvecs" &&
    62416489    havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
     
    62496497  *true*)
    62506498    wordsize=64
     6499    bfd_libs='$(BFD64_LIBS) $(BFD32_LIBS)'
    62516500    all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
    62526501    if test -z "$GCC" && test "$BFD_HOST_64BIT_LONG" = "0" && test "$BFD_HOST_64_BIT_DEFINED" = "0"; then
     
    62546503      echo "configure: warning: your compiler may not have a 64 bit integral type" 1>&2
    62556504    fi
     6505    if test -n "$GCC" ; then
     6506       bad_64bit_gcc=no;
     6507       echo $ac_n "checking for gcc version with buggy 64-bit support""... $ac_c" 1>&6
     6508echo "configure:6509: checking for gcc version with buggy 64-bit support" >&5
     6509       # Add more tests for gcc versions with non-working 64-bit support here.
     6510       cat > conftest.$ac_ext <<EOF
     6511#line 6512 "configure"
     6512#include "confdefs.h"
     6513:__GNUC__:__GNUC_MINOR__:__i386__:
     6514EOF
     6515if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     6516  egrep ": 2 : 91 : 1 :" >/dev/null 2>&1; then
     6517  rm -rf conftest*
     6518  bad_64bit_gcc=yes;
     6519                    echo "$ac_t""yes: egcs-1.1.2 on ix86 spotted" 1>&6
     6520else
     6521  rm -rf conftest*
     6522  echo "$ac_t""no" 1>&6
     6523fi
     6524rm -f conftest*
     6525
     6526       if test $bad_64bit_gcc = yes ; then
     6527         { echo "configure: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" 1>&2; exit 1; }
     6528       fi
     6529    fi
    62566530    ;;
    62576531  false-false-false)
    62586532    wordsize=32
     6533    bfd_libs='$(BFD32_LIBS)'
    62596534    all_backends='$(BFD32_BACKENDS)'
    62606535    ;;
     
    62666541
    62676542
     6543
     6544
    62686545tdefaults=""
    62696546test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
    62706547test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
     6548test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
    62716549test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
    62726550test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
     
    62776555ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    62786556echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    6279 echo "configure:6280: checking for $ac_hdr" >&5
     6557echo "configure:6558: checking for $ac_hdr" >&5
    62806558if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    62816559  echo $ac_n "(cached) $ac_c" 1>&6
     
    62836561  cat > conftest.$ac_ext <<EOF
    62846562#include <sys/types.h>
    6285 #line 6286 "configure"
     6563#line 6564 "configure"
    62866564#include "confdefs.h"
    62876565#include <$ac_hdr>
    62886566EOF
    62896567ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    6290 { (eval echo configure:6291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     6568{ (eval echo configure:6569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    62916569ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    62926570if test -z "$ac_err"; then
     
    63176595do
    63186596echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    6319 echo "configure:6320: checking for $ac_func" >&5
     6597echo "configure:6598: checking for $ac_func" >&5
    63206598if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    63216599  echo $ac_n "(cached) $ac_c" 1>&6
    63226600else
    63236601  cat > conftest.$ac_ext <<EOF
    6324 #line 6325 "configure"
     6602#line 6603 "configure"
    63256603#include "confdefs.h"
    63266604/* System header to define __stub macros and hopefully few prototypes,
     
    63456623; return 0; }
    63466624EOF
    6347 if { (eval echo configure:6348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6625if { (eval echo configure:6626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    63486626  rm -rf conftest*
    63496627  eval "ac_cv_func_$ac_func=yes"
     
    63706648
    63716649echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    6372 echo "configure:6373: checking for working mmap" >&5
     6650echo "configure:6651: checking for working mmap" >&5
    63736651if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    63746652  echo $ac_n "(cached) $ac_c" 1>&6
     
    63786656else
    63796657  cat > conftest.$ac_ext <<EOF
    6380 #line 6381 "configure"
     6658#line 6659 "configure"
    63816659#include "confdefs.h"
    63826660
     
    65186796
    65196797EOF
    6520 if { (eval echo configure:6521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     6798if { (eval echo configure:6799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    65216799then
    65226800  ac_cv_func_mmap_fixed_mapped=yes
     
    65436821do
    65446822echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    6545 echo "configure:6546: checking for $ac_func" >&5
     6823echo "configure:6824: checking for $ac_func" >&5
    65466824if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    65476825  echo $ac_n "(cached) $ac_c" 1>&6
    65486826else
    65496827  cat > conftest.$ac_ext <<EOF
    6550 #line 6551 "configure"
     6828#line 6829 "configure"
    65516829#include "confdefs.h"
    65526830/* System header to define __stub macros and hopefully few prototypes,
     
    65716849; return 0; }
    65726850EOF
    6573 if { (eval echo configure:6574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6851if { (eval echo configure:6852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    65746852  rm -rf conftest*
    65756853  eval "ac_cv_func_$ac_func=yes"
     
    67086986PATHIFS="$PATH_IFS"
    67096987
    6710 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
     6988trap '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
    67116989EOF
    67126990cat >> $CONFIG_STATUS <<EOF
     
    67587036s%@build_vendor@%$build_vendor%g
    67597037s%@build_os@%$build_os%g
    6760 s%@CC@%$CC%g
    67617038s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
    67627039s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
     
    67707047s%@MAKEINFO@%$MAKEINFO%g
    67717048s%@SET_MAKE@%$SET_MAKE%g
     7049s%@bfd_version@%$bfd_version%g
     7050s%@bfd_version_string@%$bfd_version_string%g
    67727051s%@AR@%$AR%g
    67737052s%@RANLIB@%$RANLIB%g
     7053s%@CC@%$CC%g
    67747054s%@LN_S@%$LN_S%g
    67757055s%@OBJEXT@%$OBJEXT%g
     
    67807060s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
    67817061s%@MAINT@%$MAINT%g
     7062s%@INSTALL_LIBBFD_TRUE@%$INSTALL_LIBBFD_TRUE%g
     7063s%@INSTALL_LIBBFD_FALSE@%$INSTALL_LIBBFD_FALSE%g
     7064s%@bfdlibdir@%$bfdlibdir%g
     7065s%@bfdincludedir@%$bfdincludedir%g
    67827066s%@CPP@%$CPP%g
    67837067s%@ALLOCA@%$ALLOCA%g
     
    68157099s%@TDEFINES@%$TDEFINES%g
    68167100s%@wordsize@%$wordsize%g
     7101s%@bfd_libs@%$bfd_libs%g
    68177102s%@all_backends@%$all_backends%g
    68187103s%@bfd_backends@%$bfd_backends%g
    68197104s%@bfd_machines@%$bfd_machines%g
     7105s%@bfd_default_target_size@%$bfd_default_target_size%g
    68207106s%@tdefaults@%$tdefaults%g
    68217107
     
    68607146cat >> $CONFIG_STATUS <<EOF
    68617147
    6862 CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"}
     7148CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile bfd-in3.h:bfd-in2.h bfdver.h:version.h po/Makefile.in:po/Make-in"}
    68637149EOF
    68647150cat >> $CONFIG_STATUS <<\EOF
  • trunk/src/binutils/binutils/configure

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r618 r619  
    807807  program_prefix=${target_alias}-
    808808
     809
     810        echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
     811echo "configure:812: checking for strerror in -lcposix" >&5
     812ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
     813if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     814  echo $ac_n "(cached) $ac_c" 1>&6
     815else
     816  ac_save_LIBS="$LIBS"
     817LIBS="-lcposix  $LIBS"
     818cat > conftest.$ac_ext <<EOF
     819#line 820 "configure"
     820#include "confdefs.h"
     821/* Override any gcc2 internal prototype to avoid an error.  */
     822/* We use char because int might match the return type of a gcc2
     823    builtin and then its argument prototype would still apply.  */
     824char strerror();
     825
     826int main() {
     827strerror()
     828; return 0; }
     829EOF
     830if { (eval echo configure:831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     831  rm -rf conftest*
     832  eval "ac_cv_lib_$ac_lib_var=yes"
     833else
     834  echo "configure: failed program was:" >&5
     835  cat conftest.$ac_ext >&5
     836  rm -rf conftest*
     837  eval "ac_cv_lib_$ac_lib_var=no"
     838fi
     839rm -f conftest*
     840LIBS="$ac_save_LIBS"
     841
     842fi
     843if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     844  echo "$ac_t""yes" 1>&6
     845  LIBS="$LIBS -lcposix"
     846else
     847  echo "$ac_t""no" 1>&6
     848fi
     849
     850 
     851
     852
     853BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[         ]*\([^  ]*\)[   ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
     854# Find a good install program.  We prefer a C program (faster),
     855# so one script is as good as another.  But avoid the broken or
     856# incompatible versions:
     857# SysV /etc/install, /usr/sbin/install
     858# SunOS /usr/etc/install
     859# IRIX /sbin/install
     860# AIX /bin/install
     861# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     862# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     863# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     864# ./install, which can be erroneously created by make from ./install.sh.
     865echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
     866echo "configure:867: checking for a BSD compatible install" >&5
     867if test -z "$INSTALL"; then
     868if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     869  echo $ac_n "(cached) $ac_c" 1>&6
     870else
     871    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS"
     872  for ac_dir in $PATH; do
     873    # Account for people who put trailing slashes in PATH elements.
     874    case "$ac_dir/" in
     875    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
     876    # We reject the install program from OS/2 or W3.1
     877    */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;;
     878    *)
     879      # OSF1 and SCO ODT 3.0 have their own names for install.
     880      # Don't use installbsd from OSF since it installs stuff as root
     881      # by default.
     882      for ac_prog in ginstall scoinst install; do
     883        if test -f $ac_dir/$ac_prog$ac_exeext; then
     884          if test $ac_prog = install &&
     885            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
     886            # AIX install.  It has an incompatible calling convention.
     887            :
     888          else
     889            ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c"
     890            break 2
     891          fi
     892        fi
     893      done
     894      ;;
     895    esac
     896  done
     897  IFS="$ac_save_IFS"
     898
     899fi
     900  if test "${ac_cv_path_install+set}" = set; then
     901    INSTALL="$ac_cv_path_install"
     902  else
     903    # As a last resort, use the slow shell script.  We don't cache a
     904    # path for INSTALL within a source directory, because that will
     905    # break other packages using the cache if that directory is
     906    # removed, or if the path is relative.
     907    INSTALL="$ac_install_sh"
     908  fi
     909fi
     910echo "$ac_t""$INSTALL" 1>&6
     911
     912# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     913# It thinks the first close brace ends the variable substitution.
     914test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     915
     916test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
     917
     918test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     919
     920echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
     921echo "configure:922: checking whether build environment is sane" >&5
     922# Just in case
     923sleep 1
     924echo timestamp > conftestfile
     925# Do `set' in a subshell so we don't clobber the current shell's
     926# arguments.  Must try -L first in case configure is actually a
     927# symlink; some systems play weird games with the mod time of symlinks
     928# (eg FreeBSD returns the mod time of the symlink's containing
     929# directory).
     930if (
     931   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
     932   if test "$*" = "X"; then
     933      # -L didn't work.
     934      set X `ls -t $srcdir/configure conftestfile`
     935   fi
     936   if test "$*" != "X $srcdir/configure conftestfile" \
     937      && test "$*" != "X conftestfile $srcdir/configure"; then
     938
     939      # If neither matched, then we have a broken ls.  This can happen
     940      # if, for instance, CONFIG_SHELL is bash and it inherits a
     941      # broken ls alias from the environment.  This has actually
     942      # happened.  Such a system could not be considered "sane".
     943      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
     944alias in your environment" 1>&2; exit 1; }
     945   fi
     946
     947   test "$2" = conftestfile
     948   )
     949then
     950   # Ok.
     951   :
     952else
     953   { echo "configure: error: newly created file is older than distributed files!
     954Check your system clock" 1>&2; exit 1; }
     955fi
     956rm -f conftest*
     957echo "$ac_t""yes" 1>&6
     958if test "$program_transform_name" = s,x,x,; then
     959  program_transform_name=
     960else
     961  # Double any \ or $.  echo might interpret backslashes.
     962  cat <<\EOF_SED > conftestsed
     963s,\\,\\\\,g; s,\$,$$,g
     964EOF_SED
     965  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
     966  rm -f conftestsed
     967fi
     968test "$program_prefix" != NONE &&
     969  program_transform_name="s,^,${program_prefix},; $program_transform_name"
     970# Use a double $ so make ignores it.
     971test "$program_suffix" != NONE &&
     972  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
     973
     974# sed with no file args requires a program.
     975test "$program_transform_name" = "" && program_transform_name="s,x,x,"
     976
     977echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
     978echo "configure:979: checking whether ${MAKE-make} sets \${MAKE}" >&5
     979set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
     980if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     981  echo $ac_n "(cached) $ac_c" 1>&6
     982else
     983  cat > conftestmake <<\EOF
     984all:
     985        @echo 'ac_maketemp="${MAKE}"'
     986EOF
     987# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     988eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
     989if test -n "$ac_maketemp"; then
     990  eval ac_cv_prog_make_${ac_make}_set=yes
     991else
     992  eval ac_cv_prog_make_${ac_make}_set=no
     993fi
     994rm -f conftestmake
     995fi
     996if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     997  echo "$ac_t""yes" 1>&6
     998  SET_MAKE=
     999else
     1000  echo "$ac_t""no" 1>&6
     1001  SET_MAKE="MAKE=${MAKE-make}"
     1002fi
     1003
     1004
     1005PACKAGE=binutils
     1006
     1007VERSION=${BFD_VERSION}
     1008
     1009if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
     1010  { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
     1011fi
     1012cat >> confdefs.h <<EOF
     1013#define PACKAGE "$PACKAGE"
     1014EOF
     1015
     1016cat >> confdefs.h <<EOF
     1017#define VERSION "$VERSION"
     1018EOF
     1019
     1020
     1021
     1022missing_dir=`cd $ac_aux_dir && pwd`
     1023echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
     1024echo "configure:1025: checking for working aclocal" >&5
     1025# Run test in a subshell; some versions of sh will print an error if
     1026# an executable is not found, even if stderr is redirected.
     1027# Redirect stdin to placate older versions of autoconf.  Sigh.
     1028if (aclocal --version) < /dev/null > /dev/null 2>&1; then
     1029   ACLOCAL=aclocal
     1030   echo "$ac_t""found" 1>&6
     1031else
     1032   ACLOCAL="$missing_dir/missing aclocal"
     1033   echo "$ac_t""missing" 1>&6
     1034fi
     1035
     1036echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
     1037echo "configure:1038: checking for working autoconf" >&5
     1038# Run test in a subshell; some versions of sh will print an error if
     1039# an executable is not found, even if stderr is redirected.
     1040# Redirect stdin to placate older versions of autoconf.  Sigh.
     1041if (autoconf --version) < /dev/null > /dev/null 2>&1; then
     1042   AUTOCONF=autoconf
     1043   echo "$ac_t""found" 1>&6
     1044else
     1045   AUTOCONF="$missing_dir/missing autoconf"
     1046   echo "$ac_t""missing" 1>&6
     1047fi
     1048
     1049echo $ac_n "checking for working automake""... $ac_c" 1>&6
     1050echo "configure:1051: checking for working automake" >&5
     1051# Run test in a subshell; some versions of sh will print an error if
     1052# an executable is not found, even if stderr is redirected.
     1053# Redirect stdin to placate older versions of autoconf.  Sigh.
     1054if (automake --version) < /dev/null > /dev/null 2>&1; then
     1055   AUTOMAKE=automake
     1056   echo "$ac_t""found" 1>&6
     1057else
     1058   AUTOMAKE="$missing_dir/missing automake"
     1059   echo "$ac_t""missing" 1>&6
     1060fi
     1061
     1062echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
     1063echo "configure:1064: checking for working autoheader" >&5
     1064# Run test in a subshell; some versions of sh will print an error if
     1065# an executable is not found, even if stderr is redirected.
     1066# Redirect stdin to placate older versions of autoconf.  Sigh.
     1067if (autoheader --version) < /dev/null > /dev/null 2>&1; then
     1068   AUTOHEADER=autoheader
     1069   echo "$ac_t""found" 1>&6
     1070else
     1071   AUTOHEADER="$missing_dir/missing autoheader"
     1072   echo "$ac_t""missing" 1>&6
     1073fi
     1074
     1075echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
     1076echo "configure:1077: checking for working makeinfo" >&5
     1077# Run test in a subshell; some versions of sh will print an error if
     1078# an executable is not found, even if stderr is redirected.
     1079# Redirect stdin to placate older versions of autoconf.  Sigh.
     1080if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
     1081   MAKEINFO=makeinfo
     1082   echo "$ac_t""found" 1>&6
     1083else
     1084   MAKEINFO="$missing_dir/missing makeinfo"
     1085   echo "$ac_t""missing" 1>&6
     1086fi
     1087
     1088
     1089
     1090# Check whether --enable-shared or --disable-shared was given.
     1091if test "${enable_shared+set}" = set; then
     1092  enableval="$enable_shared"
     1093  p=${PACKAGE-default}
     1094case $enableval in
     1095yes) enable_shared=yes ;;
     1096no) enable_shared=no ;;
     1097*)
     1098  enable_shared=no
     1099  # Look at the argument we got.  We use all the common list separators.
     1100  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     1101  for pkg in $enableval; do
     1102    if test "X$pkg" = "X$p"; then
     1103      enable_shared=yes
     1104    fi
     1105  done
     1106  IFS="$ac_save_ifs"
     1107  ;;
     1108esac
     1109else
     1110  enable_shared=yes
     1111fi
     1112
     1113# Check whether --enable-static or --disable-static was given.
     1114if test "${enable_static+set}" = set; then
     1115  enableval="$enable_static"
     1116  p=${PACKAGE-default}
     1117case $enableval in
     1118yes) enable_static=yes ;;
     1119no) enable_static=no ;;
     1120*)
     1121  enable_static=no
     1122  # Look at the argument we got.  We use all the common list separators.
     1123  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     1124  for pkg in $enableval; do
     1125    if test "X$pkg" = "X$p"; then
     1126      enable_static=yes
     1127    fi
     1128  done
     1129  IFS="$ac_save_ifs"
     1130  ;;
     1131esac
     1132else
     1133  enable_static=yes
     1134fi
     1135
     1136# Check whether --enable-fast-install or --disable-fast-install was given.
     1137if test "${enable_fast_install+set}" = set; then
     1138  enableval="$enable_fast_install"
     1139  p=${PACKAGE-default}
     1140case $enableval in
     1141yes) enable_fast_install=yes ;;
     1142no) enable_fast_install=no ;;
     1143*)
     1144  enable_fast_install=no
     1145  # Look at the argument we got.  We use all the common list separators.
     1146  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     1147  for pkg in $enableval; do
     1148    if test "X$pkg" = "X$p"; then
     1149      enable_fast_install=yes
     1150    fi
     1151  done
     1152  IFS="$ac_save_ifs"
     1153  ;;
     1154esac
     1155else
     1156  enable_fast_install=yes
     1157fi
     1158
    8091159# Extract the first word of "gcc", so it can be a program name with args.
    8101160set dummy gcc; ac_word=$2
    8111161echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    812 echo "configure:813: checking for $ac_word" >&5
     1162echo "configure:1163: checking for $ac_word" >&5
    8131163if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    8141164  echo $ac_n "(cached) $ac_c" 1>&6
     
    8411191set dummy cc; ac_word=$2
    8421192echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    843 echo "configure:844: checking for $ac_word" >&5
     1193echo "configure:1194: checking for $ac_word" >&5
    8441194if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    8451195  echo $ac_n "(cached) $ac_c" 1>&6
     
    8941244set dummy cl; ac_word=$2
    8951245echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    896 echo "configure:897: checking for $ac_word" >&5
     1246echo "configure:1247: checking for $ac_word" >&5
    8971247if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    8981248  echo $ac_n "(cached) $ac_c" 1>&6
     
    9271277
    9281278echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    929 echo "configure:930: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1279echo "configure:1280: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    9301280
    9311281ac_ext=c
     
    9381288cat > conftest.$ac_ext << EOF
    9391289
    940 #line 941 "configure"
     1290#line 1291 "configure"
    9411291#include "confdefs.h"
    9421292
    9431293main(){return(0);}
    9441294EOF
    945 if { (eval echo configure:946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1295if { (eval echo configure:1296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    9461296  ac_cv_prog_cc_works=yes
    9471297  # If we can't run a trivial program, we are probably using a cross compiler.
     
    9691319fi
    9701320echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    971 echo "configure:972: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1321echo "configure:1322: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    9721322echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    9731323cross_compiling=$ac_cv_prog_cc_cross
    9741324
    9751325echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    976 echo "configure:977: checking whether we are using GNU C" >&5
     1326echo "configure:1327: checking whether we are using GNU C" >&5
    9771327if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    9781328  echo $ac_n "(cached) $ac_c" 1>&6
     
    9831333#endif
    9841334EOF
    985 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1335if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    9861336  ac_cv_prog_gcc=yes
    9871337else
     
    10021352CFLAGS=
    10031353echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1004 echo "configure:1005: checking whether ${CC-cc} accepts -g" >&5
     1354echo "configure:1355: checking whether ${CC-cc} accepts -g" >&5
    10051355if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    10061356  echo $ac_n "(cached) $ac_c" 1>&6
     
    10331383fi
    10341384
    1035 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
    1036 echo "configure:1037: checking for POSIXized ISC" >&5
    1037 if test -d /etc/conf/kconfig.d &&
    1038   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
    1039 then
    1040   echo "$ac_t""yes" 1>&6
    1041   ISC=yes # If later tests want to check for ISC.
    1042   cat >> confdefs.h <<\EOF
    1043 #define _POSIX_SOURCE 1
    1044 EOF
    1045 
    1046   if test "$GCC" = yes; then
    1047     CC="$CC -posix"
    1048   else
    1049     CC="$CC -Xp"
    1050   fi
    1051 else
    1052   echo "$ac_t""no" 1>&6
    1053   ISC=
    1054 fi
    1055 
    1056 
    1057 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[         ]*\([^  ]*\)[   ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
    1058 # Find a good install program.  We prefer a C program (faster),
    1059 # so one script is as good as another.  But avoid the broken or
    1060 # incompatible versions:
    1061 # SysV /etc/install, /usr/sbin/install
    1062 # SunOS /usr/etc/install
    1063 # IRIX /sbin/install
    1064 # AIX /bin/install
    1065 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    1066 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    1067 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    1068 # ./install, which can be erroneously created by make from ./install.sh.
    1069 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1070 echo "configure:1071: checking for a BSD compatible install" >&5
    1071 if test -z "$INSTALL"; then
    1072 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    1073   echo $ac_n "(cached) $ac_c" 1>&6
    1074 else
    1075     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS"
    1076   for ac_dir in $PATH; do
    1077     # Account for people who put trailing slashes in PATH elements.
    1078     case "$ac_dir/" in
    1079     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
    1080     # We reject the install program from OS/2 or W3.1
    1081     */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;;
    1082     *)
    1083       # OSF1 and SCO ODT 3.0 have their own names for install.
    1084       # Don't use installbsd from OSF since it installs stuff as root
    1085       # by default.
    1086       for ac_prog in ginstall scoinst install; do
    1087         if test -f $ac_dir/$ac_prog$ac_exeext; then
    1088           if test $ac_prog = install &&
    1089             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
    1090             # AIX install.  It has an incompatible calling convention.
    1091             :
    1092           else
    1093             ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c"
    1094             break 2
    1095           fi
    1096         fi
    1097       done
    1098       ;;
    1099     esac
    1100   done
    1101   IFS="$ac_save_IFS"
    1102 
    1103 fi
    1104   if test "${ac_cv_path_install+set}" = set; then
    1105     INSTALL="$ac_cv_path_install"
    1106   else
    1107     # As a last resort, use the slow shell script.  We don't cache a
    1108     # path for INSTALL within a source directory, because that will
    1109     # break other packages using the cache if that directory is
    1110     # removed, or if the path is relative.
    1111     INSTALL="$ac_install_sh"
    1112   fi
    1113 fi
    1114 echo "$ac_t""$INSTALL" 1>&6
    1115 
    1116 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    1117 # It thinks the first close brace ends the variable substitution.
    1118 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    1119 
    1120 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
    1121 
    1122 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    1123 
    1124 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    1125 echo "configure:1126: checking whether build environment is sane" >&5
    1126 # Just in case
    1127 sleep 1
    1128 echo timestamp > conftestfile
    1129 # Do `set' in a subshell so we don't clobber the current shell's
    1130 # arguments.  Must try -L first in case configure is actually a
    1131 # symlink; some systems play weird games with the mod time of symlinks
    1132 # (eg FreeBSD returns the mod time of the symlink's containing
    1133 # directory).
    1134 if (
    1135    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
    1136    if test "$*" = "X"; then
    1137       # -L didn't work.
    1138       set X `ls -t $srcdir/configure conftestfile`
    1139    fi
    1140    if test "$*" != "X $srcdir/configure conftestfile" \
    1141       && test "$*" != "X conftestfile $srcdir/configure"; then
    1142 
    1143       # If neither matched, then we have a broken ls.  This can happen
    1144       # if, for instance, CONFIG_SHELL is bash and it inherits a
    1145       # broken ls alias from the environment.  This has actually
    1146       # happened.  Such a system could not be considered "sane".
    1147       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
    1148 alias in your environment" 1>&2; exit 1; }
    1149    fi
    1150 
    1151    test "$2" = conftestfile
    1152    )
    1153 then
    1154    # Ok.
    1155    :
    1156 else
    1157    { echo "configure: error: newly created file is older than distributed files!
    1158 Check your system clock" 1>&2; exit 1; }
    1159 fi
    1160 rm -f conftest*
    1161 echo "$ac_t""yes" 1>&6
    1162 if test "$program_transform_name" = s,x,x,; then
    1163   program_transform_name=
    1164 else
    1165   # Double any \ or $.  echo might interpret backslashes.
    1166   cat <<\EOF_SED > conftestsed
    1167 s,\\,\\\\,g; s,\$,$$,g
    1168 EOF_SED
    1169   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
    1170   rm -f conftestsed
    1171 fi
    1172 test "$program_prefix" != NONE &&
    1173   program_transform_name="s,^,${program_prefix},; $program_transform_name"
    1174 # Use a double $ so make ignores it.
    1175 test "$program_suffix" != NONE &&
    1176   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
    1177 
    1178 # sed with no file args requires a program.
    1179 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
    1180 
    1181 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1182 echo "configure:1183: checking whether ${MAKE-make} sets \${MAKE}" >&5
    1183 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    1184 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
    1185   echo $ac_n "(cached) $ac_c" 1>&6
    1186 else
    1187   cat > conftestmake <<\EOF
    1188 all:
    1189         @echo 'ac_maketemp="${MAKE}"'
    1190 EOF
    1191 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    1192 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
    1193 if test -n "$ac_maketemp"; then
    1194   eval ac_cv_prog_make_${ac_make}_set=yes
    1195 else
    1196   eval ac_cv_prog_make_${ac_make}_set=no
    1197 fi
    1198 rm -f conftestmake
    1199 fi
    1200 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    1201   echo "$ac_t""yes" 1>&6
    1202   SET_MAKE=
    1203 else
    1204   echo "$ac_t""no" 1>&6
    1205   SET_MAKE="MAKE=${MAKE-make}"
    1206 fi
    1207 
    1208 
    1209 PACKAGE=binutils
    1210 
    1211 VERSION=${BFD_VERSION}
    1212 
    1213 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
    1214   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
    1215 fi
    1216 cat >> confdefs.h <<EOF
    1217 #define PACKAGE "$PACKAGE"
    1218 EOF
    1219 
    1220 cat >> confdefs.h <<EOF
    1221 #define VERSION "$VERSION"
    1222 EOF
    1223 
    1224 
    1225 
    1226 missing_dir=`cd $ac_aux_dir && pwd`
    1227 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    1228 echo "configure:1229: checking for working aclocal" >&5
    1229 # Run test in a subshell; some versions of sh will print an error if
    1230 # an executable is not found, even if stderr is redirected.
    1231 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1232 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
    1233    ACLOCAL=aclocal
    1234    echo "$ac_t""found" 1>&6
    1235 else
    1236    ACLOCAL="$missing_dir/missing aclocal"
    1237    echo "$ac_t""missing" 1>&6
    1238 fi
    1239 
    1240 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    1241 echo "configure:1242: checking for working autoconf" >&5
    1242 # Run test in a subshell; some versions of sh will print an error if
    1243 # an executable is not found, even if stderr is redirected.
    1244 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1245 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
    1246    AUTOCONF=autoconf
    1247    echo "$ac_t""found" 1>&6
    1248 else
    1249    AUTOCONF="$missing_dir/missing autoconf"
    1250    echo "$ac_t""missing" 1>&6
    1251 fi
    1252 
    1253 echo $ac_n "checking for working automake""... $ac_c" 1>&6
    1254 echo "configure:1255: checking for working automake" >&5
    1255 # Run test in a subshell; some versions of sh will print an error if
    1256 # an executable is not found, even if stderr is redirected.
    1257 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1258 if (automake --version) < /dev/null > /dev/null 2>&1; then
    1259    AUTOMAKE=automake
    1260    echo "$ac_t""found" 1>&6
    1261 else
    1262    AUTOMAKE="$missing_dir/missing automake"
    1263    echo "$ac_t""missing" 1>&6
    1264 fi
    1265 
    1266 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    1267 echo "configure:1268: checking for working autoheader" >&5
    1268 # Run test in a subshell; some versions of sh will print an error if
    1269 # an executable is not found, even if stderr is redirected.
    1270 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1271 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
    1272    AUTOHEADER=autoheader
    1273    echo "$ac_t""found" 1>&6
    1274 else
    1275    AUTOHEADER="$missing_dir/missing autoheader"
    1276    echo "$ac_t""missing" 1>&6
    1277 fi
    1278 
    1279 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    1280 echo "configure:1281: checking for working makeinfo" >&5
    1281 # Run test in a subshell; some versions of sh will print an error if
    1282 # an executable is not found, even if stderr is redirected.
    1283 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1284 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
    1285    MAKEINFO=makeinfo
    1286    echo "$ac_t""found" 1>&6
    1287 else
    1288    MAKEINFO="$missing_dir/missing makeinfo"
    1289    echo "$ac_t""missing" 1>&6
    1290 fi
    1291 
    1292 
    1293 
    1294 # Check whether --enable-shared or --disable-shared was given.
    1295 if test "${enable_shared+set}" = set; then
    1296   enableval="$enable_shared"
    1297   p=${PACKAGE-default}
    1298 case "$enableval" in
    1299 yes) enable_shared=yes ;;
    1300 no) enable_shared=no ;;
    1301 *)
    1302   enable_shared=no
    1303   # Look at the argument we got.  We use all the common list separators.
    1304   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    1305   for pkg in $enableval; do
    1306     if test "X$pkg" = "X$p"; then
    1307       enable_shared=yes
    1308     fi
    1309   done
    1310   IFS="$ac_save_ifs"
    1311   ;;
    1312 esac
    1313 else
    1314   enable_shared=yes
    1315 fi
    1316 
    1317 # Check whether --enable-static or --disable-static was given.
    1318 if test "${enable_static+set}" = set; then
    1319   enableval="$enable_static"
    1320   p=${PACKAGE-default}
    1321 case "$enableval" in
    1322 yes) enable_static=yes ;;
    1323 no) enable_static=no ;;
    1324 *)
    1325   enable_static=no
    1326   # Look at the argument we got.  We use all the common list separators.
    1327   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    1328   for pkg in $enableval; do
    1329     if test "X$pkg" = "X$p"; then
    1330       enable_static=yes
    1331     fi
    1332   done
    1333   IFS="$ac_save_ifs"
    1334   ;;
    1335 esac
    1336 else
    1337   enable_static=yes
    1338 fi
    1339 
    1340 # Check whether --enable-fast-install or --disable-fast-install was given.
    1341 if test "${enable_fast_install+set}" = set; then
    1342   enableval="$enable_fast_install"
    1343   p=${PACKAGE-default}
    1344 case "$enableval" in
    1345 yes) enable_fast_install=yes ;;
    1346 no) enable_fast_install=no ;;
    1347 *)
    1348   enable_fast_install=no
    1349   # Look at the argument we got.  We use all the common list separators.
    1350   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    1351   for pkg in $enableval; do
    1352     if test "X$pkg" = "X$p"; then
    1353       enable_fast_install=yes
    1354     fi
    1355   done
    1356   IFS="$ac_save_ifs"
    1357   ;;
    1358 esac
    1359 else
    1360   enable_fast_install=yes
    1361 fi
    1362 
    13631385# Check whether --with-gnu-ld or --without-gnu-ld was given.
    13641386if test "${with_gnu_ld+set}" = set; then
     
    13701392
    13711393ac_prog=ld
    1372 if test "$ac_cv_prog_gcc" = yes; then
     1394if test "$GCC" = yes; then
    13731395  # Check if gcc -print-prog-name=ld gives a path.
    13741396  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
    1375 echo "configure:1376: checking for ld used by GCC" >&5
     1397echo "configure:1398: checking for ld used by GCC" >&5
    13761398  case $host in
    13771399  *-*-mingw*)
     
    13811403    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    13821404  esac
    1383   case "$ac_prog" in
     1405  case $ac_prog in
    13841406    # Accept absolute paths.
    13851407    [\\/]* | [A-Za-z]:[\\/]*)
     
    14031425elif test "$with_gnu_ld" = yes; then
    14041426  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
    1405 echo "configure:1406: checking for GNU ld" >&5
     1427echo "configure:1428: checking for GNU ld" >&5
    14061428else
    14071429  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
    1408 echo "configure:1409: checking for non-GNU ld" >&5
    1409 fi
    1410 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
     1430echo "configure:1431: checking for non-GNU ld" >&5
     1431fi
     1432if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
    14111433  echo $ac_n "(cached) $ac_c" 1>&6
    14121434else
     
    14161438    test -z "$ac_dir" && ac_dir=.
    14171439    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    1418       ac_cv_path_LD="$ac_dir/$ac_prog"
     1440      lt_cv_path_LD="$ac_dir/$ac_prog"
    14191441      # Check to see if the program is GNU ld.  I'd rather use --version,
    14201442      # but apparently some GNU ld's only accept -v.
    14211443      # Break only if it was the GNU/non-GNU ld that we prefer.
    1422       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
     1444      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
    14231445        test "$with_gnu_ld" != no && break
    14241446      else
     
    14291451  IFS="$ac_save_ifs"
    14301452else
    1431   ac_cv_path_LD="$LD" # Let the user override the test with a path.
    1432 fi
    1433 fi
    1434 
    1435 LD="$ac_cv_path_LD"
     1453  lt_cv_path_LD="$LD" # Let the user override the test with a path.
     1454fi
     1455fi
     1456
     1457LD="$lt_cv_path_LD"
    14361458if test -n "$LD"; then
    14371459  echo "$ac_t""$LD" 1>&6
     
    14411463test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
    14421464echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
    1443 echo "configure:1444: checking if the linker ($LD) is GNU ld" >&5
    1444 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
     1465echo "configure:1466: checking if the linker ($LD) is GNU ld" >&5
     1466if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
    14451467  echo $ac_n "(cached) $ac_c" 1>&6
    14461468else
    14471469  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    14481470if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
    1449   ac_cv_prog_gnu_ld=yes
    1450 else
    1451   ac_cv_prog_gnu_ld=no
    1452 fi
    1453 fi
    1454 
    1455 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
    1456 with_gnu_ld=$ac_cv_prog_gnu_ld
     1471  lt_cv_prog_gnu_ld=yes
     1472else
     1473  lt_cv_prog_gnu_ld=no
     1474fi
     1475fi
     1476
     1477echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
     1478with_gnu_ld=$lt_cv_prog_gnu_ld
    14571479
    14581480
    14591481echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
    1460 echo "configure:1461: checking for $LD option to reload object files" >&5
     1482echo "configure:1483: checking for $LD option to reload object files" >&5
    14611483if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
    14621484  echo $ac_n "(cached) $ac_c" 1>&6
     
    14701492
    14711493echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
    1472 echo "configure:1473: checking for BSD-compatible nm" >&5
    1473 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
     1494echo "configure:1495: checking for BSD-compatible nm" >&5
     1495if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
    14741496  echo $ac_n "(cached) $ac_c" 1>&6
    14751497else
    14761498  if test -n "$NM"; then
    14771499  # Let the user override the test.
    1478   ac_cv_path_NM="$NM"
     1500  lt_cv_path_NM="$NM"
    14791501else
    14801502  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
     
    14881510      # Tru64's nm complains that /dev/null is an invalid object file
    14891511      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
    1490         ac_cv_path_NM="$tmp_nm -B"
     1512        lt_cv_path_NM="$tmp_nm -B"
    14911513        break
    14921514      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
    1493         ac_cv_path_NM="$tmp_nm -p"
     1515        lt_cv_path_NM="$tmp_nm -p"
    14941516        break
    14951517      else
    1496         ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
     1518        lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    14971519        continue # so that we can try to find one that supports BSD flags
    14981520      fi
     
    15001522  done
    15011523  IFS="$ac_save_ifs"
    1502   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
    1503 fi
    1504 fi
    1505 
    1506 NM="$ac_cv_path_NM"
     1524  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
     1525fi
     1526fi
     1527
     1528NM="$lt_cv_path_NM"
    15071529echo "$ac_t""$NM" 1>&6
    15081530
    15091531echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1510 echo "configure:1511: checking whether ln -s works" >&5
     1532echo "configure:1533: checking whether ln -s works" >&5
    15111533if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    15121534  echo $ac_n "(cached) $ac_c" 1>&6
     
    15351557
    15361558echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
    1537 echo "configure:1538: checking how to recognise dependant libraries" >&5
     1559echo "configure:1560: checking how to recognise dependant libraries" >&5
    15381560if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
    15391561  echo $ac_n "(cached) $ac_c" 1>&6
     
    15531575# whether `pass_all' will *always* work, you probably want this one.
    15541576
    1555 case "$host_os" in
    1556 aix4*)
     1577case $host_os in
     1578aix*)
    15571579  lt_cv_deplibs_check_method=pass_all
    15581580  ;;
     
    15631585
    15641586bsdi4*)
    1565     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
    1566     lt_cv_file_magic_cmd='/usr/bin/file -L'
     1587  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
     1588  lt_cv_file_magic_cmd='/usr/bin/file -L'
    15671589  lt_cv_file_magic_test_file=/shlib/libc.so
    15681590  ;;
     
    15731595  ;;
    15741596
     1597darwin* | rhapsody*)
     1598  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
     1599  lt_cv_file_magic_cmd='/usr/bin/file -L'
     1600  case "$host_os" in
     1601  rhapsody* | darwin1.012)
     1602    lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
     1603    ;;
     1604  *) # Darwin 1.3 on
     1605    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
     1606    ;;
     1607  esac
     1608  ;;
     1609
    15751610freebsd* )
    15761611  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    1577     case "$host_cpu" in
     1612    case $host_cpu in
    15781613    i*86 )
    15791614      # Not sure whether the presence of OpenBSD here was a mistake.
    15801615      # Let's accept both of them until this is cleared up.
    1581             lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
    1582             lt_cv_file_magic_cmd=/usr/bin/file
     1616      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
     1617      lt_cv_file_magic_cmd=/usr/bin/file
    15831618      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
    15841619      ;;
     
    15931628  ;;
    15941629
    1595 hpux10.20*)
    1596   # TODO:  Does this work for hpux-11 too?
    1597   lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
    1598   lt_cv_file_magic_cmd=/usr/bin/file
    1599   lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1630hpux10.20*|hpux11*)
     1631  case $host_cpu in
     1632  hppa*)
     1633    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
     1634    lt_cv_file_magic_cmd=/usr/bin/file
     1635    lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1636    ;;
     1637  ia64*)
     1638    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     1639    lt_cv_file_magic_cmd=/usr/bin/file
     1640    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     1641    ;;
     1642  esac
    16001643  ;;
    16011644
    16021645irix5* | irix6*)
    1603   case "$host_os" in
     1646  case $host_os in
    16041647  irix5*)
    16051648    # this will be overridden with pass_all, but let us keep it just in case
     
    16071650    ;;
    16081651  *)
    1609     case "$LD" in
     1652    case $LD in
    16101653    *-32|*"-32 ") libmagic=32-bit;;
    16111654    *-n32|*"-n32 ") libmagic=N32;;
     
    16141657    esac
    16151658    # this will be overridden with pass_all, but let us keep it just in case
    1616         lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
    1617         ;;
     1659    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
     1660    ;;
    16181661  esac
    16191662  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
     
    16231666# This must be Linux ELF.
    16241667linux-gnu*)
    1625   case "$host_cpu" in
    1626   alpha* | i*86 | powerpc* | sparc* | ia64* )
     1668  case $host_cpu in
     1669  alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    16271670    lt_cv_deplibs_check_method=pass_all ;;
    16281671  *)
    16291672    # glibc up to 2.1.1 does not perform some relocations on ARM
    1630         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
    1631       esac
     1673    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
     1674  esac
    16321675  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    16331676  ;;
    16341677
    16351678netbsd*)
    1636   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
     1679  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     1680    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
    16371681  else
    1638         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
    1639         lt_cv_file_magic_cmd='/usr/bin/file -L'
    1640     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1682    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
    16411683  fi
    16421684  ;;
     
    16441686os2*)
    16451687  lt_cv_deplibs_check_method=pass_all
     1688  ;;
     1689
     1690newsos6)
     1691  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
     1692  lt_cv_file_magic_cmd=/usr/bin/file
     1693  lt_cv_file_magic_test_file=/usr/lib/libnls.so
    16461694  ;;
    16471695
     
    16621710  ;;
    16631711
     1712sysv5uw[78]* | sysv4*uw2*)
     1713  lt_cv_deplibs_check_method=pass_all
     1714  ;;
     1715
    16641716sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    1665   case "$host_vendor" in
     1717  case $host_vendor in
    16661718  ncr)
    16671719    lt_cv_deplibs_check_method=pass_all
    16681720    ;;
    16691721  motorola)
    1670         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]'
    1671         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1722    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]'
     1723    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
    16721724    ;;
    16731725  esac
     
    16821734
    16831735echo $ac_n "checking for object suffix""... $ac_c" 1>&6
    1684 echo "configure:1685: checking for object suffix" >&5
     1736echo "configure:1737: checking for object suffix" >&5
    16851737if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
    16861738  echo $ac_n "(cached) $ac_c" 1>&6
     
    16881740  rm -f conftest*
    16891741echo 'int i = 1;' > conftest.$ac_ext
    1690 if { (eval echo configure:1691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1742if { (eval echo configure:1743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    16911743  for ac_file in conftest.*; do
    16921744    case $ac_file in
     
    17141766
    17151767# Only perform the check for file, if the check method requires it
    1716 case "$deplibs_check_method" in
     1768case $deplibs_check_method in
    17171769file_magic*)
    17181770  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    17191771    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
    1720 echo "configure:1721: checking for ${ac_tool_prefix}file" >&5
     1772echo "configure:1773: checking for ${ac_tool_prefix}file" >&5
    17211773if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    17221774  echo $ac_n "(cached) $ac_c" 1>&6
    17231775else
    1724   case "$MAGIC_CMD" in
     1776  case $MAGIC_CMD in
    17251777  /*)
    17261778  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    17381790      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
    17391791      if test -n "$file_magic_test_file"; then
    1740         case "$deplibs_check_method" in
     1792        case $deplibs_check_method in
    17411793        "file_magic "*)
    17421794          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    17801832  if test -n "$ac_tool_prefix"; then
    17811833    echo $ac_n "checking for file""... $ac_c" 1>&6
    1782 echo "configure:1783: checking for file" >&5
     1834echo "configure:1835: checking for file" >&5
    17831835if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    17841836  echo $ac_n "(cached) $ac_c" 1>&6
    17851837else
    1786   case "$MAGIC_CMD" in
     1838  case $MAGIC_CMD in
    17871839  /*)
    17881840  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    18001852      lt_cv_path_MAGIC_CMD="$ac_dir/file"
    18011853      if test -n "$file_magic_test_file"; then
    1802         case "$deplibs_check_method" in
     1854        case $deplibs_check_method in
    18031855        "file_magic "*)
    18041856          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    18511903set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    18521904echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1853 echo "configure:1854: checking for $ac_word" >&5
     1905echo "configure:1906: checking for $ac_word" >&5
    18541906if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    18551907  echo $ac_n "(cached) $ac_c" 1>&6
     
    18841936set dummy ranlib; ac_word=$2
    18851937echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1886 echo "configure:1887: checking for $ac_word" >&5
     1938echo "configure:1939: checking for $ac_word" >&5
    18871939if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    18881940  echo $ac_n "(cached) $ac_c" 1>&6
     
    19201972set dummy ${ac_tool_prefix}strip; ac_word=$2
    19211973echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1922 echo "configure:1923: checking for $ac_word" >&5
     1974echo "configure:1975: checking for $ac_word" >&5
    19231975if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    19241976  echo $ac_n "(cached) $ac_c" 1>&6
     
    19532005set dummy strip; ac_word=$2
    19542006echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1955 echo "configure:1956: checking for $ac_word" >&5
     2007echo "configure:2008: checking for $ac_word" >&5
    19562008if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    19572009  echo $ac_n "(cached) $ac_c" 1>&6
     
    19922044test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
    19932045test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
    1994 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
    1995 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
     2046test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
     2047test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
    19962048
    19972049
     
    20182070# Some flags need to be propagated to the compiler or linker for good
    20192071# libtool support.
    2020 case "$host" in
     2072case $host in
    20212073*-*-irix6*)
    20222074  # Find out which ABI we are using.
    2023   echo '#line 2024 "configure"' > conftest.$ac_ext
    2024   if { (eval echo configure:2025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    2025     case "`/usr/bin/file conftest.o`" in
     2075  echo '#line 2076 "configure"' > conftest.$ac_ext
     2076  if { (eval echo configure:2077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2077   if test "$lt_cv_prog_gnu_ld" = yes; then
     2078    case `/usr/bin/file conftest.$ac_objext` in
     2079    *32-bit*)
     2080      LD="${LD-ld} -melf32bsmip"
     2081      ;;
     2082    *N32*)
     2083      LD="${LD-ld} -melf32bmipn32"
     2084      ;;
     2085    *64-bit*)
     2086      LD="${LD-ld} -melf64bmip"
     2087      ;;
     2088    esac
     2089   else
     2090    case `/usr/bin/file conftest.$ac_objext` in
    20262091    *32-bit*)
    20272092      LD="${LD-ld} -32"
     
    20342099      ;;
    20352100    esac
     2101   fi
     2102  fi
     2103  rm -rf conftest*
     2104  ;;
     2105
     2106ia64-*-hpux*)
     2107  # Find out which ABI we are using.
     2108  echo 'int i;' > conftest.$ac_ext
     2109  if { (eval echo configure:2110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2110    case "`/usr/bin/file conftest.o`" in
     2111    *ELF-32*)
     2112      HPUX_IA64_MODE="32"
     2113      ;;
     2114    *ELF-64*)
     2115      HPUX_IA64_MODE="64"
     2116      ;;
     2117    esac
    20362118  fi
    20372119  rm -rf conftest*
     
    20432125  CFLAGS="$CFLAGS -belf"
    20442126  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    2045 echo "configure:2046: checking whether the C compiler needs -belf" >&5
     2127echo "configure:2128: checking whether the C compiler needs -belf" >&5
    20462128if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    20472129  echo $ac_n "(cached) $ac_c" 1>&6
     
    20562138
    20572139     cat > conftest.$ac_ext <<EOF
    2058 #line 2059 "configure"
     2140#line 2141 "configure"
    20592141#include "confdefs.h"
    20602142
     
    20632145; return 0; }
    20642146EOF
    2065 if { (eval echo configure:2066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2147if { (eval echo configure:2148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    20662148  rm -rf conftest*
    20672149  lt_cv_cc_needs_belf=yes
     
    21732255exec 5>>./config.log
    21742256
    2175 
    21762257 
    21772258
     
    22002281fi
    22012282
    2202 build_warnings="-W -Wall"
     2283build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
    22032284# Check whether --enable-build-warnings or --disable-build-warnings was given.
    22042285if test "${enable_build_warnings+set}" = set; then
     
    22372318set dummy gcc; ac_word=$2
    22382319echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2239 echo "configure:2240: checking for $ac_word" >&5
     2320echo "configure:2321: checking for $ac_word" >&5
    22402321if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    22412322  echo $ac_n "(cached) $ac_c" 1>&6
     
    22682349set dummy cc; ac_word=$2
    22692350echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2270 echo "configure:2271: checking for $ac_word" >&5
     2351echo "configure:2352: checking for $ac_word" >&5
    22712352if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    22722353  echo $ac_n "(cached) $ac_c" 1>&6
     
    23212402set dummy cl; ac_word=$2
    23222403echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2323 echo "configure:2324: checking for $ac_word" >&5
     2404echo "configure:2405: checking for $ac_word" >&5
    23242405if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    23252406  echo $ac_n "(cached) $ac_c" 1>&6
     
    23542435
    23552436echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2356 echo "configure:2357: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2437echo "configure:2438: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    23572438
    23582439ac_ext=c
     
    23652446cat > conftest.$ac_ext << EOF
    23662447
    2367 #line 2368 "configure"
     2448#line 2449 "configure"
    23682449#include "confdefs.h"
    23692450
    23702451main(){return(0);}
    23712452EOF
    2372 if { (eval echo configure:2373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2453if { (eval echo configure:2454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23732454  ac_cv_prog_cc_works=yes
    23742455  # If we can't run a trivial program, we are probably using a cross compiler.
     
    23962477fi
    23972478echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2398 echo "configure:2399: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2479echo "configure:2480: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    23992480echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    24002481cross_compiling=$ac_cv_prog_cc_cross
    24012482
    24022483echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2403 echo "configure:2404: checking whether we are using GNU C" >&5
     2484echo "configure:2485: checking whether we are using GNU C" >&5
    24042485if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    24052486  echo $ac_n "(cached) $ac_c" 1>&6
     
    24102491#endif
    24112492EOF
    2412 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2493if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    24132494  ac_cv_prog_gcc=yes
    24142495else
     
    24292510CFLAGS=
    24302511echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2431 echo "configure:2432: checking whether ${CC-cc} accepts -g" >&5
     2512echo "configure:2513: checking whether ${CC-cc} accepts -g" >&5
    24322513if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    24332514  echo $ac_n "(cached) $ac_c" 1>&6
     
    24662547set dummy $ac_prog; ac_word=$2
    24672548echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2468 echo "configure:2469: checking for $ac_word" >&5
     2549echo "configure:2550: checking for $ac_word" >&5
    24692550if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
    24702551  echo $ac_n "(cached) $ac_c" 1>&6
     
    24982579
    24992580echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    2500 echo "configure:2501: checking how to run the C preprocessor" >&5
     2581echo "configure:2582: checking how to run the C preprocessor" >&5
    25012582# On Suns, sometimes $CPP names a directory.
    25022583if test -n "$CPP" && test -d "$CPP"; then
     
    25142595  cat > conftest.$ac_ext <<EOF
    25152596#include <sys/types.h>
    2516 #line 2517 "configure"
     2597#line 2598 "configure"
    25172598#include "confdefs.h"
    25182599#include <assert.h>
     
    25202601EOF
    25212602ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2522 { (eval echo configure:2523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2603{ (eval echo configure:2604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25232604ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25242605if test -z "$ac_err"; then
     
    25322613  cat > conftest.$ac_ext <<EOF
    25332614#include <sys/types.h>
    2534 #line 2535 "configure"
     2615#line 2616 "configure"
    25352616#include "confdefs.h"
    25362617#include <assert.h>
     
    25382619EOF
    25392620ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2540 { (eval echo configure:2541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2621{ (eval echo configure:2622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25412622ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25422623if test -z "$ac_err"; then
     
    25502631  cat > conftest.$ac_ext <<EOF
    25512632#include <sys/types.h>
    2552 #line 2553 "configure"
     2633#line 2634 "configure"
    25532634#include "confdefs.h"
    25542635#include <assert.h>
     
    25562637EOF
    25572638ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2558 { (eval echo configure:2559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2639{ (eval echo configure:2640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25592640ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25602641if test -z "$ac_err"; then
     
    25862667set dummy $ac_prog; ac_word=$2
    25872668echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2588 echo "configure:2589: checking for $ac_word" >&5
     2669echo "configure:2670: checking for $ac_word" >&5
    25892670if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    25902671  echo $ac_n "(cached) $ac_c" 1>&6
     
    26202701set dummy flex; ac_word=$2
    26212702echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2622 echo "configure:2623: checking for $ac_word" >&5
     2703echo "configure:2704: checking for $ac_word" >&5
    26232704if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    26242705  echo $ac_n "(cached) $ac_c" 1>&6
     
    26552736  esac
    26562737  echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
    2657 echo "configure:2658: checking for yywrap in -l$ac_lib" >&5
     2738echo "configure:2739: checking for yywrap in -l$ac_lib" >&5
    26582739ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
    26592740if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    26632744LIBS="-l$ac_lib  $LIBS"
    26642745cat > conftest.$ac_ext <<EOF
    2665 #line 2666 "configure"
     2746#line 2747 "configure"
    26662747#include "confdefs.h"
    26672748/* Override any gcc2 internal prototype to avoid an error.  */
     
    26742755; return 0; }
    26752756EOF
    2676 if { (eval echo configure:2677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2757if { (eval echo configure:2758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    26772758  rm -rf conftest*
    26782759  eval "ac_cv_lib_$ac_lib_var=yes"
     
    26972778
    26982779echo $ac_n "checking lex output file root""... $ac_c" 1>&6
    2699 echo "configure:2700: checking lex output file root" >&5
     2780echo "configure:2781: checking lex output file root" >&5
    27002781if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
    27012782  echo $ac_n "(cached) $ac_c" 1>&6
     
    27182799
    27192800echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
    2720 echo "configure:2721: checking whether yytext is a pointer" >&5
     2801echo "configure:2802: checking whether yytext is a pointer" >&5
    27212802if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
    27222803  echo $ac_n "(cached) $ac_c" 1>&6
     
    27302811LIBS="$LIBS $LEXLIB"
    27312812cat > conftest.$ac_ext <<EOF
    2732 #line 2733 "configure"
     2813#line 2814 "configure"
    27332814#include "confdefs.h"
    27342815`cat $LEX_OUTPUT_ROOT.c`
     
    27372818; return 0; }
    27382819EOF
    2739 if { (eval echo configure:2740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2820if { (eval echo configure:2821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    27402821  rm -rf conftest*
    27412822  ac_cv_prog_lex_yytext_pointer=yes
     
    27592840
    27602841
    2761 ALL_LINGUAS=
     2842ALL_LINGUAS="fr tr ja es sv da zh_CN"
    27622843# Extract the first word of "ranlib", so it can be a program name with args.
    27632844set dummy ranlib; ac_word=$2
    27642845echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2765 echo "configure:2766: checking for $ac_word" >&5
     2846echo "configure:2847: checking for $ac_word" >&5
    27662847if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    27672848  echo $ac_n "(cached) $ac_c" 1>&6
     
    27922873
    27932874echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2794 echo "configure:2795: checking for ANSI C header files" >&5
     2875echo "configure:2876: checking for ANSI C header files" >&5
    27952876if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    27962877  echo $ac_n "(cached) $ac_c" 1>&6
     
    27982879  cat > conftest.$ac_ext <<EOF
    27992880#include <sys/types.h>
    2800 #line 2801 "configure"
     2881#line 2882 "configure"
    28012882#include "confdefs.h"
    28022883#include <stdlib.h>
     
    28062887EOF
    28072888ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2808 { (eval echo configure:2809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2889{ (eval echo configure:2890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    28092890ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    28102891if test -z "$ac_err"; then
     
    28232904  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    28242905cat > conftest.$ac_ext <<EOF
    2825 #line 2826 "configure"
     2906#line 2907 "configure"
    28262907#include "confdefs.h"
    28272908#include <string.h>
     
    28412922  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    28422923cat > conftest.$ac_ext <<EOF
    2843 #line 2844 "configure"
     2924#line 2925 "configure"
    28442925#include "confdefs.h"
    28452926#include <stdlib.h>
     
    28622943else
    28632944  cat > conftest.$ac_ext <<EOF
    2864 #line 2865 "configure"
     2945#line 2946 "configure"
    28652946#include "confdefs.h"
    28662947#include <ctype.h>
     
    28732954
    28742955EOF
    2875 if { (eval echo configure:2876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2956if { (eval echo configure:2957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    28762957then
    28772958  :
     
    28972978
    28982979echo $ac_n "checking for working const""... $ac_c" 1>&6
    2899 echo "configure:2900: checking for working const" >&5
     2980echo "configure:2981: checking for working const" >&5
    29002981if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    29012982  echo $ac_n "(cached) $ac_c" 1>&6
    29022983else
    29032984  cat > conftest.$ac_ext <<EOF
    2904 #line 2905 "configure"
     2985#line 2986 "configure"
    29052986#include "confdefs.h"
    29062987
     
    29513032; return 0; }
    29523033EOF
    2953 if { (eval echo configure:2954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3034if { (eval echo configure:3035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    29543035  rm -rf conftest*
    29553036  ac_cv_c_const=yes
     
    29723053
    29733054echo $ac_n "checking for inline""... $ac_c" 1>&6
    2974 echo "configure:2975: checking for inline" >&5
     3055echo "configure:3056: checking for inline" >&5
    29753056if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    29763057  echo $ac_n "(cached) $ac_c" 1>&6
     
    29793060for ac_kw in inline __inline__ __inline; do
    29803061  cat > conftest.$ac_ext <<EOF
    2981 #line 2982 "configure"
     3062#line 3063 "configure"
    29823063#include "confdefs.h"
    29833064
     
    29863067; return 0; }
    29873068EOF
    2988 if { (eval echo configure:2989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3069if { (eval echo configure:3070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    29893070  rm -rf conftest*
    29903071  ac_cv_c_inline=$ac_kw; break
     
    30123093
    30133094echo $ac_n "checking for off_t""... $ac_c" 1>&6
    3014 echo "configure:3015: checking for off_t" >&5
     3095echo "configure:3096: checking for off_t" >&5
    30153096if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
    30163097  echo $ac_n "(cached) $ac_c" 1>&6
    30173098else
    30183099  cat > conftest.$ac_ext <<EOF
    3019 #line 3020 "configure"
     3100#line 3101 "configure"
    30203101#include "confdefs.h"
    30213102#include <sys/types.h>
     
    30453126
    30463127echo $ac_n "checking for size_t""... $ac_c" 1>&6
    3047 echo "configure:3048: checking for size_t" >&5
     3128echo "configure:3129: checking for size_t" >&5
    30483129if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    30493130  echo $ac_n "(cached) $ac_c" 1>&6
    30503131else
    30513132  cat > conftest.$ac_ext <<EOF
    3052 #line 3053 "configure"
     3133#line 3134 "configure"
    30533134#include "confdefs.h"
    30543135#include <sys/types.h>
     
    30803161# for constant arguments.  Useless!
    30813162echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    3082 echo "configure:3083: checking for working alloca.h" >&5
     3163echo "configure:3164: checking for working alloca.h" >&5
    30833164if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    30843165  echo $ac_n "(cached) $ac_c" 1>&6
    30853166else
    30863167  cat > conftest.$ac_ext <<EOF
    3087 #line 3088 "configure"
     3168#line 3169 "configure"
    30883169#include "confdefs.h"
    30893170#include <alloca.h>
     
    30923173; return 0; }
    30933174EOF
    3094 if { (eval echo configure:3095: \"$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
    30953176  rm -rf conftest*
    30963177  ac_cv_header_alloca_h=yes
     
    31133194
    31143195echo $ac_n "checking for alloca""... $ac_c" 1>&6
    3115 echo "configure:3116: checking for alloca" >&5
     3196echo "configure:3197: checking for alloca" >&5
    31163197if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    31173198  echo $ac_n "(cached) $ac_c" 1>&6
    31183199else
    31193200  cat > conftest.$ac_ext <<EOF
    3120 #line 3121 "configure"
     3201#line 3202 "configure"
    31213202#include "confdefs.h"
    31223203
     
    31463227; return 0; }
    31473228EOF
    3148 if { (eval echo configure:3149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3229if { (eval echo configure:3230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    31493230  rm -rf conftest*
    31503231  ac_cv_func_alloca_works=yes
     
    31783259
    31793260echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    3180 echo "configure:3181: checking whether alloca needs Cray hooks" >&5
     3261echo "configure:3262: checking whether alloca needs Cray hooks" >&5
    31813262if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    31823263  echo $ac_n "(cached) $ac_c" 1>&6
    31833264else
    31843265  cat > conftest.$ac_ext <<EOF
    3185 #line 3186 "configure"
     3266#line 3267 "configure"
    31863267#include "confdefs.h"
    31873268#if defined(CRAY) && ! defined(CRAY2)
     
    32083289for ac_func in _getb67 GETB67 getb67; do
    32093290  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3210 echo "configure:3211: checking for $ac_func" >&5
     3291echo "configure:3292: checking for $ac_func" >&5
    32113292if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    32123293  echo $ac_n "(cached) $ac_c" 1>&6
    32133294else
    32143295  cat > conftest.$ac_ext <<EOF
    3215 #line 3216 "configure"
     3296#line 3297 "configure"
    32163297#include "confdefs.h"
    32173298/* System header to define __stub macros and hopefully few prototypes,
     
    32363317; return 0; }
    32373318EOF
    3238 if { (eval echo configure:3239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3319if { (eval echo configure:3320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    32393320  rm -rf conftest*
    32403321  eval "ac_cv_func_$ac_func=yes"
     
    32633344
    32643345echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    3265 echo "configure:3266: checking stack direction for C alloca" >&5
     3346echo "configure:3347: checking stack direction for C alloca" >&5
    32663347if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    32673348  echo $ac_n "(cached) $ac_c" 1>&6
     
    32713352else
    32723353  cat > conftest.$ac_ext <<EOF
    3273 #line 3274 "configure"
     3354#line 3355 "configure"
    32743355#include "confdefs.h"
    32753356find_stack_direction ()
     
    32903371}
    32913372EOF
    3292 if { (eval echo configure:3293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3373if { (eval echo configure:3374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32933374then
    32943375  ac_cv_c_stack_direction=1
     
    33153396ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    33163397echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3317 echo "configure:3318: checking for $ac_hdr" >&5
     3398echo "configure:3399: checking for $ac_hdr" >&5
    33183399if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    33193400  echo $ac_n "(cached) $ac_c" 1>&6
     
    33213402  cat > conftest.$ac_ext <<EOF
    33223403#include <sys/types.h>
    3323 #line 3324 "configure"
     3404#line 3405 "configure"
    33243405#include "confdefs.h"
    33253406#include <$ac_hdr>
    33263407EOF
    33273408ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3328 { (eval echo configure:3329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3409{ (eval echo configure:3410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    33293410ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    33303411if test -z "$ac_err"; then
     
    33553436do
    33563437echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3357 echo "configure:3358: checking for $ac_func" >&5
     3438echo "configure:3439: checking for $ac_func" >&5
    33583439if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    33593440  echo $ac_n "(cached) $ac_c" 1>&6
    33603441else
    33613442  cat > conftest.$ac_ext <<EOF
    3362 #line 3363 "configure"
     3443#line 3444 "configure"
    33633444#include "confdefs.h"
    33643445/* System header to define __stub macros and hopefully few prototypes,
     
    33833464; return 0; }
    33843465EOF
    3385 if { (eval echo configure:3386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3466if { (eval echo configure:3467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    33863467  rm -rf conftest*
    33873468  eval "ac_cv_func_$ac_func=yes"
     
    34083489
    34093490echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    3410 echo "configure:3411: checking for working mmap" >&5
     3491echo "configure:3492: checking for working mmap" >&5
    34113492if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    34123493  echo $ac_n "(cached) $ac_c" 1>&6
     
    34163497else
    34173498  cat > conftest.$ac_ext <<EOF
    3418 #line 3419 "configure"
     3499#line 3500 "configure"
    34193500#include "confdefs.h"
    34203501
     
    35563637
    35573638EOF
    3558 if { (eval echo configure:3559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3639if { (eval echo configure:3640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    35593640then
    35603641  ac_cv_func_mmap_fixed_mapped=yes
     
    35843665ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    35853666echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3586 echo "configure:3587: checking for $ac_hdr" >&5
     3667echo "configure:3668: checking for $ac_hdr" >&5
    35873668if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    35883669  echo $ac_n "(cached) $ac_c" 1>&6
     
    35903671  cat > conftest.$ac_ext <<EOF
    35913672#include <sys/types.h>
    3592 #line 3593 "configure"
     3673#line 3674 "configure"
    35933674#include "confdefs.h"
    35943675#include <$ac_hdr>
    35953676EOF
    35963677ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3597 { (eval echo configure:3598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3678{ (eval echo configure:3679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    35983679ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    35993680if test -z "$ac_err"; then
     
    36253706do
    36263707echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3627 echo "configure:3628: checking for $ac_func" >&5
     3708echo "configure:3709: checking for $ac_func" >&5
    36283709if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    36293710  echo $ac_n "(cached) $ac_c" 1>&6
    36303711else
    36313712  cat > conftest.$ac_ext <<EOF
    3632 #line 3633 "configure"
     3713#line 3714 "configure"
    36333714#include "confdefs.h"
    36343715/* System header to define __stub macros and hopefully few prototypes,
     
    36533734; return 0; }
    36543735EOF
    3655 if { (eval echo configure:3656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3736if { (eval echo configure:3737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36563737  rm -rf conftest*
    36573738  eval "ac_cv_func_$ac_func=yes"
     
    36823763do
    36833764echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3684 echo "configure:3685: checking for $ac_func" >&5
     3765echo "configure:3766: checking for $ac_func" >&5
    36853766if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    36863767  echo $ac_n "(cached) $ac_c" 1>&6
    36873768else
    36883769  cat > conftest.$ac_ext <<EOF
    3689 #line 3690 "configure"
     3770#line 3771 "configure"
    36903771#include "confdefs.h"
    36913772/* System header to define __stub macros and hopefully few prototypes,
     
    37103791; return 0; }
    37113792EOF
    3712 if { (eval echo configure:3713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3793if { (eval echo configure:3794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37133794  rm -rf conftest*
    37143795  eval "ac_cv_func_$ac_func=yes"
     
    37443825   if test $ac_cv_header_locale_h = yes; then
    37453826    echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
    3746 echo "configure:3747: checking for LC_MESSAGES" >&5
     3827echo "configure:3828: checking for LC_MESSAGES" >&5
    37473828if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
    37483829  echo $ac_n "(cached) $ac_c" 1>&6
    37493830else
    37503831  cat > conftest.$ac_ext <<EOF
    3751 #line 3752 "configure"
     3832#line 3833 "configure"
    37523833#include "confdefs.h"
    37533834#include <locale.h>
     
    37563837; return 0; }
    37573838EOF
    3758 if { (eval echo configure:3759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3839if { (eval echo configure:3840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37593840  rm -rf conftest*
    37603841  am_cv_val_LC_MESSAGES=yes
     
    37773858  fi
    37783859   echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
    3779 echo "configure:3780: checking whether NLS is requested" >&5
     3860echo "configure:3861: checking whether NLS is requested" >&5
    37803861        # Check whether --enable-nls or --disable-nls was given.
    37813862if test "${enable_nls+set}" = set; then
     
    37973878
    37983879      echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
    3799 echo "configure:3800: checking whether included gettext is requested" >&5
     3880echo "configure:3881: checking whether included gettext is requested" >&5
    38003881      # Check whether --with-included-gettext or --without-included-gettext was given.
    38013882if test "${with_included_gettext+set}" = set; then
     
    38163897        ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
    38173898echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
    3818 echo "configure:3819: checking for libintl.h" >&5
     3899echo "configure:3900: checking for libintl.h" >&5
    38193900if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    38203901  echo $ac_n "(cached) $ac_c" 1>&6
     
    38223903  cat > conftest.$ac_ext <<EOF
    38233904#include <sys/types.h>
    3824 #line 3825 "configure"
     3905#line 3906 "configure"
    38253906#include "confdefs.h"
    38263907#include <libintl.h>
    38273908EOF
    38283909ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3829 { (eval echo configure:3830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3910{ (eval echo configure:3911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    38303911ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    38313912if test -z "$ac_err"; then
     
    38443925  echo "$ac_t""yes" 1>&6
    38453926  echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
    3846 echo "configure:3847: checking for gettext in libc" >&5
     3927echo "configure:3928: checking for gettext in libc" >&5
    38473928if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
    38483929  echo $ac_n "(cached) $ac_c" 1>&6
    38493930else
    38503931  cat > conftest.$ac_ext <<EOF
    3851 #line 3852 "configure"
     3932#line 3933 "configure"
    38523933#include "confdefs.h"
    38533934#include <libintl.h>
     
    38563937; return 0; }
    38573938EOF
    3858 if { (eval echo configure:3859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3939if { (eval echo configure:3940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38593940  rm -rf conftest*
    38603941  gt_cv_func_gettext_libc=yes
     
    38723953           if test "$gt_cv_func_gettext_libc" != "yes"; then
    38733954             echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
    3874 echo "configure:3875: checking for bindtextdomain in -lintl" >&5
     3955echo "configure:3956: checking for bindtextdomain in -lintl" >&5
    38753956ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
    38763957if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    38803961LIBS="-lintl  $LIBS"
    38813962cat > conftest.$ac_ext <<EOF
    3882 #line 3883 "configure"
     3963#line 3964 "configure"
    38833964#include "confdefs.h"
    38843965/* Override any gcc2 internal prototype to avoid an error.  */
     
    38913972; return 0; }
    38923973EOF
    3893 if { (eval echo configure:3894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3974if { (eval echo configure:3975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38943975  rm -rf conftest*
    38953976  eval "ac_cv_lib_$ac_lib_var=yes"
     
    39073988  echo "$ac_t""yes" 1>&6
    39083989  echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
    3909 echo "configure:3910: checking for gettext in libintl" >&5
     3990echo "configure:3991: checking for gettext in libintl" >&5
    39103991if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
    39113992  echo $ac_n "(cached) $ac_c" 1>&6
    39123993else
    39133994  cat > conftest.$ac_ext <<EOF
    3914 #line 3915 "configure"
     3995#line 3996 "configure"
    39153996#include "confdefs.h"
    39163997
     
    39194000; return 0; }
    39204001EOF
    3921 if { (eval echo configure:3922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4002if { (eval echo configure:4003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39224003  rm -rf conftest*
    39234004  gt_cv_func_gettext_libintl=yes
     
    39474028set dummy msgfmt; ac_word=$2
    39484029echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3949 echo "configure:3950: checking for $ac_word" >&5
     4030echo "configure:4031: checking for $ac_word" >&5
    39504031if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    39514032  echo $ac_n "(cached) $ac_c" 1>&6
     
    39814062do
    39824063echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3983 echo "configure:3984: checking for $ac_func" >&5
     4064echo "configure:4065: checking for $ac_func" >&5
    39844065if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    39854066  echo $ac_n "(cached) $ac_c" 1>&6
    39864067else
    39874068  cat > conftest.$ac_ext <<EOF
    3988 #line 3989 "configure"
     4069#line 4070 "configure"
    39894070#include "confdefs.h"
    39904071/* System header to define __stub macros and hopefully few prototypes,
     
    40094090; return 0; }
    40104091EOF
    4011 if { (eval echo configure:4012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4092if { (eval echo configure:4093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40124093  rm -rf conftest*
    40134094  eval "ac_cv_func_$ac_func=yes"
     
    40364117set dummy gmsgfmt; ac_word=$2
    40374118echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4038 echo "configure:4039: checking for $ac_word" >&5
     4119echo "configure:4120: checking for $ac_word" >&5
    40394120if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    40404121  echo $ac_n "(cached) $ac_c" 1>&6
     
    40764157set dummy xgettext; ac_word=$2
    40774158echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4078 echo "configure:4079: checking for $ac_word" >&5
     4159echo "configure:4160: checking for $ac_word" >&5
    40794160if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    40804161  echo $ac_n "(cached) $ac_c" 1>&6
     
    41084189
    41094190                cat > conftest.$ac_ext <<EOF
    4110 #line 4111 "configure"
     4191#line 4192 "configure"
    41114192#include "confdefs.h"
    41124193
     
    41164197; return 0; }
    41174198EOF
    4118 if { (eval echo configure:4119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4199if { (eval echo configure:4200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41194200  rm -rf conftest*
    41204201  CATOBJEXT=.gmo
     
    41484229set dummy msgfmt; ac_word=$2
    41494230echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4150 echo "configure:4151: checking for $ac_word" >&5
     4231echo "configure:4232: checking for $ac_word" >&5
    41514232if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    41524233  echo $ac_n "(cached) $ac_c" 1>&6
     
    41824263set dummy gmsgfmt; ac_word=$2
    41834264echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4184 echo "configure:4185: checking for $ac_word" >&5
     4265echo "configure:4266: checking for $ac_word" >&5
    41854266if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    41864267  echo $ac_n "(cached) $ac_c" 1>&6
     
    42224303set dummy xgettext; ac_word=$2
    42234304echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4224 echo "configure:4225: checking for $ac_word" >&5
     4305echo "configure:4306: checking for $ac_word" >&5
    42254306if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    42264307  echo $ac_n "(cached) $ac_c" 1>&6
     
    43124393     else
    43134394       echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
    4314 echo "configure:4315: checking for catalogs to be installed" >&5
     4395echo "configure:4396: checking for catalogs to be installed" >&5
    43154396       NEW_LINGUAS=
    43164397       for lang in ${LINGUAS=$ALL_LINGUAS}; do
     
    43404421         ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
    43414422echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
    4342 echo "configure:4343: checking for linux/version.h" >&5
     4423echo "configure:4424: checking for linux/version.h" >&5
    43434424if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    43444425  echo $ac_n "(cached) $ac_c" 1>&6
     
    43464427  cat > conftest.$ac_ext <<EOF
    43474428#include <sys/types.h>
    4348 #line 4349 "configure"
     4429#line 4430 "configure"
    43494430#include "confdefs.h"
    43504431#include <linux/version.h>
    43514432EOF
    43524433ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4353 { (eval echo configure:4354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4434{ (eval echo configure:4435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    43544435ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    43554436if test -z "$ac_err"; then
     
    43964477   
    43974478
    4398             if test -d $srcdir/po; then
     4479            if test -f $srcdir/po/POTFILES.in; then
    43994480      test -d po || mkdir po
    44004481      if test "x$srcdir" != "x."; then
    4401                  if test "x`echo $srcdir | sed -e 's@.\:/.*@@'  -e 's@/.*@@' `" = "x"; then
     4482                 if test "x`echo $srcdir | sed -e 's@.\:/.*@@'  -e 's@/.*@@' `" = "x"; then
    44024483            posrcprefix="$srcdir/"
    44034484         else
     
    44144495
    44154496echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    4416 echo "configure:4417: checking whether to enable maintainer-specific portions of Makefiles" >&5
     4497echo "configure:4498: checking whether to enable maintainer-specific portions of Makefiles" >&5
    44174498    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    44184499if test "${enable_maintainer_mode+set}" = set; then
     
    44404521
    44414522echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    4442 echo "configure:4443: checking for executable suffix" >&5
     4523echo "configure:4524: checking for executable suffix" >&5
    44434524if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    44444525  echo $ac_n "(cached) $ac_c" 1>&6
     
    44504531  echo 'int main () { return 0; }' > conftest.$ac_ext
    44514532  ac_cv_exeext=
    4452   if { (eval echo configure:4453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     4533  if { (eval echo configure:4534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    44534534    for file in conftest.*; do
    44544535      case $file in
     
    44934574set dummy ranlib; ac_word=$2
    44944575echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4495 echo "configure:4496: checking for $ac_word" >&5
     4576echo "configure:4577: checking for $ac_word" >&5
    44964577if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    44974578  echo $ac_n "(cached) $ac_c" 1>&6
     
    45334614# ./install, which can be erroneously created by make from ./install.sh.
    45344615echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    4535 echo "configure:4536: checking for a BSD compatible install" >&5
     4616echo "configure:4617: checking for a BSD compatible install" >&5
    45364617if test -z "$INSTALL"; then
    45374618if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    46024683else
    46034684  echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6
    4604 echo "configure:4605: checking for build system executable suffix" >&5
     4685echo "configure:4686: checking for build system executable suffix" >&5
    46054686if eval "test \"`echo '$''{'bfd_cv_build_exeext'+set}'`\" = set"; then
    46064687  echo $ac_n "(cached) $ac_c" 1>&6
     
    46374718ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    46384719echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4639 echo "configure:4640: checking for $ac_hdr" >&5
     4720echo "configure:4721: checking for $ac_hdr" >&5
    46404721if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    46414722  echo $ac_n "(cached) $ac_c" 1>&6
     
    46434724  cat > conftest.$ac_ext <<EOF
    46444725#include <sys/types.h>
    4645 #line 4646 "configure"
     4726#line 4727 "configure"
    46464727#include "confdefs.h"
    46474728#include <$ac_hdr>
    46484729EOF
    46494730ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4650 { (eval echo configure:4651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4731{ (eval echo configure:4732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    46514732ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    46524733if test -z "$ac_err"; then
     
    46754756
    46764757echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
    4677 echo "configure:4678: checking for sys/wait.h that is POSIX.1 compatible" >&5
     4758echo "configure:4759: checking for sys/wait.h that is POSIX.1 compatible" >&5
    46784759if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
    46794760  echo $ac_n "(cached) $ac_c" 1>&6
    46804761else
    46814762  cat > conftest.$ac_ext <<EOF
    4682 #line 4683 "configure"
     4763#line 4764 "configure"
    46834764#include "confdefs.h"
    46844765#include <sys/types.h>
     
    46964777; return 0; }
    46974778EOF
    4698 if { (eval echo configure:4699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4779if { (eval echo configure:4780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    46994780  rm -rf conftest*
    47004781  ac_cv_header_sys_wait_h=yes
     
    47194800# for constant arguments.  Useless!
    47204801echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    4721 echo "configure:4722: checking for working alloca.h" >&5
     4802echo "configure:4803: checking for working alloca.h" >&5
    47224803if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    47234804  echo $ac_n "(cached) $ac_c" 1>&6
    47244805else
    47254806  cat > conftest.$ac_ext <<EOF
    4726 #line 4727 "configure"
     4807#line 4808 "configure"
    47274808#include "confdefs.h"
    47284809#include <alloca.h>
     
    47314812; return 0; }
    47324813EOF
    4733 if { (eval echo configure:4734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4814if { (eval echo configure:4815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47344815  rm -rf conftest*
    47354816  ac_cv_header_alloca_h=yes
     
    47524833
    47534834echo $ac_n "checking for alloca""... $ac_c" 1>&6
    4754 echo "configure:4755: checking for alloca" >&5
     4835echo "configure:4836: checking for alloca" >&5
    47554836if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    47564837  echo $ac_n "(cached) $ac_c" 1>&6
    47574838else
    47584839  cat > conftest.$ac_ext <<EOF
    4759 #line 4760 "configure"
     4840#line 4841 "configure"
    47604841#include "confdefs.h"
    47614842
     
    47854866; return 0; }
    47864867EOF
    4787 if { (eval echo configure:4788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4868if { (eval echo configure:4869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47884869  rm -rf conftest*
    47894870  ac_cv_func_alloca_works=yes
     
    48174898
    48184899echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    4819 echo "configure:4820: checking whether alloca needs Cray hooks" >&5
     4900echo "configure:4901: checking whether alloca needs Cray hooks" >&5
    48204901if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    48214902  echo $ac_n "(cached) $ac_c" 1>&6
    48224903else
    48234904  cat > conftest.$ac_ext <<EOF
    4824 #line 4825 "configure"
     4905#line 4906 "configure"
    48254906#include "confdefs.h"
    48264907#if defined(CRAY) && ! defined(CRAY2)
     
    48474928for ac_func in _getb67 GETB67 getb67; do
    48484929  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4849 echo "configure:4850: checking for $ac_func" >&5
     4930echo "configure:4931: checking for $ac_func" >&5
    48504931if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    48514932  echo $ac_n "(cached) $ac_c" 1>&6
    48524933else
    48534934  cat > conftest.$ac_ext <<EOF
    4854 #line 4855 "configure"
     4935#line 4936 "configure"
    48554936#include "confdefs.h"
    48564937/* System header to define __stub macros and hopefully few prototypes,
     
    48754956; return 0; }
    48764957EOF
    4877 if { (eval echo configure:4878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4958if { (eval echo configure:4959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48784959  rm -rf conftest*
    48794960  eval "ac_cv_func_$ac_func=yes"
     
    49024983
    49034984echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    4904 echo "configure:4905: checking stack direction for C alloca" >&5
     4985echo "configure:4986: checking stack direction for C alloca" >&5
    49054986if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    49064987  echo $ac_n "(cached) $ac_c" 1>&6
     
    49104991else
    49114992  cat > conftest.$ac_ext <<EOF
    4912 #line 4913 "configure"
     4993#line 4994 "configure"
    49134994#include "confdefs.h"
    49144995find_stack_direction ()
     
    49295010}
    49305011EOF
    4931 if { (eval echo configure:4932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     5012if { (eval echo configure:5013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    49325013then
    49335014  ac_cv_c_stack_direction=1
     
    49505031fi
    49515032
    4952 for ac_func in sbrk utimes setmode
     5033for ac_func in sbrk utimes setmode getc_unlocked strcoll
    49535034do
    49545035echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4955 echo "configure:4956: checking for $ac_func" >&5
     5036echo "configure:5037: checking for $ac_func" >&5
    49565037if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    49575038  echo $ac_n "(cached) $ac_c" 1>&6
    49585039else
    49595040  cat > conftest.$ac_ext <<EOF
    4960 #line 4961 "configure"
     5041#line 5042 "configure"
    49615042#include "confdefs.h"
    49625043/* System header to define __stub macros and hopefully few prototypes,
     
    49815062; return 0; }
    49825063EOF
    4983 if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5064if { (eval echo configure:5065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    49845065  rm -rf conftest*
    49855066  eval "ac_cv_func_$ac_func=yes"
     
    50065087
    50075088
     5089# Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
     5090# needs to be defined for it
     5091echo $ac_n "checking for fopen64""... $ac_c" 1>&6
     5092echo "configure:5093: checking for fopen64" >&5
     5093if eval "test \"`echo '$''{'bu_cv_have_fopen64'+set}'`\" = set"; then
     5094  echo $ac_n "(cached) $ac_c" 1>&6
     5095else
     5096  cat > conftest.$ac_ext <<EOF
     5097#line 5098 "configure"
     5098#include "confdefs.h"
     5099#include <stdio.h>
     5100int main() {
     5101FILE *f = fopen64 ("/tmp/foo","r");
     5102; return 0; }
     5103EOF
     5104if { (eval echo configure:5105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5105  rm -rf conftest*
     5106  bu_cv_have_fopen64=yes
     5107else
     5108  echo "configure: failed program was:" >&5
     5109  cat conftest.$ac_ext >&5
     5110  rm -rf conftest*
     5111  saved_CPPFLAGS=$CPPFLAGS
     5112 CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
     5113 cat > conftest.$ac_ext <<EOF
     5114#line 5115 "configure"
     5115#include "confdefs.h"
     5116#include <stdio.h>
     5117int main() {
     5118FILE *f = fopen64 ("/tmp/foo","r");
     5119; return 0; }
     5120EOF
     5121if { (eval echo configure:5122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5122  rm -rf conftest*
     5123  bu_cv_have_fopen64="need -D_LARGEFILE64_SOURCE"
     5124else
     5125  echo "configure: failed program was:" >&5
     5126  cat conftest.$ac_ext >&5
     5127  rm -rf conftest*
     5128  bu_cv_have_fopen64=no
     5129fi
     5130rm -f conftest*
     5131 CPPFLAGS=$saved_CPPFLAGS
     5132fi
     5133rm -f conftest*
     5134fi
     5135
     5136echo "$ac_t""$bu_cv_have_fopen64" 1>&6
     5137if test "$bu_cv_have_fopen64" != no; then
     5138  cat >> confdefs.h <<\EOF
     5139#define HAVE_FOPEN64 1
     5140EOF
     5141
     5142  if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE"; then
     5143    cat >> confdefs.h <<\EOF
     5144#define _LARGEFILE64_SOURCE 1
     5145EOF
     5146
     5147  fi
     5148fi
     5149
    50085150# Some systems have frexp only in -lm, not in -lc.
    50095151
    50105152echo $ac_n "checking for library containing frexp""... $ac_c" 1>&6
    5011 echo "configure:5012: checking for library containing frexp" >&5
     5153echo "configure:5154: checking for library containing frexp" >&5
    50125154if eval "test \"`echo '$''{'ac_cv_search_frexp'+set}'`\" = set"; then
    50135155  echo $ac_n "(cached) $ac_c" 1>&6
     
    50165158ac_cv_search_frexp="no"
    50175159cat > conftest.$ac_ext <<EOF
    5018 #line 5019 "configure"
     5160#line 5161 "configure"
    50195161#include "confdefs.h"
    50205162/* Override any gcc2 internal prototype to avoid an error.  */
     
    50275169; return 0; }
    50285170EOF
    5029 if { (eval echo configure:5030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5171if { (eval echo configure:5172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    50305172  rm -rf conftest*
    50315173  ac_cv_search_frexp="none required"
     
    50385180LIBS="-l$i  $ac_func_search_save_LIBS"
    50395181cat > conftest.$ac_ext <<EOF
    5040 #line 5041 "configure"
     5182#line 5183 "configure"
    50415183#include "confdefs.h"
    50425184/* Override any gcc2 internal prototype to avoid an error.  */
     
    50495191; return 0; }
    50505192EOF
    5051 if { (eval echo configure:5052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5193if { (eval echo configure:5194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    50525194  rm -rf conftest*
    50535195  ac_cv_search_frexp="-l$i"
     
    50715213
    50725214echo $ac_n "checking for time_t in time.h""... $ac_c" 1>&6
    5073 echo "configure:5074: checking for time_t in time.h" >&5
     5215echo "configure:5216: checking for time_t in time.h" >&5
    50745216if eval "test \"`echo '$''{'bu_cv_decl_time_t_time_h'+set}'`\" = set"; then
    50755217  echo $ac_n "(cached) $ac_c" 1>&6
    50765218else
    50775219  cat > conftest.$ac_ext <<EOF
    5078 #line 5079 "configure"
     5220#line 5221 "configure"
    50795221#include "confdefs.h"
    50805222#include <time.h>
     
    50835225; return 0; }
    50845226EOF
    5085 if { (eval echo configure:5086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5227if { (eval echo configure:5228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    50865228  rm -rf conftest*
    50875229  bu_cv_decl_time_t_time_h=yes
     
    51045246
    51055247echo $ac_n "checking for time_t in sys/types.h""... $ac_c" 1>&6
    5106 echo "configure:5107: checking for time_t in sys/types.h" >&5
     5248echo "configure:5249: checking for time_t in sys/types.h" >&5
    51075249if eval "test \"`echo '$''{'bu_cv_decl_time_t_types_h'+set}'`\" = set"; then
    51085250  echo $ac_n "(cached) $ac_c" 1>&6
    51095251else
    51105252  cat > conftest.$ac_ext <<EOF
    5111 #line 5112 "configure"
     5253#line 5254 "configure"
    51125254#include "confdefs.h"
    51135255#include <sys/types.h>
     
    51165258; return 0; }
    51175259EOF
    5118 if { (eval echo configure:5119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5260if { (eval echo configure:5261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    51195261  rm -rf conftest*
    51205262  bu_cv_decl_time_t_types_h=yes
     
    51395281# by default.
    51405282echo $ac_n "checking for utime.h""... $ac_c" 1>&6
    5141 echo "configure:5142: checking for utime.h" >&5
     5283echo "configure:5284: checking for utime.h" >&5
    51425284if eval "test \"`echo '$''{'bu_cv_header_utime_h'+set}'`\" = set"; then
    51435285  echo $ac_n "(cached) $ac_c" 1>&6
    51445286else
    51455287  cat > conftest.$ac_ext <<EOF
    5146 #line 5147 "configure"
     5288#line 5289 "configure"
    51475289#include "confdefs.h"
    51485290#include <sys/types.h>
     
    51555297; return 0; }
    51565298EOF
    5157 if { (eval echo configure:5158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5299if { (eval echo configure:5300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    51585300  rm -rf conftest*
    51595301  bu_cv_header_utime_h=yes
     
    51765318
    51775319echo $ac_n "checking whether fprintf must be declared""... $ac_c" 1>&6
    5178 echo "configure:5179: checking whether fprintf must be declared" >&5
     5320echo "configure:5321: checking whether fprintf must be declared" >&5
    51795321if eval "test \"`echo '$''{'bfd_cv_decl_needed_fprintf'+set}'`\" = set"; then
    51805322  echo $ac_n "(cached) $ac_c" 1>&6
    51815323else
    51825324  cat > conftest.$ac_ext <<EOF
    5183 #line 5184 "configure"
     5325#line 5326 "configure"
    51845326#include "confdefs.h"
    51855327
     
    52025344; return 0; }
    52035345EOF
    5204 if { (eval echo configure:5205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5346if { (eval echo configure:5347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    52055347  rm -rf conftest*
    52065348  bfd_cv_decl_needed_fprintf=no
     
    52235365
    52245366echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6
    5225 echo "configure:5226: checking whether strstr must be declared" >&5
     5367echo "configure:5368: checking whether strstr must be declared" >&5
    52265368if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then
    52275369  echo $ac_n "(cached) $ac_c" 1>&6
    52285370else
    52295371  cat > conftest.$ac_ext <<EOF
    5230 #line 5231 "configure"
     5372#line 5373 "configure"
    52315373#include "confdefs.h"
    52325374
     
    52495391; return 0; }
    52505392EOF
    5251 if { (eval echo configure:5252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5393if { (eval echo configure:5394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    52525394  rm -rf conftest*
    52535395  bfd_cv_decl_needed_strstr=no
     
    52705412
    52715413echo $ac_n "checking whether sbrk must be declared""... $ac_c" 1>&6
    5272 echo "configure:5273: checking whether sbrk must be declared" >&5
     5414echo "configure:5415: checking whether sbrk must be declared" >&5
    52735415if eval "test \"`echo '$''{'bfd_cv_decl_needed_sbrk'+set}'`\" = set"; then
    52745416  echo $ac_n "(cached) $ac_c" 1>&6
    52755417else
    52765418  cat > conftest.$ac_ext <<EOF
    5277 #line 5278 "configure"
     5419#line 5420 "configure"
    52785420#include "confdefs.h"
    52795421
     
    52965438; return 0; }
    52975439EOF
    5298 if { (eval echo configure:5299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5440if { (eval echo configure:5441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    52995441  rm -rf conftest*
    53005442  bfd_cv_decl_needed_sbrk=no
     
    53175459
    53185460echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6
    5319 echo "configure:5320: checking whether getenv must be declared" >&5
     5461echo "configure:5462: checking whether getenv must be declared" >&5
    53205462if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then
    53215463  echo $ac_n "(cached) $ac_c" 1>&6
    53225464else
    53235465  cat > conftest.$ac_ext <<EOF
    5324 #line 5325 "configure"
     5466#line 5467 "configure"
    53255467#include "confdefs.h"
    53265468
     
    53435485; return 0; }
    53445486EOF
    5345 if { (eval echo configure:5346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5487if { (eval echo configure:5488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    53465488  rm -rf conftest*
    53475489  bfd_cv_decl_needed_getenv=no
     
    53645506
    53655507echo $ac_n "checking whether environ must be declared""... $ac_c" 1>&6
    5366 echo "configure:5367: checking whether environ must be declared" >&5
     5508echo "configure:5509: checking whether environ must be declared" >&5
    53675509if eval "test \"`echo '$''{'bfd_cv_decl_needed_environ'+set}'`\" = set"; then
    53685510  echo $ac_n "(cached) $ac_c" 1>&6
    53695511else
    53705512  cat > conftest.$ac_ext <<EOF
    5371 #line 5372 "configure"
     5513#line 5514 "configure"
    53725514#include "confdefs.h"
    53735515
     
    53905532; return 0; }
    53915533EOF
    5392 if { (eval echo configure:5393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5534if { (eval echo configure:5535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    53935535  rm -rf conftest*
    53945536  bfd_cv_decl_needed_environ=no
     
    54565598    else
    54575599        case $targ in
    5458         i[3456]86*-*-netware*) 
     5600        i[3456]86*-*-netware*)
    54595601          BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
    54605602          NLMCONV_DEFS="$NLMCONV_DEFS -DNLMCONV_I386"
     
    54825624          BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
    54835625          ;;
    5484         arm-*pe* | arm-*-wince)
     5626        arm-*-pe* | arm-*-wince)
    54855627          BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
    54865628          DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM"
    54875629          BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
    54885630          ;;
    5489         thumb-*pe*)
     5631        thumb-*-pe*)
    54905632          BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
    54915633          DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM"
     
    54955637          OBJDUMP_DEFS="-DDISASSEMBLER_NEEDS_RELOCS"
    54965638          ;;
    5497         i[3-6]86-*pe* | i[3-6]86-*-cygwin* | i[3-6]86-*-mingw32*)
     5639        i[3-6]86-*-pe* | i[3-6]86-*-cygwin* | i[3-6]86-*-mingw32** | i[3-6]86-*-netbsdpe*)
    54985640          BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
    54995641          DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386"
     
    55055647          DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386"
    55065648          ;;
    5507         powerpc*-*-*pe* | powerpc*-*-cygwin*)
     5649        powerpc*-*-pe* | powerpc*-*-cygwin*)
    55085650          BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
    55095651          DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_PPC"
    55105652          BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
    55115653          ;;
    5512         sh*-*-*pe)
     5654        sh*-*-pe)
    55135655          BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
    55145656          DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_SH"
    55155657          BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
    55165658          ;;
    5517         mips*-*-*pe)
     5659        mips*-*-pe)
    55185660          BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
    55195661          DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
    55205662          BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
    55215663          ;;
    5522         mcore-*pe)
     5664        mcore-*-pe)
    55235665          BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
    55245666          DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE"
    55255667          BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
    55265668          ;;
    5527         mcore-*elf)
     5669        mcore-*-elf)
    55285670          BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
    55295671          DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
    55305672          ;;
    5531         i345686-*-os2*)
     5673        c4x-*-* | tic4x-*-*)
     5674          OBJDUMP_DEFS="$OBJDUMP_DEFS -DSKIP_ZEROES=32"
     5675          ;;
     5676        ia64-*-*)
     5677          OBJDUMP_DEFS="$OBJDUMP_DEFS -DSKIP_ZEROES=16"
     5678          ;;
     5679    i345686-*-os2*)
    55325680          BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
    55335681          ;;
     
    55365684done
    55375685
     5686if test "${with_windres+set}" = set; then
     5687          BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
     5688fi
     5689
    55385690
    55395691
     
    55585710    UNDERSCORE=0
    55595711fi
     5712cat >> confdefs.h <<EOF
     5713#define TARGET_PREPENDS_UNDERSCORE $UNDERSCORE
     5714EOF
     5715
     5716
     5717# Emulation
     5718for targ_alias in `echo $target_alias $enable_targets | sed 's/,/ /g'`
     5719do
     5720  # Canonicalize the secondary target names.
     5721 result=`$ac_config_sub $targ_alias 2>/dev/null`
     5722 if test -n "$result"; then
     5723   targ=$result
     5724 else
     5725   targ=$targ_alias
     5726 fi
     5727
     5728 . ${srcdir}/configure.tgt
     5729
     5730  EMULATION=$targ_emul
     5731  EMULATION_VECTOR=$targ_emul_vector   
     5732done
     5733
     5734
    55605735
    55615736
     
    56655840PATHIFS="$PATH_IFS"
    56665841
    5667 trap 'rm -fr `echo "Makefile po/Makefile.in:po/Make-in config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     5842trap 'rm -fr `echo "Makefile doc/Makefile po/Makefile.in:po/Make-in config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
    56685843EOF
    56695844cat >> $CONFIG_STATUS <<EOF
     
    57155890s%@build_vendor@%$build_vendor%g
    57165891s%@build_os@%$build_os%g
    5717 s%@CC@%$CC%g
    57185892s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
    57195893s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
     
    57275901s%@MAKEINFO@%$MAKEINFO%g
    57285902s%@SET_MAKE@%$SET_MAKE%g
     5903s%@CC@%$CC%g
    57295904s%@LN_S@%$LN_S%g
    57305905s%@OBJEXT@%$OBJEXT%g
     
    57765951s%@BUILD_MISC@%$BUILD_MISC%g
    57775952s%@OBJDUMP_DEFS@%$OBJDUMP_DEFS%g
    5778 s%@UNDERSCORE@%$UNDERSCORE%g
     5953s%@EMULATION@%$EMULATION%g
     5954s%@EMULATION_VECTOR@%$EMULATION_VECTOR%g
    57795955
    57805956CEOF
     
    58185994cat >> $CONFIG_STATUS <<EOF
    58195995
    5820 CONFIG_FILES=\${CONFIG_FILES-"Makefile po/Makefile.in:po/Make-in"}
     5996CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile po/Makefile.in:po/Make-in"}
    58215997EOF
    58225998cat >> $CONFIG_STATUS <<\EOF
  • trunk/src/binutils/configure

    • Property cvs2svn:cvs-rev changed from 1.1.1.2 to 1.2
    r618 r619  
    529529fi
    530530
     531echo $ac_n "checking for path separator""... $ac_c" 1>&6
     532echo "configure:533: checking for path separator" >&5
     533# Filter path to get backslahes into forwardslashes
     534case "`uname -s 2> /dev/null`" in
     535OS/2)
     536  PATH=`echo -E "$PATH" | sed 's+\\\\+/+g'`
     537  PATH_IFS=';'
     538  ;;
     539*)
     540  PATH_IFS=':'
     541  ;;
     542esac
     543echo "$ac_t""${PATH_IFS}" 1>&6
     544
     545echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
     546echo "configure:547: checking for Cygwin environment" >&5
     547if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
     548  echo $ac_n "(cached) $ac_c" 1>&6
     549else
     550  cat > conftest.$ac_ext <<EOF
     551#line 552 "configure"
     552#include "confdefs.h"
     553
     554int main() {
     555
     556#ifndef __CYGWIN__
     557#define __CYGWIN__ __CYGWIN32__
     558#endif
     559return __CYGWIN__;
     560; return 0; }
     561EOF
     562if { (eval echo configure:563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     563  rm -rf conftest*
     564  ac_cv_cygwin=yes
     565else
     566  echo "configure: failed program was:" >&5
     567  cat conftest.$ac_ext >&5
     568  rm -rf conftest*
     569  ac_cv_cygwin=no
     570fi
     571rm -f conftest*
     572rm -f conftest*
     573fi
     574
     575echo "$ac_t""$ac_cv_cygwin" 1>&6
     576CYGWIN=
     577test "$ac_cv_cygwin" = yes && CYGWIN=yes
     578echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
     579echo "configure:580: checking for mingw32 environment" >&5
     580if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
     581  echo $ac_n "(cached) $ac_c" 1>&6
     582else
     583  cat > conftest.$ac_ext <<EOF
     584#line 585 "configure"
     585#include "confdefs.h"
     586
     587int main() {
     588return __MINGW32__;
     589; return 0; }
     590EOF
     591if { (eval echo configure:592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     592  rm -rf conftest*
     593  ac_cv_mingw32=yes
     594else
     595  echo "configure: failed program was:" >&5
     596  cat conftest.$ac_ext >&5
     597  rm -rf conftest*
     598  ac_cv_mingw32=no
     599fi
     600rm -f conftest*
     601rm -f conftest*
     602fi
     603
     604echo "$ac_t""$ac_cv_mingw32" 1>&6
     605MINGW32=
     606test "$ac_cv_mingw32" = yes && MINGW32=yes
     607echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6
     608echo "configure:609: checking for EMX/OS2 environment" >&5
     609if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then
     610  echo $ac_n "(cached) $ac_c" 1>&6
     611else
     612  : ${CC=gcc.exe}
     613cat > conftest.$ac_ext <<EOF
     614#line 615 "configure"
     615#include "confdefs.h"
     616
     617int main() {
     618return __EMX__;
     619; return 0; }
     620EOF
     621if { (eval echo configure:622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     622  rm -rf conftest*
     623  ac_cv_emxos2=yes
     624else
     625  echo "configure: failed program was:" >&5
     626  cat conftest.$ac_ext >&5
     627  rm -rf conftest*
     628  ac_cv_emxos2=no
     629fi
     630rm -f conftest*
     631rm -f conftest*
     632fi
     633
     634echo "$ac_t""$ac_cv_emxos2" 1>&6
     635if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then
     636  echo $ac_n "(cached) $ac_c" 1>&6
     637else
     638  if test "$ac_cv_emxos2" = yes ; then
     639  ac_cv_libpre=
     640else
     641  ac_cv_libpre=lib
     642fi
     643
     644fi
     645
     646EMXOS2=
     647test "$ac_cv_emxos2" = yes && EMXOS2=yes
     648
     649
     650
     651echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
     652echo "configure:653: checking for executable suffix" >&5
     653if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
     654  echo $ac_n "(cached) $ac_c" 1>&6
     655else
     656  if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then
     657  ac_cv_exeext=.exe
     658else
     659  rm -f conftest*
     660  echo 'int main () { return 0; }' > conftest.$ac_ext
     661  ac_cv_exeext=
     662  if { (eval echo configure:663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     663    for file in conftest.*; do
     664      case $file in
     665      *.c | *.o | *.obj) ;;
     666      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
     667      esac
     668    done
     669  else
     670    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
     671  fi
     672  rm -f conftest*
     673  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
     674fi
     675fi
     676
     677EXEEXT=""
     678test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
     679echo "$ac_t""${ac_cv_exeext}" 1>&6
     680ac_exeext=$EXEEXT
     681
    531682
    532683
     
    578729
    579730echo $ac_n "checking host system type""... $ac_c" 1>&6
    580 echo "configure:581: checking host system type" >&5
     731echo "configure:732: checking host system type" >&5
    581732
    582733host_alias=$host
     
    599750
    600751echo $ac_n "checking target system type""... $ac_c" 1>&6
    601 echo "configure:602: checking target system type" >&5
     752echo "configure:753: checking target system type" >&5
    602753
    603754target_alias=$target
     
    617768
    618769echo $ac_n "checking build system type""... $ac_c" 1>&6
    619 echo "configure:620: checking build system type" >&5
     770echo "configure:771: checking build system type" >&5
    620771
    621772build_alias=$build
     
    700851      else
    701852        for prog in sh sh.exe bash bash.exe; do
    702           IFS="${IFS=   }"; save_ifs="$IFS"; IFS="${IFS}:"
     853          IFS="${IFS=   }"; save_ifs="$IFS"; IFS="${PATH_IFS}"
    703854          for dir in $PATH; do
    704855            test -z "$dir" && dir=.
     
    766917### (library or tools, host or target), doing a dependency sort.
    767918
    768 # Subdirs will be configured in the order listed in build_configdirs, 
     919# Subdirs will be configured in the order listed in build_configdirs,
    769920# configdirs, or target_configdirs; see the serialization section below.
    770921
    771 # Dependency sorting is only needed when *configuration* must be done in 
    772 # a particular order.  In all cases a dependency should be specified in 
     922# Dependency sorting is only needed when *configuration* must be done in
     923# a particular order.  In all cases a dependency should be specified in
    773924# the Makefile, whether or not it's implicitly specified here.
    774925
     
    785936# binutils, gas and ld appear in that order because it makes sense to run
    786937# "make check" in that particular order.
    787 host_tools="texinfo byacc flex bison binutils gas ld gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar"
     938host_tools="byacc flex bison binutils gas ld gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar"
    788939
    789940# libgcj represents the runtime libraries only used by gcj.
     
    8841035fi
    8851036
    886 # some tools are so dependent upon X11 that if we're not building with X, 
     1037# some tools are so dependent upon X11 that if we're not building with X,
    8871038# it's not even worth trying to configure, much less build, that tool.
    8881039
     
    8921043    skipdirs="${skipdirs} tk tix itcl libgui"
    8931044    # We won't be able to build gdbtk without X.
    894     enable_gdbtk=no 
     1045    enable_gdbtk=no
    8951046    ;;
    8961047  *)  echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
     
    8981049
    8991050# Some tools are only suitable for building in a "native" situation.
    900 # Remove these if host!=target. 
     1051# Remove these if host!=target.
    9011052native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff gprof target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
    9021053
     
    9311082esac
    9321083
    933 # Remove more programs from consideration, based on the host or 
     1084# Remove more programs from consideration, based on the host or
    9341085# target this usually means that a port of the program doesn't
    9351086# exist yet.
     
    10531204  sh-*-linux*)
    10541205    noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    1055     ;;   
     1206    ;;
    10561207  sh*-*-pe|mips*-*-pe|*arm-wince-pe)
    10571208    noconfigdirs="$noconfigdirs ${libgcj}"
     
    11911342         ;;
    11921343    esac
    1193     ;;   
     1344    ;;
    11941345  *-*-cygwin*)
    11951346    target_configdirs="$target_configdirs target-libtermcap target-winsup"
     
    12041355         ;;
    12051356    esac
    1206     ;;   
     1357    ;;
    12071358  i[3456]86-*-pe)
    12081359    noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
     
    13661517  *-*-lynxos*)
    13671518    noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
    1368     ;; 
     1519    ;;
    13691520  *-*-*)
    13701521    noconfigdirs="$noconfigdirs ${libgcj}"
     
    15211672target_configdirs=
    15221673for i in ${target_configdirs_all} ; do
    1523   j=`echo $i | sed -e s/target-//g` 
     1674  j=`echo $i | sed -e s/target-//g`
    15241675  if test -f ${srcdir}/$j/configure ; then
    15251676    target_configdirs="${target_configdirs} $i"
     
    17461897    host_makefile_frag="config/mh-djgpp"
    17471898    ;;
     1899  i345686-*-os2*)
     1900    host_makefile_frag="config/mh-emx"
     1901    ;;
    17481902  *-cygwin*)
    17491903    host_makefile_frag="config/mh-cygwin"
     
    18031957    ;;
    18041958  *-*-aix4.[3456789]* | *-*-aix[56789].*)
    1805     # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm 
     1959    # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
    18061960    # commands to handle both 32-bit and 64-bit objects.  These flags are
    18071961    # harmless if we're using GNU nm or ar.
     
    18532007# is available, and by checking whether or not specific configurations
    18542008# have requested that this magic not happen.
    1855 # 
    1856 # The command line options always override the explicit settings in 
     2009#
     2010# The command line options always override the explicit settings in
    18572011# configure.in, and the settings in configure.in override this magic.
    18582012#
    1859 # If the default for a toolchain is to use GNU as and ld, and you don't 
     2013# If the default for a toolchain is to use GNU as and ld, and you don't
    18602014# want to do that, then you should use the --without-gnu-as and
    18612015# --without-gnu-ld options for the configure script.
     
    19102064# Actually, use the 'pre-extracted' version above.
    19112065if test -z "${CC}" && test "${build}" = "${host}" ; then
    1912   IFS="${IFS=   }"; save_ifs="$IFS"; IFS="${IFS}:"
     2066  IFS="${IFS=   }"; save_ifs="$IFS"; IFS="${PATH_IFS}"
    19132067  found=
    19142068  for dir in $PATH; do
     
    19362090do
    19372091  set dummy $prog; tmp=$2
    1938   IFS="${IFS=   }"; save_ifs="$IFS"; IFS="${IFS}:"
     2092  IFS="${IFS=   }"; save_ifs="$IFS"; IFS="${PATH_IFS}"
    19392093  for dir in $PATH; do
    19402094    test -z "$dir" && dir=.
     
    19552109do
    19562110  set dummy $prog; tmp=$2
    1957   IFS="${IFS=   }"; save_ifs="$IFS"; IFS="${IFS}:"
     2111  IFS="${IFS=   }"; save_ifs="$IFS"; IFS="${PATH_IFS}"
    19582112  for dir in $PATH; do
    19592113    test -z "$dir" && dir=.
     
    19742128do
    19752129  set dummy $prog; tmp=$2
    1976   IFS="${IFS=   }"; save_ifs="$IFS"; IFS="${IFS}:"
     2130  IFS="${IFS=   }"; save_ifs="$IFS"; IFS="${PATH_IFS}"
    19772131  for dir in $PATH; do
    19782132    test -z "$dir" && dir=.
     
    20062160
    20072161  if test -z "${YACC}" ; then
    2008     IFS="${IFS=         }"; save_ifs="$IFS"; IFS="${IFS}:"
     2162    IFS="${IFS=         }"; save_ifs="$IFS"; IFS="${PATH_IFS}"
    20092163    for dir in $PATH; do
    20102164      test -z "$dir" && dir=.
     
    20292183
    20302184  if test -z "${LEX}" ; then
    2031     IFS="${IFS=         }"; save_ifs="$IFS"; IFS="${IFS}:"
     2185    IFS="${IFS=         }"; save_ifs="$IFS"; IFS="${PATH_IFS}"
    20322186    for dir in $PATH; do
    20332187      test -z "$dir" && dir=.
     
    20662220  cc_prog_is_gcc=
    20672221  if test -z "${CC}" ; then
    2068     IFS="${IFS=         }"; save_ifs="$IFS"; IFS="${IFS}:"
     2222    IFS="${IFS=         }"; save_ifs="$IFS"; IFS="${PATH_IFS}"
    20692223    for dir in $PATH; do
    20702224      test -z "$dir" && dir=.
     
    21692323    true
    21702324  else
    2171     # We need to re-remove the file because Lynx leaves a 
     2325    # We need to re-remove the file because Lynx leaves a
    21722326    # very strange directory there when it fails an NFS symlink.
    21732327    ${remove} -r -f ${link}
     
    22092363    we_are_ok=yes
    22102364  fi
    2211 fi 
     2365fi
    22122366case $we_are_ok in
    22132367  no)
     
    26802834set dummy ${ncn_tool_prefix}ar; ac_word=$2
    26812835echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2682 echo "configure:2683: checking for $ac_word" >&5
     2836echo "configure:2837: checking for $ac_word" >&5
    26832837if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    26842838  echo $ac_n "(cached) $ac_c" 1>&6
     
    26872841  ac_cv_prog_AR="$AR" # Let the user override the test.
    26882842else
    2689   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2843  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    26902844  ac_dummy="$PATH"
    26912845  for ac_dir in $ac_dummy; do
    26922846    test -z "$ac_dir" && ac_dir=.
    2693     if test -f $ac_dir/$ac_word; then
     2847    if test -f $ac_dir/$ac_word -o \
     2848            -f $ac_dir/$ac_word$ac_exeext ; then
    26942849      ac_cv_prog_AR="${ncn_tool_prefix}ar"
    26952850      break
     
    27132868set dummy ar; ac_word=$2
    27142869echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2715 echo "configure:2716: checking for $ac_word" >&5
     2870echo "configure:2871: checking for $ac_word" >&5
    27162871if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AR'+set}'`\" = set"; then
    27172872  echo $ac_n "(cached) $ac_c" 1>&6
     
    27202875  ac_cv_prog_ncn_cv_AR="$ncn_cv_AR" # Let the user override the test.
    27212876else
    2722   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2877  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    27232878  ac_dummy="$PATH"
    27242879  for ac_dir in $ac_dummy; do
    27252880    test -z "$ac_dir" && ac_dir=.
    2726     if test -f $ac_dir/$ac_word; then
     2881    if test -f $ac_dir/$ac_word -o \
     2882            -f $ac_dir/$ac_word$ac_exeext ; then
    27272883      ac_cv_prog_ncn_cv_AR="ar"
    27282884      break
     
    27522908set dummy ${ncn_tool_prefix}as; ac_word=$2
    27532909echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2754 echo "configure:2755: checking for $ac_word" >&5
     2910echo "configure:2911: checking for $ac_word" >&5
    27552911if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
    27562912  echo $ac_n "(cached) $ac_c" 1>&6
     
    27592915  ac_cv_prog_AS="$AS" # Let the user override the test.
    27602916else
    2761   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2917  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    27622918  ac_dummy="$PATH"
    27632919  for ac_dir in $ac_dummy; do
    27642920    test -z "$ac_dir" && ac_dir=.
    2765     if test -f $ac_dir/$ac_word; then
     2921    if test -f $ac_dir/$ac_word -o \
     2922            -f $ac_dir/$ac_word$ac_exeext ; then
    27662923      ac_cv_prog_AS="${ncn_tool_prefix}as"
    27672924      break
     
    27852942set dummy as; ac_word=$2
    27862943echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2787 echo "configure:2788: checking for $ac_word" >&5
     2944echo "configure:2945: checking for $ac_word" >&5
    27882945if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AS'+set}'`\" = set"; then
    27892946  echo $ac_n "(cached) $ac_c" 1>&6
     
    27922949  ac_cv_prog_ncn_cv_AS="$ncn_cv_AS" # Let the user override the test.
    27932950else
    2794   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2951  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    27952952  ac_dummy="$PATH"
    27962953  for ac_dir in $ac_dummy; do
    27972954    test -z "$ac_dir" && ac_dir=.
    2798     if test -f $ac_dir/$ac_word; then
     2955    if test -f $ac_dir/$ac_word -o \
     2956            -f $ac_dir/$ac_word$ac_exeext ; then
    27992957      ac_cv_prog_ncn_cv_AS="as"
    28002958      break
     
    28242982set dummy ${ncn_tool_prefix}dlltool; ac_word=$2
    28252983echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2826 echo "configure:2827: checking for $ac_word" >&5
     2984echo "configure:2985: checking for $ac_word" >&5
    28272985if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
    28282986  echo $ac_n "(cached) $ac_c" 1>&6
     
    28312989  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
    28322990else
    2833   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2991  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    28342992  ac_dummy="$PATH"
    28352993  for ac_dir in $ac_dummy; do
    28362994    test -z "$ac_dir" && ac_dir=.
    2837     if test -f $ac_dir/$ac_word; then
     2995    if test -f $ac_dir/$ac_word -o \
     2996            -f $ac_dir/$ac_word$ac_exeext ; then
    28382997      ac_cv_prog_DLLTOOL="${ncn_tool_prefix}dlltool"
    28392998      break
     
    28573016set dummy dlltool; ac_word=$2
    28583017echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2859 echo "configure:2860: checking for $ac_word" >&5
     3018echo "configure:3019: checking for $ac_word" >&5
    28603019if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_DLLTOOL'+set}'`\" = set"; then
    28613020  echo $ac_n "(cached) $ac_c" 1>&6
     
    28643023  ac_cv_prog_ncn_cv_DLLTOOL="$ncn_cv_DLLTOOL" # Let the user override the test.
    28653024else
    2866   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3025  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    28673026  ac_dummy="$PATH"
    28683027  for ac_dir in $ac_dummy; do
    28693028    test -z "$ac_dir" && ac_dir=.
    2870     if test -f $ac_dir/$ac_word; then
     3029    if test -f $ac_dir/$ac_word -o \
     3030            -f $ac_dir/$ac_word$ac_exeext ; then
    28713031      ac_cv_prog_ncn_cv_DLLTOOL="dlltool"
    28723032      break
     
    28963056set dummy ${ncn_tool_prefix}ld; ac_word=$2
    28973057echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2898 echo "configure:2899: checking for $ac_word" >&5
     3058echo "configure:3059: checking for $ac_word" >&5
    28993059if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
    29003060  echo $ac_n "(cached) $ac_c" 1>&6
     
    29033063  ac_cv_prog_LD="$LD" # Let the user override the test.
    29043064else
    2905   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3065  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    29063066  ac_dummy="$PATH"
    29073067  for ac_dir in $ac_dummy; do
    29083068    test -z "$ac_dir" && ac_dir=.
    2909     if test -f $ac_dir/$ac_word; then
     3069    if test -f $ac_dir/$ac_word -o \
     3070            -f $ac_dir/$ac_word$ac_exeext ; then
    29103071      ac_cv_prog_LD="${ncn_tool_prefix}ld"
    29113072      break
     
    29293090set dummy ld; ac_word=$2
    29303091echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2931 echo "configure:2932: checking for $ac_word" >&5
     3092echo "configure:3093: checking for $ac_word" >&5
    29323093if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_LD'+set}'`\" = set"; then
    29333094  echo $ac_n "(cached) $ac_c" 1>&6
     
    29363097  ac_cv_prog_ncn_cv_LD="$ncn_cv_LD" # Let the user override the test.
    29373098else
    2938   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3099  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    29393100  ac_dummy="$PATH"
    29403101  for ac_dir in $ac_dummy; do
    29413102    test -z "$ac_dir" && ac_dir=.
    2942     if test -f $ac_dir/$ac_word; then
     3103    if test -f $ac_dir/$ac_word -o \
     3104            -f $ac_dir/$ac_word$ac_exeext ; then
    29433105      ac_cv_prog_ncn_cv_LD="ld"
    29443106      break
     
    29683130set dummy ${ncn_tool_prefix}nm; ac_word=$2
    29693131echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2970 echo "configure:2971: checking for $ac_word" >&5
     3132echo "configure:3133: checking for $ac_word" >&5
    29713133if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
    29723134  echo $ac_n "(cached) $ac_c" 1>&6
     
    29753137  ac_cv_prog_NM="$NM" # Let the user override the test.
    29763138else
    2977   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3139  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    29783140  ac_dummy="$PATH"
    29793141  for ac_dir in $ac_dummy; do
    29803142    test -z "$ac_dir" && ac_dir=.
    2981     if test -f $ac_dir/$ac_word; then
     3143    if test -f $ac_dir/$ac_word -o \
     3144            -f $ac_dir/$ac_word$ac_exeext ; then
    29823145      ac_cv_prog_NM="${ncn_tool_prefix}nm"
    29833146      break
     
    30013164set dummy nm; ac_word=$2
    30023165echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3003 echo "configure:3004: checking for $ac_word" >&5
     3166echo "configure:3167: checking for $ac_word" >&5
    30043167if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_NM'+set}'`\" = set"; then
    30053168  echo $ac_n "(cached) $ac_c" 1>&6
     
    30083171  ac_cv_prog_ncn_cv_NM="$ncn_cv_NM" # Let the user override the test.
    30093172else
    3010   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3173  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    30113174  ac_dummy="$PATH"
    30123175  for ac_dir in $ac_dummy; do
    30133176    test -z "$ac_dir" && ac_dir=.
    3014     if test -f $ac_dir/$ac_word; then
     3177    if test -f $ac_dir/$ac_word -o \
     3178            -f $ac_dir/$ac_word$ac_exeext ; then
    30153179      ac_cv_prog_ncn_cv_NM="nm"
    30163180      break
     
    30403204set dummy ${ncn_tool_prefix}ranlib; ac_word=$2
    30413205echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3042 echo "configure:3043: checking for $ac_word" >&5
     3206echo "configure:3207: checking for $ac_word" >&5
    30433207if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    30443208  echo $ac_n "(cached) $ac_c" 1>&6
     
    30473211  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    30483212else
    3049   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3213  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    30503214  ac_dummy="$PATH"
    30513215  for ac_dir in $ac_dummy; do
    30523216    test -z "$ac_dir" && ac_dir=.
    3053     if test -f $ac_dir/$ac_word; then
     3217    if test -f $ac_dir/$ac_word -o \
     3218            -f $ac_dir/$ac_word$ac_exeext ; then
    30543219      ac_cv_prog_RANLIB="${ncn_tool_prefix}ranlib"
    30553220      break
     
    30733238set dummy ranlib; ac_word=$2
    30743239echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3075 echo "configure:3076: checking for $ac_word" >&5
     3240echo "configure:3241: checking for $ac_word" >&5
    30763241if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_RANLIB'+set}'`\" = set"; then
    30773242  echo $ac_n "(cached) $ac_c" 1>&6
     
    30803245  ac_cv_prog_ncn_cv_RANLIB="$ncn_cv_RANLIB" # Let the user override the test.
    30813246else
    3082   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3247  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    30833248  ac_dummy="$PATH"
    30843249  for ac_dir in $ac_dummy; do
    30853250    test -z "$ac_dir" && ac_dir=.
    3086     if test -f $ac_dir/$ac_word; then
     3251    if test -f $ac_dir/$ac_word -o \
     3252            -f $ac_dir/$ac_word$ac_exeext ; then
    30873253      ac_cv_prog_ncn_cv_RANLIB="ranlib"
    30883254      break
     
    31123278set dummy ${ncn_tool_prefix}windres; ac_word=$2
    31133279echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3114 echo "configure:3115: checking for $ac_word" >&5
     3280echo "configure:3281: checking for $ac_word" >&5
    31153281if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
    31163282  echo $ac_n "(cached) $ac_c" 1>&6
     
    31193285  ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
    31203286else
    3121   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3287  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    31223288  ac_dummy="$PATH"
    31233289  for ac_dir in $ac_dummy; do
    31243290    test -z "$ac_dir" && ac_dir=.
    3125     if test -f $ac_dir/$ac_word; then
     3291    if test -f $ac_dir/$ac_word -o \
     3292            -f $ac_dir/$ac_word$ac_exeext ; then
    31263293      ac_cv_prog_WINDRES="${ncn_tool_prefix}windres"
    31273294      break
     
    31453312set dummy windres; ac_word=$2
    31463313echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3147 echo "configure:3148: checking for $ac_word" >&5
     3314echo "configure:3315: checking for $ac_word" >&5
    31483315if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_WINDRES'+set}'`\" = set"; then
    31493316  echo $ac_n "(cached) $ac_c" 1>&6
     
    31523319  ac_cv_prog_ncn_cv_WINDRES="$ncn_cv_WINDRES" # Let the user override the test.
    31533320else
    3154   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3321  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    31553322  ac_dummy="$PATH"
    31563323  for ac_dir in $ac_dummy; do
    31573324    test -z "$ac_dir" && ac_dir=.
    3158     if test -f $ac_dir/$ac_word; then
     3325    if test -f $ac_dir/$ac_word -o \
     3326            -f $ac_dir/$ac_word$ac_exeext ; then
    31593327      ac_cv_prog_ncn_cv_WINDRES="windres"
    31603328      break
     
    31843352set dummy ${ncn_tool_prefix}objcopy; ac_word=$2
    31853353echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3186 echo "configure:3187: checking for $ac_word" >&5
     3354echo "configure:3355: checking for $ac_word" >&5
    31873355if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
    31883356  echo $ac_n "(cached) $ac_c" 1>&6
     
    31913359  ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
    31923360else
    3193   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3361  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    31943362  ac_dummy="$PATH"
    31953363  for ac_dir in $ac_dummy; do
    31963364    test -z "$ac_dir" && ac_dir=.
    3197     if test -f $ac_dir/$ac_word; then
     3365    if test -f $ac_dir/$ac_word -o \
     3366            -f $ac_dir/$ac_word$ac_exeext ; then
    31983367      ac_cv_prog_OBJCOPY="${ncn_tool_prefix}objcopy"
    31993368      break
     
    32173386set dummy objcopy; ac_word=$2
    32183387echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3219 echo "configure:3220: checking for $ac_word" >&5
     3388echo "configure:3389: checking for $ac_word" >&5
    32203389if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_OBJCOPY'+set}'`\" = set"; then
    32213390  echo $ac_n "(cached) $ac_c" 1>&6
     
    32243393  ac_cv_prog_ncn_cv_OBJCOPY="$ncn_cv_OBJCOPY" # Let the user override the test.
    32253394else
    3226   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3395  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    32273396  ac_dummy="$PATH"
    32283397  for ac_dir in $ac_dummy; do
    32293398    test -z "$ac_dir" && ac_dir=.
    3230     if test -f $ac_dir/$ac_word; then
     3399    if test -f $ac_dir/$ac_word -o \
     3400            -f $ac_dir/$ac_word$ac_exeext ; then
    32313401      ac_cv_prog_ncn_cv_OBJCOPY="objcopy"
    32323402      break
     
    32563426set dummy ${ncn_tool_prefix}objdump; ac_word=$2
    32573427echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3258 echo "configure:3259: checking for $ac_word" >&5
     3428echo "configure:3429: checking for $ac_word" >&5
    32593429if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
    32603430  echo $ac_n "(cached) $ac_c" 1>&6
     
    32633433  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
    32643434else
    3265   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3435  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    32663436  ac_dummy="$PATH"
    32673437  for ac_dir in $ac_dummy; do
    32683438    test -z "$ac_dir" && ac_dir=.
    3269     if test -f $ac_dir/$ac_word; then
     3439    if test -f $ac_dir/$ac_word -o \
     3440            -f $ac_dir/$ac_word$ac_exeext ; then
    32703441      ac_cv_prog_OBJDUMP="${ncn_tool_prefix}objdump"
    32713442      break
     
    32893460set dummy objdump; ac_word=$2
    32903461echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3291 echo "configure:3292: checking for $ac_word" >&5
     3462echo "configure:3463: checking for $ac_word" >&5
    32923463if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_OBJDUMP'+set}'`\" = set"; then
    32933464  echo $ac_n "(cached) $ac_c" 1>&6
     
    32963467  ac_cv_prog_ncn_cv_OBJDUMP="$ncn_cv_OBJDUMP" # Let the user override the test.
    32973468else
    3298   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3469  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    32993470  ac_dummy="$PATH"
    33003471  for ac_dir in $ac_dummy; do
    33013472    test -z "$ac_dir" && ac_dir=.
    3302     if test -f $ac_dir/$ac_word; then
     3473    if test -f $ac_dir/$ac_word -o \
     3474            -f $ac_dir/$ac_word$ac_exeext ; then
    33033475      ac_cv_prog_ncn_cv_OBJDUMP="objdump"
    33043476      break
     
    33373509set dummy ${ncn_target_tool_prefix}ar; ac_word=$2
    33383510echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3339 echo "configure:3340: checking for $ac_word" >&5
     3511echo "configure:3512: checking for $ac_word" >&5
    33403512if eval "test \"`echo '$''{'ac_cv_prog_AR_FOR_TARGET'+set}'`\" = set"; then
    33413513  echo $ac_n "(cached) $ac_c" 1>&6
     
    33443516  ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
    33453517else
    3346   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3518  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    33473519  ac_dummy="$PATH"
    33483520  for ac_dir in $ac_dummy; do
    33493521    test -z "$ac_dir" && ac_dir=.
    3350     if test -f $ac_dir/$ac_word; then
     3522    if test -f $ac_dir/$ac_word -o \
     3523            -f $ac_dir/$ac_word$ac_exeext ; then
    33513524      ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}ar"
    33523525      break
     
    33703543set dummy ar; ac_word=$2
    33713544echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3372 echo "configure:3373: checking for $ac_word" >&5
     3545echo "configure:3546: checking for $ac_word" >&5
    33733546if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AR_FOR_TARGET'+set}'`\" = set"; then
    33743547  echo $ac_n "(cached) $ac_c" 1>&6
     
    33773550  ac_cv_prog_ncn_cv_AR_FOR_TARGET="$ncn_cv_AR_FOR_TARGET" # Let the user override the test.
    33783551else
    3379   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3552  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    33803553  ac_dummy="$PATH"
    33813554  for ac_dir in $ac_dummy; do
    33823555    test -z "$ac_dir" && ac_dir=.
    3383     if test -f $ac_dir/$ac_word; then
     3556    if test -f $ac_dir/$ac_word -o \
     3557            -f $ac_dir/$ac_word$ac_exeext ; then
    33843558      ac_cv_prog_ncn_cv_AR_FOR_TARGET="ar"
    33853559      break
     
    34093583set dummy ${ncn_target_tool_prefix}as; ac_word=$2
    34103584echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3411 echo "configure:3412: checking for $ac_word" >&5
     3585echo "configure:3586: checking for $ac_word" >&5
    34123586if eval "test \"`echo '$''{'ac_cv_prog_AS_FOR_TARGET'+set}'`\" = set"; then
    34133587  echo $ac_n "(cached) $ac_c" 1>&6
     
    34163590  ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
    34173591else
    3418   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3592  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    34193593  ac_dummy="$PATH"
    34203594  for ac_dir in $ac_dummy; do
    34213595    test -z "$ac_dir" && ac_dir=.
    3422     if test -f $ac_dir/$ac_word; then
     3596    if test -f $ac_dir/$ac_word -o \
     3597            -f $ac_dir/$ac_word$ac_exeext ; then
    34233598      ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}as"
    34243599      break
     
    34423617set dummy as; ac_word=$2
    34433618echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3444 echo "configure:3445: checking for $ac_word" >&5
     3619echo "configure:3620: checking for $ac_word" >&5
    34453620if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AS_FOR_TARGET'+set}'`\" = set"; then
    34463621  echo $ac_n "(cached) $ac_c" 1>&6
     
    34493624  ac_cv_prog_ncn_cv_AS_FOR_TARGET="$ncn_cv_AS_FOR_TARGET" # Let the user override the test.
    34503625else
    3451   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3626  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    34523627  ac_dummy="$PATH"
    34533628  for ac_dir in $ac_dummy; do
    34543629    test -z "$ac_dir" && ac_dir=.
    3455     if test -f $ac_dir/$ac_word; then
     3630    if test -f $ac_dir/$ac_word -o \
     3631            -f $ac_dir/$ac_word$ac_exeext ; then
    34563632      ac_cv_prog_ncn_cv_AS_FOR_TARGET="as"
    34573633      break
     
    34813657set dummy ${ncn_target_tool_prefix}dlltool; ac_word=$2
    34823658echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3483 echo "configure:3484: checking for $ac_word" >&5
     3659echo "configure:3660: checking for $ac_word" >&5
    34843660if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
    34853661  echo $ac_n "(cached) $ac_c" 1>&6
     
    34883664  ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
    34893665else
    3490   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3666  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    34913667  ac_dummy="$PATH"
    34923668  for ac_dir in $ac_dummy; do
    34933669    test -z "$ac_dir" && ac_dir=.
    3494     if test -f $ac_dir/$ac_word; then
     3670    if test -f $ac_dir/$ac_word -o \
     3671            -f $ac_dir/$ac_word$ac_exeext ; then
    34953672      ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}dlltool"
    34963673      break
     
    35143691set dummy dlltool; ac_word=$2
    35153692echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3516 echo "configure:3517: checking for $ac_word" >&5
     3693echo "configure:3694: checking for $ac_word" >&5
    35173694if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
    35183695  echo $ac_n "(cached) $ac_c" 1>&6
     
    35213698  ac_cv_prog_ncn_cv_DLLTOOL_FOR_TARGET="$ncn_cv_DLLTOOL_FOR_TARGET" # Let the user override the test.
    35223699else
    3523   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3700  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    35243701  ac_dummy="$PATH"
    35253702  for ac_dir in $ac_dummy; do
    35263703    test -z "$ac_dir" && ac_dir=.
    3527     if test -f $ac_dir/$ac_word; then
     3704    if test -f $ac_dir/$ac_word -o \
     3705            -f $ac_dir/$ac_word$ac_exeext ; then
    35283706      ac_cv_prog_ncn_cv_DLLTOOL_FOR_TARGET="dlltool"
    35293707      break
     
    35533731set dummy ${ncn_target_tool_prefix}ld; ac_word=$2
    35543732echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3555 echo "configure:3556: checking for $ac_word" >&5
     3733echo "configure:3734: checking for $ac_word" >&5
    35563734if eval "test \"`echo '$''{'ac_cv_prog_LD_FOR_TARGET'+set}'`\" = set"; then
    35573735  echo $ac_n "(cached) $ac_c" 1>&6
     
    35603738  ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
    35613739else
    3562   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3740  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    35633741  ac_dummy="$PATH"
    35643742  for ac_dir in $ac_dummy; do
    35653743    test -z "$ac_dir" && ac_dir=.
    3566     if test -f $ac_dir/$ac_word; then
     3744    if test -f $ac_dir/$ac_word -o \
     3745            -f $ac_dir/$ac_word$ac_exeext ; then
    35673746      ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}ld"
    35683747      break
     
    35863765set dummy ld; ac_word=$2
    35873766echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3588 echo "configure:3589: checking for $ac_word" >&5
     3767echo "configure:3768: checking for $ac_word" >&5
    35893768if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_LD_FOR_TARGET'+set}'`\" = set"; then
    35903769  echo $ac_n "(cached) $ac_c" 1>&6
     
    35933772  ac_cv_prog_ncn_cv_LD_FOR_TARGET="$ncn_cv_LD_FOR_TARGET" # Let the user override the test.
    35943773else
    3595   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3774  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    35963775  ac_dummy="$PATH"
    35973776  for ac_dir in $ac_dummy; do
    35983777    test -z "$ac_dir" && ac_dir=.
    3599     if test -f $ac_dir/$ac_word; then
     3778    if test -f $ac_dir/$ac_word -o \
     3779            -f $ac_dir/$ac_word$ac_exeext ; then
    36003780      ac_cv_prog_ncn_cv_LD_FOR_TARGET="ld"
    36013781      break
     
    36253805set dummy ${ncn_target_tool_prefix}nm; ac_word=$2
    36263806echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3627 echo "configure:3628: checking for $ac_word" >&5
     3807echo "configure:3808: checking for $ac_word" >&5
    36283808if eval "test \"`echo '$''{'ac_cv_prog_NM_FOR_TARGET'+set}'`\" = set"; then
    36293809  echo $ac_n "(cached) $ac_c" 1>&6
     
    36323812  ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
    36333813else
    3634   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3814  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    36353815  ac_dummy="$PATH"
    36363816  for ac_dir in $ac_dummy; do
    36373817    test -z "$ac_dir" && ac_dir=.
    3638     if test -f $ac_dir/$ac_word; then
     3818    if test -f $ac_dir/$ac_word -o \
     3819            -f $ac_dir/$ac_word$ac_exeext ; then
    36393820      ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}nm"
    36403821      break
     
    36583839set dummy nm; ac_word=$2
    36593840echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3660 echo "configure:3661: checking for $ac_word" >&5
     3841echo "configure:3842: checking for $ac_word" >&5
    36613842if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_NM_FOR_TARGET'+set}'`\" = set"; then
    36623843  echo $ac_n "(cached) $ac_c" 1>&6
     
    36653846  ac_cv_prog_ncn_cv_NM_FOR_TARGET="$ncn_cv_NM_FOR_TARGET" # Let the user override the test.
    36663847else
    3667   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3848  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    36683849  ac_dummy="$PATH"
    36693850  for ac_dir in $ac_dummy; do
    36703851    test -z "$ac_dir" && ac_dir=.
    3671     if test -f $ac_dir/$ac_word; then
     3852    if test -f $ac_dir/$ac_word -o \
     3853            -f $ac_dir/$ac_word$ac_exeext ; then
    36723854      ac_cv_prog_ncn_cv_NM_FOR_TARGET="nm"
    36733855      break
     
    36973879set dummy ${ncn_target_tool_prefix}ranlib; ac_word=$2
    36983880echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3699 echo "configure:3700: checking for $ac_word" >&5
     3881echo "configure:3882: checking for $ac_word" >&5
    37003882if eval "test \"`echo '$''{'ac_cv_prog_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    37013883  echo $ac_n "(cached) $ac_c" 1>&6
     
    37043886  ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
    37053887else
    3706   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3888  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    37073889  ac_dummy="$PATH"
    37083890  for ac_dir in $ac_dummy; do
    37093891    test -z "$ac_dir" && ac_dir=.
    3710     if test -f $ac_dir/$ac_word; then
     3892    if test -f $ac_dir/$ac_word -o \
     3893            -f $ac_dir/$ac_word$ac_exeext ; then
    37113894      ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}ranlib"
    37123895      break
     
    37303913set dummy ranlib; ac_word=$2
    37313914echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3732 echo "configure:3733: checking for $ac_word" >&5
     3915echo "configure:3916: checking for $ac_word" >&5
    37333916if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    37343917  echo $ac_n "(cached) $ac_c" 1>&6
     
    37373920  ac_cv_prog_ncn_cv_RANLIB_FOR_TARGET="$ncn_cv_RANLIB_FOR_TARGET" # Let the user override the test.
    37383921else
    3739   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3922  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    37403923  ac_dummy="$PATH"
    37413924  for ac_dir in $ac_dummy; do
    37423925    test -z "$ac_dir" && ac_dir=.
    3743     if test -f $ac_dir/$ac_word; then
     3926    if test -f $ac_dir/$ac_word -o \
     3927            -f $ac_dir/$ac_word$ac_exeext ; then
    37443928      ac_cv_prog_ncn_cv_RANLIB_FOR_TARGET="ranlib"
    37453929      break
     
    37693953set dummy ${ncn_target_tool_prefix}windres; ac_word=$2
    37703954echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3771 echo "configure:3772: checking for $ac_word" >&5
     3955echo "configure:3956: checking for $ac_word" >&5
    37723956if eval "test \"`echo '$''{'ac_cv_prog_WINDRES_FOR_TARGET'+set}'`\" = set"; then
    37733957  echo $ac_n "(cached) $ac_c" 1>&6
     
    37763960  ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
    37773961else
    3778   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3962  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    37793963  ac_dummy="$PATH"
    37803964  for ac_dir in $ac_dummy; do
    37813965    test -z "$ac_dir" && ac_dir=.
    3782     if test -f $ac_dir/$ac_word; then
     3966    if test -f $ac_dir/$ac_word -o \
     3967            -f $ac_dir/$ac_word$ac_exeext ; then
    37833968      ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}windres"
    37843969      break
     
    38023987set dummy windres; ac_word=$2
    38033988echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3804 echo "configure:3805: checking for $ac_word" >&5
     3989echo "configure:3990: checking for $ac_word" >&5
    38053990if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_WINDRES_FOR_TARGET'+set}'`\" = set"; then
    38063991  echo $ac_n "(cached) $ac_c" 1>&6
     
    38093994  ac_cv_prog_ncn_cv_WINDRES_FOR_TARGET="$ncn_cv_WINDRES_FOR_TARGET" # Let the user override the test.
    38103995else
    3811   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3996  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    38123997  ac_dummy="$PATH"
    38133998  for ac_dir in $ac_dummy; do
    38143999    test -z "$ac_dir" && ac_dir=.
    3815     if test -f $ac_dir/$ac_word; then
     4000    if test -f $ac_dir/$ac_word -o \
     4001            -f $ac_dir/$ac_word$ac_exeext ; then
    38164002      ac_cv_prog_ncn_cv_WINDRES_FOR_TARGET="windres"
    38174003      break
     
    38694055
    38704056echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    3871 echo "configure:3872: checking whether to enable maintainer-specific portions of Makefiles" >&5
     4057echo "configure:4058: checking whether to enable maintainer-specific portions of Makefiles" >&5
    38724058# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    38734059if test "${enable_maintainer_mode+set}" = set; then
     
    39634149s%\$%$$%g
    39644150EOF
    3965 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
     4151DEFS=`sed -f conftest.defs confdefs.h | tr '\012\015' ' '`
    39664152rm -f conftest.defs
    39674153
     
    39774163# Run this file to recreate the current configuration.
    39784164# This directory was configured as follows,
     4165EOF
     4166echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS
     4167cat >> $CONFIG_STATUS <<EOF
    39794168# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    39804169#
     
    40014190
    40024191ac_given_srcdir=$srcdir
     4192PATHIFS="$PATH_IFS"
    40034193
    40044194trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     
    40114201$ac_vpsub
    40124202$extrasub
     4203s,\([^a-zA-Z0-9:]\)/bin/sh\(.exe\),\1${CONFIG_SHELL-/bin/sh}\2,g
    40134204s%@SHELL@%$SHELL%g
    40144205s%@CFLAGS@%$CFLAGS%g
     
    40344225s%@infodir@%$infodir%g
    40354226s%@mandir@%$mandir%g
     4227s%@PATH_IFS@%$PATH_IFS%g
     4228s%@EXEEXT@%$EXEEXT%g
    40364229s%@host@%$host%g
    40374230s%@host_alias@%$host_alias%g
     
    42164409      if test -z "$ac_dots"; then top_srcdir=.
    42174410      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
    4218   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
     4411  /* | [A-Za-z]:*)
     4412    srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
    42194413  *) # Relative path.
    42204414    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
     
    42324426  esac
    42334427
    4234   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     4428  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%$PATHIFS% $ac_given_srcdir/%g"`
    42354429  sed -e "$ac_comsub
    42364430s%@configure_input@%$configure_input%g
  • trunk/src/binutils/gas/configure

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r618 r619  
    12981298  enableval="$enable_shared"
    12991299  p=${PACKAGE-default}
    1300 case "$enableval" in
     1300case $enableval in
    13011301yes) enable_shared=yes ;;
    13021302no) enable_shared=no ;;
     
    13211321  enableval="$enable_static"
    13221322  p=${PACKAGE-default}
    1323 case "$enableval" in
     1323case $enableval in
    13241324yes) enable_static=yes ;;
    13251325no) enable_static=no ;;
     
    13441344  enableval="$enable_fast_install"
    13451345  p=${PACKAGE-default}
    1346 case "$enableval" in
     1346case $enableval in
    13471347yes) enable_fast_install=yes ;;
    13481348no) enable_fast_install=no ;;
     
    13721372
    13731373ac_prog=ld
    1374 if test "$ac_cv_prog_gcc" = yes; then
     1374if test "$GCC" = yes; then
    13751375  # Check if gcc -print-prog-name=ld gives a path.
    13761376  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
     
    13831383    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    13841384  esac
    1385   case "$ac_prog" in
     1385  case $ac_prog in
    13861386    # Accept absolute paths.
    13871387    [\\/]* | [A-Za-z]:[\\/]*)
     
    14101410echo "configure:1411: checking for non-GNU ld" >&5
    14111411fi
    1412 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
     1412if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
    14131413  echo $ac_n "(cached) $ac_c" 1>&6
    14141414else
     
    14181418    test -z "$ac_dir" && ac_dir=.
    14191419    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    1420       ac_cv_path_LD="$ac_dir/$ac_prog"
     1420      lt_cv_path_LD="$ac_dir/$ac_prog"
    14211421      # Check to see if the program is GNU ld.  I'd rather use --version,
    14221422      # but apparently some GNU ld's only accept -v.
    14231423      # Break only if it was the GNU/non-GNU ld that we prefer.
    1424       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
     1424      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
    14251425        test "$with_gnu_ld" != no && break
    14261426      else
     
    14311431  IFS="$ac_save_ifs"
    14321432else
    1433   ac_cv_path_LD="$LD" # Let the user override the test with a path.
    1434 fi
    1435 fi
    1436 
    1437 LD="$ac_cv_path_LD"
     1433  lt_cv_path_LD="$LD" # Let the user override the test with a path.
     1434fi
     1435fi
     1436
     1437LD="$lt_cv_path_LD"
    14381438if test -n "$LD"; then
    14391439  echo "$ac_t""$LD" 1>&6
     
    14441444echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
    14451445echo "configure:1446: checking if the linker ($LD) is GNU ld" >&5
    1446 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
     1446if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
    14471447  echo $ac_n "(cached) $ac_c" 1>&6
    14481448else
    14491449  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    14501450if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
    1451   ac_cv_prog_gnu_ld=yes
    1452 else
    1453   ac_cv_prog_gnu_ld=no
    1454 fi
    1455 fi
    1456 
    1457 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
    1458 with_gnu_ld=$ac_cv_prog_gnu_ld
     1451  lt_cv_prog_gnu_ld=yes
     1452else
     1453  lt_cv_prog_gnu_ld=no
     1454fi
     1455fi
     1456
     1457echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
     1458with_gnu_ld=$lt_cv_prog_gnu_ld
    14591459
    14601460
     
    14731473echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
    14741474echo "configure:1475: checking for BSD-compatible nm" >&5
    1475 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
     1475if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
    14761476  echo $ac_n "(cached) $ac_c" 1>&6
    14771477else
    14781478  if test -n "$NM"; then
    14791479  # Let the user override the test.
    1480   ac_cv_path_NM="$NM"
     1480  lt_cv_path_NM="$NM"
    14811481else
    14821482  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
     
    14901490      # Tru64's nm complains that /dev/null is an invalid object file
    14911491      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
    1492         ac_cv_path_NM="$tmp_nm -B"
     1492        lt_cv_path_NM="$tmp_nm -B"
    14931493        break
    14941494      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
    1495         ac_cv_path_NM="$tmp_nm -p"
     1495        lt_cv_path_NM="$tmp_nm -p"
    14961496        break
    14971497      else
    1498         ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
     1498        lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    14991499        continue # so that we can try to find one that supports BSD flags
    15001500      fi
     
    15021502  done
    15031503  IFS="$ac_save_ifs"
    1504   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
    1505 fi
    1506 fi
    1507 
    1508 NM="$ac_cv_path_NM"
     1504  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
     1505fi
     1506fi
     1507
     1508NM="$lt_cv_path_NM"
    15091509echo "$ac_t""$NM" 1>&6
    15101510
     
    15551555# whether `pass_all' will *always* work, you probably want this one.
    15561556
    1557 case "$host_os" in
    1558 aix4*)
     1557case $host_os in
     1558aix*)
    15591559  lt_cv_deplibs_check_method=pass_all
    15601560  ;;
     
    15651565
    15661566bsdi4*)
    1567     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
    1568     lt_cv_file_magic_cmd='/usr/bin/file -L'
     1567  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
     1568  lt_cv_file_magic_cmd='/usr/bin/file -L'
    15691569  lt_cv_file_magic_test_file=/shlib/libc.so
    15701570  ;;
     
    15751575  ;;
    15761576
     1577darwin* | rhapsody*)
     1578  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
     1579  lt_cv_file_magic_cmd='/usr/bin/file -L'
     1580  case "$host_os" in
     1581  rhapsody* | darwin1.012)
     1582    lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
     1583    ;;
     1584  *) # Darwin 1.3 on
     1585    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
     1586    ;;
     1587  esac
     1588  ;;
     1589
    15771590freebsd* )
    15781591  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    1579     case "$host_cpu" in
     1592    case $host_cpu in
    15801593    i*86 )
    15811594      # Not sure whether the presence of OpenBSD here was a mistake.
    15821595      # Let's accept both of them until this is cleared up.
    1583             lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
    1584             lt_cv_file_magic_cmd=/usr/bin/file
     1596      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
     1597      lt_cv_file_magic_cmd=/usr/bin/file
    15851598      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
    15861599      ;;
     
    15951608  ;;
    15961609
    1597 hpux10.20*)
    1598   # TODO:  Does this work for hpux-11 too?
    1599   lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
    1600   lt_cv_file_magic_cmd=/usr/bin/file
    1601   lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1610hpux10.20*|hpux11*)
     1611  case $host_cpu in
     1612  hppa*)
     1613    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
     1614    lt_cv_file_magic_cmd=/usr/bin/file
     1615    lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1616    ;;
     1617  ia64*)
     1618    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     1619    lt_cv_file_magic_cmd=/usr/bin/file
     1620    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     1621    ;;
     1622  esac
    16021623  ;;
    16031624
    16041625irix5* | irix6*)
    1605   case "$host_os" in
     1626  case $host_os in
    16061627  irix5*)
    16071628    # this will be overridden with pass_all, but let us keep it just in case
     
    16091630    ;;
    16101631  *)
    1611     case "$LD" in
     1632    case $LD in
    16121633    *-32|*"-32 ") libmagic=32-bit;;
    16131634    *-n32|*"-n32 ") libmagic=N32;;
     
    16161637    esac
    16171638    # this will be overridden with pass_all, but let us keep it just in case
    1618         lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
    1619         ;;
     1639    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
     1640    ;;
    16201641  esac
    16211642  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
     
    16251646# This must be Linux ELF.
    16261647linux-gnu*)
    1627   case "$host_cpu" in
    1628   alpha* | i*86 | powerpc* | sparc* | ia64* )
     1648  case $host_cpu in
     1649  alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    16291650    lt_cv_deplibs_check_method=pass_all ;;
    16301651  *)
    16311652    # glibc up to 2.1.1 does not perform some relocations on ARM
    1632         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
    1633       esac
     1653    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
     1654  esac
    16341655  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    16351656  ;;
    16361657
    16371658netbsd*)
    1638   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
     1659  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     1660    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
    16391661  else
    1640         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
    1641         lt_cv_file_magic_cmd='/usr/bin/file -L'
    1642     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1662    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
    16431663  fi
     1664  ;;
     1665
     1666os2*)
     1667  lt_cv_deplibs_check_method=pass_all
     1668  ;;
     1669
     1670newsos6)
     1671  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
     1672  lt_cv_file_magic_cmd=/usr/bin/file
     1673  lt_cv_file_magic_test_file=/usr/lib/libnls.so
    16441674  ;;
    16451675
     
    16601690  ;;
    16611691
     1692sysv5uw[78]* | sysv4*uw2*)
     1693  lt_cv_deplibs_check_method=pass_all
     1694  ;;
     1695
    16621696sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    1663   case "$host_vendor" in
     1697  case $host_vendor in
    16641698  ncr)
    16651699    lt_cv_deplibs_check_method=pass_all
    16661700    ;;
    16671701  motorola)
    1668         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]'
    1669         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1702    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]'
     1703    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
    16701704    ;;
    16711705  esac
     
    16801714
    16811715echo $ac_n "checking for object suffix""... $ac_c" 1>&6
    1682 echo "configure:1683: checking for object suffix" >&5
     1716echo "configure:1717: checking for object suffix" >&5
    16831717if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
    16841718  echo $ac_n "(cached) $ac_c" 1>&6
     
    16861720  rm -f conftest*
    16871721echo 'int i = 1;' > conftest.$ac_ext
    1688 if { (eval echo configure:1689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1722if { (eval echo configure:1723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    16891723  for ac_file in conftest.*; do
    16901724    case $ac_file in
     
    17121746
    17131747# Only perform the check for file, if the check method requires it
    1714 case "$deplibs_check_method" in
     1748case $deplibs_check_method in
    17151749file_magic*)
    17161750  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    17171751    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
    1718 echo "configure:1719: checking for ${ac_tool_prefix}file" >&5
     1752echo "configure:1753: checking for ${ac_tool_prefix}file" >&5
    17191753if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    17201754  echo $ac_n "(cached) $ac_c" 1>&6
    17211755else
    1722   case "$MAGIC_CMD" in
     1756  case $MAGIC_CMD in
    17231757  /*)
    17241758  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    17361770      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
    17371771      if test -n "$file_magic_test_file"; then
    1738         case "$deplibs_check_method" in
     1772        case $deplibs_check_method in
    17391773        "file_magic "*)
    17401774          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    17781812  if test -n "$ac_tool_prefix"; then
    17791813    echo $ac_n "checking for file""... $ac_c" 1>&6
    1780 echo "configure:1781: checking for file" >&5
     1814echo "configure:1815: checking for file" >&5
    17811815if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    17821816  echo $ac_n "(cached) $ac_c" 1>&6
    17831817else
    1784   case "$MAGIC_CMD" in
     1818  case $MAGIC_CMD in
    17851819  /*)
    17861820  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    17981832      lt_cv_path_MAGIC_CMD="$ac_dir/file"
    17991833      if test -n "$file_magic_test_file"; then
    1800         case "$deplibs_check_method" in
     1834        case $deplibs_check_method in
    18011835        "file_magic "*)
    18021836          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    18491883set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    18501884echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1851 echo "configure:1852: checking for $ac_word" >&5
     1885echo "configure:1886: checking for $ac_word" >&5
    18521886if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    18531887  echo $ac_n "(cached) $ac_c" 1>&6
     
    18821916set dummy ranlib; ac_word=$2
    18831917echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1884 echo "configure:1885: checking for $ac_word" >&5
     1918echo "configure:1919: checking for $ac_word" >&5
    18851919if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    18861920  echo $ac_n "(cached) $ac_c" 1>&6
     
    19181952set dummy ${ac_tool_prefix}strip; ac_word=$2
    19191953echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1920 echo "configure:1921: checking for $ac_word" >&5
     1954echo "configure:1955: checking for $ac_word" >&5
    19211955if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    19221956  echo $ac_n "(cached) $ac_c" 1>&6
     
    19511985set dummy strip; ac_word=$2
    19521986echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1953 echo "configure:1954: checking for $ac_word" >&5
     1987echo "configure:1988: checking for $ac_word" >&5
    19541988if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    19551989  echo $ac_n "(cached) $ac_c" 1>&6
     
    19902024test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
    19912025test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
    1992 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
    1993 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
     2026test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
     2027test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
    19942028
    19952029
     
    20162050# Some flags need to be propagated to the compiler or linker for good
    20172051# libtool support.
    2018 case "$host" in
     2052case $host in
    20192053*-*-irix6*)
    20202054  # Find out which ABI we are using.
    2021   echo '#line 2022 "configure"' > conftest.$ac_ext
    2022   if { (eval echo configure:2023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    2023     case "`/usr/bin/file conftest.o`" in
     2055  echo '#line 2056 "configure"' > conftest.$ac_ext
     2056  if { (eval echo configure:2057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2057   if test "$lt_cv_prog_gnu_ld" = yes; then
     2058    case `/usr/bin/file conftest.$ac_objext` in
     2059    *32-bit*)
     2060      LD="${LD-ld} -melf32bsmip"
     2061      ;;
     2062    *N32*)
     2063      LD="${LD-ld} -melf32bmipn32"
     2064      ;;
     2065    *64-bit*)
     2066      LD="${LD-ld} -melf64bmip"
     2067      ;;
     2068    esac
     2069   else
     2070    case `/usr/bin/file conftest.$ac_objext` in
    20242071    *32-bit*)
    20252072      LD="${LD-ld} -32"
     
    20322079      ;;
    20332080    esac
     2081   fi
     2082  fi
     2083  rm -rf conftest*
     2084  ;;
     2085
     2086ia64-*-hpux*)
     2087  # Find out which ABI we are using.
     2088  echo 'int i;' > conftest.$ac_ext
     2089  if { (eval echo configure:2090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2090    case "`/usr/bin/file conftest.o`" in
     2091    *ELF-32*)
     2092      HPUX_IA64_MODE="32"
     2093      ;;
     2094    *ELF-64*)
     2095      HPUX_IA64_MODE="64"
     2096      ;;
     2097    esac
    20342098  fi
    20352099  rm -rf conftest*
     
    20412105  CFLAGS="$CFLAGS -belf"
    20422106  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    2043 echo "configure:2044: checking whether the C compiler needs -belf" >&5
     2107echo "configure:2108: checking whether the C compiler needs -belf" >&5
    20442108if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    20452109  echo $ac_n "(cached) $ac_c" 1>&6
     
    20542118
    20552119     cat > conftest.$ac_ext <<EOF
    2056 #line 2057 "configure"
     2120#line 2121 "configure"
    20572121#include "confdefs.h"
    20582122
     
    20612125; return 0; }
    20622126EOF
    2063 if { (eval echo configure:2064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2127if { (eval echo configure:2128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    20642128  rm -rf conftest*
    20652129  lt_cv_cc_needs_belf=yes
     
    21712235exec 5>>./config.log
    21722236
    2173 
    21742237 
    21752238
     
    22102273using_cgen=no
    22112274
    2212 build_warnings="-W -Wall"
     2275build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
    22132276# Check whether --enable-build-warnings or --disable-build-warnings was given.
    22142277if test "${enable_build_warnings+set}" = set; then
     
    22422305GDBINIT=".gdbinit"
    22432306case "${host}" in
    2244   *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
     2307  *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-windows*)
    22452308    GDBINIT="gdb.ini"
    22462309    ;;
     
    22952358    case ${cpu} in
    22962359      alpha*)           cpu_type=alpha ;;
    2297       armeb)            cpu_type=arm endian=big ;;
    2298       arm*)             cpu_type=arm endian=little ;;
    2299       armb*)            cpu_type=arm endian=little ;;
    2300       armv*l)           cpu_type=arm endian=little ;;
    2301       armv*b)           cpu_type=arm endian=big ;;
    2302       xscale*)          cpu_type=arm endian=little ;;
    2303       strongarm*)       cpu_type=arm endian=little ;;
    2304       thumb*)           cpu_type=arm endian=little ;;
     2360      arm*b|xscale*b|strongarm*b) cpu_type=arm endian=big ;;
     2361      arm*|xscale*|strongarm*)    cpu_type=arm endian=little ;;
    23052362      hppa*)            cpu_type=hppa ;;
    23062363      i[3456]86)        cpu_type=i386 arch=i386;;
    23072364      x86_64)           cpu_type=i386 arch=x86_64;;
    23082365      ia64)             cpu_type=ia64 ;;
     2366      ip2k)             cpu_type=ip2k endian=big ;;
     2367      iq2000)           cpu_type=iq2000 endian=big ;;
    23092368      m6811|m6812|m68hc12) cpu_type=m68hc11 ;;
    23102369      m680[012346]0)    cpu_type=m68k ;;
     
    23152374      mips*el)          cpu_type=mips endian=little ;;
    23162375      mips*)            cpu_type=mips endian=big ;;
     2376      or32*)            cpu_type=or32 endian=big ;;
    23172377      pjl*)             cpu_type=pj endian=little ;;
    23182378      pj*)              cpu_type=pj endian=big ;;
    2319       powerpcle*)       cpu_type=ppc endian=little ;;
     2379      powerpc*le*)      cpu_type=ppc endian=little ;;
    23202380      powerpc*)         cpu_type=ppc endian=big ;;
    23212381      rs6000*)          cpu_type=ppc ;;
     2382      s390x*)           cpu_type=s390 arch=s390x ;;
     2383      s390*)            cpu_type=s390 arch=s390 ;;
     2384      sh5*)             cpu_type=sh64 endian=big ;;
     2385      sh5le*)           cpu_type=sh64 endian=little ;;
     2386      sh64*)            cpu_type=sh64 endian=big ;;
     2387      sh64le*)          cpu_type=sh64 endian=little ;;
     2388      sh*le)            cpu_type=sh endian=little ;;
     2389      sh*)              cpu_type=sh endian=big ;;
    23222390      sparclite*)       cpu_type=sparc arch=sparclite ;;
    23232391      sparclet*)        cpu_type=sparc arch=sparclet ;;
     
    23262394      sparc*)           cpu_type=sparc arch=sparclite ;; # ??? See tc-sparc.c.
    23272395      v850*)            cpu_type=v850 ;;
     2396      xtensa*)          cpu_type=xtensa arch=xtensa ;;
    23282397      *)                cpu_type=${cpu} ;;
    23292398    esac
     
    23422411    # assign object format
    23432412    case ${generic_target} in
    2344       a29k-*-coff)          fmt=coff ;;
    2345       a29k-amd-udi)         fmt=coff ;;
    2346       a29k-amd-ebmon)       fmt=coff ;;
    2347       a29k-nyu-sym1)        fmt=coff ;;
    2348       a29k-*-rtems*)        fmt=coff ;;
    2349       a29k-*-vxworks*)      fmt=coff ;;
    2350 
    2351       alpha*-*-*vms*)       fmt=evax ;;
    2352       alpha*-*-netware*)    fmt=ecoff ;;
    2353       alpha*-*-openbsd*)    fmt=ecoff ;;
    2354       alpha*-*-osf*)        fmt=ecoff ;;
    2355       alpha*-*-linuxecoff*) fmt=ecoff ;;
    2356       alpha*-*-linux-gnu*)  fmt=elf em=linux ;;
    2357       alpha*-*-netbsd*)     fmt=elf em=nbsd ;;
    2358 
    2359       arc-*-elf*)           fmt=elf bfd_gas=yes ;;
    2360 
    2361       arm-*-aout)                       fmt=aout ;;
    2362       arm-*-coff | thumb-*-coff)        fmt=coff ;;
    2363       arm-*-rtems | thumb-*-rtems)      fmt=elf ;;
    2364       arm-*-elf | thumb-*-elf)          fmt=elf ;;
     2413      a29k-*-coff)                      fmt=coff ;;
     2414      a29k-amd-udi)                     fmt=coff ;;
     2415      a29k-amd-ebmon)                   fmt=coff ;;
     2416      a29k-nyu-sym1)                    fmt=coff ;;
     2417      a29k-*-rtems*)                    fmt=coff ;;
     2418      a29k-*-vxworks*)                  fmt=coff ;;
     2419
     2420      alpha*-*-*vms*)                   fmt=evax ;;
     2421      alpha*-*-netware*)                fmt=ecoff ;;
     2422      alpha*-*-osf*)                    fmt=ecoff ;;
     2423      alpha*-*-linuxecoff*)             fmt=ecoff ;;
     2424      alpha*-*-linux-gnu*)              fmt=elf em=linux ;;
     2425      alpha*-*-netbsd*)                 fmt=elf em=nbsd ;;
     2426      alpha*-*-openbsd*)                fmt=elf em=obsd ;;
     2427
     2428      arc-*-elf*)                       fmt=elf ;;
     2429
     2430      arm-*-aout)                       fmt=aout ;;
     2431      arm-*-coff | thumb-*-coff)        fmt=coff ;;
     2432      arm-*-rtems | thumb-*-rtems)      fmt=elf ;;
     2433      arm-*-elf | thumb-*-elf)          fmt=elf ;;
     2434      arm-*-kaos*)                      fmt=elf ;;
    23652435      arm*-*-conix*)                    fmt=elf ;;
    2366       arm-*-linux*aout*)                fmt=aout em=linux ;;
    2367       arm*-*-linux-gnu* | arm*-*-uclinux*)     
    2368                                         fmt=elf  em=linux ;;
    2369       arm-*-netbsd*)                    fmt=aout em=nbsd ;;
    2370       arm-*-oabi | thumb-*-oabi)        fmt=elf ;;
    2371       arm-epoc-pe | thumb-epoc-pe)      fmt=coff em=epoc-pe ;;
     2436      arm-*-linux*aout*)                fmt=aout em=linux ;;
     2437      arm*-*-linux-gnu*)                fmt=elf  em=linux ;;
     2438      arm*-*-uclinux*)                  fmt=elf  em=linux ;;
     2439      arm-*-netbsdelf*)                 fmt=elf  em=nbsd ;;
     2440      arm-*-*n*bsd*)                    fmt=aout em=nbsd ;;
     2441      arm-**-nto*)                      fmt=elf ;;
     2442      arm-*-oabi | thumb-*-oabi)        fmt=elf ;;
     2443      arm-epoc-pe | thumb-epoc-pe)      fmt=coff em=epoc-pe ;;
    23722444      arm-*-wince)                      fmt=coff em=wince-pe ;;
    2373       arm-*-pe | thumb-*-pe)            fmt=coff em=pe ;;
    2374       arm-*-riscix*)                    fmt=aout em=riscix ;;
    2375       arm-*-vxworks)                    fmt=coff ;;
    2376 
    2377       avr-*-*)              fmt=elf bfd_gas=yes ;;
    2378 
    2379       cris-*-*)             fmt=multi bfd_gas=yes ;;
    2380 
    2381       d10v-*-*)             fmt=elf bfd_gas=yes ;;
    2382       d30v-*-*)             fmt=elf bfd_gas=yes ;;
    2383 
    2384 
    2385       fr30-*-*)             fmt=elf bfd_gas=yes ;;
    2386 
    2387       hppa-*-linux-gnu*)    case ${cpu} in
    2388                                 hppa*64*)
    2389                                         fmt=elf em=hppalinux64;;
    2390                                 hppa*)
    2391                                         fmt=elf em=linux;;
    2392                             esac ;;
    2393       hppa-*-*elf*)         fmt=elf em=hppa ;;
    2394       hppa-*-lites*)        fmt=elf em=hppa ;;
    2395       hppa-*-osf*)          fmt=som em=hppa ;;
    2396       hppa-*-rtems*)        fmt=elf em=hppa ;;
    2397       hppa-*-hpux11*)       case ${cpu} in
    2398                                 hppa*64*)
    2399                                         fmt=elf em=hppa64 ;;
    2400                                 hppa*)
    2401                                         fmt=som em=hppa ;;
    2402                             esac ;;
    2403       hppa-*-hpux*)         fmt=som em=hppa ;;
    2404       hppa-*-mpeix*)        fmt=som em=hppa ;;
    2405       hppa-*-bsd*)          fmt=som em=hppa ;;
    2406       hppa-*-hiux*)         fmt=som em=hppa ;;
    2407 
    2408       h8300-*-rtems*)       fmt=coff ;;
    2409       h8300-*-coff)         fmt=coff ;;
    2410       h8500-*-rtems*)       fmt=coff ;;
    2411       h8500-*-coff)         fmt=coff ;;
    2412 
    2413       i370-*-elf* | i370-*-linux*) fmt=elf ;;
    2414       i386-ibm-aix*)        fmt=coff em=i386aix ;;
    2415       i386-sequent-bsd*)    fmt=aout em=dynix bfd_gas=yes ;;
    2416       i386-*-beospe*)       fmt=coff em=pe bfd_gas=yes ;;
    2417       i386-*-beoself* | i386-*-beos*) fmt=elf bfd_gas=yes ;;
    2418       i386-*-bsd*)          fmt=aout em=386bsd ;;
    2419       i386-*-netbsd0.8)     fmt=aout em=386bsd ;;
    2420       i386-*-netbsd*)       fmt=aout em=nbsd bfd_gas=yes;;
    2421       i386-*-openbsd*)      fmt=aout em=nbsd bfd_gas=yes;;
    2422       i386-*-linux*aout* | i386-*-linux*oldld)   fmt=aout em=linux ;;
    2423       i386-*-linux*coff*)   fmt=coff em=linux ;;
    2424       i386-*-linux-gnu*)    fmt=elf em=linux bfd_gas=yes ;;
    2425       x86_64-*-linux-gnu*)  fmt=elf em=linux bfd_gas=yes ;;
    2426       i386-*-lynxos*)       fmt=coff em=lynx ;;
    2427       i386-*-sysv[45]* | i386-*-solaris* | i386-*-elf)
    2428                             fmt=elf bfd_gas=yes ;;
    2429       i386-*-freebsdaout* | i386-*-freebsd[12].* | i386-*-freebsd[12])
    2430                             fmt=aout em=386bsd ;;
    2431       i386-*-coff | i386-*-sysv* | i386-*-sco3.2v5*coff | i386-*-isc*)
    2432                           fmt=coff ;;
    2433       i386-*-sco3.2v5*)      fmt=elf
    2434                             if test ${this_target} = $target; then
    2435                                 cat >> confdefs.h <<\EOF
     2445      arm-*-pe | thumb-*-pe)            fmt=coff em=pe ;;
     2446      arm-*-riscix*)                    fmt=aout em=riscix ;;
     2447      arm-*-vxworks)                    fmt=coff ;;
     2448
     2449      avr-*-*)                          fmt=elf ;;
     2450
     2451      cris-*-*)                         fmt=multi bfd_gas=yes ;;
     2452
     2453      d10v-*-*)                         fmt=elf ;;
     2454      d30v-*-*)                         fmt=elf ;;
     2455      dlx-*-*)                          fmt=elf ;;
     2456
     2457      fr30-*-*)                         fmt=elf ;;
     2458      frv-*-*)                          fmt=elf ;;
     2459
     2460      hppa-*-linux*)    case ${cpu} in
     2461                            hppa*64*)   fmt=elf em=hppalinux64;;
     2462                            hppa*)      fmt=elf em=linux;;
     2463                        esac ;;
     2464      hppa-*-*elf*)                     fmt=elf em=hppa ;;
     2465      hppa-*-lites*)                    fmt=elf em=hppa ;;
     2466      hppa-*-netbsd*)                   fmt=elf em=nbsd ;;
     2467      hppa-*-openbsd*)                  fmt=elf em=hppa ;;
     2468      hppa-*-osf*)                      fmt=som em=hppa ;;
     2469      hppa-*-rtems*)                    fmt=elf em=hppa ;;
     2470      hppa-*-hpux11*)   case ${cpu} in
     2471                            hppa*64*)   fmt=elf em=hppa64 ;;
     2472                            hppa*)      fmt=som em=hppa ;;
     2473                        esac ;;
     2474      hppa-*-hpux*)                     fmt=som em=hppa ;;
     2475      hppa-*-mpeix*)                    fmt=som em=hppa ;;
     2476      hppa-*-bsd*)                      fmt=som em=hppa ;;
     2477      hppa-*-hiux*)                     fmt=som em=hppa ;;
     2478
     2479      h8300-*-rtems*)                   fmt=coff ;;
     2480      h8300-*-coff)                     fmt=coff ;;
     2481      h8300-*-elf)                      fmt=elf ;;
     2482      h8500-*-rtems*)                   fmt=coff ;;
     2483      h8500-*-coff)                     fmt=coff ;;
     2484
     2485      i370-*-elf* | i370-*-linux*)      fmt=elf ;;
     2486      i386-ibm-aix*)                    fmt=coff em=i386aix ;;
     2487      i386-sequent-bsd*)                fmt=aout em=dynix ;;
     2488      i386-*-beospe*)                   fmt=coff em=pe ;;
     2489      i386-*-beos*)                     fmt=elf ;;
     2490      i386-*-coff)                      fmt=coff ;;
     2491      i386-*-elf)                       fmt=elf ;;
     2492      i386-*-kaos*)                     fmt=elf ;;
     2493      i386-*-bsd*)                      fmt=aout em=386bsd ;;
     2494      i386-*-netbsd0.8)                 fmt=aout em=386bsd ;;
     2495      i386-*-netbsdpe*)                 fmt=coff em=pe ;;
     2496      i386-*-netbsdelf*)                fmt=elf em=nbsd ;;
     2497      i386-*-*n*bsd*)   case ${cpu} in
     2498                            x86_64)     fmt=elf em=nbsd ;;
     2499                            *)          fmt=aout em=nbsd ;;
     2500                        esac ;;
     2501      i386-*-linux*aout*)               fmt=aout em=linux ;;
     2502      i386-*-linux*oldld)               fmt=aout em=linux ;;
     2503      i386-*-linux*coff*)               fmt=coff em=linux ;;
     2504      i386-*-linux-gnu*)                fmt=elf em=linux ;;
     2505      x86_64-*-linux-gnu*)              fmt=elf em=linux ;;
     2506      i386-*-lynxos*)                   fmt=coff em=lynx ;;
     2507      i386-*-sysv[45]*)                 fmt=elf ;;
     2508      i386-*-solaris*)                  fmt=elf ;;
     2509      i386-*-freebsdaout*)              fmt=aout em=386bsd ;;
     2510      i386-*-freebsd[12].*)             fmt=aout em=386bsd ;;
     2511      i386-*-freebsd[12])               fmt=aout em=386bsd ;;
     2512      i386-*-sysv*)                     fmt=coff ;;
     2513      i386-*-sco3.2v5*coff)             fmt=coff ;;
     2514      i386-*-isc*)                      fmt=coff ;;
     2515      i386-*-sco3.2v5*)                 fmt=elf
     2516          if test ${this_target} = $target; then
     2517            cat >> confdefs.h <<\EOF
    24362518#define SCO_ELF 1
    24372519EOF
    24382520
    2439                             fi
    2440                             ;;
    2441       i386-*-sco3.2*)       fmt=coff ;;
    2442       i386-*-vsta)          fmt=aout ;;
    2443       i386-*-msdosdjgpp* | i386-*-go32* | i386-go32-rtems*)
    2444                             fmt=coff em=go32 bfd_gas=yes
    2445                             cat >> confdefs.h <<\EOF
     2521          fi ;;
     2522      i386-*-sco3.2*)                   fmt=coff ;;
     2523      i386-*-vsta)                      fmt=aout ;;
     2524      i386-*-msdosdjgpp* \
     2525      | i386-*-go32* \
     2526      | i386-go32-rtems*)               fmt=coff em=go32
     2527            cat >> confdefs.h <<\EOF
    24462528#define STRICTCOFF 1
    24472529EOF
    2448 
    2449                             ;;
    2450       i386-*-rtemself*)     fmt=elf ;;
    2451       i386-*-rtems*)        fmt=coff ;;
    2452       i386-*-gnu*)          fmt=elf ;;
    2453       i386-*-mach*)
    2454                             fmt=aout em=mach bfd_gas=yes ;;
    2455       i386-*-msdos*)        fmt=aout ;;
    2456       i386-*-moss*)         fmt=elf ;;
    2457       i386-*-pe)            fmt=coff em=pe bfd_gas=yes ;;
    2458       i386-*-cygwin*)       fmt=coff em=pe bfd_gas=yes ;;
    2459       i386-*-interix*)      fmt=coff em=interix bfd_gas=yes ;;
    2460       i386-*-mingw32*)      fmt=coff em=pe bfd_gas=yes ;;
    2461       i386-*-*nt*)          fmt=coff em=pe bfd_gas=yes ;;
     2530 ;;
     2531      i386-*-rtemself*)                 fmt=elf ;;
     2532      i386-*-rtemscoff*)                fmt=coff ;;
     2533      i386-*-rtems*)                    fmt=elf ;;
     2534      i386-*-gnu*)                      fmt=elf ;;
     2535      i386-*-mach*)                     fmt=aout em=mach ;;
     2536      i386-*-msdos*)                    fmt=aout ;;
     2537      i386-*-moss*)                     fmt=elf ;;
     2538      i386-*-pe)                        fmt=coff em=pe ;;
     2539      i386-*-cygwin*)                   fmt=coff em=pe ;;
     2540      i386-*-interix*)                  fmt=coff em=interix ;;
     2541      i386-*-mingw32*)                  fmt=coff em=pe ;;
     2542      i386-*-nto-qnx*)                  fmt=elf ;;
     2543      i386-*-*nt*)                      fmt=coff em=pe ;;
    24622544      i386-*-os2*)          fmt=aout em=emx bfd_gas=yes ;;
    2463       i386-*-vxworks*)      fmt=aout ;;
    2464       i386-*-chaos)         fmt=elf ;;
    2465       i860-stardent-sysv4* | i860-stardent-elf*)
    2466                             fmt=elf bfd_gas=yes endian=little
    2467                             echo "configure: warning: GAS support for ${generic_target} is preliminary and a work in progress" 1>&2 ;;
    2468       i960-*-bout)          fmt=bout ;;
    2469       i960-*-coff)          fmt=coff em=ic960 ;;
    2470       i960-*-rtems*)        fmt=coff em=ic960 ;;
    2471       i960-*-nindy*)        fmt=bout ;;
    2472       i960-*-vxworks4*)     fmt=bout ;;
    2473       i960-*-vxworks5.0)    fmt=bout ;;
    2474       i960-*-vxworks5.*)    fmt=coff em=ic960 ;;
    2475       i960-*-vxworks*)      fmt=bout ;;
    2476       i960-*-elf*)          fmt=elf ;;
    2477 
    2478       ia64-*-elf*)          fmt=elf ;;
    2479       ia64-*-linux-gnu*)    fmt=elf em=linux ;;
    2480       ia64-*-hpux*)         fmt=elf em=hpux ;;
    2481 
    2482       m32r-*-*)             fmt=elf bfd_gas=yes ;;
    2483 
    2484       m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)fmt=elf bfd_gas=yes ;;
    2485 
    2486       m68k-*-vxworks* | m68k-ericsson-ose | m68k-*-sunos*)
    2487                             fmt=aout em=sun3 ;;
    2488       m68k-motorola-sysv*)  fmt=coff em=delta ;;
    2489       m68k-bull-sysv3*)     fmt=coff em=dpx2 ;;
    2490       m68k-apollo-*)        fmt=coff em=apollo ;;
    2491       m68k-*-sysv4*) # must be before -sysv*
    2492                             fmt=elf em=svr4 ;;
    2493       m68k-*-elf*)          fmt=elf ;;
    2494       m68k-*-coff | m68k-*-sysv* | m68k-*-rtems*)
    2495                             fmt=coff ;;
    2496       m68k-*-hpux*)         fmt=hp300 em=hp300 ;;
    2497       m68k-*-linux*aout*)   fmt=aout em=linux ;;
    2498       m68k-*-linux-gnu*)    fmt=elf em=linux ;;
    2499       m68k-*-gnu*)          fmt=elf ;;
    2500       m68k-*-lynxos*)       fmt=coff em=lynx ;;
    2501       m68k-*-netbsd*)       fmt=aout em=nbsd bfd_gas=yes ;;
    2502       m68k-*-openbsd*)      fmt=aout em=nbsd bfd_gas=yes ;;
    2503       m68k-apple-aux*)      fmt=coff em=aux ;;
    2504       m68k-*-psos*)         fmt=elf em=psos;;
    2505 
    2506       m88k-motorola-sysv3*) fmt=coff em=delt88 ;;
    2507       m88k-*-coff*)         fmt=coff ;;
    2508 
    2509       mcore-*-elf)          fmt=elf bfd_gas=yes ;;
    2510       mcore-*-pe)           fmt=coff em=pe bfd_gas=yes ;;
     2545      i386-*-vxworks*)                  fmt=aout ;;
     2546      i386-*-chaos)                     fmt=elf ;;
     2547
     2548      i860-*-*)                         fmt=elf endian=little
     2549                echo "configure: warning: GAS support for ${generic_target} is preliminary and a work in progress" 1>&2 ;;
     2550      i960-*-bout)                      fmt=bout ;;
     2551      i960-*-coff)                      fmt=coff em=ic960 ;;
     2552      i960-*-rtems*)                    fmt=coff em=ic960 ;;
     2553      i960-*-nindy*)                    fmt=bout ;;
     2554      i960-*-vxworks5.0)                fmt=bout ;;
     2555      i960-*-vxworks5.*)                fmt=coff em=ic960 ;;
     2556      i960-*-vxworks*)                  fmt=bout ;;
     2557      i960-*-elf*)                      fmt=elf ;;
     2558
     2559      ia64-*-elf*)                      fmt=elf ;;
     2560      ia64-*-aix*)                      fmt=elf em=ia64aix ;;
     2561      ia64-*-linux-gnu*)                fmt=elf em=linux ;;
     2562      ia64-*-hpux*)                     fmt=elf em=hpux ;;
     2563      ia64-*-netbsd*)                   fmt=elf em=nbsd ;;
     2564
     2565      ip2k-*-*)                         fmt=elf ;;
     2566
     2567      iq2000-*-elf)                     fmt=elf bfd_gas=yes ;;
     2568
     2569      m32r-*-*)                         fmt=elf ;;
     2570
     2571      m68hc11-*-* | m6811-*-*)          fmt=elf ;;
     2572      m68hc12-*-* | m6812-*-*)          fmt=elf ;;
     2573
     2574      m68k-*-vxworks*)                  fmt=aout em=sun3 ;;
     2575      m68k-ericsson-ose)                fmt=aout em=sun3 ;;
     2576      m68k-*-sunos*)                    fmt=aout em=sun3 ;;
     2577      m68k-motorola-sysv*)              fmt=coff em=delta ;;
     2578      m68k-bull-sysv3*)                 fmt=coff em=dpx2 ;;
     2579      m68k-apollo-*)                    fmt=coff em=apollo ;;
     2580      m68k-*-elf*)                      fmt=elf ;;
     2581      m68k-*-sysv4*)                    fmt=elf em=svr4 ;;
     2582      m68k-*-sysv*)                     fmt=coff ;;
     2583      m68k-*-coff | m68k-*-rtemscoff*)  fmt=coff ;;
     2584      m68k-*-rtems*)                    fmt=elf ;;
     2585      m68k-*-hpux*)                     fmt=hp300 em=hp300 ;;
     2586      m68k-*-linux*aout*)               fmt=aout em=linux ;;
     2587      m68k-*-linux-gnu*)                fmt=elf em=linux ;;
     2588      m68k-*-gnu*)                      fmt=elf ;;
     2589      m68k-*-lynxos*)                   fmt=coff em=lynx ;;
     2590      m68k-*-netbsdelf*)                fmt=elf em=nbsd ;;
     2591      m68k-*-netbsd*)                   fmt=aout em=nbsd bfd_gas=yes ;;
     2592      m68k-*-openbsd*)                  fmt=aout em=nbsd bfd_gas=yes ;;
     2593      m68k-apple-aux*)                  fmt=coff em=aux ;;
     2594      m68k-*-psos*)                     fmt=elf em=psos;;
     2595
     2596      m88k-motorola-sysv3*)             fmt=coff em=delt88 ;;
     2597      m88k-*-coff*)                     fmt=coff ;;
     2598
     2599      mcore-*-elf)                      fmt=elf ;;
     2600      mcore-*-pe)                       fmt=coff em=pe bfd_gas=yes ;;
    25112601
    25122602      # don't change em like *-*-bsd does
    2513       mips-dec-netbsd*)     fmt=elf endian=little ;;
    2514       mips-dec-openbsd*)    fmt=elf endian=little ;;
    2515       mips-dec-bsd*)        fmt=aout endian=little ;;
    2516       mips-sony-bsd*)       fmt=ecoff ;;
    2517       mips-*-bsd*)          { echo "configure: error: Unknown vendor for mips-bsd configuration." 1>&2; exit 1; } ;;
    2518       mips-*-ultrix*)       fmt=ecoff endian=little ;;
    2519       mips-*-osf*)          fmt=ecoff endian=little ;;
    2520       mips-*-ecoff*)        fmt=ecoff ;;
    2521       mips-*-pe*)           fmt=coff endian=little em=pe ;;
    2522       mips-*-irix6*)        fmt=elf ;;
    2523       mips-*-irix5*)        fmt=elf ;;
    2524       mips-*-irix*)         fmt=ecoff ;;
    2525       mips-*-lnews*)        fmt=ecoff em=lnews ;;
    2526       mips-*-riscos*)       fmt=ecoff ;;
    2527       mips-*-linux-gnu*)
    2528                             fmt=elf em=tmips
    2529                             cat >> confdefs.h <<\EOF
    2530 #define MIPS_STABS_ELF 1
    2531 EOF
    2532 
    2533                             ;;
    2534       mips-*-sysv4*MP* | mips-*-gnu*)
    2535                             fmt=elf em=tmips ;;
    2536       mips-*-sysv*)         fmt=ecoff ;;
    2537       mips-*-elf* | mips-*-rtems* | mips-*-openbsd*)
    2538                             fmt=elf ;;
    2539       mips-*-vxworks*)      fmt=elf
    2540                             cat >> confdefs.h <<\EOF
    2541 #define MIPS_STABS_ELF 1
    2542 EOF
    2543 
    2544                             ;;
    2545       mn10200-*-*)          fmt=elf bfd_gas=yes ;;
    2546       mn10300-*-*)          fmt=elf bfd_gas=yes ;;
    2547       pj*)                  fmt=elf ;;
    2548       ppc-*-pe | ppc-*-cygwin* | ppc-*-winnt*)
    2549                             fmt=coff em=pe ;;
    2550       ppc-*-aix*)           fmt=coff ;;
    2551       ppc-*-beos*)          fmt=coff ;;
    2552       ppc-*-*bsd* | ppc-*-elf* | ppc-*-eabi* | ppc-*-sysv4*)
    2553                             fmt=elf ;;
    2554       ppc-*-linux-gnu*)     fmt=elf
    2555                             case "$endian" in
    2556                             big)  ;;
    2557                             *)    { echo "configure: error: GNU/Linux must be configured big endian" 1>&2; exit 1; } ;;
    2558                             esac
    2559                             ;;
    2560       ppc-*-solaris*)       fmt=elf
    2561                             if test ${this_target} = $target; then
    2562                                 cat >> confdefs.h <<\EOF
     2603      mips-dec-openbsd*)                fmt=elf endian=little ;;
     2604      mips-dec-bsd*)                    fmt=aout endian=little ;;
     2605      mips-sony-bsd*)                   fmt=ecoff ;;
     2606      mips-*-bsd*)
     2607            { echo "configure: error: Unknown vendor for mips-bsd configuration." 1>&2; exit 1; } ;;
     2608      mips-*-ultrix*)                   fmt=ecoff endian=little ;;
     2609      mips-*-osf*)                      fmt=ecoff endian=little ;;
     2610      mips-*-ecoff*)                    fmt=ecoff ;;
     2611      mips-*-pe*)                       fmt=coff endian=little em=pe ;;
     2612      mips-*-irix6*)                    fmt=elf em=irix ;;
     2613      mips-*-irix5*)                    fmt=elf em=irix ;;
     2614      mips-*-irix*)                     fmt=ecoff em=irix ;;
     2615      mips-*-lnews*)                    fmt=ecoff em=lnews ;;
     2616      mips-*-riscos*)                   fmt=ecoff ;;
     2617      mips*-*-linux*)                   fmt=elf em=tmips ;;
     2618      mips-*-sysv4*MP* | mips-*-gnu*)   fmt=elf em=tmips ;;
     2619      mips-*-sysv*)                     fmt=ecoff ;;
     2620      mips-*-elf* | mips-*-rtems*)      fmt=elf ;;
     2621      mips-*-netbsd*)                   fmt=elf ;;
     2622      mips-*-openbsd*)                  fmt=elf ;;
     2623      mips-*-vxworks*)                  fmt=elf ;;
     2624
     2625      mmix-*-*)                         fmt=elf ;;
     2626      mn10200-*-*)                      fmt=elf ;;
     2627      mn10300-*-*)                      fmt=elf ;;
     2628      msp430-*-*)                       fmt=elf ;;
     2629      openrisc-*-*)                     fmt=elf ;;
     2630      or32-*-rtems*)                    fmt=coff ;;
     2631      or32-*-coff)                      fmt=coff ;;
     2632      or32-*-elf)                       fmt=elf ;;
     2633      pj*)                              fmt=elf ;;
     2634
     2635      ppc-*-pe | ppc-*-cygwin*)         fmt=coff em=pe ;;
     2636      ppc-*-winnt*)                     fmt=coff em=pe ;;
     2637      ppc-*-aix5*)                      fmt=coff em=aix5 ;;
     2638      ppc-*-aix*)                       fmt=coff ;;
     2639      ppc-*-beos*)                      fmt=coff ;;
     2640      ppc-*-*n*bsd* | ppc-*-elf*)       fmt=elf ;;
     2641      ppc-*-eabi* | ppc-*-sysv4*)       fmt=elf ;;
     2642      ppc-*-linux-gnu*)                 fmt=elf
     2643            case "$endian" in
     2644                big)  ;;
     2645                *)    { echo "configure: error: GNU/Linux must be configured big endian" 1>&2; exit 1; } ;;
     2646            esac ;;
     2647      ppc-*-solaris*)                   fmt=elf
     2648            if test ${this_target} = $target; then
     2649                cat >> confdefs.h <<\EOF
    25632650#define TARGET_SOLARIS_COMMENT 1
    25642651EOF
    25652652
    2566                             fi
    2567                             if test x${endian} = xbig; then
    2568                                 { echo "configure: error: Solaris must be configured little endian" 1>&2; exit 1; }
    2569                             fi
    2570                             ;;
    2571       ppc-*-rtems*)         fmt=elf ;;
    2572       ppc-*-macos* | ppc-*-mpw*)
    2573                             fmt=coff em=macos ;;
    2574       ppc-*-netware*)       fmt=elf em=ppcnw ;;
    2575       ppc-*-vxworks*)       fmt=elf ;;
    2576 
    2577       sh-*-linux*)          fmt=elf em=linux ;;
    2578       sh-*-elf*)            fmt=elf ;;
    2579       sh-*-coff*)           fmt=coff ;;
    2580       sh-*-pe*)             fmt=coff em=pe bfd_gas=yes;;
    2581       sh-*-rtemself*)       fmt=elf ;;
    2582       sh-*-rtems*)          fmt=coff ;;
    2583 
    2584       ns32k-pc532-mach* | ns32k-pc532-ux*)    fmt=aout em=pc532mach ;;
    2585       ns32k-pc532-netbsd* | ns32k-pc532-lites*)  fmt=aout em=nbsd532 ;;
    2586       ns32k-pc532-openbsd*) fmt=aout em=nbsd532 ;;
    2587 
    2588       sparc-*-rtemsaout*)   fmt=aout ;;
    2589       sparc-*-rtemself*)    fmt=elf ;;
    2590       sparc-*-rtems*)       fmt=elf ;;
    2591       sparc-*-sunos4*)      fmt=aout em=sun3 ;;
    2592       sparc-*-aout | sparc*-*-vxworks*)
    2593                             fmt=aout em=sparcaout ;;
    2594       sparc-*-coff)         fmt=coff ;;
    2595       sparc-*-linux*aout*)  fmt=aout em=linux ;;
    2596       sparc-*-linux-gnu*)   fmt=elf em=linux ;;
    2597       sparc-*-lynxos*)      fmt=coff em=lynx ;;
    2598       sparc-fujitsu-none)   fmt=aout ;;
    2599       sparc-*-elf | sparc-*-sysv4* | sparc-*-solaris*)
    2600                             fmt=elf ;;
    2601       sparc-*-netbsd*)      em=nbsd bfd_gas=yes
    2602                             case ${cpu} in
    2603                                 sparc) case ${os} in
    2604                                            *elf*) fmt=elf ;;
    2605                                            *)     fmt=aout ;;
    2606                                        esac ;;
    2607                                 sparc64) fmt=elf ;;
    2608                             esac
    2609                             ;;
    2610       sparc-*-openbsd*)     fmt=aout em=nbsd ;;
    2611 
    2612       strongarm-*-coff)     fmt=coff ;;
    2613       strongarm-*-elf)      fmt=elf ;;
    2614       xscale-*-coff)     fmt=coff ;;
    2615       xscale-*-elf)      fmt=elf ;;
    2616 
    2617       tic30-*-*aout*)       fmt=aout bfd_gas=yes ;;
    2618       tic30-*-*coff*)       fmt=coff bfd_gas=yes ;;
    2619       tic54x-*-* | c54x*-*-*)
    2620                             fmt=coff bfd_gas=yes need_libm=yes;;
    2621       tic80-*-*)            fmt=coff ;;
    2622 
    2623       v850-*-*)             fmt=elf bfd_gas=yes ;;
    2624       v850e-*-*)            fmt=elf bfd_gas=yes ;;
    2625       v850ea-*-*)           fmt=elf bfd_gas=yes ;;
    2626 
    2627       vax-*-bsd* | vax-*-ultrix*)
    2628                             fmt=aout ;;
    2629       vax-*-vms)            fmt=vms ;;
    2630 
    2631 
    2632       z8k-*-coff | z8k-*-sim)
    2633                             fmt=coff ;;
    2634 
    2635       w65-*-*)              fmt=coff ;;
    2636 
    2637       *-*-aout | *-*-scout)
    2638                             fmt=aout ;;
    2639       *-*-freebsd*)         fmt=elf em=freebsd bfd_gas=yes ;;
    2640       *-*-nindy*)
    2641                             fmt=bout ;;
    2642       *-*-bsd*)
    2643                             fmt=aout em=sun3 ;;
    2644       *-*-generic)          fmt=generic ;;
    2645       *-*-xray | *-*-hms)   fmt=coff ;;
    2646       *-*-sim)              fmt=coff ;;
    2647       *-*-elf | *-*-sysv4* | *-*-solaris*)
    2648                             echo "configure: warning: GAS support for ${generic_target} is incomplete." 1>&2
    2649                             fmt=elf dev=yes ;;
    2650       *-*-vxworks)          fmt=aout ;;
    2651       *-*-netware)          fmt=elf ;;
     2653            fi
     2654            if test x${endian} = xbig; then
     2655                { echo "configure: error: Solaris must be configured little endian" 1>&2; exit 1; }
     2656            fi ;;
     2657      ppc-*-rtems*)                     fmt=elf ;;
     2658      ppc-*-macos* | ppc-*-mpw*)        fmt=coff em=macos ;;
     2659      ppc-*-netware*)                   fmt=elf em=ppcnw ;;
     2660      ppc-**-nto*)                      fmt=elf ;;
     2661      ppc-*-vxworks*)                   fmt=elf ;;
     2662      ppc-*-windiss*)                   fmt=elf ;;
     2663      ppc-*-kaos*)                      fmt=elf ;;
     2664
     2665      s390x-*-linux-gnu*)               fmt=elf em=linux ;;
     2666      s390-*-linux-gnu*)                fmt=elf em=linux ;;
     2667
     2668      sh*-*-linux*)                     fmt=elf em=linux
     2669            case ${cpu} in
     2670                sh*eb)  endian=big ;;
     2671                *)      endian=little ;;
     2672            esac ;;
     2673      sh5*-*-netbsd*)                   fmt=elf em=nbsd ;;
     2674      sh64*-*-netbsd*)                  fmt=elf em=nbsd ;;
     2675      sh*-*-netbsdelf*)                 fmt=elf em=nbsd ;;
     2676      sh-*-elf*)                        fmt=elf ;;
     2677      sh-*-coff*)                       fmt=coff ;;
     2678      sh-*-nto*)                        fmt=elf ;;
     2679      sh-*-pe*)                         fmt=coff em=pe bfd_gas=yes endian=little ;;
     2680      sh-*-rtemself*)                   fmt=elf ;;
     2681      sh-*-rtems*)                      fmt=coff ;;
     2682      sh-*-kaos*)                       fmt=elf ;;
     2683      shle*-*-kaos*)                    fmt=elf ;;
     2684      sh64-*-elf*)                      fmt=elf ;;
     2685
     2686      ns32k-pc532-mach*)                fmt=aout em=pc532mach ;;
     2687      ns32k-pc532-ux*)                  fmt=aout em=pc532mach ;;
     2688      ns32k-pc532-lites*)               fmt=aout em=nbsd532 ;;
     2689      ns32k-*-*n*bsd*)                  fmt=aout em=nbsd532 ;;
     2690
     2691      sparc-*-rtemsaout*)               fmt=aout ;;
     2692      sparc-*-rtemself*)                fmt=elf ;;
     2693      sparc-*-rtems*)                   fmt=elf ;;
     2694      sparc-*-sunos4*)                  fmt=aout em=sun3 ;;
     2695      sparc-*-aout | sparc*-*-vxworks*) fmt=aout em=sparcaout ;;
     2696      sparc-*-coff)                     fmt=coff ;;
     2697      sparc-*-linux*aout*)              fmt=aout em=linux ;;
     2698      sparc-*-linux-gnu*)               fmt=elf em=linux ;;
     2699      sparc-*-lynxos*)                  fmt=coff em=lynx ;;
     2700      sparc-fujitsu-none)               fmt=aout ;;
     2701      sparc-*-elf)                      fmt=elf ;;
     2702      sparc-*-sysv4*)                   fmt=elf ;;
     2703      sparc-*-solaris*)                 fmt=elf ;;
     2704      sparc-*-netbsdelf*)               fmt=elf em=nbsd ;;
     2705      sparc-*-*n*bsd*)  case ${cpu} in
     2706                            sparc64)    fmt=elf em=nbsd ;;
     2707                            *)          fmt=aout em=nbsd ;;
     2708                        esac ;;
     2709      strongarm-*-coff)                 fmt=coff ;;
     2710      strongarm-*-elf)                  fmt=elf ;;
     2711      strongarm-*-kaos*)                fmt=elf ;;
     2712      xscale-*-coff)                    fmt=coff ;;
     2713      xscale-*-elf)                     fmt=elf ;;
     2714
     2715      tic30-*-*aout*)                   fmt=aout bfd_gas=yes ;;
     2716      tic30-*-*coff*)                   fmt=coff bfd_gas=yes ;;
     2717      tic4x-*-* | c4x-*-*)              fmt=coff bfd_gas=yes ;;
     2718      tic54x-*-* | c54x*-*-*)           fmt=coff bfd_gas=yes need_libm=yes;;
     2719      tic80-*-*)                        fmt=coff ;;
     2720
     2721      v850-*-*)                         fmt=elf ;;
     2722      v850e-*-*)                        fmt=elf ;;
     2723      v850ea-*-*)                       fmt=elf ;;
     2724
     2725      vax-*-netbsdelf*)                 fmt=elf em=nbsd ;;
     2726      vax-*-netbsd*)                    fmt=aout em=nbsd ;;
     2727      vax-*-bsd* | vax-*-ultrix*)       fmt=aout ;;
     2728      vax-*-vms)                        fmt=vms ;;
     2729
     2730      w65-*-*)                          fmt=coff ;;
     2731
     2732      xstormy16-*-*)                    fmt=elf ;;
     2733
     2734      xtensa-*-*)                       fmt=elf ;;
     2735
     2736      z8k-*-coff | z8k-*-sim)           fmt=coff ;;
     2737
     2738      *-*-aout | *-*-scout)             fmt=aout ;;
     2739      *-*-freebsd*)                     fmt=elf em=freebsd ;;
     2740      *-*-nindy*)                       fmt=bout ;;
     2741      *-*-bsd*)                         fmt=aout em=sun3 ;;
     2742      *-*-generic)                      fmt=generic ;;
     2743      *-*-xray | *-*-hms)               fmt=coff ;;
     2744      *-*-sim)                          fmt=coff ;;
     2745      *-*-elf | *-*-sysv4* | *-*-solaris*) fmt=elf dev=yes ;;
     2746      *-*-aros*)                                fmt=elf em=linux bfd_gas=yes ;;
     2747      *-*-vxworks)                      fmt=aout ;;
     2748      *-*-netware)                      fmt=elf ;;
    26522749    esac
    26532750
     
    26682765
    26692766    case ${cpu_type}-${fmt} in
    2670       alpha*-*) bfd_gas=yes ;;
    2671       arm-*)    bfd_gas=yes ;;
    2672     # not yet
    2673     # i386-aout)        bfd_gas=preferred ;;
    2674       ia64*-*)  bfd_gas=yes ;;
    2675       mips-*)   bfd_gas=yes ;;
    2676       ns32k-*)  bfd_gas=yes ;;
    2677       ppc-*)    bfd_gas=yes ;;
    2678       sparc-*)  bfd_gas=yes ;;
    2679       strongarm-*)      bfd_gas=yes ;;
    2680       xscale-*) bfd_gas=yes ;;
    2681       *-elf)    bfd_gas=yes ;;
    2682       *-ecoff)  bfd_gas=yes ;;
    2683       *-som)    bfd_gas=yes ;;
    2684     #enable bfd for coff and aout to allow testing if a bfd target is
    2685     #the primary target, but not for coff or aout as the primary target
    2686       i386-coff)        if test x${primary_bfd_gas} = xyes; then bfd_gas=yes; fi ;;
    2687       i386-aout)        if test x${primary_bfd_gas} = xyes; then bfd_gas=yes; fi ;;
    2688       *)                ;;
     2767        alpha*-* | arm-* | i386-* | ia64*-* | mips-* | ns32k-* \
     2768                | pdp11-* | ppc-* | sparc-* | strongarm-* | xscale-* \
     2769                | *-elf | *-ecoff | *-som)
     2770            bfd_gas=yes ;;
    26892771    esac
    26902772
    26912773# Other random stuff.
     2774
     2775    case ${cpu_type} in
     2776      mips)
     2777        # Set mips_cpu to the name of the default CPU.
     2778        case ${target_cpu} in
     2779          mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el)
     2780            mips_cpu=from-abi
     2781            ;;
     2782          mipsisa32 | mipsisa32el)
     2783            mips_cpu=mips32
     2784            ;;
     2785          mipsisa32r2 | mipsisa32r2el)
     2786            mips_cpu=mips32r2
     2787            ;;
     2788          mipsisa64 | mipsisa64el)
     2789            mips_cpu=mips64
     2790            ;;
     2791          mipstx39 | mipstx39el)
     2792            mips_cpu=r3900
     2793            ;;
     2794          mips64vr | mips64vrel)
     2795            mips_cpu=vr4100
     2796            ;;
     2797          mipsisa32r2*)
     2798            mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
     2799            ;;
     2800          mips64* | mipsisa64* | mipsisa32*)
     2801            mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
     2802            ;;
     2803          *)
     2804            { echo "configure: error: $target_cpu isn't a supported MIPS CPU name" 1>&2; exit 1; }
     2805            ;;
     2806        esac
     2807        # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
     2808        # binaries.  It's a GNU extension that some OSes don't understand.
     2809        # The value only matters on ELF targets.
     2810        case ${target} in
     2811          *-*-irix*)
     2812            use_e_mips_abi_o32=0
     2813            ;;
     2814          *)
     2815            use_e_mips_abi_o32=1
     2816            ;;
     2817        esac
     2818        # Decide whether to generate 32-bit or 64-bit code by default.
     2819        # Used to resolve -march=from-abi when an embedded ABI is selected.
     2820        case ${target} in
     2821          mips64*-*-* | mipsisa64*-*-*)
     2822            mips_default_64bit=1
     2823            ;;
     2824          *)
     2825            mips_default_64bit=0
     2826            ;;
     2827        esac
     2828        # Decide which ABI to target by default.
     2829        case ${target} in
     2830          mips64*-linux* | mips-sgi-irix6*)
     2831            mips_default_abi=N32_ABI
     2832            ;;
     2833          mips*-linux*)
     2834            mips_default_abi=O32_ABI
     2835            ;;
     2836          *)
     2837            mips_default_abi=NO_ABI
     2838            ;;
     2839        esac
     2840        cat >> confdefs.h <<EOF
     2841#define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
     2842EOF
     2843
     2844        cat >> confdefs.h <<EOF
     2845#define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
     2846EOF
     2847
     2848        cat >> confdefs.h <<EOF
     2849#define MIPS_DEFAULT_64BIT $mips_default_64bit
     2850EOF
     2851
     2852        cat >> confdefs.h <<EOF
     2853#define MIPS_DEFAULT_ABI $mips_default_abi
     2854EOF
     2855
     2856        ;;
     2857    esac
    26922858
    26932859    # Do we need the opcodes library?
     
    27132879    # Any other special object files needed ?
    27142880    case ${cpu_type} in
    2715       fr30 | m32r)
     2881      fr30 | ip2k | iq2000 | m32r | openrisc)
    27162882        using_cgen=yes
    27172883        ;;
    27182884
     2885      frv)
     2886        using_cgen=yes
     2887        ;;
    27192888      m68k)
    27202889        case ${extra_objects} in
     
    27252894
    27262895      mips)
    2727         echo ${extra_objects} | grep -s "itbl-parse.o" 
     2896        echo ${extra_objects} | grep -s "itbl-parse.o"
    27282897        if test $? -ne 0 ; then
    27292898          extra_objects="$extra_objects itbl-parse.o"
    27302899        fi
    27312900
    2732         echo ${extra_objects} | grep -s "itbl-lex.o" 
     2901        echo ${extra_objects} | grep -s "itbl-lex.o"
    27332902        if test $? -ne 0 ; then
    27342903          extra_objects="$extra_objects itbl-lex.o"
    27352904        fi
    27362905
    2737         echo ${extra_objects} | grep -s "itbl-ops.o" 
     2906        echo ${extra_objects} | grep -s "itbl-ops.o"
    27382907        if test $? -ne 0 ; then
    27392908          extra_objects="$extra_objects itbl-ops.o"
     
    27412910        ;;
    27422911
    2743       i386)
     2912      i386 | s390 | sparc)
    27442913        if test $this_target = $target ; then
    27452914          cat >> confdefs.h <<EOF
     
    27492918        fi
    27502919        ;;
    2751       sparc)
    2752         if test $this_target = $target ; then
    2753           cat >> confdefs.h <<EOF
    2754 #define DEFAULT_ARCH "${arch}"
    2755 EOF
    2756 
     2920
     2921      xstormy16)
     2922        using_cgen=yes
     2923        ;;
     2924
     2925      xtensa)
     2926        echo ${extra_objects} | grep -s "xtensa-relax.o"
     2927        if test $? -ne 0 ; then
     2928          extra_objects="$extra_objects xtensa-relax.o"
    27572929        fi
    27582930        ;;
     2931
    27592932      *)
    27602933        ;;
     
    27882961    case ${generic_target}-${fmt} in
    27892962      mips-*-irix5*-*)  emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
    2790       mips-*-linux-gnu*-*) case "$endian" in
    2791                         big)    emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
    2792                         *)      emulation="mipslelf mipsbelf mipself mipslecoff mipsbecoff mipsecoff" ;;
     2963      mips*-*-linux*-*) case "$endian" in
     2964                        big)    emulation="mipsbelf mipslelf mipself" ;;
     2965                        *)      emulation="mipslelf mipsbelf mipself" ;;
    27932966                        esac ;;
    27942967      mips-*-lnews*-ecoff) ;;
     
    28453018case ${target_cpu} in
    28463019  vax | tahoe ) atof=${target_cpu} ;;
     3020  pdp11)        atof=vax ;;
    28473021  *)            atof=ieee ;;
    28483022esac
     
    31003274yes)
    31013275  BFDLIB=../bfd/libbfd.la
    3102   ALL_OBJ_DEPS="$ALL_OBJ_DEPS ../bfd/bfd.h"
     3276  BFDVER_H=../bfd/bfdver.h
     3277  ALL_OBJ_DEPS="$ALL_OBJ_DEPS"' ../bfd/bfd.h $(INCDIR)/symcat.h'
    31033278  ;;
    31043279esac
     3280
    31053281
    31063282
     
    31333309set dummy gcc; ac_word=$2
    31343310echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3135 echo "configure:3136: checking for $ac_word" >&5
     3311echo "configure:3312: checking for $ac_word" >&5
    31363312if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    31373313  echo $ac_n "(cached) $ac_c" 1>&6
     
    31643340set dummy cc; ac_word=$2
    31653341echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3166 echo "configure:3167: checking for $ac_word" >&5
     3342echo "configure:3343: checking for $ac_word" >&5
    31673343if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    31683344  echo $ac_n "(cached) $ac_c" 1>&6
     
    32173393set dummy cl; ac_word=$2
    32183394echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3219 echo "configure:3220: checking for $ac_word" >&5
     3395echo "configure:3396: checking for $ac_word" >&5
    32203396if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    32213397  echo $ac_n "(cached) $ac_c" 1>&6
     
    32503426
    32513427echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    3252 echo "configure:3253: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     3428echo "configure:3429: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    32533429
    32543430ac_ext=c
     
    32613437cat > conftest.$ac_ext << EOF
    32623438
    3263 #line 3264 "configure"
     3439#line 3440 "configure"
    32643440#include "confdefs.h"
    32653441
    32663442main(){return(0);}
    32673443EOF
    3268 if { (eval echo configure:3269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3444if { (eval echo configure:3445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    32693445  ac_cv_prog_cc_works=yes
    32703446  # If we can't run a trivial program, we are probably using a cross compiler.
     
    32923468fi
    32933469echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    3294 echo "configure:3295: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     3470echo "configure:3471: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    32953471echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    32963472cross_compiling=$ac_cv_prog_cc_cross
    32973473
    32983474echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    3299 echo "configure:3300: checking whether we are using GNU C" >&5
     3475echo "configure:3476: checking whether we are using GNU C" >&5
    33003476if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    33013477  echo $ac_n "(cached) $ac_c" 1>&6
     
    33063482#endif
    33073483EOF
    3308 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     3484if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    33093485  ac_cv_prog_gcc=yes
    33103486else
     
    33253501CFLAGS=
    33263502echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    3327 echo "configure:3328: checking whether ${CC-cc} accepts -g" >&5
     3503echo "configure:3504: checking whether ${CC-cc} accepts -g" >&5
    33283504if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    33293505  echo $ac_n "(cached) $ac_c" 1>&6
     
    33623538set dummy $ac_prog; ac_word=$2
    33633539echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3364 echo "configure:3365: checking for $ac_word" >&5
     3540echo "configure:3541: checking for $ac_word" >&5
    33653541if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
    33663542  echo $ac_n "(cached) $ac_c" 1>&6
     
    33943570
    33953571echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    3396 echo "configure:3397: checking how to run the C preprocessor" >&5
     3572echo "configure:3573: checking how to run the C preprocessor" >&5
    33973573# On Suns, sometimes $CPP names a directory.
    33983574if test -n "$CPP" && test -d "$CPP"; then
     
    34103586  cat > conftest.$ac_ext <<EOF
    34113587#include <sys/types.h>
    3412 #line 3413 "configure"
     3588#line 3589 "configure"
    34133589#include "confdefs.h"
    34143590#include <assert.h>
     
    34163592EOF
    34173593ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3418 { (eval echo configure:3419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3594{ (eval echo configure:3595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    34193595ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    34203596if test -z "$ac_err"; then
     
    34283604  cat > conftest.$ac_ext <<EOF
    34293605#include <sys/types.h>
    3430 #line 3431 "configure"
     3606#line 3607 "configure"
    34313607#include "confdefs.h"
    34323608#include <assert.h>
     
    34343610EOF
    34353611ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3436 { (eval echo configure:3437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3612{ (eval echo configure:3613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    34373613ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    34383614if test -z "$ac_err"; then
     
    34463622  cat > conftest.$ac_ext <<EOF
    34473623#include <sys/types.h>
    3448 #line 3449 "configure"
     3624#line 3625 "configure"
    34493625#include "confdefs.h"
    34503626#include <assert.h>
     
    34523628EOF
    34533629ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3454 { (eval echo configure:3455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3630{ (eval echo configure:3631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    34553631ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    34563632if test -z "$ac_err"; then
     
    34823658set dummy $ac_prog; ac_word=$2
    34833659echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3484 echo "configure:3485: checking for $ac_word" >&5
     3660echo "configure:3661: checking for $ac_word" >&5
    34853661if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    34863662  echo $ac_n "(cached) $ac_c" 1>&6
     
    35113687test -n "$LEX" && break
    35123688done
    3513 test -n "$LEX" || LEX=""$missing_dir/missing flex""
     3689test -n "$LEX" || LEX="$missing_dir/missing flex"
    35143690
    35153691# Extract the first word of "flex", so it can be a program name with args.
    35163692set dummy flex; ac_word=$2
    35173693echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3518 echo "configure:3519: checking for $ac_word" >&5
     3694echo "configure:3695: checking for $ac_word" >&5
    35193695if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    35203696  echo $ac_n "(cached) $ac_c" 1>&6
     
    35513727  esac
    35523728  echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
    3553 echo "configure:3554: checking for yywrap in -l$ac_lib" >&5
     3729echo "configure:3730: checking for yywrap in -l$ac_lib" >&5
    35543730ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
    35553731if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    35593735LIBS="-l$ac_lib  $LIBS"
    35603736cat > conftest.$ac_ext <<EOF
    3561 #line 3562 "configure"
     3737#line 3738 "configure"
    35623738#include "confdefs.h"
    35633739/* Override any gcc2 internal prototype to avoid an error.  */
     
    35703746; return 0; }
    35713747EOF
    3572 if { (eval echo configure:3573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3748if { (eval echo configure:3749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35733749  rm -rf conftest*
    35743750  eval "ac_cv_lib_$ac_lib_var=yes"
     
    35933769
    35943770echo $ac_n "checking lex output file root""... $ac_c" 1>&6
    3595 echo "configure:3596: checking lex output file root" >&5
     3771echo "configure:3772: checking lex output file root" >&5
    35963772if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
    35973773  echo $ac_n "(cached) $ac_c" 1>&6
     
    36143790
    36153791echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
    3616 echo "configure:3617: checking whether yytext is a pointer" >&5
     3792echo "configure:3793: checking whether yytext is a pointer" >&5
    36173793if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
    36183794  echo $ac_n "(cached) $ac_c" 1>&6
     
    36263802LIBS="$LIBS $LEXLIB"
    36273803cat > conftest.$ac_ext <<EOF
    3628 #line 3629 "configure"
     3804#line 3805 "configure"
    36293805#include "confdefs.h"
    36303806`cat $LEX_OUTPUT_ROOT.c`
     
    36333809; return 0; }
    36343810EOF
    3635 if { (eval echo configure:3636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3811if { (eval echo configure:3812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36363812  rm -rf conftest*
    36373813  ac_cv_prog_lex_yytext_pointer=yes
     
    36553831
    36563832
    3657 ALL_LINGUAS=
     3833ALL_LINGUAS="fr tr es"
    36583834# Extract the first word of "ranlib", so it can be a program name with args.
    36593835set dummy ranlib; ac_word=$2
    36603836echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3661 echo "configure:3662: checking for $ac_word" >&5
     3837echo "configure:3838: checking for $ac_word" >&5
    36623838if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    36633839  echo $ac_n "(cached) $ac_c" 1>&6
     
    36883864
    36893865echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    3690 echo "configure:3691: checking for ANSI C header files" >&5
     3866echo "configure:3867: checking for ANSI C header files" >&5
    36913867if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    36923868  echo $ac_n "(cached) $ac_c" 1>&6
     
    36943870  cat > conftest.$ac_ext <<EOF
    36953871#include <sys/types.h>
    3696 #line 3697 "configure"
     3872#line 3873 "configure"
    36973873#include "confdefs.h"
    36983874#include <stdlib.h>
     
    37023878EOF
    37033879ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3704 { (eval echo configure:3705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3880{ (eval echo configure:3881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    37053881ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    37063882if test -z "$ac_err"; then
     
    37193895  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    37203896cat > conftest.$ac_ext <<EOF
    3721 #line 3722 "configure"
     3897#line 3898 "configure"
    37223898#include "confdefs.h"
    37233899#include <string.h>
     
    37373913  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    37383914cat > conftest.$ac_ext <<EOF
    3739 #line 3740 "configure"
     3915#line 3916 "configure"
    37403916#include "confdefs.h"
    37413917#include <stdlib.h>
     
    37583934else
    37593935  cat > conftest.$ac_ext <<EOF
    3760 #line 3761 "configure"
     3936#line 3937 "configure"
    37613937#include "confdefs.h"
    37623938#include <ctype.h>
     
    37693945
    37703946EOF
    3771 if { (eval echo configure:3772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3947if { (eval echo configure:3948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    37723948then
    37733949  :
     
    37933969
    37943970echo $ac_n "checking for working const""... $ac_c" 1>&6
    3795 echo "configure:3796: checking for working const" >&5
     3971echo "configure:3972: checking for working const" >&5
    37963972if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    37973973  echo $ac_n "(cached) $ac_c" 1>&6
    37983974else
    37993975  cat > conftest.$ac_ext <<EOF
    3800 #line 3801 "configure"
     3976#line 3977 "configure"
    38013977#include "confdefs.h"
    38023978
     
    38474023; return 0; }
    38484024EOF
    3849 if { (eval echo configure:3850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4025if { (eval echo configure:4026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    38504026  rm -rf conftest*
    38514027  ac_cv_c_const=yes
     
    38684044
    38694045echo $ac_n "checking for inline""... $ac_c" 1>&6
    3870 echo "configure:3871: checking for inline" >&5
     4046echo "configure:4047: checking for inline" >&5
    38714047if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    38724048  echo $ac_n "(cached) $ac_c" 1>&6
     
    38754051for ac_kw in inline __inline__ __inline; do
    38764052  cat > conftest.$ac_ext <<EOF
    3877 #line 3878 "configure"
     4053#line 4054 "configure"
    38784054#include "confdefs.h"
    38794055
     
    38824058; return 0; }
    38834059EOF
    3884 if { (eval echo configure:3885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4060if { (eval echo configure:4061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    38854061  rm -rf conftest*
    38864062  ac_cv_c_inline=$ac_kw; break
     
    39084084
    39094085echo $ac_n "checking for off_t""... $ac_c" 1>&6
    3910 echo "configure:3911: checking for off_t" >&5
     4086echo "configure:4087: checking for off_t" >&5
    39114087if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
    39124088  echo $ac_n "(cached) $ac_c" 1>&6
    39134089else
    39144090  cat > conftest.$ac_ext <<EOF
    3915 #line 3916 "configure"
     4091#line 4092 "configure"
    39164092#include "confdefs.h"
    39174093#include <sys/types.h>
     
    39414117
    39424118echo $ac_n "checking for size_t""... $ac_c" 1>&6
    3943 echo "configure:3944: checking for size_t" >&5
     4119echo "configure:4120: checking for size_t" >&5
    39444120if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    39454121  echo $ac_n "(cached) $ac_c" 1>&6
    39464122else
    39474123  cat > conftest.$ac_ext <<EOF
    3948 #line 3949 "configure"
     4124#line 4125 "configure"
    39494125#include "confdefs.h"
    39504126#include <sys/types.h>
     
    39764152# for constant arguments.  Useless!
    39774153echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    3978 echo "configure:3979: checking for working alloca.h" >&5
     4154echo "configure:4155: checking for working alloca.h" >&5
    39794155if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    39804156  echo $ac_n "(cached) $ac_c" 1>&6
    39814157else
    39824158  cat > conftest.$ac_ext <<EOF
    3983 #line 3984 "configure"
     4159#line 4160 "configure"
    39844160#include "confdefs.h"
    39854161#include <alloca.h>
     
    39884164; return 0; }
    39894165EOF
    3990 if { (eval echo configure:3991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4166if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39914167  rm -rf conftest*
    39924168  ac_cv_header_alloca_h=yes
     
    40094185
    40104186echo $ac_n "checking for alloca""... $ac_c" 1>&6
    4011 echo "configure:4012: checking for alloca" >&5
     4187echo "configure:4188: checking for alloca" >&5
    40124188if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    40134189  echo $ac_n "(cached) $ac_c" 1>&6
    40144190else
    40154191  cat > conftest.$ac_ext <<EOF
    4016 #line 4017 "configure"
     4192#line 4193 "configure"
    40174193#include "confdefs.h"
    40184194
     
    40424218; return 0; }
    40434219EOF
    4044 if { (eval echo configure:4045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4220if { (eval echo configure:4221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40454221  rm -rf conftest*
    40464222  ac_cv_func_alloca_works=yes
     
    40744250
    40754251echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    4076 echo "configure:4077: checking whether alloca needs Cray hooks" >&5
     4252echo "configure:4253: checking whether alloca needs Cray hooks" >&5
    40774253if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    40784254  echo $ac_n "(cached) $ac_c" 1>&6
    40794255else
    40804256  cat > conftest.$ac_ext <<EOF
    4081 #line 4082 "configure"
     4257#line 4258 "configure"
    40824258#include "confdefs.h"
    40834259#if defined(CRAY) && ! defined(CRAY2)
     
    41044280for ac_func in _getb67 GETB67 getb67; do
    41054281  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4106 echo "configure:4107: checking for $ac_func" >&5
     4282echo "configure:4283: checking for $ac_func" >&5
    41074283if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    41084284  echo $ac_n "(cached) $ac_c" 1>&6
    41094285else
    41104286  cat > conftest.$ac_ext <<EOF
    4111 #line 4112 "configure"
     4287#line 4288 "configure"
    41124288#include "confdefs.h"
    41134289/* System header to define __stub macros and hopefully few prototypes,
     
    41324308; return 0; }
    41334309EOF
    4134 if { (eval echo configure:4135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4310if { (eval echo configure:4311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41354311  rm -rf conftest*
    41364312  eval "ac_cv_func_$ac_func=yes"
     
    41594335
    41604336echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    4161 echo "configure:4162: checking stack direction for C alloca" >&5
     4337echo "configure:4338: checking stack direction for C alloca" >&5
    41624338if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    41634339  echo $ac_n "(cached) $ac_c" 1>&6
     
    41674343else
    41684344  cat > conftest.$ac_ext <<EOF
    4169 #line 4170 "configure"
     4345#line 4346 "configure"
    41704346#include "confdefs.h"
    41714347find_stack_direction ()
     
    41864362}
    41874363EOF
    4188 if { (eval echo configure:4189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     4364if { (eval echo configure:4365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    41894365then
    41904366  ac_cv_c_stack_direction=1
     
    42114387ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    42124388echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4213 echo "configure:4214: checking for $ac_hdr" >&5
     4389echo "configure:4390: checking for $ac_hdr" >&5
    42144390if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    42154391  echo $ac_n "(cached) $ac_c" 1>&6
     
    42174393  cat > conftest.$ac_ext <<EOF
    42184394#include <sys/types.h>
    4219 #line 4220 "configure"
     4395#line 4396 "configure"
    42204396#include "confdefs.h"
    42214397#include <$ac_hdr>
    42224398EOF
    42234399ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4224 { (eval echo configure:4225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4400{ (eval echo configure:4401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    42254401ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    42264402if test -z "$ac_err"; then
     
    42514427do
    42524428echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4253 echo "configure:4254: checking for $ac_func" >&5
     4429echo "configure:4430: checking for $ac_func" >&5
    42544430if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    42554431  echo $ac_n "(cached) $ac_c" 1>&6
    42564432else
    42574433  cat > conftest.$ac_ext <<EOF
    4258 #line 4259 "configure"
     4434#line 4435 "configure"
    42594435#include "confdefs.h"
    42604436/* System header to define __stub macros and hopefully few prototypes,
     
    42794455; return 0; }
    42804456EOF
    4281 if { (eval echo configure:4282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4457if { (eval echo configure:4458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42824458  rm -rf conftest*
    42834459  eval "ac_cv_func_$ac_func=yes"
     
    43044480
    43054481echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    4306 echo "configure:4307: checking for working mmap" >&5
     4482echo "configure:4483: checking for working mmap" >&5
    43074483if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    43084484  echo $ac_n "(cached) $ac_c" 1>&6
     
    43124488else
    43134489  cat > conftest.$ac_ext <<EOF
    4314 #line 4315 "configure"
     4490#line 4491 "configure"
    43154491#include "confdefs.h"
    43164492
     
    44524628
    44534629EOF
    4454 if { (eval echo configure:4455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     4630if { (eval echo configure:4631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    44554631then
    44564632  ac_cv_func_mmap_fixed_mapped=yes
     
    44804656ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    44814657echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4482 echo "configure:4483: checking for $ac_hdr" >&5
     4658echo "configure:4659: checking for $ac_hdr" >&5
    44834659if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    44844660  echo $ac_n "(cached) $ac_c" 1>&6
     
    44864662  cat > conftest.$ac_ext <<EOF
    44874663#include <sys/types.h>
    4488 #line 4489 "configure"
     4664#line 4665 "configure"
    44894665#include "confdefs.h"
    44904666#include <$ac_hdr>
    44914667EOF
    44924668ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4493 { (eval echo configure:4494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4669{ (eval echo configure:4670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    44944670ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    44954671if test -z "$ac_err"; then
     
    45214697do
    45224698echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4523 echo "configure:4524: checking for $ac_func" >&5
     4699echo "configure:4700: checking for $ac_func" >&5
    45244700if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    45254701  echo $ac_n "(cached) $ac_c" 1>&6
    45264702else
    45274703  cat > conftest.$ac_ext <<EOF
    4528 #line 4529 "configure"
     4704#line 4705 "configure"
    45294705#include "confdefs.h"
    45304706/* System header to define __stub macros and hopefully few prototypes,
     
    45494725; return 0; }
    45504726EOF
    4551 if { (eval echo configure:4552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4727if { (eval echo configure:4728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    45524728  rm -rf conftest*
    45534729  eval "ac_cv_func_$ac_func=yes"
     
    45784754do
    45794755echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4580 echo "configure:4581: checking for $ac_func" >&5
     4756echo "configure:4757: checking for $ac_func" >&5
    45814757if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    45824758  echo $ac_n "(cached) $ac_c" 1>&6
    45834759else
    45844760  cat > conftest.$ac_ext <<EOF
    4585 #line 4586 "configure"
     4761#line 4762 "configure"
    45864762#include "confdefs.h"
    45874763/* System header to define __stub macros and hopefully few prototypes,
     
    46064782; return 0; }
    46074783EOF
    4608 if { (eval echo configure:4609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4784if { (eval echo configure:4785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46094785  rm -rf conftest*
    46104786  eval "ac_cv_func_$ac_func=yes"
     
    46404816   if test $ac_cv_header_locale_h = yes; then
    46414817    echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
    4642 echo "configure:4643: checking for LC_MESSAGES" >&5
     4818echo "configure:4819: checking for LC_MESSAGES" >&5
    46434819if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
    46444820  echo $ac_n "(cached) $ac_c" 1>&6
    46454821else
    46464822  cat > conftest.$ac_ext <<EOF
    4647 #line 4648 "configure"
     4823#line 4824 "configure"
    46484824#include "confdefs.h"
    46494825#include <locale.h>
     
    46524828; return 0; }
    46534829EOF
    4654 if { (eval echo configure:4655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4830if { (eval echo configure:4831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46554831  rm -rf conftest*
    46564832  am_cv_val_LC_MESSAGES=yes
     
    46734849  fi
    46744850   echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
    4675 echo "configure:4676: checking whether NLS is requested" >&5
     4851echo "configure:4852: checking whether NLS is requested" >&5
    46764852        # Check whether --enable-nls or --disable-nls was given.
    46774853if test "${enable_nls+set}" = set; then
     
    46934869
    46944870      echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
    4695 echo "configure:4696: checking whether included gettext is requested" >&5
     4871echo "configure:4872: checking whether included gettext is requested" >&5
    46964872      # Check whether --with-included-gettext or --without-included-gettext was given.
    46974873if test "${with_included_gettext+set}" = set; then
     
    47124888        ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
    47134889echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
    4714 echo "configure:4715: checking for libintl.h" >&5
     4890echo "configure:4891: checking for libintl.h" >&5
    47154891if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    47164892  echo $ac_n "(cached) $ac_c" 1>&6
     
    47184894  cat > conftest.$ac_ext <<EOF
    47194895#include <sys/types.h>
    4720 #line 4721 "configure"
     4896#line 4897 "configure"
    47214897#include "confdefs.h"
    47224898#include <libintl.h>
    47234899EOF
    47244900ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4725 { (eval echo configure:4726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4901{ (eval echo configure:4902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    47264902ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    47274903if test -z "$ac_err"; then
     
    47404916  echo "$ac_t""yes" 1>&6
    47414917  echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
    4742 echo "configure:4743: checking for gettext in libc" >&5
     4918echo "configure:4919: checking for gettext in libc" >&5
    47434919if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
    47444920  echo $ac_n "(cached) $ac_c" 1>&6
    47454921else
    47464922  cat > conftest.$ac_ext <<EOF
    4747 #line 4748 "configure"
     4923#line 4924 "configure"
    47484924#include "confdefs.h"
    47494925#include <libintl.h>
     
    47524928; return 0; }
    47534929EOF
    4754 if { (eval echo configure:4755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4930if { (eval echo configure:4931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47554931  rm -rf conftest*
    47564932  gt_cv_func_gettext_libc=yes
     
    47684944           if test "$gt_cv_func_gettext_libc" != "yes"; then
    47694945             echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
    4770 echo "configure:4771: checking for bindtextdomain in -lintl" >&5
     4946echo "configure:4947: checking for bindtextdomain in -lintl" >&5
    47714947ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
    47724948if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47764952LIBS="-lintl  $LIBS"
    47774953cat > conftest.$ac_ext <<EOF
    4778 #line 4779 "configure"
     4954#line 4955 "configure"
    47794955#include "confdefs.h"
    47804956/* Override any gcc2 internal prototype to avoid an error.  */
     
    47874963; return 0; }
    47884964EOF
    4789 if { (eval echo configure:4790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4965if { (eval echo configure:4966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47904966  rm -rf conftest*
    47914967  eval "ac_cv_lib_$ac_lib_var=yes"
     
    48034979  echo "$ac_t""yes" 1>&6
    48044980  echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
    4805 echo "configure:4806: checking for gettext in libintl" >&5
     4981echo "configure:4982: checking for gettext in libintl" >&5
    48064982if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
    48074983  echo $ac_n "(cached) $ac_c" 1>&6
    48084984else
    48094985  cat > conftest.$ac_ext <<EOF
    4810 #line 4811 "configure"
     4986#line 4987 "configure"
    48114987#include "confdefs.h"
    48124988
     
    48154991; return 0; }
    48164992EOF
    4817 if { (eval echo configure:4818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4993if { (eval echo configure:4994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48184994  rm -rf conftest*
    48194995  gt_cv_func_gettext_libintl=yes
     
    48435019set dummy msgfmt; ac_word=$2
    48445020echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4845 echo "configure:4846: checking for $ac_word" >&5
     5021echo "configure:5022: checking for $ac_word" >&5
    48465022if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    48475023  echo $ac_n "(cached) $ac_c" 1>&6
     
    48775053do
    48785054echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4879 echo "configure:4880: checking for $ac_func" >&5
     5055echo "configure:5056: checking for $ac_func" >&5
    48805056if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    48815057  echo $ac_n "(cached) $ac_c" 1>&6
    48825058else
    48835059  cat > conftest.$ac_ext <<EOF
    4884 #line 4885 "configure"
     5060#line 5061 "configure"
    48855061#include "confdefs.h"
    48865062/* System header to define __stub macros and hopefully few prototypes,
     
    49055081; return 0; }
    49065082EOF
    4907 if { (eval echo configure:4908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5083if { (eval echo configure:5084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    49085084  rm -rf conftest*
    49095085  eval "ac_cv_func_$ac_func=yes"
     
    49325108set dummy gmsgfmt; ac_word=$2
    49335109echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4934 echo "configure:4935: checking for $ac_word" >&5
     5110echo "configure:5111: checking for $ac_word" >&5
    49355111if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    49365112  echo $ac_n "(cached) $ac_c" 1>&6
     
    49725148set dummy xgettext; ac_word=$2
    49735149echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4974 echo "configure:4975: checking for $ac_word" >&5
     5150echo "configure:5151: checking for $ac_word" >&5
    49755151if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    49765152  echo $ac_n "(cached) $ac_c" 1>&6
     
    50045180
    50055181                cat > conftest.$ac_ext <<EOF
    5006 #line 5007 "configure"
     5182#line 5183 "configure"
    50075183#include "confdefs.h"
    50085184
     
    50125188; return 0; }
    50135189EOF
    5014 if { (eval echo configure:5015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5190if { (eval echo configure:5191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    50155191  rm -rf conftest*
    50165192  CATOBJEXT=.gmo
     
    50445220set dummy msgfmt; ac_word=$2
    50455221echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    5046 echo "configure:5047: checking for $ac_word" >&5
     5222echo "configure:5223: checking for $ac_word" >&5
    50475223if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    50485224  echo $ac_n "(cached) $ac_c" 1>&6
     
    50785254set dummy gmsgfmt; ac_word=$2
    50795255echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    5080 echo "configure:5081: checking for $ac_word" >&5
     5256echo "configure:5257: checking for $ac_word" >&5
    50815257if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    50825258  echo $ac_n "(cached) $ac_c" 1>&6
     
    51185294set dummy xgettext; ac_word=$2
    51195295echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    5120 echo "configure:5121: checking for $ac_word" >&5
     5296echo "configure:5297: checking for $ac_word" >&5
    51215297if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    51225298  echo $ac_n "(cached) $ac_c" 1>&6
     
    52085384     else
    52095385       echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
    5210 echo "configure:5211: checking for catalogs to be installed" >&5
     5386echo "configure:5387: checking for catalogs to be installed" >&5
    52115387       NEW_LINGUAS=
    52125388       for lang in ${LINGUAS=$ALL_LINGUAS}; do
     
    52365412         ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
    52375413echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
    5238 echo "configure:5239: checking for linux/version.h" >&5
     5414echo "configure:5415: checking for linux/version.h" >&5
    52395415if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    52405416  echo $ac_n "(cached) $ac_c" 1>&6
     
    52425418  cat > conftest.$ac_ext <<EOF
    52435419#include <sys/types.h>
    5244 #line 5245 "configure"
     5420#line 5421 "configure"
    52455421#include "confdefs.h"
    52465422#include <linux/version.h>
    52475423EOF
    52485424ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5249 { (eval echo configure:5250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5425{ (eval echo configure:5426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    52505426ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    52515427if test -z "$ac_err"; then
     
    52925468   
    52935469
    5294             if test -d $srcdir/po; then
     5470            if test -f $srcdir/po/POTFILES.in; then
    52955471      test -d po || mkdir po
    52965472      if test "x$srcdir" != "x."; then
    5297                  if test "x`echo $srcdir | sed -e 's@.\:/.*@@'  -e 's@/.*@@' `" = "x"; then
     5473                 if test "x`echo $srcdir | sed -e 's@.\:/.*@@'  -e 's@/.*@@' `" = "x"; then
    52985474            posrcprefix="$srcdir/"
    52995475         else
     
    53105486
    53115487echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    5312 echo "configure:5313: checking whether to enable maintainer-specific portions of Makefiles" >&5
     5488echo "configure:5489: checking whether to enable maintainer-specific portions of Makefiles" >&5
    53135489    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    53145490if test "${enable_maintainer_mode+set}" = set; then
     
    53365512
    53375513echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    5338 echo "configure:5339: checking for executable suffix" >&5
     5514echo "configure:5515: checking for executable suffix" >&5
    53395515if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    53405516  echo $ac_n "(cached) $ac_c" 1>&6
     
    53465522  echo 'int main () { return 0; }' > conftest.$ac_ext
    53475523  ac_cv_exeext=
    5348   if { (eval echo configure:5349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     5524  if { (eval echo configure:5525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    53495525    for file in conftest.*; do
    53505526      case $file in
     
    53715547ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    53725548echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    5373 echo "configure:5374: checking for $ac_hdr" >&5
     5549echo "configure:5550: checking for $ac_hdr" >&5
    53745550if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    53755551  echo $ac_n "(cached) $ac_c" 1>&6
     
    53775553  cat > conftest.$ac_ext <<EOF
    53785554#include <sys/types.h>
    5379 #line 5380 "configure"
     5555#line 5556 "configure"
    53805556#include "confdefs.h"
    53815557#include <$ac_hdr>
    53825558EOF
    53835559ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5384 { (eval echo configure:5385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5560{ (eval echo configure:5561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    53855561ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    53865562if test -z "$ac_err"; then
     
    54125588# people who are not cross-compiling but are compiling cross-assemblers.
    54135589echo $ac_n "checking whether compiling a cross-assembler""... $ac_c" 1>&6
    5414 echo "configure:5415: checking whether compiling a cross-assembler" >&5
     5590echo "configure:5591: checking whether compiling a cross-assembler" >&5
    54155591if test "${host}" = "${target}"; then
    54165592  cross_gas=no
     
    54275603# for constant arguments.  Useless!
    54285604echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    5429 echo "configure:5430: checking for working alloca.h" >&5
     5605echo "configure:5606: checking for working alloca.h" >&5
    54305606if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    54315607  echo $ac_n "(cached) $ac_c" 1>&6
    54325608else
    54335609  cat > conftest.$ac_ext <<EOF
    5434 #line 5435 "configure"
     5610#line 5611 "configure"
    54355611#include "confdefs.h"
    54365612#include <alloca.h>
     
    54395615; return 0; }
    54405616EOF
    5441 if { (eval echo configure:5442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5617if { (eval echo configure:5618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    54425618  rm -rf conftest*
    54435619  ac_cv_header_alloca_h=yes
     
    54605636
    54615637echo $ac_n "checking for alloca""... $ac_c" 1>&6
    5462 echo "configure:5463: checking for alloca" >&5
     5638echo "configure:5639: checking for alloca" >&5
    54635639if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    54645640  echo $ac_n "(cached) $ac_c" 1>&6
    54655641else
    54665642  cat > conftest.$ac_ext <<EOF
    5467 #line 5468 "configure"
     5643#line 5644 "configure"
    54685644#include "confdefs.h"
    54695645
     
    54935669; return 0; }
    54945670EOF
    5495 if { (eval echo configure:5496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5671if { (eval echo configure:5672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    54965672  rm -rf conftest*
    54975673  ac_cv_func_alloca_works=yes
     
    55255701
    55265702echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    5527 echo "configure:5528: checking whether alloca needs Cray hooks" >&5
     5703echo "configure:5704: checking whether alloca needs Cray hooks" >&5
    55285704if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    55295705  echo $ac_n "(cached) $ac_c" 1>&6
    55305706else
    55315707  cat > conftest.$ac_ext <<EOF
    5532 #line 5533 "configure"
     5708#line 5709 "configure"
    55335709#include "confdefs.h"
    55345710#if defined(CRAY) && ! defined(CRAY2)
     
    55555731for ac_func in _getb67 GETB67 getb67; do
    55565732  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    5557 echo "configure:5558: checking for $ac_func" >&5
     5733echo "configure:5734: checking for $ac_func" >&5
    55585734if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    55595735  echo $ac_n "(cached) $ac_c" 1>&6
    55605736else
    55615737  cat > conftest.$ac_ext <<EOF
    5562 #line 5563 "configure"
     5738#line 5739 "configure"
    55635739#include "confdefs.h"
    55645740/* System header to define __stub macros and hopefully few prototypes,
     
    55835759; return 0; }
    55845760EOF
    5585 if { (eval echo configure:5586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5761if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    55865762  rm -rf conftest*
    55875763  eval "ac_cv_func_$ac_func=yes"
     
    56105786
    56115787echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    5612 echo "configure:5613: checking stack direction for C alloca" >&5
     5788echo "configure:5789: checking stack direction for C alloca" >&5
    56135789if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    56145790  echo $ac_n "(cached) $ac_c" 1>&6
     
    56185794else
    56195795  cat > conftest.$ac_ext <<EOF
    5620 #line 5621 "configure"
     5796#line 5797 "configure"
    56215797#include "confdefs.h"
    56225798find_stack_direction ()
     
    56375813}
    56385814EOF
    5639 if { (eval echo configure:5640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     5815if { (eval echo configure:5816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    56405816then
    56415817  ac_cv_c_stack_direction=1
     
    56595835
    56605836echo $ac_n "checking for inline""... $ac_c" 1>&6
    5661 echo "configure:5662: checking for inline" >&5
     5837echo "configure:5838: checking for inline" >&5
    56625838if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    56635839  echo $ac_n "(cached) $ac_c" 1>&6
     
    56665842for ac_kw in inline __inline__ __inline; do
    56675843  cat > conftest.$ac_ext <<EOF
    5668 #line 5669 "configure"
     5844#line 5845 "configure"
    56695845#include "confdefs.h"
    56705846
     
    56735849; return 0; }
    56745850EOF
    5675 if { (eval echo configure:5676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5851if { (eval echo configure:5852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    56765852  rm -rf conftest*
    56775853  ac_cv_c_inline=$ac_kw; break
     
    57035879do
    57045880echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    5705 echo "configure:5706: checking for $ac_func" >&5
     5881echo "configure:5882: checking for $ac_func" >&5
    57065882if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    57075883  echo $ac_n "(cached) $ac_c" 1>&6
    57085884else
    57095885  cat > conftest.$ac_ext <<EOF
    5710 #line 5711 "configure"
     5886#line 5887 "configure"
    57115887#include "confdefs.h"
    57125888/* System header to define __stub macros and hopefully few prototypes,
     
    57315907; return 0; }
    57325908EOF
    5733 if { (eval echo configure:5734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5909if { (eval echo configure:5910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    57345910  rm -rf conftest*
    57355911  eval "ac_cv_func_$ac_func=yes"
     
    57605936do
    57615937echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    5762 echo "configure:5763: checking for $ac_func" >&5
     5938echo "configure:5939: checking for $ac_func" >&5
    57635939if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    57645940  echo $ac_n "(cached) $ac_c" 1>&6
    57655941else
    57665942  cat > conftest.$ac_ext <<EOF
    5767 #line 5768 "configure"
     5943#line 5944 "configure"
    57685944#include "confdefs.h"
    57695945/* System header to define __stub macros and hopefully few prototypes,
     
    57885964; return 0; }
    57895965EOF
    5790 if { (eval echo configure:5791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5966if { (eval echo configure:5967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    57915967  rm -rf conftest*
    57925968  eval "ac_cv_func_$ac_func=yes"
     
    58155991# do we need the math library?
    58165992case "${need_libm}" in
    5817 yes) 
     5993yes)
    58185994  LIBM=
    5819 case "$host" in
     5995case $host in
    58205996*-*-beos* | *-*-cygwin* | *-*-pw32*)
    58215997  # These system don't have libm
     
    58235999*-ncr-sysv4.3*)
    58246000  echo $ac_n "checking for _mwvalidcheckl in -lmw""... $ac_c" 1>&6
    5825 echo "configure:5826: checking for _mwvalidcheckl in -lmw" >&5
     6001echo "configure:6002: checking for _mwvalidcheckl in -lmw" >&5
    58266002ac_lib_var=`echo mw'_'_mwvalidcheckl | sed 'y%./+-%__p_%'`
    58276003if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    58316007LIBS="-lmw  $LIBS"
    58326008cat > conftest.$ac_ext <<EOF
    5833 #line 5834 "configure"
     6009#line 6010 "configure"
    58346010#include "confdefs.h"
    58356011/* Override any gcc2 internal prototype to avoid an error.  */
     
    58426018; return 0; }
    58436019EOF
    5844 if { (eval echo configure:5845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6020if { (eval echo configure:6021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    58456021  rm -rf conftest*
    58466022  eval "ac_cv_lib_$ac_lib_var=yes"
     
    58636039
    58646040  echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
    5865 echo "configure:5866: checking for main in -lm" >&5
     6041echo "configure:6042: checking for main in -lm" >&5
    58666042ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
    58676043if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    58716047LIBS="-lm  $LIBS"
    58726048cat > conftest.$ac_ext <<EOF
    5873 #line 5874 "configure"
     6049#line 6050 "configure"
    58746050#include "confdefs.h"
    58756051
     
    58786054; return 0; }
    58796055EOF
    5880 if { (eval echo configure:5881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6056if { (eval echo configure:6057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    58816057  rm -rf conftest*
    58826058  eval "ac_cv_lib_$ac_lib_var=yes"
     
    59016077*)
    59026078  echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
    5903 echo "configure:5904: checking for main in -lm" >&5
     6079echo "configure:6080: checking for main in -lm" >&5
    59046080ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
    59056081if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    59096085LIBS="-lm  $LIBS"
    59106086cat > conftest.$ac_ext <<EOF
    5911 #line 5912 "configure"
     6087#line 6088 "configure"
    59126088#include "confdefs.h"
    59136089
     
    59166092; return 0; }
    59176093EOF
    5918 if { (eval echo configure:5919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6094if { (eval echo configure:6095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    59196095  rm -rf conftest*
    59206096  eval "ac_cv_lib_$ac_lib_var=yes"
     
    59476123# working properly!
    59486124echo $ac_n "checking for working assert macro""... $ac_c" 1>&6
    5949 echo "configure:5950: checking for working assert macro" >&5
     6125echo "configure:6126: checking for working assert macro" >&5
    59506126if eval "test \"`echo '$''{'gas_cv_assert_ok'+set}'`\" = set"; then
    59516127  echo $ac_n "(cached) $ac_c" 1>&6
    59526128else
    59536129  cat > conftest.$ac_ext <<EOF
    5954 #line 5955 "configure"
     6130#line 6131 "configure"
    59556131#include "confdefs.h"
    59566132#include <assert.h>
     
    59686144; return 0; }
    59696145EOF
    5970 if { (eval echo configure:5971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6146if { (eval echo configure:6147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    59716147  rm -rf conftest*
    59726148  gas_cv_assert_ok=yes
     
    60096185
    60106186echo $ac_n "checking whether declaration is required for strstr""... $ac_c" 1>&6
    6011 echo "configure:6012: checking whether declaration is required for strstr" >&5
     6187echo "configure:6188: checking whether declaration is required for strstr" >&5
    60126188if eval "test \"`echo '$''{'gas_cv_decl_needed_strstr'+set}'`\" = set"; then
    60136189  echo $ac_n "(cached) $ac_c" 1>&6
    60146190else
    60156191  cat > conftest.$ac_ext <<EOF
    6016 #line 6017 "configure"
     6192#line 6193 "configure"
    60176193#include "confdefs.h"
    60186194$gas_test_headers
     
    60256201; return 0; }
    60266202EOF
    6027 if { (eval echo configure:6028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6203if { (eval echo configure:6204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    60286204  rm -rf conftest*
    60296205  gas_cv_decl_needed_strstr=no
     
    60466222
    60476223echo $ac_n "checking whether declaration is required for malloc""... $ac_c" 1>&6
    6048 echo "configure:6049: checking whether declaration is required for malloc" >&5
     6224echo "configure:6225: checking whether declaration is required for malloc" >&5
    60496225if eval "test \"`echo '$''{'gas_cv_decl_needed_malloc'+set}'`\" = set"; then
    60506226  echo $ac_n "(cached) $ac_c" 1>&6
    60516227else
    60526228  cat > conftest.$ac_ext <<EOF
    6053 #line 6054 "configure"
     6229#line 6230 "configure"
    60546230#include "confdefs.h"
    60556231$gas_test_headers
     
    60626238; return 0; }
    60636239EOF
    6064 if { (eval echo configure:6065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6240if { (eval echo configure:6241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    60656241  rm -rf conftest*
    60666242  gas_cv_decl_needed_malloc=no
     
    60836259
    60846260echo $ac_n "checking whether declaration is required for free""... $ac_c" 1>&6
    6085 echo "configure:6086: checking whether declaration is required for free" >&5
     6261echo "configure:6262: checking whether declaration is required for free" >&5
    60866262if eval "test \"`echo '$''{'gas_cv_decl_needed_free'+set}'`\" = set"; then
    60876263  echo $ac_n "(cached) $ac_c" 1>&6
    60886264else
    60896265  cat > conftest.$ac_ext <<EOF
    6090 #line 6091 "configure"
     6266#line 6267 "configure"
    60916267#include "confdefs.h"
    60926268$gas_test_headers
     
    60996275; return 0; }
    61006276EOF
    6101 if { (eval echo configure:6102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6277if { (eval echo configure:6278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    61026278  rm -rf conftest*
    61036279  gas_cv_decl_needed_free=no
     
    61206296
    61216297echo $ac_n "checking whether declaration is required for sbrk""... $ac_c" 1>&6
    6122 echo "configure:6123: checking whether declaration is required for sbrk" >&5
     6298echo "configure:6299: checking whether declaration is required for sbrk" >&5
    61236299if eval "test \"`echo '$''{'gas_cv_decl_needed_sbrk'+set}'`\" = set"; then
    61246300  echo $ac_n "(cached) $ac_c" 1>&6
    61256301else
    61266302  cat > conftest.$ac_ext <<EOF
    6127 #line 6128 "configure"
     6303#line 6304 "configure"
    61286304#include "confdefs.h"
    61296305$gas_test_headers
     
    61366312; return 0; }
    61376313EOF
    6138 if { (eval echo configure:6139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6314if { (eval echo configure:6315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    61396315  rm -rf conftest*
    61406316  gas_cv_decl_needed_sbrk=no
     
    61576333
    61586334echo $ac_n "checking whether declaration is required for environ""... $ac_c" 1>&6
    6159 echo "configure:6160: checking whether declaration is required for environ" >&5
     6335echo "configure:6336: checking whether declaration is required for environ" >&5
    61606336if eval "test \"`echo '$''{'gas_cv_decl_needed_environ'+set}'`\" = set"; then
    61616337  echo $ac_n "(cached) $ac_c" 1>&6
    61626338else
    61636339  cat > conftest.$ac_ext <<EOF
    6164 #line 6165 "configure"
     6340#line 6341 "configure"
    61656341#include "confdefs.h"
    61666342$gas_test_headers
     
    61736349; return 0; }
    61746350EOF
    6175 if { (eval echo configure:6176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6351if { (eval echo configure:6352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    61766352  rm -rf conftest*
    61776353  gas_cv_decl_needed_environ=no
     
    61976373
    61986374echo $ac_n "checking whether declaration is required for errno""... $ac_c" 1>&6
    6199 echo "configure:6200: checking whether declaration is required for errno" >&5
     6375echo "configure:6376: checking whether declaration is required for errno" >&5
    62006376if eval "test \"`echo '$''{'gas_cv_decl_needed_errno'+set}'`\" = set"; then
    62016377  echo $ac_n "(cached) $ac_c" 1>&6
    62026378else
    62036379  cat > conftest.$ac_ext <<EOF
    6204 #line 6205 "configure"
     6380#line 6381 "configure"
    62056381#include "confdefs.h"
    62066382
     
    62176393; return 0; }
    62186394EOF
    6219 if { (eval echo configure:6220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6395if { (eval echo configure:6396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    62206396  rm -rf conftest*
    62216397  gas_cv_decl_needed_errno=no
     
    64226598s%@BFDLIB@%$BFDLIB%g
    64236599s%@OPCODES_LIB@%$OPCODES_LIB%g
     6600s%@BFDVER_H@%$BFDVER_H%g
    64246601s%@ALL_OBJ_DEPS@%$ALL_OBJ_DEPS%g
    64256602s%@YACC@%$YACC%g
  • trunk/src/binutils/gprof/configure

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r618 r619  
    12921292  enableval="$enable_shared"
    12931293  p=${PACKAGE-default}
    1294 case "$enableval" in
     1294case $enableval in
    12951295yes) enable_shared=yes ;;
    12961296no) enable_shared=no ;;
     
    13151315  enableval="$enable_static"
    13161316  p=${PACKAGE-default}
    1317 case "$enableval" in
     1317case $enableval in
    13181318yes) enable_static=yes ;;
    13191319no) enable_static=no ;;
     
    13381338  enableval="$enable_fast_install"
    13391339  p=${PACKAGE-default}
    1340 case "$enableval" in
     1340case $enableval in
    13411341yes) enable_fast_install=yes ;;
    13421342no) enable_fast_install=no ;;
     
    13661366
    13671367ac_prog=ld
    1368 if test "$ac_cv_prog_gcc" = yes; then
     1368if test "$GCC" = yes; then
    13691369  # Check if gcc -print-prog-name=ld gives a path.
    13701370  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
     
    13771377    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    13781378  esac
    1379   case "$ac_prog" in
     1379  case $ac_prog in
    13801380    # Accept absolute paths.
    13811381    [\\/]* | [A-Za-z]:[\\/]*)
     
    14041404echo "configure:1405: checking for non-GNU ld" >&5
    14051405fi
    1406 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
     1406if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
    14071407  echo $ac_n "(cached) $ac_c" 1>&6
    14081408else
     
    14121412    test -z "$ac_dir" && ac_dir=.
    14131413    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    1414       ac_cv_path_LD="$ac_dir/$ac_prog"
     1414      lt_cv_path_LD="$ac_dir/$ac_prog"
    14151415      # Check to see if the program is GNU ld.  I'd rather use --version,
    14161416      # but apparently some GNU ld's only accept -v.
    14171417      # Break only if it was the GNU/non-GNU ld that we prefer.
    1418       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
     1418      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
    14191419        test "$with_gnu_ld" != no && break
    14201420      else
     
    14251425  IFS="$ac_save_ifs"
    14261426else
    1427   ac_cv_path_LD="$LD" # Let the user override the test with a path.
    1428 fi
    1429 fi
    1430 
    1431 LD="$ac_cv_path_LD"
     1427  lt_cv_path_LD="$LD" # Let the user override the test with a path.
     1428fi
     1429fi
     1430
     1431LD="$lt_cv_path_LD"
    14321432if test -n "$LD"; then
    14331433  echo "$ac_t""$LD" 1>&6
     
    14381438echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
    14391439echo "configure:1440: checking if the linker ($LD) is GNU ld" >&5
    1440 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
     1440if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
    14411441  echo $ac_n "(cached) $ac_c" 1>&6
    14421442else
    14431443  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    14441444if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
    1445   ac_cv_prog_gnu_ld=yes
    1446 else
    1447   ac_cv_prog_gnu_ld=no
    1448 fi
    1449 fi
    1450 
    1451 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
    1452 with_gnu_ld=$ac_cv_prog_gnu_ld
     1445  lt_cv_prog_gnu_ld=yes
     1446else
     1447  lt_cv_prog_gnu_ld=no
     1448fi
     1449fi
     1450
     1451echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
     1452with_gnu_ld=$lt_cv_prog_gnu_ld
    14531453
    14541454
     
    14671467echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
    14681468echo "configure:1469: checking for BSD-compatible nm" >&5
    1469 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
     1469if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
    14701470  echo $ac_n "(cached) $ac_c" 1>&6
    14711471else
    14721472  if test -n "$NM"; then
    14731473  # Let the user override the test.
    1474   ac_cv_path_NM="$NM"
     1474  lt_cv_path_NM="$NM"
    14751475else
    14761476  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
     
    14841484      # Tru64's nm complains that /dev/null is an invalid object file
    14851485      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
    1486         ac_cv_path_NM="$tmp_nm -B"
     1486        lt_cv_path_NM="$tmp_nm -B"
    14871487        break
    14881488      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
    1489         ac_cv_path_NM="$tmp_nm -p"
     1489        lt_cv_path_NM="$tmp_nm -p"
    14901490        break
    14911491      else
    1492         ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
     1492        lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    14931493        continue # so that we can try to find one that supports BSD flags
    14941494      fi
     
    14961496  done
    14971497  IFS="$ac_save_ifs"
    1498   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
    1499 fi
    1500 fi
    1501 
    1502 NM="$ac_cv_path_NM"
     1498  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
     1499fi
     1500fi
     1501
     1502NM="$lt_cv_path_NM"
    15031503echo "$ac_t""$NM" 1>&6
    15041504
     
    15491549# whether `pass_all' will *always* work, you probably want this one.
    15501550
    1551 case "$host_os" in
    1552 aix4*)
     1551case $host_os in
     1552aix*)
    15531553  lt_cv_deplibs_check_method=pass_all
    15541554  ;;
     
    15591559
    15601560bsdi4*)
    1561     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
    1562     lt_cv_file_magic_cmd='/usr/bin/file -L'
     1561  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
     1562  lt_cv_file_magic_cmd='/usr/bin/file -L'
    15631563  lt_cv_file_magic_test_file=/shlib/libc.so
    15641564  ;;
     
    15691569  ;;
    15701570
     1571darwin* | rhapsody*)
     1572  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
     1573  lt_cv_file_magic_cmd='/usr/bin/file -L'
     1574  case "$host_os" in
     1575  rhapsody* | darwin1.012)
     1576    lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
     1577    ;;
     1578  *) # Darwin 1.3 on
     1579    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
     1580    ;;
     1581  esac
     1582  ;;
     1583
    15711584freebsd* )
    15721585  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    1573     case "$host_cpu" in
     1586    case $host_cpu in
    15741587    i*86 )
    15751588      # Not sure whether the presence of OpenBSD here was a mistake.
    15761589      # Let's accept both of them until this is cleared up.
    1577             lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
    1578             lt_cv_file_magic_cmd=/usr/bin/file
     1590      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
     1591      lt_cv_file_magic_cmd=/usr/bin/file
    15791592      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
    15801593      ;;
     
    15891602  ;;
    15901603
    1591 hpux10.20*)
    1592   # TODO:  Does this work for hpux-11 too?
    1593   lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
    1594   lt_cv_file_magic_cmd=/usr/bin/file
    1595   lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1604hpux10.20*|hpux11*)
     1605  case $host_cpu in
     1606  hppa*)
     1607    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
     1608    lt_cv_file_magic_cmd=/usr/bin/file
     1609    lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1610    ;;
     1611  ia64*)
     1612    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     1613    lt_cv_file_magic_cmd=/usr/bin/file
     1614    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     1615    ;;
     1616  esac
    15961617  ;;
    15971618
    15981619irix5* | irix6*)
    1599   case "$host_os" in
     1620  case $host_os in
    16001621  irix5*)
    16011622    # this will be overridden with pass_all, but let us keep it just in case
     
    16031624    ;;
    16041625  *)
    1605     case "$LD" in
     1626    case $LD in
    16061627    *-32|*"-32 ") libmagic=32-bit;;
    16071628    *-n32|*"-n32 ") libmagic=N32;;
     
    16101631    esac
    16111632    # this will be overridden with pass_all, but let us keep it just in case
    1612         lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
    1613         ;;
     1633    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
     1634    ;;
    16141635  esac
    16151636  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
     
    16191640# This must be Linux ELF.
    16201641linux-gnu*)
    1621   case "$host_cpu" in
    1622   alpha* | i*86 | powerpc* | sparc* | ia64* )
     1642  case $host_cpu in
     1643  alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    16231644    lt_cv_deplibs_check_method=pass_all ;;
    16241645  *)
    16251646    # glibc up to 2.1.1 does not perform some relocations on ARM
    1626         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
    1627       esac
     1647    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
     1648  esac
    16281649  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    16291650  ;;
    16301651
    16311652netbsd*)
    1632   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
     1653  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     1654    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
    16331655  else
    1634         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
    1635         lt_cv_file_magic_cmd='/usr/bin/file -L'
    1636     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1656    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
    16371657  fi
     1658  ;;
     1659
     1660os2*)
     1661  lt_cv_deplibs_check_method=pass_all
     1662  ;;
     1663
     1664newsos6)
     1665  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
     1666  lt_cv_file_magic_cmd=/usr/bin/file
     1667  lt_cv_file_magic_test_file=/usr/lib/libnls.so
    16381668  ;;
    16391669
     
    16541684  ;;
    16551685
     1686sysv5uw[78]* | sysv4*uw2*)
     1687  lt_cv_deplibs_check_method=pass_all
     1688  ;;
     1689
    16561690sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    1657   case "$host_vendor" in
     1691  case $host_vendor in
    16581692  ncr)
    16591693    lt_cv_deplibs_check_method=pass_all
    16601694    ;;
    16611695  motorola)
    1662         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]'
    1663         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1696    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]'
     1697    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
    16641698    ;;
    16651699  esac
     
    16741708
    16751709echo $ac_n "checking for object suffix""... $ac_c" 1>&6
    1676 echo "configure:1677: checking for object suffix" >&5
     1710echo "configure:1711: checking for object suffix" >&5
    16771711if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
    16781712  echo $ac_n "(cached) $ac_c" 1>&6
     
    16801714  rm -f conftest*
    16811715echo 'int i = 1;' > conftest.$ac_ext
    1682 if { (eval echo configure:1683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1716if { (eval echo configure:1717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    16831717  for ac_file in conftest.*; do
    16841718    case $ac_file in
     
    17061740
    17071741# Only perform the check for file, if the check method requires it
    1708 case "$deplibs_check_method" in
     1742case $deplibs_check_method in
    17091743file_magic*)
    17101744  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    17111745    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
    1712 echo "configure:1713: checking for ${ac_tool_prefix}file" >&5
     1746echo "configure:1747: checking for ${ac_tool_prefix}file" >&5
    17131747if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    17141748  echo $ac_n "(cached) $ac_c" 1>&6
    17151749else
    1716   case "$MAGIC_CMD" in
     1750  case $MAGIC_CMD in
    17171751  /*)
    17181752  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    17301764      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
    17311765      if test -n "$file_magic_test_file"; then
    1732         case "$deplibs_check_method" in
     1766        case $deplibs_check_method in
    17331767        "file_magic "*)
    17341768          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    17721806  if test -n "$ac_tool_prefix"; then
    17731807    echo $ac_n "checking for file""... $ac_c" 1>&6
    1774 echo "configure:1775: checking for file" >&5
     1808echo "configure:1809: checking for file" >&5
    17751809if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    17761810  echo $ac_n "(cached) $ac_c" 1>&6
    17771811else
    1778   case "$MAGIC_CMD" in
     1812  case $MAGIC_CMD in
    17791813  /*)
    17801814  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    17921826      lt_cv_path_MAGIC_CMD="$ac_dir/file"
    17931827      if test -n "$file_magic_test_file"; then
    1794         case "$deplibs_check_method" in
     1828        case $deplibs_check_method in
    17951829        "file_magic "*)
    17961830          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    18431877set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    18441878echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1845 echo "configure:1846: checking for $ac_word" >&5
     1879echo "configure:1880: checking for $ac_word" >&5
    18461880if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    18471881  echo $ac_n "(cached) $ac_c" 1>&6
     
    18761910set dummy ranlib; ac_word=$2
    18771911echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1878 echo "configure:1879: checking for $ac_word" >&5
     1912echo "configure:1913: checking for $ac_word" >&5
    18791913if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    18801914  echo $ac_n "(cached) $ac_c" 1>&6
     
    19121946set dummy ${ac_tool_prefix}strip; ac_word=$2
    19131947echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1914 echo "configure:1915: checking for $ac_word" >&5
     1948echo "configure:1949: checking for $ac_word" >&5
    19151949if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    19161950  echo $ac_n "(cached) $ac_c" 1>&6
     
    19451979set dummy strip; ac_word=$2
    19461980echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1947 echo "configure:1948: checking for $ac_word" >&5
     1981echo "configure:1982: checking for $ac_word" >&5
    19481982if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    19491983  echo $ac_n "(cached) $ac_c" 1>&6
     
    19842018test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
    19852019test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
    1986 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
    1987 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
     2020test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
     2021test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
    19882022
    19892023
     
    20102044# Some flags need to be propagated to the compiler or linker for good
    20112045# libtool support.
    2012 case "$host" in
     2046case $host in
    20132047*-*-irix6*)
    20142048  # Find out which ABI we are using.
    2015   echo '#line 2016 "configure"' > conftest.$ac_ext
    2016   if { (eval echo configure:2017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    2017     case "`/usr/bin/file conftest.o`" in
     2049  echo '#line 2050 "configure"' > conftest.$ac_ext
     2050  if { (eval echo configure:2051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2051   if test "$lt_cv_prog_gnu_ld" = yes; then
     2052    case `/usr/bin/file conftest.$ac_objext` in
     2053    *32-bit*)
     2054      LD="${LD-ld} -melf32bsmip"
     2055      ;;
     2056    *N32*)
     2057      LD="${LD-ld} -melf32bmipn32"
     2058      ;;
     2059    *64-bit*)
     2060      LD="${LD-ld} -melf64bmip"
     2061      ;;
     2062    esac
     2063   else
     2064    case `/usr/bin/file conftest.$ac_objext` in
    20182065    *32-bit*)
    20192066      LD="${LD-ld} -32"
     
    20262073      ;;
    20272074    esac
     2075   fi
     2076  fi
     2077  rm -rf conftest*
     2078  ;;
     2079
     2080ia64-*-hpux*)
     2081  # Find out which ABI we are using.
     2082  echo 'int i;' > conftest.$ac_ext
     2083  if { (eval echo configure:2084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2084    case "`/usr/bin/file conftest.o`" in
     2085    *ELF-32*)
     2086      HPUX_IA64_MODE="32"
     2087      ;;
     2088    *ELF-64*)
     2089      HPUX_IA64_MODE="64"
     2090      ;;
     2091    esac
    20282092  fi
    20292093  rm -rf conftest*
     
    20352099  CFLAGS="$CFLAGS -belf"
    20362100  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    2037 echo "configure:2038: checking whether the C compiler needs -belf" >&5
     2101echo "configure:2102: checking whether the C compiler needs -belf" >&5
    20382102if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    20392103  echo $ac_n "(cached) $ac_c" 1>&6
     
    20482112
    20492113     cat > conftest.$ac_ext <<EOF
    2050 #line 2051 "configure"
     2114#line 2115 "configure"
    20512115#include "confdefs.h"
    20522116
     
    20552119; return 0; }
    20562120EOF
    2057 if { (eval echo configure:2058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2121if { (eval echo configure:2122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    20582122  rm -rf conftest*
    20592123  lt_cv_cc_needs_belf=yes
     
    21652229exec 5>>./config.log
    21662230
    2167 
    21682231 
    21692232
     
    21792242set dummy gcc; ac_word=$2
    21802243echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2181 echo "configure:2182: checking for $ac_word" >&5
     2244echo "configure:2245: checking for $ac_word" >&5
    21822245if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    21832246  echo $ac_n "(cached) $ac_c" 1>&6
     
    22102273set dummy cc; ac_word=$2
    22112274echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2212 echo "configure:2213: checking for $ac_word" >&5
     2275echo "configure:2276: checking for $ac_word" >&5
    22132276if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    22142277  echo $ac_n "(cached) $ac_c" 1>&6
     
    22632326set dummy cl; ac_word=$2
    22642327echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2265 echo "configure:2266: checking for $ac_word" >&5
     2328echo "configure:2329: checking for $ac_word" >&5
    22662329if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    22672330  echo $ac_n "(cached) $ac_c" 1>&6
     
    22962359
    22972360echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2298 echo "configure:2299: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2361echo "configure:2362: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    22992362
    23002363ac_ext=c
     
    23072370cat > conftest.$ac_ext << EOF
    23082371
    2309 #line 2310 "configure"
     2372#line 2373 "configure"
    23102373#include "confdefs.h"
    23112374
    23122375main(){return(0);}
    23132376EOF
    2314 if { (eval echo configure:2315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2377if { (eval echo configure:2378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23152378  ac_cv_prog_cc_works=yes
    23162379  # If we can't run a trivial program, we are probably using a cross compiler.
     
    23382401fi
    23392402echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2340 echo "configure:2341: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2403echo "configure:2404: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    23412404echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    23422405cross_compiling=$ac_cv_prog_cc_cross
    23432406
    23442407echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2345 echo "configure:2346: checking whether we are using GNU C" >&5
     2408echo "configure:2409: checking whether we are using GNU C" >&5
    23462409if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    23472410  echo $ac_n "(cached) $ac_c" 1>&6
     
    23522415#endif
    23532416EOF
    2354 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2417if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    23552418  ac_cv_prog_gcc=yes
    23562419else
     
    23712434CFLAGS=
    23722435echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2373 echo "configure:2374: checking whether ${CC-cc} accepts -g" >&5
     2436echo "configure:2437: checking whether ${CC-cc} accepts -g" >&5
    23742437if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    23752438  echo $ac_n "(cached) $ac_c" 1>&6
     
    24142477# ./install, which can be erroneously created by make from ./install.sh.
    24152478echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    2416 echo "configure:2417: checking for a BSD compatible install" >&5
     2479echo "configure:2480: checking for a BSD compatible install" >&5
    24172480if test -z "$INSTALL"; then
    24182481if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    24722535do
    24732536echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2474 echo "configure:2475: checking for $ac_func" >&5
     2537echo "configure:2538: checking for $ac_func" >&5
    24752538if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    24762539  echo $ac_n "(cached) $ac_c" 1>&6
    24772540else
    24782541  cat > conftest.$ac_ext <<EOF
    2479 #line 2480 "configure"
     2542#line 2543 "configure"
    24802543#include "confdefs.h"
    24812544/* System header to define __stub macros and hopefully few prototypes,
     
    25002563; return 0; }
    25012564EOF
    2502 if { (eval echo configure:2503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2565if { (eval echo configure:2566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    25032566  rm -rf conftest*
    25042567  eval "ac_cv_func_$ac_func=yes"
     
    25252588
    25262589
    2527 ALL_LINGUAS=
     2590ALL_LINGUAS="fr tr sv es id da pt_BR"
    25282591echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    2529 echo "configure:2530: checking how to run the C preprocessor" >&5
     2592echo "configure:2593: checking how to run the C preprocessor" >&5
    25302593# On Suns, sometimes $CPP names a directory.
    25312594if test -n "$CPP" && test -d "$CPP"; then
     
    25432606  cat > conftest.$ac_ext <<EOF
    25442607#include <sys/types.h>
    2545 #line 2546 "configure"
     2608#line 2609 "configure"
    25462609#include "confdefs.h"
    25472610#include <assert.h>
     
    25492612EOF
    25502613ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2551 { (eval echo configure:2552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2614{ (eval echo configure:2615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25522615ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25532616if test -z "$ac_err"; then
     
    25612624  cat > conftest.$ac_ext <<EOF
    25622625#include <sys/types.h>
    2563 #line 2564 "configure"
     2626#line 2627 "configure"
    25642627#include "confdefs.h"
    25652628#include <assert.h>
     
    25672630EOF
    25682631ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2569 { (eval echo configure:2570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2632{ (eval echo configure:2633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25702633ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25712634if test -z "$ac_err"; then
     
    25792642  cat > conftest.$ac_ext <<EOF
    25802643#include <sys/types.h>
    2581 #line 2582 "configure"
     2644#line 2645 "configure"
    25822645#include "confdefs.h"
    25832646#include <assert.h>
     
    25852648EOF
    25862649ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2587 { (eval echo configure:2588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2650{ (eval echo configure:2651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25882651ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25892652if test -z "$ac_err"; then
     
    26122675set dummy ranlib; ac_word=$2
    26132676echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2614 echo "configure:2615: checking for $ac_word" >&5
     2677echo "configure:2678: checking for $ac_word" >&5
    26152678if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    26162679  echo $ac_n "(cached) $ac_c" 1>&6
     
    26412704
    26422705echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2643 echo "configure:2644: checking for ANSI C header files" >&5
     2706echo "configure:2707: checking for ANSI C header files" >&5
    26442707if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    26452708  echo $ac_n "(cached) $ac_c" 1>&6
     
    26472710  cat > conftest.$ac_ext <<EOF
    26482711#include <sys/types.h>
    2649 #line 2650 "configure"
     2712#line 2713 "configure"
    26502713#include "confdefs.h"
    26512714#include <stdlib.h>
     
    26552718EOF
    26562719ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2657 { (eval echo configure:2658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2720{ (eval echo configure:2721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26582721ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    26592722if test -z "$ac_err"; then
     
    26722735  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    26732736cat > conftest.$ac_ext <<EOF
    2674 #line 2675 "configure"
     2737#line 2738 "configure"
    26752738#include "confdefs.h"
    26762739#include <string.h>
     
    26902753  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    26912754cat > conftest.$ac_ext <<EOF
    2692 #line 2693 "configure"
     2755#line 2756 "configure"
    26932756#include "confdefs.h"
    26942757#include <stdlib.h>
     
    27112774else
    27122775  cat > conftest.$ac_ext <<EOF
    2713 #line 2714 "configure"
     2776#line 2777 "configure"
    27142777#include "confdefs.h"
    27152778#include <ctype.h>
     
    27222785
    27232786EOF
    2724 if { (eval echo configure:2725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2787if { (eval echo configure:2788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    27252788then
    27262789  :
     
    27462809
    27472810echo $ac_n "checking for working const""... $ac_c" 1>&6
    2748 echo "configure:2749: checking for working const" >&5
     2811echo "configure:2812: checking for working const" >&5
    27492812if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    27502813  echo $ac_n "(cached) $ac_c" 1>&6
    27512814else
    27522815  cat > conftest.$ac_ext <<EOF
    2753 #line 2754 "configure"
     2816#line 2817 "configure"
    27542817#include "confdefs.h"
    27552818
     
    28002863; return 0; }
    28012864EOF
    2802 if { (eval echo configure:2803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2865if { (eval echo configure:2866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    28032866  rm -rf conftest*
    28042867  ac_cv_c_const=yes
     
    28212884
    28222885echo $ac_n "checking for inline""... $ac_c" 1>&6
    2823 echo "configure:2824: checking for inline" >&5
     2886echo "configure:2887: checking for inline" >&5
    28242887if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    28252888  echo $ac_n "(cached) $ac_c" 1>&6
     
    28282891for ac_kw in inline __inline__ __inline; do
    28292892  cat > conftest.$ac_ext <<EOF
    2830 #line 2831 "configure"
     2893#line 2894 "configure"
    28312894#include "confdefs.h"
    28322895
     
    28352898; return 0; }
    28362899EOF
    2837 if { (eval echo configure:2838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2900if { (eval echo configure:2901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    28382901  rm -rf conftest*
    28392902  ac_cv_c_inline=$ac_kw; break
     
    28612924
    28622925echo $ac_n "checking for off_t""... $ac_c" 1>&6
    2863 echo "configure:2864: checking for off_t" >&5
     2926echo "configure:2927: checking for off_t" >&5
    28642927if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
    28652928  echo $ac_n "(cached) $ac_c" 1>&6
    28662929else
    28672930  cat > conftest.$ac_ext <<EOF
    2868 #line 2869 "configure"
     2931#line 2932 "configure"
    28692932#include "confdefs.h"
    28702933#include <sys/types.h>
     
    28942957
    28952958echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2896 echo "configure:2897: checking for size_t" >&5
     2959echo "configure:2960: checking for size_t" >&5
    28972960if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    28982961  echo $ac_n "(cached) $ac_c" 1>&6
    28992962else
    29002963  cat > conftest.$ac_ext <<EOF
    2901 #line 2902 "configure"
     2964#line 2965 "configure"
    29022965#include "confdefs.h"
    29032966#include <sys/types.h>
     
    29292992# for constant arguments.  Useless!
    29302993echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2931 echo "configure:2932: checking for working alloca.h" >&5
     2994echo "configure:2995: checking for working alloca.h" >&5
    29322995if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    29332996  echo $ac_n "(cached) $ac_c" 1>&6
    29342997else
    29352998  cat > conftest.$ac_ext <<EOF
    2936 #line 2937 "configure"
     2999#line 3000 "configure"
    29373000#include "confdefs.h"
    29383001#include <alloca.h>
     
    29413004; return 0; }
    29423005EOF
    2943 if { (eval echo configure:2944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3006if { (eval echo configure:3007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29443007  rm -rf conftest*
    29453008  ac_cv_header_alloca_h=yes
     
    29623025
    29633026echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2964 echo "configure:2965: checking for alloca" >&5
     3027echo "configure:3028: checking for alloca" >&5
    29653028if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    29663029  echo $ac_n "(cached) $ac_c" 1>&6
    29673030else
    29683031  cat > conftest.$ac_ext <<EOF
    2969 #line 2970 "configure"
     3032#line 3033 "configure"
    29703033#include "confdefs.h"
    29713034
     
    29953058; return 0; }
    29963059EOF
    2997 if { (eval echo configure:2998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3060if { (eval echo configure:3061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29983061  rm -rf conftest*
    29993062  ac_cv_func_alloca_works=yes
     
    30273090
    30283091echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    3029 echo "configure:3030: checking whether alloca needs Cray hooks" >&5
     3092echo "configure:3093: checking whether alloca needs Cray hooks" >&5
    30303093if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    30313094  echo $ac_n "(cached) $ac_c" 1>&6
    30323095else
    30333096  cat > conftest.$ac_ext <<EOF
    3034 #line 3035 "configure"
     3097#line 3098 "configure"
    30353098#include "confdefs.h"
    30363099#if defined(CRAY) && ! defined(CRAY2)
     
    30573120for ac_func in _getb67 GETB67 getb67; do
    30583121  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3059 echo "configure:3060: checking for $ac_func" >&5
     3122echo "configure:3123: checking for $ac_func" >&5
    30603123if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    30613124  echo $ac_n "(cached) $ac_c" 1>&6
    30623125else
    30633126  cat > conftest.$ac_ext <<EOF
    3064 #line 3065 "configure"
     3127#line 3128 "configure"
    30653128#include "confdefs.h"
    30663129/* System header to define __stub macros and hopefully few prototypes,
     
    30853148; return 0; }
    30863149EOF
    3087 if { (eval echo configure:3088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3150if { (eval echo configure:3151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30883151  rm -rf conftest*
    30893152  eval "ac_cv_func_$ac_func=yes"
     
    31123175
    31133176echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    3114 echo "configure:3115: checking stack direction for C alloca" >&5
     3177echo "configure:3178: checking stack direction for C alloca" >&5
    31153178if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    31163179  echo $ac_n "(cached) $ac_c" 1>&6
     
    31203183else
    31213184  cat > conftest.$ac_ext <<EOF
    3122 #line 3123 "configure"
     3185#line 3186 "configure"
    31233186#include "confdefs.h"
    31243187find_stack_direction ()
     
    31393202}
    31403203EOF
    3141 if { (eval echo configure:3142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3204if { (eval echo configure:3205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31423205then
    31433206  ac_cv_c_stack_direction=1
     
    31643227ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    31653228echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3166 echo "configure:3167: checking for $ac_hdr" >&5
     3229echo "configure:3230: checking for $ac_hdr" >&5
    31673230if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    31683231  echo $ac_n "(cached) $ac_c" 1>&6
     
    31703233  cat > conftest.$ac_ext <<EOF
    31713234#include <sys/types.h>
    3172 #line 3173 "configure"
     3235#line 3236 "configure"
    31733236#include "confdefs.h"
    31743237#include <$ac_hdr>
    31753238EOF
    31763239ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3177 { (eval echo configure:3178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3240{ (eval echo configure:3241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    31783241ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    31793242if test -z "$ac_err"; then
     
    32043267do
    32053268echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3206 echo "configure:3207: checking for $ac_func" >&5
     3269echo "configure:3270: checking for $ac_func" >&5
    32073270if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    32083271  echo $ac_n "(cached) $ac_c" 1>&6
    32093272else
    32103273  cat > conftest.$ac_ext <<EOF
    3211 #line 3212 "configure"
     3274#line 3275 "configure"
    32123275#include "confdefs.h"
    32133276/* System header to define __stub macros and hopefully few prototypes,
     
    32323295; return 0; }
    32333296EOF
    3234 if { (eval echo configure:3235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3297if { (eval echo configure:3298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    32353298  rm -rf conftest*
    32363299  eval "ac_cv_func_$ac_func=yes"
     
    32573320
    32583321echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    3259 echo "configure:3260: checking for working mmap" >&5
     3322echo "configure:3323: checking for working mmap" >&5
    32603323if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    32613324  echo $ac_n "(cached) $ac_c" 1>&6
     
    32653328else
    32663329  cat > conftest.$ac_ext <<EOF
    3267 #line 3268 "configure"
     3330#line 3331 "configure"
    32683331#include "confdefs.h"
    32693332
     
    34053468
    34063469EOF
    3407 if { (eval echo configure:3408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3470if { (eval echo configure:3471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34083471then
    34093472  ac_cv_func_mmap_fixed_mapped=yes
     
    34333496ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    34343497echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3435 echo "configure:3436: checking for $ac_hdr" >&5
     3498echo "configure:3499: checking for $ac_hdr" >&5
    34363499if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    34373500  echo $ac_n "(cached) $ac_c" 1>&6
     
    34393502  cat > conftest.$ac_ext <<EOF
    34403503#include <sys/types.h>
    3441 #line 3442 "configure"
     3504#line 3505 "configure"
    34423505#include "confdefs.h"
    34433506#include <$ac_hdr>
    34443507EOF
    34453508ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3446 { (eval echo configure:3447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3509{ (eval echo configure:3510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    34473510ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    34483511if test -z "$ac_err"; then
     
    34743537do
    34753538echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3476 echo "configure:3477: checking for $ac_func" >&5
     3539echo "configure:3540: checking for $ac_func" >&5
    34773540if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    34783541  echo $ac_n "(cached) $ac_c" 1>&6
    34793542else
    34803543  cat > conftest.$ac_ext <<EOF
    3481 #line 3482 "configure"
     3544#line 3545 "configure"
    34823545#include "confdefs.h"
    34833546/* System header to define __stub macros and hopefully few prototypes,
     
    35023565; return 0; }
    35033566EOF
    3504 if { (eval echo configure:3505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3567if { (eval echo configure:3568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35053568  rm -rf conftest*
    35063569  eval "ac_cv_func_$ac_func=yes"
     
    35313594do
    35323595echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3533 echo "configure:3534: checking for $ac_func" >&5
     3596echo "configure:3597: checking for $ac_func" >&5
    35343597if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    35353598  echo $ac_n "(cached) $ac_c" 1>&6
    35363599else
    35373600  cat > conftest.$ac_ext <<EOF
    3538 #line 3539 "configure"
     3601#line 3602 "configure"
    35393602#include "confdefs.h"
    35403603/* System header to define __stub macros and hopefully few prototypes,
     
    35593622; return 0; }
    35603623EOF
    3561 if { (eval echo configure:3562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3624if { (eval echo configure:3625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35623625  rm -rf conftest*
    35633626  eval "ac_cv_func_$ac_func=yes"
     
    35933656   if test $ac_cv_header_locale_h = yes; then
    35943657    echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
    3595 echo "configure:3596: checking for LC_MESSAGES" >&5
     3658echo "configure:3659: checking for LC_MESSAGES" >&5
    35963659if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
    35973660  echo $ac_n "(cached) $ac_c" 1>&6
    35983661else
    35993662  cat > conftest.$ac_ext <<EOF
    3600 #line 3601 "configure"
     3663#line 3664 "configure"
    36013664#include "confdefs.h"
    36023665#include <locale.h>
     
    36053668; return 0; }
    36063669EOF
    3607 if { (eval echo configure:3608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3670if { (eval echo configure:3671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36083671  rm -rf conftest*
    36093672  am_cv_val_LC_MESSAGES=yes
     
    36263689  fi
    36273690   echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
    3628 echo "configure:3629: checking whether NLS is requested" >&5
     3691echo "configure:3692: checking whether NLS is requested" >&5
    36293692        # Check whether --enable-nls or --disable-nls was given.
    36303693if test "${enable_nls+set}" = set; then
     
    36463709
    36473710      echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
    3648 echo "configure:3649: checking whether included gettext is requested" >&5
     3711echo "configure:3712: checking whether included gettext is requested" >&5
    36493712      # Check whether --with-included-gettext or --without-included-gettext was given.
    36503713if test "${with_included_gettext+set}" = set; then
     
    36653728        ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
    36663729echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
    3667 echo "configure:3668: checking for libintl.h" >&5
     3730echo "configure:3731: checking for libintl.h" >&5
    36683731if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    36693732  echo $ac_n "(cached) $ac_c" 1>&6
     
    36713734  cat > conftest.$ac_ext <<EOF
    36723735#include <sys/types.h>
    3673 #line 3674 "configure"
     3736#line 3737 "configure"
    36743737#include "confdefs.h"
    36753738#include <libintl.h>
    36763739EOF
    36773740ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3678 { (eval echo configure:3679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3741{ (eval echo configure:3742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    36793742ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    36803743if test -z "$ac_err"; then
     
    36933756  echo "$ac_t""yes" 1>&6
    36943757  echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
    3695 echo "configure:3696: checking for gettext in libc" >&5
     3758echo "configure:3759: checking for gettext in libc" >&5
    36963759if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
    36973760  echo $ac_n "(cached) $ac_c" 1>&6
    36983761else
    36993762  cat > conftest.$ac_ext <<EOF
    3700 #line 3701 "configure"
     3763#line 3764 "configure"
    37013764#include "confdefs.h"
    37023765#include <libintl.h>
     
    37053768; return 0; }
    37063769EOF
    3707 if { (eval echo configure:3708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3770if { (eval echo configure:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37083771  rm -rf conftest*
    37093772  gt_cv_func_gettext_libc=yes
     
    37213784           if test "$gt_cv_func_gettext_libc" != "yes"; then
    37223785             echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
    3723 echo "configure:3724: checking for bindtextdomain in -lintl" >&5
     3786echo "configure:3787: checking for bindtextdomain in -lintl" >&5
    37243787ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
    37253788if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37293792LIBS="-lintl  $LIBS"
    37303793cat > conftest.$ac_ext <<EOF
    3731 #line 3732 "configure"
     3794#line 3795 "configure"
    37323795#include "confdefs.h"
    37333796/* Override any gcc2 internal prototype to avoid an error.  */
     
    37403803; return 0; }
    37413804EOF
    3742 if { (eval echo configure:3743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3805if { (eval echo configure:3806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37433806  rm -rf conftest*
    37443807  eval "ac_cv_lib_$ac_lib_var=yes"
     
    37563819  echo "$ac_t""yes" 1>&6
    37573820  echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
    3758 echo "configure:3759: checking for gettext in libintl" >&5
     3821echo "configure:3822: checking for gettext in libintl" >&5
    37593822if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
    37603823  echo $ac_n "(cached) $ac_c" 1>&6
    37613824else
    37623825  cat > conftest.$ac_ext <<EOF
    3763 #line 3764 "configure"
     3826#line 3827 "configure"
    37643827#include "confdefs.h"
    37653828
     
    37683831; return 0; }
    37693832EOF
    3770 if { (eval echo configure:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3833if { (eval echo configure:3834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37713834  rm -rf conftest*
    37723835  gt_cv_func_gettext_libintl=yes
     
    37963859set dummy msgfmt; ac_word=$2
    37973860echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3798 echo "configure:3799: checking for $ac_word" >&5
     3861echo "configure:3862: checking for $ac_word" >&5
    37993862if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    38003863  echo $ac_n "(cached) $ac_c" 1>&6
     
    38303893do
    38313894echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3832 echo "configure:3833: checking for $ac_func" >&5
     3895echo "configure:3896: checking for $ac_func" >&5
    38333896if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    38343897  echo $ac_n "(cached) $ac_c" 1>&6
    38353898else
    38363899  cat > conftest.$ac_ext <<EOF
    3837 #line 3838 "configure"
     3900#line 3901 "configure"
    38383901#include "confdefs.h"
    38393902/* System header to define __stub macros and hopefully few prototypes,
     
    38583921; return 0; }
    38593922EOF
    3860 if { (eval echo configure:3861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3923if { (eval echo configure:3924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38613924  rm -rf conftest*
    38623925  eval "ac_cv_func_$ac_func=yes"
     
    38853948set dummy gmsgfmt; ac_word=$2
    38863949echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3887 echo "configure:3888: checking for $ac_word" >&5
     3950echo "configure:3951: checking for $ac_word" >&5
    38883951if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    38893952  echo $ac_n "(cached) $ac_c" 1>&6
     
    39253988set dummy xgettext; ac_word=$2
    39263989echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3927 echo "configure:3928: checking for $ac_word" >&5
     3990echo "configure:3991: checking for $ac_word" >&5
    39283991if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    39293992  echo $ac_n "(cached) $ac_c" 1>&6
     
    39574020
    39584021                cat > conftest.$ac_ext <<EOF
    3959 #line 3960 "configure"
     4022#line 4023 "configure"
    39604023#include "confdefs.h"
    39614024
     
    39654028; return 0; }
    39664029EOF
    3967 if { (eval echo configure:3968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4030if { (eval echo configure:4031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39684031  rm -rf conftest*
    39694032  CATOBJEXT=.gmo
     
    39974060set dummy msgfmt; ac_word=$2
    39984061echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3999 echo "configure:4000: checking for $ac_word" >&5
     4062echo "configure:4063: checking for $ac_word" >&5
    40004063if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    40014064  echo $ac_n "(cached) $ac_c" 1>&6
     
    40314094set dummy gmsgfmt; ac_word=$2
    40324095echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4033 echo "configure:4034: checking for $ac_word" >&5
     4096echo "configure:4097: checking for $ac_word" >&5
    40344097if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    40354098  echo $ac_n "(cached) $ac_c" 1>&6
     
    40714134set dummy xgettext; ac_word=$2
    40724135echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4073 echo "configure:4074: checking for $ac_word" >&5
     4136echo "configure:4137: checking for $ac_word" >&5
    40744137if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    40754138  echo $ac_n "(cached) $ac_c" 1>&6
     
    41614224     else
    41624225       echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
    4163 echo "configure:4164: checking for catalogs to be installed" >&5
     4226echo "configure:4227: checking for catalogs to be installed" >&5
    41644227       NEW_LINGUAS=
    41654228       for lang in ${LINGUAS=$ALL_LINGUAS}; do
     
    41894252         ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
    41904253echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
    4191 echo "configure:4192: checking for linux/version.h" >&5
     4254echo "configure:4255: checking for linux/version.h" >&5
    41924255if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    41934256  echo $ac_n "(cached) $ac_c" 1>&6
     
    41954258  cat > conftest.$ac_ext <<EOF
    41964259#include <sys/types.h>
    4197 #line 4198 "configure"
     4260#line 4261 "configure"
    41984261#include "confdefs.h"
    41994262#include <linux/version.h>
    42004263EOF
    42014264ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4202 { (eval echo configure:4203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4265{ (eval echo configure:4266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    42034266ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    42044267if test -z "$ac_err"; then
     
    42454308   
    42464309
    4247             if test -d $srcdir/po; then
     4310            if test -f $srcdir/po/POTFILES.in; then
    42484311      test -d po || mkdir po
    42494312      if test "x$srcdir" != "x."; then
    4250                  if test "x`echo $srcdir | sed -e 's@.\:/.*@@'  -e 's@/.*@@' `" = "x"; then
     4313                 if test "x`echo $srcdir | sed -e 's@.\:/.*@@'  -e 's@/.*@@' `" = "x"; then
    42514314            posrcprefix="$srcdir/"
    42524315         else
     
    42634326
    42644327echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    4265 echo "configure:4266: checking whether to enable maintainer-specific portions of Makefiles" >&5
     4328echo "configure:4329: checking whether to enable maintainer-specific portions of Makefiles" >&5
    42664329    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    42674330if test "${enable_maintainer_mode+set}" = set; then
     
    42894352
    42904353echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    4291 echo "configure:4292: checking for executable suffix" >&5
     4354echo "configure:4355: checking for executable suffix" >&5
    42924355if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    42934356  echo $ac_n "(cached) $ac_c" 1>&6
     
    42994362  echo 'int main () { return 0; }' > conftest.$ac_ext
    43004363  ac_cv_exeext=
    4301   if { (eval echo configure:4302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     4364  if { (eval echo configure:4365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    43024365    for file in conftest.*; do
    43034366      case $file in
     
    43244387ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    43254388echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4326 echo "configure:4327: checking for $ac_hdr" >&5
     4389echo "configure:4390: checking for $ac_hdr" >&5
    43274390if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    43284391  echo $ac_n "(cached) $ac_c" 1>&6
     
    43304393  cat > conftest.$ac_ext <<EOF
    43314394#include <sys/types.h>
    4332 #line 4333 "configure"
     4395#line 4396 "configure"
    43334396#include "confdefs.h"
    43344397#include <$ac_hdr>
    43354398EOF
    43364399ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4337 { (eval echo configure:4338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4400{ (eval echo configure:4401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    43384401ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    43394402if test -z "$ac_err"; then
     
    43624425
    43634426
    4364 echo $ac_n "checking the size of gmon pointers""... $ac_c" 1>&6
    4365 echo "configure:4366: checking the size of gmon pointers" >&5
    4366 if test "$cross_compiling" = yes; then
    4367   gmon_ptr_size=4
    4368 else
    4369   cat > conftest.$ac_ext <<EOF
    4370 #line 4371 "configure"
    4371 #include "confdefs.h"
    4372 #include <stdio.h>
    4373 #include <stdlib.h>
    4374 #if HAVE_SYS_GMON_OUT_H
    4375 #include <sys/gmon_out.h>
    4376 #endif
    4377 main()
    4378 {
    4379 #if HAVE_SYS_GMON_OUT_H
    4380   struct gmon_cg_arc_record arc;
    4381   FILE *f=fopen("conftestval", "w");
    4382   if (!f) exit(1);
    4383   fprintf(f, "%d\n", sizeof(arc.from_pc));
    4384   exit(0);
    4385 #else
    4386   FILE *f=fopen("conftestval", "w");
    4387   if (!f) exit(1);
    4388   fprintf(f, "%d\n", (int) sizeof(char *));
    4389   exit(1);
    4390 #endif
    4391 }
    4392 EOF
    4393 if { (eval echo configure:4394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    4394 then
    4395   gmon_ptr_size=`cat conftestval`
    4396 else
    4397   echo "configure: failed program was:" >&5
    4398   cat conftest.$ac_ext >&5
    4399   rm -fr conftest*
    4400   gmon_ptr_size=4
    4401 fi
    4402 rm -fr conftest*
    4403 fi
    4404 
    4405 echo "$ac_t""$gmon_ptr_size" 1>&6
    4406 
    4407 cat >> confdefs.h <<EOF
    4408 #define GMON_PTR_SIZE $gmon_ptr_size
    4409 EOF
    4410 
    4411 
    4412 build_warnings="-W -Wall"
     4427build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
    44134428# Check whether --enable-build-warnings or --disable-build-warnings was given.
    44144429if test "${enable_build_warnings+set}" = set; then
  • trunk/src/binutils/ld/configure

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r618 r619  
    2525  --with-pic              try to use only PIC/non-PIC objects [default=use both]"
    2626ac_help="$ac_help
     27  --with-lib-path=dir1:dir2...  set default LIB_PATH"
     28ac_help="$ac_help
    2729  --enable-targets        alternative target configurations"
    2830ac_help="$ac_help
    2931  --enable-64-bit-bfd     64-bit support (on hosts with narrower word sizes)"
    3032ac_help="$ac_help
    31   --enable-build-warnings Enable build-time compiler warnings if gcc is used"
     33  --with-sysroot[=DIR] Search for usr/lib et al within DIR."
     34ac_help="$ac_help
     35  --enable-build-warnings enable build-time compiler warnings if gcc is used"
    3236ac_help="$ac_help
    3337  --disable-nls           do not use Native Language Support"
     
    547551
    548552echo $ac_n "checking for path separator""... $ac_c" 1>&6
    549 echo "configure:550: checking for path separator" >&5
     553echo "configure:554: checking for path separator" >&5
    550554# Filter path to get backslahes into forwardslashes
    551555case "`uname -s 2> /dev/null`" in
     
    561565
    562566echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    563 echo "configure:564: checking for Cygwin environment" >&5
     567echo "configure:568: checking for Cygwin environment" >&5
    564568if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    565569  echo $ac_n "(cached) $ac_c" 1>&6
    566570else
    567571  cat > conftest.$ac_ext <<EOF
    568 #line 569 "configure"
     572#line 573 "configure"
    569573#include "confdefs.h"
    570574
     
    577581; return 0; }
    578582EOF
    579 if { (eval echo configure:580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     583if { (eval echo configure:584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    580584  rm -rf conftest*
    581585  ac_cv_cygwin=yes
     
    594598test "$ac_cv_cygwin" = yes && CYGWIN=yes
    595599echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    596 echo "configure:597: checking for mingw32 environment" >&5
     600echo "configure:601: checking for mingw32 environment" >&5
    597601if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    598602  echo $ac_n "(cached) $ac_c" 1>&6
    599603else
    600604  cat > conftest.$ac_ext <<EOF
    601 #line 602 "configure"
     605#line 606 "configure"
    602606#include "confdefs.h"
    603607
     
    606610; return 0; }
    607611EOF
    608 if { (eval echo configure:609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     612if { (eval echo configure:613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    609613  rm -rf conftest*
    610614  ac_cv_mingw32=yes
     
    623627test "$ac_cv_mingw32" = yes && MINGW32=yes
    624628echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6
    625 echo "configure:626: checking for EMX/OS2 environment" >&5
     629echo "configure:630: checking for EMX/OS2 environment" >&5
    626630if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then
    627631  echo $ac_n "(cached) $ac_c" 1>&6
     
    629633  : ${CC=gcc.exe}
    630634cat > conftest.$ac_ext <<EOF
    631 #line 632 "configure"
     635#line 636 "configure"
    632636#include "confdefs.h"
    633637
     
    636640; return 0; }
    637641EOF
    638 if { (eval echo configure:639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     642if { (eval echo configure:643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    639643  rm -rf conftest*
    640644  ac_cv_emxos2=yes
     
    667671
    668672echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    669 echo "configure:670: checking for executable suffix" >&5
     673echo "configure:674: checking for executable suffix" >&5
    670674if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    671675  echo $ac_n "(cached) $ac_c" 1>&6
     
    677681  echo 'int main () { return 0; }' > conftest.$ac_ext
    678682  ac_cv_exeext=
    679   if { (eval echo configure:680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     683  if { (eval echo configure:684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    680684    for file in conftest.*; do
    681685      case $file in
     
    746750
    747751echo $ac_n "checking host system type""... $ac_c" 1>&6
    748 echo "configure:749: checking host system type" >&5
     752echo "configure:753: checking host system type" >&5
    749753
    750754host_alias=$host
     
    767771
    768772echo $ac_n "checking target system type""... $ac_c" 1>&6
    769 echo "configure:770: checking target system type" >&5
     773echo "configure:774: checking target system type" >&5
    770774
    771775target_alias=$target
     
    785789
    786790echo $ac_n "checking build system type""... $ac_c" 1>&6
    787 echo "configure:788: checking build system type" >&5
     791echo "configure:792: checking build system type" >&5
    788792
    789793build_alias=$build
     
    807811  program_prefix=${target_alias}-
    808812
     813
     814        echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
     815echo "configure:816: checking for strerror in -lcposix" >&5
     816ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
     817if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     818  echo $ac_n "(cached) $ac_c" 1>&6
     819else
     820  ac_save_LIBS="$LIBS"
     821LIBS="-lcposix  $LIBS"
     822cat > conftest.$ac_ext <<EOF
     823#line 824 "configure"
     824#include "confdefs.h"
     825/* Override any gcc2 internal prototype to avoid an error.  */
     826/* We use char because int might match the return type of a gcc2
     827    builtin and then its argument prototype would still apply.  */
     828char strerror();
     829
     830int main() {
     831strerror()
     832; return 0; }
     833EOF
     834if { (eval echo configure:835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     835  rm -rf conftest*
     836  eval "ac_cv_lib_$ac_lib_var=yes"
     837else
     838  echo "configure: failed program was:" >&5
     839  cat conftest.$ac_ext >&5
     840  rm -rf conftest*
     841  eval "ac_cv_lib_$ac_lib_var=no"
     842fi
     843rm -f conftest*
     844LIBS="$ac_save_LIBS"
     845
     846fi
     847if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     848  echo "$ac_t""yes" 1>&6
     849  LIBS="$LIBS -lcposix"
     850else
     851  echo "$ac_t""no" 1>&6
     852fi
     853
     854 
     855
     856
     857BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[         ]*\([^  ]*\)[   ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
     858# Find a good install program.  We prefer a C program (faster),
     859# so one script is as good as another.  But avoid the broken or
     860# incompatible versions:
     861# SysV /etc/install, /usr/sbin/install
     862# SunOS /usr/etc/install
     863# IRIX /sbin/install
     864# AIX /bin/install
     865# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     866# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     867# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     868# ./install, which can be erroneously created by make from ./install.sh.
     869echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
     870echo "configure:871: checking for a BSD compatible install" >&5
     871if test -z "$INSTALL"; then
     872if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     873  echo $ac_n "(cached) $ac_c" 1>&6
     874else
     875    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS"
     876  for ac_dir in $PATH; do
     877    # Account for people who put trailing slashes in PATH elements.
     878    case "$ac_dir/" in
     879    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
     880    # We reject the install program from OS/2 or W3.1
     881    */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;;
     882    *)
     883      # OSF1 and SCO ODT 3.0 have their own names for install.
     884      # Don't use installbsd from OSF since it installs stuff as root
     885      # by default.
     886      for ac_prog in ginstall scoinst install; do
     887        if test -f $ac_dir/$ac_prog$ac_exeext; then
     888          if test $ac_prog = install &&
     889            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
     890            # AIX install.  It has an incompatible calling convention.
     891            :
     892          else
     893            ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c"
     894            break 2
     895          fi
     896        fi
     897      done
     898      ;;
     899    esac
     900  done
     901  IFS="$ac_save_IFS"
     902
     903fi
     904  if test "${ac_cv_path_install+set}" = set; then
     905    INSTALL="$ac_cv_path_install"
     906  else
     907    # As a last resort, use the slow shell script.  We don't cache a
     908    # path for INSTALL within a source directory, because that will
     909    # break other packages using the cache if that directory is
     910    # removed, or if the path is relative.
     911    INSTALL="$ac_install_sh"
     912  fi
     913fi
     914echo "$ac_t""$INSTALL" 1>&6
     915
     916# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     917# It thinks the first close brace ends the variable substitution.
     918test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     919
     920test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
     921
     922test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     923
     924echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
     925echo "configure:926: checking whether build environment is sane" >&5
     926# Just in case
     927sleep 1
     928echo timestamp > conftestfile
     929# Do `set' in a subshell so we don't clobber the current shell's
     930# arguments.  Must try -L first in case configure is actually a
     931# symlink; some systems play weird games with the mod time of symlinks
     932# (eg FreeBSD returns the mod time of the symlink's containing
     933# directory).
     934if (
     935   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
     936   if test "$*" = "X"; then
     937      # -L didn't work.
     938      set X `ls -t $srcdir/configure conftestfile`
     939   fi
     940   if test "$*" != "X $srcdir/configure conftestfile" \
     941      && test "$*" != "X conftestfile $srcdir/configure"; then
     942
     943      # If neither matched, then we have a broken ls.  This can happen
     944      # if, for instance, CONFIG_SHELL is bash and it inherits a
     945      # broken ls alias from the environment.  This has actually
     946      # happened.  Such a system could not be considered "sane".
     947      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
     948alias in your environment" 1>&2; exit 1; }
     949   fi
     950
     951   test "$2" = conftestfile
     952   )
     953then
     954   # Ok.
     955   :
     956else
     957   { echo "configure: error: newly created file is older than distributed files!
     958Check your system clock" 1>&2; exit 1; }
     959fi
     960rm -f conftest*
     961echo "$ac_t""yes" 1>&6
     962if test "$program_transform_name" = s,x,x,; then
     963  program_transform_name=
     964else
     965  # Double any \ or $.  echo might interpret backslashes.
     966  cat <<\EOF_SED > conftestsed
     967s,\\,\\\\,g; s,\$,$$,g
     968EOF_SED
     969  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
     970  rm -f conftestsed
     971fi
     972test "$program_prefix" != NONE &&
     973  program_transform_name="s,^,${program_prefix},; $program_transform_name"
     974# Use a double $ so make ignores it.
     975test "$program_suffix" != NONE &&
     976  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
     977
     978# sed with no file args requires a program.
     979test "$program_transform_name" = "" && program_transform_name="s,x,x,"
     980
     981echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
     982echo "configure:983: checking whether ${MAKE-make} sets \${MAKE}" >&5
     983set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
     984if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     985  echo $ac_n "(cached) $ac_c" 1>&6
     986else
     987  cat > conftestmake <<\EOF
     988all:
     989        @echo 'ac_maketemp="${MAKE}"'
     990EOF
     991# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     992eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
     993if test -n "$ac_maketemp"; then
     994  eval ac_cv_prog_make_${ac_make}_set=yes
     995else
     996  eval ac_cv_prog_make_${ac_make}_set=no
     997fi
     998rm -f conftestmake
     999fi
     1000if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     1001  echo "$ac_t""yes" 1>&6
     1002  SET_MAKE=
     1003else
     1004  echo "$ac_t""no" 1>&6
     1005  SET_MAKE="MAKE=${MAKE-make}"
     1006fi
     1007
     1008
     1009PACKAGE=ld
     1010
     1011VERSION=${BFD_VERSION}
     1012
     1013if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
     1014  { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
     1015fi
     1016cat >> confdefs.h <<EOF
     1017#define PACKAGE "$PACKAGE"
     1018EOF
     1019
     1020cat >> confdefs.h <<EOF
     1021#define VERSION "$VERSION"
     1022EOF
     1023
     1024
     1025
     1026missing_dir=`cd $ac_aux_dir && pwd`
     1027echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
     1028echo "configure:1029: checking for working aclocal" >&5
     1029# Run test in a subshell; some versions of sh will print an error if
     1030# an executable is not found, even if stderr is redirected.
     1031# Redirect stdin to placate older versions of autoconf.  Sigh.
     1032if (aclocal --version) < /dev/null > /dev/null 2>&1; then
     1033   ACLOCAL=aclocal
     1034   echo "$ac_t""found" 1>&6
     1035else
     1036   ACLOCAL="$missing_dir/missing aclocal"
     1037   echo "$ac_t""missing" 1>&6
     1038fi
     1039
     1040echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
     1041echo "configure:1042: checking for working autoconf" >&5
     1042# Run test in a subshell; some versions of sh will print an error if
     1043# an executable is not found, even if stderr is redirected.
     1044# Redirect stdin to placate older versions of autoconf.  Sigh.
     1045if (autoconf --version) < /dev/null > /dev/null 2>&1; then
     1046   AUTOCONF=autoconf
     1047   echo "$ac_t""found" 1>&6
     1048else
     1049   AUTOCONF="$missing_dir/missing autoconf"
     1050   echo "$ac_t""missing" 1>&6
     1051fi
     1052
     1053echo $ac_n "checking for working automake""... $ac_c" 1>&6
     1054echo "configure:1055: checking for working automake" >&5
     1055# Run test in a subshell; some versions of sh will print an error if
     1056# an executable is not found, even if stderr is redirected.
     1057# Redirect stdin to placate older versions of autoconf.  Sigh.
     1058if (automake --version) < /dev/null > /dev/null 2>&1; then
     1059   AUTOMAKE=automake
     1060   echo "$ac_t""found" 1>&6
     1061else
     1062   AUTOMAKE="$missing_dir/missing automake"
     1063   echo "$ac_t""missing" 1>&6
     1064fi
     1065
     1066echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
     1067echo "configure:1068: checking for working autoheader" >&5
     1068# Run test in a subshell; some versions of sh will print an error if
     1069# an executable is not found, even if stderr is redirected.
     1070# Redirect stdin to placate older versions of autoconf.  Sigh.
     1071if (autoheader --version) < /dev/null > /dev/null 2>&1; then
     1072   AUTOHEADER=autoheader
     1073   echo "$ac_t""found" 1>&6
     1074else
     1075   AUTOHEADER="$missing_dir/missing autoheader"
     1076   echo "$ac_t""missing" 1>&6
     1077fi
     1078
     1079echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
     1080echo "configure:1081: checking for working makeinfo" >&5
     1081# Run test in a subshell; some versions of sh will print an error if
     1082# an executable is not found, even if stderr is redirected.
     1083# Redirect stdin to placate older versions of autoconf.  Sigh.
     1084if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
     1085   MAKEINFO=makeinfo
     1086   echo "$ac_t""found" 1>&6
     1087else
     1088   MAKEINFO="$missing_dir/missing makeinfo"
     1089   echo "$ac_t""missing" 1>&6
     1090fi
     1091
     1092
     1093
     1094# Check whether --enable-shared or --disable-shared was given.
     1095if test "${enable_shared+set}" = set; then
     1096  enableval="$enable_shared"
     1097  p=${PACKAGE-default}
     1098case $enableval in
     1099yes) enable_shared=yes ;;
     1100no) enable_shared=no ;;
     1101*)
     1102  enable_shared=no
     1103  # Look at the argument we got.  We use all the common list separators.
     1104  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     1105  for pkg in $enableval; do
     1106    if test "X$pkg" = "X$p"; then
     1107      enable_shared=yes
     1108    fi
     1109  done
     1110  IFS="$ac_save_ifs"
     1111  ;;
     1112esac
     1113else
     1114  enable_shared=yes
     1115fi
     1116
     1117# Check whether --enable-static or --disable-static was given.
     1118if test "${enable_static+set}" = set; then
     1119  enableval="$enable_static"
     1120  p=${PACKAGE-default}
     1121case $enableval in
     1122yes) enable_static=yes ;;
     1123no) enable_static=no ;;
     1124*)
     1125  enable_static=no
     1126  # Look at the argument we got.  We use all the common list separators.
     1127  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     1128  for pkg in $enableval; do
     1129    if test "X$pkg" = "X$p"; then
     1130      enable_static=yes
     1131    fi
     1132  done
     1133  IFS="$ac_save_ifs"
     1134  ;;
     1135esac
     1136else
     1137  enable_static=yes
     1138fi
     1139
     1140# Check whether --enable-fast-install or --disable-fast-install was given.
     1141if test "${enable_fast_install+set}" = set; then
     1142  enableval="$enable_fast_install"
     1143  p=${PACKAGE-default}
     1144case $enableval in
     1145yes) enable_fast_install=yes ;;
     1146no) enable_fast_install=no ;;
     1147*)
     1148  enable_fast_install=no
     1149  # Look at the argument we got.  We use all the common list separators.
     1150  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     1151  for pkg in $enableval; do
     1152    if test "X$pkg" = "X$p"; then
     1153      enable_fast_install=yes
     1154    fi
     1155  done
     1156  IFS="$ac_save_ifs"
     1157  ;;
     1158esac
     1159else
     1160  enable_fast_install=yes
     1161fi
     1162
    8091163# Extract the first word of "gcc", so it can be a program name with args.
    8101164set dummy gcc; ac_word=$2
    8111165echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    812 echo "configure:813: checking for $ac_word" >&5
     1166echo "configure:1167: checking for $ac_word" >&5
    8131167if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    8141168  echo $ac_n "(cached) $ac_c" 1>&6
     
    8411195set dummy cc; ac_word=$2
    8421196echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    843 echo "configure:844: checking for $ac_word" >&5
     1197echo "configure:1198: checking for $ac_word" >&5
    8441198if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    8451199  echo $ac_n "(cached) $ac_c" 1>&6
     
    8941248set dummy cl; ac_word=$2
    8951249echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    896 echo "configure:897: checking for $ac_word" >&5
     1250echo "configure:1251: checking for $ac_word" >&5
    8971251if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    8981252  echo $ac_n "(cached) $ac_c" 1>&6
     
    9271281
    9281282echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    929 echo "configure:930: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1283echo "configure:1284: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    9301284
    9311285ac_ext=c
     
    9381292cat > conftest.$ac_ext << EOF
    9391293
    940 #line 941 "configure"
     1294#line 1295 "configure"
    9411295#include "confdefs.h"
    9421296
    9431297main(){return(0);}
    9441298EOF
    945 if { (eval echo configure:946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1299if { (eval echo configure:1300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    9461300  ac_cv_prog_cc_works=yes
    9471301  # If we can't run a trivial program, we are probably using a cross compiler.
     
    9691323fi
    9701324echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    971 echo "configure:972: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1325echo "configure:1326: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    9721326echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    9731327cross_compiling=$ac_cv_prog_cc_cross
    9741328
    9751329echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    976 echo "configure:977: checking whether we are using GNU C" >&5
     1330echo "configure:1331: checking whether we are using GNU C" >&5
    9771331if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    9781332  echo $ac_n "(cached) $ac_c" 1>&6
     
    9831337#endif
    9841338EOF
    985 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1339if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    9861340  ac_cv_prog_gcc=yes
    9871341else
     
    10021356CFLAGS=
    10031357echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1004 echo "configure:1005: checking whether ${CC-cc} accepts -g" >&5
     1358echo "configure:1359: checking whether ${CC-cc} accepts -g" >&5
    10051359if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    10061360  echo $ac_n "(cached) $ac_c" 1>&6
     
    10331387fi
    10341388
    1035 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
    1036 echo "configure:1037: checking for POSIXized ISC" >&5
    1037 if test -d /etc/conf/kconfig.d &&
    1038   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
    1039 then
    1040   echo "$ac_t""yes" 1>&6
    1041   ISC=yes # If later tests want to check for ISC.
    1042   cat >> confdefs.h <<\EOF
    1043 #define _POSIX_SOURCE 1
    1044 EOF
    1045 
    1046   if test "$GCC" = yes; then
    1047     CC="$CC -posix"
    1048   else
    1049     CC="$CC -Xp"
    1050   fi
    1051 else
    1052   echo "$ac_t""no" 1>&6
    1053   ISC=
    1054 fi
    1055 
    1056 
    1057 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[         ]*\([^  ]*\)[   ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
    1058 # Find a good install program.  We prefer a C program (faster),
    1059 # so one script is as good as another.  But avoid the broken or
    1060 # incompatible versions:
    1061 # SysV /etc/install, /usr/sbin/install
    1062 # SunOS /usr/etc/install
    1063 # IRIX /sbin/install
    1064 # AIX /bin/install
    1065 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    1066 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    1067 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    1068 # ./install, which can be erroneously created by make from ./install.sh.
    1069 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1070 echo "configure:1071: checking for a BSD compatible install" >&5
    1071 if test -z "$INSTALL"; then
    1072 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    1073   echo $ac_n "(cached) $ac_c" 1>&6
    1074 else
    1075     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS"
    1076   for ac_dir in $PATH; do
    1077     # Account for people who put trailing slashes in PATH elements.
    1078     case "$ac_dir/" in
    1079     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
    1080     # We reject the install program from OS/2 or W3.1
    1081     */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;;
    1082     *)
    1083       # OSF1 and SCO ODT 3.0 have their own names for install.
    1084       # Don't use installbsd from OSF since it installs stuff as root
    1085       # by default.
    1086       for ac_prog in ginstall scoinst install; do
    1087         if test -f $ac_dir/$ac_prog$ac_exeext; then
    1088           if test $ac_prog = install &&
    1089             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
    1090             # AIX install.  It has an incompatible calling convention.
    1091             :
    1092           else
    1093             ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c"
    1094             break 2
    1095           fi
    1096         fi
    1097       done
    1098       ;;
    1099     esac
    1100   done
    1101   IFS="$ac_save_IFS"
    1102 
    1103 fi
    1104   if test "${ac_cv_path_install+set}" = set; then
    1105     INSTALL="$ac_cv_path_install"
    1106   else
    1107     # As a last resort, use the slow shell script.  We don't cache a
    1108     # path for INSTALL within a source directory, because that will
    1109     # break other packages using the cache if that directory is
    1110     # removed, or if the path is relative.
    1111     INSTALL="$ac_install_sh"
    1112   fi
    1113 fi
    1114 echo "$ac_t""$INSTALL" 1>&6
    1115 
    1116 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    1117 # It thinks the first close brace ends the variable substitution.
    1118 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    1119 
    1120 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
    1121 
    1122 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    1123 
    1124 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    1125 echo "configure:1126: checking whether build environment is sane" >&5
    1126 # Just in case
    1127 sleep 1
    1128 echo timestamp > conftestfile
    1129 # Do `set' in a subshell so we don't clobber the current shell's
    1130 # arguments.  Must try -L first in case configure is actually a
    1131 # symlink; some systems play weird games with the mod time of symlinks
    1132 # (eg FreeBSD returns the mod time of the symlink's containing
    1133 # directory).
    1134 if (
    1135    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
    1136    if test "$*" = "X"; then
    1137       # -L didn't work.
    1138       set X `ls -t $srcdir/configure conftestfile`
    1139    fi
    1140    if test "$*" != "X $srcdir/configure conftestfile" \
    1141       && test "$*" != "X conftestfile $srcdir/configure"; then
    1142 
    1143       # If neither matched, then we have a broken ls.  This can happen
    1144       # if, for instance, CONFIG_SHELL is bash and it inherits a
    1145       # broken ls alias from the environment.  This has actually
    1146       # happened.  Such a system could not be considered "sane".
    1147       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
    1148 alias in your environment" 1>&2; exit 1; }
    1149    fi
    1150 
    1151    test "$2" = conftestfile
    1152    )
    1153 then
    1154    # Ok.
    1155    :
    1156 else
    1157    { echo "configure: error: newly created file is older than distributed files!
    1158 Check your system clock" 1>&2; exit 1; }
    1159 fi
    1160 rm -f conftest*
    1161 echo "$ac_t""yes" 1>&6
    1162 if test "$program_transform_name" = s,x,x,; then
    1163   program_transform_name=
    1164 else
    1165   # Double any \ or $.  echo might interpret backslashes.
    1166   cat <<\EOF_SED > conftestsed
    1167 s,\\,\\\\,g; s,\$,$$,g
    1168 EOF_SED
    1169   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
    1170   rm -f conftestsed
    1171 fi
    1172 test "$program_prefix" != NONE &&
    1173   program_transform_name="s,^,${program_prefix},; $program_transform_name"
    1174 # Use a double $ so make ignores it.
    1175 test "$program_suffix" != NONE &&
    1176   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
    1177 
    1178 # sed with no file args requires a program.
    1179 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
    1180 
    1181 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1182 echo "configure:1183: checking whether ${MAKE-make} sets \${MAKE}" >&5
    1183 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    1184 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
    1185   echo $ac_n "(cached) $ac_c" 1>&6
    1186 else
    1187   cat > conftestmake <<\EOF
    1188 all:
    1189         @echo 'ac_maketemp="${MAKE}"'
    1190 EOF
    1191 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    1192 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
    1193 if test -n "$ac_maketemp"; then
    1194   eval ac_cv_prog_make_${ac_make}_set=yes
    1195 else
    1196   eval ac_cv_prog_make_${ac_make}_set=no
    1197 fi
    1198 rm -f conftestmake
    1199 fi
    1200 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    1201   echo "$ac_t""yes" 1>&6
    1202   SET_MAKE=
    1203 else
    1204   echo "$ac_t""no" 1>&6
    1205   SET_MAKE="MAKE=${MAKE-make}"
    1206 fi
    1207 
    1208 
    1209 PACKAGE=ld
    1210 
    1211 VERSION=${BFD_VERSION}
    1212 
    1213 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
    1214   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
    1215 fi
    1216 cat >> confdefs.h <<EOF
    1217 #define PACKAGE "$PACKAGE"
    1218 EOF
    1219 
    1220 cat >> confdefs.h <<EOF
    1221 #define VERSION "$VERSION"
    1222 EOF
    1223 
    1224 
    1225 
    1226 missing_dir=`cd $ac_aux_dir && pwd`
    1227 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    1228 echo "configure:1229: checking for working aclocal" >&5
    1229 # Run test in a subshell; some versions of sh will print an error if
    1230 # an executable is not found, even if stderr is redirected.
    1231 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1232 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
    1233    ACLOCAL=aclocal
    1234    echo "$ac_t""found" 1>&6
    1235 else
    1236    ACLOCAL="$missing_dir/missing aclocal"
    1237    echo "$ac_t""missing" 1>&6
    1238 fi
    1239 
    1240 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    1241 echo "configure:1242: checking for working autoconf" >&5
    1242 # Run test in a subshell; some versions of sh will print an error if
    1243 # an executable is not found, even if stderr is redirected.
    1244 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1245 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
    1246    AUTOCONF=autoconf
    1247    echo "$ac_t""found" 1>&6
    1248 else
    1249    AUTOCONF="$missing_dir/missing autoconf"
    1250    echo "$ac_t""missing" 1>&6
    1251 fi
    1252 
    1253 echo $ac_n "checking for working automake""... $ac_c" 1>&6
    1254 echo "configure:1255: checking for working automake" >&5
    1255 # Run test in a subshell; some versions of sh will print an error if
    1256 # an executable is not found, even if stderr is redirected.
    1257 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1258 if (automake --version) < /dev/null > /dev/null 2>&1; then
    1259    AUTOMAKE=automake
    1260    echo "$ac_t""found" 1>&6
    1261 else
    1262    AUTOMAKE="$missing_dir/missing automake"
    1263    echo "$ac_t""missing" 1>&6
    1264 fi
    1265 
    1266 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    1267 echo "configure:1268: checking for working autoheader" >&5
    1268 # Run test in a subshell; some versions of sh will print an error if
    1269 # an executable is not found, even if stderr is redirected.
    1270 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1271 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
    1272    AUTOHEADER=autoheader
    1273    echo "$ac_t""found" 1>&6
    1274 else
    1275    AUTOHEADER="$missing_dir/missing autoheader"
    1276    echo "$ac_t""missing" 1>&6
    1277 fi
    1278 
    1279 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    1280 echo "configure:1281: checking for working makeinfo" >&5
    1281 # Run test in a subshell; some versions of sh will print an error if
    1282 # an executable is not found, even if stderr is redirected.
    1283 # Redirect stdin to placate older versions of autoconf.  Sigh.
    1284 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
    1285    MAKEINFO=makeinfo
    1286    echo "$ac_t""found" 1>&6
    1287 else
    1288    MAKEINFO="$missing_dir/missing makeinfo"
    1289    echo "$ac_t""missing" 1>&6
    1290 fi
    1291 
    1292 
    1293 
    1294 # Check whether --enable-shared or --disable-shared was given.
    1295 if test "${enable_shared+set}" = set; then
    1296   enableval="$enable_shared"
    1297   p=${PACKAGE-default}
    1298 case "$enableval" in
    1299 yes) enable_shared=yes ;;
    1300 no) enable_shared=no ;;
    1301 *)
    1302   enable_shared=no
    1303   # Look at the argument we got.  We use all the common list separators.
    1304   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    1305   for pkg in $enableval; do
    1306     if test "X$pkg" = "X$p"; then
    1307       enable_shared=yes
    1308     fi
    1309   done
    1310   IFS="$ac_save_ifs"
    1311   ;;
    1312 esac
    1313 else
    1314   enable_shared=yes
    1315 fi
    1316 
    1317 # Check whether --enable-static or --disable-static was given.
    1318 if test "${enable_static+set}" = set; then
    1319   enableval="$enable_static"
    1320   p=${PACKAGE-default}
    1321 case "$enableval" in
    1322 yes) enable_static=yes ;;
    1323 no) enable_static=no ;;
    1324 *)
    1325   enable_static=no
    1326   # Look at the argument we got.  We use all the common list separators.
    1327   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    1328   for pkg in $enableval; do
    1329     if test "X$pkg" = "X$p"; then
    1330       enable_static=yes
    1331     fi
    1332   done
    1333   IFS="$ac_save_ifs"
    1334   ;;
    1335 esac
    1336 else
    1337   enable_static=yes
    1338 fi
    1339 
    1340 # Check whether --enable-fast-install or --disable-fast-install was given.
    1341 if test "${enable_fast_install+set}" = set; then
    1342   enableval="$enable_fast_install"
    1343   p=${PACKAGE-default}
    1344 case "$enableval" in
    1345 yes) enable_fast_install=yes ;;
    1346 no) enable_fast_install=no ;;
    1347 *)
    1348   enable_fast_install=no
    1349   # Look at the argument we got.  We use all the common list separators.
    1350   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    1351   for pkg in $enableval; do
    1352     if test "X$pkg" = "X$p"; then
    1353       enable_fast_install=yes
    1354     fi
    1355   done
    1356   IFS="$ac_save_ifs"
    1357   ;;
    1358 esac
    1359 else
    1360   enable_fast_install=yes
    1361 fi
    1362 
    13631389# Check whether --with-gnu-ld or --without-gnu-ld was given.
    13641390if test "${with_gnu_ld+set}" = set; then
     
    13701396
    13711397ac_prog=ld
    1372 if test "$ac_cv_prog_gcc" = yes; then
     1398if test "$GCC" = yes; then
    13731399  # Check if gcc -print-prog-name=ld gives a path.
    13741400  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
    1375 echo "configure:1376: checking for ld used by GCC" >&5
     1401echo "configure:1402: checking for ld used by GCC" >&5
    13761402  case $host in
    13771403  *-*-mingw*)
     
    13811407    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    13821408  esac
    1383   case "$ac_prog" in
     1409  case $ac_prog in
    13841410    # Accept absolute paths.
    13851411    [\\/]* | [A-Za-z]:[\\/]*)
     
    14031429elif test "$with_gnu_ld" = yes; then
    14041430  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
    1405 echo "configure:1406: checking for GNU ld" >&5
     1431echo "configure:1432: checking for GNU ld" >&5
    14061432else
    14071433  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
    1408 echo "configure:1409: checking for non-GNU ld" >&5
    1409 fi
    1410 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
     1434echo "configure:1435: checking for non-GNU ld" >&5
     1435fi
     1436if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
    14111437  echo $ac_n "(cached) $ac_c" 1>&6
    14121438else
     
    14161442    test -z "$ac_dir" && ac_dir=.
    14171443    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    1418       ac_cv_path_LD="$ac_dir/$ac_prog"
     1444      lt_cv_path_LD="$ac_dir/$ac_prog"
    14191445      # Check to see if the program is GNU ld.  I'd rather use --version,
    14201446      # but apparently some GNU ld's only accept -v.
    14211447      # Break only if it was the GNU/non-GNU ld that we prefer.
    1422       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
     1448      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
    14231449        test "$with_gnu_ld" != no && break
    14241450      else
     
    14291455  IFS="$ac_save_ifs"
    14301456else
    1431   ac_cv_path_LD="$LD" # Let the user override the test with a path.
    1432 fi
    1433 fi
    1434 
    1435 LD="$ac_cv_path_LD"
     1457  lt_cv_path_LD="$LD" # Let the user override the test with a path.
     1458fi
     1459fi
     1460
     1461LD="$lt_cv_path_LD"
    14361462if test -n "$LD"; then
    14371463  echo "$ac_t""$LD" 1>&6
     
    14411467test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
    14421468echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
    1443 echo "configure:1444: checking if the linker ($LD) is GNU ld" >&5
    1444 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
     1469echo "configure:1470: checking if the linker ($LD) is GNU ld" >&5
     1470if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
    14451471  echo $ac_n "(cached) $ac_c" 1>&6
    14461472else
    14471473  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    14481474if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
    1449   ac_cv_prog_gnu_ld=yes
    1450 else
    1451   ac_cv_prog_gnu_ld=no
    1452 fi
    1453 fi
    1454 
    1455 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
    1456 with_gnu_ld=$ac_cv_prog_gnu_ld
     1475  lt_cv_prog_gnu_ld=yes
     1476else
     1477  lt_cv_prog_gnu_ld=no
     1478fi
     1479fi
     1480
     1481echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
     1482with_gnu_ld=$lt_cv_prog_gnu_ld
    14571483
    14581484
    14591485echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
    1460 echo "configure:1461: checking for $LD option to reload object files" >&5
     1486echo "configure:1487: checking for $LD option to reload object files" >&5
    14611487if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
    14621488  echo $ac_n "(cached) $ac_c" 1>&6
     
    14701496
    14711497echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
    1472 echo "configure:1473: checking for BSD-compatible nm" >&5
    1473 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
     1498echo "configure:1499: checking for BSD-compatible nm" >&5
     1499if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
    14741500  echo $ac_n "(cached) $ac_c" 1>&6
    14751501else
    14761502  if test -n "$NM"; then
    14771503  # Let the user override the test.
    1478   ac_cv_path_NM="$NM"
     1504  lt_cv_path_NM="$NM"
    14791505else
    14801506  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
     
    14881514      # Tru64's nm complains that /dev/null is an invalid object file
    14891515      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
    1490         ac_cv_path_NM="$tmp_nm -B"
     1516        lt_cv_path_NM="$tmp_nm -B"
    14911517        break
    14921518      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
    1493         ac_cv_path_NM="$tmp_nm -p"
     1519        lt_cv_path_NM="$tmp_nm -p"
    14941520        break
    14951521      else
    1496         ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
     1522        lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    14971523        continue # so that we can try to find one that supports BSD flags
    14981524      fi
     
    15001526  done
    15011527  IFS="$ac_save_ifs"
    1502   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
    1503 fi
    1504 fi
    1505 
    1506 NM="$ac_cv_path_NM"
     1528  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
     1529fi
     1530fi
     1531
     1532NM="$lt_cv_path_NM"
    15071533echo "$ac_t""$NM" 1>&6
    15081534
    15091535echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1510 echo "configure:1511: checking whether ln -s works" >&5
     1536echo "configure:1537: checking whether ln -s works" >&5
    15111537if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    15121538  echo $ac_n "(cached) $ac_c" 1>&6
     
    15351561
    15361562echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
    1537 echo "configure:1538: checking how to recognise dependant libraries" >&5
     1563echo "configure:1564: checking how to recognise dependant libraries" >&5
    15381564if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
    15391565  echo $ac_n "(cached) $ac_c" 1>&6
     
    15531579# whether `pass_all' will *always* work, you probably want this one.
    15541580
    1555 case "$host_os" in
    1556 aix4*)
     1581case $host_os in
     1582aix*)
    15571583  lt_cv_deplibs_check_method=pass_all
    15581584  ;;
     
    15631589
    15641590bsdi4*)
    1565     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
    1566     lt_cv_file_magic_cmd='/usr/bin/file -L'
     1591  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
     1592  lt_cv_file_magic_cmd='/usr/bin/file -L'
    15671593  lt_cv_file_magic_test_file=/shlib/libc.so
    15681594  ;;
     
    15731599  ;;
    15741600
     1601darwin* | rhapsody*)
     1602  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
     1603  lt_cv_file_magic_cmd='/usr/bin/file -L'
     1604  case "$host_os" in
     1605  rhapsody* | darwin1.012)
     1606    lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
     1607    ;;
     1608  *) # Darwin 1.3 on
     1609    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
     1610    ;;
     1611  esac
     1612  ;;
     1613
    15751614freebsd* )
    15761615  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    1577     case "$host_cpu" in
     1616    case $host_cpu in
    15781617    i*86 )
    15791618      # Not sure whether the presence of OpenBSD here was a mistake.
    15801619      # Let's accept both of them until this is cleared up.
    1581             lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
    1582             lt_cv_file_magic_cmd=/usr/bin/file
     1620      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
     1621      lt_cv_file_magic_cmd=/usr/bin/file
    15831622      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
    15841623      ;;
     
    15931632  ;;
    15941633
    1595 hpux10.20*)
    1596   # TODO:  Does this work for hpux-11 too?
    1597   lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
    1598   lt_cv_file_magic_cmd=/usr/bin/file
    1599   lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1634hpux10.20*|hpux11*)
     1635  case $host_cpu in
     1636  hppa*)
     1637    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
     1638    lt_cv_file_magic_cmd=/usr/bin/file
     1639    lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1640    ;;
     1641  ia64*)
     1642    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     1643    lt_cv_file_magic_cmd=/usr/bin/file
     1644    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     1645    ;;
     1646  esac
    16001647  ;;
    16011648
    16021649irix5* | irix6*)
    1603   case "$host_os" in
     1650  case $host_os in
    16041651  irix5*)
    16051652    # this will be overridden with pass_all, but let us keep it just in case
     
    16071654    ;;
    16081655  *)
    1609     case "$LD" in
     1656    case $LD in
    16101657    *-32|*"-32 ") libmagic=32-bit;;
    16111658    *-n32|*"-n32 ") libmagic=N32;;
     
    16141661    esac
    16151662    # this will be overridden with pass_all, but let us keep it just in case
    1616         lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
    1617         ;;
     1663    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
     1664    ;;
    16181665  esac
    16191666  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
     
    16231670# This must be Linux ELF.
    16241671linux-gnu*)
    1625   case "$host_cpu" in
    1626   alpha* | i*86 | powerpc* | sparc* | ia64* )
     1672  case $host_cpu in
     1673  alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    16271674    lt_cv_deplibs_check_method=pass_all ;;
    16281675  *)
    16291676    # glibc up to 2.1.1 does not perform some relocations on ARM
    1630         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
    1631       esac
     1677    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
     1678  esac
    16321679  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    16331680  ;;
    16341681
    16351682netbsd*)
    1636   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
     1683  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     1684    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
    16371685  else
    1638         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
    1639         lt_cv_file_magic_cmd='/usr/bin/file -L'
    1640     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1686    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
    16411687  fi
     1688  ;;
     1689
     1690os2*)
     1691  lt_cv_deplibs_check_method=pass_all
     1692  ;;
     1693
     1694newsos6)
     1695  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
     1696  lt_cv_file_magic_cmd=/usr/bin/file
     1697  lt_cv_file_magic_test_file=/usr/lib/libnls.so
    16421698  ;;
    16431699
     
    16581714  ;;
    16591715
     1716sysv5uw[78]* | sysv4*uw2*)
     1717  lt_cv_deplibs_check_method=pass_all
     1718  ;;
     1719
    16601720sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    1661   case "$host_vendor" in
     1721  case $host_vendor in
    16621722  ncr)
    16631723    lt_cv_deplibs_check_method=pass_all
    16641724    ;;
    16651725  motorola)
    1666         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]'
    1667         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1726    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]'
     1727    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
    16681728    ;;
    16691729  esac
     
    16781738
    16791739echo $ac_n "checking for object suffix""... $ac_c" 1>&6
    1680 echo "configure:1681: checking for object suffix" >&5
     1740echo "configure:1741: checking for object suffix" >&5
    16811741if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
    16821742  echo $ac_n "(cached) $ac_c" 1>&6
     
    16841744  rm -f conftest*
    16851745echo 'int i = 1;' > conftest.$ac_ext
    1686 if { (eval echo configure:1687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1746if { (eval echo configure:1747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    16871747  for ac_file in conftest.*; do
    16881748    case $ac_file in
     
    17101770
    17111771# Only perform the check for file, if the check method requires it
    1712 case "$deplibs_check_method" in
     1772case $deplibs_check_method in
    17131773file_magic*)
    17141774  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    17151775    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
    1716 echo "configure:1717: checking for ${ac_tool_prefix}file" >&5
     1776echo "configure:1777: checking for ${ac_tool_prefix}file" >&5
    17171777if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    17181778  echo $ac_n "(cached) $ac_c" 1>&6
    17191779else
    1720   case "$MAGIC_CMD" in
     1780  case $MAGIC_CMD in
    17211781  /*)
    17221782  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    17341794      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
    17351795      if test -n "$file_magic_test_file"; then
    1736         case "$deplibs_check_method" in
     1796        case $deplibs_check_method in
    17371797        "file_magic "*)
    17381798          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    17761836  if test -n "$ac_tool_prefix"; then
    17771837    echo $ac_n "checking for file""... $ac_c" 1>&6
    1778 echo "configure:1779: checking for file" >&5
     1838echo "configure:1839: checking for file" >&5
    17791839if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    17801840  echo $ac_n "(cached) $ac_c" 1>&6
    17811841else
    1782   case "$MAGIC_CMD" in
     1842  case $MAGIC_CMD in
    17831843  /*)
    17841844  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    17961856      lt_cv_path_MAGIC_CMD="$ac_dir/file"
    17971857      if test -n "$file_magic_test_file"; then
    1798         case "$deplibs_check_method" in
     1858        case $deplibs_check_method in
    17991859        "file_magic "*)
    18001860          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    18471907set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    18481908echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1849 echo "configure:1850: checking for $ac_word" >&5
     1909echo "configure:1910: checking for $ac_word" >&5
    18501910if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    18511911  echo $ac_n "(cached) $ac_c" 1>&6
     
    18801940set dummy ranlib; ac_word=$2
    18811941echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1882 echo "configure:1883: checking for $ac_word" >&5
     1942echo "configure:1943: checking for $ac_word" >&5
    18831943if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    18841944  echo $ac_n "(cached) $ac_c" 1>&6
     
    19161976set dummy ${ac_tool_prefix}strip; ac_word=$2
    19171977echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1918 echo "configure:1919: checking for $ac_word" >&5
     1978echo "configure:1979: checking for $ac_word" >&5
    19191979if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    19201980  echo $ac_n "(cached) $ac_c" 1>&6
     
    19492009set dummy strip; ac_word=$2
    19502010echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1951 echo "configure:1952: checking for $ac_word" >&5
     2011echo "configure:2012: checking for $ac_word" >&5
    19522012if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    19532013  echo $ac_n "(cached) $ac_c" 1>&6
     
    19882048test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
    19892049test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
    1990 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
    1991 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
     2050test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
     2051test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
    19922052
    19932053
     
    20142074# Some flags need to be propagated to the compiler or linker for good
    20152075# libtool support.
    2016 case "$host" in
     2076case $host in
    20172077*-*-irix6*)
    20182078  # Find out which ABI we are using.
    2019   echo '#line 2020 "configure"' > conftest.$ac_ext
    2020   if { (eval echo configure:2021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    2021     case "`/usr/bin/file conftest.o`" in
     2079  echo '#line 2080 "configure"' > conftest.$ac_ext
     2080  if { (eval echo configure:2081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2081   if test "$lt_cv_prog_gnu_ld" = yes; then
     2082    case `/usr/bin/file conftest.$ac_objext` in
     2083    *32-bit*)
     2084      LD="${LD-ld} -melf32bsmip"
     2085      ;;
     2086    *N32*)
     2087      LD="${LD-ld} -melf32bmipn32"
     2088      ;;
     2089    *64-bit*)
     2090      LD="${LD-ld} -melf64bmip"
     2091      ;;
     2092    esac
     2093   else
     2094    case `/usr/bin/file conftest.$ac_objext` in
    20222095    *32-bit*)
    20232096      LD="${LD-ld} -32"
     
    20302103      ;;
    20312104    esac
     2105   fi
     2106  fi
     2107  rm -rf conftest*
     2108  ;;
     2109
     2110ia64-*-hpux*)
     2111  # Find out which ABI we are using.
     2112  echo 'int i;' > conftest.$ac_ext
     2113  if { (eval echo configure:2114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2114    case "`/usr/bin/file conftest.o`" in
     2115    *ELF-32*)
     2116      HPUX_IA64_MODE="32"
     2117      ;;
     2118    *ELF-64*)
     2119      HPUX_IA64_MODE="64"
     2120      ;;
     2121    esac
    20322122  fi
    20332123  rm -rf conftest*
     
    20392129  CFLAGS="$CFLAGS -belf"
    20402130  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    2041 echo "configure:2042: checking whether the C compiler needs -belf" >&5
     2131echo "configure:2132: checking whether the C compiler needs -belf" >&5
    20422132if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    20432133  echo $ac_n "(cached) $ac_c" 1>&6
     
    20522142
    20532143     cat > conftest.$ac_ext <<EOF
    2054 #line 2055 "configure"
     2144#line 2145 "configure"
    20552145#include "confdefs.h"
    20562146
     
    20592149; return 0; }
    20602150EOF
    2061 if { (eval echo configure:2062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2151if { (eval echo configure:2152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    20622152  rm -rf conftest*
    20632153  lt_cv_cc_needs_belf=yes
     
    21692259exec 5>>./config.log
    21702260
    2171 
    21722261 
    21732262
     
    21752264         
    21762265         
     2266
     2267# Check whether --with-lib-path or --without-lib-path was given.
     2268if test "${with_lib_path+set}" = set; then
     2269  withval="$with_lib_path"
     2270  LIB_PATH=$withval
     2271fi
    21772272
    21782273# Check whether --enable-targets or --disable-targets was given.
     
    21982293fi
    21992294
    2200 build_warnings="-W -Wall"
     2295# Check whether --with-sysroot or --without-sysroot was given.
     2296if test "${with_sysroot+set}" = set; then
     2297  withval="$with_sysroot"
     2298 
     2299 case ${with_sysroot} in
     2300 yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_alias}/sys-root' ;;
     2301 *) TARGET_SYSTEM_ROOT=$with_sysroot ;;
     2302 esac
     2303
     2304 TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
     2305 use_sysroot=yes
     2306
     2307 if test "x$exec_prefix" = xNONE; then
     2308  if test "x$prefix" = xNONE; then
     2309   test_prefix=/usr/local
     2310  else
     2311   test_prefix=$prefix
     2312  fi
     2313 else
     2314  test_prefix=$exec_prefix
     2315 fi
     2316 case ${TARGET_SYSTEM_ROOT} in
     2317 "${test_prefix}"|"${test_prefix}/"*|\
     2318 '${exec_prefix}'|'${exec_prefix}/'*)
     2319   t="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
     2320   TARGET_SYSTEM_ROOT_DEFINE="$t"
     2321   ;;
     2322 esac
     2323
     2324else
     2325 
     2326 use_sysroot=no
     2327 TARGET_SYSTEM_ROOT=
     2328 TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"\"'
     2329
     2330fi
     2331
     2332
     2333
     2334
     2335
     2336build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
    22012337# Check whether --enable-build-warnings or --disable-build-warnings was given.
    22022338if test "${enable_build_warnings+set}" = set; then
     
    22372373set dummy gcc; ac_word=$2
    22382374echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2239 echo "configure:2240: checking for $ac_word" >&5
     2375echo "configure:2376: checking for $ac_word" >&5
    22402376if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    22412377  echo $ac_n "(cached) $ac_c" 1>&6
     
    22682404set dummy cc; ac_word=$2
    22692405echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2270 echo "configure:2271: checking for $ac_word" >&5
     2406echo "configure:2407: checking for $ac_word" >&5
    22712407if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    22722408  echo $ac_n "(cached) $ac_c" 1>&6
     
    23212457set dummy cl; ac_word=$2
    23222458echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2323 echo "configure:2324: checking for $ac_word" >&5
     2459echo "configure:2460: checking for $ac_word" >&5
    23242460if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    23252461  echo $ac_n "(cached) $ac_c" 1>&6
     
    23542490
    23552491echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2356 echo "configure:2357: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2492echo "configure:2493: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    23572493
    23582494ac_ext=c
     
    23652501cat > conftest.$ac_ext << EOF
    23662502
    2367 #line 2368 "configure"
     2503#line 2504 "configure"
    23682504#include "confdefs.h"
    23692505
    23702506main(){return(0);}
    23712507EOF
    2372 if { (eval echo configure:2373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2508if { (eval echo configure:2509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23732509  ac_cv_prog_cc_works=yes
    23742510  # If we can't run a trivial program, we are probably using a cross compiler.
     
    23962532fi
    23972533echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2398 echo "configure:2399: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2534echo "configure:2535: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    23992535echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    24002536cross_compiling=$ac_cv_prog_cc_cross
    24012537
    24022538echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2403 echo "configure:2404: checking whether we are using GNU C" >&5
     2539echo "configure:2540: checking whether we are using GNU C" >&5
    24042540if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    24052541  echo $ac_n "(cached) $ac_c" 1>&6
     
    24102546#endif
    24112547EOF
    2412 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2548if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    24132549  ac_cv_prog_gcc=yes
    24142550else
     
    24292565CFLAGS=
    24302566echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2431 echo "configure:2432: checking whether ${CC-cc} accepts -g" >&5
     2567echo "configure:2568: checking whether ${CC-cc} accepts -g" >&5
    24322568if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    24332569  echo $ac_n "(cached) $ac_c" 1>&6
     
    24722608# ./install, which can be erroneously created by make from ./install.sh.
    24732609echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    2474 echo "configure:2475: checking for a BSD compatible install" >&5
     2610echo "configure:2611: checking for a BSD compatible install" >&5
    24752611if test -z "$INSTALL"; then
    24762612if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    25272663
    25282664
    2529 ALL_LINGUAS=
     2665ALL_LINGUAS="fr sv tr es da"
    25302666echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    2531 echo "configure:2532: checking how to run the C preprocessor" >&5
     2667echo "configure:2668: checking how to run the C preprocessor" >&5
    25322668# On Suns, sometimes $CPP names a directory.
    25332669if test -n "$CPP" && test -d "$CPP"; then
     
    25452681  cat > conftest.$ac_ext <<EOF
    25462682#include <sys/types.h>
    2547 #line 2548 "configure"
     2683#line 2684 "configure"
    25482684#include "confdefs.h"
    25492685#include <assert.h>
     
    25512687EOF
    25522688ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2553 { (eval echo configure:2554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2689{ (eval echo configure:2690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25542690ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25552691if test -z "$ac_err"; then
     
    25632699  cat > conftest.$ac_ext <<EOF
    25642700#include <sys/types.h>
    2565 #line 2566 "configure"
     2701#line 2702 "configure"
    25662702#include "confdefs.h"
    25672703#include <assert.h>
     
    25692705EOF
    25702706ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2571 { (eval echo configure:2572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2707{ (eval echo configure:2708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25722708ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25732709if test -z "$ac_err"; then
     
    25812717  cat > conftest.$ac_ext <<EOF
    25822718#include <sys/types.h>
    2583 #line 2584 "configure"
     2719#line 2720 "configure"
    25842720#include "confdefs.h"
    25852721#include <assert.h>
     
    25872723EOF
    25882724ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2589 { (eval echo configure:2590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2725{ (eval echo configure:2726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25902726ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25912727if test -z "$ac_err"; then
     
    26142750set dummy ranlib; ac_word=$2
    26152751echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2616 echo "configure:2617: checking for $ac_word" >&5
     2752echo "configure:2753: checking for $ac_word" >&5
    26172753if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    26182754  echo $ac_n "(cached) $ac_c" 1>&6
     
    26432779
    26442780echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2645 echo "configure:2646: checking for ANSI C header files" >&5
     2781echo "configure:2782: checking for ANSI C header files" >&5
    26462782if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    26472783  echo $ac_n "(cached) $ac_c" 1>&6
     
    26492785  cat > conftest.$ac_ext <<EOF
    26502786#include <sys/types.h>
    2651 #line 2652 "configure"
     2787#line 2788 "configure"
    26522788#include "confdefs.h"
    26532789#include <stdlib.h>
     
    26572793EOF
    26582794ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2659 { (eval echo configure:2660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2795{ (eval echo configure:2796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26602796ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    26612797if test -z "$ac_err"; then
     
    26742810  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    26752811cat > conftest.$ac_ext <<EOF
    2676 #line 2677 "configure"
     2812#line 2813 "configure"
    26772813#include "confdefs.h"
    26782814#include <string.h>
     
    26922828  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    26932829cat > conftest.$ac_ext <<EOF
    2694 #line 2695 "configure"
     2830#line 2831 "configure"
    26952831#include "confdefs.h"
    26962832#include <stdlib.h>
     
    27132849else
    27142850  cat > conftest.$ac_ext <<EOF
    2715 #line 2716 "configure"
     2851#line 2852 "configure"
    27162852#include "confdefs.h"
    27172853#include <ctype.h>
     
    27242860
    27252861EOF
    2726 if { (eval echo configure:2727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2862if { (eval echo configure:2863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    27272863then
    27282864  :
     
    27482884
    27492885echo $ac_n "checking for working const""... $ac_c" 1>&6
    2750 echo "configure:2751: checking for working const" >&5
     2886echo "configure:2887: checking for working const" >&5
    27512887if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    27522888  echo $ac_n "(cached) $ac_c" 1>&6
    27532889else
    27542890  cat > conftest.$ac_ext <<EOF
    2755 #line 2756 "configure"
     2891#line 2892 "configure"
    27562892#include "confdefs.h"
    27572893
     
    28022938; return 0; }
    28032939EOF
    2804 if { (eval echo configure:2805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2940if { (eval echo configure:2941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    28052941  rm -rf conftest*
    28062942  ac_cv_c_const=yes
     
    28232959
    28242960echo $ac_n "checking for inline""... $ac_c" 1>&6
    2825 echo "configure:2826: checking for inline" >&5
     2961echo "configure:2962: checking for inline" >&5
    28262962if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    28272963  echo $ac_n "(cached) $ac_c" 1>&6
     
    28302966for ac_kw in inline __inline__ __inline; do
    28312967  cat > conftest.$ac_ext <<EOF
    2832 #line 2833 "configure"
     2968#line 2969 "configure"
    28332969#include "confdefs.h"
    28342970
     
    28372973; return 0; }
    28382974EOF
    2839 if { (eval echo configure:2840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2975if { (eval echo configure:2976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    28402976  rm -rf conftest*
    28412977  ac_cv_c_inline=$ac_kw; break
     
    28632999
    28643000echo $ac_n "checking for off_t""... $ac_c" 1>&6
    2865 echo "configure:2866: checking for off_t" >&5
     3001echo "configure:3002: checking for off_t" >&5
    28663002if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
    28673003  echo $ac_n "(cached) $ac_c" 1>&6
    28683004else
    28693005  cat > conftest.$ac_ext <<EOF
    2870 #line 2871 "configure"
     3006#line 3007 "configure"
    28713007#include "confdefs.h"
    28723008#include <sys/types.h>
     
    28963032
    28973033echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2898 echo "configure:2899: checking for size_t" >&5
     3034echo "configure:3035: checking for size_t" >&5
    28993035if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    29003036  echo $ac_n "(cached) $ac_c" 1>&6
    29013037else
    29023038  cat > conftest.$ac_ext <<EOF
    2903 #line 2904 "configure"
     3039#line 3040 "configure"
    29043040#include "confdefs.h"
    29053041#include <sys/types.h>
     
    29313067# for constant arguments.  Useless!
    29323068echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2933 echo "configure:2934: checking for working alloca.h" >&5
     3069echo "configure:3070: checking for working alloca.h" >&5
    29343070if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    29353071  echo $ac_n "(cached) $ac_c" 1>&6
    29363072else
    29373073  cat > conftest.$ac_ext <<EOF
    2938 #line 2939 "configure"
     3074#line 3075 "configure"
    29393075#include "confdefs.h"
    29403076#include <alloca.h>
     
    29433079; return 0; }
    29443080EOF
    2945 if { (eval echo configure:2946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3081if { (eval echo configure:3082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29463082  rm -rf conftest*
    29473083  ac_cv_header_alloca_h=yes
     
    29643100
    29653101echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2966 echo "configure:2967: checking for alloca" >&5
     3102echo "configure:3103: checking for alloca" >&5
    29673103if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    29683104  echo $ac_n "(cached) $ac_c" 1>&6
    29693105else
    29703106  cat > conftest.$ac_ext <<EOF
    2971 #line 2972 "configure"
     3107#line 3108 "configure"
    29723108#include "confdefs.h"
    29733109
     
    29973133; return 0; }
    29983134EOF
    2999 if { (eval echo configure:3000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3135if { (eval echo configure:3136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30003136  rm -rf conftest*
    30013137  ac_cv_func_alloca_works=yes
     
    30293165
    30303166echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    3031 echo "configure:3032: checking whether alloca needs Cray hooks" >&5
     3167echo "configure:3168: checking whether alloca needs Cray hooks" >&5
    30323168if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    30333169  echo $ac_n "(cached) $ac_c" 1>&6
    30343170else
    30353171  cat > conftest.$ac_ext <<EOF
    3036 #line 3037 "configure"
     3172#line 3173 "configure"
    30373173#include "confdefs.h"
    30383174#if defined(CRAY) && ! defined(CRAY2)
     
    30593195for ac_func in _getb67 GETB67 getb67; do
    30603196  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3061 echo "configure:3062: checking for $ac_func" >&5
     3197echo "configure:3198: checking for $ac_func" >&5
    30623198if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    30633199  echo $ac_n "(cached) $ac_c" 1>&6
    30643200else
    30653201  cat > conftest.$ac_ext <<EOF
    3066 #line 3067 "configure"
     3202#line 3203 "configure"
    30673203#include "confdefs.h"
    30683204/* System header to define __stub macros and hopefully few prototypes,
     
    30873223; return 0; }
    30883224EOF
    3089 if { (eval echo configure:3090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3225if { (eval echo configure:3226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30903226  rm -rf conftest*
    30913227  eval "ac_cv_func_$ac_func=yes"
     
    31143250
    31153251echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    3116 echo "configure:3117: checking stack direction for C alloca" >&5
     3252echo "configure:3253: checking stack direction for C alloca" >&5
    31173253if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    31183254  echo $ac_n "(cached) $ac_c" 1>&6
     
    31223258else
    31233259  cat > conftest.$ac_ext <<EOF
    3124 #line 3125 "configure"
     3260#line 3261 "configure"
    31253261#include "confdefs.h"
    31263262find_stack_direction ()
     
    31413277}
    31423278EOF
    3143 if { (eval echo configure:3144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3279if { (eval echo configure:3280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31443280then
    31453281  ac_cv_c_stack_direction=1
     
    31663302ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    31673303echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3168 echo "configure:3169: checking for $ac_hdr" >&5
     3304echo "configure:3305: checking for $ac_hdr" >&5
    31693305if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    31703306  echo $ac_n "(cached) $ac_c" 1>&6
     
    31723308  cat > conftest.$ac_ext <<EOF
    31733309#include <sys/types.h>
    3174 #line 3175 "configure"
     3310#line 3311 "configure"
    31753311#include "confdefs.h"
    31763312#include <$ac_hdr>
    31773313EOF
    31783314ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3179 { (eval echo configure:3180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3315{ (eval echo configure:3316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    31803316ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    31813317if test -z "$ac_err"; then
     
    32063342do
    32073343echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3208 echo "configure:3209: checking for $ac_func" >&5
     3344echo "configure:3345: checking for $ac_func" >&5
    32093345if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    32103346  echo $ac_n "(cached) $ac_c" 1>&6
    32113347else
    32123348  cat > conftest.$ac_ext <<EOF
    3213 #line 3214 "configure"
     3349#line 3350 "configure"
    32143350#include "confdefs.h"
    32153351/* System header to define __stub macros and hopefully few prototypes,
     
    32343370; return 0; }
    32353371EOF
    3236 if { (eval echo configure:3237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3372if { (eval echo configure:3373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    32373373  rm -rf conftest*
    32383374  eval "ac_cv_func_$ac_func=yes"
     
    32593395
    32603396echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    3261 echo "configure:3262: checking for working mmap" >&5
     3397echo "configure:3398: checking for working mmap" >&5
    32623398if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    32633399  echo $ac_n "(cached) $ac_c" 1>&6
     
    32673403else
    32683404  cat > conftest.$ac_ext <<EOF
    3269 #line 3270 "configure"
     3405#line 3406 "configure"
    32703406#include "confdefs.h"
    32713407
     
    34073543
    34083544EOF
    3409 if { (eval echo configure:3410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3545if { (eval echo configure:3546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34103546then
    34113547  ac_cv_func_mmap_fixed_mapped=yes
     
    34353571ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    34363572echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3437 echo "configure:3438: checking for $ac_hdr" >&5
     3573echo "configure:3574: checking for $ac_hdr" >&5
    34383574if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    34393575  echo $ac_n "(cached) $ac_c" 1>&6
     
    34413577  cat > conftest.$ac_ext <<EOF
    34423578#include <sys/types.h>
    3443 #line 3444 "configure"
     3579#line 3580 "configure"
    34443580#include "confdefs.h"
    34453581#include <$ac_hdr>
    34463582EOF
    34473583ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3448 { (eval echo configure:3449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3584{ (eval echo configure:3585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    34493585ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    34503586if test -z "$ac_err"; then
     
    34763612do
    34773613echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3478 echo "configure:3479: checking for $ac_func" >&5
     3614echo "configure:3615: checking for $ac_func" >&5
    34793615if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    34803616  echo $ac_n "(cached) $ac_c" 1>&6
    34813617else
    34823618  cat > conftest.$ac_ext <<EOF
    3483 #line 3484 "configure"
     3619#line 3620 "configure"
    34843620#include "confdefs.h"
    34853621/* System header to define __stub macros and hopefully few prototypes,
     
    35043640; return 0; }
    35053641EOF
    3506 if { (eval echo configure:3507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3642if { (eval echo configure:3643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35073643  rm -rf conftest*
    35083644  eval "ac_cv_func_$ac_func=yes"
     
    35333669do
    35343670echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3535 echo "configure:3536: checking for $ac_func" >&5
     3671echo "configure:3672: checking for $ac_func" >&5
    35363672if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    35373673  echo $ac_n "(cached) $ac_c" 1>&6
    35383674else
    35393675  cat > conftest.$ac_ext <<EOF
    3540 #line 3541 "configure"
     3676#line 3677 "configure"
    35413677#include "confdefs.h"
    35423678/* System header to define __stub macros and hopefully few prototypes,
     
    35613697; return 0; }
    35623698EOF
    3563 if { (eval echo configure:3564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3699if { (eval echo configure:3700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35643700  rm -rf conftest*
    35653701  eval "ac_cv_func_$ac_func=yes"
     
    35953731   if test $ac_cv_header_locale_h = yes; then
    35963732    echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
    3597 echo "configure:3598: checking for LC_MESSAGES" >&5
     3733echo "configure:3734: checking for LC_MESSAGES" >&5
    35983734if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
    35993735  echo $ac_n "(cached) $ac_c" 1>&6
    36003736else
    36013737  cat > conftest.$ac_ext <<EOF
    3602 #line 3603 "configure"
     3738#line 3739 "configure"
    36033739#include "confdefs.h"
    36043740#include <locale.h>
     
    36073743; return 0; }
    36083744EOF
    3609 if { (eval echo configure:3610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3745if { (eval echo configure:3746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36103746  rm -rf conftest*
    36113747  am_cv_val_LC_MESSAGES=yes
     
    36283764  fi
    36293765   echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
    3630 echo "configure:3631: checking whether NLS is requested" >&5
     3766echo "configure:3767: checking whether NLS is requested" >&5
    36313767        # Check whether --enable-nls or --disable-nls was given.
    36323768if test "${enable_nls+set}" = set; then
     
    36483784
    36493785      echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
    3650 echo "configure:3651: checking whether included gettext is requested" >&5
     3786echo "configure:3787: checking whether included gettext is requested" >&5
    36513787      # Check whether --with-included-gettext or --without-included-gettext was given.
    36523788if test "${with_included_gettext+set}" = set; then
     
    36673803        ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
    36683804echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
    3669 echo "configure:3670: checking for libintl.h" >&5
     3805echo "configure:3806: checking for libintl.h" >&5
    36703806if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    36713807  echo $ac_n "(cached) $ac_c" 1>&6
     
    36733809  cat > conftest.$ac_ext <<EOF
    36743810#include <sys/types.h>
    3675 #line 3676 "configure"
     3811#line 3812 "configure"
    36763812#include "confdefs.h"
    36773813#include <libintl.h>
    36783814EOF
    36793815ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3680 { (eval echo configure:3681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3816{ (eval echo configure:3817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    36813817ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    36823818if test -z "$ac_err"; then
     
    36953831  echo "$ac_t""yes" 1>&6
    36963832  echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
    3697 echo "configure:3698: checking for gettext in libc" >&5
     3833echo "configure:3834: checking for gettext in libc" >&5
    36983834if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
    36993835  echo $ac_n "(cached) $ac_c" 1>&6
    37003836else
    37013837  cat > conftest.$ac_ext <<EOF
    3702 #line 3703 "configure"
     3838#line 3839 "configure"
    37033839#include "confdefs.h"
    37043840#include <libintl.h>
     
    37073843; return 0; }
    37083844EOF
    3709 if { (eval echo configure:3710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3845if { (eval echo configure:3846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37103846  rm -rf conftest*
    37113847  gt_cv_func_gettext_libc=yes
     
    37233859           if test "$gt_cv_func_gettext_libc" != "yes"; then
    37243860             echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
    3725 echo "configure:3726: checking for bindtextdomain in -lintl" >&5
     3861echo "configure:3862: checking for bindtextdomain in -lintl" >&5
    37263862ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
    37273863if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37313867LIBS="-lintl  $LIBS"
    37323868cat > conftest.$ac_ext <<EOF
    3733 #line 3734 "configure"
     3869#line 3870 "configure"
    37343870#include "confdefs.h"
    37353871/* Override any gcc2 internal prototype to avoid an error.  */
     
    37423878; return 0; }
    37433879EOF
    3744 if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3880if { (eval echo configure:3881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37453881  rm -rf conftest*
    37463882  eval "ac_cv_lib_$ac_lib_var=yes"
     
    37583894  echo "$ac_t""yes" 1>&6
    37593895  echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
    3760 echo "configure:3761: checking for gettext in libintl" >&5
     3896echo "configure:3897: checking for gettext in libintl" >&5
    37613897if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
    37623898  echo $ac_n "(cached) $ac_c" 1>&6
    37633899else
    37643900  cat > conftest.$ac_ext <<EOF
    3765 #line 3766 "configure"
     3901#line 3902 "configure"
    37663902#include "confdefs.h"
    37673903
     
    37703906; return 0; }
    37713907EOF
    3772 if { (eval echo configure:3773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3908if { (eval echo configure:3909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37733909  rm -rf conftest*
    37743910  gt_cv_func_gettext_libintl=yes
     
    37983934set dummy msgfmt; ac_word=$2
    37993935echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3800 echo "configure:3801: checking for $ac_word" >&5
     3936echo "configure:3937: checking for $ac_word" >&5
    38013937if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    38023938  echo $ac_n "(cached) $ac_c" 1>&6
     
    38323968do
    38333969echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3834 echo "configure:3835: checking for $ac_func" >&5
     3970echo "configure:3971: checking for $ac_func" >&5
    38353971if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    38363972  echo $ac_n "(cached) $ac_c" 1>&6
    38373973else
    38383974  cat > conftest.$ac_ext <<EOF
    3839 #line 3840 "configure"
     3975#line 3976 "configure"
    38403976#include "confdefs.h"
    38413977/* System header to define __stub macros and hopefully few prototypes,
     
    38603996; return 0; }
    38613997EOF
    3862 if { (eval echo configure:3863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3998if { (eval echo configure:3999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38633999  rm -rf conftest*
    38644000  eval "ac_cv_func_$ac_func=yes"
     
    38874023set dummy gmsgfmt; ac_word=$2
    38884024echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3889 echo "configure:3890: checking for $ac_word" >&5
     4025echo "configure:4026: checking for $ac_word" >&5
    38904026if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    38914027  echo $ac_n "(cached) $ac_c" 1>&6
     
    39274063set dummy xgettext; ac_word=$2
    39284064echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3929 echo "configure:3930: checking for $ac_word" >&5
     4065echo "configure:4066: checking for $ac_word" >&5
    39304066if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    39314067  echo $ac_n "(cached) $ac_c" 1>&6
     
    39594095
    39604096                cat > conftest.$ac_ext <<EOF
    3961 #line 3962 "configure"
     4097#line 4098 "configure"
    39624098#include "confdefs.h"
    39634099
     
    39674103; return 0; }
    39684104EOF
    3969 if { (eval echo configure:3970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4105if { (eval echo configure:4106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39704106  rm -rf conftest*
    39714107  CATOBJEXT=.gmo
     
    39994135set dummy msgfmt; ac_word=$2
    40004136echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4001 echo "configure:4002: checking for $ac_word" >&5
     4137echo "configure:4138: checking for $ac_word" >&5
    40024138if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    40034139  echo $ac_n "(cached) $ac_c" 1>&6
     
    40334169set dummy gmsgfmt; ac_word=$2
    40344170echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4035 echo "configure:4036: checking for $ac_word" >&5
     4171echo "configure:4172: checking for $ac_word" >&5
    40364172if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    40374173  echo $ac_n "(cached) $ac_c" 1>&6
     
    40734209set dummy xgettext; ac_word=$2
    40744210echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4075 echo "configure:4076: checking for $ac_word" >&5
     4211echo "configure:4212: checking for $ac_word" >&5
    40764212if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    40774213  echo $ac_n "(cached) $ac_c" 1>&6
     
    41634299     else
    41644300       echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
    4165 echo "configure:4166: checking for catalogs to be installed" >&5
     4301echo "configure:4302: checking for catalogs to be installed" >&5
    41664302       NEW_LINGUAS=
    41674303       for lang in ${LINGUAS=$ALL_LINGUAS}; do
     
    41914327         ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
    41924328echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
    4193 echo "configure:4194: checking for linux/version.h" >&5
     4329echo "configure:4330: checking for linux/version.h" >&5
    41944330if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    41954331  echo $ac_n "(cached) $ac_c" 1>&6
     
    41974333  cat > conftest.$ac_ext <<EOF
    41984334#include <sys/types.h>
    4199 #line 4200 "configure"
     4335#line 4336 "configure"
    42004336#include "confdefs.h"
    42014337#include <linux/version.h>
    42024338EOF
    42034339ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4204 { (eval echo configure:4205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4340{ (eval echo configure:4341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    42054341ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    42064342if test -z "$ac_err"; then
     
    42474383   
    42484384
    4249             if test -d $srcdir/po; then
     4385            if test -f $srcdir/po/POTFILES.in; then
    42504386      test -d po || mkdir po
    42514387      if test "x$srcdir" != "x."; then
    4252                  if test "x`echo $srcdir | sed -e 's@.\:/.*@@'  -e 's@/.*@@' `" = "x"; then
     4388                 if test "x`echo $srcdir | sed -e 's@.\:/.*@@'  -e 's@/.*@@' `" = "x"; then
    42534389            posrcprefix="$srcdir/"
    42544390         else
     
    42684404
    42694405echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    4270 echo "configure:4271: checking for executable suffix" >&5
     4406echo "configure:4407: checking for executable suffix" >&5
    42714407if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    42724408  echo $ac_n "(cached) $ac_c" 1>&6
     
    42784414  echo 'int main () { return 0; }' > conftest.$ac_ext
    42794415  ac_cv_exeext=
    4280   if { (eval echo configure:4281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     4416  if { (eval echo configure:4417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    42814417    for file in conftest.*; do
    42824418      case $file in
     
    43044440set dummy $ac_prog; ac_word=$2
    43054441echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4306 echo "configure:4307: checking for $ac_word" >&5
     4442echo "configure:4443: checking for $ac_word" >&5
    43074443if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
    43084444  echo $ac_n "(cached) $ac_c" 1>&6
     
    43414477set dummy $ac_prog; ac_word=$2
    43424478echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4343 echo "configure:4344: checking for $ac_word" >&5
     4479echo "configure:4480: checking for $ac_word" >&5
    43444480if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    43454481  echo $ac_n "(cached) $ac_c" 1>&6
     
    43754511set dummy flex; ac_word=$2
    43764512echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4377 echo "configure:4378: checking for $ac_word" >&5
     4513echo "configure:4514: checking for $ac_word" >&5
    43784514if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    43794515  echo $ac_n "(cached) $ac_c" 1>&6
     
    44104546  esac
    44114547  echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
    4412 echo "configure:4413: checking for yywrap in -l$ac_lib" >&5
     4548echo "configure:4549: checking for yywrap in -l$ac_lib" >&5
    44134549ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
    44144550if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    44184554LIBS="-l$ac_lib  $LIBS"
    44194555cat > conftest.$ac_ext <<EOF
    4420 #line 4421 "configure"
     4556#line 4557 "configure"
    44214557#include "confdefs.h"
    44224558/* Override any gcc2 internal prototype to avoid an error.  */
     
    44294565; return 0; }
    44304566EOF
    4431 if { (eval echo configure:4432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4567if { (eval echo configure:4568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44324568  rm -rf conftest*
    44334569  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44524588
    44534589echo $ac_n "checking lex output file root""... $ac_c" 1>&6
    4454 echo "configure:4455: checking lex output file root" >&5
     4590echo "configure:4591: checking lex output file root" >&5
    44554591if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
    44564592  echo $ac_n "(cached) $ac_c" 1>&6
     
    44734609
    44744610echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
    4475 echo "configure:4476: checking whether yytext is a pointer" >&5
     4611echo "configure:4612: checking whether yytext is a pointer" >&5
    44764612if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
    44774613  echo $ac_n "(cached) $ac_c" 1>&6
     
    44854621LIBS="$LIBS $LEXLIB"
    44864622cat > conftest.$ac_ext <<EOF
    4487 #line 4488 "configure"
     4623#line 4624 "configure"
    44884624#include "confdefs.h"
    44894625`cat $LEX_OUTPUT_ROOT.c`
     
    44924628; return 0; }
    44934629EOF
    4494 if { (eval echo configure:4495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4630if { (eval echo configure:4631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44954631  rm -rf conftest*
    44964632  ac_cv_prog_lex_yytext_pointer=yes
     
    45154651
    45164652echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    4517 echo "configure:4518: checking whether to enable maintainer-specific portions of Makefiles" >&5
     4653echo "configure:4654: checking whether to enable maintainer-specific portions of Makefiles" >&5
    45184654    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    45194655if test "${enable_maintainer_mode+set}" = set; then
     
    45494685ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    45504686echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4551 echo "configure:4552: checking for $ac_hdr" >&5
     4687echo "configure:4688: checking for $ac_hdr" >&5
    45524688if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    45534689  echo $ac_n "(cached) $ac_c" 1>&6
     
    45554691  cat > conftest.$ac_ext <<EOF
    45564692#include <sys/types.h>
    4557 #line 4558 "configure"
     4693#line 4694 "configure"
    45584694#include "confdefs.h"
    45594695#include <$ac_hdr>
    45604696EOF
    45614697ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4562 { (eval echo configure:4563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4698{ (eval echo configure:4699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    45634699ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    45644700if test -z "$ac_err"; then
     
    45864722done
    45874723
    4588 for ac_func in sbrk
     4724for ac_func in sbrk realpath
    45894725do
    45904726echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4591 echo "configure:4592: checking for $ac_func" >&5
     4727echo "configure:4728: checking for $ac_func" >&5
    45924728if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    45934729  echo $ac_n "(cached) $ac_c" 1>&6
    45944730else
    45954731  cat > conftest.$ac_ext <<EOF
    4596 #line 4597 "configure"
     4732#line 4733 "configure"
    45974733#include "confdefs.h"
    45984734/* System header to define __stub macros and hopefully few prototypes,
     
    46174753; return 0; }
    46184754EOF
    4619 if { (eval echo configure:4620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4755if { (eval echo configure:4756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46204756  rm -rf conftest*
    46214757  eval "ac_cv_func_$ac_func=yes"
     
    46464782ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    46474783echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
    4648 echo "configure:4649: checking for $ac_hdr that defines DIR" >&5
     4784echo "configure:4785: checking for $ac_hdr that defines DIR" >&5
    46494785if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
    46504786  echo $ac_n "(cached) $ac_c" 1>&6
    46514787else
    46524788  cat > conftest.$ac_ext <<EOF
    4653 #line 4654 "configure"
     4789#line 4790 "configure"
    46544790#include "confdefs.h"
    46554791#include <sys/types.h>
     
    46594795; return 0; }
    46604796EOF
    4661 if { (eval echo configure:4662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4797if { (eval echo configure:4798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    46624798  rm -rf conftest*
    46634799  eval "ac_cv_header_dirent_$ac_safe=yes"
     
    46844820if test $ac_header_dirent = dirent.h; then
    46854821echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
    4686 echo "configure:4687: checking for opendir in -ldir" >&5
     4822echo "configure:4823: checking for opendir in -ldir" >&5
    46874823ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
    46884824if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46924828LIBS="-ldir  $LIBS"
    46934829cat > conftest.$ac_ext <<EOF
    4694 #line 4695 "configure"
     4830#line 4831 "configure"
    46954831#include "confdefs.h"
    46964832/* Override any gcc2 internal prototype to avoid an error.  */
     
    47034839; return 0; }
    47044840EOF
    4705 if { (eval echo configure:4706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4841if { (eval echo configure:4842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47064842  rm -rf conftest*
    47074843  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47254861else
    47264862echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
    4727 echo "configure:4728: checking for opendir in -lx" >&5
     4863echo "configure:4864: checking for opendir in -lx" >&5
    47284864ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
    47294865if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47334869LIBS="-lx  $LIBS"
    47344870cat > conftest.$ac_ext <<EOF
    4735 #line 4736 "configure"
     4871#line 4872 "configure"
    47364872#include "confdefs.h"
    47374873/* Override any gcc2 internal prototype to avoid an error.  */
     
    47444880; return 0; }
    47454881EOF
    4746 if { (eval echo configure:4747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4882if { (eval echo configure:4883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47474883  rm -rf conftest*
    47484884  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47774913
    47784914echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6
    4779 echo "configure:4780: checking whether strstr must be declared" >&5
     4915echo "configure:4916: checking whether strstr must be declared" >&5
    47804916if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then
    47814917  echo $ac_n "(cached) $ac_c" 1>&6
    47824918else
    47834919  cat > conftest.$ac_ext <<EOF
    4784 #line 4785 "configure"
     4920#line 4921 "configure"
    47854921#include "confdefs.h"
    47864922
     
    48034939; return 0; }
    48044940EOF
    4805 if { (eval echo configure:4806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4941if { (eval echo configure:4942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    48064942  rm -rf conftest*
    48074943  bfd_cv_decl_needed_strstr=no
     
    48244960
    48254961echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6
    4826 echo "configure:4827: checking whether free must be declared" >&5
     4962echo "configure:4963: checking whether free must be declared" >&5
    48274963if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then
    48284964  echo $ac_n "(cached) $ac_c" 1>&6
    48294965else
    48304966  cat > conftest.$ac_ext <<EOF
    4831 #line 4832 "configure"
     4967#line 4968 "configure"
    48324968#include "confdefs.h"
    48334969
     
    48504986; return 0; }
    48514987EOF
    4852 if { (eval echo configure:4853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4988if { (eval echo configure:4989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    48534989  rm -rf conftest*
    48544990  bfd_cv_decl_needed_free=no
     
    48715007
    48725008echo $ac_n "checking whether sbrk must be declared""... $ac_c" 1>&6
    4873 echo "configure:4874: checking whether sbrk must be declared" >&5
     5009echo "configure:5010: checking whether sbrk must be declared" >&5
    48745010if eval "test \"`echo '$''{'bfd_cv_decl_needed_sbrk'+set}'`\" = set"; then
    48755011  echo $ac_n "(cached) $ac_c" 1>&6
    48765012else
    48775013  cat > conftest.$ac_ext <<EOF
    4878 #line 4879 "configure"
     5014#line 5015 "configure"
    48795015#include "confdefs.h"
    48805016
     
    48975033; return 0; }
    48985034EOF
    4899 if { (eval echo configure:4900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5035if { (eval echo configure:5036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    49005036  rm -rf conftest*
    49015037  bfd_cv_decl_needed_sbrk=no
     
    49185054
    49195055echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6
    4920 echo "configure:4921: checking whether getenv must be declared" >&5
     5056echo "configure:5057: checking whether getenv must be declared" >&5
    49215057if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then
    49225058  echo $ac_n "(cached) $ac_c" 1>&6
    49235059else
    49245060  cat > conftest.$ac_ext <<EOF
    4925 #line 4926 "configure"
     5061#line 5062 "configure"
    49265062#include "confdefs.h"
    49275063
     
    49445080; return 0; }
    49455081EOF
    4946 if { (eval echo configure:4947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5082if { (eval echo configure:5083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    49475083  rm -rf conftest*
    49485084  bfd_cv_decl_needed_getenv=no
     
    49655101
    49665102echo $ac_n "checking whether environ must be declared""... $ac_c" 1>&6
    4967 echo "configure:4968: checking whether environ must be declared" >&5
     5103echo "configure:5104: checking whether environ must be declared" >&5
    49685104if eval "test \"`echo '$''{'bfd_cv_decl_needed_environ'+set}'`\" = set"; then
    49695105  echo $ac_n "(cached) $ac_c" 1>&6
    49705106else
    49715107  cat > conftest.$ac_ext <<EOF
    4972 #line 4973 "configure"
     5108#line 5109 "configure"
    49735109#include "confdefs.h"
    49745110
     
    49915127; return 0; }
    49925128EOF
    4993 if { (eval echo configure:4994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5129if { (eval echo configure:5130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    49945130  rm -rf conftest*
    49955131  bfd_cv_decl_needed_environ=no
     
    50195155# support string concatenation.
    50205156echo $ac_n "checking whether ANSI C string concatenation works""... $ac_c" 1>&6
    5021 echo "configure:5022: checking whether ANSI C string concatenation works" >&5
     5157echo "configure:5158: checking whether ANSI C string concatenation works" >&5
    50225158if eval "test \"`echo '$''{'ld_cv_string_concatenation'+set}'`\" = set"; then
    50235159  echo $ac_n "(cached) $ac_c" 1>&6
    50245160else
    50255161  cat > conftest.$ac_ext <<EOF
    5026 #line 5027 "configure"
     5162#line 5163 "configure"
    50275163#include "confdefs.h"
    50285164
     
    50315167; return 0; }
    50325168EOF
    5033 if { (eval echo configure:5034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5169if { (eval echo configure:5170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    50345170  rm -rf conftest*
    50355171  ld_cv_string_concatenation=yes
     
    51325268  EMUL_EXTRA_OFILES=$all_emul_extras
    51335269fi
     5270
    51345271
    51355272
     
    53125449s%@build_vendor@%$build_vendor%g
    53135450s%@build_os@%$build_os%g
    5314 s%@CC@%$CC%g
    53155451s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
    53165452s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
     
    53245460s%@MAKEINFO@%$MAKEINFO%g
    53255461s%@SET_MAKE@%$SET_MAKE%g
     5462s%@CC@%$CC%g
    53265463s%@LN_S@%$LN_S%g
    53275464s%@OBJEXT@%$OBJEXT%g
     
    53295466s%@STRIP@%$STRIP%g
    53305467s%@LIBTOOL@%$LIBTOOL%g
     5468s%@use_sysroot@%$use_sysroot%g
     5469s%@TARGET_SYSTEM_ROOT@%$TARGET_SYSTEM_ROOT%g
     5470s%@TARGET_SYSTEM_ROOT_DEFINE@%$TARGET_SYSTEM_ROOT_DEFINE%g
    53315471s%@WARN_CFLAGS@%$WARN_CFLAGS%g
    53325472s%@CPP@%$CPP%g
     
    53695509s%@EMULATION_OFILES@%$EMULATION_OFILES%g
    53705510s%@EMUL_EXTRA_OFILES@%$EMUL_EXTRA_OFILES%g
     5511s%@LIB_PATH@%$LIB_PATH%g
    53715512s%@EMULATION_LIBPATH@%$EMULATION_LIBPATH%g
    53725513s%@TESTBFDLIB@%$TESTBFDLIB%g
  • trunk/src/binutils/libiberty/configure

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r618 r619  
    1313# Any additions from configure.in:
    1414ac_help="$ac_help
    15   --with-target-subdir=SUBDIR      Configuring in a subdirectory"
     15  --with-target-subdir=SUBDIR      Configuring in a subdirectory for target"
     16ac_help="$ac_help
     17  --with-build-subdir=SUBDIR       Configuring in a subdirectory for build"
    1618ac_help="$ac_help
    1719  --with-cross-host=HOST           Configuring with a cross compiler"
    1820ac_help="$ac_help
    1921  --with-newlib                    Configuring with newlib"
     22ac_help="$ac_help
     23  --enable-maintainer-mode
     24                          enable make rules and dependencies not useful
     25                          (and sometimes confusing) to the casual installer"
     26ac_help="$ac_help
     27  --enable-install-libiberty       Install headers for end users"
    2028
    2129# Initialize some variables set by options.
     
    458466# A filename unique to this package, relative to the directory that
    459467# configure is in, which we can look for to find out if srcdir is correct.
    460 ac_unique_file=pexecute.c
     468ac_unique_file=xmalloc.c
    461469
    462470# Find the source files, if location was not specified.
     
    528536
    529537echo $ac_n "checking for path separator""... $ac_c" 1>&6
    530 echo "configure:531: checking for path separator" >&5
     538echo "configure:539: checking for path separator" >&5
    531539# Filter path to get backslahes into forwardslashes
    532540case "`uname -s 2> /dev/null`" in
     
    542550
    543551echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    544 echo "configure:545: checking for Cygwin environment" >&5
     552echo "configure:553: checking for Cygwin environment" >&5
    545553if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    546554  echo $ac_n "(cached) $ac_c" 1>&6
    547555else
    548556  cat > conftest.$ac_ext <<EOF
    549 #line 550 "configure"
     557#line 558 "configure"
    550558#include "confdefs.h"
    551559
     
    558566; return 0; }
    559567EOF
    560 if { (eval echo configure:561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     568if { (eval echo configure:569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    561569  rm -rf conftest*
    562570  ac_cv_cygwin=yes
     
    575583test "$ac_cv_cygwin" = yes && CYGWIN=yes
    576584echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    577 echo "configure:578: checking for mingw32 environment" >&5
     585echo "configure:586: checking for mingw32 environment" >&5
    578586if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    579587  echo $ac_n "(cached) $ac_c" 1>&6
    580588else
    581589  cat > conftest.$ac_ext <<EOF
    582 #line 583 "configure"
     590#line 591 "configure"
    583591#include "confdefs.h"
    584592
     
    587595; return 0; }
    588596EOF
    589 if { (eval echo configure:590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     597if { (eval echo configure:598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    590598  rm -rf conftest*
    591599  ac_cv_mingw32=yes
     
    604612test "$ac_cv_mingw32" = yes && MINGW32=yes
    605613echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6
    606 echo "configure:607: checking for EMX/OS2 environment" >&5
     614echo "configure:615: checking for EMX/OS2 environment" >&5
    607615if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then
    608616  echo $ac_n "(cached) $ac_c" 1>&6
     
    610618  : ${CC=gcc.exe}
    611619cat > conftest.$ac_ext <<EOF
    612 #line 613 "configure"
     620#line 621 "configure"
    613621#include "confdefs.h"
    614622
     
    617625; return 0; }
    618626EOF
    619 if { (eval echo configure:620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     627if { (eval echo configure:628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    620628  rm -rf conftest*
    621629  ac_cv_emxos2=yes
     
    648656
    649657echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    650 echo "configure:651: checking for executable suffix" >&5
     658echo "configure:659: checking for executable suffix" >&5
    651659if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    652660  echo $ac_n "(cached) $ac_c" 1>&6
     
    658666  echo 'int main () { return 0; }' > conftest.$ac_ext
    659667  ac_cv_exeext=
    660   if { (eval echo configure:661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     668  if { (eval echo configure:669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    661669    for file in conftest.*; do
    662670      case $file in
     
    680688
    681689
     690# This works around the fact that libtool configuration may change LD
     691# for this particular configuration, but some shells, instead of
     692# keeping the changes in LD private, export them just because LD is
     693# exported.  We don't use libtool yet, but some day we might, so...
     694ORIGINAL_LD_FOR_MULTILIBS=$LD
     695
    682696# Check whether --with-target-subdir or --without-target-subdir was given.
    683697if test "${with_target_subdir+set}" = set; then
     
    686700fi
    687701
     702# Check whether --with-build-subdir or --without-build-subdir was given.
     703if test "${with_build_subdir+set}" = set; then
     704  withval="$with_build_subdir"
     705  :
     706fi
     707
    688708# Check whether --with-cross-host or --without-cross-host was given.
    689709if test "${with_cross_host+set}" = set; then
     
    700720
    701721if test "${srcdir}" = "."; then
    702   if test -z "${with_target_subdir}"; then
     722  if test -n "${with_build_subdir}"; then
     723    libiberty_topdir="${srcdir}/../.."
     724    with_target_subdir=
     725  elif test -z "${with_target_subdir}"; then
    703726    libiberty_topdir="${srcdir}/.."
    704727  else
     
    712735  libiberty_topdir="${srcdir}/.."
    713736fi
     737
    714738ac_aux_dir=
    715739for ac_dir in $libiberty_topdir $srcdir/$libiberty_topdir; do
     
    733757
    734758
     759echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
     760echo "configure:761: checking whether to enable maintainer-specific portions of Makefiles" >&5
     761    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
     762if test "${enable_maintainer_mode+set}" = set; then
     763  enableval="$enable_maintainer_mode"
     764  maintainer_mode=$enableval
     765else
     766  maintainer_mode=no
     767fi
     768
     769
     770echo "$ac_t""$maintainer_mode" 1>&6
     771
     772if test "$maintainer_mode" = "yes"; then
     773  MAINT=''
     774  NOTMAINT='#'
     775else
     776  MAINT='#'
     777  NOTMAINT=''
     778fi
     779
     780# Do we have a single-tree copy of texinfo?  Even if we do, we can't
     781# rely on it - libiberty is built before texinfo.
     782# Extract the first word of "makeinfo", so it can be a program name with args.
     783set dummy makeinfo; ac_word=$2
     784echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     785echo "configure:786: checking for $ac_word" >&5
     786if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
     787  echo $ac_n "(cached) $ac_c" 1>&6
     788else
     789  if test -n "$MAKEINFO"; then
     790  ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
     791else
     792  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
     793  ac_dummy="$PATH"
     794  for ac_dir in $ac_dummy; do
     795    test -z "$ac_dir" && ac_dir=.
     796    if test -f $ac_dir/$ac_word -o \
     797            -f $ac_dir/$ac_word$ac_exeext ; then
     798      ac_cv_prog_MAKEINFO="makeinfo"
     799      break
     800    fi
     801  done
     802  IFS="$ac_save_ifs"
     803fi
     804fi
     805MAKEINFO="$ac_cv_prog_MAKEINFO"
     806if test -n "$MAKEINFO"; then
     807  echo "$ac_t""$MAKEINFO" 1>&6
     808else
     809  echo "$ac_t""no" 1>&6
     810fi
     811
     812if test "x$MAKEINFO" = "x"; then
     813    MAKEINFO="@echo makeinfo missing; true"
     814    BUILD_INFO=
     815else
     816    BUILD_INFO=info
     817    case x"`$MAKEINFO --version | grep 'GNU texinfo'`" in
     818      x*\ [1-3].* )
     819        MAKEINFO="@echo $MAKEINFO is too old, 4.0 or newer required; true"
     820        BUILD_INFO=
     821        echo "configure: warning:
     822*** Makeinfo is too old. Info documentation will not be built." 1>&2
     823        ;;
     824    esac
     825fi
     826
     827
     828
     829# Extract the first word of "perl", so it can be a program name with args.
     830set dummy perl; ac_word=$2
     831echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     832echo "configure:833: checking for $ac_word" >&5
     833if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
     834  echo $ac_n "(cached) $ac_c" 1>&6
     835else
     836  if test -n "$PERL"; then
     837  ac_cv_prog_PERL="$PERL" # Let the user override the test.
     838else
     839  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
     840  ac_dummy="$PATH"
     841  for ac_dir in $ac_dummy; do
     842    test -z "$ac_dir" && ac_dir=.
     843    if test -f $ac_dir/$ac_word -o \
     844            -f $ac_dir/$ac_word$ac_exeext ; then
     845      ac_cv_prog_PERL="perl"
     846      break
     847    fi
     848  done
     849  IFS="$ac_save_ifs"
     850fi
     851fi
     852PERL="$ac_cv_prog_PERL"
     853if test -n "$PERL"; then
     854  echo "$ac_t""$PERL" 1>&6
     855else
     856  echo "$ac_t""no" 1>&6
     857fi
     858
     859if test x"$PERL" = x""; then
     860  HAVE_PERL='#'
     861else
     862  HAVE_PERL=''
     863fi
     864
     865
     866
    735867# Make sure we can run config.sub.
    736868if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
     
    739871
    740872echo $ac_n "checking host system type""... $ac_c" 1>&6
    741 echo "configure:742: checking host system type" >&5
     873echo "configure:874: checking host system type" >&5
    742874
    743875host_alias=$host
     
    762894
    763895echo $ac_n "checking build system type""... $ac_c" 1>&6
    764 echo "configure:765: checking build system type" >&5
     896echo "configure:897: checking build system type" >&5
    765897
    766898build_alias=$build
     
    788920set dummy ${ac_tool_prefix}ar; ac_word=$2
    789921echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    790 echo "configure:791: checking for $ac_word" >&5
     922echo "configure:923: checking for $ac_word" >&5
    791923if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    792924  echo $ac_n "(cached) $ac_c" 1>&6
     
    821953set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    822954echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    823 echo "configure:824: checking for $ac_word" >&5
     955echo "configure:956: checking for $ac_word" >&5
    824956if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    825957  echo $ac_n "(cached) $ac_c" 1>&6
     
    854986set dummy ranlib; ac_word=$2
    855987echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    856 echo "configure:857: checking for $ac_word" >&5
     988echo "configure:989: checking for $ac_word" >&5
    857989if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    858990  echo $ac_n "(cached) $ac_c" 1>&6
     
    8921024set dummy gcc; ac_word=$2
    8931025echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    894 echo "configure:895: checking for $ac_word" >&5
     1026echo "configure:1027: checking for $ac_word" >&5
    8951027if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    8961028  echo $ac_n "(cached) $ac_c" 1>&6
     
    9231055set dummy cc; ac_word=$2
    9241056echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    925 echo "configure:926: checking for $ac_word" >&5
     1057echo "configure:1058: checking for $ac_word" >&5
    9261058if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    9271059  echo $ac_n "(cached) $ac_c" 1>&6
     
    9741106
    9751107echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    976 echo "configure:977: checking whether we are using GNU C" >&5
     1108echo "configure:1109: checking whether we are using GNU C" >&5
    9771109if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    9781110  echo $ac_n "(cached) $ac_c" 1>&6
     
    9831115#endif
    9841116EOF
    985 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1117if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    9861118  ac_cv_prog_gcc=yes
    9871119else
     
    9991131  CFLAGS=
    10001132  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1001 echo "configure:1002: checking whether ${CC-cc} accepts -g" >&5
     1133echo "configure:1134: checking whether ${CC-cc} accepts -g" >&5
    10021134if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    10031135  echo $ac_n "(cached) $ac_c" 1>&6
     
    10291161
    10301162
     1163if test "x$CC" != xcc; then
     1164  echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
     1165echo "configure:1166: checking whether $CC and cc understand -c and -o together" >&5
     1166else
     1167  echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
     1168echo "configure:1169: checking whether cc understands -c and -o together" >&5
     1169fi
     1170set dummy $CC; ac_cc="`echo $2 |
     1171                       sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
     1172if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
     1173  echo $ac_n "(cached) $ac_c" 1>&6
     1174else
     1175  echo 'foo(){}' > conftest.c
     1176# Make sure it works both with $CC and with simple cc.
     1177# We do the test twice because some compilers refuse to overwrite an
     1178# existing .o file with -o, though they will create one.
     1179ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5'
     1180if { (eval echo configure:1181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
     1181   test -f conftest.o && { (eval echo configure:1182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
     1182then
     1183  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
     1184  if test "x$CC" != xcc; then
     1185    # Test first that cc exists at all.
     1186    if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:1187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
     1187      ac_try='cc -c conftest.c -o conftest.o 1>&5'
     1188      if { (eval echo configure:1189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
     1189         test -f conftest.o && { (eval echo configure:1190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
     1190      then
     1191        # cc works too.
     1192        :
     1193      else
     1194        # cc exists but doesn't like -o.
     1195        eval ac_cv_prog_cc_${ac_cc}_c_o=no
     1196      fi
     1197    fi
     1198  fi
     1199else
     1200  eval ac_cv_prog_cc_${ac_cc}_c_o=no
     1201fi
     1202rm -f conftest*
     1203
     1204fi
     1205if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
     1206  echo "$ac_t""yes" 1>&6
     1207else
     1208  echo "$ac_t""no" 1>&6
     1209  cat >> confdefs.h <<\EOF
     1210#define NO_MINUS_C_MINUS_O 1
     1211EOF
     1212
     1213fi
     1214
     1215# autoconf is lame and doesn't give us any substitution variable for this.
     1216if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = no"; then
     1217  NO_MINUS_C_MINUS_O=yes
     1218else
     1219  OUTPUT_OPTION='-o $@'
     1220fi
     1221
     1222
     1223
    10311224echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
    1032 echo "configure:1033: checking for POSIXized ISC" >&5
     1225echo "configure:1226: checking for POSIXized ISC" >&5
    10331226if test -d /etc/conf/kconfig.d &&
    10341227  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
     
    10511244
    10521245echo $ac_n "checking for working const""... $ac_c" 1>&6
    1053 echo "configure:1054: checking for working const" >&5
     1246echo "configure:1247: checking for working const" >&5
    10541247if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    10551248  echo $ac_n "(cached) $ac_c" 1>&6
    10561249else
    10571250  cat > conftest.$ac_ext <<EOF
    1058 #line 1059 "configure"
     1251#line 1252 "configure"
    10591252#include "confdefs.h"
    10601253
     
    11051298; return 0; }
    11061299EOF
    1107 if { (eval echo configure:1108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1300if { (eval echo configure:1301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    11081301  rm -rf conftest*
    11091302  ac_cv_c_const=yes
     
    11261319
    11271320echo $ac_n "checking for inline""... $ac_c" 1>&6
    1128 echo "configure:1129: checking for inline" >&5
     1321echo "configure:1322: checking for inline" >&5
    11291322if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    11301323  echo $ac_n "(cached) $ac_c" 1>&6
     
    11331326for ac_kw in inline __inline__ __inline; do
    11341327  cat > conftest.$ac_ext <<EOF
    1135 #line 1136 "configure"
     1328#line 1329 "configure"
    11361329#include "confdefs.h"
    11371330
     
    11401333; return 0; }
    11411334EOF
    1142 if { (eval echo configure:1143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1335if { (eval echo configure:1336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    11431336  rm -rf conftest*
    11441337  ac_cv_c_inline=$ac_kw; break
     
    11831376# ./install, which can be erroneously created by make from ./install.sh.
    11841377echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1185 echo "configure:1186: checking for a BSD compatible install" >&5
     1378echo "configure:1379: checking for a BSD compatible install" >&5
    11861379if test -z "$INSTALL"; then
    11871380if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    12461439# something.
    12471440echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    1248 echo "configure:1249: checking how to run the C preprocessor" >&5
     1441echo "configure:1442: checking how to run the C preprocessor" >&5
    12491442# On Suns, sometimes $CPP names a directory.
    12501443if test -n "$CPP" && test -d "$CPP"; then
     
    12621455  cat > conftest.$ac_ext <<EOF
    12631456#include <sys/types.h>
    1264 #line 1265 "configure"
     1457#line 1458 "configure"
    12651458#include "confdefs.h"
    12661459#include <assert.h>
     
    12681461EOF
    12691462ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1270 { (eval echo configure:1271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1463{ (eval echo configure:1464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    12711464ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    12721465if test -z "$ac_err"; then
     
    12801473  cat > conftest.$ac_ext <<EOF
    12811474#include <sys/types.h>
    1282 #line 1283 "configure"
     1475#line 1476 "configure"
    12831476#include "confdefs.h"
    12841477#include <assert.h>
     
    12861479EOF
    12871480ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1288 { (eval echo configure:1289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1481{ (eval echo configure:1482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    12891482ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    12901483if test -z "$ac_err"; then
     
    12981491  cat > conftest.$ac_ext <<EOF
    12991492#include <sys/types.h>
    1300 #line 1301 "configure"
     1493#line 1494 "configure"
    13011494#include "confdefs.h"
    13021495#include <assert.h>
     
    13041497EOF
    13051498ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1306 { (eval echo configure:1307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1499{ (eval echo configure:1500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    13071500ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    13081501if test -z "$ac_err"; then
     
    13281521echo "$ac_t""$CPP" 1>&6
    13291522
    1330 for ac_hdr in sys/file.h sys/param.h limits.h stdlib.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h
     1523for ac_hdr in sys/file.h sys/param.h limits.h stdlib.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h alloca.h sys/pstat.h sys/sysmp.h sys/sysinfo.h machine/hal_sysinfo.h sys/table.h sys/sysctl.h sys/systemcfg.h
    13311524do
    13321525ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    13331526echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1334 echo "configure:1335: checking for $ac_hdr" >&5
     1527echo "configure:1528: checking for $ac_hdr" >&5
    13351528if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    13361529  echo $ac_n "(cached) $ac_c" 1>&6
     
    13381531  cat > conftest.$ac_ext <<EOF
    13391532#include <sys/types.h>
    1340 #line 1341 "configure"
     1533#line 1534 "configure"
    13411534#include "confdefs.h"
    13421535#include <$ac_hdr>
    13431536EOF
    13441537ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1345 { (eval echo configure:1346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1538{ (eval echo configure:1539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    13461539ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    13471540if test -z "$ac_err"; then
     
    13701563
    13711564echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
    1372 echo "configure:1373: checking for sys/wait.h that is POSIX.1 compatible" >&5
     1565echo "configure:1566: checking for sys/wait.h that is POSIX.1 compatible" >&5
    13731566if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
    13741567  echo $ac_n "(cached) $ac_c" 1>&6
    13751568else
    13761569  cat > conftest.$ac_ext <<EOF
    1377 #line 1378 "configure"
     1570#line 1571 "configure"
    13781571#include "confdefs.h"
    13791572#include <sys/types.h>
     
    13911584; return 0; }
    13921585EOF
    1393 if { (eval echo configure:1394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1586if { (eval echo configure:1587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    13941587  rm -rf conftest*
    13951588  ac_cv_header_sys_wait_h=yes
     
    14121605
    14131606echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    1414 echo "configure:1415: checking whether time.h and sys/time.h may both be included" >&5
     1607echo "configure:1608: checking whether time.h and sys/time.h may both be included" >&5
    14151608if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    14161609  echo $ac_n "(cached) $ac_c" 1>&6
    14171610else
    14181611  cat > conftest.$ac_ext <<EOF
    1419 #line 1420 "configure"
     1612#line 1613 "configure"
    14201613#include "confdefs.h"
    14211614#include <sys/types.h>
     
    14261619; return 0; }
    14271620EOF
    1428 if { (eval echo configure:1429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1621if { (eval echo configure:1622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    14291622  rm -rf conftest*
    14301623  ac_cv_header_time=yes
     
    14481641
    14491642echo $ac_n "checking whether errno must be declared""... $ac_c" 1>&6
    1450 echo "configure:1451: checking whether errno must be declared" >&5
     1643echo "configure:1644: checking whether errno must be declared" >&5
    14511644if eval "test \"`echo '$''{'libiberty_cv_declare_errno'+set}'`\" = set"; then
    14521645  echo $ac_n "(cached) $ac_c" 1>&6
    14531646else
    14541647  cat > conftest.$ac_ext <<EOF
    1455 #line 1456 "configure"
     1648#line 1649 "configure"
    14561649#include "confdefs.h"
    14571650#include <errno.h>
     
    14601653; return 0; }
    14611654EOF
    1462 if { (eval echo configure:1463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1655if { (eval echo configure:1656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    14631656  rm -rf conftest*
    14641657  libiberty_cv_declare_errno=no
     
    14761669then cat >> confdefs.h <<\EOF
    14771670#define NEED_DECLARATION_ERRNO 1
     1671EOF
     1672
     1673fi
     1674
     1675
     1676echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
     1677echo "configure:1678: checking for ANSI C header files" >&5
     1678if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
     1679  echo $ac_n "(cached) $ac_c" 1>&6
     1680else
     1681  cat > conftest.$ac_ext <<EOF
     1682#include <sys/types.h>
     1683#line 1684 "configure"
     1684#include "confdefs.h"
     1685#include <stdlib.h>
     1686#include <stdarg.h>
     1687#include <string.h>
     1688#include <float.h>
     1689EOF
     1690ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     1691{ (eval echo configure:1692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1692ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1693if test -z "$ac_err"; then
     1694  rm -rf conftest*
     1695  ac_cv_header_stdc=yes
     1696else
     1697  echo "$ac_err" >&5
     1698  echo "configure: failed program was:" >&5
     1699  cat conftest.$ac_ext >&5
     1700  rm -rf conftest*
     1701  ac_cv_header_stdc=no
     1702fi
     1703rm -f conftest*
     1704
     1705if test $ac_cv_header_stdc = yes; then
     1706  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     1707cat > conftest.$ac_ext <<EOF
     1708#line 1709 "configure"
     1709#include "confdefs.h"
     1710#include <string.h>
     1711EOF
     1712if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     1713  egrep "memchr" >/dev/null 2>&1; then
     1714  :
     1715else
     1716  rm -rf conftest*
     1717  ac_cv_header_stdc=no
     1718fi
     1719rm -f conftest*
     1720
     1721fi
     1722
     1723if test $ac_cv_header_stdc = yes; then
     1724  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     1725cat > conftest.$ac_ext <<EOF
     1726#line 1727 "configure"
     1727#include "confdefs.h"
     1728#include <stdlib.h>
     1729EOF
     1730if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     1731  egrep "free" >/dev/null 2>&1; then
     1732  :
     1733else
     1734  rm -rf conftest*
     1735  ac_cv_header_stdc=no
     1736fi
     1737rm -f conftest*
     1738
     1739fi
     1740
     1741if test $ac_cv_header_stdc = yes; then
     1742  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     1743if test "$cross_compiling" = yes; then
     1744  :
     1745else
     1746  cat > conftest.$ac_ext <<EOF
     1747#line 1748 "configure"
     1748#include "confdefs.h"
     1749#include <ctype.h>
     1750#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     1751#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     1752#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     1753int main () { int i; for (i = 0; i < 256; i++)
     1754if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
     1755exit (0); }
     1756
     1757EOF
     1758if { (eval echo configure:1759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1759then
     1760  :
     1761else
     1762  echo "configure: failed program was:" >&5
     1763  cat conftest.$ac_ext >&5
     1764  rm -fr conftest*
     1765  ac_cv_header_stdc=no
     1766fi
     1767rm -fr conftest*
     1768fi
     1769
     1770fi
     1771fi
     1772
     1773echo "$ac_t""$ac_cv_header_stdc" 1>&6
     1774if test $ac_cv_header_stdc = yes; then
     1775  cat >> confdefs.h <<\EOF
     1776#define STDC_HEADERS 1
     1777EOF
     1778
     1779fi
     1780
     1781echo $ac_n "checking for uintptr_t""... $ac_c" 1>&6
     1782echo "configure:1783: checking for uintptr_t" >&5
     1783if eval "test \"`echo '$''{'ac_cv_type_uintptr_t'+set}'`\" = set"; then
     1784  echo $ac_n "(cached) $ac_c" 1>&6
     1785else
     1786  cat > conftest.$ac_ext <<EOF
     1787#line 1788 "configure"
     1788#include "confdefs.h"
     1789#include <sys/types.h>
     1790#if STDC_HEADERS
     1791#include <stdlib.h>
     1792#include <stddef.h>
     1793#endif
     1794EOF
     1795if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     1796  egrep "(^|[^a-zA-Z_0-9])uintptr_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
     1797  rm -rf conftest*
     1798  ac_cv_type_uintptr_t=yes
     1799else
     1800  rm -rf conftest*
     1801  ac_cv_type_uintptr_t=no
     1802fi
     1803rm -f conftest*
     1804
     1805fi
     1806echo "$ac_t""$ac_cv_type_uintptr_t" 1>&6
     1807if test $ac_cv_type_uintptr_t = no; then
     1808  cat >> confdefs.h <<\EOF
     1809#define uintptr_t unsigned long
     1810EOF
     1811
     1812fi
     1813
     1814# Given the above check, we always have uintptr_t or a fallback
     1815# definition.  So define HAVE_UINTPTR_T in case any imported code
     1816# relies on it.
     1817cat >> confdefs.h <<\EOF
     1818#define HAVE_UINTPTR_T 1
     1819EOF
     1820
     1821
     1822echo $ac_n "checking for pid_t""... $ac_c" 1>&6
     1823echo "configure:1824: checking for pid_t" >&5
     1824if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
     1825  echo $ac_n "(cached) $ac_c" 1>&6
     1826else
     1827  cat > conftest.$ac_ext <<EOF
     1828#line 1829 "configure"
     1829#include "confdefs.h"
     1830#include <sys/types.h>
     1831#if STDC_HEADERS
     1832#include <stdlib.h>
     1833#include <stddef.h>
     1834#endif
     1835EOF
     1836if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     1837  egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
     1838  rm -rf conftest*
     1839  ac_cv_type_pid_t=yes
     1840else
     1841  rm -rf conftest*
     1842  ac_cv_type_pid_t=no
     1843fi
     1844rm -f conftest*
     1845
     1846fi
     1847echo "$ac_t""$ac_cv_type_pid_t" 1>&6
     1848if test $ac_cv_type_pid_t = no; then
     1849  cat >> confdefs.h <<\EOF
     1850#define pid_t int
    14781851EOF
    14791852
     
    14931866funcs="$funcs calloc"
    14941867funcs="$funcs clock"
     1868funcs="$funcs ffs"
    14951869funcs="$funcs getcwd"
    14961870funcs="$funcs getpagesize"
     
    15011875funcs="$funcs memcpy"
    15021876funcs="$funcs memmove"
     1877funcs="$funcs mempcpy"
    15031878funcs="$funcs memset"
    15041879funcs="$funcs mkstemps"
     
    15081883funcs="$funcs rindex"
    15091884funcs="$funcs setenv"
     1885funcs="$funcs snprintf"
    15101886funcs="$funcs sigsetmask"
     1887funcs="$funcs stpcpy"
     1888funcs="$funcs stpncpy"
    15111889funcs="$funcs strcasecmp"
    15121890funcs="$funcs strchr"
     
    15221900funcs="$funcs vfprintf"
    15231901funcs="$funcs vprintf"
     1902funcs="$funcs vsnprintf"
    15241903funcs="$funcs vsprintf"
    15251904funcs="$funcs waitpid"
     
    15271906# Also in the old function.def file: alloca, vfork, getopt.
    15281907
    1529 vars="sys_errlist sys_nerr sys_siglist"
     1908vars="sys_errlist sys_nerr sys_siglist _system_configuration"
    15301909
    15311910checkfuncs="getrusage on_exit psignal strerror strsignal sysconf times sbrk gettimeofday"
     1911checkfuncs="$checkfuncs realpath canonicalize_file_name pstat_getstatic pstat_getdynamic sysmp"
     1912checkfuncs="$checkfuncs getsysinfo table sysctl"
    15321913
    15331914# These are neither executed nor required, but they help keep
     
    15371918do
    15381919echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1539 echo "configure:1540: checking for $ac_func" >&5
     1920echo "configure:1921: checking for $ac_func" >&5
    15401921if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    15411922  echo $ac_n "(cached) $ac_c" 1>&6
    15421923else
    15431924  cat > conftest.$ac_ext <<EOF
    1544 #line 1545 "configure"
     1925#line 1926 "configure"
    15451926#include "confdefs.h"
    15461927/* System header to define __stub macros and hopefully few prototypes,
     
    15651946; return 0; }
    15661947EOF
    1567 if { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1948if { (eval echo configure:1949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15681949  rm -rf conftest*
    15691950  eval "ac_cv_func_$ac_func=yes"
     
    15921973do
    15931974echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1594 echo "configure:1595: checking for $ac_func" >&5
     1975echo "configure:1976: checking for $ac_func" >&5
    15951976if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    15961977  echo $ac_n "(cached) $ac_c" 1>&6
    15971978else
    15981979  cat > conftest.$ac_ext <<EOF
    1599 #line 1600 "configure"
     1980#line 1981 "configure"
    16001981#include "confdefs.h"
    16011982/* System header to define __stub macros and hopefully few prototypes,
     
    16202001; return 0; }
    16212002EOF
    1622 if { (eval echo configure:1623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2003if { (eval echo configure:2004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16232004  rm -rf conftest*
    16242005  eval "ac_cv_func_$ac_func=yes"
     
    16442025done
    16452026
    1646   for ac_func in memmove memset putenv random rename rindex sigsetmask
     2027  for ac_func in memmove mempcpy memset putenv random rename rindex sigsetmask
    16472028do
    16482029echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1649 echo "configure:1650: checking for $ac_func" >&5
     2030echo "configure:2031: checking for $ac_func" >&5
    16502031if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    16512032  echo $ac_n "(cached) $ac_c" 1>&6
    16522033else
    16532034  cat > conftest.$ac_ext <<EOF
    1654 #line 1655 "configure"
     2035#line 2036 "configure"
    16552036#include "confdefs.h"
    16562037/* System header to define __stub macros and hopefully few prototypes,
     
    16752056; return 0; }
    16762057EOF
    1677 if { (eval echo configure:1678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2058if { (eval echo configure:2059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16782059  rm -rf conftest*
    16792060  eval "ac_cv_func_$ac_func=yes"
     
    16992080done
    17002081
    1701   for ac_func in strcasecmp setenv strchr strdup strncasecmp strrchr strstr
     2082  for ac_func in strcasecmp setenv stpcpy stpncpy strchr strdup strncasecmp strrchr strstr
    17022083do
    17032084echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1704 echo "configure:1705: checking for $ac_func" >&5
     2085echo "configure:2086: checking for $ac_func" >&5
    17052086if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    17062087  echo $ac_n "(cached) $ac_c" 1>&6
    17072088else
    17082089  cat > conftest.$ac_ext <<EOF
    1709 #line 1710 "configure"
     2090#line 2091 "configure"
    17102091#include "confdefs.h"
    17112092/* System header to define __stub macros and hopefully few prototypes,
     
    17302111; return 0; }
    17312112EOF
    1732 if { (eval echo configure:1733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2113if { (eval echo configure:2114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17332114  rm -rf conftest*
    17342115  eval "ac_cv_func_$ac_func=yes"
     
    17572138do
    17582139echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1759 echo "configure:1760: checking for $ac_func" >&5
     2140echo "configure:2141: checking for $ac_func" >&5
    17602141if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    17612142  echo $ac_n "(cached) $ac_c" 1>&6
    17622143else
    17632144  cat > conftest.$ac_ext <<EOF
    1764 #line 1765 "configure"
     2145#line 2146 "configure"
    17652146#include "confdefs.h"
    17662147/* System header to define __stub macros and hopefully few prototypes,
     
    17852166; return 0; }
    17862167EOF
    1787 if { (eval echo configure:1788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2168if { (eval echo configure:2169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17882169  rm -rf conftest*
    17892170  eval "ac_cv_func_$ac_func=yes"
     
    18122193do
    18132194echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1814 echo "configure:1815: checking for $ac_func" >&5
     2195echo "configure:2196: checking for $ac_func" >&5
    18152196if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    18162197  echo $ac_n "(cached) $ac_c" 1>&6
    18172198else
    18182199  cat > conftest.$ac_ext <<EOF
    1819 #line 1820 "configure"
     2200#line 2201 "configure"
    18202201#include "confdefs.h"
    18212202/* System header to define __stub macros and hopefully few prototypes,
     
    18402221; return 0; }
    18412222EOF
    1842 if { (eval echo configure:1843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2223if { (eval echo configure:2224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18432224  rm -rf conftest*
    18442225  eval "ac_cv_func_$ac_func=yes"
     
    18642245done
    18652246
    1866   for ac_func in sysconf times sbrk gettimeofday
     2247  for ac_func in sysconf times sbrk gettimeofday ffs snprintf vsnprintf
    18672248do
    18682249echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1869 echo "configure:1870: checking for $ac_func" >&5
     2250echo "configure:2251: checking for $ac_func" >&5
    18702251if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    18712252  echo $ac_n "(cached) $ac_c" 1>&6
    18722253else
    18732254  cat > conftest.$ac_ext <<EOF
    1874 #line 1875 "configure"
     2255#line 2256 "configure"
    18752256#include "confdefs.h"
    18762257/* System header to define __stub macros and hopefully few prototypes,
     
    18952276; return 0; }
    18962277EOF
    1897 if { (eval echo configure:1898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2278if { (eval echo configure:2279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18982279  rm -rf conftest*
    18992280  eval "ac_cv_func_$ac_func=yes"
     
    19192300done
    19202301
     2302  for ac_func in pstat_getstatic pstat_getdynamic sysmp getsysinfo table sysctl
     2303do
     2304echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     2305echo "configure:2306: checking for $ac_func" >&5
     2306if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
     2307  echo $ac_n "(cached) $ac_c" 1>&6
     2308else
     2309  cat > conftest.$ac_ext <<EOF
     2310#line 2311 "configure"
     2311#include "confdefs.h"
     2312/* System header to define __stub macros and hopefully few prototypes,
     2313    which can conflict with char $ac_func(); below.  */
     2314#include <assert.h>
     2315/* Override any gcc2 internal prototype to avoid an error.  */
     2316/* We use char because int might match the return type of a gcc2
     2317    builtin and then its argument prototype would still apply.  */
     2318char $ac_func();
     2319
     2320int main() {
     2321
     2322/* The GNU C library defines this for functions which it implements
     2323    to always fail with ENOSYS.  Some functions are actually named
     2324    something starting with __ and the normal name is an alias.  */
     2325#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     2326choke me
     2327#else
     2328$ac_func();
     2329#endif
     2330
     2331; return 0; }
     2332EOF
     2333if { (eval echo configure:2334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2334  rm -rf conftest*
     2335  eval "ac_cv_func_$ac_func=yes"
     2336else
     2337  echo "configure: failed program was:" >&5
     2338  cat conftest.$ac_ext >&5
     2339  rm -rf conftest*
     2340  eval "ac_cv_func_$ac_func=no"
     2341fi
     2342rm -f conftest*
     2343fi
     2344
     2345if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
     2346  echo "$ac_t""yes" 1>&6
     2347    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     2348  cat >> confdefs.h <<EOF
     2349#define $ac_tr_func 1
     2350EOF
     2351 
     2352else
     2353  echo "$ac_t""no" 1>&6
     2354fi
     2355done
     2356
     2357  for ac_func in realpath canonicalize_file_name
     2358do
     2359echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     2360echo "configure:2361: checking for $ac_func" >&5
     2361if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
     2362  echo $ac_n "(cached) $ac_c" 1>&6
     2363else
     2364  cat > conftest.$ac_ext <<EOF
     2365#line 2366 "configure"
     2366#include "confdefs.h"
     2367/* System header to define __stub macros and hopefully few prototypes,
     2368    which can conflict with char $ac_func(); below.  */
     2369#include <assert.h>
     2370/* Override any gcc2 internal prototype to avoid an error.  */
     2371/* We use char because int might match the return type of a gcc2
     2372    builtin and then its argument prototype would still apply.  */
     2373char $ac_func();
     2374
     2375int main() {
     2376
     2377/* The GNU C library defines this for functions which it implements
     2378    to always fail with ENOSYS.  Some functions are actually named
     2379    something starting with __ and the normal name is an alias.  */
     2380#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     2381choke me
     2382#else
     2383$ac_func();
     2384#endif
     2385
     2386; return 0; }
     2387EOF
     2388if { (eval echo configure:2389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2389  rm -rf conftest*
     2390  eval "ac_cv_func_$ac_func=yes"
     2391else
     2392  echo "configure: failed program was:" >&5
     2393  cat conftest.$ac_ext >&5
     2394  rm -rf conftest*
     2395  eval "ac_cv_func_$ac_func=no"
     2396fi
     2397rm -f conftest*
     2398fi
     2399
     2400if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
     2401  echo "$ac_t""yes" 1>&6
     2402    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     2403  cat >> confdefs.h <<EOF
     2404#define $ac_tr_func 1
     2405EOF
     2406 
     2407else
     2408  echo "$ac_t""no" 1>&6
     2409fi
     2410done
     2411
    19212412  cat >> confdefs.h <<\EOF
    19222413#define HAVE_SYS_ERRLIST 1
     
    19312422EOF
    19322423
     2424  cat >> confdefs.h <<\EOF
     2425#define HAVE__SYSTEM_CONFIGURATION 1
     2426EOF
     2427
    19332428fi
    19342429
    19352430# For each of these functions, if the host does not provide the
    19362431# function we want to put FN.o in LIBOBJS, and if the host does
    1937 # provide the function, we want to define HAVE_FN in config.h.  Also,
    1938 # if the host does not provide alloca, we set ALLOCA to alloca.o
     2432# provide the function, we want to define HAVE_FN in config.h.
    19392433
    19402434setobjs=
    19412435CHECK=
     2436target_header_dir=
    19422437if test -n "${with_target_subdir}"; then
    19432438
     
    19512446
    19522447  if test "x${with_newlib}" = "xyes"; then
    1953     ALLOCA="alloca.o"
    19542448    LIBOBJS="asprintf.o basename.o insque.o random.o strdup.o vasprintf.o"
    19552449
     
    19812475  fi
    19822476
     2477  # We may wish to install the target headers somewhere.
     2478  # Check whether --enable-install-libiberty or --disable-install-libiberty was given.
     2479if test "${enable_install_libiberty+set}" = set; then
     2480  enableval="$enable_install_libiberty"
     2481  enable_install_libiberty=$enableval
     2482else
     2483  enable_install_libiberty=no
     2484fi
     2485 
     2486  # Option parsed, now set things appropriately.
     2487  case x"$enable_install_libiberty" in
     2488    xyes|x)
     2489      target_header_dir=libiberty
     2490      ;;
     2491    xno)   
     2492      target_header_dir=
     2493      ;;
     2494    *)
     2495      # This could be sanity-checked in various ways...
     2496      target_header_dir="${enable_install_libiberty}"
     2497      ;;
     2498  esac
     2499
     2500
    19832501else
    19842502
     
    19892507
    19902508
     2509
     2510
     2511case "${host}" in
     2512  *-*-cygwin* | *-*-mingw*)
     2513    cat >> confdefs.h <<\EOF
     2514#define HAVE_SYS_ERRLIST 1
     2515EOF
     2516
     2517    cat >> confdefs.h <<\EOF
     2518#define HAVE_SYS_NERR 1
     2519EOF
     2520
     2521    ;;
     2522esac
    19912523
    19922524if test -z "${setobjs}"; then
     
    20762608    ;;
    20772609
     2610  *-*-*vms*)
     2611    # Under VMS, vfork works very different than on Unix. The standard test
     2612    # won't work, and it isn't easily adaptable. It makes more sense to
     2613    # just force it.
     2614    ac_cv_func_vfork_works=yes
     2615    ;;
     2616
    20782617  esac
    20792618
     
    20812620  # tests.  This will only work if the compiler works.
    20822621  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2083 echo "configure:2084: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2622echo "configure:2623: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    20842623
    20852624ac_ext=c
     
    20922631cat > conftest.$ac_ext << EOF
    20932632
    2094 #line 2095 "configure"
     2633#line 2634 "configure"
    20952634#include "confdefs.h"
    20962635
    20972636main(){return(0);}
    20982637EOF
    2099 if { (eval echo configure:2100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2638if { (eval echo configure:2639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21002639  ac_cv_prog_cc_works=yes
    21012640  # If we can't run a trivial program, we are probably using a cross compiler.
     
    21232662fi
    21242663echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2125 echo "configure:2126: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2664echo "configure:2665: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    21262665echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    21272666cross_compiling=$ac_cv_prog_cc_cross
     
    21302669do
    21312670echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2132 echo "configure:2133: checking for $ac_func" >&5
     2671echo "configure:2672: checking for $ac_func" >&5
    21332672if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    21342673  echo $ac_n "(cached) $ac_c" 1>&6
    21352674else
    21362675  cat > conftest.$ac_ext <<EOF
    2137 #line 2138 "configure"
     2676#line 2677 "configure"
    21382677#include "confdefs.h"
    21392678/* System header to define __stub macros and hopefully few prototypes,
     
    21582697; return 0; }
    21592698EOF
    2160 if { (eval echo configure:2161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2699if { (eval echo configure:2700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21612700  rm -rf conftest*
    21622701  eval "ac_cv_func_$ac_func=yes"
     
    21842723
    21852724
    2186 
    2187   case "${host}" in
    2188   *-*-interix)
    2189     # On Interix, it wrongly concludes that the MSVC compiler supports alloca.
    2190     # (MSVC does on Win32, not on Interix.)
    2191     # This should be temporary.
    2192 
    2193     ac_cv_header_alloca_h=no
    2194     ac_cv_func_alloca_works=no
    2195     ALLOCA=alloca.o
    2196     cat >> confdefs.h <<\EOF
    2197 #define C_ALLOCA 1
    2198 EOF
    2199     cat >> confdefs.h <<EOF
    2200 #define STACK_DIRECTION -1
    2201 EOF
    2202     ;;
    2203   *)
    2204     # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    2205 # for constant arguments.  Useless!
    2206 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2207 echo "configure:2208: checking for working alloca.h" >&5
    2208 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
     2725  echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
     2726echo "configure:2727: checking whether alloca needs Cray hooks" >&5
     2727if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    22092728  echo $ac_n "(cached) $ac_c" 1>&6
    22102729else
    22112730  cat > conftest.$ac_ext <<EOF
    2212 #line 2213 "configure"
    2213 #include "confdefs.h"
    2214 #include <alloca.h>
    2215 int main() {
    2216 char *p = alloca(2 * sizeof(int));
    2217 ; return 0; }
    2218 EOF
    2219 if { (eval echo configure:2220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    2220   rm -rf conftest*
    2221   ac_cv_header_alloca_h=yes
    2222 else
    2223   echo "configure: failed program was:" >&5
    2224   cat conftest.$ac_ext >&5
    2225   rm -rf conftest*
    2226   ac_cv_header_alloca_h=no
    2227 fi
    2228 rm -f conftest*
    2229 fi
    2230 
    2231 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
    2232 if test $ac_cv_header_alloca_h = yes; then
    2233   cat >> confdefs.h <<\EOF
    2234 #define HAVE_ALLOCA_H 1
    2235 EOF
    2236 
    2237 fi
    2238 
    2239 echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2240 echo "configure:2241: checking for alloca" >&5
    2241 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    2242   echo $ac_n "(cached) $ac_c" 1>&6
    2243 else
    2244   cat > conftest.$ac_ext <<EOF
    2245 #line 2246 "configure"
    2246 #include "confdefs.h"
    2247 
    2248 #ifdef __GNUC__
    2249 # define alloca __builtin_alloca
    2250 #else
    2251 # ifdef _MSC_VER
    2252 #  include <malloc.h>
    2253 #  define alloca _alloca
    2254 # else
    2255 #  if HAVE_ALLOCA_H
    2256 #   include <alloca.h>
    2257 #  else
    2258 #   ifdef _AIX
    2259  #pragma alloca
    2260 #   else
    2261 #    ifndef alloca /* predefined by HP cc +Olibcalls */
    2262 char *alloca ();
    2263 #    endif
    2264 #   endif
    2265 #  endif
    2266 # endif
    2267 #endif
    2268 
    2269 int main() {
    2270 char *p = (char *) alloca(1);
    2271 ; return 0; }
    2272 EOF
    2273 if { (eval echo configure:2274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    2274   rm -rf conftest*
    2275   ac_cv_func_alloca_works=yes
    2276 else
    2277   echo "configure: failed program was:" >&5
    2278   cat conftest.$ac_ext >&5
    2279   rm -rf conftest*
    2280   ac_cv_func_alloca_works=no
    2281 fi
    2282 rm -f conftest*
    2283 fi
    2284 
    2285 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
    2286 if test $ac_cv_func_alloca_works = yes; then
    2287   cat >> confdefs.h <<\EOF
    2288 #define HAVE_ALLOCA 1
    2289 EOF
    2290 
    2291 fi
    2292 
    2293 if test $ac_cv_func_alloca_works = no; then
    2294   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
    2295   # that cause trouble.  Some versions do not even contain alloca or
    2296   # contain a buggy version.  If you still want to use their alloca,
    2297   # use ar to extract alloca.o from them instead of compiling alloca.c.
    2298   ALLOCA=alloca.${ac_objext}
    2299   cat >> confdefs.h <<\EOF
    2300 #define C_ALLOCA 1
    2301 EOF
    2302 
    2303 
    2304 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2305 echo "configure:2306: checking whether alloca needs Cray hooks" >&5
    2306 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    2307   echo $ac_n "(cached) $ac_c" 1>&6
    2308 else
    2309   cat > conftest.$ac_ext <<EOF
    2310 #line 2311 "configure"
     2731#line 2732 "configure"
    23112732#include "confdefs.h"
    23122733#if defined(CRAY) && ! defined(CRAY2)
     
    23312752echo "$ac_t""$ac_cv_os_cray" 1>&6
    23322753if test $ac_cv_os_cray = yes; then
    2333 for ac_func in _getb67 GETB67 getb67; do
    2334   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2335 echo "configure:2336: checking for $ac_func" >&5
     2754  for ac_func in _getb67 GETB67 getb67; do
     2755    echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     2756echo "configure:2757: checking for $ac_func" >&5
    23362757if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    23372758  echo $ac_n "(cached) $ac_c" 1>&6
    23382759else
    23392760  cat > conftest.$ac_ext <<EOF
    2340 #line 2341 "configure"
     2761#line 2762 "configure"
    23412762#include "confdefs.h"
    23422763/* System header to define __stub macros and hopefully few prototypes,
     
    23612782; return 0; }
    23622783EOF
    2363 if { (eval echo configure:2364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2784if { (eval echo configure:2785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23642785  rm -rf conftest*
    23652786  eval "ac_cv_func_$ac_func=yes"
     
    23782799#define CRAY_STACKSEG_END $ac_func
    23792800EOF
    2380 
    23812801  break
    23822802else
     
    23842804fi
    23852805
    2386 done
     2806  done
    23872807fi
    23882808
    23892809echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2390 echo "configure:2391: checking stack direction for C alloca" >&5
     2810echo "configure:2811: checking stack direction for C alloca" >&5
    23912811if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    23922812  echo $ac_n "(cached) $ac_c" 1>&6
     
    23962816else
    23972817  cat > conftest.$ac_ext <<EOF
    2398 #line 2399 "configure"
     2818#line 2819 "configure"
    23992819#include "confdefs.h"
    24002820find_stack_direction ()
     
    24152835}
    24162836EOF
    2417 if { (eval echo configure:2418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2837if { (eval echo configure:2838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    24182838then
    24192839  ac_cv_c_stack_direction=1
     
    24342854EOF
    24352855
    2436 fi
    2437 
    2438     ;;
    2439   esac
    2440 
    2441   echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2442 echo "configure:2443: checking for ANSI C header files" >&5
    2443 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
     2856
     2857  ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
     2858echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
     2859echo "configure:2860: checking for vfork.h" >&5
     2860if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    24442861  echo $ac_n "(cached) $ac_c" 1>&6
    24452862else
    24462863  cat > conftest.$ac_ext <<EOF
    24472864#include <sys/types.h>
    2448 #line 2449 "configure"
    2449 #include "confdefs.h"
    2450 #include <stdlib.h>
    2451 #include <stdarg.h>
    2452 #include <string.h>
    2453 #include <float.h>
     2865#line 2866 "configure"
     2866#include "confdefs.h"
     2867#include <vfork.h>
    24542868EOF
    24552869ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2456 { (eval echo configure:2457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2457 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2458 if test -z "$ac_err"; then
    2459   rm -rf conftest*
    2460   ac_cv_header_stdc=yes
    2461 else
    2462   echo "$ac_err" >&5
    2463   echo "configure: failed program was:" >&5
    2464   cat conftest.$ac_ext >&5
    2465   rm -rf conftest*
    2466   ac_cv_header_stdc=no
    2467 fi
    2468 rm -f conftest*
    2469 
    2470 if test $ac_cv_header_stdc = yes; then
    2471   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    2472 cat > conftest.$ac_ext <<EOF
    2473 #line 2474 "configure"
    2474 #include "confdefs.h"
    2475 #include <string.h>
    2476 EOF
    2477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2478   egrep "memchr" >/dev/null 2>&1; then
    2479   :
    2480 else
    2481   rm -rf conftest*
    2482   ac_cv_header_stdc=no
    2483 fi
    2484 rm -f conftest*
    2485 
    2486 fi
    2487 
    2488 if test $ac_cv_header_stdc = yes; then
    2489   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    2490 cat > conftest.$ac_ext <<EOF
    2491 #line 2492 "configure"
    2492 #include "confdefs.h"
    2493 #include <stdlib.h>
    2494 EOF
    2495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2496   egrep "free" >/dev/null 2>&1; then
    2497   :
    2498 else
    2499   rm -rf conftest*
    2500   ac_cv_header_stdc=no
    2501 fi
    2502 rm -f conftest*
    2503 
    2504 fi
    2505 
    2506 if test $ac_cv_header_stdc = yes; then
    2507   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    2508 if test "$cross_compiling" = yes; then
    2509   :
    2510 else
    2511   cat > conftest.$ac_ext <<EOF
    2512 #line 2513 "configure"
    2513 #include "confdefs.h"
    2514 #include <ctype.h>
    2515 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    2516 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    2517 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    2518 int main () { int i; for (i = 0; i < 256; i++)
    2519 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
    2520 exit (0); }
    2521 
    2522 EOF
    2523 if { (eval echo configure:2524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    2524 then
    2525   :
    2526 else
    2527   echo "configure: failed program was:" >&5
    2528   cat conftest.$ac_ext >&5
    2529   rm -fr conftest*
    2530   ac_cv_header_stdc=no
    2531 fi
    2532 rm -fr conftest*
    2533 fi
    2534 
    2535 fi
    2536 fi
    2537 
    2538 echo "$ac_t""$ac_cv_header_stdc" 1>&6
    2539 if test $ac_cv_header_stdc = yes; then
    2540   cat >> confdefs.h <<\EOF
    2541 #define STDC_HEADERS 1
    2542 EOF
    2543 
    2544 fi
    2545 
    2546 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
    2547 echo "configure:2548: checking for pid_t" >&5
    2548 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
    2549   echo $ac_n "(cached) $ac_c" 1>&6
    2550 else
    2551   cat > conftest.$ac_ext <<EOF
    2552 #line 2553 "configure"
    2553 #include "confdefs.h"
    2554 #include <sys/types.h>
    2555 #if STDC_HEADERS
    2556 #include <stdlib.h>
    2557 #include <stddef.h>
    2558 #endif
    2559 EOF
    2560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2561   egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
    2562   rm -rf conftest*
    2563   ac_cv_type_pid_t=yes
    2564 else
    2565   rm -rf conftest*
    2566   ac_cv_type_pid_t=no
    2567 fi
    2568 rm -f conftest*
    2569 
    2570 fi
    2571 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
    2572 if test $ac_cv_type_pid_t = no; then
    2573   cat >> confdefs.h <<\EOF
    2574 #define pid_t int
    2575 EOF
    2576 
    2577 fi
    2578 
    2579 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
    2580 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
    2581 echo "configure:2582: checking for vfork.h" >&5
    2582 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    2583   echo $ac_n "(cached) $ac_c" 1>&6
    2584 else
    2585   cat > conftest.$ac_ext <<EOF
    2586 #include <sys/types.h>
    2587 #line 2588 "configure"
    2588 #include "confdefs.h"
    2589 #include <vfork.h>
    2590 EOF
    2591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2592 { (eval echo configure:2593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2870{ (eval echo configure:2871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25932871ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25942872if test -z "$ac_err"; then
     
    26152893
    26162894echo $ac_n "checking for working vfork""... $ac_c" 1>&6
    2617 echo "configure:2618: checking for working vfork" >&5
     2895echo "configure:2896: checking for working vfork" >&5
    26182896if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
    26192897  echo $ac_n "(cached) $ac_c" 1>&6
     
    26212899  if test "$cross_compiling" = yes; then
    26222900  echo $ac_n "checking for vfork""... $ac_c" 1>&6
    2623 echo "configure:2624: checking for vfork" >&5
     2901echo "configure:2902: checking for vfork" >&5
    26242902if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
    26252903  echo $ac_n "(cached) $ac_c" 1>&6
    26262904else
    26272905  cat > conftest.$ac_ext <<EOF
    2628 #line 2629 "configure"
     2906#line 2907 "configure"
    26292907#include "confdefs.h"
    26302908/* System header to define __stub macros and hopefully few prototypes,
     
    26492927; return 0; }
    26502928EOF
    2651 if { (eval echo configure:2652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2929if { (eval echo configure:2930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    26522930  rm -rf conftest*
    26532931  eval "ac_cv_func_vfork=yes"
     
    26712949else
    26722950  cat > conftest.$ac_ext <<EOF
    2673 #line 2674 "configure"
     2951#line 2952 "configure"
    26742952#include "confdefs.h"
    26752953/* Thanks to Paul Eggert for this test.  */
     
    27663044}
    27673045EOF
    2768 if { (eval echo configure:2769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3046if { (eval echo configure:3047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    27693047then
    27703048  ac_cv_func_vfork_works=yes
     
    27913069    LIBOBJS="$LIBOBJS vfork.o"
    27923070  fi
    2793   for v in $vars; do
    2794     echo $ac_n "checking for $v""... $ac_c" 1>&6
    2795 echo "configure:2796: checking for $v" >&5
    2796     if eval "test \"`echo '$''{'libiberty_cv_var_$v'+set}'`\" = set"; then
    2797   echo $ac_n "(cached) $ac_c" 1>&6
    2798 else
    2799   cat > conftest.$ac_ext <<EOF
    2800 #line 2801 "configure"
    2801 #include "confdefs.h"
    2802 int *p;
    2803 int main() {
    2804 extern int $v; p = &$v;
    2805 ; return 0; }
    2806 EOF
    2807 if { (eval echo configure:2808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    2808   rm -rf conftest*
    2809   eval "libiberty_cv_var_$v=yes"
    2810 else
    2811   echo "configure: failed program was:" >&5
    2812   cat conftest.$ac_ext >&5
    2813   rm -rf conftest*
    2814   eval "libiberty_cv_var_$v=no"
    2815 fi
    2816 rm -f conftest*
    2817 fi
    2818 
    2819     if eval "test \"`echo '$libiberty_cv_var_'$v`\" = yes"; then
    2820       echo "$ac_t""yes" 1>&6
    2821       n=HAVE_`echo $v | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
    2822       cat >> confdefs.h <<EOF
    2823 #define $n 1
    2824 EOF
    2825 
    2826     else
    2827       echo "$ac_t""no" 1>&6
    2828     fi
    2829   done
    2830   for ac_func in $checkfuncs
     3071  # We only need _doprnt if we might use it to implement v*printf.
     3072  if test $ac_cv_func_vprintf != yes \
     3073     || test $ac_cv_func_vfprintf != yes \
     3074     || test $ac_cv_func_vsprintf != yes; then
     3075    for ac_func in _doprnt
    28313076do
    28323077echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2833 echo "configure:2834: checking for $ac_func" >&5
     3078echo "configure:3079: checking for $ac_func" >&5
    28343079if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    28353080  echo $ac_n "(cached) $ac_c" 1>&6
    28363081else
    28373082  cat > conftest.$ac_ext <<EOF
    2838 #line 2839 "configure"
     3083#line 3084 "configure"
    28393084#include "confdefs.h"
    28403085/* System header to define __stub macros and hopefully few prototypes,
     
    28593104; return 0; }
    28603105EOF
    2861 if { (eval echo configure:2862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3106if { (eval echo configure:3107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28623107  rm -rf conftest*
    28633108  eval "ac_cv_func_$ac_func=yes"
     
    28803125else
    28813126  echo "$ac_t""no" 1>&6
     3127LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"
    28823128fi
    28833129done
    28843130
    2885 fi
    2886 
    2887 for ac_hdr in unistd.h
    2888 do
    2889 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    2890 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2891 echo "configure:2892: checking for $ac_hdr" >&5
    2892 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    2893   echo $ac_n "(cached) $ac_c" 1>&6
    2894 else
    2895   cat > conftest.$ac_ext <<EOF
    2896 #include <sys/types.h>
    2897 #line 2898 "configure"
    2898 #include "confdefs.h"
    2899 #include <$ac_hdr>
    2900 EOF
    2901 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2902 { (eval echo configure:2903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2903 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2904 if test -z "$ac_err"; then
    2905   rm -rf conftest*
    2906   eval "ac_cv_header_$ac_safe=yes"
    2907 else
    2908   echo "$ac_err" >&5
    2909   echo "configure: failed program was:" >&5
    2910   cat conftest.$ac_ext >&5
    2911   rm -rf conftest*
    2912   eval "ac_cv_header_$ac_safe=no"
    2913 fi
    2914 rm -f conftest*
    2915 fi
    2916 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    2917   echo "$ac_t""yes" 1>&6
    2918     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    2919   cat >> confdefs.h <<EOF
    2920 #define $ac_tr_hdr 1
    2921 EOF
    2922  
    2923 else
    2924   echo "$ac_t""no" 1>&6
    2925 fi
    2926 done
    2927 
    2928 for ac_func in getpagesize
     3131
     3132  else
     3133    for ac_func in _doprnt
    29293134do
    29303135echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2931 echo "configure:2932: checking for $ac_func" >&5
     3136echo "configure:3137: checking for $ac_func" >&5
    29323137if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    29333138  echo $ac_n "(cached) $ac_c" 1>&6
    29343139else
    29353140  cat > conftest.$ac_ext <<EOF
    2936 #line 2937 "configure"
     3141#line 3142 "configure"
    29373142#include "confdefs.h"
    29383143/* System header to define __stub macros and hopefully few prototypes,
     
    29573162; return 0; }
    29583163EOF
    2959 if { (eval echo configure:2960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3164if { (eval echo configure:3165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29603165  rm -rf conftest*
    29613166  eval "ac_cv_func_$ac_func=yes"
     
    29813186done
    29823187
     3188  fi
     3189
     3190  for v in $vars; do
     3191    echo $ac_n "checking for $v""... $ac_c" 1>&6
     3192echo "configure:3193: checking for $v" >&5
     3193    if eval "test \"`echo '$''{'libiberty_cv_var_$v'+set}'`\" = set"; then
     3194  echo $ac_n "(cached) $ac_c" 1>&6
     3195else
     3196  cat > conftest.$ac_ext <<EOF
     3197#line 3198 "configure"
     3198#include "confdefs.h"
     3199int *p;
     3200int main() {
     3201extern int $v []; p = $v;
     3202; return 0; }
     3203EOF
     3204if { (eval echo configure:3205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3205  rm -rf conftest*
     3206  eval "libiberty_cv_var_$v=yes"
     3207else
     3208  echo "configure: failed program was:" >&5
     3209  cat conftest.$ac_ext >&5
     3210  rm -rf conftest*
     3211  eval "libiberty_cv_var_$v=no"
     3212fi
     3213rm -f conftest*
     3214fi
     3215
     3216    if eval "test \"`echo '$libiberty_cv_var_'$v`\" = yes"; then
     3217      echo "$ac_t""yes" 1>&6
     3218      n=HAVE_`echo $v | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     3219      cat >> confdefs.h <<EOF
     3220#define $n 1
     3221EOF
     3222
     3223    else
     3224      echo "$ac_t""no" 1>&6
     3225    fi
     3226  done
     3227  for ac_func in $checkfuncs
     3228do
     3229echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     3230echo "configure:3231: checking for $ac_func" >&5
     3231if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
     3232  echo $ac_n "(cached) $ac_c" 1>&6
     3233else
     3234  cat > conftest.$ac_ext <<EOF
     3235#line 3236 "configure"
     3236#include "confdefs.h"
     3237/* System header to define __stub macros and hopefully few prototypes,
     3238    which can conflict with char $ac_func(); below.  */
     3239#include <assert.h>
     3240/* Override any gcc2 internal prototype to avoid an error.  */
     3241/* We use char because int might match the return type of a gcc2
     3242    builtin and then its argument prototype would still apply.  */
     3243char $ac_func();
     3244
     3245int main() {
     3246
     3247/* The GNU C library defines this for functions which it implements
     3248    to always fail with ENOSYS.  Some functions are actually named
     3249    something starting with __ and the normal name is an alias.  */
     3250#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     3251choke me
     3252#else
     3253$ac_func();
     3254#endif
     3255
     3256; return 0; }
     3257EOF
     3258if { (eval echo configure:3259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3259  rm -rf conftest*
     3260  eval "ac_cv_func_$ac_func=yes"
     3261else
     3262  echo "configure: failed program was:" >&5
     3263  cat conftest.$ac_ext >&5
     3264  rm -rf conftest*
     3265  eval "ac_cv_func_$ac_func=no"
     3266fi
     3267rm -f conftest*
     3268fi
     3269
     3270if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
     3271  echo "$ac_t""yes" 1>&6
     3272    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     3273  cat >> confdefs.h <<EOF
     3274#define $ac_tr_func 1
     3275EOF
     3276 
     3277else
     3278  echo "$ac_t""no" 1>&6
     3279fi
     3280done
     3281
     3282  echo $ac_n "checking whether canonicalize_file_name must be declared""... $ac_c" 1>&6
     3283echo "configure:3284: checking whether canonicalize_file_name must be declared" >&5
     3284if eval "test \"`echo '$''{'libiberty_cv_decl_needed_canonicalize_file_name'+set}'`\" = set"; then
     3285  echo $ac_n "(cached) $ac_c" 1>&6
     3286else
     3287  cat > conftest.$ac_ext <<EOF
     3288#line 3289 "configure"
     3289#include "confdefs.h"
     3290
     3291#include "confdefs.h"
     3292#include <stdio.h>
     3293#ifdef HAVE_STRING_H
     3294#include <string.h>
     3295#else
     3296#ifdef HAVE_STRINGS_H
     3297#include <strings.h>
     3298#endif
     3299#endif
     3300#ifdef HAVE_STDLIB_H
     3301#include <stdlib.h>
     3302#endif
     3303#ifdef HAVE_UNISTD_H
     3304#include <unistd.h>
     3305#endif
     3306int main() {
     3307char *(*pfn) = (char *(*)) canonicalize_file_name
     3308; return 0; }
     3309EOF
     3310if { (eval echo configure:3311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3311  rm -rf conftest*
     3312  libiberty_cv_decl_needed_canonicalize_file_name=no
     3313else
     3314  echo "configure: failed program was:" >&5
     3315  cat conftest.$ac_ext >&5
     3316  rm -rf conftest*
     3317  libiberty_cv_decl_needed_canonicalize_file_name=yes
     3318fi
     3319rm -f conftest*
     3320fi
     3321
     3322echo "$ac_t""$libiberty_cv_decl_needed_canonicalize_file_name" 1>&6
     3323if test $libiberty_cv_decl_needed_canonicalize_file_name = yes; then
     3324  cat >> confdefs.h <<\EOF
     3325#define NEED_DECLARATION_CANONICALIZE_FILE_NAME 1
     3326EOF
     3327
     3328fi
     3329
     3330fi
     3331
     3332# Figure out which version of pexecute to use.
     3333case "${host}" in
     3334     *-*-mingw* | *-*-winnt*)   pexecute=pex-win32.o  ;;
     3335     *-*-msdosdjgpp*)           pexecute=pex-djgpp.o  ;;
     3336     *-*-msdos*)                pexecute=pex-msdos.o  ;;
     3337     *-*-os2-emx*)              pexecute=pex-os2.o    ;;
     3338     *)                         pexecute=pex-unix.o   ;;
     3339esac
     3340
     3341
     3342for ac_hdr in unistd.h
     3343do
     3344ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     3345echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     3346echo "configure:3347: checking for $ac_hdr" >&5
     3347if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     3348  echo $ac_n "(cached) $ac_c" 1>&6
     3349else
     3350  cat > conftest.$ac_ext <<EOF
     3351#include <sys/types.h>
     3352#line 3353 "configure"
     3353#include "confdefs.h"
     3354#include <$ac_hdr>
     3355EOF
     3356ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     3357{ (eval echo configure:3358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3358ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     3359if test -z "$ac_err"; then
     3360  rm -rf conftest*
     3361  eval "ac_cv_header_$ac_safe=yes"
     3362else
     3363  echo "$ac_err" >&5
     3364  echo "configure: failed program was:" >&5
     3365  cat conftest.$ac_ext >&5
     3366  rm -rf conftest*
     3367  eval "ac_cv_header_$ac_safe=no"
     3368fi
     3369rm -f conftest*
     3370fi
     3371if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
     3372  echo "$ac_t""yes" 1>&6
     3373    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
     3374  cat >> confdefs.h <<EOF
     3375#define $ac_tr_hdr 1
     3376EOF
     3377 
     3378else
     3379  echo "$ac_t""no" 1>&6
     3380fi
     3381done
     3382
     3383for ac_func in getpagesize
     3384do
     3385echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     3386echo "configure:3387: checking for $ac_func" >&5
     3387if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
     3388  echo $ac_n "(cached) $ac_c" 1>&6
     3389else
     3390  cat > conftest.$ac_ext <<EOF
     3391#line 3392 "configure"
     3392#include "confdefs.h"
     3393/* System header to define __stub macros and hopefully few prototypes,
     3394    which can conflict with char $ac_func(); below.  */
     3395#include <assert.h>
     3396/* Override any gcc2 internal prototype to avoid an error.  */
     3397/* We use char because int might match the return type of a gcc2
     3398    builtin and then its argument prototype would still apply.  */
     3399char $ac_func();
     3400
     3401int main() {
     3402
     3403/* The GNU C library defines this for functions which it implements
     3404    to always fail with ENOSYS.  Some functions are actually named
     3405    something starting with __ and the normal name is an alias.  */
     3406#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     3407choke me
     3408#else
     3409$ac_func();
     3410#endif
     3411
     3412; return 0; }
     3413EOF
     3414if { (eval echo configure:3415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3415  rm -rf conftest*
     3416  eval "ac_cv_func_$ac_func=yes"
     3417else
     3418  echo "configure: failed program was:" >&5
     3419  cat conftest.$ac_ext >&5
     3420  rm -rf conftest*
     3421  eval "ac_cv_func_$ac_func=no"
     3422fi
     3423rm -f conftest*
     3424fi
     3425
     3426if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
     3427  echo "$ac_t""yes" 1>&6
     3428    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     3429  cat >> confdefs.h <<EOF
     3430#define $ac_tr_func 1
     3431EOF
     3432 
     3433else
     3434  echo "$ac_t""no" 1>&6
     3435fi
     3436done
     3437
    29833438echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    2984 echo "configure:2985: checking for working mmap" >&5
     3439echo "configure:3440: checking for working mmap" >&5
    29853440if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    29863441  echo $ac_n "(cached) $ac_c" 1>&6
     
    29903445else
    29913446  cat > conftest.$ac_ext <<EOF
    2992 #line 2993 "configure"
     3447#line 3448 "configure"
    29933448#include "confdefs.h"
    29943449
     
    31303585
    31313586EOF
    3132 if { (eval echo configure:3133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3587if { (eval echo configure:3588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31333588then
    31343589  ac_cv_func_mmap_fixed_mapped=yes
     
    31543609
    31553610echo $ac_n "checking for working strncmp""... $ac_c" 1>&6
    3156 echo "configure:3157: checking for working strncmp" >&5
     3611echo "configure:3612: checking for working strncmp" >&5
    31573612if eval "test \"`echo '$''{'ac_cv_func_strncmp_works'+set}'`\" = set"; then
    31583613  echo $ac_n "(cached) $ac_c" 1>&6
     
    31623617else
    31633618  cat > conftest.$ac_ext <<EOF
    3164 #line 3165 "configure"
     3619#line 3620 "configure"
    31653620#include "confdefs.h"
    31663621
     
    32073662                     MAP_ANON|MAP_PRIVATE, dev_zero, 0);
    32083663  if (p == (char *)-1)
     3664    p = (char *) mmap (0, MAP_LEN, PROT_READ|PROT_WRITE,
     3665                       MAP_ANON|MAP_PRIVATE, -1, 0);
     3666  if (p == (char *)-1)
    32093667    exit (2);
    32103668  else
     
    32233681
    32243682EOF
    3225 if { (eval echo configure:3226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3683if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32263684then
    32273685  ac_cv_func_strncmp_works=yes
     
    33943852s%@PATH_IFS@%$PATH_IFS%g
    33953853s%@EXEEXT@%$EXEEXT%g
     3854s%@libiberty_topdir@%$libiberty_topdir%g
     3855s%@MAINT@%$MAINT%g
     3856s%@NOTMAINT@%$NOTMAINT%g
     3857s%@MAKEINFO@%$MAKEINFO%g
     3858s%@BUILD_INFO@%$BUILD_INFO%g
     3859s%@PERL@%$PERL%g
     3860s%@HAVE_PERL@%$HAVE_PERL%g
    33963861s%@host@%$host%g
    33973862s%@host_alias@%$host_alias%g
     
    34083873s%@CC@%$CC%g
    34093874s%@ac_libiberty_warn_cflags@%$ac_libiberty_warn_cflags%g
     3875s%@NO_MINUS_C_MINUS_O@%$NO_MINUS_C_MINUS_O%g
     3876s%@OUTPUT_OPTION@%$OUTPUT_OPTION%g
    34103877s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
    34113878s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
     
    34153882s%@CPP@%$CPP%g
    34163883s%@CHECK@%$CHECK%g
     3884s%@target_header_dir@%$target_header_dir%g
    34173885s%@LIBOBJS@%$LIBOBJS%g
    3418 s%@ALLOCA@%$ALLOCA%g
     3886s%@pexecute@%$pexecute%g
    34193887s%@INSTALL_DEST@%$INSTALL_DEST%g
    34203888
     
    36344102target=${target}
    36354103with_target_subdir=${with_target_subdir}
     4104with_build_subdir=${with_build_subdir}
    36364105with_multisubdir=${with_multisubdir}
    36374106ac_configure_args="--enable-multilib ${ac_configure_args}"
    36384107CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
     4108ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
    36394109libiberty_topdir=${libiberty_topdir}
    36404110
     
    36434113test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
    36444114if test -n "$CONFIG_FILES"; then
    3645   if test -n "${with_target_subdir}"; then
     4115  if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
    36464116    # FIXME: We shouldn't need to set ac_file
    36474117    ac_file=Makefile
     4118    LD="${ORIGINAL_LD_FOR_MULTILIBS}"
    36484119    . ${libiberty_topdir}/config-ml.in
    36494120  fi
  • trunk/src/binutils/opcodes/configure

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r618 r619  
    3333  --enable-maintainer-mode enable make rules and dependencies not useful
    3434                          (and sometimes confusing) to the casual installer"
     35ac_help="$ac_help
     36  --enable-install-libbfd controls installation of libbfd and related headers"
    3537ac_help="$ac_help
    3638  --disable-nls           do not use Native Language Support"
     
    549551
    550552echo $ac_n "checking for path separator""... $ac_c" 1>&6
    551 echo "configure:552: checking for path separator" >&5
     553echo "configure:554: checking for path separator" >&5
    552554# Filter path to get backslahes into forwardslashes
    553555case "`uname -s 2> /dev/null`" in
     
    563565
    564566echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    565 echo "configure:566: checking for Cygwin environment" >&5
     567echo "configure:568: checking for Cygwin environment" >&5
    566568if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    567569  echo $ac_n "(cached) $ac_c" 1>&6
    568570else
    569571  cat > conftest.$ac_ext <<EOF
    570 #line 571 "configure"
     572#line 573 "configure"
    571573#include "confdefs.h"
    572574
     
    579581; return 0; }
    580582EOF
    581 if { (eval echo configure:582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     583if { (eval echo configure:584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    582584  rm -rf conftest*
    583585  ac_cv_cygwin=yes
     
    596598test "$ac_cv_cygwin" = yes && CYGWIN=yes
    597599echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    598 echo "configure:599: checking for mingw32 environment" >&5
     600echo "configure:601: checking for mingw32 environment" >&5
    599601if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    600602  echo $ac_n "(cached) $ac_c" 1>&6
    601603else
    602604  cat > conftest.$ac_ext <<EOF
    603 #line 604 "configure"
     605#line 606 "configure"
    604606#include "confdefs.h"
    605607
     
    608610; return 0; }
    609611EOF
    610 if { (eval echo configure:611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     612if { (eval echo configure:613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    611613  rm -rf conftest*
    612614  ac_cv_mingw32=yes
     
    625627test "$ac_cv_mingw32" = yes && MINGW32=yes
    626628echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6
    627 echo "configure:628: checking for EMX/OS2 environment" >&5
     629echo "configure:630: checking for EMX/OS2 environment" >&5
    628630if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then
    629631  echo $ac_n "(cached) $ac_c" 1>&6
     
    631633  : ${CC=gcc.exe}
    632634cat > conftest.$ac_ext <<EOF
    633 #line 634 "configure"
     635#line 636 "configure"
    634636#include "confdefs.h"
    635637
     
    638640; return 0; }
    639641EOF
    640 if { (eval echo configure:641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     642if { (eval echo configure:643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    641643  rm -rf conftest*
    642644  ac_cv_emxos2=yes
     
    669671
    670672echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    671 echo "configure:672: checking for executable suffix" >&5
     673echo "configure:674: checking for executable suffix" >&5
    672674if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    673675  echo $ac_n "(cached) $ac_c" 1>&6
     
    679681  echo 'int main () { return 0; }' > conftest.$ac_ext
    680682  ac_cv_exeext=
    681   if { (eval echo configure:682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     683  if { (eval echo configure:684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    682684    for file in conftest.*; do
    683685      case $file in
     
    748750
    749751echo $ac_n "checking host system type""... $ac_c" 1>&6
    750 echo "configure:751: checking host system type" >&5
     752echo "configure:753: checking host system type" >&5
    751753
    752754host_alias=$host
     
    769771
    770772echo $ac_n "checking target system type""... $ac_c" 1>&6
    771 echo "configure:772: checking target system type" >&5
     773echo "configure:774: checking target system type" >&5
    772774
    773775target_alias=$target
     
    787789
    788790echo $ac_n "checking build system type""... $ac_c" 1>&6
    789 echo "configure:790: checking build system type" >&5
     791echo "configure:792: checking build system type" >&5
    790792
    791793build_alias=$build
     
    812814set dummy gcc; ac_word=$2
    813815echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    814 echo "configure:815: checking for $ac_word" >&5
     816echo "configure:817: checking for $ac_word" >&5
    815817if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    816818  echo $ac_n "(cached) $ac_c" 1>&6
     
    843845set dummy cc; ac_word=$2
    844846echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    845 echo "configure:846: checking for $ac_word" >&5
     847echo "configure:848: checking for $ac_word" >&5
    846848if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    847849  echo $ac_n "(cached) $ac_c" 1>&6
     
    896898set dummy cl; ac_word=$2
    897899echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    898 echo "configure:899: checking for $ac_word" >&5
     900echo "configure:901: checking for $ac_word" >&5
    899901if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    900902  echo $ac_n "(cached) $ac_c" 1>&6
     
    929931
    930932echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    931 echo "configure:932: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     933echo "configure:934: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    932934
    933935ac_ext=c
     
    940942cat > conftest.$ac_ext << EOF
    941943
    942 #line 943 "configure"
     944#line 945 "configure"
    943945#include "confdefs.h"
    944946
    945947main(){return(0);}
    946948EOF
    947 if { (eval echo configure:948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     949if { (eval echo configure:950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    948950  ac_cv_prog_cc_works=yes
    949951  # If we can't run a trivial program, we are probably using a cross compiler.
     
    971973fi
    972974echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    973 echo "configure:974: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     975echo "configure:976: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    974976echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    975977cross_compiling=$ac_cv_prog_cc_cross
    976978
    977979echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    978 echo "configure:979: checking whether we are using GNU C" >&5
     980echo "configure:981: checking whether we are using GNU C" >&5
    979981if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    980982  echo $ac_n "(cached) $ac_c" 1>&6
     
    985987#endif
    986988EOF
    987 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     989if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    988990  ac_cv_prog_gcc=yes
    989991else
     
    10041006CFLAGS=
    10051007echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1006 echo "configure:1007: checking whether ${CC-cc} accepts -g" >&5
     1008echo "configure:1009: checking whether ${CC-cc} accepts -g" >&5
    10071009if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    10081010  echo $ac_n "(cached) $ac_c" 1>&6
     
    10361038
    10371039echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
    1038 echo "configure:1039: checking for POSIXized ISC" >&5
     1040echo "configure:1041: checking for POSIXized ISC" >&5
    10391041if test -d /etc/conf/kconfig.d &&
    10401042  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
     
    10741076# ./install, which can be erroneously created by make from ./install.sh.
    10751077echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1076 echo "configure:1077: checking for a BSD compatible install" >&5
     1078echo "configure:1079: checking for a BSD compatible install" >&5
    10771079if test -z "$INSTALL"; then
    10781080if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    11291131
    11301132echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    1131 echo "configure:1132: checking whether build environment is sane" >&5
     1133echo "configure:1134: checking whether build environment is sane" >&5
    11321134# Just in case
    11331135sleep 1
     
    11861188
    11871189echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1188 echo "configure:1189: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1190echo "configure:1191: checking whether ${MAKE-make} sets \${MAKE}" >&5
    11891191set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    11901192if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    12321234missing_dir=`cd $ac_aux_dir && pwd`
    12331235echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    1234 echo "configure:1235: checking for working aclocal" >&5
     1236echo "configure:1237: checking for working aclocal" >&5
    12351237# Run test in a subshell; some versions of sh will print an error if
    12361238# an executable is not found, even if stderr is redirected.
     
    12451247
    12461248echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    1247 echo "configure:1248: checking for working autoconf" >&5
     1249echo "configure:1250: checking for working autoconf" >&5
    12481250# Run test in a subshell; some versions of sh will print an error if
    12491251# an executable is not found, even if stderr is redirected.
     
    12581260
    12591261echo $ac_n "checking for working automake""... $ac_c" 1>&6
    1260 echo "configure:1261: checking for working automake" >&5
     1262echo "configure:1263: checking for working automake" >&5
    12611263# Run test in a subshell; some versions of sh will print an error if
    12621264# an executable is not found, even if stderr is redirected.
     
    12711273
    12721274echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    1273 echo "configure:1274: checking for working autoheader" >&5
     1275echo "configure:1276: checking for working autoheader" >&5
    12741276# Run test in a subshell; some versions of sh will print an error if
    12751277# an executable is not found, even if stderr is redirected.
     
    12841286
    12851287echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    1286 echo "configure:1287: checking for working makeinfo" >&5
     1288echo "configure:1289: checking for working makeinfo" >&5
    12871289# Run test in a subshell; some versions of sh will print an error if
    12881290# an executable is not found, even if stderr is redirected.
     
    13071309set dummy ${ac_tool_prefix}ar; ac_word=$2
    13081310echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1309 echo "configure:1310: checking for $ac_word" >&5
     1311echo "configure:1312: checking for $ac_word" >&5
    13101312if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    13111313  echo $ac_n "(cached) $ac_c" 1>&6
     
    13401342set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    13411343echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1342 echo "configure:1343: checking for $ac_word" >&5
     1344echo "configure:1345: checking for $ac_word" >&5
    13431345if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    13441346  echo $ac_n "(cached) $ac_c" 1>&6
     
    13731375set dummy ranlib; ac_word=$2
    13741376echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1375 echo "configure:1376: checking for $ac_word" >&5
     1377echo "configure:1378: checking for $ac_word" >&5
    13761378if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    13771379  echo $ac_n "(cached) $ac_c" 1>&6
     
    14111413  enableval="$enable_shared"
    14121414  p=${PACKAGE-default}
    1413 case "$enableval" in
     1415case $enableval in
    14141416yes) enable_shared=yes ;;
    14151417no) enable_shared=no ;;
     
    14351437  enableval="$enable_static"
    14361438  p=${PACKAGE-default}
    1437 case "$enableval" in
     1439case $enableval in
    14381440yes) enable_static=yes ;;
    14391441no) enable_static=no ;;
     
    14581460  enableval="$enable_fast_install"
    14591461  p=${PACKAGE-default}
    1460 case "$enableval" in
     1462case $enableval in
    14611463yes) enable_fast_install=yes ;;
    14621464no) enable_fast_install=no ;;
     
    14861488
    14871489ac_prog=ld
    1488 if test "$ac_cv_prog_gcc" = yes; then
     1490if test "$GCC" = yes; then
    14891491  # Check if gcc -print-prog-name=ld gives a path.
    14901492  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
    1491 echo "configure:1492: checking for ld used by GCC" >&5
     1493echo "configure:1494: checking for ld used by GCC" >&5
    14921494  case $host in
    14931495  *-*-mingw*)
     
    14971499    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    14981500  esac
    1499   case "$ac_prog" in
     1501  case $ac_prog in
    15001502    # Accept absolute paths.
    15011503    [\\/]* | [A-Za-z]:[\\/]*)
     
    15191521elif test "$with_gnu_ld" = yes; then
    15201522  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
    1521 echo "configure:1522: checking for GNU ld" >&5
     1523echo "configure:1524: checking for GNU ld" >&5
    15221524else
    15231525  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
    1524 echo "configure:1525: checking for non-GNU ld" >&5
    1525 fi
    1526 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
     1526echo "configure:1527: checking for non-GNU ld" >&5
     1527fi
     1528if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
    15271529  echo $ac_n "(cached) $ac_c" 1>&6
    15281530else
     
    15321534    test -z "$ac_dir" && ac_dir=.
    15331535    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    1534       ac_cv_path_LD="$ac_dir/$ac_prog"
     1536      lt_cv_path_LD="$ac_dir/$ac_prog"
    15351537      # Check to see if the program is GNU ld.  I'd rather use --version,
    15361538      # but apparently some GNU ld's only accept -v.
    15371539      # Break only if it was the GNU/non-GNU ld that we prefer.
    1538       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
     1540      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
    15391541        test "$with_gnu_ld" != no && break
    15401542      else
     
    15451547  IFS="$ac_save_ifs"
    15461548else
    1547   ac_cv_path_LD="$LD" # Let the user override the test with a path.
    1548 fi
    1549 fi
    1550 
    1551 LD="$ac_cv_path_LD"
     1549  lt_cv_path_LD="$LD" # Let the user override the test with a path.
     1550fi
     1551fi
     1552
     1553LD="$lt_cv_path_LD"
    15521554if test -n "$LD"; then
    15531555  echo "$ac_t""$LD" 1>&6
     
    15571559test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
    15581560echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
    1559 echo "configure:1560: checking if the linker ($LD) is GNU ld" >&5
    1560 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
     1561echo "configure:1562: checking if the linker ($LD) is GNU ld" >&5
     1562if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
    15611563  echo $ac_n "(cached) $ac_c" 1>&6
    15621564else
    15631565  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    15641566if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
    1565   ac_cv_prog_gnu_ld=yes
    1566 else
    1567   ac_cv_prog_gnu_ld=no
    1568 fi
    1569 fi
    1570 
    1571 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
    1572 with_gnu_ld=$ac_cv_prog_gnu_ld
     1567  lt_cv_prog_gnu_ld=yes
     1568else
     1569  lt_cv_prog_gnu_ld=no
     1570fi
     1571fi
     1572
     1573echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
     1574with_gnu_ld=$lt_cv_prog_gnu_ld
    15731575
    15741576
    15751577echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
    1576 echo "configure:1577: checking for $LD option to reload object files" >&5
     1578echo "configure:1579: checking for $LD option to reload object files" >&5
    15771579if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
    15781580  echo $ac_n "(cached) $ac_c" 1>&6
     
    15861588
    15871589echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
    1588 echo "configure:1589: checking for BSD-compatible nm" >&5
    1589 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
     1590echo "configure:1591: checking for BSD-compatible nm" >&5
     1591if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
    15901592  echo $ac_n "(cached) $ac_c" 1>&6
    15911593else
    15921594  if test -n "$NM"; then
    15931595  # Let the user override the test.
    1594   ac_cv_path_NM="$NM"
     1596  lt_cv_path_NM="$NM"
    15951597else
    15961598  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
     
    16041606      # Tru64's nm complains that /dev/null is an invalid object file
    16051607      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
    1606         ac_cv_path_NM="$tmp_nm -B"
     1608        lt_cv_path_NM="$tmp_nm -B"
    16071609        break
    16081610      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
    1609         ac_cv_path_NM="$tmp_nm -p"
     1611        lt_cv_path_NM="$tmp_nm -p"
    16101612        break
    16111613      else
    1612         ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
     1614        lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    16131615        continue # so that we can try to find one that supports BSD flags
    16141616      fi
     
    16161618  done
    16171619  IFS="$ac_save_ifs"
    1618   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
    1619 fi
    1620 fi
    1621 
    1622 NM="$ac_cv_path_NM"
     1620  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
     1621fi
     1622fi
     1623
     1624NM="$lt_cv_path_NM"
    16231625echo "$ac_t""$NM" 1>&6
    16241626
    16251627echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1626 echo "configure:1627: checking whether ln -s works" >&5
     1628echo "configure:1629: checking whether ln -s works" >&5
    16271629if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    16281630  echo $ac_n "(cached) $ac_c" 1>&6
     
    16511653
    16521654echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
    1653 echo "configure:1654: checking how to recognise dependant libraries" >&5
     1655echo "configure:1656: checking how to recognise dependant libraries" >&5
    16541656if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
    16551657  echo $ac_n "(cached) $ac_c" 1>&6
     
    16691671# whether `pass_all' will *always* work, you probably want this one.
    16701672
    1671 case "$host_os" in
    1672 aix4*)
     1673case $host_os in
     1674aix*)
    16731675  lt_cv_deplibs_check_method=pass_all
    16741676  ;;
     
    16791681
    16801682bsdi4*)
    1681     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
    1682     lt_cv_file_magic_cmd='/usr/bin/file -L'
     1683  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
     1684  lt_cv_file_magic_cmd='/usr/bin/file -L'
    16831685  lt_cv_file_magic_test_file=/shlib/libc.so
    16841686  ;;
     
    16891691  ;;
    16901692
     1693darwin* | rhapsody*)
     1694  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
     1695  lt_cv_file_magic_cmd='/usr/bin/file -L'
     1696  case "$host_os" in
     1697  rhapsody* | darwin1.012)
     1698    lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
     1699    ;;
     1700  *) # Darwin 1.3 on
     1701    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
     1702    ;;
     1703  esac
     1704  ;;
     1705
    16911706freebsd* )
    16921707  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    1693     case "$host_cpu" in
     1708    case $host_cpu in
    16941709    i*86 )
    16951710      # Not sure whether the presence of OpenBSD here was a mistake.
    16961711      # Let's accept both of them until this is cleared up.
    1697             lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
    1698             lt_cv_file_magic_cmd=/usr/bin/file
     1712      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
     1713      lt_cv_file_magic_cmd=/usr/bin/file
    16991714      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
    17001715      ;;
     
    17091724  ;;
    17101725
    1711 hpux10.20*)
    1712   # TODO:  Does this work for hpux-11 too?
    1713   lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
    1714   lt_cv_file_magic_cmd=/usr/bin/file
    1715   lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1726hpux10.20*|hpux11*)
     1727  case $host_cpu in
     1728  hppa*)
     1729    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
     1730    lt_cv_file_magic_cmd=/usr/bin/file
     1731    lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1732    ;;
     1733  ia64*)
     1734    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     1735    lt_cv_file_magic_cmd=/usr/bin/file
     1736    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     1737    ;;
     1738  esac
    17161739  ;;
    17171740
    17181741irix5* | irix6*)
    1719   case "$host_os" in
     1742  case $host_os in
    17201743  irix5*)
    17211744    # this will be overridden with pass_all, but let us keep it just in case
     
    17231746    ;;
    17241747  *)
    1725     case "$LD" in
     1748    case $LD in
    17261749    *-32|*"-32 ") libmagic=32-bit;;
    17271750    *-n32|*"-n32 ") libmagic=N32;;
     
    17301753    esac
    17311754    # this will be overridden with pass_all, but let us keep it just in case
    1732         lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
    1733         ;;
     1755    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
     1756    ;;
    17341757  esac
    17351758  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
     
    17391762# This must be Linux ELF.
    17401763linux-gnu*)
    1741   case "$host_cpu" in
    1742   alpha* | i*86 | powerpc* | sparc* | ia64* )
     1764  case $host_cpu in
     1765  alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    17431766    lt_cv_deplibs_check_method=pass_all ;;
    17441767  *)
    17451768    # glibc up to 2.1.1 does not perform some relocations on ARM
    1746         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
    1747       esac
     1769    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
     1770  esac
    17481771  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    17491772  ;;
    17501773
    17511774netbsd*)
    1752   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
     1775  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     1776    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
    17531777  else
    1754         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
    1755         lt_cv_file_magic_cmd='/usr/bin/file -L'
    1756     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1778    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
    17571779  fi
    17581780  ;;
     
    17601782os2*)
    17611783  lt_cv_deplibs_check_method=pass_all
     1784  ;;
     1785
     1786newsos6)
     1787  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
     1788  lt_cv_file_magic_cmd=/usr/bin/file
     1789  lt_cv_file_magic_test_file=/usr/lib/libnls.so
    17621790  ;;
    17631791
     
    17781806  ;;
    17791807
     1808sysv5uw[78]* | sysv4*uw2*)
     1809  lt_cv_deplibs_check_method=pass_all
     1810  ;;
     1811
    17801812sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    1781   case "$host_vendor" in
     1813  case $host_vendor in
    17821814  ncr)
    17831815    lt_cv_deplibs_check_method=pass_all
    17841816    ;;
    17851817  motorola)
    1786         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]'
    1787         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1818    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]'
     1819    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
    17881820    ;;
    17891821  esac
     
    17981830
    17991831echo $ac_n "checking for object suffix""... $ac_c" 1>&6
    1800 echo "configure:1801: checking for object suffix" >&5
     1832echo "configure:1833: checking for object suffix" >&5
    18011833if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
    18021834  echo $ac_n "(cached) $ac_c" 1>&6
     
    18041836  rm -f conftest*
    18051837echo 'int i = 1;' > conftest.$ac_ext
    1806 if { (eval echo configure:1807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1838if { (eval echo configure:1839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    18071839  for ac_file in conftest.*; do
    18081840    case $ac_file in
     
    18241856
    18251857# Only perform the check for file, if the check method requires it
    1826 case "$deplibs_check_method" in
     1858case $deplibs_check_method in
    18271859file_magic*)
    18281860  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    18291861    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
    1830 echo "configure:1831: checking for ${ac_tool_prefix}file" >&5
     1862echo "configure:1863: checking for ${ac_tool_prefix}file" >&5
    18311863if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    18321864  echo $ac_n "(cached) $ac_c" 1>&6
    18331865else
    1834   case "$MAGIC_CMD" in
     1866  case $MAGIC_CMD in
    18351867  /*)
    18361868  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    18481880      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
    18491881      if test -n "$file_magic_test_file"; then
    1850         case "$deplibs_check_method" in
     1882        case $deplibs_check_method in
    18511883        "file_magic "*)
    18521884          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    18901922  if test -n "$ac_tool_prefix"; then
    18911923    echo $ac_n "checking for file""... $ac_c" 1>&6
    1892 echo "configure:1893: checking for file" >&5
     1924echo "configure:1925: checking for file" >&5
    18931925if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    18941926  echo $ac_n "(cached) $ac_c" 1>&6
    18951927else
    1896   case "$MAGIC_CMD" in
     1928  case $MAGIC_CMD in
    18971929  /*)
    18981930  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    19101942      lt_cv_path_MAGIC_CMD="$ac_dir/file"
    19111943      if test -n "$file_magic_test_file"; then
    1912         case "$deplibs_check_method" in
     1944        case $deplibs_check_method in
    19131945        "file_magic "*)
    19141946          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    19611993set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    19621994echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1963 echo "configure:1964: checking for $ac_word" >&5
     1995echo "configure:1996: checking for $ac_word" >&5
    19641996if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    19651997  echo $ac_n "(cached) $ac_c" 1>&6
     
    19942026set dummy ranlib; ac_word=$2
    19952027echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1996 echo "configure:1997: checking for $ac_word" >&5
     2028echo "configure:2029: checking for $ac_word" >&5
    19972029if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    19982030  echo $ac_n "(cached) $ac_c" 1>&6
     
    20302062set dummy ${ac_tool_prefix}strip; ac_word=$2
    20312063echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2032 echo "configure:2033: checking for $ac_word" >&5
     2064echo "configure:2065: checking for $ac_word" >&5
    20332065if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    20342066  echo $ac_n "(cached) $ac_c" 1>&6
     
    20632095set dummy strip; ac_word=$2
    20642096echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2065 echo "configure:2066: checking for $ac_word" >&5
     2097echo "configure:2098: checking for $ac_word" >&5
    20662098if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    20672099  echo $ac_n "(cached) $ac_c" 1>&6
     
    21022134test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
    21032135test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
    2104 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
    2105 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
     2136test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
     2137test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
    21062138
    21072139
     
    21282160# Some flags need to be propagated to the compiler or linker for good
    21292161# libtool support.
    2130 case "$host" in
     2162case $host in
    21312163*-*-irix6*)
    21322164  # Find out which ABI we are using.
    2133   echo '#line 2134 "configure"' > conftest.$ac_ext
    2134   if { (eval echo configure:2135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    2135     case "`/usr/bin/file conftest.o`" in
     2165  echo '#line 2166 "configure"' > conftest.$ac_ext
     2166  if { (eval echo configure:2167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2167   if test "$lt_cv_prog_gnu_ld" = yes; then
     2168    case `/usr/bin/file conftest.$ac_objext` in
     2169    *32-bit*)
     2170      LD="${LD-ld} -melf32bsmip"
     2171      ;;
     2172    *N32*)
     2173      LD="${LD-ld} -melf32bmipn32"
     2174      ;;
     2175    *64-bit*)
     2176      LD="${LD-ld} -melf64bmip"
     2177      ;;
     2178    esac
     2179   else
     2180    case `/usr/bin/file conftest.$ac_objext` in
    21362181    *32-bit*)
    21372182      LD="${LD-ld} -32"
     
    21442189      ;;
    21452190    esac
     2191   fi
     2192  fi
     2193  rm -rf conftest*
     2194  ;;
     2195
     2196ia64-*-hpux*)
     2197  # Find out which ABI we are using.
     2198  echo 'int i;' > conftest.$ac_ext
     2199  if { (eval echo configure:2200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2200    case "`/usr/bin/file conftest.o`" in
     2201    *ELF-32*)
     2202      HPUX_IA64_MODE="32"
     2203      ;;
     2204    *ELF-64*)
     2205      HPUX_IA64_MODE="64"
     2206      ;;
     2207    esac
    21462208  fi
    21472209  rm -rf conftest*
     
    21532215  CFLAGS="$CFLAGS -belf"
    21542216  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    2155 echo "configure:2156: checking whether the C compiler needs -belf" >&5
     2217echo "configure:2218: checking whether the C compiler needs -belf" >&5
    21562218if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    21572219  echo $ac_n "(cached) $ac_c" 1>&6
     
    21662228
    21672229     cat > conftest.$ac_ext <<EOF
    2168 #line 2169 "configure"
     2230#line 2231 "configure"
    21692231#include "confdefs.h"
    21702232
     
    21732235; return 0; }
    21742236EOF
    2175 if { (eval echo configure:2176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2237if { (eval echo configure:2238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21762238  rm -rf conftest*
    21772239  lt_cv_cc_needs_belf=yes
     
    22832345exec 5>>./config.log
    22842346
    2285 
    22862347 
    22872348
     
    23102371fi
    23112372
    2312 build_warnings="-W -Wall"
     2373build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
    23132374# Check whether --enable-build-warnings or --disable-build-warnings was given.
    23142375if test "${enable_build_warnings+set}" = set; then
     
    23402401    { echo "configure: error: Unrecognized target system type; please check config.sub." 1>&2; exit 1; }
    23412402fi
    2342 if test "$program_transform_name" = s,x,x,; then
    2343   program_transform_name=
    2344 else
    2345   # Double any \ or $.  echo might interpret backslashes.
    2346   cat <<\EOF_SED > conftestsed
    2347 s,\\,\\\\,g; s,\$,$$,g
    2348 EOF_SED
    2349   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
    2350   rm -f conftestsed
    2351 fi
    2352 test "$program_prefix" != NONE &&
    2353   program_transform_name="s,^,${program_prefix},; $program_transform_name"
    2354 # Use a double $ so make ignores it.
    2355 test "$program_suffix" != NONE &&
    2356   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
    2357 
    2358 # sed with no file args requires a program.
    2359 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
    2360 
    23612403
    23622404echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    2363 echo "configure:2364: checking whether to enable maintainer-specific portions of Makefiles" >&5
     2405echo "configure:2406: checking whether to enable maintainer-specific portions of Makefiles" >&5
    23642406    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    23652407if test "${enable_maintainer_mode+set}" = set; then
     
    23832425 
    23842426
     2427echo $ac_n "checking whether to install libbfd""... $ac_c" 1>&6
     2428echo "configure:2429: checking whether to install libbfd" >&5
     2429  # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
     2430if test "${enable_install_libbfd+set}" = set; then
     2431  enableval="$enable_install_libbfd"
     2432  install_libbfd_p=$enableval
     2433else
     2434  if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
     2435        install_libbfd_p=yes
     2436      else
     2437        install_libbfd_p=no
     2438      fi
     2439fi
     2440
     2441  echo "$ac_t""$install_libbfd_p" 1>&6
     2442 
     2443
     2444if test $install_libbfd_p = yes; then
     2445  INSTALL_LIBBFD_TRUE=
     2446  INSTALL_LIBBFD_FALSE='#'
     2447else
     2448  INSTALL_LIBBFD_TRUE='#'
     2449  INSTALL_LIBBFD_FALSE=
     2450fi
     2451  # libbfd.a is a host library containing target dependent code
     2452  bfdlibdir='$(libdir)'
     2453  bfdincludedir='$(includedir)'
     2454  if test "${host}" != "${target}"; then
     2455    bfdlibdir='$(exec_prefix)/$(host_alias)/$(target_alias)/lib'
     2456    bfdincludedir='$(exec_prefix)/$(host_alias)/$(target_alias)/include'
     2457  fi
     2458 
     2459 
     2460
     2461
    23852462
    23862463
    23872464
    23882465echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    2389 echo "configure:2390: checking for executable suffix" >&5
     2466echo "configure:2467: checking for executable suffix" >&5
    23902467if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    23912468  echo $ac_n "(cached) $ac_c" 1>&6
     
    23972474  echo 'int main () { return 0; }' > conftest.$ac_ext
    23982475  ac_cv_exeext=
    2399   if { (eval echo configure:2400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2476  if { (eval echo configure:2477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    24002477    for file in conftest.*; do
    24012478      case $file in
     
    24232500set dummy gcc; ac_word=$2
    24242501echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2425 echo "configure:2426: checking for $ac_word" >&5
     2502echo "configure:2503: checking for $ac_word" >&5
    24262503if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    24272504  echo $ac_n "(cached) $ac_c" 1>&6
     
    24542531set dummy cc; ac_word=$2
    24552532echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2456 echo "configure:2457: checking for $ac_word" >&5
     2533echo "configure:2534: checking for $ac_word" >&5
    24572534if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    24582535  echo $ac_n "(cached) $ac_c" 1>&6
     
    25072584set dummy cl; ac_word=$2
    25082585echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2509 echo "configure:2510: checking for $ac_word" >&5
     2586echo "configure:2587: checking for $ac_word" >&5
    25102587if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    25112588  echo $ac_n "(cached) $ac_c" 1>&6
     
    25402617
    25412618echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2542 echo "configure:2543: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2619echo "configure:2620: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    25432620
    25442621ac_ext=c
     
    25512628cat > conftest.$ac_ext << EOF
    25522629
    2553 #line 2554 "configure"
     2630#line 2631 "configure"
    25542631#include "confdefs.h"
    25552632
    25562633main(){return(0);}
    25572634EOF
    2558 if { (eval echo configure:2559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2635if { (eval echo configure:2636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    25592636  ac_cv_prog_cc_works=yes
    25602637  # If we can't run a trivial program, we are probably using a cross compiler.
     
    25822659fi
    25832660echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2584 echo "configure:2585: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2661echo "configure:2662: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    25852662echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    25862663cross_compiling=$ac_cv_prog_cc_cross
    25872664
    25882665echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2589 echo "configure:2590: checking whether we are using GNU C" >&5
     2666echo "configure:2667: checking whether we are using GNU C" >&5
    25902667if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    25912668  echo $ac_n "(cached) $ac_c" 1>&6
     
    25962673#endif
    25972674EOF
    2598 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2675if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    25992676  ac_cv_prog_gcc=yes
    26002677else
     
    26152692CFLAGS=
    26162693echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2617 echo "configure:2618: checking whether ${CC-cc} accepts -g" >&5
     2694echo "configure:2695: checking whether ${CC-cc} accepts -g" >&5
    26182695if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    26192696  echo $ac_n "(cached) $ac_c" 1>&6
     
    26472724
    26482725
    2649 ALL_LINGUAS=
     2726ALL_LINGUAS="fr sv tr es da de id pt_BR ro"
    26502727echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    2651 echo "configure:2652: checking how to run the C preprocessor" >&5
     2728echo "configure:2729: checking how to run the C preprocessor" >&5
    26522729# On Suns, sometimes $CPP names a directory.
    26532730if test -n "$CPP" && test -d "$CPP"; then
     
    26652742  cat > conftest.$ac_ext <<EOF
    26662743#include <sys/types.h>
    2667 #line 2668 "configure"
     2744#line 2745 "configure"
    26682745#include "confdefs.h"
    26692746#include <assert.h>
     
    26712748EOF
    26722749ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2673 { (eval echo configure:2674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2750{ (eval echo configure:2751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26742751ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    26752752if test -z "$ac_err"; then
     
    26832760  cat > conftest.$ac_ext <<EOF
    26842761#include <sys/types.h>
    2685 #line 2686 "configure"
     2762#line 2763 "configure"
    26862763#include "confdefs.h"
    26872764#include <assert.h>
     
    26892766EOF
    26902767ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2691 { (eval echo configure:2692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2768{ (eval echo configure:2769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26922769ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    26932770if test -z "$ac_err"; then
     
    27012778  cat > conftest.$ac_ext <<EOF
    27022779#include <sys/types.h>
    2703 #line 2704 "configure"
     2780#line 2781 "configure"
    27042781#include "confdefs.h"
    27052782#include <assert.h>
     
    27072784EOF
    27082785ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2709 { (eval echo configure:2710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2786{ (eval echo configure:2787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    27102787ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    27112788if test -z "$ac_err"; then
     
    27342811set dummy ranlib; ac_word=$2
    27352812echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2736 echo "configure:2737: checking for $ac_word" >&5
     2813echo "configure:2814: checking for $ac_word" >&5
    27372814if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    27382815  echo $ac_n "(cached) $ac_c" 1>&6
     
    27632840
    27642841echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2765 echo "configure:2766: checking for ANSI C header files" >&5
     2842echo "configure:2843: checking for ANSI C header files" >&5
    27662843if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    27672844  echo $ac_n "(cached) $ac_c" 1>&6
     
    27692846  cat > conftest.$ac_ext <<EOF
    27702847#include <sys/types.h>
    2771 #line 2772 "configure"
     2848#line 2849 "configure"
    27722849#include "confdefs.h"
    27732850#include <stdlib.h>
     
    27772854EOF
    27782855ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2779 { (eval echo configure:2780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2856{ (eval echo configure:2857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    27802857ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    27812858if test -z "$ac_err"; then
     
    27942871  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    27952872cat > conftest.$ac_ext <<EOF
    2796 #line 2797 "configure"
     2873#line 2874 "configure"
    27972874#include "confdefs.h"
    27982875#include <string.h>
     
    28122889  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    28132890cat > conftest.$ac_ext <<EOF
    2814 #line 2815 "configure"
     2891#line 2892 "configure"
    28152892#include "confdefs.h"
    28162893#include <stdlib.h>
     
    28332910else
    28342911  cat > conftest.$ac_ext <<EOF
    2835 #line 2836 "configure"
     2912#line 2913 "configure"
    28362913#include "confdefs.h"
    28372914#include <ctype.h>
     
    28442921
    28452922EOF
    2846 if { (eval echo configure:2847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2923if { (eval echo configure:2924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    28472924then
    28482925  :
     
    28682945
    28692946echo $ac_n "checking for working const""... $ac_c" 1>&6
    2870 echo "configure:2871: checking for working const" >&5
     2947echo "configure:2948: checking for working const" >&5
    28712948if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    28722949  echo $ac_n "(cached) $ac_c" 1>&6
    28732950else
    28742951  cat > conftest.$ac_ext <<EOF
    2875 #line 2876 "configure"
     2952#line 2953 "configure"
    28762953#include "confdefs.h"
    28772954
     
    29222999; return 0; }
    29233000EOF
    2924 if { (eval echo configure:2925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3001if { (eval echo configure:3002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    29253002  rm -rf conftest*
    29263003  ac_cv_c_const=yes
     
    29433020
    29443021echo $ac_n "checking for inline""... $ac_c" 1>&6
    2945 echo "configure:2946: checking for inline" >&5
     3022echo "configure:3023: checking for inline" >&5
    29463023if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    29473024  echo $ac_n "(cached) $ac_c" 1>&6
     
    29503027for ac_kw in inline __inline__ __inline; do
    29513028  cat > conftest.$ac_ext <<EOF
    2952 #line 2953 "configure"
     3029#line 3030 "configure"
    29533030#include "confdefs.h"
    29543031
     
    29573034; return 0; }
    29583035EOF
    2959 if { (eval echo configure:2960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3036if { (eval echo configure:3037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    29603037  rm -rf conftest*
    29613038  ac_cv_c_inline=$ac_kw; break
     
    29833060
    29843061echo $ac_n "checking for off_t""... $ac_c" 1>&6
    2985 echo "configure:2986: checking for off_t" >&5
     3062echo "configure:3063: checking for off_t" >&5
    29863063if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
    29873064  echo $ac_n "(cached) $ac_c" 1>&6
    29883065else
    29893066  cat > conftest.$ac_ext <<EOF
    2990 #line 2991 "configure"
     3067#line 3068 "configure"
    29913068#include "confdefs.h"
    29923069#include <sys/types.h>
     
    30163093
    30173094echo $ac_n "checking for size_t""... $ac_c" 1>&6
    3018 echo "configure:3019: checking for size_t" >&5
     3095echo "configure:3096: checking for size_t" >&5
    30193096if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    30203097  echo $ac_n "(cached) $ac_c" 1>&6
    30213098else
    30223099  cat > conftest.$ac_ext <<EOF
    3023 #line 3024 "configure"
     3100#line 3101 "configure"
    30243101#include "confdefs.h"
    30253102#include <sys/types.h>
     
    30513128# for constant arguments.  Useless!
    30523129echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    3053 echo "configure:3054: checking for working alloca.h" >&5
     3130echo "configure:3131: checking for working alloca.h" >&5
    30543131if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    30553132  echo $ac_n "(cached) $ac_c" 1>&6
    30563133else
    30573134  cat > conftest.$ac_ext <<EOF
    3058 #line 3059 "configure"
     3135#line 3136 "configure"
    30593136#include "confdefs.h"
    30603137#include <alloca.h>
     
    30633140; return 0; }
    30643141EOF
    3065 if { (eval echo configure:3066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3142if { (eval echo configure:3143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30663143  rm -rf conftest*
    30673144  ac_cv_header_alloca_h=yes
     
    30843161
    30853162echo $ac_n "checking for alloca""... $ac_c" 1>&6
    3086 echo "configure:3087: checking for alloca" >&5
     3163echo "configure:3164: checking for alloca" >&5
    30873164if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    30883165  echo $ac_n "(cached) $ac_c" 1>&6
    30893166else
    30903167  cat > conftest.$ac_ext <<EOF
    3091 #line 3092 "configure"
     3168#line 3169 "configure"
    30923169#include "confdefs.h"
    30933170
     
    31173194; return 0; }
    31183195EOF
    3119 if { (eval echo configure:3120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3196if { (eval echo configure:3197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    31203197  rm -rf conftest*
    31213198  ac_cv_func_alloca_works=yes
     
    31493226
    31503227echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    3151 echo "configure:3152: checking whether alloca needs Cray hooks" >&5
     3228echo "configure:3229: checking whether alloca needs Cray hooks" >&5
    31523229if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    31533230  echo $ac_n "(cached) $ac_c" 1>&6
    31543231else
    31553232  cat > conftest.$ac_ext <<EOF
    3156 #line 3157 "configure"
     3233#line 3234 "configure"
    31573234#include "confdefs.h"
    31583235#if defined(CRAY) && ! defined(CRAY2)
     
    31793256for ac_func in _getb67 GETB67 getb67; do
    31803257  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3181 echo "configure:3182: checking for $ac_func" >&5
     3258echo "configure:3259: checking for $ac_func" >&5
    31823259if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    31833260  echo $ac_n "(cached) $ac_c" 1>&6
    31843261else
    31853262  cat > conftest.$ac_ext <<EOF
    3186 #line 3187 "configure"
     3263#line 3264 "configure"
    31873264#include "confdefs.h"
    31883265/* System header to define __stub macros and hopefully few prototypes,
     
    32073284; return 0; }
    32083285EOF
    3209 if { (eval echo configure:3210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3286if { (eval echo configure:3287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    32103287  rm -rf conftest*
    32113288  eval "ac_cv_func_$ac_func=yes"
     
    32343311
    32353312echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    3236 echo "configure:3237: checking stack direction for C alloca" >&5
     3313echo "configure:3314: checking stack direction for C alloca" >&5
    32373314if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    32383315  echo $ac_n "(cached) $ac_c" 1>&6
     
    32423319else
    32433320  cat > conftest.$ac_ext <<EOF
    3244 #line 3245 "configure"
     3321#line 3322 "configure"
    32453322#include "confdefs.h"
    32463323find_stack_direction ()
     
    32613338}
    32623339EOF
    3263 if { (eval echo configure:3264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3340if { (eval echo configure:3341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32643341then
    32653342  ac_cv_c_stack_direction=1
     
    32863363ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    32873364echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3288 echo "configure:3289: checking for $ac_hdr" >&5
     3365echo "configure:3366: checking for $ac_hdr" >&5
    32893366if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    32903367  echo $ac_n "(cached) $ac_c" 1>&6
     
    32923369  cat > conftest.$ac_ext <<EOF
    32933370#include <sys/types.h>
    3294 #line 3295 "configure"
     3371#line 3372 "configure"
    32953372#include "confdefs.h"
    32963373#include <$ac_hdr>
    32973374EOF
    32983375ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3299 { (eval echo configure:3300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3376{ (eval echo configure:3377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    33003377ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    33013378if test -z "$ac_err"; then
     
    33263403do
    33273404echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3328 echo "configure:3329: checking for $ac_func" >&5
     3405echo "configure:3406: checking for $ac_func" >&5
    33293406if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    33303407  echo $ac_n "(cached) $ac_c" 1>&6
    33313408else
    33323409  cat > conftest.$ac_ext <<EOF
    3333 #line 3334 "configure"
     3410#line 3411 "configure"
    33343411#include "confdefs.h"
    33353412/* System header to define __stub macros and hopefully few prototypes,
     
    33543431; return 0; }
    33553432EOF
    3356 if { (eval echo configure:3357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3433if { (eval echo configure:3434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    33573434  rm -rf conftest*
    33583435  eval "ac_cv_func_$ac_func=yes"
     
    33793456
    33803457echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    3381 echo "configure:3382: checking for working mmap" >&5
     3458echo "configure:3459: checking for working mmap" >&5
    33823459if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    33833460  echo $ac_n "(cached) $ac_c" 1>&6
     
    33873464else
    33883465  cat > conftest.$ac_ext <<EOF
    3389 #line 3390 "configure"
     3466#line 3467 "configure"
    33903467#include "confdefs.h"
    33913468
     
    35273604
    35283605EOF
    3529 if { (eval echo configure:3530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3606if { (eval echo configure:3607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    35303607then
    35313608  ac_cv_func_mmap_fixed_mapped=yes
     
    35553632ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    35563633echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3557 echo "configure:3558: checking for $ac_hdr" >&5
     3634echo "configure:3635: checking for $ac_hdr" >&5
    35583635if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    35593636  echo $ac_n "(cached) $ac_c" 1>&6
     
    35613638  cat > conftest.$ac_ext <<EOF
    35623639#include <sys/types.h>
    3563 #line 3564 "configure"
     3640#line 3641 "configure"
    35643641#include "confdefs.h"
    35653642#include <$ac_hdr>
    35663643EOF
    35673644ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3568 { (eval echo configure:3569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3645{ (eval echo configure:3646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    35693646ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    35703647if test -z "$ac_err"; then
     
    35963673do
    35973674echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3598 echo "configure:3599: checking for $ac_func" >&5
     3675echo "configure:3676: checking for $ac_func" >&5
    35993676if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    36003677  echo $ac_n "(cached) $ac_c" 1>&6
    36013678else
    36023679  cat > conftest.$ac_ext <<EOF
    3603 #line 3604 "configure"
     3680#line 3681 "configure"
    36043681#include "confdefs.h"
    36053682/* System header to define __stub macros and hopefully few prototypes,
     
    36243701; return 0; }
    36253702EOF
    3626 if { (eval echo configure:3627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3703if { (eval echo configure:3704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36273704  rm -rf conftest*
    36283705  eval "ac_cv_func_$ac_func=yes"
     
    36533730do
    36543731echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3655 echo "configure:3656: checking for $ac_func" >&5
     3732echo "configure:3733: checking for $ac_func" >&5
    36563733if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    36573734  echo $ac_n "(cached) $ac_c" 1>&6
    36583735else
    36593736  cat > conftest.$ac_ext <<EOF
    3660 #line 3661 "configure"
     3737#line 3738 "configure"
    36613738#include "confdefs.h"
    36623739/* System header to define __stub macros and hopefully few prototypes,
     
    36813758; return 0; }
    36823759EOF
    3683 if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3760if { (eval echo configure:3761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36843761  rm -rf conftest*
    36853762  eval "ac_cv_func_$ac_func=yes"
     
    37153792   if test $ac_cv_header_locale_h = yes; then
    37163793    echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
    3717 echo "configure:3718: checking for LC_MESSAGES" >&5
     3794echo "configure:3795: checking for LC_MESSAGES" >&5
    37183795if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
    37193796  echo $ac_n "(cached) $ac_c" 1>&6
    37203797else
    37213798  cat > conftest.$ac_ext <<EOF
    3722 #line 3723 "configure"
     3799#line 3800 "configure"
    37233800#include "confdefs.h"
    37243801#include <locale.h>
     
    37273804; return 0; }
    37283805EOF
    3729 if { (eval echo configure:3730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3806if { (eval echo configure:3807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37303807  rm -rf conftest*
    37313808  am_cv_val_LC_MESSAGES=yes
     
    37483825  fi
    37493826   echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
    3750 echo "configure:3751: checking whether NLS is requested" >&5
     3827echo "configure:3828: checking whether NLS is requested" >&5
    37513828        # Check whether --enable-nls or --disable-nls was given.
    37523829if test "${enable_nls+set}" = set; then
     
    37683845
    37693846      echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
    3770 echo "configure:3771: checking whether included gettext is requested" >&5
     3847echo "configure:3848: checking whether included gettext is requested" >&5
    37713848      # Check whether --with-included-gettext or --without-included-gettext was given.
    37723849if test "${with_included_gettext+set}" = set; then
     
    37873864        ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
    37883865echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
    3789 echo "configure:3790: checking for libintl.h" >&5
     3866echo "configure:3867: checking for libintl.h" >&5
    37903867if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    37913868  echo $ac_n "(cached) $ac_c" 1>&6
     
    37933870  cat > conftest.$ac_ext <<EOF
    37943871#include <sys/types.h>
    3795 #line 3796 "configure"
     3872#line 3873 "configure"
    37963873#include "confdefs.h"
    37973874#include <libintl.h>
    37983875EOF
    37993876ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3800 { (eval echo configure:3801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3877{ (eval echo configure:3878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    38013878ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    38023879if test -z "$ac_err"; then
     
    38153892  echo "$ac_t""yes" 1>&6
    38163893  echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
    3817 echo "configure:3818: checking for gettext in libc" >&5
     3894echo "configure:3895: checking for gettext in libc" >&5
    38183895if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
    38193896  echo $ac_n "(cached) $ac_c" 1>&6
    38203897else
    38213898  cat > conftest.$ac_ext <<EOF
    3822 #line 3823 "configure"
     3899#line 3900 "configure"
    38233900#include "confdefs.h"
    38243901#include <libintl.h>
     
    38273904; return 0; }
    38283905EOF
    3829 if { (eval echo configure:3830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3906if { (eval echo configure:3907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38303907  rm -rf conftest*
    38313908  gt_cv_func_gettext_libc=yes
     
    38433920           if test "$gt_cv_func_gettext_libc" != "yes"; then
    38443921             echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
    3845 echo "configure:3846: checking for bindtextdomain in -lintl" >&5
     3922echo "configure:3923: checking for bindtextdomain in -lintl" >&5
    38463923ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
    38473924if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    38513928LIBS="-lintl  $LIBS"
    38523929cat > conftest.$ac_ext <<EOF
    3853 #line 3854 "configure"
     3930#line 3931 "configure"
    38543931#include "confdefs.h"
    38553932/* Override any gcc2 internal prototype to avoid an error.  */
     
    38623939; return 0; }
    38633940EOF
    3864 if { (eval echo configure:3865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3941if { (eval echo configure:3942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38653942  rm -rf conftest*
    38663943  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38783955  echo "$ac_t""yes" 1>&6
    38793956  echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
    3880 echo "configure:3881: checking for gettext in libintl" >&5
     3957echo "configure:3958: checking for gettext in libintl" >&5
    38813958if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
    38823959  echo $ac_n "(cached) $ac_c" 1>&6
    38833960else
    38843961  cat > conftest.$ac_ext <<EOF
    3885 #line 3886 "configure"
     3962#line 3963 "configure"
    38863963#include "confdefs.h"
    38873964
     
    38903967; return 0; }
    38913968EOF
    3892 if { (eval echo configure:3893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3969if { (eval echo configure:3970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38933970  rm -rf conftest*
    38943971  gt_cv_func_gettext_libintl=yes
     
    39183995set dummy msgfmt; ac_word=$2
    39193996echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3920 echo "configure:3921: checking for $ac_word" >&5
     3997echo "configure:3998: checking for $ac_word" >&5
    39213998if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    39223999  echo $ac_n "(cached) $ac_c" 1>&6
     
    39524029do
    39534030echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3954 echo "configure:3955: checking for $ac_func" >&5
     4031echo "configure:4032: checking for $ac_func" >&5
    39554032if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    39564033  echo $ac_n "(cached) $ac_c" 1>&6
    39574034else
    39584035  cat > conftest.$ac_ext <<EOF
    3959 #line 3960 "configure"
     4036#line 4037 "configure"
    39604037#include "confdefs.h"
    39614038/* System header to define __stub macros and hopefully few prototypes,
     
    39804057; return 0; }
    39814058EOF
    3982 if { (eval echo configure:3983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4059if { (eval echo configure:4060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39834060  rm -rf conftest*
    39844061  eval "ac_cv_func_$ac_func=yes"
     
    40074084set dummy gmsgfmt; ac_word=$2
    40084085echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4009 echo "configure:4010: checking for $ac_word" >&5
     4086echo "configure:4087: checking for $ac_word" >&5
    40104087if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    40114088  echo $ac_n "(cached) $ac_c" 1>&6
     
    40474124set dummy xgettext; ac_word=$2
    40484125echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4049 echo "configure:4050: checking for $ac_word" >&5
     4126echo "configure:4127: checking for $ac_word" >&5
    40504127if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    40514128  echo $ac_n "(cached) $ac_c" 1>&6
     
    40794156
    40804157                cat > conftest.$ac_ext <<EOF
    4081 #line 4082 "configure"
     4158#line 4159 "configure"
    40824159#include "confdefs.h"
    40834160
     
    40874164; return 0; }
    40884165EOF
    4089 if { (eval echo configure:4090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4166if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40904167  rm -rf conftest*
    40914168  CATOBJEXT=.gmo
     
    41194196set dummy msgfmt; ac_word=$2
    41204197echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4121 echo "configure:4122: checking for $ac_word" >&5
     4198echo "configure:4199: checking for $ac_word" >&5
    41224199if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    41234200  echo $ac_n "(cached) $ac_c" 1>&6
     
    41534230set dummy gmsgfmt; ac_word=$2
    41544231echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4155 echo "configure:4156: checking for $ac_word" >&5
     4232echo "configure:4233: checking for $ac_word" >&5
    41564233if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    41574234  echo $ac_n "(cached) $ac_c" 1>&6
     
    41934270set dummy xgettext; ac_word=$2
    41944271echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4195 echo "configure:4196: checking for $ac_word" >&5
     4272echo "configure:4273: checking for $ac_word" >&5
    41964273if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    41974274  echo $ac_n "(cached) $ac_c" 1>&6
     
    42834360     else
    42844361       echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
    4285 echo "configure:4286: checking for catalogs to be installed" >&5
     4362echo "configure:4363: checking for catalogs to be installed" >&5
    42864363       NEW_LINGUAS=
    42874364       for lang in ${LINGUAS=$ALL_LINGUAS}; do
     
    43114388         ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
    43124389echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
    4313 echo "configure:4314: checking for linux/version.h" >&5
     4390echo "configure:4391: checking for linux/version.h" >&5
    43144391if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    43154392  echo $ac_n "(cached) $ac_c" 1>&6
     
    43174394  cat > conftest.$ac_ext <<EOF
    43184395#include <sys/types.h>
    4319 #line 4320 "configure"
     4396#line 4397 "configure"
    43204397#include "confdefs.h"
    43214398#include <linux/version.h>
    43224399EOF
    43234400ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4324 { (eval echo configure:4325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4401{ (eval echo configure:4402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    43254402ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    43264403if test -z "$ac_err"; then
     
    43674444   
    43684445
    4369             if test -d $srcdir/po; then
     4446            if test -f $srcdir/po/POTFILES.in; then
    43704447      test -d po || mkdir po
    43714448      if test "x$srcdir" != "x."; then
    4372                  if test "x`echo $srcdir | sed -e 's@.\:/.*@@'  -e 's@/.*@@' `" = "x"; then
     4449                 if test "x`echo $srcdir | sed -e 's@.\:/.*@@'  -e 's@/.*@@' `" = "x"; then
    43734450            posrcprefix="$srcdir/"
    43744451         else
     
    43864463. ${srcdir}/../bfd/configure.host
    43874464
     4465# Put a plausible default for CC_FOR_BUILD in Makefile.
     4466if test -z "$CC_FOR_BUILD"; then
     4467  if test "x$cross_compiling" = "xno"; then
     4468    CC_FOR_BUILD='$(CC)'
     4469  else
     4470    CC_FOR_BUILD=gcc
     4471  fi
     4472fi
     4473
     4474# Also set EXEEXT_FOR_BUILD.
     4475if test "x$cross_compiling" = "xno"; then
     4476  EXEEXT_FOR_BUILD='$(EXEEXT)'
     4477else
     4478  echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6
     4479echo "configure:4480: checking for build system executable suffix" >&5
     4480if eval "test \"`echo '$''{'bfd_cv_build_exeext'+set}'`\" = set"; then
     4481  echo $ac_n "(cached) $ac_c" 1>&6
     4482else
     4483  rm -f conftest*
     4484     echo 'int main () { return 0; }' > conftest.c
     4485     bfd_cv_build_exeext=
     4486     ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
     4487     for file in conftest.*; do
     4488       case $file in
     4489       *.c | *.o | *.obj | *.ilk | *.pdb) ;;
     4490       *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
     4491       esac
     4492     done
     4493     rm -f conftest*
     4494     test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
     4495fi
     4496
     4497echo "$ac_t""$bfd_cv_build_exeext" 1>&6
     4498  EXEEXT_FOR_BUILD=""
     4499  test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
     4500fi
     4501
     4502
    43884503
    43894504# Find a good install program.  We prefer a C program (faster),
     
    43994514# ./install, which can be erroneously created by make from ./install.sh.
    44004515echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    4401 echo "configure:4402: checking for a BSD compatible install" >&5
     4516echo "configure:4517: checking for a BSD compatible install" >&5
    44024517if test -z "$INSTALL"; then
    44034518if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    44584573ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    44594574echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4460 echo "configure:4461: checking for $ac_hdr" >&5
     4575echo "configure:4576: checking for $ac_hdr" >&5
    44614576if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    44624577  echo $ac_n "(cached) $ac_c" 1>&6
     
    44644579  cat > conftest.$ac_ext <<EOF
    44654580#include <sys/types.h>
    4466 #line 4467 "configure"
     4581#line 4582 "configure"
    44674582#include "confdefs.h"
    44684583#include <$ac_hdr>
    44694584EOF
    44704585ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4471 { (eval echo configure:4472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4586{ (eval echo configure:4587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    44724587ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    44734588if test -z "$ac_err"; then
     
    46014716        bfd_d10v_arch)          ta="$ta d10v-dis.lo d10v-opc.lo" ;;
    46024717        bfd_d30v_arch)          ta="$ta d30v-dis.lo d30v-opc.lo" ;;
     4718        bfd_dlx_arch)           ta="$ta dlx-dis.lo" ;;
    46034719        bfd_fr30_arch)          ta="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen=yes ;;
    46044720        bfd_h8300_arch)         ta="$ta h8300-dis.lo" ;;
     
    46104726        bfd_i960_arch)          ta="$ta i960-dis.lo" ;;
    46114727        bfd_ia64_arch)          ta="$ta ia64-dis.lo ia64-opc.lo" ;;
     4728        bfd_ip2k_arch)          ta="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen=yes ;;
     4729        bfd_iq2000_arch)        ta="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen=yes ;;
    46124730        bfd_m32r_arch)          ta="$ta m32r-asm.lo m32r-desc.lo m32r-dis.lo m32r-ibld.lo m32r-opc.lo m32r-opinst.lo" using_cgen=yes ;;
    46134731        bfd_m68hc11_arch)       ta="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
     
    46174735        bfd_mcore_arch)         ta="$ta mcore-dis.lo" ;;
    46184736        bfd_mips_arch)          ta="$ta mips-dis.lo mips-opc.lo mips16-opc.lo" ;;
     4737        bfd_mmix_arch)          ta="$ta mmix-dis.lo mmix-opc.lo" ;;
    46194738        bfd_mn10200_arch)       ta="$ta m10200-dis.lo m10200-opc.lo" ;;
    46204739        bfd_mn10300_arch)       ta="$ta m10300-dis.lo m10300-opc.lo" ;;
     4740        bfd_msp430_arch)        ta="$ta msp430-dis.lo" ;;
    46214741        bfd_ns32k_arch)         ta="$ta ns32k-dis.lo" ;;
     4742        bfd_openrisc_arch)      ta="$ta openrisc-asm.lo openrisc-desc.lo openrisc-dis.lo openrisc-ibld.lo openrisc-opc.lo" using_cgen=yes ;;
     4743        bfd_or32_arch)          ta="$ta or32-dis.lo or32-opc.lo" using_cgen=yes ;;
     4744        bfd_pdp11_arch)         ta="$ta pdp11-dis.lo pdp11-opc.lo" ;;
    46224745        bfd_pj_arch)            ta="$ta pj-dis.lo pj-opc.lo" ;;
    46234746        bfd_powerpc_arch)       ta="$ta ppc-dis.lo ppc-opc.lo" ;;
     
    46264749        bfd_romp_arch)          ;;
    46274750        bfd_rs6000_arch)        ta="$ta ppc-dis.lo ppc-opc.lo" ;;
     4751        bfd_s390_arch)          ta="$ta s390-dis.lo s390-opc.lo" ;;
    46284752        bfd_sh_arch)
     4753          # We can't decide what we want just from the CPU family.
     4754          # We want SH5 support unless a specific version of sh is
     4755          # specified, as in sh3-elf, sh3b-linux-gnu, etc.
     4756          # Include it just for ELF targets, since the SH5 bfd:s are ELF only.
     4757          for t in $target $canon_targets; do
     4758            case $t in
     4759              all |  sh5*-* | sh64*-* | sh-*-*elf* | shl*-*-*elf* | \
     4760              sh-*-linux* | shl-*-linux*)
     4761                                ta="$ta sh64-dis.lo sh64-opc.lo"
     4762                                archdefs="$archdefs -DINCLUDE_SHMEDIA"
     4763                                break;;
     4764            esac;
     4765          done
    46294766                                ta="$ta sh-dis.lo" ;;
    46304767        bfd_sparc_arch)         ta="$ta sparc-dis.lo sparc-opc.lo" ;;
    46314768        bfd_tahoe_arch)         ;;
    46324769        bfd_tic30_arch)         ta="$ta tic30-dis.lo" ;;
     4770        bfd_tic4x_arch)         ta="$ta tic4x-dis.lo" ;;
    46334771        bfd_tic54x_arch)        ta="$ta tic54x-dis.lo tic54x-opc.lo" ;;
    46344772        bfd_tic80_arch)         ta="$ta tic80-dis.lo tic80-opc.lo" ;;
     
    46394777        bfd_w65_arch)           ta="$ta w65-dis.lo" ;;
    46404778        bfd_we32k_arch)         ;;
     4779        bfd_xstormy16_arch)     ta="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen=yes ;;
     4780        bfd_xtensa_arch)        ta="$ta xtensa-dis.lo" ;;
    46414781        bfd_z8k_arch)           ta="$ta z8k-dis.lo" ;;
     4782        bfd_frv_arch)           ta="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen=yes ;;
    46424783
    46434784        "")                     ;;
     
    48574998s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
    48584999s%@MAINT@%$MAINT%g
     5000s%@INSTALL_LIBBFD_TRUE@%$INSTALL_LIBBFD_TRUE%g
     5001s%@INSTALL_LIBBFD_FALSE@%$INSTALL_LIBBFD_FALSE%g
     5002s%@bfdlibdir@%$bfdlibdir%g
     5003s%@bfdincludedir@%$bfdincludedir%g
    48595004s%@CPP@%$CPP%g
    48605005s%@ALLOCA@%$ALLOCA%g
     
    48795024s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
    48805025s%@l@%$l%g
     5026s%@CC_FOR_BUILD@%$CC_FOR_BUILD%g
     5027s%@EXEEXT_FOR_BUILD@%$EXEEXT_FOR_BUILD%g
    48815028s%@HDEFINES@%$HDEFINES%g
    48825029s%@CGEN_MAINT_TRUE@%$CGEN_MAINT_TRUE%g
Note: See TracChangeset for help on using the changeset viewer.