Changeset 106


Ignore:
Timestamp:
May 8, 2003, 2:53:44 AM (22 years ago)
Author:
bird
Message:

Regenerated.

Location:
trunk/src/binutils/bfd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/binutils/bfd/aclocal.m4

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r105 r106  
    1 dnl aclocal.m4 generated automatically by aclocal 1.4
    2 
    3 dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
     1dnl aclocal.m4 generated automatically by aclocal 1.4-p5
     2
     3dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
    44dnl This file is free software; the Free Software Foundation
    55dnl gives unlimited permission to copy and/or distribute it,
     
    1616case "${host}" in
    1717changequote(,)dnl
    18 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
     18*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows* | *-*-os2*)
    1919changequote([,])dnl
    2020  AC_DEFINE(USE_BINARY_FOPEN, 1, [Use b modifier when opening binary files?]) ;;
     
    146146dnl AM_INIT_AUTOMAKE(package,version, [no-define])
    147147
    148 AC_DEFUN(AM_INIT_AUTOMAKE,
     148AC_DEFUN([AM_INIT_AUTOMAKE],
    149149[AC_REQUIRE([AC_PROG_INSTALL])
    150150PACKAGE=[$1]
     
    174174#
    175175
    176 AC_DEFUN(AM_SANITY_CHECK,
     176AC_DEFUN([AM_SANITY_CHECK],
    177177[AC_MSG_CHECKING([whether build environment is sane])
    178178# Just in case
     
    215215dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
    216216dnl The program must properly implement --version.
    217 AC_DEFUN(AM_MISSING_PROG,
     217AC_DEFUN([AM_MISSING_PROG],
    218218[AC_MSG_CHECKING(for working $2)
    219219# Run test in a subshell; some versions of sh will print an error if
     
    231231# Like AC_CONFIG_HEADER, but automatically create stamp file.
    232232
    233 AC_DEFUN(AM_CONFIG_HEADER,
     233AC_DEFUN([AM_CONFIG_HEADER],
    234234[AC_PREREQ([2.12])
    235235AC_CONFIG_HEADER([$1])
     
    257257# serial 1
    258258
    259 AC_DEFUN(AM_MAINTAINER_MODE,
     259AC_DEFUN([AM_MAINTAINER_MODE],
    260260[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
    261261  dnl maintainer-mode is disabled by default
     
    274274# Define a conditional.
    275275
    276 AC_DEFUN(AM_CONDITIONAL,
     276AC_DEFUN([AM_CONDITIONAL],
    277277[AC_SUBST($1_TRUE)
    278278AC_SUBST($1_FALSE)
  • trunk/src/binutils/bfd/configure

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r105 r106  
    3737  --enable-maintainer-mode enable make rules and dependencies not useful
    3838                          (and sometimes confusing) to the casual installer"
    39 ac_help="$ac_help
    40   --disable-nls           do not use Native Language Support"
    41 ac_help="$ac_help
    42   --with-included-gettext use the GNU gettext library included here"
    4339
    4440# Initialize some variables set by options.
     
    551547
    552548echo $ac_n "checking for path separator""... $ac_c" 1>&6
    553 echo "configure:554: checking for path separator" >&5
     549echo "configure:550: checking for path separator" >&5
    554550# Filter path to get backslahes into forwardslashes
    555551case "`uname -s 2> /dev/null`" in
     
    565561
    566562echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    567 echo "configure:568: checking for Cygwin environment" >&5
     563echo "configure:564: checking for Cygwin environment" >&5
    568564if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    569565  echo $ac_n "(cached) $ac_c" 1>&6
    570566else
    571567  cat > conftest.$ac_ext <<EOF
    572 #line 573 "configure"
     568#line 569 "configure"
    573569#include "confdefs.h"
    574570
     
    581577; return 0; }
    582578EOF
    583 if { (eval echo configure:584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     579if { (eval echo configure:580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    584580  rm -rf conftest*
    585581  ac_cv_cygwin=yes
     
    598594test "$ac_cv_cygwin" = yes && CYGWIN=yes
    599595echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    600 echo "configure:601: checking for mingw32 environment" >&5
     596echo "configure:597: checking for mingw32 environment" >&5
    601597if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    602598  echo $ac_n "(cached) $ac_c" 1>&6
    603599else
    604600  cat > conftest.$ac_ext <<EOF
    605 #line 606 "configure"
     601#line 602 "configure"
    606602#include "confdefs.h"
    607603
     
    610606; return 0; }
    611607EOF
    612 if { (eval echo configure:613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     608if { (eval echo configure:609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    613609  rm -rf conftest*
    614610  ac_cv_mingw32=yes
     
    627623test "$ac_cv_mingw32" = yes && MINGW32=yes
    628624echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6
    629 echo "configure:630: checking for EMX/OS2 environment" >&5
     625echo "configure:626: checking for EMX/OS2 environment" >&5
    630626if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then
    631627  echo $ac_n "(cached) $ac_c" 1>&6
     
    633629  : ${CC=gcc.exe}
    634630cat > conftest.$ac_ext <<EOF
    635 #line 636 "configure"
     631#line 632 "configure"
    636632#include "confdefs.h"
    637633
     
    640636; return 0; }
    641637EOF
    642 if { (eval echo configure:643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     638if { (eval echo configure:639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    643639  rm -rf conftest*
    644640  ac_cv_emxos2=yes
     
    671667
    672668echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    673 echo "configure:674: checking for executable suffix" >&5
     669echo "configure:670: checking for executable suffix" >&5
    674670if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    675671  echo $ac_n "(cached) $ac_c" 1>&6
     
    681677  echo 'int main () { return 0; }' > conftest.$ac_ext
    682678  ac_cv_exeext=
    683   if { (eval echo configure:684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     679  if { (eval echo configure:680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    684680    for file in conftest.*; do
    685681      case $file in
     
    750746
    751747echo $ac_n "checking host system type""... $ac_c" 1>&6
    752 echo "configure:753: checking host system type" >&5
     748echo "configure:749: checking host system type" >&5
    753749
    754750host_alias=$host
     
    771767
    772768echo $ac_n "checking target system type""... $ac_c" 1>&6
    773 echo "configure:774: checking target system type" >&5
     769echo "configure:770: checking target system type" >&5
    774770
    775771target_alias=$target
     
    789785
    790786echo $ac_n "checking build system type""... $ac_c" 1>&6
    791 echo "configure:792: checking build system type" >&5
     787echo "configure:788: checking build system type" >&5
    792788
    793789build_alias=$build
     
    814810set dummy gcc; ac_word=$2
    815811echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    816 echo "configure:817: checking for $ac_word" >&5
     812echo "configure:813: checking for $ac_word" >&5
    817813if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    818814  echo $ac_n "(cached) $ac_c" 1>&6
     
    845841set dummy cc; ac_word=$2
    846842echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    847 echo "configure:848: checking for $ac_word" >&5
     843echo "configure:844: checking for $ac_word" >&5
    848844if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    849845  echo $ac_n "(cached) $ac_c" 1>&6
     
    898894set dummy cl; ac_word=$2
    899895echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    900 echo "configure:901: checking for $ac_word" >&5
     896echo "configure:897: checking for $ac_word" >&5
    901897if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    902898  echo $ac_n "(cached) $ac_c" 1>&6
     
    931927
    932928echo $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
     929echo "configure:930: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    934930
    935931ac_ext=c
     
    942938cat > conftest.$ac_ext << EOF
    943939
    944 #line 945 "configure"
     940#line 941 "configure"
    945941#include "confdefs.h"
    946942
    947943main(){return(0);}
    948944EOF
    949 if { (eval echo configure:950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     945if { (eval echo configure:946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    950946  ac_cv_prog_cc_works=yes
    951947  # If we can't run a trivial program, we are probably using a cross compiler.
     
    973969fi
    974970echo $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
     971echo "configure:972: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    976972echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    977973cross_compiling=$ac_cv_prog_cc_cross
    978974
    979975echo $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
     976echo "configure:977: checking whether we are using GNU C" >&5
    981977if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    982978  echo $ac_n "(cached) $ac_c" 1>&6
     
    987983#endif
    988984EOF
    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
     985if { 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
    990986  ac_cv_prog_gcc=yes
    991987else
     
    10061002CFLAGS=
    10071003echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1008 echo "configure:1009: checking whether ${CC-cc} accepts -g" >&5
     1004echo "configure:1005: checking whether ${CC-cc} accepts -g" >&5
    10091005if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    10101006  echo $ac_n "(cached) $ac_c" 1>&6
     
    10381034
    10391035echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
    1040 echo "configure:1041: checking for POSIXized ISC" >&5
     1036echo "configure:1037: checking for POSIXized ISC" >&5
    10411037if test -d /etc/conf/kconfig.d &&
    10421038  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
     
    10711067# ./install, which can be erroneously created by make from ./install.sh.
    10721068echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1073 echo "configure:1074: checking for a BSD compatible install" >&5
     1069echo "configure:1070: checking for a BSD compatible install" >&5
    10741070if test -z "$INSTALL"; then
    10751071if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    11261122
    11271123echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    1128 echo "configure:1129: checking whether build environment is sane" >&5
     1124echo "configure:1125: checking whether build environment is sane" >&5
    11291125# Just in case
    11301126sleep 1
     
    11831179
    11841180echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1185 echo "configure:1186: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1181echo "configure:1182: checking whether ${MAKE-make} sets \${MAKE}" >&5
    11861182set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    11871183if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    12291225missing_dir=`cd $ac_aux_dir && pwd`
    12301226echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    1231 echo "configure:1232: checking for working aclocal" >&5
     1227echo "configure:1228: checking for working aclocal" >&5
    12321228# Run test in a subshell; some versions of sh will print an error if
    12331229# an executable is not found, even if stderr is redirected.
     
    12421238
    12431239echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    1244 echo "configure:1245: checking for working autoconf" >&5
     1240echo "configure:1241: checking for working autoconf" >&5
    12451241# Run test in a subshell; some versions of sh will print an error if
    12461242# an executable is not found, even if stderr is redirected.
     
    12551251
    12561252echo $ac_n "checking for working automake""... $ac_c" 1>&6
    1257 echo "configure:1258: checking for working automake" >&5
     1253echo "configure:1254: checking for working automake" >&5
    12581254# Run test in a subshell; some versions of sh will print an error if
    12591255# an executable is not found, even if stderr is redirected.
     
    12681264
    12691265echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    1270 echo "configure:1271: checking for working autoheader" >&5
     1266echo "configure:1267: checking for working autoheader" >&5
    12711267# Run test in a subshell; some versions of sh will print an error if
    12721268# an executable is not found, even if stderr is redirected.
     
    12811277
    12821278echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    1283 echo "configure:1284: checking for working makeinfo" >&5
     1279echo "configure:1280: checking for working makeinfo" >&5
    12841280# Run test in a subshell; some versions of sh will print an error if
    12851281# an executable is not found, even if stderr is redirected.
     
    13041300set dummy ${ac_tool_prefix}ar; ac_word=$2
    13051301echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1306 echo "configure:1307: checking for $ac_word" >&5
     1302echo "configure:1303: checking for $ac_word" >&5
    13071303if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    13081304  echo $ac_n "(cached) $ac_c" 1>&6
     
    13371333set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    13381334echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1339 echo "configure:1340: checking for $ac_word" >&5
     1335echo "configure:1336: checking for $ac_word" >&5
    13401336if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    13411337  echo $ac_n "(cached) $ac_c" 1>&6
     
    13701366set dummy ranlib; ac_word=$2
    13711367echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1372 echo "configure:1373: checking for $ac_word" >&5
     1368echo "configure:1369: checking for $ac_word" >&5
    13731369if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    13741370  echo $ac_n "(cached) $ac_c" 1>&6
     
    14081404  enableval="$enable_shared"
    14091405  p=${PACKAGE-default}
    1410 case "$enableval" in
     1406case $enableval in
    14111407yes) enable_shared=yes ;;
    14121408no) enable_shared=no ;;
     
    14321428  enableval="$enable_static"
    14331429  p=${PACKAGE-default}
    1434 case "$enableval" in
     1430case $enableval in
    14351431yes) enable_static=yes ;;
    14361432no) enable_static=no ;;
     
    14551451  enableval="$enable_fast_install"
    14561452  p=${PACKAGE-default}
    1457 case "$enableval" in
     1453case $enableval in
    14581454yes) enable_fast_install=yes ;;
    14591455no) enable_fast_install=no ;;
     
    14831479
    14841480ac_prog=ld
    1485 if test "$ac_cv_prog_gcc" = yes; then
     1481if test "$GCC" = yes; then
    14861482  # Check if gcc -print-prog-name=ld gives a path.
    14871483  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
    1488 echo "configure:1489: checking for ld used by GCC" >&5
     1484echo "configure:1485: checking for ld used by GCC" >&5
    14891485  case $host in
    14901486  *-*-mingw*)
     
    14941490    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    14951491  esac
    1496   case "$ac_prog" in
     1492  case $ac_prog in
    14971493    # Accept absolute paths.
    14981494    [\\/]* | [A-Za-z]:[\\/]*)
     
    15161512elif test "$with_gnu_ld" = yes; then
    15171513  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
    1518 echo "configure:1519: checking for GNU ld" >&5
     1514echo "configure:1515: checking for GNU ld" >&5
    15191515else
    15201516  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
     1517echo "configure:1518: checking for non-GNU ld" >&5
     1518fi
     1519if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
    15241520  echo $ac_n "(cached) $ac_c" 1>&6
    15251521else
     
    15291525    test -z "$ac_dir" && ac_dir=.
    15301526    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"
     1527      lt_cv_path_LD="$ac_dir/$ac_prog"
    15321528      # Check to see if the program is GNU ld.  I'd rather use --version,
    15331529      # but apparently some GNU ld's only accept -v.
    15341530      # 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
     1531      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
    15361532        test "$with_gnu_ld" != no && break
    15371533      else
     
    15421538  IFS="$ac_save_ifs"
    15431539else
    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"
     1540  lt_cv_path_LD="$LD" # Let the user override the test with a path.
     1541fi
     1542fi
     1543
     1544LD="$lt_cv_path_LD"
    15491545if test -n "$LD"; then
    15501546  echo "$ac_t""$LD" 1>&6
     
    15541550test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
    15551551echo $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
     1552echo "configure:1553: checking if the linker ($LD) is GNU ld" >&5
     1553if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
    15581554  echo $ac_n "(cached) $ac_c" 1>&6
    15591555else
    15601556  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    15611557if $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
     1558  lt_cv_prog_gnu_ld=yes
     1559else
     1560  lt_cv_prog_gnu_ld=no
     1561fi
     1562fi
     1563
     1564echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
     1565with_gnu_ld=$lt_cv_prog_gnu_ld
    15701566
    15711567
    15721568echo $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
     1569echo "configure:1570: checking for $LD option to reload object files" >&5
    15741570if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
    15751571  echo $ac_n "(cached) $ac_c" 1>&6
     
    15831579
    15841580echo $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
     1581echo "configure:1582: checking for BSD-compatible nm" >&5
     1582if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
    15871583  echo $ac_n "(cached) $ac_c" 1>&6
    15881584else
    15891585  if test -n "$NM"; then
    15901586  # Let the user override the test.
    1591   ac_cv_path_NM="$NM"
     1587  lt_cv_path_NM="$NM"
    15921588else
    15931589  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
     
    16011597      # Tru64's nm complains that /dev/null is an invalid object file
    16021598      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"
     1599        lt_cv_path_NM="$tmp_nm -B"
    16041600        break
    16051601      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"
     1602        lt_cv_path_NM="$tmp_nm -p"
    16071603        break
    16081604      else
    1609         ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
     1605        lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    16101606        continue # so that we can try to find one that supports BSD flags
    16111607      fi
     
    16131609  done
    16141610  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"
     1611  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
     1612fi
     1613fi
     1614
     1615NM="$lt_cv_path_NM"
    16201616echo "$ac_t""$NM" 1>&6
    16211617
    16221618echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1623 echo "configure:1624: checking whether ln -s works" >&5
     1619echo "configure:1620: checking whether ln -s works" >&5
    16241620if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    16251621  echo $ac_n "(cached) $ac_c" 1>&6
     
    16481644
    16491645echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
    1650 echo "configure:1651: checking how to recognise dependant libraries" >&5
     1646echo "configure:1647: checking how to recognise dependant libraries" >&5
    16511647if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
    16521648  echo $ac_n "(cached) $ac_c" 1>&6
     
    16661662# whether `pass_all' will *always* work, you probably want this one.
    16671663
    1668 case "$host_os" in
    1669 aix4*)
     1664case $host_os in
     1665aix*)
    16701666  lt_cv_deplibs_check_method=pass_all
    16711667  ;;
     
    16761672
    16771673bsdi4*)
    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'
     1674  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
     1675  lt_cv_file_magic_cmd='/usr/bin/file -L'
    16801676  lt_cv_file_magic_test_file=/shlib/libc.so
    16811677  ;;
     
    16861682  ;;
    16871683
     1684darwin* | rhapsody*)
     1685  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
     1686  lt_cv_file_magic_cmd='/usr/bin/file -L'
     1687  case "$host_os" in
     1688  rhapsody* | darwin1.012)
     1689    lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
     1690    ;;
     1691  *) # Darwin 1.3 on
     1692    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
     1693    ;;
     1694  esac
     1695  ;;
     1696
    16881697freebsd* )
    16891698  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    1690     case "$host_cpu" in
     1699    case $host_cpu in
    16911700    i*86 )
    16921701      # Not sure whether the presence of OpenBSD here was a mistake.
    16931702      # 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
     1703      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
     1704      lt_cv_file_magic_cmd=/usr/bin/file
    16961705      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
    16971706      ;;
     
    17061715  ;;
    17071716
    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'
     1717hpux10.20*|hpux11*)
     1718  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
    17111719  lt_cv_file_magic_cmd=/usr/bin/file
    17121720  lt_cv_file_magic_test_file=/usr/lib/libc.sl
     
    17141722
    17151723irix5* | irix6*)
    1716   case "$host_os" in
     1724  case $host_os in
    17171725  irix5*)
    17181726    # this will be overridden with pass_all, but let us keep it just in case
     
    17201728    ;;
    17211729  *)
    1722     case "$LD" in
     1730    case $LD in
    17231731    *-32|*"-32 ") libmagic=32-bit;;
    17241732    *-n32|*"-n32 ") libmagic=N32;;
     
    17271735    esac
    17281736    # 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         ;;
     1737    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
     1738    ;;
    17311739  esac
    17321740  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
     
    17361744# This must be Linux ELF.
    17371745linux-gnu*)
    1738   case "$host_cpu" in
    1739   alpha* | i*86 | powerpc* | sparc* | ia64* )
     1746  case $host_cpu in
     1747  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    17401748    lt_cv_deplibs_check_method=pass_all ;;
    17411749  *)
    17421750    # 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
     1751    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
     1752  esac
    17451753  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    17461754  ;;
    17471755
    17481756netbsd*)
    1749   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
     1757  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     1758    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
    17501759  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*`
     1760    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
    17541761  fi
     1762  ;;
     1763
     1764newsos6)
     1765  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
     1766  lt_cv_file_magic_cmd=/usr/bin/file
     1767  lt_cv_file_magic_test_file=/usr/lib/libnls.so
    17551768  ;;
    17561769
     
    17711784  ;;
    17721785
     1786sysv5uw[78]* | sysv4*uw2*)
     1787  lt_cv_deplibs_check_method=pass_all
     1788  ;;
     1789
    17731790sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    1774   case "$host_vendor" in
     1791  case $host_vendor in
    17751792  ncr)
    17761793    lt_cv_deplibs_check_method=pass_all
    17771794    ;;
    17781795  motorola)
    1779         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]'
    1780         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1796    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]'
     1797    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
    17811798    ;;
    17821799  esac
     
    17911808
    17921809echo $ac_n "checking for object suffix""... $ac_c" 1>&6
    1793 echo "configure:1794: checking for object suffix" >&5
     1810echo "configure:1811: checking for object suffix" >&5
    17941811if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
    17951812  echo $ac_n "(cached) $ac_c" 1>&6
     
    17971814  rm -f conftest*
    17981815echo 'int i = 1;' > conftest.$ac_ext
    1799 if { (eval echo configure:1800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1816if { (eval echo configure:1817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    18001817  for ac_file in conftest.*; do
    18011818    case $ac_file in
     
    18171834
    18181835# Only perform the check for file, if the check method requires it
    1819 case "$deplibs_check_method" in
     1836case $deplibs_check_method in
    18201837file_magic*)
    18211838  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    18221839    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
    1823 echo "configure:1824: checking for ${ac_tool_prefix}file" >&5
     1840echo "configure:1841: checking for ${ac_tool_prefix}file" >&5
    18241841if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    18251842  echo $ac_n "(cached) $ac_c" 1>&6
    18261843else
    1827   case "$MAGIC_CMD" in
     1844  case $MAGIC_CMD in
    18281845  /*)
    18291846  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    18411858      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
    18421859      if test -n "$file_magic_test_file"; then
    1843         case "$deplibs_check_method" in
     1860        case $deplibs_check_method in
    18441861        "file_magic "*)
    18451862          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    18831900  if test -n "$ac_tool_prefix"; then
    18841901    echo $ac_n "checking for file""... $ac_c" 1>&6
    1885 echo "configure:1886: checking for file" >&5
     1902echo "configure:1903: checking for file" >&5
    18861903if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    18871904  echo $ac_n "(cached) $ac_c" 1>&6
    18881905else
    1889   case "$MAGIC_CMD" in
     1906  case $MAGIC_CMD in
    18901907  /*)
    18911908  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    19031920      lt_cv_path_MAGIC_CMD="$ac_dir/file"
    19041921      if test -n "$file_magic_test_file"; then
    1905         case "$deplibs_check_method" in
     1922        case $deplibs_check_method in
    19061923        "file_magic "*)
    19071924          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    19541971set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    19551972echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1956 echo "configure:1957: checking for $ac_word" >&5
     1973echo "configure:1974: checking for $ac_word" >&5
    19571974if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    19581975  echo $ac_n "(cached) $ac_c" 1>&6
     
    19872004set dummy ranlib; ac_word=$2
    19882005echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1989 echo "configure:1990: checking for $ac_word" >&5
     2006echo "configure:2007: checking for $ac_word" >&5
    19902007if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    19912008  echo $ac_n "(cached) $ac_c" 1>&6
     
    20232040set dummy ${ac_tool_prefix}strip; ac_word=$2
    20242041echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2025 echo "configure:2026: checking for $ac_word" >&5
     2042echo "configure:2043: checking for $ac_word" >&5
    20262043if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    20272044  echo $ac_n "(cached) $ac_c" 1>&6
     
    20562073set dummy strip; ac_word=$2
    20572074echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2058 echo "configure:2059: checking for $ac_word" >&5
     2075echo "configure:2076: checking for $ac_word" >&5
    20592076if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    20602077  echo $ac_n "(cached) $ac_c" 1>&6
     
    20952112test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
    20962113test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
    2097 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
    2098 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
     2114test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
     2115test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
    20992116
    21002117
     
    21212138# Some flags need to be propagated to the compiler or linker for good
    21222139# libtool support.
    2123 case "$host" in
     2140case $host in
    21242141*-*-irix6*)
    21252142  # Find out which ABI we are using.
    2126   echo '#line 2127 "configure"' > conftest.$ac_ext
    2127   if { (eval echo configure:2128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    2128     case "`/usr/bin/file conftest.o`" in
     2143  echo '#line 2144 "configure"' > conftest.$ac_ext
     2144  if { (eval echo configure:2145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2145    case `/usr/bin/file conftest.$ac_objext` in
    21292146    *32-bit*)
    21302147      LD="${LD-ld} -32"
     
    21462163  CFLAGS="$CFLAGS -belf"
    21472164  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    2148 echo "configure:2149: checking whether the C compiler needs -belf" >&5
     2165echo "configure:2166: checking whether the C compiler needs -belf" >&5
    21492166if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    21502167  echo $ac_n "(cached) $ac_c" 1>&6
     
    21592176
    21602177     cat > conftest.$ac_ext <<EOF
    2161 #line 2162 "configure"
     2178#line 2179 "configure"
    21622179#include "confdefs.h"
    21632180
     
    21662183; return 0; }
    21672184EOF
    2168 if { (eval echo configure:2169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2185if { (eval echo configure:2186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21692186  rm -rf conftest*
    21702187  lt_cv_cc_needs_belf=yes
     
    22762293exec 5>>./config.log
    22772294
    2278 
    22792295 
    22802296
     
    23762392
    23772393echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    2378 echo "configure:2379: checking whether to enable maintainer-specific portions of Makefiles" >&5
     2394echo "configure:2395: checking whether to enable maintainer-specific portions of Makefiles" >&5
    23792395    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    23802396if test "${enable_maintainer_mode+set}" = set; then
     
    24022418
    24032419echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    2404 echo "configure:2405: checking for executable suffix" >&5
     2420echo "configure:2421: checking for executable suffix" >&5
    24052421if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    24062422  echo $ac_n "(cached) $ac_c" 1>&6
     
    24122428  echo 'int main () { return 0; }' > conftest.$ac_ext
    24132429  ac_cv_exeext=
    2414   if { (eval echo configure:2415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2430  if { (eval echo configure:2431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    24152431    for file in conftest.*; do
    24162432      case $file in
     
    24412457set dummy gcc; ac_word=$2
    24422458echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2443 echo "configure:2444: checking for $ac_word" >&5
     2459echo "configure:2460: checking for $ac_word" >&5
    24442460if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    24452461  echo $ac_n "(cached) $ac_c" 1>&6
     
    24722488set dummy cc; ac_word=$2
    24732489echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2474 echo "configure:2475: checking for $ac_word" >&5
     2490echo "configure:2491: checking for $ac_word" >&5
    24752491if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    24762492  echo $ac_n "(cached) $ac_c" 1>&6
     
    25252541set dummy cl; ac_word=$2
    25262542echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2527 echo "configure:2528: checking for $ac_word" >&5
     2543echo "configure:2544: checking for $ac_word" >&5
    25282544if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    25292545  echo $ac_n "(cached) $ac_c" 1>&6
     
    25582574
    25592575echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2560 echo "configure:2561: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2576echo "configure:2577: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    25612577
    25622578ac_ext=c
     
    25692585cat > conftest.$ac_ext << EOF
    25702586
    2571 #line 2572 "configure"
     2587#line 2588 "configure"
    25722588#include "confdefs.h"
    25732589
    25742590main(){return(0);}
    25752591EOF
    2576 if { (eval echo configure:2577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2592if { (eval echo configure:2593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    25772593  ac_cv_prog_cc_works=yes
    25782594  # If we can't run a trivial program, we are probably using a cross compiler.
     
    26002616fi
    26012617echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2602 echo "configure:2603: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2618echo "configure:2619: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    26032619echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    26042620cross_compiling=$ac_cv_prog_cc_cross
    26052621
    26062622echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2607 echo "configure:2608: checking whether we are using GNU C" >&5
     2623echo "configure:2624: checking whether we are using GNU C" >&5
    26082624if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    26092625  echo $ac_n "(cached) $ac_c" 1>&6
     
    26142630#endif
    26152631EOF
    2616 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2632if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    26172633  ac_cv_prog_gcc=yes
    26182634else
     
    26332649CFLAGS=
    26342650echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2635 echo "configure:2636: checking whether ${CC-cc} accepts -g" >&5
     2651echo "configure:2652: checking whether ${CC-cc} accepts -g" >&5
    26362652if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    26372653  echo $ac_n "(cached) $ac_c" 1>&6
     
    26662682
    26672683ALL_LINGUAS=
    2668 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    2669 echo "configure:2670: checking how to run the C preprocessor" >&5
    2670 # On Suns, sometimes $CPP names a directory.
    2671 if test -n "$CPP" && test -d "$CPP"; then
    2672   CPP=
    2673 fi
    2674 if test -z "$CPP"; then
    2675 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
    2676   echo $ac_n "(cached) $ac_c" 1>&6
    2677 else
    2678     # This must be in double quotes, not single quotes, because CPP may get
    2679   # substituted into the Makefile and "${CC-cc}" will confuse make.
    2680   CPP="${CC-cc} -E"
    2681   # On the NeXT, cc -E runs the code through the compiler's parser,
    2682   # not just through cpp.
    2683   cat > conftest.$ac_ext <<EOF
    2684 #include <sys/types.h>
    2685 #line 2686 "configure"
    2686 #include "confdefs.h"
    2687 #include <assert.h>
    2688 Syntax Error
    2689 EOF
    2690 ac_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; }
    2692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2693 if test -z "$ac_err"; then
    2694   :
    2695 else
    2696   echo "$ac_err" >&5
    2697   echo "configure: failed program was:" >&5
    2698   cat conftest.$ac_ext >&5
    2699   rm -rf conftest*
    2700   CPP="${CC-cc} -E -traditional-cpp"
    2701   cat > conftest.$ac_ext <<EOF
    2702 #include <sys/types.h>
    2703 #line 2704 "configure"
    2704 #include "confdefs.h"
    2705 #include <assert.h>
    2706 Syntax Error
    2707 EOF
    2708 ac_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; }
    2710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2711 if test -z "$ac_err"; then
    2712   :
    2713 else
    2714   echo "$ac_err" >&5
    2715   echo "configure: failed program was:" >&5
    2716   cat conftest.$ac_ext >&5
    2717   rm -rf conftest*
    2718   CPP="${CC-cc} -nologo -E"
    2719   cat > conftest.$ac_ext <<EOF
    2720 #include <sys/types.h>
    2721 #line 2722 "configure"
    2722 #include "confdefs.h"
    2723 #include <assert.h>
    2724 Syntax Error
    2725 EOF
    2726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2727 { (eval echo configure:2728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2728 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2729 if test -z "$ac_err"; then
    2730   :
    2731 else
    2732   echo "$ac_err" >&5
    2733   echo "configure: failed program was:" >&5
    2734   cat conftest.$ac_ext >&5
    2735   rm -rf conftest*
    2736   CPP=/lib/cpp
    2737 fi
    2738 rm -f conftest*
    2739 fi
    2740 rm -f conftest*
    2741 fi
    2742 rm -f conftest*
    2743   ac_cv_prog_CPP="$CPP"
    2744 fi
    2745   CPP="$ac_cv_prog_CPP"
    2746 else
    2747   ac_cv_prog_CPP="$CPP"
    2748 fi
    2749 echo "$ac_t""$CPP" 1>&6
    2750 
    2751 # Extract the first word of "ranlib", so it can be a program name with args.
    2752 set dummy ranlib; ac_word=$2
    2753 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2754 echo "configure:2755: checking for $ac_word" >&5
    2755 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    2756   echo $ac_n "(cached) $ac_c" 1>&6
    2757 else
    2758   if test -n "$RANLIB"; then
    2759   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    2760 else
    2761   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    2762   ac_dummy="$PATH"
    2763   for ac_dir in $ac_dummy; do
    2764     test -z "$ac_dir" && ac_dir=.
    2765     if test -f $ac_dir/$ac_word -o \
    2766             -f $ac_dir/$ac_word$ac_exeext ; then
    2767       ac_cv_prog_RANLIB="ranlib"
    2768       break
    2769     fi
    2770   done
    2771   IFS="$ac_save_ifs"
    2772   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
    2773 fi
    2774 fi
    2775 RANLIB="$ac_cv_prog_RANLIB"
    2776 if test -n "$RANLIB"; then
    2777   echo "$ac_t""$RANLIB" 1>&6
    2778 else
    2779   echo "$ac_t""no" 1>&6
    2780 fi
    2781 
    2782 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2783 echo "configure:2784: checking for ANSI C header files" >&5
    2784 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    2785   echo $ac_n "(cached) $ac_c" 1>&6
    2786 else
    2787   cat > conftest.$ac_ext <<EOF
    2788 #include <sys/types.h>
    2789 #line 2790 "configure"
    2790 #include "confdefs.h"
    2791 #include <stdlib.h>
    2792 #include <stdarg.h>
    2793 #include <string.h>
    2794 #include <float.h>
    2795 EOF
    2796 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2797 { (eval echo configure:2798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2798 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2799 if test -z "$ac_err"; then
    2800   rm -rf conftest*
    2801   ac_cv_header_stdc=yes
    2802 else
    2803   echo "$ac_err" >&5
    2804   echo "configure: failed program was:" >&5
    2805   cat conftest.$ac_ext >&5
    2806   rm -rf conftest*
    2807   ac_cv_header_stdc=no
    2808 fi
    2809 rm -f conftest*
    2810 
    2811 if test $ac_cv_header_stdc = yes; then
    2812   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    2813 cat > conftest.$ac_ext <<EOF
    2814 #line 2815 "configure"
    2815 #include "confdefs.h"
    2816 #include <string.h>
    2817 EOF
    2818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2819   egrep "memchr" >/dev/null 2>&1; then
    2820   :
    2821 else
    2822   rm -rf conftest*
    2823   ac_cv_header_stdc=no
    2824 fi
    2825 rm -f conftest*
    2826 
    2827 fi
    2828 
    2829 if test $ac_cv_header_stdc = yes; then
    2830   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    2831 cat > conftest.$ac_ext <<EOF
    2832 #line 2833 "configure"
    2833 #include "confdefs.h"
    2834 #include <stdlib.h>
    2835 EOF
    2836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2837   egrep "free" >/dev/null 2>&1; then
    2838   :
    2839 else
    2840   rm -rf conftest*
    2841   ac_cv_header_stdc=no
    2842 fi
    2843 rm -f conftest*
    2844 
    2845 fi
    2846 
    2847 if test $ac_cv_header_stdc = yes; then
    2848   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    2849 if test "$cross_compiling" = yes; then
    2850   :
    2851 else
    2852   cat > conftest.$ac_ext <<EOF
    2853 #line 2854 "configure"
    2854 #include "confdefs.h"
    2855 #include <ctype.h>
    2856 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    2857 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    2858 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    2859 int main () { int i; for (i = 0; i < 256; i++)
    2860 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
    2861 exit (0); }
    2862 
    2863 EOF
    2864 if { (eval echo configure:2865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    2865 then
    2866   :
    2867 else
    2868   echo "configure: failed program was:" >&5
    2869   cat conftest.$ac_ext >&5
    2870   rm -fr conftest*
    2871   ac_cv_header_stdc=no
    2872 fi
    2873 rm -fr conftest*
    2874 fi
    2875 
    2876 fi
    2877 fi
    2878 
    2879 echo "$ac_t""$ac_cv_header_stdc" 1>&6
    2880 if test $ac_cv_header_stdc = yes; then
    2881   cat >> confdefs.h <<\EOF
    2882 #define STDC_HEADERS 1
    2883 EOF
    2884 
    2885 fi
    2886 
    2887 echo $ac_n "checking for working const""... $ac_c" 1>&6
    2888 echo "configure:2889: checking for working const" >&5
    2889 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    2890   echo $ac_n "(cached) $ac_c" 1>&6
    2891 else
    2892   cat > conftest.$ac_ext <<EOF
    2893 #line 2894 "configure"
    2894 #include "confdefs.h"
    2895 
    2896 int main() {
    2897 
    2898 /* Ultrix mips cc rejects this.  */
    2899 typedef int charset[2]; const charset x;
    2900 /* SunOS 4.1.1 cc rejects this.  */
    2901 char const *const *ccp;
    2902 char **p;
    2903 /* NEC SVR4.0.2 mips cc rejects this.  */
    2904 struct point {int x, y;};
    2905 static struct point const zero = {0,0};
    2906 /* AIX XL C 1.02.0.0 rejects this.
    2907    It does not let you subtract one const X* pointer from another in an arm
    2908    of an if-expression whose if-part is not a constant expression */
    2909 const char *g = "string";
    2910 ccp = &g + (g ? g-g : 0);
    2911 /* HPUX 7.0 cc rejects these. */
    2912 ++ccp;
    2913 p = (char**) ccp;
    2914 ccp = (char const *const *) p;
    2915 { /* SCO 3.2v4 cc rejects this.  */
    2916   char *t;
    2917   char const *s = 0 ? (char *) 0 : (char const *) 0;
    2918 
    2919   *t++ = 0;
    2920 }
    2921 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
    2922   int x[] = {25, 17};
    2923   const int *foo = &x[0];
    2924   ++foo;
    2925 }
    2926 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
    2927   typedef const int *iptr;
    2928   iptr p = 0;
    2929   ++p;
    2930 }
    2931 { /* AIX XL C 1.02.0.0 rejects this saying
    2932      "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
    2933   struct s { int j; const int *ap[3]; };
    2934   struct s *b; b->j = 5;
    2935 }
    2936 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    2937   const int foo = 10;
    2938 }
    2939 
    2940 ; return 0; }
    2941 EOF
    2942 if { (eval echo configure:2943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    2943   rm -rf conftest*
    2944   ac_cv_c_const=yes
    2945 else
    2946   echo "configure: failed program was:" >&5
    2947   cat conftest.$ac_ext >&5
    2948   rm -rf conftest*
    2949   ac_cv_c_const=no
    2950 fi
    2951 rm -f conftest*
    2952 fi
    2953 
    2954 echo "$ac_t""$ac_cv_c_const" 1>&6
    2955 if test $ac_cv_c_const = no; then
    2956   cat >> confdefs.h <<\EOF
    2957 #define const
    2958 EOF
    2959 
    2960 fi
    2961 
    2962 echo $ac_n "checking for inline""... $ac_c" 1>&6
    2963 echo "configure:2964: checking for inline" >&5
    2964 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    2965   echo $ac_n "(cached) $ac_c" 1>&6
    2966 else
    2967   ac_cv_c_inline=no
    2968 for ac_kw in inline __inline__ __inline; do
    2969   cat > conftest.$ac_ext <<EOF
    2970 #line 2971 "configure"
    2971 #include "confdefs.h"
    2972 
    2973 int main() {
    2974 } $ac_kw foo() {
    2975 ; return 0; }
    2976 EOF
    2977 if { (eval echo configure:2978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    2978   rm -rf conftest*
    2979   ac_cv_c_inline=$ac_kw; break
    2980 else
    2981   echo "configure: failed program was:" >&5
    2982   cat conftest.$ac_ext >&5
    2983 fi
    2984 rm -f conftest*
    2985 done
    2986 
    2987 fi
    2988 
    2989 echo "$ac_t""$ac_cv_c_inline" 1>&6
    2990 case "$ac_cv_c_inline" in
    2991   inline | yes) ;;
    2992   no) cat >> confdefs.h <<\EOF
    2993 #define inline
    2994 EOF
    2995  ;;
    2996   *)  cat >> confdefs.h <<EOF
    2997 #define inline $ac_cv_c_inline
    2998 EOF
    2999  ;;
    3000 esac
    3001 
    3002 echo $ac_n "checking for off_t""... $ac_c" 1>&6
    3003 echo "configure:3004: checking for off_t" >&5
    3004 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
    3005   echo $ac_n "(cached) $ac_c" 1>&6
    3006 else
    3007   cat > conftest.$ac_ext <<EOF
    3008 #line 3009 "configure"
    3009 #include "confdefs.h"
    3010 #include <sys/types.h>
    3011 #if STDC_HEADERS
    3012 #include <stdlib.h>
    3013 #include <stddef.h>
    3014 #endif
    3015 EOF
    3016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3017   egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
    3018   rm -rf conftest*
    3019   ac_cv_type_off_t=yes
    3020 else
    3021   rm -rf conftest*
    3022   ac_cv_type_off_t=no
    3023 fi
    3024 rm -f conftest*
    3025 
    3026 fi
    3027 echo "$ac_t""$ac_cv_type_off_t" 1>&6
    3028 if test $ac_cv_type_off_t = no; then
    3029   cat >> confdefs.h <<\EOF
    3030 #define off_t long
    3031 EOF
    3032 
    3033 fi
    3034 
    3035 echo $ac_n "checking for size_t""... $ac_c" 1>&6
    3036 echo "configure:3037: checking for size_t" >&5
    3037 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    3038   echo $ac_n "(cached) $ac_c" 1>&6
    3039 else
    3040   cat > conftest.$ac_ext <<EOF
    3041 #line 3042 "configure"
    3042 #include "confdefs.h"
    3043 #include <sys/types.h>
    3044 #if STDC_HEADERS
    3045 #include <stdlib.h>
    3046 #include <stddef.h>
    3047 #endif
    3048 EOF
    3049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3050   egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
    3051   rm -rf conftest*
    3052   ac_cv_type_size_t=yes
    3053 else
    3054   rm -rf conftest*
    3055   ac_cv_type_size_t=no
    3056 fi
    3057 rm -f conftest*
    3058 
    3059 fi
    3060 echo "$ac_t""$ac_cv_type_size_t" 1>&6
    3061 if test $ac_cv_type_size_t = no; then
    3062   cat >> confdefs.h <<\EOF
    3063 #define size_t unsigned
    3064 EOF
    3065 
    3066 fi
    3067 
    3068 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    3069 # for constant arguments.  Useless!
    3070 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    3071 echo "configure:3072: checking for working alloca.h" >&5
    3072 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    3073   echo $ac_n "(cached) $ac_c" 1>&6
    3074 else
    3075   cat > conftest.$ac_ext <<EOF
    3076 #line 3077 "configure"
    3077 #include "confdefs.h"
    3078 #include <alloca.h>
    3079 int main() {
    3080 char *p = alloca(2 * sizeof(int));
    3081 ; return 0; }
    3082 EOF
    3083 if { (eval echo configure:3084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    3084   rm -rf conftest*
    3085   ac_cv_header_alloca_h=yes
    3086 else
    3087   echo "configure: failed program was:" >&5
    3088   cat conftest.$ac_ext >&5
    3089   rm -rf conftest*
    3090   ac_cv_header_alloca_h=no
    3091 fi
    3092 rm -f conftest*
    3093 fi
    3094 
    3095 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
    3096 if test $ac_cv_header_alloca_h = yes; then
    3097   cat >> confdefs.h <<\EOF
    3098 #define HAVE_ALLOCA_H 1
    3099 EOF
    3100 
    3101 fi
    3102 
    3103 echo $ac_n "checking for alloca""... $ac_c" 1>&6
    3104 echo "configure:3105: checking for alloca" >&5
    3105 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    3106   echo $ac_n "(cached) $ac_c" 1>&6
    3107 else
    3108   cat > conftest.$ac_ext <<EOF
    3109 #line 3110 "configure"
    3110 #include "confdefs.h"
    3111 
    3112 #ifdef __GNUC__
    3113 # define alloca __builtin_alloca
    3114 #else
    3115 # ifdef _MSC_VER
    3116 #  include <malloc.h>
    3117 #  define alloca _alloca
    3118 # else
    3119 #  if HAVE_ALLOCA_H
    3120 #   include <alloca.h>
    3121 #  else
    3122 #   ifdef _AIX
    3123  #pragma alloca
    3124 #   else
    3125 #    ifndef alloca /* predefined by HP cc +Olibcalls */
    3126 char *alloca ();
    3127 #    endif
    3128 #   endif
    3129 #  endif
    3130 # endif
    3131 #endif
    3132 
    3133 int main() {
    3134 char *p = (char *) alloca(1);
    3135 ; return 0; }
    3136 EOF
    3137 if { (eval echo configure:3138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    3138   rm -rf conftest*
    3139   ac_cv_func_alloca_works=yes
    3140 else
    3141   echo "configure: failed program was:" >&5
    3142   cat conftest.$ac_ext >&5
    3143   rm -rf conftest*
    3144   ac_cv_func_alloca_works=no
    3145 fi
    3146 rm -f conftest*
    3147 fi
    3148 
    3149 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
    3150 if test $ac_cv_func_alloca_works = yes; then
    3151   cat >> confdefs.h <<\EOF
    3152 #define HAVE_ALLOCA 1
    3153 EOF
    3154 
    3155 fi
    3156 
    3157 if test $ac_cv_func_alloca_works = no; then
    3158   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
    3159   # that cause trouble.  Some versions do not even contain alloca or
    3160   # contain a buggy version.  If you still want to use their alloca,
    3161   # use ar to extract alloca.o from them instead of compiling alloca.c.
    3162   ALLOCA=alloca.${ac_objext}
    3163   cat >> confdefs.h <<\EOF
    3164 #define C_ALLOCA 1
    3165 EOF
    3166 
    3167 
    3168 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    3169 echo "configure:3170: checking whether alloca needs Cray hooks" >&5
    3170 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    3171   echo $ac_n "(cached) $ac_c" 1>&6
    3172 else
    3173   cat > conftest.$ac_ext <<EOF
    3174 #line 3175 "configure"
    3175 #include "confdefs.h"
    3176 #if defined(CRAY) && ! defined(CRAY2)
    3177 webecray
    3178 #else
    3179 wenotbecray
    3180 #endif
    3181 
    3182 EOF
    3183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3184   egrep "webecray" >/dev/null 2>&1; then
    3185   rm -rf conftest*
    3186   ac_cv_os_cray=yes
    3187 else
    3188   rm -rf conftest*
    3189   ac_cv_os_cray=no
    3190 fi
    3191 rm -f conftest*
    3192 
    3193 fi
    3194 
    3195 echo "$ac_t""$ac_cv_os_cray" 1>&6
    3196 if test $ac_cv_os_cray = yes; then
    3197 for ac_func in _getb67 GETB67 getb67; do
    3198   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3199 echo "configure:3200: checking for $ac_func" >&5
    3200 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    3201   echo $ac_n "(cached) $ac_c" 1>&6
    3202 else
    3203   cat > conftest.$ac_ext <<EOF
    3204 #line 3205 "configure"
    3205 #include "confdefs.h"
    3206 /* System header to define __stub macros and hopefully few prototypes,
    3207     which can conflict with char $ac_func(); below.  */
    3208 #include <assert.h>
    3209 /* Override any gcc2 internal prototype to avoid an error.  */
    3210 /* We use char because int might match the return type of a gcc2
    3211     builtin and then its argument prototype would still apply.  */
    3212 char $ac_func();
    3213 
    3214 int main() {
    3215 
    3216 /* The GNU C library defines this for functions which it implements
    3217     to always fail with ENOSYS.  Some functions are actually named
    3218     something starting with __ and the normal name is an alias.  */
    3219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    3220 choke me
    3221 #else
    3222 $ac_func();
    3223 #endif
    3224 
    3225 ; return 0; }
    3226 EOF
    3227 if { (eval echo configure:3228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    3228   rm -rf conftest*
    3229   eval "ac_cv_func_$ac_func=yes"
    3230 else
    3231   echo "configure: failed program was:" >&5
    3232   cat conftest.$ac_ext >&5
    3233   rm -rf conftest*
    3234   eval "ac_cv_func_$ac_func=no"
    3235 fi
    3236 rm -f conftest*
    3237 fi
    3238 
    3239 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
    3240   echo "$ac_t""yes" 1>&6
    3241   cat >> confdefs.h <<EOF
    3242 #define CRAY_STACKSEG_END $ac_func
    3243 EOF
    3244 
    3245   break
    3246 else
    3247   echo "$ac_t""no" 1>&6
    3248 fi
    3249 
    3250 done
    3251 fi
    3252 
    3253 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    3254 echo "configure:3255: checking stack direction for C alloca" >&5
    3255 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    3256   echo $ac_n "(cached) $ac_c" 1>&6
    3257 else
    3258   if test "$cross_compiling" = yes; then
    3259   ac_cv_c_stack_direction=0
    3260 else
    3261   cat > conftest.$ac_ext <<EOF
    3262 #line 3263 "configure"
    3263 #include "confdefs.h"
    3264 find_stack_direction ()
    3265 {
    3266   static char *addr = 0;
    3267   auto char dummy;
    3268   if (addr == 0)
    3269     {
    3270       addr = &dummy;
    3271       return find_stack_direction ();
    3272     }
    3273   else
    3274     return (&dummy > addr) ? 1 : -1;
    3275 }
    3276 main ()
    3277 {
    3278   exit (find_stack_direction() < 0);
    3279 }
    3280 EOF
    3281 if { (eval echo configure:3282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    3282 then
    3283   ac_cv_c_stack_direction=1
    3284 else
    3285   echo "configure: failed program was:" >&5
    3286   cat conftest.$ac_ext >&5
    3287   rm -fr conftest*
    3288   ac_cv_c_stack_direction=-1
    3289 fi
    3290 rm -fr conftest*
    3291 fi
    3292 
    3293 fi
    3294 
    3295 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
    3296 cat >> confdefs.h <<EOF
    3297 #define STACK_DIRECTION $ac_cv_c_stack_direction
    3298 EOF
    3299 
    3300 fi
    3301 
    3302 for ac_hdr in unistd.h
    3303 do
    3304 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    3305 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3306 echo "configure:3307: checking for $ac_hdr" >&5
    3307 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    3308   echo $ac_n "(cached) $ac_c" 1>&6
    3309 else
    3310   cat > conftest.$ac_ext <<EOF
    3311 #include <sys/types.h>
    3312 #line 3313 "configure"
    3313 #include "confdefs.h"
    3314 #include <$ac_hdr>
    3315 EOF
    3316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3317 { (eval echo configure:3318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    3318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    3319 if test -z "$ac_err"; then
    3320   rm -rf conftest*
    3321   eval "ac_cv_header_$ac_safe=yes"
    3322 else
    3323   echo "$ac_err" >&5
    3324   echo "configure: failed program was:" >&5
    3325   cat conftest.$ac_ext >&5
    3326   rm -rf conftest*
    3327   eval "ac_cv_header_$ac_safe=no"
    3328 fi
    3329 rm -f conftest*
    3330 fi
    3331 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    3332   echo "$ac_t""yes" 1>&6
    3333     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    3334   cat >> confdefs.h <<EOF
    3335 #define $ac_tr_hdr 1
    3336 EOF
    3337  
    3338 else
    3339   echo "$ac_t""no" 1>&6
    3340 fi
    3341 done
    3342 
    3343 for ac_func in getpagesize
    3344 do
    3345 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3346 echo "configure:3347: checking for $ac_func" >&5
    3347 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    3348   echo $ac_n "(cached) $ac_c" 1>&6
    3349 else
    3350   cat > conftest.$ac_ext <<EOF
    3351 #line 3352 "configure"
    3352 #include "confdefs.h"
    3353 /* System header to define __stub macros and hopefully few prototypes,
    3354     which can conflict with char $ac_func(); below.  */
    3355 #include <assert.h>
    3356 /* Override any gcc2 internal prototype to avoid an error.  */
    3357 /* We use char because int might match the return type of a gcc2
    3358     builtin and then its argument prototype would still apply.  */
    3359 char $ac_func();
    3360 
    3361 int main() {
    3362 
    3363 /* The GNU C library defines this for functions which it implements
    3364     to always fail with ENOSYS.  Some functions are actually named
    3365     something starting with __ and the normal name is an alias.  */
    3366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    3367 choke me
    3368 #else
    3369 $ac_func();
    3370 #endif
    3371 
    3372 ; return 0; }
    3373 EOF
    3374 if { (eval echo configure:3375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    3375   rm -rf conftest*
    3376   eval "ac_cv_func_$ac_func=yes"
    3377 else
    3378   echo "configure: failed program was:" >&5
    3379   cat conftest.$ac_ext >&5
    3380   rm -rf conftest*
    3381   eval "ac_cv_func_$ac_func=no"
    3382 fi
    3383 rm -f conftest*
    3384 fi
    3385 
    3386 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
    3387   echo "$ac_t""yes" 1>&6
    3388     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
    3389   cat >> confdefs.h <<EOF
    3390 #define $ac_tr_func 1
    3391 EOF
    3392  
    3393 else
    3394   echo "$ac_t""no" 1>&6
    3395 fi
    3396 done
    3397 
    3398 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    3399 echo "configure:3400: checking for working mmap" >&5
    3400 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    3401   echo $ac_n "(cached) $ac_c" 1>&6
    3402 else
    3403   if test "$cross_compiling" = yes; then
    3404   ac_cv_func_mmap_fixed_mapped=no
    3405 else
    3406   cat > conftest.$ac_ext <<EOF
    3407 #line 3408 "configure"
    3408 #include "confdefs.h"
    3409 
    3410 /* Thanks to Mike Haertel and Jim Avera for this test.
    3411    Here is a matrix of mmap possibilities:
    3412         mmap private not fixed
    3413         mmap private fixed at somewhere currently unmapped
    3414         mmap private fixed at somewhere already mapped
    3415         mmap shared not fixed
    3416         mmap shared fixed at somewhere currently unmapped
    3417         mmap shared fixed at somewhere already mapped
    3418    For private mappings, we should verify that changes cannot be read()
    3419    back from the file, nor mmap's back from the file at a different
    3420    address.  (There have been systems where private was not correctly
    3421    implemented like the infamous i386 svr4.0, and systems where the
    3422    VM page cache was not coherent with the filesystem buffer cache
    3423    like early versions of FreeBSD and possibly contemporary NetBSD.)
    3424    For shared mappings, we should conversely verify that changes get
    3425    propogated back to all the places they're supposed to be.
    3426 
    3427    Grep wants private fixed already mapped.
    3428    The main things grep needs to know about mmap are:
    3429    * does it exist and is it safe to write into the mmap'd area
    3430    * how to use it (BSD variants)  */
    3431 #include <sys/types.h>
    3432 #include <fcntl.h>
    3433 #include <sys/mman.h>
    3434 
    3435 /* This mess was copied from the GNU getpagesize.h.  */
    3436 #ifndef HAVE_GETPAGESIZE
    3437 # ifdef HAVE_UNISTD_H
    3438 #  include <unistd.h>
    3439 # endif
    3440 
    3441 /* Assume that all systems that can run configure have sys/param.h.  */
    3442 # ifndef HAVE_SYS_PARAM_H
    3443 #  define HAVE_SYS_PARAM_H 1
    3444 # endif
    3445 
    3446 # ifdef _SC_PAGESIZE
    3447 #  define getpagesize() sysconf(_SC_PAGESIZE)
    3448 # else /* no _SC_PAGESIZE */
    3449 #  ifdef HAVE_SYS_PARAM_H
    3450 #   include <sys/param.h>
    3451 #   ifdef EXEC_PAGESIZE
    3452 #    define getpagesize() EXEC_PAGESIZE
    3453 #   else /* no EXEC_PAGESIZE */
    3454 #    ifdef NBPG
    3455 #     define getpagesize() NBPG * CLSIZE
    3456 #     ifndef CLSIZE
    3457 #      define CLSIZE 1
    3458 #     endif /* no CLSIZE */
    3459 #    else /* no NBPG */
    3460 #     ifdef NBPC
    3461 #      define getpagesize() NBPC
    3462 #     else /* no NBPC */
    3463 #      ifdef PAGESIZE
    3464 #       define getpagesize() PAGESIZE
    3465 #      endif /* PAGESIZE */
    3466 #     endif /* no NBPC */
    3467 #    endif /* no NBPG */
    3468 #   endif /* no EXEC_PAGESIZE */
    3469 #  else /* no HAVE_SYS_PARAM_H */
    3470 #   define getpagesize() 8192   /* punt totally */
    3471 #  endif /* no HAVE_SYS_PARAM_H */
    3472 # endif /* no _SC_PAGESIZE */
    3473 
    3474 #endif /* no HAVE_GETPAGESIZE */
    3475 
    3476 #ifdef __cplusplus
    3477 extern "C" { void *malloc(unsigned); }
    3478 #else
    3479 char *malloc();
    3480 #endif
    3481 
    3482 int
    3483 main()
    3484 {
    3485         char *data, *data2, *data3;
    3486         int i, pagesize;
    3487         int fd;
    3488 
    3489         pagesize = getpagesize();
    3490 
    3491         /*
    3492          * First, make a file with some known garbage in it.
    3493          */
    3494         data = malloc(pagesize);
    3495         if (!data)
    3496                 exit(1);
    3497         for (i = 0; i < pagesize; ++i)
    3498                 *(data + i) = rand();
    3499         umask(0);
    3500         fd = creat("conftestmmap", 0600);
    3501         if (fd < 0)
    3502                 exit(1);
    3503         if (write(fd, data, pagesize) != pagesize)
    3504                 exit(1);
    3505         close(fd);
    3506 
    3507         /*
    3508          * Next, try to mmap the file at a fixed address which
    3509          * already has something else allocated at it.  If we can,
    3510          * also make sure that we see the same garbage.
    3511          */
    3512         fd = open("conftestmmap", O_RDWR);
    3513         if (fd < 0)
    3514                 exit(1);
    3515         data2 = malloc(2 * pagesize);
    3516         if (!data2)
    3517                 exit(1);
    3518         data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
    3519         if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
    3520             MAP_PRIVATE | MAP_FIXED, fd, 0L))
    3521                 exit(1);
    3522         for (i = 0; i < pagesize; ++i)
    3523                 if (*(data + i) != *(data2 + i))
    3524                         exit(1);
    3525 
    3526         /*
    3527          * Finally, make sure that changes to the mapped area
    3528          * do not percolate back to the file as seen by read().
    3529          * (This is a bug on some variants of i386 svr4.0.)
    3530          */
    3531         for (i = 0; i < pagesize; ++i)
    3532                 *(data2 + i) = *(data2 + i) + 1;
    3533         data3 = malloc(pagesize);
    3534         if (!data3)
    3535                 exit(1);
    3536         if (read(fd, data3, pagesize) != pagesize)
    3537                 exit(1);
    3538         for (i = 0; i < pagesize; ++i)
    3539                 if (*(data + i) != *(data3 + i))
    3540                         exit(1);
    3541         close(fd);
    3542         unlink("conftestmmap");
    3543         exit(0);
    3544 }
    3545 
    3546 EOF
    3547 if { (eval echo configure:3548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    3548 then
    3549   ac_cv_func_mmap_fixed_mapped=yes
    3550 else
    3551   echo "configure: failed program was:" >&5
    3552   cat conftest.$ac_ext >&5
    3553   rm -fr conftest*
    3554   ac_cv_func_mmap_fixed_mapped=no
    3555 fi
    3556 rm -fr conftest*
    3557 fi
    3558 
    3559 fi
    3560 
    3561 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
    3562 if test $ac_cv_func_mmap_fixed_mapped = yes; then
    3563   cat >> confdefs.h <<\EOF
    3564 #define HAVE_MMAP 1
    3565 EOF
    3566 
    3567 fi
    3568 
    3569                              
    3570    for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \
    3571 unistd.h values.h sys/param.h
    3572 do
    3573 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    3574 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3575 echo "configure:3576: checking for $ac_hdr" >&5
    3576 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    3577   echo $ac_n "(cached) $ac_c" 1>&6
    3578 else
    3579   cat > conftest.$ac_ext <<EOF
    3580 #include <sys/types.h>
    3581 #line 3582 "configure"
    3582 #include "confdefs.h"
    3583 #include <$ac_hdr>
    3584 EOF
    3585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3586 { (eval echo configure:3587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    3587 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    3588 if test -z "$ac_err"; then
    3589   rm -rf conftest*
    3590   eval "ac_cv_header_$ac_safe=yes"
    3591 else
    3592   echo "$ac_err" >&5
    3593   echo "configure: failed program was:" >&5
    3594   cat conftest.$ac_ext >&5
    3595   rm -rf conftest*
    3596   eval "ac_cv_header_$ac_safe=no"
    3597 fi
    3598 rm -f conftest*
    3599 fi
    3600 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    3601   echo "$ac_t""yes" 1>&6
    3602     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    3603   cat >> confdefs.h <<EOF
    3604 #define $ac_tr_hdr 1
    3605 EOF
    3606  
    3607 else
    3608   echo "$ac_t""no" 1>&6
    3609 fi
    3610 done
    3611 
    3612    for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \
    3613 __argz_count __argz_stringify __argz_next
    3614 do
    3615 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3616 echo "configure:3617: checking for $ac_func" >&5
    3617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    3618   echo $ac_n "(cached) $ac_c" 1>&6
    3619 else
    3620   cat > conftest.$ac_ext <<EOF
    3621 #line 3622 "configure"
    3622 #include "confdefs.h"
    3623 /* System header to define __stub macros and hopefully few prototypes,
    3624     which can conflict with char $ac_func(); below.  */
    3625 #include <assert.h>
    3626 /* Override any gcc2 internal prototype to avoid an error.  */
    3627 /* We use char because int might match the return type of a gcc2
    3628     builtin and then its argument prototype would still apply.  */
    3629 char $ac_func();
    3630 
    3631 int main() {
    3632 
    3633 /* The GNU C library defines this for functions which it implements
    3634     to always fail with ENOSYS.  Some functions are actually named
    3635     something starting with __ and the normal name is an alias.  */
    3636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    3637 choke me
    3638 #else
    3639 $ac_func();
    3640 #endif
    3641 
    3642 ; return 0; }
    3643 EOF
    3644 if { (eval echo configure:3645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    3645   rm -rf conftest*
    3646   eval "ac_cv_func_$ac_func=yes"
    3647 else
    3648   echo "configure: failed program was:" >&5
    3649   cat conftest.$ac_ext >&5
    3650   rm -rf conftest*
    3651   eval "ac_cv_func_$ac_func=no"
    3652 fi
    3653 rm -f conftest*
    3654 fi
    3655 
    3656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
    3657   echo "$ac_t""yes" 1>&6
    3658     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
    3659   cat >> confdefs.h <<EOF
    3660 #define $ac_tr_func 1
    3661 EOF
    3662  
    3663 else
    3664   echo "$ac_t""no" 1>&6
    3665 fi
    3666 done
    3667 
    3668 
    3669    if test "${ac_cv_func_stpcpy+set}" != "set"; then
    3670      for ac_func in stpcpy
    3671 do
    3672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3673 echo "configure:3674: checking for $ac_func" >&5
    3674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    3675   echo $ac_n "(cached) $ac_c" 1>&6
    3676 else
    3677   cat > conftest.$ac_ext <<EOF
    3678 #line 3679 "configure"
    3679 #include "confdefs.h"
    3680 /* System header to define __stub macros and hopefully few prototypes,
    3681     which can conflict with char $ac_func(); below.  */
    3682 #include <assert.h>
    3683 /* Override any gcc2 internal prototype to avoid an error.  */
    3684 /* We use char because int might match the return type of a gcc2
    3685     builtin and then its argument prototype would still apply.  */
    3686 char $ac_func();
    3687 
    3688 int main() {
    3689 
    3690 /* The GNU C library defines this for functions which it implements
    3691     to always fail with ENOSYS.  Some functions are actually named
    3692     something starting with __ and the normal name is an alias.  */
    3693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    3694 choke me
    3695 #else
    3696 $ac_func();
    3697 #endif
    3698 
    3699 ; return 0; }
    3700 EOF
    3701 if { (eval echo configure:3702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    3702   rm -rf conftest*
    3703   eval "ac_cv_func_$ac_func=yes"
    3704 else
    3705   echo "configure: failed program was:" >&5
    3706   cat conftest.$ac_ext >&5
    3707   rm -rf conftest*
    3708   eval "ac_cv_func_$ac_func=no"
    3709 fi
    3710 rm -f conftest*
    3711 fi
    3712 
    3713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
    3714   echo "$ac_t""yes" 1>&6
    3715     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
    3716   cat >> confdefs.h <<EOF
    3717 #define $ac_tr_func 1
    3718 EOF
    3719  
    3720 else
    3721   echo "$ac_t""no" 1>&6
    3722 fi
    3723 done
    3724 
    3725    fi
    3726    if test "${ac_cv_func_stpcpy}" = "yes"; then
    3727      cat >> confdefs.h <<\EOF
    3728 #define HAVE_STPCPY 1
    3729 EOF
    3730 
    3731    fi
    3732 
    3733    if test $ac_cv_header_locale_h = yes; then
    3734     echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
    3735 echo "configure:3736: checking for LC_MESSAGES" >&5
    3736 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
    3737   echo $ac_n "(cached) $ac_c" 1>&6
    3738 else
    3739   cat > conftest.$ac_ext <<EOF
    3740 #line 3741 "configure"
    3741 #include "confdefs.h"
    3742 #include <locale.h>
    3743 int main() {
    3744 return LC_MESSAGES
    3745 ; return 0; }
    3746 EOF
    3747 if { (eval echo configure:3748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    3748   rm -rf conftest*
    3749   am_cv_val_LC_MESSAGES=yes
    3750 else
    3751   echo "configure: failed program was:" >&5
    3752   cat conftest.$ac_ext >&5
    3753   rm -rf conftest*
    3754   am_cv_val_LC_MESSAGES=no
    3755 fi
    3756 rm -f conftest*
    3757 fi
    3758 
    3759 echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6
    3760     if test $am_cv_val_LC_MESSAGES = yes; then
    3761       cat >> confdefs.h <<\EOF
    3762 #define HAVE_LC_MESSAGES 1
    3763 EOF
    3764 
    3765     fi
    3766   fi
    3767    echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
    3768 echo "configure:3769: checking whether NLS is requested" >&5
    3769         # Check whether --enable-nls or --disable-nls was given.
    3770 if test "${enable_nls+set}" = set; then
    3771   enableval="$enable_nls"
    3772   USE_NLS=$enableval
    3773 else
    3774   USE_NLS=yes
    3775 fi
    3776 
    3777     echo "$ac_t""$USE_NLS" 1>&6
    3778    
    3779 
    3780     USE_INCLUDED_LIBINTL=no
    3781 
    3782         if test "$USE_NLS" = "yes"; then
    3783       cat >> confdefs.h <<\EOF
    3784 #define ENABLE_NLS 1
    3785 EOF
    3786 
    3787       echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
    3788 echo "configure:3789: checking whether included gettext is requested" >&5
    3789       # Check whether --with-included-gettext or --without-included-gettext was given.
    3790 if test "${with_included_gettext+set}" = set; then
    3791   withval="$with_included_gettext"
    3792   nls_cv_force_use_gnu_gettext=$withval
    3793 else
    3794   nls_cv_force_use_gnu_gettext=no
    3795 fi
    3796 
    3797       echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6
    3798 
    3799       nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
    3800       if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
    3801                                         nls_cv_header_intl=
    3802         nls_cv_header_libgt=
    3803         CATOBJEXT=NONE
    3804 
    3805         ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
    3806 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
    3807 echo "configure:3808: checking for libintl.h" >&5
    3808 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    3809   echo $ac_n "(cached) $ac_c" 1>&6
    3810 else
    3811   cat > conftest.$ac_ext <<EOF
    3812 #include <sys/types.h>
    3813 #line 3814 "configure"
    3814 #include "confdefs.h"
    3815 #include <libintl.h>
    3816 EOF
    3817 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3818 { (eval echo configure:3819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    3819 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    3820 if test -z "$ac_err"; then
    3821   rm -rf conftest*
    3822   eval "ac_cv_header_$ac_safe=yes"
    3823 else
    3824   echo "$ac_err" >&5
    3825   echo "configure: failed program was:" >&5
    3826   cat conftest.$ac_ext >&5
    3827   rm -rf conftest*
    3828   eval "ac_cv_header_$ac_safe=no"
    3829 fi
    3830 rm -f conftest*
    3831 fi
    3832 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    3833   echo "$ac_t""yes" 1>&6
    3834   echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
    3835 echo "configure:3836: checking for gettext in libc" >&5
    3836 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
    3837   echo $ac_n "(cached) $ac_c" 1>&6
    3838 else
    3839   cat > conftest.$ac_ext <<EOF
    3840 #line 3841 "configure"
    3841 #include "confdefs.h"
    3842 #include <libintl.h>
    3843 int main() {
    3844 return (int) gettext ("")
    3845 ; return 0; }
    3846 EOF
    3847 if { (eval echo configure:3848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    3848   rm -rf conftest*
    3849   gt_cv_func_gettext_libc=yes
    3850 else
    3851   echo "configure: failed program was:" >&5
    3852   cat conftest.$ac_ext >&5
    3853   rm -rf conftest*
    3854   gt_cv_func_gettext_libc=no
    3855 fi
    3856 rm -f conftest*
    3857 fi
    3858 
    3859 echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6
    3860 
    3861            if test "$gt_cv_func_gettext_libc" != "yes"; then
    3862              echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
    3863 echo "configure:3864: checking for bindtextdomain in -lintl" >&5
    3864 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
    3865 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    3866   echo $ac_n "(cached) $ac_c" 1>&6
    3867 else
    3868   ac_save_LIBS="$LIBS"
    3869 LIBS="-lintl  $LIBS"
    3870 cat > conftest.$ac_ext <<EOF
    3871 #line 3872 "configure"
    3872 #include "confdefs.h"
    3873 /* Override any gcc2 internal prototype to avoid an error.  */
    3874 /* We use char because int might match the return type of a gcc2
    3875     builtin and then its argument prototype would still apply.  */
    3876 char bindtextdomain();
    3877 
    3878 int main() {
    3879 bindtextdomain()
    3880 ; return 0; }
    3881 EOF
    3882 if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    3883   rm -rf conftest*
    3884   eval "ac_cv_lib_$ac_lib_var=yes"
    3885 else
    3886   echo "configure: failed program was:" >&5
    3887   cat conftest.$ac_ext >&5
    3888   rm -rf conftest*
    3889   eval "ac_cv_lib_$ac_lib_var=no"
    3890 fi
    3891 rm -f conftest*
    3892 LIBS="$ac_save_LIBS"
    3893 
    3894 fi
    3895 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    3896   echo "$ac_t""yes" 1>&6
    3897   echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
    3898 echo "configure:3899: checking for gettext in libintl" >&5
    3899 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
    3900   echo $ac_n "(cached) $ac_c" 1>&6
    3901 else
    3902   cat > conftest.$ac_ext <<EOF
    3903 #line 3904 "configure"
    3904 #include "confdefs.h"
    3905 
    3906 int main() {
    3907 return (int) gettext ("")
    3908 ; return 0; }
    3909 EOF
    3910 if { (eval echo configure:3911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    3911   rm -rf conftest*
    3912   gt_cv_func_gettext_libintl=yes
    3913 else
    3914   echo "configure: failed program was:" >&5
    3915   cat conftest.$ac_ext >&5
    3916   rm -rf conftest*
    3917   gt_cv_func_gettext_libintl=no
    3918 fi
    3919 rm -f conftest*
    3920 fi
    3921 
    3922 echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6
    3923 else
    3924   echo "$ac_t""no" 1>&6
    3925 fi
    3926 
    3927            fi
    3928 
    3929            if test "$gt_cv_func_gettext_libc" = "yes" \
    3930               || test "$gt_cv_func_gettext_libintl" = "yes"; then
    3931               cat >> confdefs.h <<\EOF
    3932 #define HAVE_GETTEXT 1
    3933 EOF
    3934 
    3935               # Extract the first word of "msgfmt", so it can be a program name with args.
    3936 set dummy msgfmt; ac_word=$2
    3937 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3938 echo "configure:3939: checking for $ac_word" >&5
    3939 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    3940   echo $ac_n "(cached) $ac_c" 1>&6
    3941 else
    3942   case "$MSGFMT" in
    3943   /*)
    3944   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
    3945   ;;
    3946   *)
    3947   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${PATH_IFS}"
    3948   for ac_dir in $PATH; do
    3949     test -z "$ac_dir" && ac_dir=.
    3950     if test -f $ac_dir/$ac_word; then
    3951       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
    3952         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
    3953         break
    3954       fi
    3955     fi
    3956   done
    3957   IFS="$ac_save_ifs"
    3958   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
    3959   ;;
    3960 esac
    3961 fi
    3962 MSGFMT="$ac_cv_path_MSGFMT"
    3963 if test -n "$MSGFMT"; then
    3964   echo "$ac_t""$MSGFMT" 1>&6
    3965 else
    3966   echo "$ac_t""no" 1>&6
    3967 fi
    3968               if test "$MSGFMT" != "no"; then
    3969                 for ac_func in dcgettext
    3970 do
    3971 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3972 echo "configure:3973: checking for $ac_func" >&5
    3973 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    3974   echo $ac_n "(cached) $ac_c" 1>&6
    3975 else
    3976   cat > conftest.$ac_ext <<EOF
    3977 #line 3978 "configure"
    3978 #include "confdefs.h"
    3979 /* System header to define __stub macros and hopefully few prototypes,
    3980     which can conflict with char $ac_func(); below.  */
    3981 #include <assert.h>
    3982 /* Override any gcc2 internal prototype to avoid an error.  */
    3983 /* We use char because int might match the return type of a gcc2
    3984     builtin and then its argument prototype would still apply.  */
    3985 char $ac_func();
    3986 
    3987 int main() {
    3988 
    3989 /* The GNU C library defines this for functions which it implements
    3990     to always fail with ENOSYS.  Some functions are actually named
    3991     something starting with __ and the normal name is an alias.  */
    3992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    3993 choke me
    3994 #else
    3995 $ac_func();
    3996 #endif
    3997 
    3998 ; return 0; }
    3999 EOF
    4000 if { (eval echo configure:4001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    4001   rm -rf conftest*
    4002   eval "ac_cv_func_$ac_func=yes"
    4003 else
    4004   echo "configure: failed program was:" >&5
    4005   cat conftest.$ac_ext >&5
    4006   rm -rf conftest*
    4007   eval "ac_cv_func_$ac_func=no"
    4008 fi
    4009 rm -f conftest*
    4010 fi
    4011 
    4012 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
    4013   echo "$ac_t""yes" 1>&6
    4014     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
    4015   cat >> confdefs.h <<EOF
    4016 #define $ac_tr_func 1
    4017 EOF
    4018  
    4019 else
    4020   echo "$ac_t""no" 1>&6
    4021 fi
    4022 done
    4023 
    4024                 # Extract the first word of "gmsgfmt", so it can be a program name with args.
    4025 set dummy gmsgfmt; ac_word=$2
    4026 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4027 echo "configure:4028: checking for $ac_word" >&5
    4028 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    4029   echo $ac_n "(cached) $ac_c" 1>&6
    4030 else
    4031   case "$GMSGFMT" in
    4032   /* | [a-zA-Z]:*)
    4033   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
    4034   ;;
    4035   ?:/*)                 
    4036   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
    4037   ;;
    4038   *)
    4039   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    4040   ac_dummy="$PATH"
    4041   for ac_dir in $ac_dummy; do
    4042     test -z "$ac_dir" && ac_dir=.
    4043     if test -f $ac_dir/$ac_word; then
    4044       ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
    4045       break
    4046     fi
    4047     if test -f $ac_dir/$ac_word$ac_exeext; then
    4048       ac_cv_path_GMSGFMT="$ac_dir/$ac_word$ac_exeext"
    4049       break
    4050     fi
    4051   done
    4052   IFS="$ac_save_ifs"
    4053   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
    4054   ;;
    4055 esac
    4056 fi
    4057 GMSGFMT="$ac_cv_path_GMSGFMT"
    4058 if test -n "$GMSGFMT"; then
    4059   echo "$ac_t""$GMSGFMT" 1>&6
    4060 else
    4061   echo "$ac_t""no" 1>&6
    4062 fi
    4063 
    4064                 # Extract the first word of "xgettext", so it can be a program name with args.
    4065 set dummy xgettext; ac_word=$2
    4066 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4067 echo "configure:4068: checking for $ac_word" >&5
    4068 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    4069   echo $ac_n "(cached) $ac_c" 1>&6
    4070 else
    4071   case "$XGETTEXT" in
    4072   /*)
    4073   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
    4074   ;;
    4075   *)
    4076   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${PATH_IFS}"
    4077   for ac_dir in $PATH; do
    4078     test -z "$ac_dir" && ac_dir=.
    4079     if test -f $ac_dir/$ac_word; then
    4080       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
    4081         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
    4082         break
    4083       fi
    4084     fi
    4085   done
    4086   IFS="$ac_save_ifs"
    4087   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
    4088   ;;
    4089 esac
    4090 fi
    4091 XGETTEXT="$ac_cv_path_XGETTEXT"
    4092 if test -n "$XGETTEXT"; then
    4093   echo "$ac_t""$XGETTEXT" 1>&6
    4094 else
    4095   echo "$ac_t""no" 1>&6
    4096 fi
    4097 
    4098                 cat > conftest.$ac_ext <<EOF
    4099 #line 4100 "configure"
    4100 #include "confdefs.h"
    4101 
    4102 int main() {
    4103 extern int _nl_msg_cat_cntr;
    4104                                return _nl_msg_cat_cntr
    4105 ; return 0; }
    4106 EOF
    4107 if { (eval echo configure:4108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    4108   rm -rf conftest*
    4109   CATOBJEXT=.gmo
    4110                    DATADIRNAME=share
    4111 else
    4112   echo "configure: failed program was:" >&5
    4113   cat conftest.$ac_ext >&5
    4114   rm -rf conftest*
    4115   CATOBJEXT=.mo
    4116                    DATADIRNAME=lib
    4117 fi
    4118 rm -f conftest*
    4119                 INSTOBJEXT=.mo
    4120               fi
    4121             fi
    4122        
    4123 else
    4124   echo "$ac_t""no" 1>&6
    4125 fi
    4126 
    4127 
    4128                
    4129         if test "$CATOBJEXT" = "NONE"; then
    4130                           nls_cv_use_gnu_gettext=yes
    4131         fi
    4132       fi
    4133 
    4134       if test "$nls_cv_use_gnu_gettext" = "yes"; then
    4135                 INTLOBJS="\$(GETTOBJS)"
    4136         # Extract the first word of "msgfmt", so it can be a program name with args.
    4137 set dummy msgfmt; ac_word=$2
    4138 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4139 echo "configure:4140: checking for $ac_word" >&5
    4140 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    4141   echo $ac_n "(cached) $ac_c" 1>&6
    4142 else
    4143   case "$MSGFMT" in
    4144   /*)
    4145   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
    4146   ;;
    4147   *)
    4148   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${PATH_IFS}"
    4149   for ac_dir in $PATH; do
    4150     test -z "$ac_dir" && ac_dir=.
    4151     if test -f $ac_dir/$ac_word; then
    4152       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
    4153         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
    4154         break
    4155       fi
    4156     fi
    4157   done
    4158   IFS="$ac_save_ifs"
    4159   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
    4160   ;;
    4161 esac
    4162 fi
    4163 MSGFMT="$ac_cv_path_MSGFMT"
    4164 if test -n "$MSGFMT"; then
    4165   echo "$ac_t""$MSGFMT" 1>&6
    4166 else
    4167   echo "$ac_t""no" 1>&6
    4168 fi
    4169 
    4170         # Extract the first word of "gmsgfmt", so it can be a program name with args.
    4171 set dummy gmsgfmt; ac_word=$2
    4172 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4173 echo "configure:4174: checking for $ac_word" >&5
    4174 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    4175   echo $ac_n "(cached) $ac_c" 1>&6
    4176 else
    4177   case "$GMSGFMT" in
    4178   /* | [a-zA-Z]:*)
    4179   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
    4180   ;;
    4181   ?:/*)                 
    4182   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
    4183   ;;
    4184   *)
    4185   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    4186   ac_dummy="$PATH"
    4187   for ac_dir in $ac_dummy; do
    4188     test -z "$ac_dir" && ac_dir=.
    4189     if test -f $ac_dir/$ac_word; then
    4190       ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
    4191       break
    4192     fi
    4193     if test -f $ac_dir/$ac_word$ac_exeext; then
    4194       ac_cv_path_GMSGFMT="$ac_dir/$ac_word$ac_exeext"
    4195       break
    4196     fi
    4197   done
    4198   IFS="$ac_save_ifs"
    4199   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
    4200   ;;
    4201 esac
    4202 fi
    4203 GMSGFMT="$ac_cv_path_GMSGFMT"
    4204 if test -n "$GMSGFMT"; then
    4205   echo "$ac_t""$GMSGFMT" 1>&6
    4206 else
    4207   echo "$ac_t""no" 1>&6
    4208 fi
    4209 
    4210         # Extract the first word of "xgettext", so it can be a program name with args.
    4211 set dummy xgettext; ac_word=$2
    4212 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4213 echo "configure:4214: checking for $ac_word" >&5
    4214 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    4215   echo $ac_n "(cached) $ac_c" 1>&6
    4216 else
    4217   case "$XGETTEXT" in
    4218   /*)
    4219   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
    4220   ;;
    4221   *)
    4222   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${PATH_IFS}"
    4223   for ac_dir in $PATH; do
    4224     test -z "$ac_dir" && ac_dir=.
    4225     if test -f $ac_dir/$ac_word; then
    4226       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
    4227         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
    4228         break
    4229       fi
    4230     fi
    4231   done
    4232   IFS="$ac_save_ifs"
    4233   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
    4234   ;;
    4235 esac
    4236 fi
    4237 XGETTEXT="$ac_cv_path_XGETTEXT"
    4238 if test -n "$XGETTEXT"; then
    4239   echo "$ac_t""$XGETTEXT" 1>&6
    4240 else
    4241   echo "$ac_t""no" 1>&6
    4242 fi
    4243 
    4244        
    4245         USE_INCLUDED_LIBINTL=yes
    4246         CATOBJEXT=.gmo
    4247         INSTOBJEXT=.mo
    4248         DATADIRNAME=share
    4249         INTLDEPS='$(top_builddir)/../intl/libintl.a'
    4250         INTLLIBS=$INTLDEPS
    4251         LIBS=`echo $LIBS | sed -e 's/-lintl//'`
    4252         nls_cv_header_intl=libintl.h
    4253         nls_cv_header_libgt=libgettext.h
    4254       fi
    4255 
    4256             if test "$XGETTEXT" != ":"; then
    4257                         if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
    4258           : ;
    4259         else
    4260           echo "$ac_t""found xgettext programs is not GNU xgettext; ignore it" 1>&6
    4261           XGETTEXT=":"
    4262         fi
    4263       fi
    4264 
    4265       # We need to process the po/ directory.
    4266       POSUB=po
    4267     else
    4268       DATADIRNAME=share
    4269       nls_cv_header_intl=libintl.h
    4270       nls_cv_header_libgt=libgettext.h
    4271     fi
    4272 
    4273     # If this is used in GNU gettext we have to set USE_NLS to `yes'
    4274     # because some of the sources are only built for this goal.
    4275     if test "$PACKAGE" = gettext; then
    4276       USE_NLS=yes
    4277       USE_INCLUDED_LIBINTL=yes
    4278     fi
    4279 
    4280                 for lang in $ALL_LINGUAS; do
    4281       GMOFILES="$GMOFILES $lang.gmo"
    4282       POFILES="$POFILES $lang.po"
    4283     done
    4284 
    4285        
    4286    
    4287    
    4288    
    4289    
    4290    
    4291    
    4292    
    4293    
    4294    
    4295    
    4296  
    4297 
    4298    if test "x$CATOBJEXT" != "x"; then
    4299      if test "x$ALL_LINGUAS" = "x"; then
    4300        LINGUAS=
    4301      else
    4302        echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
    4303 echo "configure:4304: checking for catalogs to be installed" >&5
    4304        NEW_LINGUAS=
    4305        for lang in ${LINGUAS=$ALL_LINGUAS}; do
    4306          case "$ALL_LINGUAS" in
    4307           *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
    4308          esac
    4309        done
    4310        LINGUAS=$NEW_LINGUAS
    4311        echo "$ac_t""$LINGUAS" 1>&6
    4312      fi
    4313 
    4314           if test -n "$LINGUAS"; then
    4315        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
    4316      fi
    4317    fi
    4318 
    4319             if test $ac_cv_header_locale_h = yes; then
    4320      INCLUDE_LOCALE_H="#include <locale.h>"
    4321    else
    4322      INCLUDE_LOCALE_H="\
    4323 /* The system does not provide the header <locale.h>.  Take care yourself.  */"
    4324    fi
    4325    
    4326 
    4327             if test -f $srcdir/po2tbl.sed.in; then
    4328       if test "$CATOBJEXT" = ".cat"; then
    4329          ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
    4330 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
    4331 echo "configure:4332: checking for linux/version.h" >&5
    4332 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    4333   echo $ac_n "(cached) $ac_c" 1>&6
    4334 else
    4335   cat > conftest.$ac_ext <<EOF
    4336 #include <sys/types.h>
    4337 #line 4338 "configure"
    4338 #include "confdefs.h"
    4339 #include <linux/version.h>
    4340 EOF
    4341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4342 { (eval echo configure:4343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    4343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    4344 if test -z "$ac_err"; then
    4345   rm -rf conftest*
    4346   eval "ac_cv_header_$ac_safe=yes"
    4347 else
    4348   echo "$ac_err" >&5
    4349   echo "configure: failed program was:" >&5
    4350   cat conftest.$ac_ext >&5
    4351   rm -rf conftest*
    4352   eval "ac_cv_header_$ac_safe=no"
    4353 fi
    4354 rm -f conftest*
    4355 fi
    4356 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    4357   echo "$ac_t""yes" 1>&6
    4358   msgformat=linux
    4359 else
    4360   echo "$ac_t""no" 1>&6
    4361 msgformat=xopen
    4362 fi
    4363 
    4364 
    4365                          sed -e '/^#/d' $srcdir/$msgformat-msg.sed > po2msg.sed
    4366       fi
    4367             sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
    4368          $srcdir/po2tbl.sed.in > po2tbl.sed
    4369    fi
    4370 
    4371             if test "$PACKAGE" = "gettext"; then
    4372      GT_NO="#NO#"
    4373      GT_YES=
    4374    else
    4375      GT_NO=
    4376      GT_YES="#YES#"
    4377    fi
    4378    
    4379    
    4380 
    4381    MKINSTALLDIRS="\$(srcdir)/../../mkinstalldirs"
    4382    
    4383 
    4384       l=
    4385    
    4386 
    4387             if test -d $srcdir/po; then
    4388       test -d po || mkdir po
    4389       if test "x$srcdir" != "x."; then
    4390                  if test "x`echo $srcdir | sed -e 's@.\:/.*@@'  -e 's@/.*@@' `" = "x"; then
    4391             posrcprefix="$srcdir/"
    4392          else
    4393             posrcprefix="../$srcdir/"
    4394          fi
    4395       else
    4396          posrcprefix="../"
    4397       fi
    4398       rm -f po/POTFILES
    4399       sed -e "/^#/d" -e "/^\$/d" -e "s,.*,      $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
    4400          < $srcdir/po/POTFILES.in > po/POTFILES
    4401    fi
    4402  
     2684CY_GNU_GETTEXT
    44032685
    44042686# Permit host specific settings.
     
    44182700# ./install, which can be erroneously created by make from ./install.sh.
    44192701echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    4420 echo "configure:4421: checking for a BSD compatible install" >&5
     2702echo "configure:2703: checking for a BSD compatible install" >&5
    44212703if test -z "$INSTALL"; then
    44222704if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    45032785else
    45042786  echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6
    4505 echo "configure:4506: checking for build system executable suffix" >&5
     2787echo "configure:2788: checking for build system executable suffix" >&5
    45062788if eval "test \"`echo '$''{'bfd_cv_build_exeext'+set}'`\" = set"; then
    45072789  echo $ac_n "(cached) $ac_c" 1>&6
     
    45272809
    45282810
     2811echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
     2812echo "configure:2813: checking how to run the C preprocessor" >&5
     2813# On Suns, sometimes $CPP names a directory.
     2814if test -n "$CPP" && test -d "$CPP"; then
     2815  CPP=
     2816fi
     2817if test -z "$CPP"; then
     2818if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
     2819  echo $ac_n "(cached) $ac_c" 1>&6
     2820else
     2821    # This must be in double quotes, not single quotes, because CPP may get
     2822  # substituted into the Makefile and "${CC-cc}" will confuse make.
     2823  CPP="${CC-cc} -E"
     2824  # On the NeXT, cc -E runs the code through the compiler's parser,
     2825  # not just through cpp.
     2826  cat > conftest.$ac_ext <<EOF
     2827#include <sys/types.h>
     2828#line 2829 "configure"
     2829#include "confdefs.h"
     2830#include <assert.h>
     2831Syntax Error
     2832EOF
     2833ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     2834{ (eval echo configure:2835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2835ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     2836if test -z "$ac_err"; then
     2837  :
     2838else
     2839  echo "$ac_err" >&5
     2840  echo "configure: failed program was:" >&5
     2841  cat conftest.$ac_ext >&5
     2842  rm -rf conftest*
     2843  CPP="${CC-cc} -E -traditional-cpp"
     2844  cat > conftest.$ac_ext <<EOF
     2845#include <sys/types.h>
     2846#line 2847 "configure"
     2847#include "confdefs.h"
     2848#include <assert.h>
     2849Syntax Error
     2850EOF
     2851ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     2852{ (eval echo configure:2853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2853ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     2854if test -z "$ac_err"; then
     2855  :
     2856else
     2857  echo "$ac_err" >&5
     2858  echo "configure: failed program was:" >&5
     2859  cat conftest.$ac_ext >&5
     2860  rm -rf conftest*
     2861  CPP="${CC-cc} -nologo -E"
     2862  cat > conftest.$ac_ext <<EOF
     2863#include <sys/types.h>
     2864#line 2865 "configure"
     2865#include "confdefs.h"
     2866#include <assert.h>
     2867Syntax Error
     2868EOF
     2869ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     2870{ (eval echo configure:2871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2871ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     2872if test -z "$ac_err"; then
     2873  :
     2874else
     2875  echo "$ac_err" >&5
     2876  echo "configure: failed program was:" >&5
     2877  cat conftest.$ac_ext >&5
     2878  rm -rf conftest*
     2879  CPP=/lib/cpp
     2880fi
     2881rm -f conftest*
     2882fi
     2883rm -f conftest*
     2884fi
     2885rm -f conftest*
     2886  ac_cv_prog_CPP="$CPP"
     2887fi
     2888  CPP="$ac_cv_prog_CPP"
     2889else
     2890  ac_cv_prog_CPP="$CPP"
     2891fi
     2892echo "$ac_t""$CPP" 1>&6
     2893
    45292894for ac_hdr in stddef.h string.h strings.h stdlib.h time.h unistd.h
    45302895do
    45312896ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    45322897echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4533 echo "configure:4534: checking for $ac_hdr" >&5
     2898echo "configure:2899: checking for $ac_hdr" >&5
    45342899if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    45352900  echo $ac_n "(cached) $ac_c" 1>&6
     
    45372902  cat > conftest.$ac_ext <<EOF
    45382903#include <sys/types.h>
    4539 #line 4540 "configure"
     2904#line 2905 "configure"
    45402905#include "confdefs.h"
    45412906#include <$ac_hdr>
    45422907EOF
    45432908ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4544 { (eval echo configure:4545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2909{ (eval echo configure:2910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    45452910ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    45462911if test -z "$ac_err"; then
     
    45722937ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    45732938echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4574 echo "configure:4575: checking for $ac_hdr" >&5
     2939echo "configure:2940: checking for $ac_hdr" >&5
    45752940if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    45762941  echo $ac_n "(cached) $ac_c" 1>&6
     
    45782943  cat > conftest.$ac_ext <<EOF
    45792944#include <sys/types.h>
    4580 #line 4581 "configure"
     2945#line 2946 "configure"
    45812946#include "confdefs.h"
    45822947#include <$ac_hdr>
    45832948EOF
    45842949ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4585 { (eval echo configure:4586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2950{ (eval echo configure:2951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    45862951ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    45872952if test -z "$ac_err"; then
     
    46102975
    46112976echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    4612 echo "configure:4613: checking whether time.h and sys/time.h may both be included" >&5
     2977echo "configure:2978: checking whether time.h and sys/time.h may both be included" >&5
    46132978if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    46142979  echo $ac_n "(cached) $ac_c" 1>&6
    46152980else
    46162981  cat > conftest.$ac_ext <<EOF
    4617 #line 4618 "configure"
     2982#line 2983 "configure"
    46182983#include "confdefs.h"
    46192984#include <sys/types.h>
     
    46242989; return 0; }
    46252990EOF
    4626 if { (eval echo configure:4627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2991if { (eval echo configure:2992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    46272992  rm -rf conftest*
    46282993  ac_cv_header_time=yes
     
    46493014ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    46503015echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
    4651 echo "configure:4652: checking for $ac_hdr that defines DIR" >&5
     3016echo "configure:3017: checking for $ac_hdr that defines DIR" >&5
    46523017if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
    46533018  echo $ac_n "(cached) $ac_c" 1>&6
    46543019else
    46553020  cat > conftest.$ac_ext <<EOF
    4656 #line 4657 "configure"
     3021#line 3022 "configure"
    46573022#include "confdefs.h"
    46583023#include <sys/types.h>
     
    46623027; return 0; }
    46633028EOF
    4664 if { (eval echo configure:4665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3029if { (eval echo configure:3030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    46653030  rm -rf conftest*
    46663031  eval "ac_cv_header_dirent_$ac_safe=yes"
     
    46873052if test $ac_header_dirent = dirent.h; then
    46883053echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
    4689 echo "configure:4690: checking for opendir in -ldir" >&5
     3054echo "configure:3055: checking for opendir in -ldir" >&5
    46903055ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
    46913056if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46953060LIBS="-ldir  $LIBS"
    46963061cat > conftest.$ac_ext <<EOF
    4697 #line 4698 "configure"
     3062#line 3063 "configure"
    46983063#include "confdefs.h"
    46993064/* Override any gcc2 internal prototype to avoid an error.  */
     
    47063071; return 0; }
    47073072EOF
    4708 if { (eval echo configure:4709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3073if { (eval echo configure:3074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47093074  rm -rf conftest*
    47103075  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47283093else
    47293094echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
    4730 echo "configure:4731: checking for opendir in -lx" >&5
     3095echo "configure:3096: checking for opendir in -lx" >&5
    47313096ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
    47323097if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47363101LIBS="-lx  $LIBS"
    47373102cat > conftest.$ac_ext <<EOF
    4738 #line 4739 "configure"
     3103#line 3104 "configure"
    47393104#include "confdefs.h"
    47403105/* Override any gcc2 internal prototype to avoid an error.  */
     
    47473112; return 0; }
    47483113EOF
    4749 if { (eval echo configure:4750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3114if { (eval echo configure:3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47503115  rm -rf conftest*
    47513116  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47723137do
    47733138echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4774 echo "configure:4775: checking for $ac_func" >&5
     3139echo "configure:3140: checking for $ac_func" >&5
    47753140if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    47763141  echo $ac_n "(cached) $ac_c" 1>&6
    47773142else
    47783143  cat > conftest.$ac_ext <<EOF
    4779 #line 4780 "configure"
     3144#line 3145 "configure"
    47803145#include "confdefs.h"
    47813146/* System header to define __stub macros and hopefully few prototypes,
     
    48003165; return 0; }
    48013166EOF
    4802 if { (eval echo configure:4803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3167if { (eval echo configure:3168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48033168  rm -rf conftest*
    48043169  eval "ac_cv_func_$ac_func=yes"
     
    48273192
    48283193case "${host}" in
    4829 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
     3194*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows* | *-*-os2*)
    48303195  cat >> confdefs.h <<\EOF
    48313196#define USE_BINARY_FOPEN 1
     
    48353200
    48363201echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6
    4837 echo "configure:4838: checking whether strstr must be declared" >&5
     3202echo "configure:3203: checking whether strstr must be declared" >&5
    48383203if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then
    48393204  echo $ac_n "(cached) $ac_c" 1>&6
    48403205else
    48413206  cat > conftest.$ac_ext <<EOF
    4842 #line 4843 "configure"
     3207#line 3208 "configure"
    48433208#include "confdefs.h"
    48443209
     
    48613226; return 0; }
    48623227EOF
    4863 if { (eval echo configure:4864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3228if { (eval echo configure:3229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    48643229  rm -rf conftest*
    48653230  bfd_cv_decl_needed_strstr=no
     
    48823247
    48833248echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6
    4884 echo "configure:4885: checking whether malloc must be declared" >&5
     3249echo "configure:3250: checking whether malloc must be declared" >&5
    48853250if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+set}'`\" = set"; then
    48863251  echo $ac_n "(cached) $ac_c" 1>&6
    48873252else
    48883253  cat > conftest.$ac_ext <<EOF
    4889 #line 4890 "configure"
     3254#line 3255 "configure"
    48903255#include "confdefs.h"
    48913256
     
    49083273; return 0; }
    49093274EOF
    4910 if { (eval echo configure:4911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3275if { (eval echo configure:3276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    49113276  rm -rf conftest*
    49123277  bfd_cv_decl_needed_malloc=no
     
    49293294
    49303295echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6
    4931 echo "configure:4932: checking whether realloc must be declared" >&5
     3296echo "configure:3297: checking whether realloc must be declared" >&5
    49323297if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+set}'`\" = set"; then
    49333298  echo $ac_n "(cached) $ac_c" 1>&6
    49343299else
    49353300  cat > conftest.$ac_ext <<EOF
    4936 #line 4937 "configure"
     3301#line 3302 "configure"
    49373302#include "confdefs.h"
    49383303
     
    49553320; return 0; }
    49563321EOF
    4957 if { (eval echo configure:4958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3322if { (eval echo configure:3323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    49583323  rm -rf conftest*
    49593324  bfd_cv_decl_needed_realloc=no
     
    49763341
    49773342echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6
    4978 echo "configure:4979: checking whether free must be declared" >&5
     3343echo "configure:3344: checking whether free must be declared" >&5
    49793344if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then
    49803345  echo $ac_n "(cached) $ac_c" 1>&6
    49813346else
    49823347  cat > conftest.$ac_ext <<EOF
    4983 #line 4984 "configure"
     3348#line 3349 "configure"
    49843349#include "confdefs.h"
    49853350
     
    50023367; return 0; }
    50033368EOF
    5004 if { (eval echo configure:5005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3369if { (eval echo configure:3370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    50053370  rm -rf conftest*
    50063371  bfd_cv_decl_needed_free=no
     
    50233388
    50243389echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6
    5025 echo "configure:5026: checking whether getenv must be declared" >&5
     3390echo "configure:3391: checking whether getenv must be declared" >&5
    50263391if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then
    50273392  echo $ac_n "(cached) $ac_c" 1>&6
    50283393else
    50293394  cat > conftest.$ac_ext <<EOF
    5030 #line 5031 "configure"
     3395#line 3396 "configure"
    50313396#include "confdefs.h"
    50323397
     
    50493414; return 0; }
    50503415EOF
    5051 if { (eval echo configure:5052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3416if { (eval echo configure:3417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    50523417  rm -rf conftest*
    50533418  bfd_cv_decl_needed_getenv=no
     
    52753640ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    52763641echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    5277 echo "configure:5278: checking for $ac_hdr" >&5
     3642echo "configure:3643: checking for $ac_hdr" >&5
    52783643if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    52793644  echo $ac_n "(cached) $ac_c" 1>&6
     
    52813646  cat > conftest.$ac_ext <<EOF
    52823647#include <sys/types.h>
    5283 #line 5284 "configure"
     3648#line 3649 "configure"
    52843649#include "confdefs.h"
    52853650#include <$ac_hdr>
    52863651EOF
    52873652ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5288 { (eval echo configure:5289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3653{ (eval echo configure:3654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    52893654ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    52903655if test -z "$ac_err"; then
     
    53143679  if test "$ac_cv_header_sys_procfs_h" = yes; then
    53153680    echo $ac_n "checking for prstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5316 echo "configure:5317: checking for prstatus_t in sys/procfs.h" >&5
     3681echo "configure:3682: checking for prstatus_t in sys/procfs.h" >&5
    53173682 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus_t'+set}'`\" = set"; then
    53183683  echo $ac_n "(cached) $ac_c" 1>&6
    53193684else
    53203685  cat > conftest.$ac_ext <<EOF
    5321 #line 5322 "configure"
     3686#line 3687 "configure"
    53223687#include "confdefs.h"
    53233688
     
    53283693; return 0; }
    53293694EOF
    5330 if { (eval echo configure:5331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3695if { (eval echo configure:3696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    53313696  rm -rf conftest*
    53323697  bfd_cv_have_sys_procfs_type_prstatus_t=yes
     
    53503715
    53513716    echo $ac_n "checking for prstatus32_t in sys/procfs.h""... $ac_c" 1>&6
    5352 echo "configure:5353: checking for prstatus32_t in sys/procfs.h" >&5
     3717echo "configure:3718: checking for prstatus32_t in sys/procfs.h" >&5
    53533718 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus32_t'+set}'`\" = set"; then
    53543719  echo $ac_n "(cached) $ac_c" 1>&6
    53553720else
    53563721  cat > conftest.$ac_ext <<EOF
    5357 #line 5358 "configure"
     3722#line 3723 "configure"
    53583723#include "confdefs.h"
    53593724
     
    53643729; return 0; }
    53653730EOF
    5366 if { (eval echo configure:5367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3731if { (eval echo configure:3732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    53673732  rm -rf conftest*
    53683733  bfd_cv_have_sys_procfs_type_prstatus32_t=yes
     
    53863751
    53873752    echo $ac_n "checking for prstatus_t.pr_who in sys/procfs.h""... $ac_c" 1>&6
    5388 echo "configure:5389: checking for prstatus_t.pr_who in sys/procfs.h" >&5
     3753echo "configure:3754: checking for prstatus_t.pr_who in sys/procfs.h" >&5
    53893754 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who'+set}'`\" = set"; then
    53903755  echo $ac_n "(cached) $ac_c" 1>&6
    53913756else
    53923757  cat > conftest.$ac_ext <<EOF
    5393 #line 5394 "configure"
     3758#line 3759 "configure"
    53943759#include "confdefs.h"
    53953760
     
    54003765; return 0; }
    54013766EOF
    5402 if { (eval echo configure:5403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3767if { (eval echo configure:3768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    54033768  rm -rf conftest*
    54043769  bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
     
    54223787
    54233788    echo $ac_n "checking for prstatus32_t.pr_who in sys/procfs.h""... $ac_c" 1>&6
    5424 echo "configure:5425: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
     3789echo "configure:3790: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
    54253790 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who'+set}'`\" = set"; then
    54263791  echo $ac_n "(cached) $ac_c" 1>&6
    54273792else
    54283793  cat > conftest.$ac_ext <<EOF
    5429 #line 5430 "configure"
     3794#line 3795 "configure"
    54303795#include "confdefs.h"
    54313796
     
    54363801; return 0; }
    54373802EOF
    5438 if { (eval echo configure:5439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3803if { (eval echo configure:3804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    54393804  rm -rf conftest*
    54403805  bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
     
    54583823
    54593824    echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5460 echo "configure:5461: checking for pstatus_t in sys/procfs.h" >&5
     3825echo "configure:3826: checking for pstatus_t in sys/procfs.h" >&5
    54613826 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then
    54623827  echo $ac_n "(cached) $ac_c" 1>&6
    54633828else
    54643829  cat > conftest.$ac_ext <<EOF
    5465 #line 5466 "configure"
     3830#line 3831 "configure"
    54663831#include "confdefs.h"
    54673832
     
    54723837; return 0; }
    54733838EOF
    5474 if { (eval echo configure:5475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3839if { (eval echo configure:3840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    54753840  rm -rf conftest*
    54763841  bfd_cv_have_sys_procfs_type_pstatus_t=yes
     
    54943859
    54953860    echo $ac_n "checking for pxstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5496 echo "configure:5497: checking for pxstatus_t in sys/procfs.h" >&5
     3861echo "configure:3862: checking for pxstatus_t in sys/procfs.h" >&5
    54973862 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pxstatus_t'+set}'`\" = set"; then
    54983863  echo $ac_n "(cached) $ac_c" 1>&6
    54993864else
    55003865  cat > conftest.$ac_ext <<EOF
    5501 #line 5502 "configure"
     3866#line 3867 "configure"
    55023867#include "confdefs.h"
    55033868
     
    55083873; return 0; }
    55093874EOF
    5510 if { (eval echo configure:5511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3875if { (eval echo configure:3876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    55113876  rm -rf conftest*
    55123877  bfd_cv_have_sys_procfs_type_pxstatus_t=yes
     
    55303895
    55313896    echo $ac_n "checking for pstatus32_t in sys/procfs.h""... $ac_c" 1>&6
    5532 echo "configure:5533: checking for pstatus32_t in sys/procfs.h" >&5
     3897echo "configure:3898: checking for pstatus32_t in sys/procfs.h" >&5
    55333898 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus32_t'+set}'`\" = set"; then
    55343899  echo $ac_n "(cached) $ac_c" 1>&6
    55353900else
    55363901  cat > conftest.$ac_ext <<EOF
    5537 #line 5538 "configure"
     3902#line 3903 "configure"
    55383903#include "confdefs.h"
    55393904
     
    55443909; return 0; }
    55453910EOF
    5546 if { (eval echo configure:5547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3911if { (eval echo configure:3912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    55473912  rm -rf conftest*
    55483913  bfd_cv_have_sys_procfs_type_pstatus32_t=yes
     
    55663931
    55673932    echo $ac_n "checking for prpsinfo_t in sys/procfs.h""... $ac_c" 1>&6
    5568 echo "configure:5569: checking for prpsinfo_t in sys/procfs.h" >&5
     3933echo "configure:3934: checking for prpsinfo_t in sys/procfs.h" >&5
    55693934 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo_t'+set}'`\" = set"; then
    55703935  echo $ac_n "(cached) $ac_c" 1>&6
    55713936else
    55723937  cat > conftest.$ac_ext <<EOF
    5573 #line 5574 "configure"
     3938#line 3939 "configure"
    55743939#include "confdefs.h"
    55753940
     
    55803945; return 0; }
    55813946EOF
    5582 if { (eval echo configure:5583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3947if { (eval echo configure:3948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    55833948  rm -rf conftest*
    55843949  bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
     
    56023967
    56033968    echo $ac_n "checking for prpsinfo32_t in sys/procfs.h""... $ac_c" 1>&6
    5604 echo "configure:5605: checking for prpsinfo32_t in sys/procfs.h" >&5
     3969echo "configure:3970: checking for prpsinfo32_t in sys/procfs.h" >&5
    56053970 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo32_t'+set}'`\" = set"; then
    56063971  echo $ac_n "(cached) $ac_c" 1>&6
    56073972else
    56083973  cat > conftest.$ac_ext <<EOF
    5609 #line 5610 "configure"
     3974#line 3975 "configure"
    56103975#include "confdefs.h"
    56113976
     
    56163981; return 0; }
    56173982EOF
    5618 if { (eval echo configure:5619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3983if { (eval echo configure:3984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    56193984  rm -rf conftest*
    56203985  bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
     
    56384003
    56394004    echo $ac_n "checking for psinfo_t in sys/procfs.h""... $ac_c" 1>&6
    5640 echo "configure:5641: checking for psinfo_t in sys/procfs.h" >&5
     4005echo "configure:4006: checking for psinfo_t in sys/procfs.h" >&5
    56414006 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo_t'+set}'`\" = set"; then
    56424007  echo $ac_n "(cached) $ac_c" 1>&6
    56434008else
    56444009  cat > conftest.$ac_ext <<EOF
    5645 #line 5646 "configure"
     4010#line 4011 "configure"
    56464011#include "confdefs.h"
    56474012
     
    56524017; return 0; }
    56534018EOF
    5654 if { (eval echo configure:5655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4019if { (eval echo configure:4020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    56554020  rm -rf conftest*
    56564021  bfd_cv_have_sys_procfs_type_psinfo_t=yes
     
    56744039
    56754040    echo $ac_n "checking for psinfo32_t in sys/procfs.h""... $ac_c" 1>&6
    5676 echo "configure:5677: checking for psinfo32_t in sys/procfs.h" >&5
     4041echo "configure:4042: checking for psinfo32_t in sys/procfs.h" >&5
    56774042 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo32_t'+set}'`\" = set"; then
    56784043  echo $ac_n "(cached) $ac_c" 1>&6
    56794044else
    56804045  cat > conftest.$ac_ext <<EOF
    5681 #line 5682 "configure"
     4046#line 4047 "configure"
    56824047#include "confdefs.h"
    56834048
     
    56884053; return 0; }
    56894054EOF
    5690 if { (eval echo configure:5691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4055if { (eval echo configure:4056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    56914056  rm -rf conftest*
    56924057  bfd_cv_have_sys_procfs_type_psinfo32_t=yes
     
    57104075
    57114076    echo $ac_n "checking for lwpstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5712 echo "configure:5713: checking for lwpstatus_t in sys/procfs.h" >&5
     4077echo "configure:4078: checking for lwpstatus_t in sys/procfs.h" >&5
    57134078 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpstatus_t'+set}'`\" = set"; then
    57144079  echo $ac_n "(cached) $ac_c" 1>&6
    57154080else
    57164081  cat > conftest.$ac_ext <<EOF
    5717 #line 5718 "configure"
     4082#line 4083 "configure"
    57184083#include "confdefs.h"
    57194084
     
    57244089; return 0; }
    57254090EOF
    5726 if { (eval echo configure:5727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4091if { (eval echo configure:4092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    57274092  rm -rf conftest*
    57284093  bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
     
    57464111
    57474112    echo $ac_n "checking for lwpxstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5748 echo "configure:5749: checking for lwpxstatus_t in sys/procfs.h" >&5
     4113echo "configure:4114: checking for lwpxstatus_t in sys/procfs.h" >&5
    57494114 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpxstatus_t'+set}'`\" = set"; then
    57504115  echo $ac_n "(cached) $ac_c" 1>&6
    57514116else
    57524117  cat > conftest.$ac_ext <<EOF
    5753 #line 5754 "configure"
     4118#line 4119 "configure"
    57544119#include "confdefs.h"
    57554120
     
    57604125; return 0; }
    57614126EOF
    5762 if { (eval echo configure:5763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4127if { (eval echo configure:4128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    57634128  rm -rf conftest*
    57644129  bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
     
    57824147
    57834148    echo $ac_n "checking for lwpstatus_t.pr_context in sys/procfs.h""... $ac_c" 1>&6
    5784 echo "configure:5785: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
     4149echo "configure:4150: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
    57854150 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context'+set}'`\" = set"; then
    57864151  echo $ac_n "(cached) $ac_c" 1>&6
    57874152else
    57884153  cat > conftest.$ac_ext <<EOF
    5789 #line 5790 "configure"
     4154#line 4155 "configure"
    57904155#include "confdefs.h"
    57914156
     
    57964161; return 0; }
    57974162EOF
    5798 if { (eval echo configure:5799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4163if { (eval echo configure:4164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    57994164  rm -rf conftest*
    58004165  bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
     
    58184183
    58194184    echo $ac_n "checking for lwpstatus_t.pr_reg in sys/procfs.h""... $ac_c" 1>&6
    5820 echo "configure:5821: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
     4185echo "configure:4186: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
    58214186 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg'+set}'`\" = set"; then
    58224187  echo $ac_n "(cached) $ac_c" 1>&6
    58234188else
    58244189  cat > conftest.$ac_ext <<EOF
    5825 #line 5826 "configure"
     4190#line 4191 "configure"
    58264191#include "confdefs.h"
    58274192
     
    58324197; return 0; }
    58334198EOF
    5834 if { (eval echo configure:5835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4199if { (eval echo configure:4200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    58354200  rm -rf conftest*
    58364201  bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
     
    58544219
    58554220    echo $ac_n "checking for win32_pstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5856 echo "configure:5857: checking for win32_pstatus_t in sys/procfs.h" >&5
     4221echo "configure:4222: checking for win32_pstatus_t in sys/procfs.h" >&5
    58574222 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_win32_pstatus_t'+set}'`\" = set"; then
    58584223  echo $ac_n "(cached) $ac_c" 1>&6
    58594224else
    58604225  cat > conftest.$ac_ext <<EOF
    5861 #line 5862 "configure"
     4226#line 4227 "configure"
    58624227#include "confdefs.h"
    58634228
     
    58684233; return 0; }
    58694234EOF
    5870 if { (eval echo configure:5871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4235if { (eval echo configure:4236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    58714236  rm -rf conftest*
    58724237  bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
     
    62674632ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    62684633echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    6269 echo "configure:6270: checking for $ac_hdr" >&5
     4634echo "configure:4635: checking for $ac_hdr" >&5
    62704635if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    62714636  echo $ac_n "(cached) $ac_c" 1>&6
     
    62734638  cat > conftest.$ac_ext <<EOF
    62744639#include <sys/types.h>
    6275 #line 6276 "configure"
     4640#line 4641 "configure"
    62764641#include "confdefs.h"
    62774642#include <$ac_hdr>
    62784643EOF
    62794644ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    6280 { (eval echo configure:6281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4645{ (eval echo configure:4646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    62814646ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    62824647if test -z "$ac_err"; then
     
    63074672do
    63084673echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    6309 echo "configure:6310: checking for $ac_func" >&5
     4674echo "configure:4675: checking for $ac_func" >&5
    63104675if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    63114676  echo $ac_n "(cached) $ac_c" 1>&6
    63124677else
    63134678  cat > conftest.$ac_ext <<EOF
    6314 #line 6315 "configure"
     4679#line 4680 "configure"
    63154680#include "confdefs.h"
    63164681/* System header to define __stub macros and hopefully few prototypes,
     
    63354700; return 0; }
    63364701EOF
    6337 if { (eval echo configure:6338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4702if { (eval echo configure:4703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    63384703  rm -rf conftest*
    63394704  eval "ac_cv_func_$ac_func=yes"
     
    63604725
    63614726echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    6362 echo "configure:6363: checking for working mmap" >&5
     4727echo "configure:4728: checking for working mmap" >&5
    63634728if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    63644729  echo $ac_n "(cached) $ac_c" 1>&6
     
    63684733else
    63694734  cat > conftest.$ac_ext <<EOF
    6370 #line 6371 "configure"
     4735#line 4736 "configure"
    63714736#include "confdefs.h"
    63724737
     
    65084873
    65094874EOF
    6510 if { (eval echo configure:6511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     4875if { (eval echo configure:4876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    65114876then
    65124877  ac_cv_func_mmap_fixed_mapped=yes
     
    65334898do
    65344899echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    6535 echo "configure:6536: checking for $ac_func" >&5
     4900echo "configure:4901: checking for $ac_func" >&5
    65364901if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    65374902  echo $ac_n "(cached) $ac_c" 1>&6
    65384903else
    65394904  cat > conftest.$ac_ext <<EOF
    6540 #line 6541 "configure"
     4905#line 4906 "configure"
    65414906#include "confdefs.h"
    65424907/* System header to define __stub macros and hopefully few prototypes,
     
    65614926; return 0; }
    65624927EOF
    6563 if { (eval echo configure:6564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4928if { (eval echo configure:4929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    65644929  rm -rf conftest*
    65654930  eval "ac_cv_func_$ac_func=yes"
     
    67705135s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
    67715136s%@MAINT@%$MAINT%g
    6772 s%@CPP@%$CPP%g
    6773 s%@ALLOCA@%$ALLOCA%g
    6774 s%@USE_NLS@%$USE_NLS%g
    6775 s%@MSGFMT@%$MSGFMT%g
    6776 s%@GMSGFMT@%$GMSGFMT%g
    6777 s%@XGETTEXT@%$XGETTEXT%g
    6778 s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g
    6779 s%@CATALOGS@%$CATALOGS%g
    6780 s%@CATOBJEXT@%$CATOBJEXT%g
    6781 s%@DATADIRNAME@%$DATADIRNAME%g
    6782 s%@GMOFILES@%$GMOFILES%g
    6783 s%@INSTOBJEXT@%$INSTOBJEXT%g
    6784 s%@INTLDEPS@%$INTLDEPS%g
    6785 s%@INTLLIBS@%$INTLLIBS%g
    6786 s%@INTLOBJS@%$INTLOBJS%g
    6787 s%@POFILES@%$POFILES%g
    6788 s%@POSUB@%$POSUB%g
    6789 s%@INCLUDE_LOCALE_H@%$INCLUDE_LOCALE_H%g
    6790 s%@GT_NO@%$GT_NO%g
    6791 s%@GT_YES@%$GT_YES%g
    6792 s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
    6793 s%@l@%$l%g
    67945137s%@HDEFINES@%$HDEFINES%g
    67955138s%@BFD_HOST_64BIT_LONG@%$BFD_HOST_64BIT_LONG%g
     
    67995142s%@CC_FOR_BUILD@%$CC_FOR_BUILD%g
    68005143s%@EXEEXT_FOR_BUILD@%$EXEEXT_FOR_BUILD%g
     5144s%@CPP@%$CPP%g
    68015145s%@COREFILE@%$COREFILE%g
    68025146s%@COREFLAG@%$COREFLAG%g
Note: See TracChangeset for help on using the changeset viewer.