Changeset 107


Ignore:
Timestamp:
May 8, 2003, 3:43:43 AM (22 years ago)
Author:
bird
Message:

Regenerated.

File:
1 edited

Legend:

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

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r106 r107  
    3737  --enable-maintainer-mode enable make rules and dependencies not useful
    3838                          (and sometimes confusing) to the casual installer"
     39ac_help="$ac_help
     40  --disable-nls           do not use Native Language Support"
     41ac_help="$ac_help
     42  --with-included-gettext use the GNU gettext library included here"
    3943
    4044# Initialize some variables set by options.
     
    547551
    548552echo $ac_n "checking for path separator""... $ac_c" 1>&6
    549 echo "configure:550: checking for path separator" >&5
     553echo "configure:554: checking for path separator" >&5
    550554# Filter path to get backslahes into forwardslashes
    551555case "`uname -s 2> /dev/null`" in
     
    561565
    562566echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    563 echo "configure:564: checking for Cygwin environment" >&5
     567echo "configure:568: checking for Cygwin environment" >&5
    564568if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    565569  echo $ac_n "(cached) $ac_c" 1>&6
    566570else
    567571  cat > conftest.$ac_ext <<EOF
    568 #line 569 "configure"
     572#line 573 "configure"
    569573#include "confdefs.h"
    570574
     
    577581; return 0; }
    578582EOF
    579 if { (eval echo configure:580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     583if { (eval echo configure:584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    580584  rm -rf conftest*
    581585  ac_cv_cygwin=yes
     
    594598test "$ac_cv_cygwin" = yes && CYGWIN=yes
    595599echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    596 echo "configure:597: checking for mingw32 environment" >&5
     600echo "configure:601: checking for mingw32 environment" >&5
    597601if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    598602  echo $ac_n "(cached) $ac_c" 1>&6
    599603else
    600604  cat > conftest.$ac_ext <<EOF
    601 #line 602 "configure"
     605#line 606 "configure"
    602606#include "confdefs.h"
    603607
     
    606610; return 0; }
    607611EOF
    608 if { (eval echo configure:609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     612if { (eval echo configure:613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    609613  rm -rf conftest*
    610614  ac_cv_mingw32=yes
     
    623627test "$ac_cv_mingw32" = yes && MINGW32=yes
    624628echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6
    625 echo "configure:626: checking for EMX/OS2 environment" >&5
     629echo "configure:630: checking for EMX/OS2 environment" >&5
    626630if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then
    627631  echo $ac_n "(cached) $ac_c" 1>&6
     
    629633  : ${CC=gcc.exe}
    630634cat > conftest.$ac_ext <<EOF
    631 #line 632 "configure"
     635#line 636 "configure"
    632636#include "confdefs.h"
    633637
     
    636640; return 0; }
    637641EOF
    638 if { (eval echo configure:639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     642if { (eval echo configure:643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    639643  rm -rf conftest*
    640644  ac_cv_emxos2=yes
     
    667671
    668672echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    669 echo "configure:670: checking for executable suffix" >&5
     673echo "configure:674: checking for executable suffix" >&5
    670674if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    671675  echo $ac_n "(cached) $ac_c" 1>&6
     
    677681  echo 'int main () { return 0; }' > conftest.$ac_ext
    678682  ac_cv_exeext=
    679   if { (eval echo configure:680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     683  if { (eval echo configure:684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    680684    for file in conftest.*; do
    681685      case $file in
     
    746750
    747751echo $ac_n "checking host system type""... $ac_c" 1>&6
    748 echo "configure:749: checking host system type" >&5
     752echo "configure:753: checking host system type" >&5
    749753
    750754host_alias=$host
     
    767771
    768772echo $ac_n "checking target system type""... $ac_c" 1>&6
    769 echo "configure:770: checking target system type" >&5
     773echo "configure:774: checking target system type" >&5
    770774
    771775target_alias=$target
     
    785789
    786790echo $ac_n "checking build system type""... $ac_c" 1>&6
    787 echo "configure:788: checking build system type" >&5
     791echo "configure:792: checking build system type" >&5
    788792
    789793build_alias=$build
     
    810814set dummy gcc; ac_word=$2
    811815echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    812 echo "configure:813: checking for $ac_word" >&5
     816echo "configure:817: checking for $ac_word" >&5
    813817if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    814818  echo $ac_n "(cached) $ac_c" 1>&6
     
    841845set dummy cc; ac_word=$2
    842846echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    843 echo "configure:844: checking for $ac_word" >&5
     847echo "configure:848: checking for $ac_word" >&5
    844848if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    845849  echo $ac_n "(cached) $ac_c" 1>&6
     
    894898set dummy cl; ac_word=$2
    895899echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    896 echo "configure:897: checking for $ac_word" >&5
     900echo "configure:901: checking for $ac_word" >&5
    897901if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    898902  echo $ac_n "(cached) $ac_c" 1>&6
     
    927931
    928932echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    929 echo "configure:930: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     933echo "configure:934: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    930934
    931935ac_ext=c
     
    938942cat > conftest.$ac_ext << EOF
    939943
    940 #line 941 "configure"
     944#line 945 "configure"
    941945#include "confdefs.h"
    942946
    943947main(){return(0);}
    944948EOF
    945 if { (eval echo configure:946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     949if { (eval echo configure:950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    946950  ac_cv_prog_cc_works=yes
    947951  # If we can't run a trivial program, we are probably using a cross compiler.
     
    969973fi
    970974echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    971 echo "configure:972: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     975echo "configure:976: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    972976echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    973977cross_compiling=$ac_cv_prog_cc_cross
    974978
    975979echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    976 echo "configure:977: checking whether we are using GNU C" >&5
     980echo "configure:981: checking whether we are using GNU C" >&5
    977981if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    978982  echo $ac_n "(cached) $ac_c" 1>&6
     
    983987#endif
    984988EOF
    985 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     989if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    986990  ac_cv_prog_gcc=yes
    987991else
     
    10021006CFLAGS=
    10031007echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1004 echo "configure:1005: checking whether ${CC-cc} accepts -g" >&5
     1008echo "configure:1009: checking whether ${CC-cc} accepts -g" >&5
    10051009if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    10061010  echo $ac_n "(cached) $ac_c" 1>&6
     
    10341038
    10351039echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
    1036 echo "configure:1037: checking for POSIXized ISC" >&5
     1040echo "configure:1041: checking for POSIXized ISC" >&5
    10371041if test -d /etc/conf/kconfig.d &&
    10381042  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
     
    10671071# ./install, which can be erroneously created by make from ./install.sh.
    10681072echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1069 echo "configure:1070: checking for a BSD compatible install" >&5
     1073echo "configure:1074: checking for a BSD compatible install" >&5
    10701074if test -z "$INSTALL"; then
    10711075if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    11221126
    11231127echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    1124 echo "configure:1125: checking whether build environment is sane" >&5
     1128echo "configure:1129: checking whether build environment is sane" >&5
    11251129# Just in case
    11261130sleep 1
     
    11791183
    11801184echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1181 echo "configure:1182: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1185echo "configure:1186: checking whether ${MAKE-make} sets \${MAKE}" >&5
    11821186set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    11831187if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    12251229missing_dir=`cd $ac_aux_dir && pwd`
    12261230echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    1227 echo "configure:1228: checking for working aclocal" >&5
     1231echo "configure:1232: checking for working aclocal" >&5
    12281232# Run test in a subshell; some versions of sh will print an error if
    12291233# an executable is not found, even if stderr is redirected.
     
    12381242
    12391243echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    1240 echo "configure:1241: checking for working autoconf" >&5
     1244echo "configure:1245: checking for working autoconf" >&5
    12411245# Run test in a subshell; some versions of sh will print an error if
    12421246# an executable is not found, even if stderr is redirected.
     
    12511255
    12521256echo $ac_n "checking for working automake""... $ac_c" 1>&6
    1253 echo "configure:1254: checking for working automake" >&5
     1257echo "configure:1258: checking for working automake" >&5
    12541258# Run test in a subshell; some versions of sh will print an error if
    12551259# an executable is not found, even if stderr is redirected.
     
    12641268
    12651269echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    1266 echo "configure:1267: checking for working autoheader" >&5
     1270echo "configure:1271: checking for working autoheader" >&5
    12671271# Run test in a subshell; some versions of sh will print an error if
    12681272# an executable is not found, even if stderr is redirected.
     
    12771281
    12781282echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    1279 echo "configure:1280: checking for working makeinfo" >&5
     1283echo "configure:1284: checking for working makeinfo" >&5
    12801284# Run test in a subshell; some versions of sh will print an error if
    12811285# an executable is not found, even if stderr is redirected.
     
    13001304set dummy ${ac_tool_prefix}ar; ac_word=$2
    13011305echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1302 echo "configure:1303: checking for $ac_word" >&5
     1306echo "configure:1307: checking for $ac_word" >&5
    13031307if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    13041308  echo $ac_n "(cached) $ac_c" 1>&6
     
    13331337set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    13341338echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1335 echo "configure:1336: checking for $ac_word" >&5
     1339echo "configure:1340: checking for $ac_word" >&5
    13361340if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    13371341  echo $ac_n "(cached) $ac_c" 1>&6
     
    13661370set dummy ranlib; ac_word=$2
    13671371echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1368 echo "configure:1369: checking for $ac_word" >&5
     1372echo "configure:1373: checking for $ac_word" >&5
    13691373if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    13701374  echo $ac_n "(cached) $ac_c" 1>&6
     
    14041408  enableval="$enable_shared"
    14051409  p=${PACKAGE-default}
    1406 case $enableval in
     1410case "$enableval" in
    14071411yes) enable_shared=yes ;;
    14081412no) enable_shared=no ;;
     
    14281432  enableval="$enable_static"
    14291433  p=${PACKAGE-default}
    1430 case $enableval in
     1434case "$enableval" in
    14311435yes) enable_static=yes ;;
    14321436no) enable_static=no ;;
     
    14511455  enableval="$enable_fast_install"
    14521456  p=${PACKAGE-default}
    1453 case $enableval in
     1457case "$enableval" in
    14541458yes) enable_fast_install=yes ;;
    14551459no) enable_fast_install=no ;;
     
    14791483
    14801484ac_prog=ld
    1481 if test "$GCC" = yes; then
     1485if test "$ac_cv_prog_gcc" = yes; then
    14821486  # Check if gcc -print-prog-name=ld gives a path.
    14831487  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
    1484 echo "configure:1485: checking for ld used by GCC" >&5
     1488echo "configure:1489: checking for ld used by GCC" >&5
    14851489  case $host in
    14861490  *-*-mingw*)
     
    14901494    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    14911495  esac
    1492   case $ac_prog in
     1496  case "$ac_prog" in
    14931497    # Accept absolute paths.
    14941498    [\\/]* | [A-Za-z]:[\\/]*)
     
    15121516elif test "$with_gnu_ld" = yes; then
    15131517  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
    1514 echo "configure:1515: checking for GNU ld" >&5
     1518echo "configure:1519: checking for GNU ld" >&5
    15151519else
    15161520  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
    1517 echo "configure:1518: checking for non-GNU ld" >&5
    1518 fi
    1519 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
     1521echo "configure:1522: checking for non-GNU ld" >&5
     1522fi
     1523if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
    15201524  echo $ac_n "(cached) $ac_c" 1>&6
    15211525else
     
    15251529    test -z "$ac_dir" && ac_dir=.
    15261530    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    1527       lt_cv_path_LD="$ac_dir/$ac_prog"
     1531      ac_cv_path_LD="$ac_dir/$ac_prog"
    15281532      # Check to see if the program is GNU ld.  I'd rather use --version,
    15291533      # but apparently some GNU ld's only accept -v.
    15301534      # Break only if it was the GNU/non-GNU ld that we prefer.
    1531       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
     1535      if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
    15321536        test "$with_gnu_ld" != no && break
    15331537      else
     
    15381542  IFS="$ac_save_ifs"
    15391543else
    1540   lt_cv_path_LD="$LD" # Let the user override the test with a path.
    1541 fi
    1542 fi
    1543 
    1544 LD="$lt_cv_path_LD"
     1544  ac_cv_path_LD="$LD" # Let the user override the test with a path.
     1545fi
     1546fi
     1547
     1548LD="$ac_cv_path_LD"
    15451549if test -n "$LD"; then
    15461550  echo "$ac_t""$LD" 1>&6
     
    15501554test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
    15511555echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
    1552 echo "configure:1553: checking if the linker ($LD) is GNU ld" >&5
    1553 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
     1556echo "configure:1557: checking if the linker ($LD) is GNU ld" >&5
     1557if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
    15541558  echo $ac_n "(cached) $ac_c" 1>&6
    15551559else
    15561560  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    15571561if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
    1558   lt_cv_prog_gnu_ld=yes
    1559 else
    1560   lt_cv_prog_gnu_ld=no
    1561 fi
    1562 fi
    1563 
    1564 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
    1565 with_gnu_ld=$lt_cv_prog_gnu_ld
     1562  ac_cv_prog_gnu_ld=yes
     1563else
     1564  ac_cv_prog_gnu_ld=no
     1565fi
     1566fi
     1567
     1568echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
     1569with_gnu_ld=$ac_cv_prog_gnu_ld
    15661570
    15671571
    15681572echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
    1569 echo "configure:1570: checking for $LD option to reload object files" >&5
     1573echo "configure:1574: checking for $LD option to reload object files" >&5
    15701574if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
    15711575  echo $ac_n "(cached) $ac_c" 1>&6
     
    15791583
    15801584echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
    1581 echo "configure:1582: checking for BSD-compatible nm" >&5
    1582 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
     1585echo "configure:1586: checking for BSD-compatible nm" >&5
     1586if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
    15831587  echo $ac_n "(cached) $ac_c" 1>&6
    15841588else
    15851589  if test -n "$NM"; then
    15861590  # Let the user override the test.
    1587   lt_cv_path_NM="$NM"
     1591  ac_cv_path_NM="$NM"
    15881592else
    15891593  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
     
    15971601      # Tru64's nm complains that /dev/null is an invalid object file
    15981602      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
    1599         lt_cv_path_NM="$tmp_nm -B"
     1603        ac_cv_path_NM="$tmp_nm -B"
    16001604        break
    16011605      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
    1602         lt_cv_path_NM="$tmp_nm -p"
     1606        ac_cv_path_NM="$tmp_nm -p"
    16031607        break
    16041608      else
    1605         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
     1609        ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
    16061610        continue # so that we can try to find one that supports BSD flags
    16071611      fi
     
    16091613  done
    16101614  IFS="$ac_save_ifs"
    1611   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
    1612 fi
    1613 fi
    1614 
    1615 NM="$lt_cv_path_NM"
     1615  test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
     1616fi
     1617fi
     1618
     1619NM="$ac_cv_path_NM"
    16161620echo "$ac_t""$NM" 1>&6
    16171621
    16181622echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1619 echo "configure:1620: checking whether ln -s works" >&5
     1623echo "configure:1624: checking whether ln -s works" >&5
    16201624if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    16211625  echo $ac_n "(cached) $ac_c" 1>&6
     
    16441648
    16451649echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
    1646 echo "configure:1647: checking how to recognise dependant libraries" >&5
     1650echo "configure:1651: checking how to recognise dependant libraries" >&5
    16471651if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
    16481652  echo $ac_n "(cached) $ac_c" 1>&6
     
    16621666# whether `pass_all' will *always* work, you probably want this one.
    16631667
    1664 case $host_os in
    1665 aix*)
     1668case "$host_os" in
     1669aix4*)
    16661670  lt_cv_deplibs_check_method=pass_all
    16671671  ;;
     
    16721676
    16731677bsdi4*)
    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'
     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'
    16761680  lt_cv_file_magic_test_file=/shlib/libc.so
    16771681  ;;
     
    16821686  ;;
    16831687
    1684 darwin* | 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 
    16971688freebsd* )
    16981689  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    1699     case $host_cpu in
     1690    case "$host_cpu" in
    17001691    i*86 )
    17011692      # Not sure whether the presence of OpenBSD here was a mistake.
    17021693      # Let's accept both of them until this is cleared up.
    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
     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
    17051696      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
    17061697      ;;
     
    17151706  ;;
    17161707
    1717 hpux10.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'
     1708hpux10.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'
    17191711  lt_cv_file_magic_cmd=/usr/bin/file
    17201712  lt_cv_file_magic_test_file=/usr/lib/libc.sl
     
    17221714
    17231715irix5* | irix6*)
    1724   case $host_os in
     1716  case "$host_os" in
    17251717  irix5*)
    17261718    # this will be overridden with pass_all, but let us keep it just in case
     
    17281720    ;;
    17291721  *)
    1730     case $LD in
     1722    case "$LD" in
    17311723    *-32|*"-32 ") libmagic=32-bit;;
    17321724    *-n32|*"-n32 ") libmagic=N32;;
     
    17351727    esac
    17361728    # this will be overridden with pass_all, but let us keep it just in case
    1737     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
    1738     ;;
     1729        lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
     1730        ;;
    17391731  esac
    17401732  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
     
    17441736# This must be Linux ELF.
    17451737linux-gnu*)
    1746   case $host_cpu in
    1747   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
     1738  case "$host_cpu" in
     1739  alpha* | i*86 | powerpc* | sparc* | ia64* )
    17481740    lt_cv_deplibs_check_method=pass_all ;;
    17491741  *)
    17501742    # glibc up to 2.1.1 does not perform some relocations on ARM
    1751     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
    1752   esac
     1743        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
     1744      esac
    17531745  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    17541746  ;;
    17551747
    17561748netbsd*)
    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]+$'
     1749  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
    17591750  else
    1760     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
     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*`
    17611754  fi
    1762   ;;
    1763 
    1764 newsos6)
    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
    17681755  ;;
    17691756
     
    17841771  ;;
    17851772
    1786 sysv5uw[78]* | sysv4*uw2*)
    1787   lt_cv_deplibs_check_method=pass_all
    1788   ;;
    1789 
    17901773sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    1791   case $host_vendor in
     1774  case "$host_vendor" in
    17921775  ncr)
    17931776    lt_cv_deplibs_check_method=pass_all
    17941777    ;;
    17951778  motorola)
    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*`
     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*`
    17981781    ;;
    17991782  esac
     
    18081791
    18091792echo $ac_n "checking for object suffix""... $ac_c" 1>&6
    1810 echo "configure:1811: checking for object suffix" >&5
     1793echo "configure:1794: checking for object suffix" >&5
    18111794if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
    18121795  echo $ac_n "(cached) $ac_c" 1>&6
     
    18141797  rm -f conftest*
    18151798echo 'int i = 1;' > conftest.$ac_ext
    1816 if { (eval echo configure:1817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1799if { (eval echo configure:1800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    18171800  for ac_file in conftest.*; do
    18181801    case $ac_file in
     
    18341817
    18351818# Only perform the check for file, if the check method requires it
    1836 case $deplibs_check_method in
     1819case "$deplibs_check_method" in
    18371820file_magic*)
    18381821  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    18391822    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
    1840 echo "configure:1841: checking for ${ac_tool_prefix}file" >&5
     1823echo "configure:1824: checking for ${ac_tool_prefix}file" >&5
    18411824if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    18421825  echo $ac_n "(cached) $ac_c" 1>&6
    18431826else
    1844   case $MAGIC_CMD in
     1827  case "$MAGIC_CMD" in
    18451828  /*)
    18461829  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    18581841      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
    18591842      if test -n "$file_magic_test_file"; then
    1860         case $deplibs_check_method in
     1843        case "$deplibs_check_method" in
    18611844        "file_magic "*)
    18621845          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    19001883  if test -n "$ac_tool_prefix"; then
    19011884    echo $ac_n "checking for file""... $ac_c" 1>&6
    1902 echo "configure:1903: checking for file" >&5
     1885echo "configure:1886: checking for file" >&5
    19031886if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    19041887  echo $ac_n "(cached) $ac_c" 1>&6
    19051888else
    1906   case $MAGIC_CMD in
     1889  case "$MAGIC_CMD" in
    19071890  /*)
    19081891  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    19201903      lt_cv_path_MAGIC_CMD="$ac_dir/file"
    19211904      if test -n "$file_magic_test_file"; then
    1922         case $deplibs_check_method in
     1905        case "$deplibs_check_method" in
    19231906        "file_magic "*)
    19241907          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    19711954set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    19721955echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1973 echo "configure:1974: checking for $ac_word" >&5
     1956echo "configure:1957: checking for $ac_word" >&5
    19741957if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    19751958  echo $ac_n "(cached) $ac_c" 1>&6
     
    20041987set dummy ranlib; ac_word=$2
    20051988echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2006 echo "configure:2007: checking for $ac_word" >&5
     1989echo "configure:1990: checking for $ac_word" >&5
    20071990if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    20081991  echo $ac_n "(cached) $ac_c" 1>&6
     
    20402023set dummy ${ac_tool_prefix}strip; ac_word=$2
    20412024echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2042 echo "configure:2043: checking for $ac_word" >&5
     2025echo "configure:2026: checking for $ac_word" >&5
    20432026if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    20442027  echo $ac_n "(cached) $ac_c" 1>&6
     
    20732056set dummy strip; ac_word=$2
    20742057echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2075 echo "configure:2076: checking for $ac_word" >&5
     2058echo "configure:2059: checking for $ac_word" >&5
    20762059if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    20772060  echo $ac_n "(cached) $ac_c" 1>&6
     
    21122095test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
    21132096test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
    2114 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
    2115 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
     2097test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
     2098test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
    21162099
    21172100
     
    21382121# Some flags need to be propagated to the compiler or linker for good
    21392122# libtool support.
    2140 case $host in
     2123case "$host" in
    21412124*-*-irix6*)
    21422125  # Find out which ABI we are using.
    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
     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
    21462129    *32-bit*)
    21472130      LD="${LD-ld} -32"
     
    21632146  CFLAGS="$CFLAGS -belf"
    21642147  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    2165 echo "configure:2166: checking whether the C compiler needs -belf" >&5
     2148echo "configure:2149: checking whether the C compiler needs -belf" >&5
    21662149if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    21672150  echo $ac_n "(cached) $ac_c" 1>&6
     
    21762159
    21772160     cat > conftest.$ac_ext <<EOF
    2178 #line 2179 "configure"
     2161#line 2162 "configure"
    21792162#include "confdefs.h"
    21802163
     
    21832166; return 0; }
    21842167EOF
    2185 if { (eval echo configure:2186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2168if { (eval echo configure:2169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21862169  rm -rf conftest*
    21872170  lt_cv_cc_needs_belf=yes
     
    22932276exec 5>>./config.log
    22942277
     2278
    22952279 
    22962280
     
    23922376
    23932377echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    2394 echo "configure:2395: checking whether to enable maintainer-specific portions of Makefiles" >&5
     2378echo "configure:2379: checking whether to enable maintainer-specific portions of Makefiles" >&5
    23952379    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    23962380if test "${enable_maintainer_mode+set}" = set; then
     
    24182402
    24192403echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    2420 echo "configure:2421: checking for executable suffix" >&5
     2404echo "configure:2405: checking for executable suffix" >&5
    24212405if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    24222406  echo $ac_n "(cached) $ac_c" 1>&6
     
    24282412  echo 'int main () { return 0; }' > conftest.$ac_ext
    24292413  ac_cv_exeext=
    2430   if { (eval echo configure:2431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2414  if { (eval echo configure:2415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    24312415    for file in conftest.*; do
    24322416      case $file in
     
    24572441set dummy gcc; ac_word=$2
    24582442echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2459 echo "configure:2460: checking for $ac_word" >&5
     2443echo "configure:2444: checking for $ac_word" >&5
    24602444if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    24612445  echo $ac_n "(cached) $ac_c" 1>&6
     
    24882472set dummy cc; ac_word=$2
    24892473echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2490 echo "configure:2491: checking for $ac_word" >&5
     2474echo "configure:2475: checking for $ac_word" >&5
    24912475if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    24922476  echo $ac_n "(cached) $ac_c" 1>&6
     
    25412525set dummy cl; ac_word=$2
    25422526echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2543 echo "configure:2544: checking for $ac_word" >&5
     2527echo "configure:2528: checking for $ac_word" >&5
    25442528if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    25452529  echo $ac_n "(cached) $ac_c" 1>&6
     
    25742558
    25752559echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2576 echo "configure:2577: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2560echo "configure:2561: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    25772561
    25782562ac_ext=c
     
    25852569cat > conftest.$ac_ext << EOF
    25862570
    2587 #line 2588 "configure"
     2571#line 2572 "configure"
    25882572#include "confdefs.h"
    25892573
    25902574main(){return(0);}
    25912575EOF
    2592 if { (eval echo configure:2593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2576if { (eval echo configure:2577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    25932577  ac_cv_prog_cc_works=yes
    25942578  # If we can't run a trivial program, we are probably using a cross compiler.
     
    26162600fi
    26172601echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2618 echo "configure:2619: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2602echo "configure:2603: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    26192603echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    26202604cross_compiling=$ac_cv_prog_cc_cross
    26212605
    26222606echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2623 echo "configure:2624: checking whether we are using GNU C" >&5
     2607echo "configure:2608: checking whether we are using GNU C" >&5
    26242608if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    26252609  echo $ac_n "(cached) $ac_c" 1>&6
     
    26302614#endif
    26312615EOF
    2632 if { 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
     2616if { 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
    26332617  ac_cv_prog_gcc=yes
    26342618else
     
    26492633CFLAGS=
    26502634echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2651 echo "configure:2652: checking whether ${CC-cc} accepts -g" >&5
     2635echo "configure:2636: checking whether ${CC-cc} accepts -g" >&5
    26522636if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    26532637  echo $ac_n "(cached) $ac_c" 1>&6
     
    26822666
    26832667ALL_LINGUAS=
    2684 CY_GNU_GETTEXT
     2668echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
     2669echo "configure:2670: checking how to run the C preprocessor" >&5
     2670# On Suns, sometimes $CPP names a directory.
     2671if test -n "$CPP" && test -d "$CPP"; then
     2672  CPP=
     2673fi
     2674if test -z "$CPP"; then
     2675if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
     2676  echo $ac_n "(cached) $ac_c" 1>&6
     2677else
     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>
     2688Syntax Error
     2689EOF
     2690ac_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; }
     2692ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     2693if test -z "$ac_err"; then
     2694  :
     2695else
     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>
     2706Syntax Error
     2707EOF
     2708ac_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; }
     2710ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     2711if test -z "$ac_err"; then
     2712  :
     2713else
     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>
     2724Syntax Error
     2725EOF
     2726ac_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; }
     2728ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     2729if test -z "$ac_err"; then
     2730  :
     2731else
     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
     2737fi
     2738rm -f conftest*
     2739fi
     2740rm -f conftest*
     2741fi
     2742rm -f conftest*
     2743  ac_cv_prog_CPP="$CPP"
     2744fi
     2745  CPP="$ac_cv_prog_CPP"
     2746else
     2747  ac_cv_prog_CPP="$CPP"
     2748fi
     2749echo "$ac_t""$CPP" 1>&6
     2750
     2751# Extract the first word of "ranlib", so it can be a program name with args.
     2752set dummy ranlib; ac_word=$2
     2753echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     2754echo "configure:2755: checking for $ac_word" >&5
     2755if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
     2756  echo $ac_n "(cached) $ac_c" 1>&6
     2757else
     2758  if test -n "$RANLIB"; then
     2759  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     2760else
     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=":"
     2773fi
     2774fi
     2775RANLIB="$ac_cv_prog_RANLIB"
     2776if test -n "$RANLIB"; then
     2777  echo "$ac_t""$RANLIB" 1>&6
     2778else
     2779  echo "$ac_t""no" 1>&6
     2780fi
     2781
     2782echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
     2783echo "configure:2784: checking for ANSI C header files" >&5
     2784if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
     2785  echo $ac_n "(cached) $ac_c" 1>&6
     2786else
     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>
     2795EOF
     2796ac_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; }
     2798ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     2799if test -z "$ac_err"; then
     2800  rm -rf conftest*
     2801  ac_cv_header_stdc=yes
     2802else
     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
     2808fi
     2809rm -f conftest*
     2810
     2811if test $ac_cv_header_stdc = yes; then
     2812  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     2813cat > conftest.$ac_ext <<EOF
     2814#line 2815 "configure"
     2815#include "confdefs.h"
     2816#include <string.h>
     2817EOF
     2818if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     2819  egrep "memchr" >/dev/null 2>&1; then
     2820  :
     2821else
     2822  rm -rf conftest*
     2823  ac_cv_header_stdc=no
     2824fi
     2825rm -f conftest*
     2826
     2827fi
     2828
     2829if test $ac_cv_header_stdc = yes; then
     2830  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     2831cat > conftest.$ac_ext <<EOF
     2832#line 2833 "configure"
     2833#include "confdefs.h"
     2834#include <stdlib.h>
     2835EOF
     2836if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     2837  egrep "free" >/dev/null 2>&1; then
     2838  :
     2839else
     2840  rm -rf conftest*
     2841  ac_cv_header_stdc=no
     2842fi
     2843rm -f conftest*
     2844
     2845fi
     2846
     2847if test $ac_cv_header_stdc = yes; then
     2848  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     2849if test "$cross_compiling" = yes; then
     2850  :
     2851else
     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)))
     2859int main () { int i; for (i = 0; i < 256; i++)
     2860if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
     2861exit (0); }
     2862
     2863EOF
     2864if { (eval echo configure:2865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2865then
     2866  :
     2867else
     2868  echo "configure: failed program was:" >&5
     2869  cat conftest.$ac_ext >&5
     2870  rm -fr conftest*
     2871  ac_cv_header_stdc=no
     2872fi
     2873rm -fr conftest*
     2874fi
     2875
     2876fi
     2877fi
     2878
     2879echo "$ac_t""$ac_cv_header_stdc" 1>&6
     2880if test $ac_cv_header_stdc = yes; then
     2881  cat >> confdefs.h <<\EOF
     2882#define STDC_HEADERS 1
     2883EOF
     2884
     2885fi
     2886
     2887echo $ac_n "checking for working const""... $ac_c" 1>&6
     2888echo "configure:2889: checking for working const" >&5
     2889if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
     2890  echo $ac_n "(cached) $ac_c" 1>&6
     2891else
     2892  cat > conftest.$ac_ext <<EOF
     2893#line 2894 "configure"
     2894#include "confdefs.h"
     2895
     2896int main() {
     2897
     2898/* Ultrix mips cc rejects this.  */
     2899typedef int charset[2]; const charset x;
     2900/* SunOS 4.1.1 cc rejects this.  */
     2901char const *const *ccp;
     2902char **p;
     2903/* NEC SVR4.0.2 mips cc rejects this.  */
     2904struct point {int x, y;};
     2905static 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 */
     2909const char *g = "string";
     2910ccp = &g + (g ? g-g : 0);
     2911/* HPUX 7.0 cc rejects these. */
     2912++ccp;
     2913p = (char**) ccp;
     2914ccp = (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; }
     2941EOF
     2942if { (eval echo configure:2943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2943  rm -rf conftest*
     2944  ac_cv_c_const=yes
     2945else
     2946  echo "configure: failed program was:" >&5
     2947  cat conftest.$ac_ext >&5
     2948  rm -rf conftest*
     2949  ac_cv_c_const=no
     2950fi
     2951rm -f conftest*
     2952fi
     2953
     2954echo "$ac_t""$ac_cv_c_const" 1>&6
     2955if test $ac_cv_c_const = no; then
     2956  cat >> confdefs.h <<\EOF
     2957#define const
     2958EOF
     2959
     2960fi
     2961
     2962echo $ac_n "checking for inline""... $ac_c" 1>&6
     2963echo "configure:2964: checking for inline" >&5
     2964if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
     2965  echo $ac_n "(cached) $ac_c" 1>&6
     2966else
     2967  ac_cv_c_inline=no
     2968for ac_kw in inline __inline__ __inline; do
     2969  cat > conftest.$ac_ext <<EOF
     2970#line 2971 "configure"
     2971#include "confdefs.h"
     2972
     2973int main() {
     2974} $ac_kw foo() {
     2975; return 0; }
     2976EOF
     2977if { (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
     2980else
     2981  echo "configure: failed program was:" >&5
     2982  cat conftest.$ac_ext >&5
     2983fi
     2984rm -f conftest*
     2985done
     2986
     2987fi
     2988
     2989echo "$ac_t""$ac_cv_c_inline" 1>&6
     2990case "$ac_cv_c_inline" in
     2991  inline | yes) ;;
     2992  no) cat >> confdefs.h <<\EOF
     2993#define inline
     2994EOF
     2995 ;;
     2996  *)  cat >> confdefs.h <<EOF
     2997#define inline $ac_cv_c_inline
     2998EOF
     2999 ;;
     3000esac
     3001
     3002echo $ac_n "checking for off_t""... $ac_c" 1>&6
     3003echo "configure:3004: checking for off_t" >&5
     3004if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
     3005  echo $ac_n "(cached) $ac_c" 1>&6
     3006else
     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
     3015EOF
     3016if (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
     3020else
     3021  rm -rf conftest*
     3022  ac_cv_type_off_t=no
     3023fi
     3024rm -f conftest*
     3025
     3026fi
     3027echo "$ac_t""$ac_cv_type_off_t" 1>&6
     3028if test $ac_cv_type_off_t = no; then
     3029  cat >> confdefs.h <<\EOF
     3030#define off_t long
     3031EOF
     3032
     3033fi
     3034
     3035echo $ac_n "checking for size_t""... $ac_c" 1>&6
     3036echo "configure:3037: checking for size_t" >&5
     3037if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
     3038  echo $ac_n "(cached) $ac_c" 1>&6
     3039else
     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
     3048EOF
     3049if (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
     3053else
     3054  rm -rf conftest*
     3055  ac_cv_type_size_t=no
     3056fi
     3057rm -f conftest*
     3058
     3059fi
     3060echo "$ac_t""$ac_cv_type_size_t" 1>&6
     3061if test $ac_cv_type_size_t = no; then
     3062  cat >> confdefs.h <<\EOF
     3063#define size_t unsigned
     3064EOF
     3065
     3066fi
     3067
     3068# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
     3069# for constant arguments.  Useless!
     3070echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
     3071echo "configure:3072: checking for working alloca.h" >&5
     3072if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
     3073  echo $ac_n "(cached) $ac_c" 1>&6
     3074else
     3075  cat > conftest.$ac_ext <<EOF
     3076#line 3077 "configure"
     3077#include "confdefs.h"
     3078#include <alloca.h>
     3079int main() {
     3080char *p = alloca(2 * sizeof(int));
     3081; return 0; }
     3082EOF
     3083if { (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
     3086else
     3087  echo "configure: failed program was:" >&5
     3088  cat conftest.$ac_ext >&5
     3089  rm -rf conftest*
     3090  ac_cv_header_alloca_h=no
     3091fi
     3092rm -f conftest*
     3093fi
     3094
     3095echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
     3096if test $ac_cv_header_alloca_h = yes; then
     3097  cat >> confdefs.h <<\EOF
     3098#define HAVE_ALLOCA_H 1
     3099EOF
     3100
     3101fi
     3102
     3103echo $ac_n "checking for alloca""... $ac_c" 1>&6
     3104echo "configure:3105: checking for alloca" >&5
     3105if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
     3106  echo $ac_n "(cached) $ac_c" 1>&6
     3107else
     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 */
     3126char *alloca ();
     3127#    endif
     3128#   endif
     3129#  endif
     3130# endif
     3131#endif
     3132
     3133int main() {
     3134char *p = (char *) alloca(1);
     3135; return 0; }
     3136EOF
     3137if { (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
     3140else
     3141  echo "configure: failed program was:" >&5
     3142  cat conftest.$ac_ext >&5
     3143  rm -rf conftest*
     3144  ac_cv_func_alloca_works=no
     3145fi
     3146rm -f conftest*
     3147fi
     3148
     3149echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
     3150if test $ac_cv_func_alloca_works = yes; then
     3151  cat >> confdefs.h <<\EOF
     3152#define HAVE_ALLOCA 1
     3153EOF
     3154
     3155fi
     3156
     3157if 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
     3165EOF
     3166
     3167
     3168echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
     3169echo "configure:3170: checking whether alloca needs Cray hooks" >&5
     3170if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
     3171  echo $ac_n "(cached) $ac_c" 1>&6
     3172else
     3173  cat > conftest.$ac_ext <<EOF
     3174#line 3175 "configure"
     3175#include "confdefs.h"
     3176#if defined(CRAY) && ! defined(CRAY2)
     3177webecray
     3178#else
     3179wenotbecray
     3180#endif
     3181
     3182EOF
     3183if (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
     3187else
     3188  rm -rf conftest*
     3189  ac_cv_os_cray=no
     3190fi
     3191rm -f conftest*
     3192
     3193fi
     3194
     3195echo "$ac_t""$ac_cv_os_cray" 1>&6
     3196if test $ac_cv_os_cray = yes; then
     3197for ac_func in _getb67 GETB67 getb67; do
     3198  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     3199echo "configure:3200: checking for $ac_func" >&5
     3200if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
     3201  echo $ac_n "(cached) $ac_c" 1>&6
     3202else
     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.  */
     3212char $ac_func();
     3213
     3214int 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)
     3220choke me
     3221#else
     3222$ac_func();
     3223#endif
     3224
     3225; return 0; }
     3226EOF
     3227if { (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"
     3230else
     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"
     3235fi
     3236rm -f conftest*
     3237fi
     3238
     3239if 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
     3243EOF
     3244
     3245  break
     3246else
     3247  echo "$ac_t""no" 1>&6
     3248fi
     3249
     3250done
     3251fi
     3252
     3253echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
     3254echo "configure:3255: checking stack direction for C alloca" >&5
     3255if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
     3256  echo $ac_n "(cached) $ac_c" 1>&6
     3257else
     3258  if test "$cross_compiling" = yes; then
     3259  ac_cv_c_stack_direction=0
     3260else
     3261  cat > conftest.$ac_ext <<EOF
     3262#line 3263 "configure"
     3263#include "confdefs.h"
     3264find_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}
     3276main ()
     3277{
     3278  exit (find_stack_direction() < 0);
     3279}
     3280EOF
     3281if { (eval echo configure:3282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3282then
     3283  ac_cv_c_stack_direction=1
     3284else
     3285  echo "configure: failed program was:" >&5
     3286  cat conftest.$ac_ext >&5
     3287  rm -fr conftest*
     3288  ac_cv_c_stack_direction=-1
     3289fi
     3290rm -fr conftest*
     3291fi
     3292
     3293fi
     3294
     3295echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
     3296cat >> confdefs.h <<EOF
     3297#define STACK_DIRECTION $ac_cv_c_stack_direction
     3298EOF
     3299
     3300fi
     3301
     3302for ac_hdr in unistd.h
     3303do
     3304ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     3305echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     3306echo "configure:3307: checking for $ac_hdr" >&5
     3307if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     3308  echo $ac_n "(cached) $ac_c" 1>&6
     3309else
     3310  cat > conftest.$ac_ext <<EOF
     3311#include <sys/types.h>
     3312#line 3313 "configure"
     3313#include "confdefs.h"
     3314#include <$ac_hdr>
     3315EOF
     3316ac_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; }
     3318ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     3319if test -z "$ac_err"; then
     3320  rm -rf conftest*
     3321  eval "ac_cv_header_$ac_safe=yes"
     3322else
     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"
     3328fi
     3329rm -f conftest*
     3330fi
     3331if 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
     3336EOF
     3337 
     3338else
     3339  echo "$ac_t""no" 1>&6
     3340fi
     3341done
     3342
     3343for ac_func in getpagesize
     3344do
     3345echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     3346echo "configure:3347: checking for $ac_func" >&5
     3347if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
     3348  echo $ac_n "(cached) $ac_c" 1>&6
     3349else
     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.  */
     3359char $ac_func();
     3360
     3361int 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)
     3367choke me
     3368#else
     3369$ac_func();
     3370#endif
     3371
     3372; return 0; }
     3373EOF
     3374if { (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"
     3377else
     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"
     3382fi
     3383rm -f conftest*
     3384fi
     3385
     3386if 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
     3391EOF
     3392 
     3393else
     3394  echo "$ac_t""no" 1>&6
     3395fi
     3396done
     3397
     3398echo $ac_n "checking for working mmap""... $ac_c" 1>&6
     3399echo "configure:3400: checking for working mmap" >&5
     3400if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
     3401  echo $ac_n "(cached) $ac_c" 1>&6
     3402else
     3403  if test "$cross_compiling" = yes; then
     3404  ac_cv_func_mmap_fixed_mapped=no
     3405else
     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
     3477extern "C" { void *malloc(unsigned); }
     3478#else
     3479char *malloc();
     3480#endif
     3481
     3482int
     3483main()
     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
     3546EOF
     3547if { (eval echo configure:3548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3548then
     3549  ac_cv_func_mmap_fixed_mapped=yes
     3550else
     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
     3555fi
     3556rm -fr conftest*
     3557fi
     3558
     3559fi
     3560
     3561echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
     3562if test $ac_cv_func_mmap_fixed_mapped = yes; then
     3563  cat >> confdefs.h <<\EOF
     3564#define HAVE_MMAP 1
     3565EOF
     3566
     3567fi
     3568
     3569                             
     3570   for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \
     3571unistd.h values.h sys/param.h
     3572do
     3573ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     3574echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     3575echo "configure:3576: checking for $ac_hdr" >&5
     3576if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     3577  echo $ac_n "(cached) $ac_c" 1>&6
     3578else
     3579  cat > conftest.$ac_ext <<EOF
     3580#include <sys/types.h>
     3581#line 3582 "configure"
     3582#include "confdefs.h"
     3583#include <$ac_hdr>
     3584EOF
     3585ac_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; }
     3587ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     3588if test -z "$ac_err"; then
     3589  rm -rf conftest*
     3590  eval "ac_cv_header_$ac_safe=yes"
     3591else
     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"
     3597fi
     3598rm -f conftest*
     3599fi
     3600if 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
     3605EOF
     3606 
     3607else
     3608  echo "$ac_t""no" 1>&6
     3609fi
     3610done
     3611
     3612   for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \
     3613__argz_count __argz_stringify __argz_next
     3614do
     3615echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     3616echo "configure:3617: checking for $ac_func" >&5
     3617if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
     3618  echo $ac_n "(cached) $ac_c" 1>&6
     3619else
     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.  */
     3629char $ac_func();
     3630
     3631int 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)
     3637choke me
     3638#else
     3639$ac_func();
     3640#endif
     3641
     3642; return 0; }
     3643EOF
     3644if { (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"
     3647else
     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"
     3652fi
     3653rm -f conftest*
     3654fi
     3655
     3656if 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
     3661EOF
     3662 
     3663else
     3664  echo "$ac_t""no" 1>&6
     3665fi
     3666done
     3667
     3668
     3669   if test "${ac_cv_func_stpcpy+set}" != "set"; then
     3670     for ac_func in stpcpy
     3671do
     3672echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     3673echo "configure:3674: checking for $ac_func" >&5
     3674if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
     3675  echo $ac_n "(cached) $ac_c" 1>&6
     3676else
     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.  */
     3686char $ac_func();
     3687
     3688int 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)
     3694choke me
     3695#else
     3696$ac_func();
     3697#endif
     3698
     3699; return 0; }
     3700EOF
     3701if { (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"
     3704else
     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"
     3709fi
     3710rm -f conftest*
     3711fi
     3712
     3713if 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
     3718EOF
     3719 
     3720else
     3721  echo "$ac_t""no" 1>&6
     3722fi
     3723done
     3724
     3725   fi
     3726   if test "${ac_cv_func_stpcpy}" = "yes"; then
     3727     cat >> confdefs.h <<\EOF
     3728#define HAVE_STPCPY 1
     3729EOF
     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
     3735echo "configure:3736: checking for LC_MESSAGES" >&5
     3736if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
     3737  echo $ac_n "(cached) $ac_c" 1>&6
     3738else
     3739  cat > conftest.$ac_ext <<EOF
     3740#line 3741 "configure"
     3741#include "confdefs.h"
     3742#include <locale.h>
     3743int main() {
     3744return LC_MESSAGES
     3745; return 0; }
     3746EOF
     3747if { (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
     3750else
     3751  echo "configure: failed program was:" >&5
     3752  cat conftest.$ac_ext >&5
     3753  rm -rf conftest*
     3754  am_cv_val_LC_MESSAGES=no
     3755fi
     3756rm -f conftest*
     3757fi
     3758
     3759echo "$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
     3763EOF
     3764
     3765    fi
     3766  fi
     3767   echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
     3768echo "configure:3769: checking whether NLS is requested" >&5
     3769        # Check whether --enable-nls or --disable-nls was given.
     3770if test "${enable_nls+set}" = set; then
     3771  enableval="$enable_nls"
     3772  USE_NLS=$enableval
     3773else
     3774  USE_NLS=yes
     3775fi
     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
     3785EOF
     3786
     3787      echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
     3788echo "configure:3789: checking whether included gettext is requested" >&5
     3789      # Check whether --with-included-gettext or --without-included-gettext was given.
     3790if test "${with_included_gettext+set}" = set; then
     3791  withval="$with_included_gettext"
     3792  nls_cv_force_use_gnu_gettext=$withval
     3793else
     3794  nls_cv_force_use_gnu_gettext=no
     3795fi
     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_%'`
     3806echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
     3807echo "configure:3808: checking for libintl.h" >&5
     3808if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     3809  echo $ac_n "(cached) $ac_c" 1>&6
     3810else
     3811  cat > conftest.$ac_ext <<EOF
     3812#include <sys/types.h>
     3813#line 3814 "configure"
     3814#include "confdefs.h"
     3815#include <libintl.h>
     3816EOF
     3817ac_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; }
     3819ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     3820if test -z "$ac_err"; then
     3821  rm -rf conftest*
     3822  eval "ac_cv_header_$ac_safe=yes"
     3823else
     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"
     3829fi
     3830rm -f conftest*
     3831fi
     3832if 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
     3835echo "configure:3836: checking for gettext in libc" >&5
     3836if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
     3837  echo $ac_n "(cached) $ac_c" 1>&6
     3838else
     3839  cat > conftest.$ac_ext <<EOF
     3840#line 3841 "configure"
     3841#include "confdefs.h"
     3842#include <libintl.h>
     3843int main() {
     3844return (int) gettext ("")
     3845; return 0; }
     3846EOF
     3847if { (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
     3850else
     3851  echo "configure: failed program was:" >&5
     3852  cat conftest.$ac_ext >&5
     3853  rm -rf conftest*
     3854  gt_cv_func_gettext_libc=no
     3855fi
     3856rm -f conftest*
     3857fi
     3858
     3859echo "$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
     3863echo "configure:3864: checking for bindtextdomain in -lintl" >&5
     3864ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
     3865if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     3866  echo $ac_n "(cached) $ac_c" 1>&6
     3867else
     3868  ac_save_LIBS="$LIBS"
     3869LIBS="-lintl  $LIBS"
     3870cat > 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.  */
     3876char bindtextdomain();
     3877
     3878int main() {
     3879bindtextdomain()
     3880; return 0; }
     3881EOF
     3882if { (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"
     3885else
     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"
     3890fi
     3891rm -f conftest*
     3892LIBS="$ac_save_LIBS"
     3893
     3894fi
     3895if 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
     3898echo "configure:3899: checking for gettext in libintl" >&5
     3899if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
     3900  echo $ac_n "(cached) $ac_c" 1>&6
     3901else
     3902  cat > conftest.$ac_ext <<EOF
     3903#line 3904 "configure"
     3904#include "confdefs.h"
     3905
     3906int main() {
     3907return (int) gettext ("")
     3908; return 0; }
     3909EOF
     3910if { (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
     3913else
     3914  echo "configure: failed program was:" >&5
     3915  cat conftest.$ac_ext >&5
     3916  rm -rf conftest*
     3917  gt_cv_func_gettext_libintl=no
     3918fi
     3919rm -f conftest*
     3920fi
     3921
     3922echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6
     3923else
     3924  echo "$ac_t""no" 1>&6
     3925fi
     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
     3933EOF
     3934
     3935              # Extract the first word of "msgfmt", so it can be a program name with args.
     3936set dummy msgfmt; ac_word=$2
     3937echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     3938echo "configure:3939: checking for $ac_word" >&5
     3939if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
     3940  echo $ac_n "(cached) $ac_c" 1>&6
     3941else
     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  ;;
     3960esac
     3961fi
     3962MSGFMT="$ac_cv_path_MSGFMT"
     3963if test -n "$MSGFMT"; then
     3964  echo "$ac_t""$MSGFMT" 1>&6
     3965else
     3966  echo "$ac_t""no" 1>&6
     3967fi
     3968              if test "$MSGFMT" != "no"; then
     3969                for ac_func in dcgettext
     3970do
     3971echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     3972echo "configure:3973: checking for $ac_func" >&5
     3973if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
     3974  echo $ac_n "(cached) $ac_c" 1>&6
     3975else
     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.  */
     3985char $ac_func();
     3986
     3987int 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)
     3993choke me
     3994#else
     3995$ac_func();
     3996#endif
     3997
     3998; return 0; }
     3999EOF
     4000if { (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"
     4003else
     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"
     4008fi
     4009rm -f conftest*
     4010fi
     4011
     4012if 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
     4017EOF
     4018 
     4019else
     4020  echo "$ac_t""no" 1>&6
     4021fi
     4022done
     4023
     4024                # Extract the first word of "gmsgfmt", so it can be a program name with args.
     4025set dummy gmsgfmt; ac_word=$2
     4026echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     4027echo "configure:4028: checking for $ac_word" >&5
     4028if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
     4029  echo $ac_n "(cached) $ac_c" 1>&6
     4030else
     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  ;;
     4055esac
     4056fi
     4057GMSGFMT="$ac_cv_path_GMSGFMT"
     4058if test -n "$GMSGFMT"; then
     4059  echo "$ac_t""$GMSGFMT" 1>&6
     4060else
     4061  echo "$ac_t""no" 1>&6
     4062fi
     4063
     4064                # Extract the first word of "xgettext", so it can be a program name with args.
     4065set dummy xgettext; ac_word=$2
     4066echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     4067echo "configure:4068: checking for $ac_word" >&5
     4068if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
     4069  echo $ac_n "(cached) $ac_c" 1>&6
     4070else
     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  ;;
     4089esac
     4090fi
     4091XGETTEXT="$ac_cv_path_XGETTEXT"
     4092if test -n "$XGETTEXT"; then
     4093  echo "$ac_t""$XGETTEXT" 1>&6
     4094else
     4095  echo "$ac_t""no" 1>&6
     4096fi
     4097
     4098                cat > conftest.$ac_ext <<EOF
     4099#line 4100 "configure"
     4100#include "confdefs.h"
     4101
     4102int main() {
     4103extern int _nl_msg_cat_cntr;
     4104                               return _nl_msg_cat_cntr
     4105; return 0; }
     4106EOF
     4107if { (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
     4111else
     4112  echo "configure: failed program was:" >&5
     4113  cat conftest.$ac_ext >&5
     4114  rm -rf conftest*
     4115  CATOBJEXT=.mo
     4116                   DATADIRNAME=lib
     4117fi
     4118rm -f conftest*
     4119                INSTOBJEXT=.mo
     4120              fi
     4121            fi
     4122       
     4123else
     4124  echo "$ac_t""no" 1>&6
     4125fi
     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.
     4137set dummy msgfmt; ac_word=$2
     4138echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     4139echo "configure:4140: checking for $ac_word" >&5
     4140if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
     4141  echo $ac_n "(cached) $ac_c" 1>&6
     4142else
     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  ;;
     4161esac
     4162fi
     4163MSGFMT="$ac_cv_path_MSGFMT"
     4164if test -n "$MSGFMT"; then
     4165  echo "$ac_t""$MSGFMT" 1>&6
     4166else
     4167  echo "$ac_t""no" 1>&6
     4168fi
     4169
     4170        # Extract the first word of "gmsgfmt", so it can be a program name with args.
     4171set dummy gmsgfmt; ac_word=$2
     4172echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     4173echo "configure:4174: checking for $ac_word" >&5
     4174if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
     4175  echo $ac_n "(cached) $ac_c" 1>&6
     4176else
     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  ;;
     4201esac
     4202fi
     4203GMSGFMT="$ac_cv_path_GMSGFMT"
     4204if test -n "$GMSGFMT"; then
     4205  echo "$ac_t""$GMSGFMT" 1>&6
     4206else
     4207  echo "$ac_t""no" 1>&6
     4208fi
     4209
     4210        # Extract the first word of "xgettext", so it can be a program name with args.
     4211set dummy xgettext; ac_word=$2
     4212echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     4213echo "configure:4214: checking for $ac_word" >&5
     4214if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
     4215  echo $ac_n "(cached) $ac_c" 1>&6
     4216else
     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  ;;
     4235esac
     4236fi
     4237XGETTEXT="$ac_cv_path_XGETTEXT"
     4238if test -n "$XGETTEXT"; then
     4239  echo "$ac_t""$XGETTEXT" 1>&6
     4240else
     4241  echo "$ac_t""no" 1>&6
     4242fi
     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
     4303echo "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_%'`
     4330echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
     4331echo "configure:4332: checking for linux/version.h" >&5
     4332if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     4333  echo $ac_n "(cached) $ac_c" 1>&6
     4334else
     4335  cat > conftest.$ac_ext <<EOF
     4336#include <sys/types.h>
     4337#line 4338 "configure"
     4338#include "confdefs.h"
     4339#include <linux/version.h>
     4340EOF
     4341ac_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; }
     4343ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     4344if test -z "$ac_err"; then
     4345  rm -rf conftest*
     4346  eval "ac_cv_header_$ac_safe=yes"
     4347else
     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"
     4353fi
     4354rm -f conftest*
     4355fi
     4356if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
     4357  echo "$ac_t""yes" 1>&6
     4358  msgformat=linux
     4359else
     4360  echo "$ac_t""no" 1>&6
     4361msgformat=xopen
     4362fi
     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 
    26854403
    26864404# Permit host specific settings.
     
    27004418# ./install, which can be erroneously created by make from ./install.sh.
    27014419echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    2702 echo "configure:2703: checking for a BSD compatible install" >&5
     4420echo "configure:4421: checking for a BSD compatible install" >&5
    27034421if test -z "$INSTALL"; then
    27044422if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    27854503else
    27864504  echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6
    2787 echo "configure:2788: checking for build system executable suffix" >&5
     4505echo "configure:4506: checking for build system executable suffix" >&5
    27884506if eval "test \"`echo '$''{'bfd_cv_build_exeext'+set}'`\" = set"; then
    27894507  echo $ac_n "(cached) $ac_c" 1>&6
     
    28094527
    28104528
    2811 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    2812 echo "configure:2813: checking how to run the C preprocessor" >&5
    2813 # On Suns, sometimes $CPP names a directory.
    2814 if test -n "$CPP" && test -d "$CPP"; then
    2815   CPP=
    2816 fi
    2817 if test -z "$CPP"; then
    2818 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
    2819   echo $ac_n "(cached) $ac_c" 1>&6
    2820 else
    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>
    2831 Syntax Error
    2832 EOF
    2833 ac_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; }
    2835 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2836 if test -z "$ac_err"; then
    2837   :
    2838 else
    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>
    2849 Syntax Error
    2850 EOF
    2851 ac_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; }
    2853 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2854 if test -z "$ac_err"; then
    2855   :
    2856 else
    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>
    2867 Syntax Error
    2868 EOF
    2869 ac_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; }
    2871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2872 if test -z "$ac_err"; then
    2873   :
    2874 else
    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
    2880 fi
    2881 rm -f conftest*
    2882 fi
    2883 rm -f conftest*
    2884 fi
    2885 rm -f conftest*
    2886   ac_cv_prog_CPP="$CPP"
    2887 fi
    2888   CPP="$ac_cv_prog_CPP"
    2889 else
    2890   ac_cv_prog_CPP="$CPP"
    2891 fi
    2892 echo "$ac_t""$CPP" 1>&6
    2893 
    28944529for ac_hdr in stddef.h string.h strings.h stdlib.h time.h unistd.h
    28954530do
    28964531ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    28974532echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2898 echo "configure:2899: checking for $ac_hdr" >&5
     4533echo "configure:4534: checking for $ac_hdr" >&5
    28994534if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    29004535  echo $ac_n "(cached) $ac_c" 1>&6
     
    29024537  cat > conftest.$ac_ext <<EOF
    29034538#include <sys/types.h>
    2904 #line 2905 "configure"
     4539#line 4540 "configure"
    29054540#include "confdefs.h"
    29064541#include <$ac_hdr>
    29074542EOF
    29084543ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2909 { (eval echo configure:2910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4544{ (eval echo configure:4545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    29104545ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    29114546if test -z "$ac_err"; then
     
    29374572ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    29384573echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2939 echo "configure:2940: checking for $ac_hdr" >&5
     4574echo "configure:4575: checking for $ac_hdr" >&5
    29404575if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    29414576  echo $ac_n "(cached) $ac_c" 1>&6
     
    29434578  cat > conftest.$ac_ext <<EOF
    29444579#include <sys/types.h>
    2945 #line 2946 "configure"
     4580#line 4581 "configure"
    29464581#include "confdefs.h"
    29474582#include <$ac_hdr>
    29484583EOF
    29494584ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2950 { (eval echo configure:2951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4585{ (eval echo configure:4586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    29514586ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    29524587if test -z "$ac_err"; then
     
    29754610
    29764611echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    2977 echo "configure:2978: checking whether time.h and sys/time.h may both be included" >&5
     4612echo "configure:4613: checking whether time.h and sys/time.h may both be included" >&5
    29784613if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    29794614  echo $ac_n "(cached) $ac_c" 1>&6
    29804615else
    29814616  cat > conftest.$ac_ext <<EOF
    2982 #line 2983 "configure"
     4617#line 4618 "configure"
    29834618#include "confdefs.h"
    29844619#include <sys/types.h>
     
    29894624; return 0; }
    29904625EOF
    2991 if { (eval echo configure:2992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4626if { (eval echo configure:4627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    29924627  rm -rf conftest*
    29934628  ac_cv_header_time=yes
     
    30144649ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    30154650echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
    3016 echo "configure:3017: checking for $ac_hdr that defines DIR" >&5
     4651echo "configure:4652: checking for $ac_hdr that defines DIR" >&5
    30174652if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
    30184653  echo $ac_n "(cached) $ac_c" 1>&6
    30194654else
    30204655  cat > conftest.$ac_ext <<EOF
    3021 #line 3022 "configure"
     4656#line 4657 "configure"
    30224657#include "confdefs.h"
    30234658#include <sys/types.h>
     
    30274662; return 0; }
    30284663EOF
    3029 if { (eval echo configure:3030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4664if { (eval echo configure:4665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    30304665  rm -rf conftest*
    30314666  eval "ac_cv_header_dirent_$ac_safe=yes"
     
    30524687if test $ac_header_dirent = dirent.h; then
    30534688echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
    3054 echo "configure:3055: checking for opendir in -ldir" >&5
     4689echo "configure:4690: checking for opendir in -ldir" >&5
    30554690ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
    30564691if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    30604695LIBS="-ldir  $LIBS"
    30614696cat > conftest.$ac_ext <<EOF
    3062 #line 3063 "configure"
     4697#line 4698 "configure"
    30634698#include "confdefs.h"
    30644699/* Override any gcc2 internal prototype to avoid an error.  */
     
    30714706; return 0; }
    30724707EOF
    3073 if { (eval echo configure:3074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4708if { (eval echo configure:4709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30744709  rm -rf conftest*
    30754710  eval "ac_cv_lib_$ac_lib_var=yes"
     
    30934728else
    30944729echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
    3095 echo "configure:3096: checking for opendir in -lx" >&5
     4730echo "configure:4731: checking for opendir in -lx" >&5
    30964731ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
    30974732if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    31014736LIBS="-lx  $LIBS"
    31024737cat > conftest.$ac_ext <<EOF
    3103 #line 3104 "configure"
     4738#line 4739 "configure"
    31044739#include "confdefs.h"
    31054740/* Override any gcc2 internal prototype to avoid an error.  */
     
    31124747; return 0; }
    31134748EOF
    3114 if { (eval echo configure:3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4749if { (eval echo configure:4750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    31154750  rm -rf conftest*
    31164751  eval "ac_cv_lib_$ac_lib_var=yes"
     
    31374772do
    31384773echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3139 echo "configure:3140: checking for $ac_func" >&5
     4774echo "configure:4775: checking for $ac_func" >&5
    31404775if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    31414776  echo $ac_n "(cached) $ac_c" 1>&6
    31424777else
    31434778  cat > conftest.$ac_ext <<EOF
    3144 #line 3145 "configure"
     4779#line 4780 "configure"
    31454780#include "confdefs.h"
    31464781/* System header to define __stub macros and hopefully few prototypes,
     
    31654800; return 0; }
    31664801EOF
    3167 if { (eval echo configure:3168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4802if { (eval echo configure:4803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    31684803  rm -rf conftest*
    31694804  eval "ac_cv_func_$ac_func=yes"
     
    32004835
    32014836echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6
    3202 echo "configure:3203: checking whether strstr must be declared" >&5
     4837echo "configure:4838: checking whether strstr must be declared" >&5
    32034838if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then
    32044839  echo $ac_n "(cached) $ac_c" 1>&6
    32054840else
    32064841  cat > conftest.$ac_ext <<EOF
    3207 #line 3208 "configure"
     4842#line 4843 "configure"
    32084843#include "confdefs.h"
    32094844
     
    32264861; return 0; }
    32274862EOF
    3228 if { (eval echo configure:3229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4863if { (eval echo configure:4864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32294864  rm -rf conftest*
    32304865  bfd_cv_decl_needed_strstr=no
     
    32474882
    32484883echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6
    3249 echo "configure:3250: checking whether malloc must be declared" >&5
     4884echo "configure:4885: checking whether malloc must be declared" >&5
    32504885if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+set}'`\" = set"; then
    32514886  echo $ac_n "(cached) $ac_c" 1>&6
    32524887else
    32534888  cat > conftest.$ac_ext <<EOF
    3254 #line 3255 "configure"
     4889#line 4890 "configure"
    32554890#include "confdefs.h"
    32564891
     
    32734908; return 0; }
    32744909EOF
    3275 if { (eval echo configure:3276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4910if { (eval echo configure:4911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32764911  rm -rf conftest*
    32774912  bfd_cv_decl_needed_malloc=no
     
    32944929
    32954930echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6
    3296 echo "configure:3297: checking whether realloc must be declared" >&5
     4931echo "configure:4932: checking whether realloc must be declared" >&5
    32974932if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+set}'`\" = set"; then
    32984933  echo $ac_n "(cached) $ac_c" 1>&6
    32994934else
    33004935  cat > conftest.$ac_ext <<EOF
    3301 #line 3302 "configure"
     4936#line 4937 "configure"
    33024937#include "confdefs.h"
    33034938
     
    33204955; return 0; }
    33214956EOF
    3322 if { (eval echo configure:3323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4957if { (eval echo configure:4958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    33234958  rm -rf conftest*
    33244959  bfd_cv_decl_needed_realloc=no
     
    33414976
    33424977echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6
    3343 echo "configure:3344: checking whether free must be declared" >&5
     4978echo "configure:4979: checking whether free must be declared" >&5
    33444979if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then
    33454980  echo $ac_n "(cached) $ac_c" 1>&6
    33464981else
    33474982  cat > conftest.$ac_ext <<EOF
    3348 #line 3349 "configure"
     4983#line 4984 "configure"
    33494984#include "confdefs.h"
    33504985
     
    33675002; return 0; }
    33685003EOF
    3369 if { (eval echo configure:3370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5004if { (eval echo configure:5005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    33705005  rm -rf conftest*
    33715006  bfd_cv_decl_needed_free=no
     
    33885023
    33895024echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6
    3390 echo "configure:3391: checking whether getenv must be declared" >&5
     5025echo "configure:5026: checking whether getenv must be declared" >&5
    33915026if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then
    33925027  echo $ac_n "(cached) $ac_c" 1>&6
    33935028else
    33945029  cat > conftest.$ac_ext <<EOF
    3395 #line 3396 "configure"
     5030#line 5031 "configure"
    33965031#include "confdefs.h"
    33975032
     
    34145049; return 0; }
    34155050EOF
    3416 if { (eval echo configure:3417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5051if { (eval echo configure:5052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    34175052  rm -rf conftest*
    34185053  bfd_cv_decl_needed_getenv=no
     
    36405275ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    36415276echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3642 echo "configure:3643: checking for $ac_hdr" >&5
     5277echo "configure:5278: checking for $ac_hdr" >&5
    36435278if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    36445279  echo $ac_n "(cached) $ac_c" 1>&6
     
    36465281  cat > conftest.$ac_ext <<EOF
    36475282#include <sys/types.h>
    3648 #line 3649 "configure"
     5283#line 5284 "configure"
    36495284#include "confdefs.h"
    36505285#include <$ac_hdr>
    36515286EOF
    36525287ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3653 { (eval echo configure:3654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5288{ (eval echo configure:5289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    36545289ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    36555290if test -z "$ac_err"; then
     
    36795314  if test "$ac_cv_header_sys_procfs_h" = yes; then
    36805315    echo $ac_n "checking for prstatus_t in sys/procfs.h""... $ac_c" 1>&6
    3681 echo "configure:3682: checking for prstatus_t in sys/procfs.h" >&5
     5316echo "configure:5317: checking for prstatus_t in sys/procfs.h" >&5
    36825317 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus_t'+set}'`\" = set"; then
    36835318  echo $ac_n "(cached) $ac_c" 1>&6
    36845319else
    36855320  cat > conftest.$ac_ext <<EOF
    3686 #line 3687 "configure"
     5321#line 5322 "configure"
    36875322#include "confdefs.h"
    36885323
     
    36935328; return 0; }
    36945329EOF
    3695 if { (eval echo configure:3696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5330if { (eval echo configure:5331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    36965331  rm -rf conftest*
    36975332  bfd_cv_have_sys_procfs_type_prstatus_t=yes
     
    37155350
    37165351    echo $ac_n "checking for prstatus32_t in sys/procfs.h""... $ac_c" 1>&6
    3717 echo "configure:3718: checking for prstatus32_t in sys/procfs.h" >&5
     5352echo "configure:5353: checking for prstatus32_t in sys/procfs.h" >&5
    37185353 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus32_t'+set}'`\" = set"; then
    37195354  echo $ac_n "(cached) $ac_c" 1>&6
    37205355else
    37215356  cat > conftest.$ac_ext <<EOF
    3722 #line 3723 "configure"
     5357#line 5358 "configure"
    37235358#include "confdefs.h"
    37245359
     
    37295364; return 0; }
    37305365EOF
    3731 if { (eval echo configure:3732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5366if { (eval echo configure:5367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    37325367  rm -rf conftest*
    37335368  bfd_cv_have_sys_procfs_type_prstatus32_t=yes
     
    37515386
    37525387    echo $ac_n "checking for prstatus_t.pr_who in sys/procfs.h""... $ac_c" 1>&6
    3753 echo "configure:3754: checking for prstatus_t.pr_who in sys/procfs.h" >&5
     5388echo "configure:5389: checking for prstatus_t.pr_who in sys/procfs.h" >&5
    37545389 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who'+set}'`\" = set"; then
    37555390  echo $ac_n "(cached) $ac_c" 1>&6
    37565391else
    37575392  cat > conftest.$ac_ext <<EOF
    3758 #line 3759 "configure"
     5393#line 5394 "configure"
    37595394#include "confdefs.h"
    37605395
     
    37655400; return 0; }
    37665401EOF
    3767 if { (eval echo configure:3768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5402if { (eval echo configure:5403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    37685403  rm -rf conftest*
    37695404  bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
     
    37875422
    37885423    echo $ac_n "checking for prstatus32_t.pr_who in sys/procfs.h""... $ac_c" 1>&6
    3789 echo "configure:3790: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
     5424echo "configure:5425: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
    37905425 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who'+set}'`\" = set"; then
    37915426  echo $ac_n "(cached) $ac_c" 1>&6
    37925427else
    37935428  cat > conftest.$ac_ext <<EOF
    3794 #line 3795 "configure"
     5429#line 5430 "configure"
    37955430#include "confdefs.h"
    37965431
     
    38015436; return 0; }
    38025437EOF
    3803 if { (eval echo configure:3804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5438if { (eval echo configure:5439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    38045439  rm -rf conftest*
    38055440  bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
     
    38235458
    38245459    echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6
    3825 echo "configure:3826: checking for pstatus_t in sys/procfs.h" >&5
     5460echo "configure:5461: checking for pstatus_t in sys/procfs.h" >&5
    38265461 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then
    38275462  echo $ac_n "(cached) $ac_c" 1>&6
    38285463else
    38295464  cat > conftest.$ac_ext <<EOF
    3830 #line 3831 "configure"
     5465#line 5466 "configure"
    38315466#include "confdefs.h"
    38325467
     
    38375472; return 0; }
    38385473EOF
    3839 if { (eval echo configure:3840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5474if { (eval echo configure:5475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    38405475  rm -rf conftest*
    38415476  bfd_cv_have_sys_procfs_type_pstatus_t=yes
     
    38595494
    38605495    echo $ac_n "checking for pxstatus_t in sys/procfs.h""... $ac_c" 1>&6
    3861 echo "configure:3862: checking for pxstatus_t in sys/procfs.h" >&5
     5496echo "configure:5497: checking for pxstatus_t in sys/procfs.h" >&5
    38625497 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pxstatus_t'+set}'`\" = set"; then
    38635498  echo $ac_n "(cached) $ac_c" 1>&6
    38645499else
    38655500  cat > conftest.$ac_ext <<EOF
    3866 #line 3867 "configure"
     5501#line 5502 "configure"
    38675502#include "confdefs.h"
    38685503
     
    38735508; return 0; }
    38745509EOF
    3875 if { (eval echo configure:3876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5510if { (eval echo configure:5511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    38765511  rm -rf conftest*
    38775512  bfd_cv_have_sys_procfs_type_pxstatus_t=yes
     
    38955530
    38965531    echo $ac_n "checking for pstatus32_t in sys/procfs.h""... $ac_c" 1>&6
    3897 echo "configure:3898: checking for pstatus32_t in sys/procfs.h" >&5
     5532echo "configure:5533: checking for pstatus32_t in sys/procfs.h" >&5
    38985533 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus32_t'+set}'`\" = set"; then
    38995534  echo $ac_n "(cached) $ac_c" 1>&6
    39005535else
    39015536  cat > conftest.$ac_ext <<EOF
    3902 #line 3903 "configure"
     5537#line 5538 "configure"
    39035538#include "confdefs.h"
    39045539
     
    39095544; return 0; }
    39105545EOF
    3911 if { (eval echo configure:3912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5546if { (eval echo configure:5547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    39125547  rm -rf conftest*
    39135548  bfd_cv_have_sys_procfs_type_pstatus32_t=yes
     
    39315566
    39325567    echo $ac_n "checking for prpsinfo_t in sys/procfs.h""... $ac_c" 1>&6
    3933 echo "configure:3934: checking for prpsinfo_t in sys/procfs.h" >&5
     5568echo "configure:5569: checking for prpsinfo_t in sys/procfs.h" >&5
    39345569 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo_t'+set}'`\" = set"; then
    39355570  echo $ac_n "(cached) $ac_c" 1>&6
    39365571else
    39375572  cat > conftest.$ac_ext <<EOF
    3938 #line 3939 "configure"
     5573#line 5574 "configure"
    39395574#include "confdefs.h"
    39405575
     
    39455580; return 0; }
    39465581EOF
    3947 if { (eval echo configure:3948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5582if { (eval echo configure:5583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    39485583  rm -rf conftest*
    39495584  bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
     
    39675602
    39685603    echo $ac_n "checking for prpsinfo32_t in sys/procfs.h""... $ac_c" 1>&6
    3969 echo "configure:3970: checking for prpsinfo32_t in sys/procfs.h" >&5
     5604echo "configure:5605: checking for prpsinfo32_t in sys/procfs.h" >&5
    39705605 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo32_t'+set}'`\" = set"; then
    39715606  echo $ac_n "(cached) $ac_c" 1>&6
    39725607else
    39735608  cat > conftest.$ac_ext <<EOF
    3974 #line 3975 "configure"
     5609#line 5610 "configure"
    39755610#include "confdefs.h"
    39765611
     
    39815616; return 0; }
    39825617EOF
    3983 if { (eval echo configure:3984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5618if { (eval echo configure:5619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    39845619  rm -rf conftest*
    39855620  bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
     
    40035638
    40045639    echo $ac_n "checking for psinfo_t in sys/procfs.h""... $ac_c" 1>&6
    4005 echo "configure:4006: checking for psinfo_t in sys/procfs.h" >&5
     5640echo "configure:5641: checking for psinfo_t in sys/procfs.h" >&5
    40065641 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo_t'+set}'`\" = set"; then
    40075642  echo $ac_n "(cached) $ac_c" 1>&6
    40085643else
    40095644  cat > conftest.$ac_ext <<EOF
    4010 #line 4011 "configure"
     5645#line 5646 "configure"
    40115646#include "confdefs.h"
    40125647
     
    40175652; return 0; }
    40185653EOF
    4019 if { (eval echo configure:4020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5654if { (eval echo configure:5655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    40205655  rm -rf conftest*
    40215656  bfd_cv_have_sys_procfs_type_psinfo_t=yes
     
    40395674
    40405675    echo $ac_n "checking for psinfo32_t in sys/procfs.h""... $ac_c" 1>&6
    4041 echo "configure:4042: checking for psinfo32_t in sys/procfs.h" >&5
     5676echo "configure:5677: checking for psinfo32_t in sys/procfs.h" >&5
    40425677 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo32_t'+set}'`\" = set"; then
    40435678  echo $ac_n "(cached) $ac_c" 1>&6
    40445679else
    40455680  cat > conftest.$ac_ext <<EOF
    4046 #line 4047 "configure"
     5681#line 5682 "configure"
    40475682#include "confdefs.h"
    40485683
     
    40535688; return 0; }
    40545689EOF
    4055 if { (eval echo configure:4056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5690if { (eval echo configure:5691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    40565691  rm -rf conftest*
    40575692  bfd_cv_have_sys_procfs_type_psinfo32_t=yes
     
    40755710
    40765711    echo $ac_n "checking for lwpstatus_t in sys/procfs.h""... $ac_c" 1>&6
    4077 echo "configure:4078: checking for lwpstatus_t in sys/procfs.h" >&5
     5712echo "configure:5713: checking for lwpstatus_t in sys/procfs.h" >&5
    40785713 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpstatus_t'+set}'`\" = set"; then
    40795714  echo $ac_n "(cached) $ac_c" 1>&6
    40805715else
    40815716  cat > conftest.$ac_ext <<EOF
    4082 #line 4083 "configure"
     5717#line 5718 "configure"
    40835718#include "confdefs.h"
    40845719
     
    40895724; return 0; }
    40905725EOF
    4091 if { (eval echo configure:4092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5726if { (eval echo configure:5727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    40925727  rm -rf conftest*
    40935728  bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
     
    41115746
    41125747    echo $ac_n "checking for lwpxstatus_t in sys/procfs.h""... $ac_c" 1>&6
    4113 echo "configure:4114: checking for lwpxstatus_t in sys/procfs.h" >&5
     5748echo "configure:5749: checking for lwpxstatus_t in sys/procfs.h" >&5
    41145749 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpxstatus_t'+set}'`\" = set"; then
    41155750  echo $ac_n "(cached) $ac_c" 1>&6
    41165751else
    41175752  cat > conftest.$ac_ext <<EOF
    4118 #line 4119 "configure"
     5753#line 5754 "configure"
    41195754#include "confdefs.h"
    41205755
     
    41255760; return 0; }
    41265761EOF
    4127 if { (eval echo configure:4128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5762if { (eval echo configure:5763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    41285763  rm -rf conftest*
    41295764  bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
     
    41475782
    41485783    echo $ac_n "checking for lwpstatus_t.pr_context in sys/procfs.h""... $ac_c" 1>&6
    4149 echo "configure:4150: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
     5784echo "configure:5785: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
    41505785 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context'+set}'`\" = set"; then
    41515786  echo $ac_n "(cached) $ac_c" 1>&6
    41525787else
    41535788  cat > conftest.$ac_ext <<EOF
    4154 #line 4155 "configure"
     5789#line 5790 "configure"
    41555790#include "confdefs.h"
    41565791
     
    41615796; return 0; }
    41625797EOF
    4163 if { (eval echo configure:4164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5798if { (eval echo configure:5799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    41645799  rm -rf conftest*
    41655800  bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
     
    41835818
    41845819    echo $ac_n "checking for lwpstatus_t.pr_reg in sys/procfs.h""... $ac_c" 1>&6
    4185 echo "configure:4186: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
     5820echo "configure:5821: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
    41865821 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg'+set}'`\" = set"; then
    41875822  echo $ac_n "(cached) $ac_c" 1>&6
    41885823else
    41895824  cat > conftest.$ac_ext <<EOF
    4190 #line 4191 "configure"
     5825#line 5826 "configure"
    41915826#include "confdefs.h"
    41925827
     
    41975832; return 0; }
    41985833EOF
    4199 if { (eval echo configure:4200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5834if { (eval echo configure:5835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    42005835  rm -rf conftest*
    42015836  bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
     
    42195854
    42205855    echo $ac_n "checking for win32_pstatus_t in sys/procfs.h""... $ac_c" 1>&6
    4221 echo "configure:4222: checking for win32_pstatus_t in sys/procfs.h" >&5
     5856echo "configure:5857: checking for win32_pstatus_t in sys/procfs.h" >&5
    42225857 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_win32_pstatus_t'+set}'`\" = set"; then
    42235858  echo $ac_n "(cached) $ac_c" 1>&6
    42245859else
    42255860  cat > conftest.$ac_ext <<EOF
    4226 #line 4227 "configure"
     5861#line 5862 "configure"
    42275862#include "confdefs.h"
    42285863
     
    42335868; return 0; }
    42345869EOF
    4235 if { (eval echo configure:4236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5870if { (eval echo configure:5871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    42365871  rm -rf conftest*
    42375872  bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
     
    46326267ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    46336268echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4634 echo "configure:4635: checking for $ac_hdr" >&5
     6269echo "configure:6270: checking for $ac_hdr" >&5
    46356270if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    46366271  echo $ac_n "(cached) $ac_c" 1>&6
     
    46386273  cat > conftest.$ac_ext <<EOF
    46396274#include <sys/types.h>
    4640 #line 4641 "configure"
     6275#line 6276 "configure"
    46416276#include "confdefs.h"
    46426277#include <$ac_hdr>
    46436278EOF
    46446279ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4645 { (eval echo configure:4646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     6280{ (eval echo configure:6281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    46466281ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    46476282if test -z "$ac_err"; then
     
    46726307do
    46736308echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4674 echo "configure:4675: checking for $ac_func" >&5
     6309echo "configure:6310: checking for $ac_func" >&5
    46756310if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    46766311  echo $ac_n "(cached) $ac_c" 1>&6
    46776312else
    46786313  cat > conftest.$ac_ext <<EOF
    4679 #line 4680 "configure"
     6314#line 6315 "configure"
    46806315#include "confdefs.h"
    46816316/* System header to define __stub macros and hopefully few prototypes,
     
    47006335; return 0; }
    47016336EOF
    4702 if { (eval echo configure:4703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6337if { (eval echo configure:6338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47036338  rm -rf conftest*
    47046339  eval "ac_cv_func_$ac_func=yes"
     
    47256360
    47266361echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    4727 echo "configure:4728: checking for working mmap" >&5
     6362echo "configure:6363: checking for working mmap" >&5
    47286363if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    47296364  echo $ac_n "(cached) $ac_c" 1>&6
     
    47336368else
    47346369  cat > conftest.$ac_ext <<EOF
    4735 #line 4736 "configure"
     6370#line 6371 "configure"
    47366371#include "confdefs.h"
    47376372
     
    48736508
    48746509EOF
    4875 if { (eval echo configure:4876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     6510if { (eval echo configure:6511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    48766511then
    48776512  ac_cv_func_mmap_fixed_mapped=yes
     
    48986533do
    48996534echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4900 echo "configure:4901: checking for $ac_func" >&5
     6535echo "configure:6536: checking for $ac_func" >&5
    49016536if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    49026537  echo $ac_n "(cached) $ac_c" 1>&6
    49036538else
    49046539  cat > conftest.$ac_ext <<EOF
    4905 #line 4906 "configure"
     6540#line 6541 "configure"
    49066541#include "confdefs.h"
    49076542/* System header to define __stub macros and hopefully few prototypes,
     
    49266561; return 0; }
    49276562EOF
    4928 if { (eval echo configure:4929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6563if { (eval echo configure:6564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    49296564  rm -rf conftest*
    49306565  eval "ac_cv_func_$ac_func=yes"
     
    51356770s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
    51366771s%@MAINT@%$MAINT%g
     6772s%@CPP@%$CPP%g
     6773s%@ALLOCA@%$ALLOCA%g
     6774s%@USE_NLS@%$USE_NLS%g
     6775s%@MSGFMT@%$MSGFMT%g
     6776s%@GMSGFMT@%$GMSGFMT%g
     6777s%@XGETTEXT@%$XGETTEXT%g
     6778s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g
     6779s%@CATALOGS@%$CATALOGS%g
     6780s%@CATOBJEXT@%$CATOBJEXT%g
     6781s%@DATADIRNAME@%$DATADIRNAME%g
     6782s%@GMOFILES@%$GMOFILES%g
     6783s%@INSTOBJEXT@%$INSTOBJEXT%g
     6784s%@INTLDEPS@%$INTLDEPS%g
     6785s%@INTLLIBS@%$INTLLIBS%g
     6786s%@INTLOBJS@%$INTLOBJS%g
     6787s%@POFILES@%$POFILES%g
     6788s%@POSUB@%$POSUB%g
     6789s%@INCLUDE_LOCALE_H@%$INCLUDE_LOCALE_H%g
     6790s%@GT_NO@%$GT_NO%g
     6791s%@GT_YES@%$GT_YES%g
     6792s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
     6793s%@l@%$l%g
    51376794s%@HDEFINES@%$HDEFINES%g
    51386795s%@BFD_HOST_64BIT_LONG@%$BFD_HOST_64BIT_LONG%g
     
    51426799s%@CC_FOR_BUILD@%$CC_FOR_BUILD%g
    51436800s%@EXEEXT_FOR_BUILD@%$EXEEXT_FOR_BUILD%g
    5144 s%@CPP@%$CPP%g
    51456801s%@COREFILE@%$COREFILE%g
    51466802s%@COREFLAG@%$COREFLAG%g
Note: See TracChangeset for help on using the changeset viewer.