~ubuntu-branches/ubuntu/trusty/screen/trusty-backports

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-10-23 17:36:30 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20071023173630-6q4agogsxuzujhwd
Tags: 4.0.3-7ubuntu1
* Merge with Debian; remaining Ubuntu changes:
  - 07_norootpassword.dpatch: When locking a root-owned screen, check that
    root has a password set. If not, ask for an unlocking key. (LP#6760)
  - debian/preinst: Remove obsolete init script 'screen' on
    upgrades. The script is called 'screen-cleanup' in Debian and thus
    should be called the same in Ubuntu to avoid a permanent and pointless
    delta. This needs to be kept until after the next LTS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# From configure.in Revision: 1.18 .
3
3
# Guess values for system-dependent variables and create Makefiles.
4
 
# Generated by GNU Autoconf 2.59.
 
4
# Generated by GNU Autoconf 2.57.
5
5
#
6
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
6
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
 
7
# Free Software Foundation, Inc.
7
8
# This configure script is free software; the Free Software Foundation
8
9
# gives unlimited permission to copy, distribute and modify it.
9
10
## --------------------- ##
20
21
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21
22
  set -o posix
22
23
fi
23
 
DUALCASE=1; export DUALCASE # for MKS sh
24
24
 
25
25
# Support unset when possible.
26
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
26
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
27
27
  as_unset=unset
28
28
else
29
29
  as_unset=false
42
42
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43
43
  LC_TELEPHONE LC_TIME
44
44
do
45
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
45
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
46
46
    eval $as_var=C; export $as_var
47
47
  else
48
48
    $as_unset $as_var
219
219
if mkdir -p . 2>/dev/null; then
220
220
  as_mkdir_p=:
221
221
else
222
 
  test -d ./-p && rmdir ./-p
223
222
  as_mkdir_p=false
224
223
fi
225
224
 
226
225
as_executable_p="test -f"
227
226
 
228
227
# Sed expression to map a string onto a valid CPP name.
229
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
228
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
230
229
 
231
230
# Sed expression to map a string onto a valid variable name.
232
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
231
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233
232
 
234
233
 
235
234
# IFS
669
668
 
670
669
# Be sure to have absolute paths.
671
670
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672
 
              localstatedir libdir includedir oldincludedir infodir mandir
 
671
              localstatedir libdir includedir oldincludedir infodir mandir
673
672
do
674
673
  eval ac_val=$`echo $ac_var`
675
674
  case $ac_val in
709
708
  # Try the directory containing this script, then its parent.
710
709
  ac_confdir=`(dirname "$0") 2>/dev/null ||
711
710
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712
 
         X"$0" : 'X\(//\)[^/]' \| \
713
 
         X"$0" : 'X\(//\)$' \| \
714
 
         X"$0" : 'X\(/\)' \| \
715
 
         .     : '\(.\)' 2>/dev/null ||
 
711
         X"$0" : 'X\(//\)[^/]' \| \
 
712
         X"$0" : 'X\(//\)$' \| \
 
713
         X"$0" : 'X\(/\)' \| \
 
714
         .     : '\(.\)' 2>/dev/null ||
716
715
echo X"$0" |
717
716
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718
717
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
804
803
  cat <<_ACEOF
805
804
Installation directories:
806
805
  --prefix=PREFIX         install architecture-independent files in PREFIX
807
 
                          [$ac_default_prefix]
 
806
                          [$ac_default_prefix]
808
807
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
809
 
                          [PREFIX]
 
808
                          [PREFIX]
810
809
 
811
810
By default, \`make install' will install all the files in
812
811
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
901
900
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
902
901
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
903
902
esac
904
 
 
905
 
# Do not use `cd foo && pwd` to compute absolute paths, because
906
 
# the directories may not exist.
907
 
case `pwd` in
908
 
.) ac_abs_builddir="$ac_dir";;
909
 
*)
910
 
  case "$ac_dir" in
911
 
  .) ac_abs_builddir=`pwd`;;
912
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
913
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
914
 
  esac;;
915
 
esac
916
 
case $ac_abs_builddir in
917
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
918
 
*)
919
 
  case ${ac_top_builddir}. in
920
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
921
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
922
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
923
 
  esac;;
924
 
esac
925
 
case $ac_abs_builddir in
926
 
.) ac_abs_srcdir=$ac_srcdir;;
927
 
*)
928
 
  case $ac_srcdir in
929
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
930
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
931
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
932
 
  esac;;
933
 
esac
934
 
case $ac_abs_builddir in
935
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
936
 
*)
937
 
  case $ac_top_srcdir in
938
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
939
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
940
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
941
 
  esac;;
942
 
esac
 
903
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
904
# absolute.
 
905
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
 
906
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 
907
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 
908
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
943
909
 
944
910
    cd $ac_dir
945
911
    # Check for guested configure; otherwise get Cygnus style configure.
950
916
      echo
951
917
      $SHELL $ac_srcdir/configure  --help=recursive
952
918
    elif test -f $ac_srcdir/configure.ac ||
953
 
           test -f $ac_srcdir/configure.in; then
 
919
           test -f $ac_srcdir/configure.in; then
954
920
      echo
955
921
      $ac_configure --help
956
922
    else
957
923
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
958
924
    fi
959
 
    cd "$ac_popdir"
 
925
    cd $ac_popdir
960
926
  done
961
927
fi
962
928
 
964
930
if $ac_init_version; then
965
931
  cat <<\_ACEOF
966
932
 
967
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
933
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
 
934
Free Software Foundation, Inc.
968
935
This configure script is free software; the Free Software Foundation
969
936
gives unlimited permission to copy, distribute and modify it.
970
937
_ACEOF
976
943
running configure, to aid debugging if configure makes a mistake.
977
944
 
978
945
It was created by $as_me, which was
979
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
946
generated by GNU Autoconf 2.57.  Invocation command line was
980
947
 
981
948
  $ $0 $@
982
949
 
1053
1020
    2)
1054
1021
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1055
1022
      if test $ac_must_keep_next = true; then
1056
 
        ac_must_keep_next=false # Got value, back to normal.
 
1023
        ac_must_keep_next=false # Got value, back to normal.
1057
1024
      else
1058
 
        case $ac_arg in
1059
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1060
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1061
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1062
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1063
 
            case "$ac_configure_args0 " in
1064
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1065
 
            esac
1066
 
            ;;
1067
 
          -* ) ac_must_keep_next=true ;;
1068
 
        esac
 
1025
        case $ac_arg in
 
1026
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1027
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1028
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1029
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1030
            case "$ac_configure_args0 " in
 
1031
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1032
            esac
 
1033
            ;;
 
1034
          -* ) ac_must_keep_next=true ;;
 
1035
        esac
1069
1036
      fi
1070
1037
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1071
1038
      # Get rid of the leading space.
1099
1066
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1100
1067
    *ac_space=\ *)
1101
1068
      sed -n \
1102
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1103
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1069
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1070
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1104
1071
      ;;
1105
1072
    *)
1106
1073
      sed -n \
1107
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1074
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1108
1075
      ;;
1109
1076
    esac;
1110
1077
}
1133
1100
      for ac_var in $ac_subst_files
1134
1101
      do
1135
1102
        eval ac_val=$`echo $ac_var`
1136
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1103
        echo "$ac_var='"'"'$ac_val'"'"'"
1137
1104
      done | sort
1138
1105
      echo
1139
1106
    fi
1152
1119
      echo "$as_me: caught signal $ac_signal"
1153
1120
    echo "$as_me: exit $exit_status"
1154
1121
  } >&5
1155
 
  rm -f core *.core &&
 
1122
  rm -f core core.* *.core &&
1156
1123
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1157
1124
    exit $exit_status
1158
1125
     ' 0
1232
1199
# value.
1233
1200
ac_cache_corrupted=false
1234
1201
for ac_var in `(set) 2>&1 |
1235
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1202
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1236
1203
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1237
1204
  eval ac_new_set=\$ac_env_${ac_var}_set
1238
1205
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1249
1216
    ,);;
1250
1217
    *)
1251
1218
      if test "x$ac_old_val" != "x$ac_new_val"; then
1252
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1219
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1253
1220
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1254
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1221
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1255
1222
echo "$as_me:   former value:  $ac_old_val" >&2;}
1256
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1223
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1257
1224
echo "$as_me:   current value: $ac_new_val" >&2;}
1258
 
        ac_cache_corrupted=:
 
1225
        ac_cache_corrupted=:
1259
1226
      fi;;
1260
1227
  esac
1261
1228
  # Pass precious variables to config.status.
1355
1322
echo "${ECHO_T}no" >&6
1356
1323
fi
1357
1324
 
1358
 
  if test -n "$ac_prefix_program"; then
 
1325
  if test -n $ac_prefix_program; then
1359
1326
    prefix=`(dirname "$ac_prefix_program") 2>/dev/null ||
1360
1327
$as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1361
 
         X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
1362
 
         X"$ac_prefix_program" : 'X\(//\)$' \| \
1363
 
         X"$ac_prefix_program" : 'X\(/\)' \| \
1364
 
         .     : '\(.\)' 2>/dev/null ||
 
1328
         X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
 
1329
         X"$ac_prefix_program" : 'X\(//\)$' \| \
 
1330
         X"$ac_prefix_program" : 'X\(/\)' \| \
 
1331
         .     : '\(.\)' 2>/dev/null ||
1365
1332
echo X"$ac_prefix_program" |
1366
1333
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1367
1334
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1370
1337
          s/.*/./; q'`
1371
1338
    prefix=`(dirname "$prefix") 2>/dev/null ||
1372
1339
$as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1373
 
         X"$prefix" : 'X\(//\)[^/]' \| \
1374
 
         X"$prefix" : 'X\(//\)$' \| \
1375
 
         X"$prefix" : 'X\(/\)' \| \
1376
 
         .     : '\(.\)' 2>/dev/null ||
 
1340
         X"$prefix" : 'X\(//\)[^/]' \| \
 
1341
         X"$prefix" : 'X\(//\)$' \| \
 
1342
         X"$prefix" : 'X\(/\)' \| \
 
1343
         .     : '\(.\)' 2>/dev/null ||
1377
1344
echo X"$prefix" |
1378
1345
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1379
1346
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1424
1391
echo "${ECHO_T}no" >&6
1425
1392
fi
1426
1393
 
1427
 
  if test -n "$ac_prefix_program"; then
 
1394
  if test -n $ac_prefix_program; then
1428
1395
    prefix=`(dirname "$ac_prefix_program") 2>/dev/null ||
1429
1396
$as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1430
 
         X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
1431
 
         X"$ac_prefix_program" : 'X\(//\)$' \| \
1432
 
         X"$ac_prefix_program" : 'X\(/\)' \| \
1433
 
         .     : '\(.\)' 2>/dev/null ||
 
1397
         X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
 
1398
         X"$ac_prefix_program" : 'X\(//\)$' \| \
 
1399
         X"$ac_prefix_program" : 'X\(/\)' \| \
 
1400
         .     : '\(.\)' 2>/dev/null ||
1434
1401
echo X"$ac_prefix_program" |
1435
1402
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1436
1403
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1439
1406
          s/.*/./; q'`
1440
1407
    prefix=`(dirname "$prefix") 2>/dev/null ||
1441
1408
$as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1442
 
         X"$prefix" : 'X\(//\)[^/]' \| \
1443
 
         X"$prefix" : 'X\(//\)$' \| \
1444
 
         X"$prefix" : 'X\(/\)' \| \
1445
 
         .     : '\(.\)' 2>/dev/null ||
 
1409
         X"$prefix" : 'X\(//\)[^/]' \| \
 
1410
         X"$prefix" : 'X\(//\)$' \| \
 
1411
         X"$prefix" : 'X\(/\)' \| \
 
1412
         .     : '\(.\)' 2>/dev/null ||
1446
1413
echo X"$prefix" |
1447
1414
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1448
1415
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1790
1757
  (exit $ac_status); }
1791
1758
 
1792
1759
cat >conftest.$ac_ext <<_ACEOF
 
1760
#line $LINENO "configure"
1793
1761
/* confdefs.h.  */
1794
1762
_ACEOF
1795
1763
cat confdefs.h >>conftest.$ac_ext
1809
1777
# Try to create an executable without -o first, disregard a.out.
1810
1778
# It will help us diagnose broken compilers, and finding out an intuition
1811
1779
# of exeext.
1812
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1813
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
1780
echo "$as_me:$LINENO: checking for C compiler default output" >&5
 
1781
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1814
1782
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1815
1783
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1816
1784
  (eval $ac_link_default) 2>&5
1830
1798
  test -f "$ac_file" || continue
1831
1799
  case $ac_file in
1832
1800
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1833
 
        ;;
 
1801
        ;;
1834
1802
    conftest.$ac_ext )
1835
 
        # This is the source file.
1836
 
        ;;
 
1803
        # This is the source file.
 
1804
        ;;
1837
1805
    [ab].out )
1838
 
        # We found the default executable, but exeext='' is most
1839
 
        # certainly right.
1840
 
        break;;
 
1806
        # We found the default executable, but exeext='' is most
 
1807
        # certainly right.
 
1808
        break;;
1841
1809
    *.* )
1842
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1843
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
1844
 
        # but it would be cool to find out if it's true.  Does anybody
1845
 
        # maintain Libtool? --akim.
1846
 
        export ac_cv_exeext
1847
 
        break;;
 
1810
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
1811
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
1812
        # but it would be cool to find out if it's true.  Does anybody
 
1813
        # maintain Libtool? --akim.
 
1814
        export ac_cv_exeext
 
1815
        break;;
1848
1816
    * )
1849
 
        break;;
 
1817
        break;;
1850
1818
  esac
1851
1819
done
1852
1820
else
1920
1888
  case $ac_file in
1921
1889
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1922
1890
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1923
 
          export ac_cv_exeext
1924
 
          break;;
 
1891
          export ac_cv_exeext
 
1892
          break;;
1925
1893
    * ) break;;
1926
1894
  esac
1927
1895
done
1946
1914
  echo $ECHO_N "(cached) $ECHO_C" >&6
1947
1915
else
1948
1916
  cat >conftest.$ac_ext <<_ACEOF
 
1917
#line $LINENO "configure"
1949
1918
/* confdefs.h.  */
1950
1919
_ACEOF
1951
1920
cat confdefs.h >>conftest.$ac_ext
1996
1965
  echo $ECHO_N "(cached) $ECHO_C" >&6
1997
1966
else
1998
1967
  cat >conftest.$ac_ext <<_ACEOF
 
1968
#line $LINENO "configure"
1999
1969
/* confdefs.h.  */
2000
1970
_ACEOF
2001
1971
cat confdefs.h >>conftest.$ac_ext
2015
1985
_ACEOF
2016
1986
rm -f conftest.$ac_objext
2017
1987
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2018
 
  (eval $ac_compile) 2>conftest.er1
 
1988
  (eval $ac_compile) 2>&5
2019
1989
  ac_status=$?
2020
 
  grep -v '^ *+' conftest.er1 >conftest.err
2021
 
  rm -f conftest.er1
2022
 
  cat conftest.err >&5
2023
1990
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2024
1991
  (exit $ac_status); } &&
2025
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2026
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2027
 
  (eval $ac_try) 2>&5
2028
 
  ac_status=$?
2029
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030
 
  (exit $ac_status); }; } &&
2031
 
         { ac_try='test -s conftest.$ac_objext'
 
1992
         { ac_try='test -s conftest.$ac_objext'
2032
1993
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2033
1994
  (eval $ac_try) 2>&5
2034
1995
  ac_status=$?
2041
2002
 
2042
2003
ac_compiler_gnu=no
2043
2004
fi
2044
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2005
rm -f conftest.$ac_objext conftest.$ac_ext
2045
2006
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2046
2007
 
2047
2008
fi
2057
2018
  echo $ECHO_N "(cached) $ECHO_C" >&6
2058
2019
else
2059
2020
  cat >conftest.$ac_ext <<_ACEOF
 
2021
#line $LINENO "configure"
2060
2022
/* confdefs.h.  */
2061
2023
_ACEOF
2062
2024
cat confdefs.h >>conftest.$ac_ext
2073
2035
_ACEOF
2074
2036
rm -f conftest.$ac_objext
2075
2037
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2076
 
  (eval $ac_compile) 2>conftest.er1
 
2038
  (eval $ac_compile) 2>&5
2077
2039
  ac_status=$?
2078
 
  grep -v '^ *+' conftest.er1 >conftest.err
2079
 
  rm -f conftest.er1
2080
 
  cat conftest.err >&5
2081
2040
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2082
2041
  (exit $ac_status); } &&
2083
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2084
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2085
 
  (eval $ac_try) 2>&5
2086
 
  ac_status=$?
2087
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2088
 
  (exit $ac_status); }; } &&
2089
 
         { ac_try='test -s conftest.$ac_objext'
 
2042
         { ac_try='test -s conftest.$ac_objext'
2090
2043
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2091
2044
  (eval $ac_try) 2>&5
2092
2045
  ac_status=$?
2099
2052
 
2100
2053
ac_cv_prog_cc_g=no
2101
2054
fi
2102
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2055
rm -f conftest.$ac_objext conftest.$ac_ext
2103
2056
fi
2104
2057
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2105
2058
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2126
2079
  ac_cv_prog_cc_stdc=no
2127
2080
ac_save_CC=$CC
2128
2081
cat >conftest.$ac_ext <<_ACEOF
 
2082
#line $LINENO "configure"
2129
2083
/* confdefs.h.  */
2130
2084
_ACEOF
2131
2085
cat confdefs.h >>conftest.$ac_ext
2153
2107
  va_end (v);
2154
2108
  return s;
2155
2109
}
2156
 
 
2157
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2158
 
   function prototypes and stuff, but not '\xHH' hex character constants.
2159
 
   These don't provoke an error unfortunately, instead are silently treated
2160
 
   as 'x'.  The following induces an error, until -std1 is added to get
2161
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2162
 
   array size at least.  It's necessary to write '\x00'==0 to get something
2163
 
   that's true only with -std1.  */
2164
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2165
 
 
2166
2110
int test (int i, double x);
2167
2111
struct s1 {int (*f) (int a);};
2168
2112
struct s2 {int (*f) (double a);};
2189
2133
  CC="$ac_save_CC $ac_arg"
2190
2134
  rm -f conftest.$ac_objext
2191
2135
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2192
 
  (eval $ac_compile) 2>conftest.er1
 
2136
  (eval $ac_compile) 2>&5
2193
2137
  ac_status=$?
2194
 
  grep -v '^ *+' conftest.er1 >conftest.err
2195
 
  rm -f conftest.er1
2196
 
  cat conftest.err >&5
2197
2138
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198
2139
  (exit $ac_status); } &&
2199
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2200
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2201
 
  (eval $ac_try) 2>&5
2202
 
  ac_status=$?
2203
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2204
 
  (exit $ac_status); }; } &&
2205
 
         { ac_try='test -s conftest.$ac_objext'
 
2140
         { ac_try='test -s conftest.$ac_objext'
2206
2141
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2207
2142
  (eval $ac_try) 2>&5
2208
2143
  ac_status=$?
2215
2150
sed 's/^/| /' conftest.$ac_ext >&5
2216
2151
 
2217
2152
fi
2218
 
rm -f conftest.err conftest.$ac_objext
 
2153
rm -f conftest.$ac_objext
2219
2154
done
2220
2155
rm -f conftest.$ac_ext conftest.$ac_objext
2221
2156
CC=$ac_save_CC
2243
2178
_ACEOF
2244
2179
rm -f conftest.$ac_objext
2245
2180
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2246
 
  (eval $ac_compile) 2>conftest.er1
 
2181
  (eval $ac_compile) 2>&5
2247
2182
  ac_status=$?
2248
 
  grep -v '^ *+' conftest.er1 >conftest.err
2249
 
  rm -f conftest.er1
2250
 
  cat conftest.err >&5
2251
2183
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252
2184
  (exit $ac_status); } &&
2253
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2254
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2255
 
  (eval $ac_try) 2>&5
2256
 
  ac_status=$?
2257
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258
 
  (exit $ac_status); }; } &&
2259
 
         { ac_try='test -s conftest.$ac_objext'
 
2185
         { ac_try='test -s conftest.$ac_objext'
2260
2186
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2261
2187
  (eval $ac_try) 2>&5
2262
2188
  ac_status=$?
2263
2189
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264
2190
  (exit $ac_status); }; }; then
2265
2191
  for ac_declaration in \
2266
 
   '' \
 
2192
   ''\
 
2193
   '#include <stdlib.h>' \
2267
2194
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2268
2195
   'extern "C" void std::exit (int); using std::exit;' \
2269
2196
   'extern "C" void exit (int) throw ();' \
2271
2198
   'void exit (int);'
2272
2199
do
2273
2200
  cat >conftest.$ac_ext <<_ACEOF
 
2201
#line $LINENO "configure"
2274
2202
/* confdefs.h.  */
2275
2203
_ACEOF
2276
2204
cat confdefs.h >>conftest.$ac_ext
2277
2205
cat >>conftest.$ac_ext <<_ACEOF
2278
2206
/* end confdefs.h.  */
2279
 
$ac_declaration
2280
2207
#include <stdlib.h>
 
2208
$ac_declaration
2281
2209
int
2282
2210
main ()
2283
2211
{
2288
2216
_ACEOF
2289
2217
rm -f conftest.$ac_objext
2290
2218
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2291
 
  (eval $ac_compile) 2>conftest.er1
 
2219
  (eval $ac_compile) 2>&5
2292
2220
  ac_status=$?
2293
 
  grep -v '^ *+' conftest.er1 >conftest.err
2294
 
  rm -f conftest.er1
2295
 
  cat conftest.err >&5
2296
2221
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297
2222
  (exit $ac_status); } &&
2298
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2299
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2300
 
  (eval $ac_try) 2>&5
2301
 
  ac_status=$?
2302
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303
 
  (exit $ac_status); }; } &&
2304
 
         { ac_try='test -s conftest.$ac_objext'
 
2223
         { ac_try='test -s conftest.$ac_objext'
2305
2224
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2306
2225
  (eval $ac_try) 2>&5
2307
2226
  ac_status=$?
2314
2233
 
2315
2234
continue
2316
2235
fi
2317
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2236
rm -f conftest.$ac_objext conftest.$ac_ext
2318
2237
  cat >conftest.$ac_ext <<_ACEOF
 
2238
#line $LINENO "configure"
2319
2239
/* confdefs.h.  */
2320
2240
_ACEOF
2321
2241
cat confdefs.h >>conftest.$ac_ext
2332
2252
_ACEOF
2333
2253
rm -f conftest.$ac_objext
2334
2254
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2335
 
  (eval $ac_compile) 2>conftest.er1
 
2255
  (eval $ac_compile) 2>&5
2336
2256
  ac_status=$?
2337
 
  grep -v '^ *+' conftest.er1 >conftest.err
2338
 
  rm -f conftest.er1
2339
 
  cat conftest.err >&5
2340
2257
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341
2258
  (exit $ac_status); } &&
2342
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2343
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2344
 
  (eval $ac_try) 2>&5
2345
 
  ac_status=$?
2346
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347
 
  (exit $ac_status); }; } &&
2348
 
         { ac_try='test -s conftest.$ac_objext'
 
2259
         { ac_try='test -s conftest.$ac_objext'
2349
2260
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2350
2261
  (eval $ac_try) 2>&5
2351
2262
  ac_status=$?
2357
2268
sed 's/^/| /' conftest.$ac_ext >&5
2358
2269
 
2359
2270
fi
2360
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2271
rm -f conftest.$ac_objext conftest.$ac_ext
2361
2272
done
2362
2273
rm -f conftest*
2363
2274
if test -n "$ac_declaration"; then
2371
2282
sed 's/^/| /' conftest.$ac_ext >&5
2372
2283
 
2373
2284
fi
2374
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2285
rm -f conftest.$ac_objext conftest.$ac_ext
2375
2286
ac_ext=c
2376
2287
ac_cpp='$CPP $CPPFLAGS'
2377
2288
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2406
2317
  # On the NeXT, cc -E runs the code through the compiler's parser,
2407
2318
  # not just through cpp. "Syntax error" is here to catch this case.
2408
2319
  cat >conftest.$ac_ext <<_ACEOF
 
2320
#line $LINENO "configure"
2409
2321
/* confdefs.h.  */
2410
2322
_ACEOF
2411
2323
cat confdefs.h >>conftest.$ac_ext
2416
2328
#else
2417
2329
# include <assert.h>
2418
2330
#endif
2419
 
                     Syntax error
 
2331
                     Syntax error
2420
2332
_ACEOF
2421
2333
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2422
2334
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2428
2340
  (exit $ac_status); } >/dev/null; then
2429
2341
  if test -s conftest.err; then
2430
2342
    ac_cpp_err=$ac_c_preproc_warn_flag
2431
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2432
2343
  else
2433
2344
    ac_cpp_err=
2434
2345
  fi
2449
2360
  # OK, works on sane cases.  Now check whether non-existent headers
2450
2361
  # can be detected and how.
2451
2362
  cat >conftest.$ac_ext <<_ACEOF
 
2363
#line $LINENO "configure"
2452
2364
/* confdefs.h.  */
2453
2365
_ACEOF
2454
2366
cat confdefs.h >>conftest.$ac_ext
2466
2378
  (exit $ac_status); } >/dev/null; then
2467
2379
  if test -s conftest.err; then
2468
2380
    ac_cpp_err=$ac_c_preproc_warn_flag
2469
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2470
2381
  else
2471
2382
    ac_cpp_err=
2472
2383
  fi
2513
2424
  # On the NeXT, cc -E runs the code through the compiler's parser,
2514
2425
  # not just through cpp. "Syntax error" is here to catch this case.
2515
2426
  cat >conftest.$ac_ext <<_ACEOF
 
2427
#line $LINENO "configure"
2516
2428
/* confdefs.h.  */
2517
2429
_ACEOF
2518
2430
cat confdefs.h >>conftest.$ac_ext
2523
2435
#else
2524
2436
# include <assert.h>
2525
2437
#endif
2526
 
                     Syntax error
 
2438
                     Syntax error
2527
2439
_ACEOF
2528
2440
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2529
2441
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2535
2447
  (exit $ac_status); } >/dev/null; then
2536
2448
  if test -s conftest.err; then
2537
2449
    ac_cpp_err=$ac_c_preproc_warn_flag
2538
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2539
2450
  else
2540
2451
    ac_cpp_err=
2541
2452
  fi
2556
2467
  # OK, works on sane cases.  Now check whether non-existent headers
2557
2468
  # can be detected and how.
2558
2469
  cat >conftest.$ac_ext <<_ACEOF
 
2470
#line $LINENO "configure"
2559
2471
/* confdefs.h.  */
2560
2472
_ACEOF
2561
2473
cat confdefs.h >>conftest.$ac_ext
2573
2485
  (exit $ac_status); } >/dev/null; then
2574
2486
  if test -s conftest.err; then
2575
2487
    ac_cpp_err=$ac_c_preproc_warn_flag
2576
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2577
2488
  else
2578
2489
    ac_cpp_err=
2579
2490
  fi
2637
2548
else
2638
2549
    ac_pattern="Autoconf.*'x'"
2639
2550
  cat >conftest.$ac_ext <<_ACEOF
 
2551
#line $LINENO "configure"
2640
2552
/* confdefs.h.  */
2641
2553
_ACEOF
2642
2554
cat confdefs.h >>conftest.$ac_ext
2656
2568
 
2657
2569
  if test $ac_cv_prog_gcc_traditional = no; then
2658
2570
    cat >conftest.$ac_ext <<_ACEOF
 
2571
#line $LINENO "configure"
2659
2572
/* confdefs.h.  */
2660
2573
_ACEOF
2661
2574
cat confdefs.h >>conftest.$ac_ext
2687
2600
  ac_func_search_save_LIBS=$LIBS
2688
2601
ac_cv_search_strerror=no
2689
2602
cat >conftest.$ac_ext <<_ACEOF
 
2603
#line $LINENO "configure"
2690
2604
/* confdefs.h.  */
2691
2605
_ACEOF
2692
2606
cat confdefs.h >>conftest.$ac_ext
2710
2624
_ACEOF
2711
2625
rm -f conftest.$ac_objext conftest$ac_exeext
2712
2626
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2713
 
  (eval $ac_link) 2>conftest.er1
 
2627
  (eval $ac_link) 2>&5
2714
2628
  ac_status=$?
2715
 
  grep -v '^ *+' conftest.er1 >conftest.err
2716
 
  rm -f conftest.er1
2717
 
  cat conftest.err >&5
2718
2629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719
2630
  (exit $ac_status); } &&
2720
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2721
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2722
 
  (eval $ac_try) 2>&5
2723
 
  ac_status=$?
2724
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725
 
  (exit $ac_status); }; } &&
2726
 
         { ac_try='test -s conftest$ac_exeext'
 
2631
         { ac_try='test -s conftest$ac_exeext'
2727
2632
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2728
2633
  (eval $ac_try) 2>&5
2729
2634
  ac_status=$?
2735
2640
sed 's/^/| /' conftest.$ac_ext >&5
2736
2641
 
2737
2642
fi
2738
 
rm -f conftest.err conftest.$ac_objext \
2739
 
      conftest$ac_exeext conftest.$ac_ext
 
2643
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2740
2644
if test "$ac_cv_search_strerror" = no; then
2741
2645
  for ac_lib in cposix; do
2742
2646
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
2743
2647
    cat >conftest.$ac_ext <<_ACEOF
 
2648
#line $LINENO "configure"
2744
2649
/* confdefs.h.  */
2745
2650
_ACEOF
2746
2651
cat confdefs.h >>conftest.$ac_ext
2764
2669
_ACEOF
2765
2670
rm -f conftest.$ac_objext conftest$ac_exeext
2766
2671
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2767
 
  (eval $ac_link) 2>conftest.er1
 
2672
  (eval $ac_link) 2>&5
2768
2673
  ac_status=$?
2769
 
  grep -v '^ *+' conftest.er1 >conftest.err
2770
 
  rm -f conftest.er1
2771
 
  cat conftest.err >&5
2772
2674
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773
2675
  (exit $ac_status); } &&
2774
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2775
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776
 
  (eval $ac_try) 2>&5
2777
 
  ac_status=$?
2778
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779
 
  (exit $ac_status); }; } &&
2780
 
         { ac_try='test -s conftest$ac_exeext'
 
2676
         { ac_try='test -s conftest$ac_exeext'
2781
2677
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2782
2678
  (eval $ac_try) 2>&5
2783
2679
  ac_status=$?
2790
2686
sed 's/^/| /' conftest.$ac_ext >&5
2791
2687
 
2792
2688
fi
2793
 
rm -f conftest.err conftest.$ac_objext \
2794
 
      conftest$ac_exeext conftest.$ac_ext
 
2689
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2795
2690
  done
2796
2691
fi
2797
2692
LIBS=$ac_func_search_save_LIBS
2812
2707
   { (exit 1); exit 1; }; }
2813
2708
else
2814
2709
  cat >conftest.$ac_ext <<_ACEOF
 
2710
#line $LINENO "configure"
2815
2711
/* confdefs.h.  */
2816
2712
_ACEOF
2817
2713
cat confdefs.h >>conftest.$ac_ext
2849
2745
fi
2850
2746
 
2851
2747
fi
2852
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
2748
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2853
2749
fi
2854
2750
 
2855
2751
if test "$cross_compiling" = yes; then
2860
2756
   { (exit 1); exit 1; }; }
2861
2757
else
2862
2758
  cat >conftest.$ac_ext <<_ACEOF
 
2759
#line $LINENO "configure"
2863
2760
/* confdefs.h.  */
2864
2761
_ACEOF
2865
2762
cat confdefs.h >>conftest.$ac_ext
2895
2792
echo "$as_me: error: Can't run the compiler - sorry" >&2;}
2896
2793
   { (exit 1); exit 1; }; }
2897
2794
fi
2898
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
2795
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2899
2796
fi
2900
2797
 
2901
2798
if test "$cross_compiling" = yes; then
2906
2803
   { (exit 1); exit 1; }; }
2907
2804
else
2908
2805
  cat >conftest.$ac_ext <<_ACEOF
 
2806
#line $LINENO "configure"
2909
2807
/* confdefs.h.  */
2910
2808
_ACEOF
2911
2809
cat confdefs.h >>conftest.$ac_ext
2939
2837
sed 's/^/| /' conftest.$ac_ext >&5
2940
2838
 
2941
2839
fi
2942
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
2840
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2943
2841
fi
2944
2842
 
2945
2843
for ac_prog in gawk mawk nawk awk
3019
2917
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3020
2918
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3021
2919
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3022
 
# OS/2's system install, which has a completely different semantic
3023
2920
# ./install, which can be erroneously created by make from ./install.sh.
3024
2921
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3025
2922
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3036
2933
case $as_dir/ in
3037
2934
  ./ | .// | /cC/* | \
3038
2935
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3039
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3040
2936
  /usr/ucb/* ) ;;
3041
2937
  *)
3042
2938
    # OSF1 and SCO ODT 3.0 have their own names for install.
3044
2940
    # by default.
3045
2941
    for ac_prog in ginstall scoinst install; do
3046
2942
      for ac_exec_ext in '' $ac_executable_extensions; do
3047
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3048
 
          if test $ac_prog = install &&
3049
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3050
 
            # AIX install.  It has an incompatible calling convention.
3051
 
            :
3052
 
          elif test $ac_prog = install &&
3053
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3054
 
            # program-specific install script used by HP pwplus--don't use.
3055
 
            :
3056
 
          else
3057
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3058
 
            break 3
3059
 
          fi
3060
 
        fi
 
2943
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2944
          if test $ac_prog = install &&
 
2945
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2946
            # AIX install.  It has an incompatible calling convention.
 
2947
            :
 
2948
          elif test $ac_prog = install &&
 
2949
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2950
            # program-specific install script used by HP pwplus--don't use.
 
2951
            :
 
2952
          else
 
2953
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2954
            break 3
 
2955
          fi
 
2956
        fi
3061
2957
      done
3062
2958
    done
3063
2959
    ;;
3152
3048
{ echo "$as_me:$LINENO: checking mld library..." >&5
3153
3049
echo "$as_me: checking mld library..." >&6;}
3154
3050
cat >conftest.$ac_ext <<_ACEOF
 
3051
#line $LINENO "configure"
3155
3052
/* confdefs.h.  */
3156
3053
_ACEOF
3157
3054
cat confdefs.h >>conftest.$ac_ext
3168
3065
_ACEOF
3169
3066
rm -f conftest.$ac_objext conftest$ac_exeext
3170
3067
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3171
 
  (eval $ac_link) 2>conftest.er1
 
3068
  (eval $ac_link) 2>&5
3172
3069
  ac_status=$?
3173
 
  grep -v '^ *+' conftest.er1 >conftest.err
3174
 
  rm -f conftest.er1
3175
 
  cat conftest.err >&5
3176
3070
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177
3071
  (exit $ac_status); } &&
3178
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3179
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3180
 
  (eval $ac_try) 2>&5
3181
 
  ac_status=$?
3182
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183
 
  (exit $ac_status); }; } &&
3184
 
         { ac_try='test -s conftest$ac_exeext'
 
3072
         { ac_try='test -s conftest$ac_exeext'
3185
3073
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3186
3074
  (eval $ac_try) 2>&5
3187
3075
  ac_status=$?
3194
3082
 
3195
3083
LIBS="$oldlibs"
3196
3084
fi
3197
 
rm -f conftest.err conftest.$ac_objext \
3198
 
      conftest$ac_exeext conftest.$ac_ext
 
3085
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3199
3086
if test -r /dev/ptc; then
3200
3087
cat >>confdefs.h <<\_ACEOF
3201
3088
#define MIPS 1
3204
3091
{ echo "$as_me:$LINENO: checking wait3..." >&5
3205
3092
echo "$as_me: checking wait3..." >&6;}
3206
3093
cat >conftest.$ac_ext <<_ACEOF
 
3094
#line $LINENO "configure"
3207
3095
/* confdefs.h.  */
3208
3096
_ACEOF
3209
3097
cat confdefs.h >>conftest.$ac_ext
3220
3108
_ACEOF
3221
3109
rm -f conftest.$ac_objext conftest$ac_exeext
3222
3110
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3223
 
  (eval $ac_link) 2>conftest.er1
 
3111
  (eval $ac_link) 2>&5
3224
3112
  ac_status=$?
3225
 
  grep -v '^ *+' conftest.er1 >conftest.err
3226
 
  rm -f conftest.er1
3227
 
  cat conftest.err >&5
3228
3113
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229
3114
  (exit $ac_status); } &&
3230
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3231
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232
 
  (eval $ac_try) 2>&5
3233
 
  ac_status=$?
3234
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235
 
  (exit $ac_status); }; } &&
3236
 
         { ac_try='test -s conftest$ac_exeext'
 
3115
         { ac_try='test -s conftest$ac_exeext'
3237
3116
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3238
3117
  (eval $ac_try) 2>&5
3239
3118
  ac_status=$?
3247
3126
{ echo "$as_me:$LINENO: checking wait2..." >&5
3248
3127
echo "$as_me: checking wait2..." >&6;}
3249
3128
cat >conftest.$ac_ext <<_ACEOF
 
3129
#line $LINENO "configure"
3250
3130
/* confdefs.h.  */
3251
3131
_ACEOF
3252
3132
cat confdefs.h >>conftest.$ac_ext
3263
3143
_ACEOF
3264
3144
rm -f conftest.$ac_objext conftest$ac_exeext
3265
3145
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3266
 
  (eval $ac_link) 2>conftest.er1
 
3146
  (eval $ac_link) 2>&5
3267
3147
  ac_status=$?
3268
 
  grep -v '^ *+' conftest.er1 >conftest.err
3269
 
  rm -f conftest.er1
3270
 
  cat conftest.err >&5
3271
3148
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272
3149
  (exit $ac_status); } &&
3273
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3274
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275
 
  (eval $ac_try) 2>&5
3276
 
  ac_status=$?
3277
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278
 
  (exit $ac_status); }; } &&
3279
 
         { ac_try='test -s conftest$ac_exeext'
 
3150
         { ac_try='test -s conftest$ac_exeext'
3280
3151
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281
3152
  (eval $ac_try) 2>&5
3282
3153
  ac_status=$?
3292
3163
sed 's/^/| /' conftest.$ac_ext >&5
3293
3164
 
3294
3165
fi
3295
 
rm -f conftest.err conftest.$ac_objext \
3296
 
      conftest$ac_exeext conftest.$ac_ext
 
3166
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3297
3167
fi
3298
 
rm -f conftest.err conftest.$ac_objext \
3299
 
      conftest$ac_exeext conftest.$ac_ext
 
3168
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3300
3169
fi
3301
3170
fi
3302
3171
 
3304
3173
{ echo "$as_me:$LINENO: checking for Ultrix..." >&5
3305
3174
echo "$as_me: checking for Ultrix..." >&6;}
3306
3175
cat >conftest.$ac_ext <<_ACEOF
 
3176
#line $LINENO "configure"
3307
3177
/* confdefs.h.  */
3308
3178
_ACEOF
3309
3179
cat confdefs.h >>conftest.$ac_ext
3327
3197
{ echo "$as_me:$LINENO: checking Pyramid OSX..." >&5
3328
3198
echo "$as_me: checking Pyramid OSX..." >&6;}
3329
3199
cat >conftest.$ac_ext <<_ACEOF
 
3200
#line $LINENO "configure"
3330
3201
/* confdefs.h.  */
3331
3202
_ACEOF
3332
3203
cat confdefs.h >>conftest.$ac_ext
3343
3214
_ACEOF
3344
3215
rm -f conftest.$ac_objext conftest$ac_exeext
3345
3216
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3346
 
  (eval $ac_link) 2>conftest.er1
 
3217
  (eval $ac_link) 2>&5
3347
3218
  ac_status=$?
3348
 
  grep -v '^ *+' conftest.er1 >conftest.err
3349
 
  rm -f conftest.er1
3350
 
  cat conftest.err >&5
3351
3219
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352
3220
  (exit $ac_status); } &&
3353
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3354
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355
 
  (eval $ac_try) 2>&5
3356
 
  ac_status=$?
3357
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358
 
  (exit $ac_status); }; } &&
3359
 
         { ac_try='test -s conftest$ac_exeext'
 
3221
         { ac_try='test -s conftest$ac_exeext'
3360
3222
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361
3223
  (eval $ac_try) 2>&5
3362
3224
  ac_status=$?
3372
3234
 
3373
3235
LIBS="$oldlibs"
3374
3236
fi
3375
 
rm -f conftest.err conftest.$ac_objext \
3376
 
      conftest$ac_exeext conftest.$ac_ext
 
3237
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3377
3238
fi
3378
3239
 
3379
3240
{ echo "$as_me:$LINENO: checking for butterfly..." >&5
3380
3241
echo "$as_me: checking for butterfly..." >&6;}
3381
3242
cat >conftest.$ac_ext <<_ACEOF
 
3243
#line $LINENO "configure"
3382
3244
/* confdefs.h.  */
3383
3245
_ACEOF
3384
3246
cat confdefs.h >>conftest.$ac_ext
3403
3265
{ echo "$as_me:$LINENO: checking for POSIX.1..." >&5
3404
3266
echo "$as_me: checking for POSIX.1..." >&6;}
3405
3267
cat >conftest.$ac_ext <<_ACEOF
 
3268
#line $LINENO "configure"
3406
3269
/* confdefs.h.  */
3407
3270
_ACEOF
3408
3271
cat confdefs.h >>conftest.$ac_ext
3431
3294
{ echo "$as_me:$LINENO: checking for System V..." >&5
3432
3295
echo "$as_me: checking for System V..." >&6;}
3433
3296
cat >conftest.$ac_ext <<_ACEOF
 
3297
#line $LINENO "configure"
3434
3298
/* confdefs.h.  */
3435
3299
_ACEOF
3436
3300
cat confdefs.h >>conftest.$ac_ext
3449
3313
_ACEOF
3450
3314
rm -f conftest.$ac_objext
3451
3315
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3452
 
  (eval $ac_compile) 2>conftest.er1
 
3316
  (eval $ac_compile) 2>&5
3453
3317
  ac_status=$?
3454
 
  grep -v '^ *+' conftest.er1 >conftest.err
3455
 
  rm -f conftest.er1
3456
 
  cat conftest.err >&5
3457
3318
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458
3319
  (exit $ac_status); } &&
3459
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3460
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3461
 
  (eval $ac_try) 2>&5
3462
 
  ac_status=$?
3463
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464
 
  (exit $ac_status); }; } &&
3465
 
         { ac_try='test -s conftest.$ac_objext'
 
3320
         { ac_try='test -s conftest.$ac_objext'
3466
3321
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3467
3322
  (eval $ac_try) 2>&5
3468
3323
  ac_status=$?
3478
3333
_ACEOF
3479
3334
 
3480
3335
fi
3481
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3336
rm -f conftest.$ac_objext conftest.$ac_ext
3482
3337
 
3483
3338
{ echo "$as_me:$LINENO: checking for sequent/ptx..." >&5
3484
3339
echo "$as_me: checking for sequent/ptx..." >&6;}
3485
3340
cat >conftest.$ac_ext <<_ACEOF
 
3341
#line $LINENO "configure"
3486
3342
/* confdefs.h.  */
3487
3343
_ACEOF
3488
3344
cat confdefs.h >>conftest.$ac_ext
3510
3366
  echo $ECHO_N "(cached) $ECHO_C" >&6
3511
3367
else
3512
3368
  cat >conftest.$ac_ext <<_ACEOF
 
3369
#line $LINENO "configure"
3513
3370
/* confdefs.h.  */
3514
3371
_ACEOF
3515
3372
cat confdefs.h >>conftest.$ac_ext
3530
3387
_ACEOF
3531
3388
rm -f conftest.$ac_objext
3532
3389
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3533
 
  (eval $ac_compile) 2>conftest.er1
 
3390
  (eval $ac_compile) 2>&5
3534
3391
  ac_status=$?
3535
 
  grep -v '^ *+' conftest.er1 >conftest.err
3536
 
  rm -f conftest.er1
3537
 
  cat conftest.err >&5
3538
3392
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539
3393
  (exit $ac_status); } &&
3540
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3541
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3542
 
  (eval $ac_try) 2>&5
3543
 
  ac_status=$?
3544
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545
 
  (exit $ac_status); }; } &&
3546
 
         { ac_try='test -s conftest.$ac_objext'
 
3394
         { ac_try='test -s conftest.$ac_objext'
3547
3395
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3548
3396
  (eval $ac_try) 2>&5
3549
3397
  ac_status=$?
3556
3404
 
3557
3405
ac_cv_header_stdc=no
3558
3406
fi
3559
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3407
rm -f conftest.$ac_objext conftest.$ac_ext
3560
3408
 
3561
3409
if test $ac_cv_header_stdc = yes; then
3562
3410
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3563
3411
  cat >conftest.$ac_ext <<_ACEOF
 
3412
#line $LINENO "configure"
3564
3413
/* confdefs.h.  */
3565
3414
_ACEOF
3566
3415
cat confdefs.h >>conftest.$ac_ext
3582
3431
if test $ac_cv_header_stdc = yes; then
3583
3432
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3584
3433
  cat >conftest.$ac_ext <<_ACEOF
 
3434
#line $LINENO "configure"
3585
3435
/* confdefs.h.  */
3586
3436
_ACEOF
3587
3437
cat confdefs.h >>conftest.$ac_ext
3606
3456
  :
3607
3457
else
3608
3458
  cat >conftest.$ac_ext <<_ACEOF
 
3459
#line $LINENO "configure"
3609
3460
/* confdefs.h.  */
3610
3461
_ACEOF
3611
3462
cat confdefs.h >>conftest.$ac_ext
3617
3468
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3618
3469
#else
3619
3470
# define ISLOWER(c) \
3620
 
                   (('a' <= (c) && (c) <= 'i') \
3621
 
                     || ('j' <= (c) && (c) <= 'r') \
3622
 
                     || ('s' <= (c) && (c) <= 'z'))
 
3471
                   (('a' <= (c) && (c) <= 'i') \
 
3472
                     || ('j' <= (c) && (c) <= 'r') \
 
3473
                     || ('s' <= (c) && (c) <= 'z'))
3623
3474
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3624
3475
#endif
3625
3476
 
3630
3481
  int i;
3631
3482
  for (i = 0; i < 256; i++)
3632
3483
    if (XOR (islower (i), ISLOWER (i))
3633
 
        || toupper (i) != TOUPPER (i))
 
3484
        || toupper (i) != TOUPPER (i))
3634
3485
      exit(2);
3635
3486
  exit (0);
3636
3487
}
3655
3506
( exit $ac_status )
3656
3507
ac_cv_header_stdc=no
3657
3508
fi
3658
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3509
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3659
3510
fi
3660
3511
fi
3661
3512
fi
3680
3531
 
3681
3532
 
3682
3533
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3683
 
                  inttypes.h stdint.h unistd.h
 
3534
                  inttypes.h stdint.h unistd.h
3684
3535
do
3685
3536
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3686
3537
echo "$as_me:$LINENO: checking for $ac_header" >&5
3689
3540
  echo $ECHO_N "(cached) $ECHO_C" >&6
3690
3541
else
3691
3542
  cat >conftest.$ac_ext <<_ACEOF
 
3543
#line $LINENO "configure"
3692
3544
/* confdefs.h.  */
3693
3545
_ACEOF
3694
3546
cat confdefs.h >>conftest.$ac_ext
3700
3552
_ACEOF
3701
3553
rm -f conftest.$ac_objext
3702
3554
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3703
 
  (eval $ac_compile) 2>conftest.er1
 
3555
  (eval $ac_compile) 2>&5
3704
3556
  ac_status=$?
3705
 
  grep -v '^ *+' conftest.er1 >conftest.err
3706
 
  rm -f conftest.er1
3707
 
  cat conftest.err >&5
3708
3557
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709
3558
  (exit $ac_status); } &&
3710
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3711
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3712
 
  (eval $ac_try) 2>&5
3713
 
  ac_status=$?
3714
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3715
 
  (exit $ac_status); }; } &&
3716
 
         { ac_try='test -s conftest.$ac_objext'
 
3559
         { ac_try='test -s conftest.$ac_objext'
3717
3560
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3718
3561
  (eval $ac_try) 2>&5
3719
3562
  ac_status=$?
3726
3569
 
3727
3570
eval "$as_ac_Header=no"
3728
3571
fi
3729
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3572
rm -f conftest.$ac_objext conftest.$ac_ext
3730
3573
fi
3731
3574
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3732
3575
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3741
3584
 
3742
3585
 
3743
3586
cat >conftest.$ac_ext <<_ACEOF
 
3587
#line $LINENO "configure"
3744
3588
/* confdefs.h.  */
3745
3589
_ACEOF
3746
3590
cat confdefs.h >>conftest.$ac_ext
3758
3602
_ACEOF
3759
3603
rm -f conftest.$ac_objext conftest$ac_exeext
3760
3604
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3761
 
  (eval $ac_link) 2>conftest.er1
 
3605
  (eval $ac_link) 2>&5
3762
3606
  ac_status=$?
3763
 
  grep -v '^ *+' conftest.er1 >conftest.err
3764
 
  rm -f conftest.er1
3765
 
  cat conftest.err >&5
3766
3607
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767
3608
  (exit $ac_status); } &&
3768
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3769
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3770
 
  (eval $ac_try) 2>&5
3771
 
  ac_status=$?
3772
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773
 
  (exit $ac_status); }; } &&
3774
 
         { ac_try='test -s conftest$ac_exeext'
 
3609
         { ac_try='test -s conftest$ac_exeext'
3775
3610
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3776
3611
  (eval $ac_try) 2>&5
3777
3612
  ac_status=$?
3790
3625
echo "$as_me:$LINENO: checking dwarf.h usability" >&5
3791
3626
echo $ECHO_N "checking dwarf.h usability... $ECHO_C" >&6
3792
3627
cat >conftest.$ac_ext <<_ACEOF
 
3628
#line $LINENO "configure"
3793
3629
/* confdefs.h.  */
3794
3630
_ACEOF
3795
3631
cat confdefs.h >>conftest.$ac_ext
3800
3636
_ACEOF
3801
3637
rm -f conftest.$ac_objext
3802
3638
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3803
 
  (eval $ac_compile) 2>conftest.er1
 
3639
  (eval $ac_compile) 2>&5
3804
3640
  ac_status=$?
3805
 
  grep -v '^ *+' conftest.er1 >conftest.err
3806
 
  rm -f conftest.er1
3807
 
  cat conftest.err >&5
3808
3641
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809
3642
  (exit $ac_status); } &&
3810
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3811
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812
 
  (eval $ac_try) 2>&5
3813
 
  ac_status=$?
3814
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815
 
  (exit $ac_status); }; } &&
3816
 
         { ac_try='test -s conftest.$ac_objext'
 
3643
         { ac_try='test -s conftest.$ac_objext'
3817
3644
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3818
3645
  (eval $ac_try) 2>&5
3819
3646
  ac_status=$?
3826
3653
 
3827
3654
ac_header_compiler=no
3828
3655
fi
3829
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3656
rm -f conftest.$ac_objext conftest.$ac_ext
3830
3657
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3831
3658
echo "${ECHO_T}$ac_header_compiler" >&6
3832
3659
 
3834
3661
echo "$as_me:$LINENO: checking dwarf.h presence" >&5
3835
3662
echo $ECHO_N "checking dwarf.h presence... $ECHO_C" >&6
3836
3663
cat >conftest.$ac_ext <<_ACEOF
 
3664
#line $LINENO "configure"
3837
3665
/* confdefs.h.  */
3838
3666
_ACEOF
3839
3667
cat confdefs.h >>conftest.$ac_ext
3851
3679
  (exit $ac_status); } >/dev/null; then
3852
3680
  if test -s conftest.err; then
3853
3681
    ac_cpp_err=$ac_c_preproc_warn_flag
3854
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3855
3682
  else
3856
3683
    ac_cpp_err=
3857
3684
  fi
3871
3698
echo "${ECHO_T}$ac_header_preproc" >&6
3872
3699
 
3873
3700
# So?  What about this header?
3874
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3875
 
  yes:no: )
 
3701
case $ac_header_compiler:$ac_header_preproc in
 
3702
  yes:no )
3876
3703
    { echo "$as_me:$LINENO: WARNING: dwarf.h: accepted by the compiler, rejected by the preprocessor!" >&5
3877
3704
echo "$as_me: WARNING: dwarf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3878
 
    { echo "$as_me:$LINENO: WARNING: dwarf.h: proceeding with the compiler's result" >&5
3879
 
echo "$as_me: WARNING: dwarf.h: proceeding with the compiler's result" >&2;}
3880
 
    ac_header_preproc=yes
 
3705
    { echo "$as_me:$LINENO: WARNING: dwarf.h: proceeding with the preprocessor's result" >&5
 
3706
echo "$as_me: WARNING: dwarf.h: proceeding with the preprocessor's result" >&2;}
 
3707
    (
 
3708
      cat <<\_ASBOX
 
3709
## ------------------------------------ ##
 
3710
## Report this to bug-autoconf@gnu.org. ##
 
3711
## ------------------------------------ ##
 
3712
_ASBOX
 
3713
    ) |
 
3714
      sed "s/^/$as_me: WARNING:     /" >&2
3881
3715
    ;;
3882
 
  no:yes:* )
 
3716
  no:yes )
3883
3717
    { echo "$as_me:$LINENO: WARNING: dwarf.h: present but cannot be compiled" >&5
3884
3718
echo "$as_me: WARNING: dwarf.h: present but cannot be compiled" >&2;}
3885
 
    { echo "$as_me:$LINENO: WARNING: dwarf.h:     check for missing prerequisite headers?" >&5
3886
 
echo "$as_me: WARNING: dwarf.h:     check for missing prerequisite headers?" >&2;}
3887
 
    { echo "$as_me:$LINENO: WARNING: dwarf.h: see the Autoconf documentation" >&5
3888
 
echo "$as_me: WARNING: dwarf.h: see the Autoconf documentation" >&2;}
3889
 
    { echo "$as_me:$LINENO: WARNING: dwarf.h:     section \"Present But Cannot Be Compiled\"" >&5
3890
 
echo "$as_me: WARNING: dwarf.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
3719
    { echo "$as_me:$LINENO: WARNING: dwarf.h: check for missing prerequisite headers?" >&5
 
3720
echo "$as_me: WARNING: dwarf.h: check for missing prerequisite headers?" >&2;}
3891
3721
    { echo "$as_me:$LINENO: WARNING: dwarf.h: proceeding with the preprocessor's result" >&5
3892
3722
echo "$as_me: WARNING: dwarf.h: proceeding with the preprocessor's result" >&2;}
3893
 
    { echo "$as_me:$LINENO: WARNING: dwarf.h: in the future, the compiler will take precedence" >&5
3894
 
echo "$as_me: WARNING: dwarf.h: in the future, the compiler will take precedence" >&2;}
3895
3723
    (
3896
3724
      cat <<\_ASBOX
3897
 
## ------------------------------------------ ##
3898
 
## Report this to the AC_PACKAGE_NAME lists.  ##
3899
 
## ------------------------------------------ ##
 
3725
## ------------------------------------ ##
 
3726
## Report this to bug-autoconf@gnu.org. ##
 
3727
## ------------------------------------ ##
3900
3728
_ASBOX
3901
3729
    ) |
3902
3730
      sed "s/^/$as_me: WARNING:     /" >&2
3935
3763
echo "$as_me:$LINENO: checking elf.h usability" >&5
3936
3764
echo $ECHO_N "checking elf.h usability... $ECHO_C" >&6
3937
3765
cat >conftest.$ac_ext <<_ACEOF
 
3766
#line $LINENO "configure"
3938
3767
/* confdefs.h.  */
3939
3768
_ACEOF
3940
3769
cat confdefs.h >>conftest.$ac_ext
3945
3774
_ACEOF
3946
3775
rm -f conftest.$ac_objext
3947
3776
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3948
 
  (eval $ac_compile) 2>conftest.er1
 
3777
  (eval $ac_compile) 2>&5
3949
3778
  ac_status=$?
3950
 
  grep -v '^ *+' conftest.er1 >conftest.err
3951
 
  rm -f conftest.er1
3952
 
  cat conftest.err >&5
3953
3779
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954
3780
  (exit $ac_status); } &&
3955
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3956
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3957
 
  (eval $ac_try) 2>&5
3958
 
  ac_status=$?
3959
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960
 
  (exit $ac_status); }; } &&
3961
 
         { ac_try='test -s conftest.$ac_objext'
 
3781
         { ac_try='test -s conftest.$ac_objext'
3962
3782
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3963
3783
  (eval $ac_try) 2>&5
3964
3784
  ac_status=$?
3971
3791
 
3972
3792
ac_header_compiler=no
3973
3793
fi
3974
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3794
rm -f conftest.$ac_objext conftest.$ac_ext
3975
3795
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3976
3796
echo "${ECHO_T}$ac_header_compiler" >&6
3977
3797
 
3979
3799
echo "$as_me:$LINENO: checking elf.h presence" >&5
3980
3800
echo $ECHO_N "checking elf.h presence... $ECHO_C" >&6
3981
3801
cat >conftest.$ac_ext <<_ACEOF
 
3802
#line $LINENO "configure"
3982
3803
/* confdefs.h.  */
3983
3804
_ACEOF
3984
3805
cat confdefs.h >>conftest.$ac_ext
3996
3817
  (exit $ac_status); } >/dev/null; then
3997
3818
  if test -s conftest.err; then
3998
3819
    ac_cpp_err=$ac_c_preproc_warn_flag
3999
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4000
3820
  else
4001
3821
    ac_cpp_err=
4002
3822
  fi
4016
3836
echo "${ECHO_T}$ac_header_preproc" >&6
4017
3837
 
4018
3838
# So?  What about this header?
4019
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4020
 
  yes:no: )
 
3839
case $ac_header_compiler:$ac_header_preproc in
 
3840
  yes:no )
4021
3841
    { echo "$as_me:$LINENO: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&5
4022
3842
echo "$as_me: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4023
 
    { echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the compiler's result" >&5
4024
 
echo "$as_me: WARNING: elf.h: proceeding with the compiler's result" >&2;}
4025
 
    ac_header_preproc=yes
 
3843
    { echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the preprocessor's result" >&5
 
3844
echo "$as_me: WARNING: elf.h: proceeding with the preprocessor's result" >&2;}
 
3845
    (
 
3846
      cat <<\_ASBOX
 
3847
## ------------------------------------ ##
 
3848
## Report this to bug-autoconf@gnu.org. ##
 
3849
## ------------------------------------ ##
 
3850
_ASBOX
 
3851
    ) |
 
3852
      sed "s/^/$as_me: WARNING:     /" >&2
4026
3853
    ;;
4027
 
  no:yes:* )
 
3854
  no:yes )
4028
3855
    { echo "$as_me:$LINENO: WARNING: elf.h: present but cannot be compiled" >&5
4029
3856
echo "$as_me: WARNING: elf.h: present but cannot be compiled" >&2;}
4030
 
    { echo "$as_me:$LINENO: WARNING: elf.h:     check for missing prerequisite headers?" >&5
4031
 
echo "$as_me: WARNING: elf.h:     check for missing prerequisite headers?" >&2;}
4032
 
    { echo "$as_me:$LINENO: WARNING: elf.h: see the Autoconf documentation" >&5
4033
 
echo "$as_me: WARNING: elf.h: see the Autoconf documentation" >&2;}
4034
 
    { echo "$as_me:$LINENO: WARNING: elf.h:     section \"Present But Cannot Be Compiled\"" >&5
4035
 
echo "$as_me: WARNING: elf.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
3857
    { echo "$as_me:$LINENO: WARNING: elf.h: check for missing prerequisite headers?" >&5
 
3858
echo "$as_me: WARNING: elf.h: check for missing prerequisite headers?" >&2;}
4036
3859
    { echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the preprocessor's result" >&5
4037
3860
echo "$as_me: WARNING: elf.h: proceeding with the preprocessor's result" >&2;}
4038
 
    { echo "$as_me:$LINENO: WARNING: elf.h: in the future, the compiler will take precedence" >&5
4039
 
echo "$as_me: WARNING: elf.h: in the future, the compiler will take precedence" >&2;}
4040
3861
    (
4041
3862
      cat <<\_ASBOX
4042
 
## ------------------------------------------ ##
4043
 
## Report this to the AC_PACKAGE_NAME lists.  ##
4044
 
## ------------------------------------------ ##
 
3863
## ------------------------------------ ##
 
3864
## Report this to bug-autoconf@gnu.org. ##
 
3865
## ------------------------------------ ##
4045
3866
_ASBOX
4046
3867
    ) |
4047
3868
      sed "s/^/$as_me: WARNING:     /" >&2
4079
3900
 
4080
3901
LIBS="$oldlibs"
4081
3902
fi
4082
 
rm -f conftest.err conftest.$ac_objext \
4083
 
      conftest$ac_exeext conftest.$ac_ext
 
3903
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4084
3904
 
4085
3905
{ echo "$as_me:$LINENO: checking for Solaris 2.x..." >&5
4086
3906
echo "$as_me: checking for Solaris 2.x..." >&6;}
4087
3907
cat >conftest.$ac_ext <<_ACEOF
 
3908
#line $LINENO "configure"
4088
3909
/* confdefs.h.  */
4089
3910
_ACEOF
4090
3911
cat confdefs.h >>conftest.$ac_ext
4107
3928
{ echo "$as_me:$LINENO: checking BSD job jontrol..." >&5
4108
3929
echo "$as_me: checking BSD job jontrol..." >&6;}
4109
3930
cat >conftest.$ac_ext <<_ACEOF
 
3931
#line $LINENO "configure"
4110
3932
/* confdefs.h.  */
4111
3933
_ACEOF
4112
3934
cat confdefs.h >>conftest.$ac_ext
4136
3958
_ACEOF
4137
3959
rm -f conftest.$ac_objext conftest$ac_exeext
4138
3960
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4139
 
  (eval $ac_link) 2>conftest.er1
 
3961
  (eval $ac_link) 2>&5
4140
3962
  ac_status=$?
4141
 
  grep -v '^ *+' conftest.er1 >conftest.err
4142
 
  rm -f conftest.er1
4143
 
  cat conftest.err >&5
4144
3963
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145
3964
  (exit $ac_status); } &&
4146
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4147
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4148
 
  (eval $ac_try) 2>&5
4149
 
  ac_status=$?
4150
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151
 
  (exit $ac_status); }; } &&
4152
 
         { ac_try='test -s conftest$ac_exeext'
 
3965
         { ac_try='test -s conftest$ac_exeext'
4153
3966
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4154
3967
  (eval $ac_try) 2>&5
4155
3968
  ac_status=$?
4167
3980
echo "- you don't have jobcontrol" 1>&6
4168
3981
 
4169
3982
fi
4170
 
rm -f conftest.err conftest.$ac_objext \
4171
 
      conftest$ac_exeext conftest.$ac_ext
 
3983
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4172
3984
 
4173
3985
{ echo "$as_me:$LINENO: checking setreuid..." >&5
4174
3986
echo "$as_me: checking setreuid..." >&6;}
4175
3987
cat >conftest.$ac_ext <<_ACEOF
 
3988
#line $LINENO "configure"
4176
3989
/* confdefs.h.  */
4177
3990
_ACEOF
4178
3991
cat confdefs.h >>conftest.$ac_ext
4195
4008
_ACEOF
4196
4009
rm -f conftest.$ac_objext conftest$ac_exeext
4197
4010
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4198
 
  (eval $ac_link) 2>conftest.er1
 
4011
  (eval $ac_link) 2>&5
4199
4012
  ac_status=$?
4200
 
  grep -v '^ *+' conftest.er1 >conftest.err
4201
 
  rm -f conftest.er1
4202
 
  cat conftest.err >&5
4203
4013
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204
4014
  (exit $ac_status); } &&
4205
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4206
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4207
 
  (eval $ac_try) 2>&5
4208
 
  ac_status=$?
4209
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210
 
  (exit $ac_status); }; } &&
4211
 
         { ac_try='test -s conftest$ac_exeext'
 
4015
         { ac_try='test -s conftest$ac_exeext'
4212
4016
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4213
4017
  (eval $ac_try) 2>&5
4214
4018
  ac_status=$?
4223
4027
sed 's/^/| /' conftest.$ac_ext >&5
4224
4028
 
4225
4029
fi
4226
 
rm -f conftest.err conftest.$ac_objext \
4227
 
      conftest$ac_exeext conftest.$ac_ext
 
4030
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4228
4031
{ echo "$as_me:$LINENO: checking seteuid..." >&5
4229
4032
echo "$as_me: checking seteuid..." >&6;}
4230
4033
cat >conftest.$ac_ext <<_ACEOF
 
4034
#line $LINENO "configure"
4231
4035
/* confdefs.h.  */
4232
4036
_ACEOF
4233
4037
cat confdefs.h >>conftest.$ac_ext
4250
4054
_ACEOF
4251
4055
rm -f conftest.$ac_objext conftest$ac_exeext
4252
4056
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4253
 
  (eval $ac_link) 2>conftest.er1
 
4057
  (eval $ac_link) 2>&5
4254
4058
  ac_status=$?
4255
 
  grep -v '^ *+' conftest.er1 >conftest.err
4256
 
  rm -f conftest.er1
4257
 
  cat conftest.err >&5
4258
4059
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259
4060
  (exit $ac_status); } &&
4260
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4261
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4262
 
  (eval $ac_try) 2>&5
4263
 
  ac_status=$?
4264
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265
 
  (exit $ac_status); }; } &&
4266
 
         { ac_try='test -s conftest$ac_exeext'
 
4061
         { ac_try='test -s conftest$ac_exeext'
4267
4062
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4268
4063
  (eval $ac_try) 2>&5
4269
4064
  ac_status=$?
4278
4073
sed 's/^/| /' conftest.$ac_ext >&5
4279
4074
 
4280
4075
fi
4281
 
rm -f conftest.err conftest.$ac_objext \
4282
 
      conftest$ac_exeext conftest.$ac_ext
 
4076
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4283
4077
 
4284
4078
 
4285
4079
{ echo "$as_me:$LINENO: checking select..." >&5
4286
4080
echo "$as_me: checking select..." >&6;}
4287
4081
cat >conftest.$ac_ext <<_ACEOF
 
4082
#line $LINENO "configure"
4288
4083
/* confdefs.h.  */
4289
4084
_ACEOF
4290
4085
cat confdefs.h >>conftest.$ac_ext
4301
4096
_ACEOF
4302
4097
rm -f conftest.$ac_objext conftest$ac_exeext
4303
4098
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4304
 
  (eval $ac_link) 2>conftest.er1
 
4099
  (eval $ac_link) 2>&5
4305
4100
  ac_status=$?
4306
 
  grep -v '^ *+' conftest.er1 >conftest.err
4307
 
  rm -f conftest.er1
4308
 
  cat conftest.err >&5
4309
4101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310
4102
  (exit $ac_status); } &&
4311
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4312
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4313
 
  (eval $ac_try) 2>&5
4314
 
  ac_status=$?
4315
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316
 
  (exit $ac_status); }; } &&
4317
 
         { ac_try='test -s conftest$ac_exeext'
 
4103
         { ac_try='test -s conftest$ac_exeext'
4318
4104
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4319
4105
  (eval $ac_try) 2>&5
4320
4106
  ac_status=$?
4329
4115
{ echo "$as_me:$LINENO: checking select with $LIBS..." >&5
4330
4116
echo "$as_me: checking select with $LIBS..." >&6;}
4331
4117
cat >conftest.$ac_ext <<_ACEOF
 
4118
#line $LINENO "configure"
4332
4119
/* confdefs.h.  */
4333
4120
_ACEOF
4334
4121
cat confdefs.h >>conftest.$ac_ext
4345
4132
_ACEOF
4346
4133
rm -f conftest.$ac_objext conftest$ac_exeext
4347
4134
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4348
 
  (eval $ac_link) 2>conftest.er1
 
4135
  (eval $ac_link) 2>&5
4349
4136
  ac_status=$?
4350
 
  grep -v '^ *+' conftest.er1 >conftest.err
4351
 
  rm -f conftest.er1
4352
 
  cat conftest.err >&5
4353
4137
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354
4138
  (exit $ac_status); } &&
4355
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4356
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4357
 
  (eval $ac_try) 2>&5
4358
 
  ac_status=$?
4359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360
 
  (exit $ac_status); }; } &&
4361
 
         { ac_try='test -s conftest$ac_exeext'
 
4139
         { ac_try='test -s conftest$ac_exeext'
4362
4140
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4363
4141
  (eval $ac_try) 2>&5
4364
4142
  ac_status=$?
4373
4151
echo "$as_me: error: !!! no select - no screen" >&2;}
4374
4152
   { (exit 1); exit 1; }; }
4375
4153
fi
4376
 
rm -f conftest.err conftest.$ac_objext \
4377
 
      conftest$ac_exeext conftest.$ac_ext
 
4154
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4378
4155
 
4379
4156
fi
4380
 
rm -f conftest.err conftest.$ac_objext \
4381
 
      conftest$ac_exeext conftest.$ac_ext
 
4157
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4382
4158
 
4383
4159
{ echo "$as_me:$LINENO: checking fifos..." >&5
4384
4160
echo "$as_me: checking fifos..." >&6;}
4390
4166
   { (exit 1); exit 1; }; }
4391
4167
else
4392
4168
  cat >conftest.$ac_ext <<_ACEOF
 
4169
#line $LINENO "configure"
4393
4170
/* confdefs.h.  */
4394
4171
_ACEOF
4395
4172
cat confdefs.h >>conftest.$ac_ext
4483
4260
echo "- your fifos are not usable" 1>&6
4484
4261
 
4485
4262
fi
4486
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4263
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4487
4264
fi
4488
4265
rm -f /tmp/conftest*
4489
4266
 
4498
4275
   { (exit 1); exit 1; }; }
4499
4276
else
4500
4277
  cat >conftest.$ac_ext <<_ACEOF
 
4278
#line $LINENO "configure"
4501
4279
/* confdefs.h.  */
4502
4280
_ACEOF
4503
4281
cat confdefs.h >>conftest.$ac_ext
4574
4352
_ACEOF
4575
4353
 fifobr=1
4576
4354
fi
4577
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4355
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4578
4356
fi
4579
4357
rm -f /tmp/conftest*
4580
4358
fi
4590
4368
   { (exit 1); exit 1; }; }
4591
4369
else
4592
4370
  cat >conftest.$ac_ext <<_ACEOF
 
4371
#line $LINENO "configure"
4593
4372
/* confdefs.h.  */
4594
4373
_ACEOF
4595
4374
cat confdefs.h >>conftest.$ac_ext
4669
4448
echo "- your sockets are not usable" 1>&6
4670
4449
 
4671
4450
fi
4672
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4451
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4673
4452
fi
4674
4453
rm -f /tmp/conftest*
4675
4454
 
4684
4463
   { (exit 1); exit 1; }; }
4685
4464
else
4686
4465
  cat >conftest.$ac_ext <<_ACEOF
 
4466
#line $LINENO "configure"
4687
4467
/* confdefs.h.  */
4688
4468
_ACEOF
4689
4469
cat confdefs.h >>conftest.$ac_ext
4742
4522
_ACEOF
4743
4523
 socknofs=1
4744
4524
fi
4745
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4525
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4746
4526
fi
4747
4527
rm -f /tmp/conftest*
4748
4528
fi
4796
4576
   { (exit 1); exit 1; }; }
4797
4577
else
4798
4578
  cat >conftest.$ac_ext <<_ACEOF
 
4579
#line $LINENO "configure"
4799
4580
/* confdefs.h.  */
4800
4581
_ACEOF
4801
4582
cat confdefs.h >>conftest.$ac_ext
4926
4707
_ACEOF
4927
4708
 
4928
4709
fi
4929
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4710
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4930
4711
fi
4931
4712
 
4932
4713
{ echo "$as_me:$LINENO: checking for tgetent..." >&5
4933
4714
echo "$as_me: checking for tgetent..." >&6;}
4934
4715
cat >conftest.$ac_ext <<_ACEOF
 
4716
#line $LINENO "configure"
4935
4717
/* confdefs.h.  */
4936
4718
_ACEOF
4937
4719
cat confdefs.h >>conftest.$ac_ext
4948
4730
_ACEOF
4949
4731
rm -f conftest.$ac_objext conftest$ac_exeext
4950
4732
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4951
 
  (eval $ac_link) 2>conftest.er1
 
4733
  (eval $ac_link) 2>&5
4952
4734
  ac_status=$?
4953
 
  grep -v '^ *+' conftest.er1 >conftest.err
4954
 
  rm -f conftest.er1
4955
 
  cat conftest.err >&5
4956
4735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957
4736
  (exit $ac_status); } &&
4958
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4959
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4960
 
  (eval $ac_try) 2>&5
4961
 
  ac_status=$?
4962
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963
 
  (exit $ac_status); }; } &&
4964
 
         { ac_try='test -s conftest$ac_exeext'
 
4737
         { ac_try='test -s conftest$ac_exeext'
4965
4738
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4966
4739
  (eval $ac_try) 2>&5
4967
4740
  ac_status=$?
4973
4746
sed 's/^/| /' conftest.$ac_ext >&5
4974
4747
 
4975
4748
olibs="$LIBS"
4976
 
if test -f /usr/lib/libncursesw.so ; then
4977
 
    LIBS="-lncursesw $olibs"
4978
 
fi
4979
 
{ echo "$as_me:$LINENO: checking libncursesw..." >&5
4980
 
echo "$as_me: checking libncursesw..." >&6;}
4981
 
cat >conftest.$ac_ext <<_ACEOF
4982
 
/* confdefs.h.  */
4983
 
_ACEOF
4984
 
cat confdefs.h >>conftest.$ac_ext
4985
 
cat >>conftest.$ac_ext <<_ACEOF
4986
 
/* end confdefs.h.  */
4987
 
 
4988
 
int
4989
 
main ()
4990
 
{
4991
 
tgetent((char *)0, (char *)0);
4992
 
  ;
4993
 
  return 0;
4994
 
}
4995
 
_ACEOF
4996
 
rm -f conftest.$ac_objext conftest$ac_exeext
4997
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4998
 
  (eval $ac_link) 2>conftest.er1
4999
 
  ac_status=$?
5000
 
  grep -v '^ *+' conftest.er1 >conftest.err
5001
 
  rm -f conftest.er1
5002
 
  cat conftest.err >&5
5003
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004
 
  (exit $ac_status); } &&
5005
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5006
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5007
 
  (eval $ac_try) 2>&5
5008
 
  ac_status=$?
5009
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010
 
  (exit $ac_status); }; } &&
5011
 
         { ac_try='test -s conftest$ac_exeext'
5012
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5013
 
  (eval $ac_try) 2>&5
5014
 
  ac_status=$?
5015
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016
 
  (exit $ac_status); }; }; then
5017
 
  :
5018
 
else
5019
 
  echo "$as_me: failed program was:" >&5
5020
 
sed 's/^/| /' conftest.$ac_ext >&5
5021
 
 
5022
4749
LIBS="-lcurses $olibs"
5023
4750
{ echo "$as_me:$LINENO: checking libcurses..." >&5
5024
4751
echo "$as_me: checking libcurses..." >&6;}
5025
4752
cat >conftest.$ac_ext <<_ACEOF
 
4753
#line $LINENO "configure"
5026
4754
/* confdefs.h.  */
5027
4755
_ACEOF
5028
4756
cat confdefs.h >>conftest.$ac_ext
5045
4773
_ACEOF
5046
4774
rm -f conftest.$ac_objext conftest$ac_exeext
5047
4775
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5048
 
  (eval $ac_link) 2>conftest.er1
 
4776
  (eval $ac_link) 2>&5
5049
4777
  ac_status=$?
5050
 
  grep -v '^ *+' conftest.er1 >conftest.err
5051
 
  rm -f conftest.er1
5052
 
  cat conftest.err >&5
5053
4778
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054
4779
  (exit $ac_status); } &&
5055
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5056
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5057
 
  (eval $ac_try) 2>&5
5058
 
  ac_status=$?
5059
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060
 
  (exit $ac_status); }; } &&
5061
 
         { ac_try='test -s conftest$ac_exeext'
 
4780
         { ac_try='test -s conftest$ac_exeext'
5062
4781
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5063
4782
  (eval $ac_try) 2>&5
5064
4783
  ac_status=$?
5073
4792
{ echo "$as_me:$LINENO: checking libtermcap..." >&5
5074
4793
echo "$as_me: checking libtermcap..." >&6;}
5075
4794
cat >conftest.$ac_ext <<_ACEOF
 
4795
#line $LINENO "configure"
5076
4796
/* confdefs.h.  */
5077
4797
_ACEOF
5078
4798
cat confdefs.h >>conftest.$ac_ext
5089
4809
_ACEOF
5090
4810
rm -f conftest.$ac_objext conftest$ac_exeext
5091
4811
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5092
 
  (eval $ac_link) 2>conftest.er1
 
4812
  (eval $ac_link) 2>&5
5093
4813
  ac_status=$?
5094
 
  grep -v '^ *+' conftest.er1 >conftest.err
5095
 
  rm -f conftest.er1
5096
 
  cat conftest.err >&5
5097
4814
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098
4815
  (exit $ac_status); } &&
5099
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5100
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5101
 
  (eval $ac_try) 2>&5
5102
 
  ac_status=$?
5103
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104
 
  (exit $ac_status); }; } &&
5105
 
         { ac_try='test -s conftest$ac_exeext'
 
4816
         { ac_try='test -s conftest$ac_exeext'
5106
4817
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5107
4818
  (eval $ac_try) 2>&5
5108
4819
  ac_status=$?
5117
4828
{ echo "$as_me:$LINENO: checking libtermlib..." >&5
5118
4829
echo "$as_me: checking libtermlib..." >&6;}
5119
4830
cat >conftest.$ac_ext <<_ACEOF
 
4831
#line $LINENO "configure"
5120
4832
/* confdefs.h.  */
5121
4833
_ACEOF
5122
4834
cat confdefs.h >>conftest.$ac_ext
5133
4845
_ACEOF
5134
4846
rm -f conftest.$ac_objext conftest$ac_exeext
5135
4847
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5136
 
  (eval $ac_link) 2>conftest.er1
 
4848
  (eval $ac_link) 2>&5
5137
4849
  ac_status=$?
5138
 
  grep -v '^ *+' conftest.er1 >conftest.err
5139
 
  rm -f conftest.er1
5140
 
  cat conftest.err >&5
5141
4850
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5142
4851
  (exit $ac_status); } &&
5143
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5144
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5145
 
  (eval $ac_try) 2>&5
5146
 
  ac_status=$?
5147
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5148
 
  (exit $ac_status); }; } &&
5149
 
         { ac_try='test -s conftest$ac_exeext'
 
4852
         { ac_try='test -s conftest$ac_exeext'
5150
4853
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5151
4854
  (eval $ac_try) 2>&5
5152
4855
  ac_status=$?
5161
4864
{ echo "$as_me:$LINENO: checking libncurses..." >&5
5162
4865
echo "$as_me: checking libncurses..." >&6;}
5163
4866
cat >conftest.$ac_ext <<_ACEOF
 
4867
#line $LINENO "configure"
5164
4868
/* confdefs.h.  */
5165
4869
_ACEOF
5166
4870
cat confdefs.h >>conftest.$ac_ext
5177
4881
_ACEOF
5178
4882
rm -f conftest.$ac_objext conftest$ac_exeext
5179
4883
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5180
 
  (eval $ac_link) 2>conftest.er1
 
4884
  (eval $ac_link) 2>&5
5181
4885
  ac_status=$?
5182
 
  grep -v '^ *+' conftest.er1 >conftest.err
5183
 
  rm -f conftest.er1
5184
 
  cat conftest.err >&5
5185
4886
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5186
4887
  (exit $ac_status); } &&
5187
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5188
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5189
 
  (eval $ac_try) 2>&5
5190
 
  ac_status=$?
5191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192
 
  (exit $ac_status); }; } &&
5193
 
         { ac_try='test -s conftest$ac_exeext'
 
4888
         { ac_try='test -s conftest$ac_exeext'
5194
4889
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5195
4890
  (eval $ac_try) 2>&5
5196
4891
  ac_status=$?
5205
4900
echo "$as_me: error: !!! no tgetent - no screen" >&2;}
5206
4901
   { (exit 1); exit 1; }; }
5207
4902
fi
5208
 
rm -f conftest.err conftest.$ac_objext \
5209
 
      conftest$ac_exeext conftest.$ac_ext
5210
 
fi
5211
 
rm -f conftest.err conftest.$ac_objext \
5212
 
      conftest$ac_exeext conftest.$ac_ext
5213
 
fi
5214
 
rm -f conftest.err conftest.$ac_objext \
5215
 
      conftest$ac_exeext conftest.$ac_ext
5216
 
fi
5217
 
rm -f conftest.err conftest.$ac_objext \
5218
 
      conftest$ac_exeext conftest.$ac_ext
5219
 
fi
5220
 
rm -f conftest.err conftest.$ac_objext \
5221
 
      conftest$ac_exeext conftest.$ac_ext
5222
 
fi
5223
 
rm -f conftest.err conftest.$ac_objext \
5224
 
      conftest$ac_exeext conftest.$ac_ext
 
4903
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4904
fi
 
4905
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4906
fi
 
4907
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4908
fi
 
4909
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4910
fi
 
4911
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5225
4912
 
5226
4913
if test "$cross_compiling" = yes; then
5227
4914
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5231
4918
   { (exit 1); exit 1; }; }
5232
4919
else
5233
4920
  cat >conftest.$ac_ext <<_ACEOF
 
4921
#line $LINENO "configure"
5234
4922
/* confdefs.h.  */
5235
4923
_ACEOF
5236
4924
cat confdefs.h >>conftest.$ac_ext
5267
4955
_ACEOF
5268
4956
 
5269
4957
fi
5270
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4958
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5271
4959
fi
5272
4960
{ echo "$as_me:$LINENO: checking ospeed..." >&5
5273
4961
echo "$as_me: checking ospeed..." >&6;}
5274
4962
cat >conftest.$ac_ext <<_ACEOF
 
4963
#line $LINENO "configure"
5275
4964
/* confdefs.h.  */
5276
4965
_ACEOF
5277
4966
cat confdefs.h >>conftest.$ac_ext
5288
4977
_ACEOF
5289
4978
rm -f conftest.$ac_objext conftest$ac_exeext
5290
4979
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5291
 
  (eval $ac_link) 2>conftest.er1
 
4980
  (eval $ac_link) 2>&5
5292
4981
  ac_status=$?
5293
 
  grep -v '^ *+' conftest.er1 >conftest.err
5294
 
  rm -f conftest.er1
5295
 
  cat conftest.err >&5
5296
4982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297
4983
  (exit $ac_status); } &&
5298
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5299
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5300
 
  (eval $ac_try) 2>&5
5301
 
  ac_status=$?
5302
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303
 
  (exit $ac_status); }; } &&
5304
 
         { ac_try='test -s conftest$ac_exeext'
 
4984
         { ac_try='test -s conftest$ac_exeext'
5305
4985
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5306
4986
  (eval $ac_try) 2>&5
5307
4987
  ac_status=$?
5317
4997
_ACEOF
5318
4998
 
5319
4999
fi
5320
 
rm -f conftest.err conftest.$ac_objext \
5321
 
      conftest$ac_exeext conftest.$ac_ext
 
5000
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5322
5001
 
5323
5002
{ echo "$as_me:$LINENO: checking for /dev/ptc..." >&5
5324
5003
echo "$as_me: checking for /dev/ptc..." >&6;}
5334
5013
sysvr4ptys=
5335
5014
if test -c /dev/ptmx ; then
5336
5015
cat >conftest.$ac_ext <<_ACEOF
 
5016
#line $LINENO "configure"
5337
5017
/* confdefs.h.  */
5338
5018
_ACEOF
5339
5019
cat confdefs.h >>conftest.$ac_ext
5350
5030
_ACEOF
5351
5031
rm -f conftest.$ac_objext conftest$ac_exeext
5352
5032
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5353
 
  (eval $ac_link) 2>conftest.er1
 
5033
  (eval $ac_link) 2>&5
5354
5034
  ac_status=$?
5355
 
  grep -v '^ *+' conftest.er1 >conftest.err
5356
 
  rm -f conftest.er1
5357
 
  cat conftest.err >&5
5358
5035
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359
5036
  (exit $ac_status); } &&
5360
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5361
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5362
 
  (eval $ac_try) 2>&5
5363
 
  ac_status=$?
5364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365
 
  (exit $ac_status); }; } &&
5366
 
         { ac_try='test -s conftest$ac_exeext'
 
5037
         { ac_try='test -s conftest$ac_exeext'
5367
5038
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5368
5039
  (eval $ac_try) 2>&5
5369
5040
  ac_status=$?
5379
5050
sed 's/^/| /' conftest.$ac_ext >&5
5380
5051
 
5381
5052
fi
5382
 
rm -f conftest.err conftest.$ac_objext \
5383
 
      conftest$ac_exeext conftest.$ac_ext
 
5053
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5384
5054
fi
5385
5055
 
5386
5056
 
5393
5063
  echo $ECHO_N "(cached) $ECHO_C" >&6
5394
5064
else
5395
5065
  cat >conftest.$ac_ext <<_ACEOF
 
5066
#line $LINENO "configure"
5396
5067
/* confdefs.h.  */
5397
5068
_ACEOF
5398
5069
cat confdefs.h >>conftest.$ac_ext
5399
5070
cat >>conftest.$ac_ext <<_ACEOF
5400
5071
/* end confdefs.h.  */
5401
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5402
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5403
 
#define $ac_func innocuous_$ac_func
5404
 
 
5405
5072
/* System header to define __stub macros and hopefully few prototypes,
5406
5073
    which can conflict with char $ac_func (); below.
5407
5074
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5408
5075
    <limits.h> exists even on freestanding compilers.  */
5409
 
 
5410
5076
#ifdef __STDC__
5411
5077
# include <limits.h>
5412
5078
#else
5413
5079
# include <assert.h>
5414
5080
#endif
5415
 
 
5416
 
#undef $ac_func
5417
 
 
5418
5081
/* Override any gcc2 internal prototype to avoid an error.  */
5419
5082
#ifdef __cplusplus
5420
5083
extern "C"
5445
5108
_ACEOF
5446
5109
rm -f conftest.$ac_objext conftest$ac_exeext
5447
5110
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5448
 
  (eval $ac_link) 2>conftest.er1
 
5111
  (eval $ac_link) 2>&5
5449
5112
  ac_status=$?
5450
 
  grep -v '^ *+' conftest.er1 >conftest.err
5451
 
  rm -f conftest.er1
5452
 
  cat conftest.err >&5
5453
5113
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454
5114
  (exit $ac_status); } &&
5455
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5456
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5457
 
  (eval $ac_try) 2>&5
5458
 
  ac_status=$?
5459
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460
 
  (exit $ac_status); }; } &&
5461
 
         { ac_try='test -s conftest$ac_exeext'
 
5115
         { ac_try='test -s conftest$ac_exeext'
5462
5116
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5463
5117
  (eval $ac_try) 2>&5
5464
5118
  ac_status=$?
5471
5125
 
5472
5126
eval "$as_ac_var=no"
5473
5127
fi
5474
 
rm -f conftest.err conftest.$ac_objext \
5475
 
      conftest$ac_exeext conftest.$ac_ext
 
5128
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5476
5129
fi
5477
5130
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5478
5131
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5496
5149
  echo $ECHO_N "(cached) $ECHO_C" >&6
5497
5150
else
5498
5151
  cat >conftest.$ac_ext <<_ACEOF
 
5152
#line $LINENO "configure"
5499
5153
/* confdefs.h.  */
5500
5154
_ACEOF
5501
5155
cat confdefs.h >>conftest.$ac_ext
5502
5156
cat >>conftest.$ac_ext <<_ACEOF
5503
5157
/* end confdefs.h.  */
5504
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5505
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5506
 
#define $ac_func innocuous_$ac_func
5507
 
 
5508
5158
/* System header to define __stub macros and hopefully few prototypes,
5509
5159
    which can conflict with char $ac_func (); below.
5510
5160
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5511
5161
    <limits.h> exists even on freestanding compilers.  */
5512
 
 
5513
5162
#ifdef __STDC__
5514
5163
# include <limits.h>
5515
5164
#else
5516
5165
# include <assert.h>
5517
5166
#endif
5518
 
 
5519
 
#undef $ac_func
5520
 
 
5521
5167
/* Override any gcc2 internal prototype to avoid an error.  */
5522
5168
#ifdef __cplusplus
5523
5169
extern "C"
5548
5194
_ACEOF
5549
5195
rm -f conftest.$ac_objext conftest$ac_exeext
5550
5196
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5551
 
  (eval $ac_link) 2>conftest.er1
 
5197
  (eval $ac_link) 2>&5
5552
5198
  ac_status=$?
5553
 
  grep -v '^ *+' conftest.er1 >conftest.err
5554
 
  rm -f conftest.er1
5555
 
  cat conftest.err >&5
5556
5199
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557
5200
  (exit $ac_status); } &&
5558
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5559
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5560
 
  (eval $ac_try) 2>&5
5561
 
  ac_status=$?
5562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563
 
  (exit $ac_status); }; } &&
5564
 
         { ac_try='test -s conftest$ac_exeext'
 
5201
         { ac_try='test -s conftest$ac_exeext'
5565
5202
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5566
5203
  (eval $ac_try) 2>&5
5567
5204
  ac_status=$?
5574
5211
 
5575
5212
eval "$as_ac_var=no"
5576
5213
fi
5577
 
rm -f conftest.err conftest.$ac_objext \
5578
 
      conftest$ac_exeext conftest.$ac_ext
 
5214
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5579
5215
fi
5580
5216
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5581
5217
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5593
5229
  ac_check_lib_save_LIBS=$LIBS
5594
5230
LIBS="-lutil  $LIBS"
5595
5231
cat >conftest.$ac_ext <<_ACEOF
 
5232
#line $LINENO "configure"
5596
5233
/* confdefs.h.  */
5597
5234
_ACEOF
5598
5235
cat confdefs.h >>conftest.$ac_ext
5616
5253
_ACEOF
5617
5254
rm -f conftest.$ac_objext conftest$ac_exeext
5618
5255
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5619
 
  (eval $ac_link) 2>conftest.er1
 
5256
  (eval $ac_link) 2>&5
5620
5257
  ac_status=$?
5621
 
  grep -v '^ *+' conftest.er1 >conftest.err
5622
 
  rm -f conftest.er1
5623
 
  cat conftest.err >&5
5624
5258
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625
5259
  (exit $ac_status); } &&
5626
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5627
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5628
 
  (eval $ac_try) 2>&5
5629
 
  ac_status=$?
5630
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5631
 
  (exit $ac_status); }; } &&
5632
 
         { ac_try='test -s conftest$ac_exeext'
 
5260
         { ac_try='test -s conftest$ac_exeext'
5633
5261
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5634
5262
  (eval $ac_try) 2>&5
5635
5263
  ac_status=$?
5642
5270
 
5643
5271
ac_cv_lib_util_openpty=no
5644
5272
fi
5645
 
rm -f conftest.err conftest.$ac_objext \
5646
 
      conftest$ac_exeext conftest.$ac_ext
 
5273
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5647
5274
LIBS=$ac_check_lib_save_LIBS
5648
5275
fi
5649
5276
echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
5668
5295
pdir='/dev'
5669
5296
fi
5670
5297
cat >conftest.$ac_ext <<_ACEOF
 
5298
#line $LINENO "configure"
5671
5299
/* confdefs.h.  */
5672
5300
_ACEOF
5673
5301
cat confdefs.h >>conftest.$ac_ext
5734
5362
   { (exit 1); exit 1; }; }
5735
5363
else
5736
5364
  cat >conftest.$ac_ext <<_ACEOF
 
5365
#line $LINENO "configure"
5737
5366
/* confdefs.h.  */
5738
5367
_ACEOF
5739
5368
cat confdefs.h >>conftest.$ac_ext
5926
5555
 
5927
5556
 
5928
5557
fi
5929
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5558
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5930
5559
fi
5931
5560
rm -f conftest_grp
5932
5561
fi
5934
5563
{ echo "$as_me:$LINENO: checking getutent..." >&5
5935
5564
echo "$as_me: checking getutent..." >&6;}
5936
5565
cat >conftest.$ac_ext <<_ACEOF
 
5566
#line $LINENO "configure"
5937
5567
/* confdefs.h.  */
5938
5568
_ACEOF
5939
5569
cat confdefs.h >>conftest.$ac_ext
5962
5592
_ACEOF
5963
5593
rm -f conftest.$ac_objext conftest$ac_exeext
5964
5594
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5965
 
  (eval $ac_link) 2>conftest.er1
 
5595
  (eval $ac_link) 2>&5
5966
5596
  ac_status=$?
5967
 
  grep -v '^ *+' conftest.er1 >conftest.err
5968
 
  rm -f conftest.er1
5969
 
  cat conftest.err >&5
5970
5597
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971
5598
  (exit $ac_status); } &&
5972
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5973
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5974
 
  (eval $ac_try) 2>&5
5975
 
  ac_status=$?
5976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977
 
  (exit $ac_status); }; } &&
5978
 
         { ac_try='test -s conftest$ac_exeext'
 
5599
         { ac_try='test -s conftest$ac_exeext'
5979
5600
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5980
5601
  (eval $ac_try) 2>&5
5981
5602
  ac_status=$?
5994
5615
{ echo "$as_me:$LINENO: checking getutent with -lgen..." >&5
5995
5616
echo "$as_me: checking getutent with -lgen..." >&6;}
5996
5617
cat >conftest.$ac_ext <<_ACEOF
 
5618
#line $LINENO "configure"
5997
5619
/* confdefs.h.  */
5998
5620
_ACEOF
5999
5621
cat confdefs.h >>conftest.$ac_ext
6022
5644
_ACEOF
6023
5645
rm -f conftest.$ac_objext conftest$ac_exeext
6024
5646
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6025
 
  (eval $ac_link) 2>conftest.er1
 
5647
  (eval $ac_link) 2>&5
6026
5648
  ac_status=$?
6027
 
  grep -v '^ *+' conftest.er1 >conftest.err
6028
 
  rm -f conftest.er1
6029
 
  cat conftest.err >&5
6030
5649
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031
5650
  (exit $ac_status); } &&
6032
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6033
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6034
 
  (eval $ac_try) 2>&5
6035
 
  ac_status=$?
6036
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037
 
  (exit $ac_status); }; } &&
6038
 
         { ac_try='test -s conftest$ac_exeext'
 
5651
         { ac_try='test -s conftest$ac_exeext'
6039
5652
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6040
5653
  (eval $ac_try) 2>&5
6041
5654
  ac_status=$?
6051
5664
 
6052
5665
LIBS="$olibs"
6053
5666
fi
6054
 
rm -f conftest.err conftest.$ac_objext \
6055
 
      conftest$ac_exeext conftest.$ac_ext
 
5667
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6056
5668
 
6057
5669
fi
6058
 
rm -f conftest.err conftest.$ac_objext \
6059
 
      conftest$ac_exeext conftest.$ac_ext
 
5670
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6060
5671
{ echo "$as_me:$LINENO: checking ut_host..." >&5
6061
5672
echo "$as_me: checking ut_host..." >&6;}
6062
5673
cat >conftest.$ac_ext <<_ACEOF
 
5674
#line $LINENO "configure"
6063
5675
/* confdefs.h.  */
6064
5676
_ACEOF
6065
5677
cat confdefs.h >>conftest.$ac_ext
6085
5697
_ACEOF
6086
5698
rm -f conftest.$ac_objext
6087
5699
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6088
 
  (eval $ac_compile) 2>conftest.er1
 
5700
  (eval $ac_compile) 2>&5
6089
5701
  ac_status=$?
6090
 
  grep -v '^ *+' conftest.er1 >conftest.err
6091
 
  rm -f conftest.er1
6092
 
  cat conftest.err >&5
6093
5702
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094
5703
  (exit $ac_status); } &&
6095
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6096
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6097
 
  (eval $ac_try) 2>&5
6098
 
  ac_status=$?
6099
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100
 
  (exit $ac_status); }; } &&
6101
 
         { ac_try='test -s conftest.$ac_objext'
 
5704
         { ac_try='test -s conftest.$ac_objext'
6102
5705
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6103
5706
  (eval $ac_try) 2>&5
6104
5707
  ac_status=$?
6113
5716
sed 's/^/| /' conftest.$ac_ext >&5
6114
5717
 
6115
5718
fi
6116
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5719
rm -f conftest.$ac_objext conftest.$ac_ext
6117
5720
if test "${ac_cv_header_utempter_h+set}" = set; then
6118
5721
  echo "$as_me:$LINENO: checking for utempter.h" >&5
6119
5722
echo $ECHO_N "checking for utempter.h... $ECHO_C" >&6
6127
5730
echo "$as_me:$LINENO: checking utempter.h usability" >&5
6128
5731
echo $ECHO_N "checking utempter.h usability... $ECHO_C" >&6
6129
5732
cat >conftest.$ac_ext <<_ACEOF
 
5733
#line $LINENO "configure"
6130
5734
/* confdefs.h.  */
6131
5735
_ACEOF
6132
5736
cat confdefs.h >>conftest.$ac_ext
6137
5741
_ACEOF
6138
5742
rm -f conftest.$ac_objext
6139
5743
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6140
 
  (eval $ac_compile) 2>conftest.er1
 
5744
  (eval $ac_compile) 2>&5
6141
5745
  ac_status=$?
6142
 
  grep -v '^ *+' conftest.er1 >conftest.err
6143
 
  rm -f conftest.er1
6144
 
  cat conftest.err >&5
6145
5746
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146
5747
  (exit $ac_status); } &&
6147
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6148
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6149
 
  (eval $ac_try) 2>&5
6150
 
  ac_status=$?
6151
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152
 
  (exit $ac_status); }; } &&
6153
 
         { ac_try='test -s conftest.$ac_objext'
 
5748
         { ac_try='test -s conftest.$ac_objext'
6154
5749
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6155
5750
  (eval $ac_try) 2>&5
6156
5751
  ac_status=$?
6163
5758
 
6164
5759
ac_header_compiler=no
6165
5760
fi
6166
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5761
rm -f conftest.$ac_objext conftest.$ac_ext
6167
5762
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6168
5763
echo "${ECHO_T}$ac_header_compiler" >&6
6169
5764
 
6171
5766
echo "$as_me:$LINENO: checking utempter.h presence" >&5
6172
5767
echo $ECHO_N "checking utempter.h presence... $ECHO_C" >&6
6173
5768
cat >conftest.$ac_ext <<_ACEOF
 
5769
#line $LINENO "configure"
6174
5770
/* confdefs.h.  */
6175
5771
_ACEOF
6176
5772
cat confdefs.h >>conftest.$ac_ext
6188
5784
  (exit $ac_status); } >/dev/null; then
6189
5785
  if test -s conftest.err; then
6190
5786
    ac_cpp_err=$ac_c_preproc_warn_flag
6191
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6192
5787
  else
6193
5788
    ac_cpp_err=
6194
5789
  fi
6208
5803
echo "${ECHO_T}$ac_header_preproc" >&6
6209
5804
 
6210
5805
# So?  What about this header?
6211
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6212
 
  yes:no: )
 
5806
case $ac_header_compiler:$ac_header_preproc in
 
5807
  yes:no )
6213
5808
    { echo "$as_me:$LINENO: WARNING: utempter.h: accepted by the compiler, rejected by the preprocessor!" >&5
6214
5809
echo "$as_me: WARNING: utempter.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6215
 
    { echo "$as_me:$LINENO: WARNING: utempter.h: proceeding with the compiler's result" >&5
6216
 
echo "$as_me: WARNING: utempter.h: proceeding with the compiler's result" >&2;}
6217
 
    ac_header_preproc=yes
 
5810
    { echo "$as_me:$LINENO: WARNING: utempter.h: proceeding with the preprocessor's result" >&5
 
5811
echo "$as_me: WARNING: utempter.h: proceeding with the preprocessor's result" >&2;}
 
5812
    (
 
5813
      cat <<\_ASBOX
 
5814
## ------------------------------------ ##
 
5815
## Report this to bug-autoconf@gnu.org. ##
 
5816
## ------------------------------------ ##
 
5817
_ASBOX
 
5818
    ) |
 
5819
      sed "s/^/$as_me: WARNING:     /" >&2
6218
5820
    ;;
6219
 
  no:yes:* )
 
5821
  no:yes )
6220
5822
    { echo "$as_me:$LINENO: WARNING: utempter.h: present but cannot be compiled" >&5
6221
5823
echo "$as_me: WARNING: utempter.h: present but cannot be compiled" >&2;}
6222
 
    { echo "$as_me:$LINENO: WARNING: utempter.h:     check for missing prerequisite headers?" >&5
6223
 
echo "$as_me: WARNING: utempter.h:     check for missing prerequisite headers?" >&2;}
6224
 
    { echo "$as_me:$LINENO: WARNING: utempter.h: see the Autoconf documentation" >&5
6225
 
echo "$as_me: WARNING: utempter.h: see the Autoconf documentation" >&2;}
6226
 
    { echo "$as_me:$LINENO: WARNING: utempter.h:     section \"Present But Cannot Be Compiled\"" >&5
6227
 
echo "$as_me: WARNING: utempter.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5824
    { echo "$as_me:$LINENO: WARNING: utempter.h: check for missing prerequisite headers?" >&5
 
5825
echo "$as_me: WARNING: utempter.h: check for missing prerequisite headers?" >&2;}
6228
5826
    { echo "$as_me:$LINENO: WARNING: utempter.h: proceeding with the preprocessor's result" >&5
6229
5827
echo "$as_me: WARNING: utempter.h: proceeding with the preprocessor's result" >&2;}
6230
 
    { echo "$as_me:$LINENO: WARNING: utempter.h: in the future, the compiler will take precedence" >&5
6231
 
echo "$as_me: WARNING: utempter.h: in the future, the compiler will take precedence" >&2;}
6232
5828
    (
6233
5829
      cat <<\_ASBOX
6234
 
## ------------------------------------------ ##
6235
 
## Report this to the AC_PACKAGE_NAME lists.  ##
6236
 
## ------------------------------------------ ##
 
5830
## ------------------------------------ ##
 
5831
## Report this to bug-autoconf@gnu.org. ##
 
5832
## ------------------------------------ ##
6237
5833
_ASBOX
6238
5834
    ) |
6239
5835
      sed "s/^/$as_me: WARNING:     /" >&2
6273
5869
{ echo "$as_me:$LINENO: checking getloadavg..." >&5
6274
5870
echo "$as_me: checking getloadavg..." >&6;}
6275
5871
cat >conftest.$ac_ext <<_ACEOF
 
5872
#line $LINENO "configure"
6276
5873
/* confdefs.h.  */
6277
5874
_ACEOF
6278
5875
cat confdefs.h >>conftest.$ac_ext
6289
5886
_ACEOF
6290
5887
rm -f conftest.$ac_objext conftest$ac_exeext
6291
5888
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6292
 
  (eval $ac_link) 2>conftest.er1
 
5889
  (eval $ac_link) 2>&5
6293
5890
  ac_status=$?
6294
 
  grep -v '^ *+' conftest.er1 >conftest.err
6295
 
  rm -f conftest.er1
6296
 
  cat conftest.err >&5
6297
5891
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6298
5892
  (exit $ac_status); } &&
6299
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6300
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6301
 
  (eval $ac_try) 2>&5
6302
 
  ac_status=$?
6303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6304
 
  (exit $ac_status); }; } &&
6305
 
         { ac_try='test -s conftest$ac_exeext'
 
5893
         { ac_try='test -s conftest$ac_exeext'
6306
5894
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6307
5895
  (eval $ac_try) 2>&5
6308
5896
  ac_status=$?
6322
5910
{ echo "$as_me:$LINENO: checking getloadavg with -lkvm..." >&5
6323
5911
echo "$as_me: checking getloadavg with -lkvm..." >&6;}
6324
5912
cat >conftest.$ac_ext <<_ACEOF
 
5913
#line $LINENO "configure"
6325
5914
/* confdefs.h.  */
6326
5915
_ACEOF
6327
5916
cat confdefs.h >>conftest.$ac_ext
6338
5927
_ACEOF
6339
5928
rm -f conftest.$ac_objext conftest$ac_exeext
6340
5929
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6341
 
  (eval $ac_link) 2>conftest.er1
 
5930
  (eval $ac_link) 2>&5
6342
5931
  ac_status=$?
6343
 
  grep -v '^ *+' conftest.er1 >conftest.err
6344
 
  rm -f conftest.er1
6345
 
  cat conftest.err >&5
6346
5932
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6347
5933
  (exit $ac_status); } &&
6348
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6349
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6350
 
  (eval $ac_try) 2>&5
6351
 
  ac_status=$?
6352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353
 
  (exit $ac_status); }; } &&
6354
 
         { ac_try='test -s conftest$ac_exeext'
 
5934
         { ac_try='test -s conftest$ac_exeext'
6355
5935
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6356
5936
  (eval $ac_try) 2>&5
6357
5937
  ac_status=$?
6367
5947
 
6368
5948
LIBS="$olibs"
6369
5949
fi
6370
 
rm -f conftest.err conftest.$ac_objext \
6371
 
      conftest$ac_exeext conftest.$ac_ext
 
5950
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6372
5951
fi
6373
5952
 
6374
5953
fi
6375
 
rm -f conftest.err conftest.$ac_objext \
6376
 
      conftest$ac_exeext conftest.$ac_ext
 
5954
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6377
5955
 
6378
5956
if test -z "$load" ; then
6379
5957
cat >conftest.$ac_ext <<_ACEOF
 
5958
#line $LINENO "configure"
6380
5959
/* confdefs.h.  */
6381
5960
_ACEOF
6382
5961
cat confdefs.h >>conftest.$ac_ext
6426
6005
echo "$as_me:$LINENO: checking nlist.h usability" >&5
6427
6006
echo $ECHO_N "checking nlist.h usability... $ECHO_C" >&6
6428
6007
cat >conftest.$ac_ext <<_ACEOF
 
6008
#line $LINENO "configure"
6429
6009
/* confdefs.h.  */
6430
6010
_ACEOF
6431
6011
cat confdefs.h >>conftest.$ac_ext
6436
6016
_ACEOF
6437
6017
rm -f conftest.$ac_objext
6438
6018
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6439
 
  (eval $ac_compile) 2>conftest.er1
 
6019
  (eval $ac_compile) 2>&5
6440
6020
  ac_status=$?
6441
 
  grep -v '^ *+' conftest.er1 >conftest.err
6442
 
  rm -f conftest.er1
6443
 
  cat conftest.err >&5
6444
6021
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445
6022
  (exit $ac_status); } &&
6446
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6447
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6448
 
  (eval $ac_try) 2>&5
6449
 
  ac_status=$?
6450
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451
 
  (exit $ac_status); }; } &&
6452
 
         { ac_try='test -s conftest.$ac_objext'
 
6023
         { ac_try='test -s conftest.$ac_objext'
6453
6024
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6454
6025
  (eval $ac_try) 2>&5
6455
6026
  ac_status=$?
6462
6033
 
6463
6034
ac_header_compiler=no
6464
6035
fi
6465
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6036
rm -f conftest.$ac_objext conftest.$ac_ext
6466
6037
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6467
6038
echo "${ECHO_T}$ac_header_compiler" >&6
6468
6039
 
6470
6041
echo "$as_me:$LINENO: checking nlist.h presence" >&5
6471
6042
echo $ECHO_N "checking nlist.h presence... $ECHO_C" >&6
6472
6043
cat >conftest.$ac_ext <<_ACEOF
 
6044
#line $LINENO "configure"
6473
6045
/* confdefs.h.  */
6474
6046
_ACEOF
6475
6047
cat confdefs.h >>conftest.$ac_ext
6487
6059
  (exit $ac_status); } >/dev/null; then
6488
6060
  if test -s conftest.err; then
6489
6061
    ac_cpp_err=$ac_c_preproc_warn_flag
6490
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6491
6062
  else
6492
6063
    ac_cpp_err=
6493
6064
  fi
6507
6078
echo "${ECHO_T}$ac_header_preproc" >&6
6508
6079
 
6509
6080
# So?  What about this header?
6510
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6511
 
  yes:no: )
 
6081
case $ac_header_compiler:$ac_header_preproc in
 
6082
  yes:no )
6512
6083
    { echo "$as_me:$LINENO: WARNING: nlist.h: accepted by the compiler, rejected by the preprocessor!" >&5
6513
6084
echo "$as_me: WARNING: nlist.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6514
 
    { echo "$as_me:$LINENO: WARNING: nlist.h: proceeding with the compiler's result" >&5
6515
 
echo "$as_me: WARNING: nlist.h: proceeding with the compiler's result" >&2;}
6516
 
    ac_header_preproc=yes
 
6085
    { echo "$as_me:$LINENO: WARNING: nlist.h: proceeding with the preprocessor's result" >&5
 
6086
echo "$as_me: WARNING: nlist.h: proceeding with the preprocessor's result" >&2;}
 
6087
    (
 
6088
      cat <<\_ASBOX
 
6089
## ------------------------------------ ##
 
6090
## Report this to bug-autoconf@gnu.org. ##
 
6091
## ------------------------------------ ##
 
6092
_ASBOX
 
6093
    ) |
 
6094
      sed "s/^/$as_me: WARNING:     /" >&2
6517
6095
    ;;
6518
 
  no:yes:* )
 
6096
  no:yes )
6519
6097
    { echo "$as_me:$LINENO: WARNING: nlist.h: present but cannot be compiled" >&5
6520
6098
echo "$as_me: WARNING: nlist.h: present but cannot be compiled" >&2;}
6521
 
    { echo "$as_me:$LINENO: WARNING: nlist.h:     check for missing prerequisite headers?" >&5
6522
 
echo "$as_me: WARNING: nlist.h:     check for missing prerequisite headers?" >&2;}
6523
 
    { echo "$as_me:$LINENO: WARNING: nlist.h: see the Autoconf documentation" >&5
6524
 
echo "$as_me: WARNING: nlist.h: see the Autoconf documentation" >&2;}
6525
 
    { echo "$as_me:$LINENO: WARNING: nlist.h:     section \"Present But Cannot Be Compiled\"" >&5
6526
 
echo "$as_me: WARNING: nlist.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
6099
    { echo "$as_me:$LINENO: WARNING: nlist.h: check for missing prerequisite headers?" >&5
 
6100
echo "$as_me: WARNING: nlist.h: check for missing prerequisite headers?" >&2;}
6527
6101
    { echo "$as_me:$LINENO: WARNING: nlist.h: proceeding with the preprocessor's result" >&5
6528
6102
echo "$as_me: WARNING: nlist.h: proceeding with the preprocessor's result" >&2;}
6529
 
    { echo "$as_me:$LINENO: WARNING: nlist.h: in the future, the compiler will take precedence" >&5
6530
 
echo "$as_me: WARNING: nlist.h: in the future, the compiler will take precedence" >&2;}
6531
6103
    (
6532
6104
      cat <<\_ASBOX
6533
 
## ------------------------------------------ ##
6534
 
## Report this to the AC_PACKAGE_NAME lists.  ##
6535
 
## ------------------------------------------ ##
 
6105
## ------------------------------------ ##
 
6106
## Report this to bug-autoconf@gnu.org. ##
 
6107
## ------------------------------------ ##
6536
6108
_ASBOX
6537
6109
    ) |
6538
6110
      sed "s/^/$as_me: WARNING:     /" >&2
6557
6129
     { echo "$as_me:$LINENO: checking n_un in struct nlist..." >&5
6558
6130
echo "$as_me: checking n_un in struct nlist..." >&6;}
6559
6131
     cat >conftest.$ac_ext <<_ACEOF
 
6132
#line $LINENO "configure"
6560
6133
/* confdefs.h.  */
6561
6134
_ACEOF
6562
6135
cat confdefs.h >>conftest.$ac_ext
6573
6146
_ACEOF
6574
6147
rm -f conftest.$ac_objext
6575
6148
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6576
 
  (eval $ac_compile) 2>conftest.er1
 
6149
  (eval $ac_compile) 2>&5
6577
6150
  ac_status=$?
6578
 
  grep -v '^ *+' conftest.er1 >conftest.err
6579
 
  rm -f conftest.er1
6580
 
  cat conftest.err >&5
6581
6151
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582
6152
  (exit $ac_status); } &&
6583
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6584
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6585
 
  (eval $ac_try) 2>&5
6586
 
  ac_status=$?
6587
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588
 
  (exit $ac_status); }; } &&
6589
 
         { ac_try='test -s conftest.$ac_objext'
 
6153
         { ac_try='test -s conftest.$ac_objext'
6590
6154
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6591
6155
  (eval $ac_try) 2>&5
6592
6156
  ac_status=$?
6601
6165
sed 's/^/| /' conftest.$ac_ext >&5
6602
6166
 
6603
6167
fi
6604
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6168
rm -f conftest.$ac_objext conftest.$ac_ext
6605
6169
fi
6606
6170
 
6607
6171
 
6609
6173
  { echo "$as_me:$LINENO: checking for nlist declaration..." >&5
6610
6174
echo "$as_me: checking for nlist declaration..." >&6;}
6611
6175
  cat >conftest.$ac_ext <<_ACEOF
 
6176
#line $LINENO "configure"
6612
6177
/* confdefs.h.  */
6613
6178
_ACEOF
6614
6179
cat confdefs.h >>conftest.$ac_ext
6644
6209
   { (exit 1); exit 1; }; }
6645
6210
else
6646
6211
  cat >conftest.$ac_ext <<_ACEOF
 
6212
#line $LINENO "configure"
6647
6213
/* confdefs.h.  */
6648
6214
_ACEOF
6649
6215
cat confdefs.h >>conftest.$ac_ext
6697
6263
sed 's/^/| /' conftest.$ac_ext >&5
6698
6264
 
6699
6265
fi
6700
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6266
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6701
6267
fi
6702
6268
  if test "$av" = _Loadavg; then
6703
6269
    nlist64='#define nlist nlist64'
6818
6384
{ echo "$as_me:$LINENO: checking return type of signal handlers..." >&5
6819
6385
echo "$as_me: checking return type of signal handlers..." >&6;}
6820
6386
cat >conftest.$ac_ext <<_ACEOF
 
6387
#line $LINENO "configure"
6821
6388
/* confdefs.h.  */
6822
6389
_ACEOF
6823
6390
cat confdefs.h >>conftest.$ac_ext
6839
6406
_ACEOF
6840
6407
rm -f conftest.$ac_objext
6841
6408
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6842
 
  (eval $ac_compile) 2>conftest.er1
 
6409
  (eval $ac_compile) 2>&5
6843
6410
  ac_status=$?
6844
 
  grep -v '^ *+' conftest.er1 >conftest.err
6845
 
  rm -f conftest.er1
6846
 
  cat conftest.err >&5
6847
6411
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848
6412
  (exit $ac_status); } &&
6849
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6850
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6851
 
  (eval $ac_try) 2>&5
6852
 
  ac_status=$?
6853
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854
 
  (exit $ac_status); }; } &&
6855
 
         { ac_try='test -s conftest.$ac_objext'
 
6413
         { ac_try='test -s conftest.$ac_objext'
6856
6414
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6857
6415
  (eval $ac_try) 2>&5
6858
6416
  ac_status=$?
6867
6425
sed 's/^/| /' conftest.$ac_ext >&5
6868
6426
 
6869
6427
fi
6870
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6428
rm -f conftest.$ac_objext conftest.$ac_ext
6871
6429
{ echo "$as_me:$LINENO: checking sigset..." >&5
6872
6430
echo "$as_me: checking sigset..." >&6;}
6873
6431
cat >conftest.$ac_ext <<_ACEOF
 
6432
#line $LINENO "configure"
6874
6433
/* confdefs.h.  */
6875
6434
_ACEOF
6876
6435
cat confdefs.h >>conftest.$ac_ext
6896
6455
_ACEOF
6897
6456
rm -f conftest.$ac_objext conftest$ac_exeext
6898
6457
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6899
 
  (eval $ac_link) 2>conftest.er1
 
6458
  (eval $ac_link) 2>&5
6900
6459
  ac_status=$?
6901
 
  grep -v '^ *+' conftest.er1 >conftest.err
6902
 
  rm -f conftest.er1
6903
 
  cat conftest.err >&5
6904
6460
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905
6461
  (exit $ac_status); } &&
6906
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6907
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6908
 
  (eval $ac_try) 2>&5
6909
 
  ac_status=$?
6910
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911
 
  (exit $ac_status); }; } &&
6912
 
         { ac_try='test -s conftest$ac_exeext'
 
6462
         { ac_try='test -s conftest$ac_exeext'
6913
6463
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6914
6464
  (eval $ac_try) 2>&5
6915
6465
  ac_status=$?
6924
6474
sed 's/^/| /' conftest.$ac_ext >&5
6925
6475
 
6926
6476
fi
6927
 
rm -f conftest.err conftest.$ac_objext \
6928
 
      conftest$ac_exeext conftest.$ac_ext
 
6477
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6929
6478
{ echo "$as_me:$LINENO: checking signal implementation..." >&5
6930
6479
echo "$as_me: checking signal implementation..." >&6;}
6931
6480
if test "$cross_compiling" = yes; then
6936
6485
   { (exit 1); exit 1; }; }
6937
6486
else
6938
6487
  cat >conftest.$ac_ext <<_ACEOF
 
6488
#line $LINENO "configure"
6939
6489
/* confdefs.h.  */
6940
6490
_ACEOF
6941
6491
cat confdefs.h >>conftest.$ac_ext
6999
6549
_ACEOF
7000
6550
 
7001
6551
fi
7002
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6552
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7003
6553
fi
7004
6554
 
7005
6555
fi
7013
6563
{ echo "$as_me:$LINENO: checking crypt..." >&5
7014
6564
echo "$as_me: checking crypt..." >&6;}
7015
6565
cat >conftest.$ac_ext <<_ACEOF
 
6566
#line $LINENO "configure"
7016
6567
/* confdefs.h.  */
7017
6568
_ACEOF
7018
6569
cat confdefs.h >>conftest.$ac_ext
7029
6580
_ACEOF
7030
6581
rm -f conftest.$ac_objext conftest$ac_exeext
7031
6582
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7032
 
  (eval $ac_link) 2>conftest.er1
 
6583
  (eval $ac_link) 2>&5
7033
6584
  ac_status=$?
7034
 
  grep -v '^ *+' conftest.er1 >conftest.err
7035
 
  rm -f conftest.er1
7036
 
  cat conftest.err >&5
7037
6585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038
6586
  (exit $ac_status); } &&
7039
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7040
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7041
 
  (eval $ac_try) 2>&5
7042
 
  ac_status=$?
7043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7044
 
  (exit $ac_status); }; } &&
7045
 
         { ac_try='test -s conftest$ac_exeext'
 
6587
         { ac_try='test -s conftest$ac_exeext'
7046
6588
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7047
6589
  (eval $ac_try) 2>&5
7048
6590
  ac_status=$?
7055
6597
 
7056
6598
LIBS="$oldlibs"
7057
6599
fi
7058
 
rm -f conftest.err conftest.$ac_objext \
7059
 
      conftest$ac_exeext conftest.$ac_ext
 
6600
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7060
6601
test -f /lib/libsec.a || test -f /usr/lib/libsec.a && LIBS="$LIBS -lsec"
7061
6602
test -f /lib/libshadow.a || test -f /usr/lib/libshadow.a && LIBS="$LIBS -lshadow"
7062
6603
oldlibs="$LIBS"
7064
6605
{ echo "$as_me:$LINENO: checking IRIX sun library..." >&5
7065
6606
echo "$as_me: checking IRIX sun library..." >&6;}
7066
6607
cat >conftest.$ac_ext <<_ACEOF
 
6608
#line $LINENO "configure"
7067
6609
/* confdefs.h.  */
7068
6610
_ACEOF
7069
6611
cat confdefs.h >>conftest.$ac_ext
7080
6622
_ACEOF
7081
6623
rm -f conftest.$ac_objext conftest$ac_exeext
7082
6624
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7083
 
  (eval $ac_link) 2>conftest.er1
 
6625
  (eval $ac_link) 2>&5
7084
6626
  ac_status=$?
7085
 
  grep -v '^ *+' conftest.er1 >conftest.err
7086
 
  rm -f conftest.er1
7087
 
  cat conftest.err >&5
7088
6627
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089
6628
  (exit $ac_status); } &&
7090
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7091
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7092
 
  (eval $ac_try) 2>&5
7093
 
  ac_status=$?
7094
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7095
 
  (exit $ac_status); }; } &&
7096
 
         { ac_try='test -s conftest$ac_exeext'
 
6629
         { ac_try='test -s conftest$ac_exeext'
7097
6630
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7098
6631
  (eval $ac_try) 2>&5
7099
6632
  ac_status=$?
7106
6639
 
7107
6640
LIBS="$oldlibs"
7108
6641
fi
7109
 
rm -f conftest.err conftest.$ac_objext \
7110
 
      conftest$ac_exeext conftest.$ac_ext
 
6642
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7111
6643
 
7112
6644
{ echo "$as_me:$LINENO: checking syslog..." >&5
7113
6645
echo "$as_me: checking syslog..." >&6;}
7114
6646
cat >conftest.$ac_ext <<_ACEOF
 
6647
#line $LINENO "configure"
7115
6648
/* confdefs.h.  */
7116
6649
_ACEOF
7117
6650
cat confdefs.h >>conftest.$ac_ext
7128
6661
_ACEOF
7129
6662
rm -f conftest.$ac_objext conftest$ac_exeext
7130
6663
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7131
 
  (eval $ac_link) 2>conftest.er1
 
6664
  (eval $ac_link) 2>&5
7132
6665
  ac_status=$?
7133
 
  grep -v '^ *+' conftest.er1 >conftest.err
7134
 
  rm -f conftest.er1
7135
 
  cat conftest.err >&5
7136
6666
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137
6667
  (exit $ac_status); } &&
7138
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7139
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7140
 
  (eval $ac_try) 2>&5
7141
 
  ac_status=$?
7142
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143
 
  (exit $ac_status); }; } &&
7144
 
         { ac_try='test -s conftest$ac_exeext'
 
6668
         { ac_try='test -s conftest$ac_exeext'
7145
6669
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7146
6670
  (eval $ac_try) 2>&5
7147
6671
  ac_status=$?
7157
6681
{ echo "$as_me:$LINENO: checking syslog in libbsd.a..." >&5
7158
6682
echo "$as_me: checking syslog in libbsd.a..." >&6;}
7159
6683
cat >conftest.$ac_ext <<_ACEOF
 
6684
#line $LINENO "configure"
7160
6685
/* confdefs.h.  */
7161
6686
_ACEOF
7162
6687
cat confdefs.h >>conftest.$ac_ext
7173
6698
_ACEOF
7174
6699
rm -f conftest.$ac_objext conftest$ac_exeext
7175
6700
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7176
 
  (eval $ac_link) 2>conftest.er1
 
6701
  (eval $ac_link) 2>&5
7177
6702
  ac_status=$?
7178
 
  grep -v '^ *+' conftest.er1 >conftest.err
7179
 
  rm -f conftest.er1
7180
 
  cat conftest.err >&5
7181
6703
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182
6704
  (exit $ac_status); } &&
7183
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7184
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7185
 
  (eval $ac_try) 2>&5
7186
 
  ac_status=$?
7187
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188
 
  (exit $ac_status); }; } &&
7189
 
         { ac_try='test -s conftest$ac_exeext'
 
6705
         { ac_try='test -s conftest$ac_exeext'
7190
6706
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7191
6707
  (eval $ac_try) 2>&5
7192
6708
  ac_status=$?
7205
6721
_ACEOF
7206
6722
 
7207
6723
fi
7208
 
rm -f conftest.err conftest.$ac_objext \
7209
 
      conftest$ac_exeext conftest.$ac_ext
 
6724
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7210
6725
fi
7211
 
rm -f conftest.err conftest.$ac_objext \
7212
 
      conftest$ac_exeext conftest.$ac_ext
 
6726
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7213
6727
 
7214
6728
cat >conftest.$ac_ext <<_ACEOF
 
6729
#line $LINENO "configure"
7215
6730
/* confdefs.h.  */
7216
6731
_ACEOF
7217
6732
cat confdefs.h >>conftest.$ac_ext
7232
6747
{ echo "$as_me:$LINENO: checking wait union..." >&5
7233
6748
echo "$as_me: checking wait union..." >&6;}
7234
6749
cat >conftest.$ac_ext <<_ACEOF
 
6750
#line $LINENO "configure"
7235
6751
/* confdefs.h.  */
7236
6752
_ACEOF
7237
6753
cat confdefs.h >>conftest.$ac_ext
7256
6772
_ACEOF
7257
6773
rm -f conftest.$ac_objext
7258
6774
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7259
 
  (eval $ac_compile) 2>conftest.er1
 
6775
  (eval $ac_compile) 2>&5
7260
6776
  ac_status=$?
7261
 
  grep -v '^ *+' conftest.er1 >conftest.err
7262
 
  rm -f conftest.er1
7263
 
  cat conftest.err >&5
7264
6777
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265
6778
  (exit $ac_status); } &&
7266
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7267
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7268
 
  (eval $ac_try) 2>&5
7269
 
  ac_status=$?
7270
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271
 
  (exit $ac_status); }; } &&
7272
 
         { ac_try='test -s conftest.$ac_objext'
 
6779
         { ac_try='test -s conftest.$ac_objext'
7273
6780
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7274
6781
  (eval $ac_try) 2>&5
7275
6782
  ac_status=$?
7284
6791
sed 's/^/| /' conftest.$ac_ext >&5
7285
6792
 
7286
6793
fi
7287
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6794
rm -f conftest.$ac_objext conftest.$ac_ext
7288
6795
 
7289
6796
if test -z "$butterfly"; then
7290
6797
{ echo "$as_me:$LINENO: checking for termio or termios..." >&5
7291
6798
echo "$as_me: checking for termio or termios..." >&6;}
7292
6799
cat >conftest.$ac_ext <<_ACEOF
 
6800
#line $LINENO "configure"
7293
6801
/* confdefs.h.  */
7294
6802
_ACEOF
7295
6803
cat confdefs.h >>conftest.$ac_ext
7307
6815
  (exit $ac_status); } >/dev/null; then
7308
6816
  if test -s conftest.err; then
7309
6817
    ac_cpp_err=$ac_c_preproc_warn_flag
7310
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7311
6818
  else
7312
6819
    ac_cpp_err=
7313
6820
  fi
7325
6832
 
7326
6833
  if test -n "$posix"; then
7327
6834
cat >conftest.$ac_ext <<_ACEOF
 
6835
#line $LINENO "configure"
7328
6836
/* confdefs.h.  */
7329
6837
_ACEOF
7330
6838
cat confdefs.h >>conftest.$ac_ext
7342
6850
  (exit $ac_status); } >/dev/null; then
7343
6851
  if test -s conftest.err; then
7344
6852
    ac_cpp_err=$ac_c_preproc_warn_flag
7345
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7346
6853
  else
7347
6854
    ac_cpp_err=
7348
6855
  fi
7370
6877
{ echo "$as_me:$LINENO: checking getspnam..." >&5
7371
6878
echo "$as_me: checking getspnam..." >&6;}
7372
6879
cat >conftest.$ac_ext <<_ACEOF
 
6880
#line $LINENO "configure"
7373
6881
/* confdefs.h.  */
7374
6882
_ACEOF
7375
6883
cat confdefs.h >>conftest.$ac_ext
7386
6894
_ACEOF
7387
6895
rm -f conftest.$ac_objext conftest$ac_exeext
7388
6896
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7389
 
  (eval $ac_link) 2>conftest.er1
 
6897
  (eval $ac_link) 2>&5
7390
6898
  ac_status=$?
7391
 
  grep -v '^ *+' conftest.er1 >conftest.err
7392
 
  rm -f conftest.er1
7393
 
  cat conftest.err >&5
7394
6899
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395
6900
  (exit $ac_status); } &&
7396
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7397
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7398
 
  (eval $ac_try) 2>&5
7399
 
  ac_status=$?
7400
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401
 
  (exit $ac_status); }; } &&
7402
 
         { ac_try='test -s conftest$ac_exeext'
 
6901
         { ac_try='test -s conftest$ac_exeext'
7403
6902
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7404
6903
  (eval $ac_try) 2>&5
7405
6904
  ac_status=$?
7414
6913
sed 's/^/| /' conftest.$ac_ext >&5
7415
6914
 
7416
6915
fi
7417
 
rm -f conftest.err conftest.$ac_objext \
7418
 
      conftest$ac_exeext conftest.$ac_ext
 
6916
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7419
6917
 
7420
6918
{ echo "$as_me:$LINENO: checking getttyent..." >&5
7421
6919
echo "$as_me: checking getttyent..." >&6;}
7422
6920
cat >conftest.$ac_ext <<_ACEOF
 
6921
#line $LINENO "configure"
7423
6922
/* confdefs.h.  */
7424
6923
_ACEOF
7425
6924
cat confdefs.h >>conftest.$ac_ext
7436
6935
_ACEOF
7437
6936
rm -f conftest.$ac_objext conftest$ac_exeext
7438
6937
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7439
 
  (eval $ac_link) 2>conftest.er1
 
6938
  (eval $ac_link) 2>&5
7440
6939
  ac_status=$?
7441
 
  grep -v '^ *+' conftest.er1 >conftest.err
7442
 
  rm -f conftest.er1
7443
 
  cat conftest.err >&5
7444
6940
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445
6941
  (exit $ac_status); } &&
7446
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7447
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7448
 
  (eval $ac_try) 2>&5
7449
 
  ac_status=$?
7450
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451
 
  (exit $ac_status); }; } &&
7452
 
         { ac_try='test -s conftest$ac_exeext'
 
6942
         { ac_try='test -s conftest$ac_exeext'
7453
6943
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7454
6944
  (eval $ac_try) 2>&5
7455
6945
  ac_status=$?
7464
6954
sed 's/^/| /' conftest.$ac_ext >&5
7465
6955
 
7466
6956
fi
7467
 
rm -f conftest.err conftest.$ac_objext \
7468
 
      conftest$ac_exeext conftest.$ac_ext
 
6957
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7469
6958
 
7470
6959
{ echo "$as_me:$LINENO: checking fdwalk..." >&5
7471
6960
echo "$as_me: checking fdwalk..." >&6;}
7472
6961
cat >conftest.$ac_ext <<_ACEOF
 
6962
#line $LINENO "configure"
7473
6963
/* confdefs.h.  */
7474
6964
_ACEOF
7475
6965
cat confdefs.h >>conftest.$ac_ext
7486
6976
_ACEOF
7487
6977
rm -f conftest.$ac_objext conftest$ac_exeext
7488
6978
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7489
 
  (eval $ac_link) 2>conftest.er1
 
6979
  (eval $ac_link) 2>&5
7490
6980
  ac_status=$?
7491
 
  grep -v '^ *+' conftest.er1 >conftest.err
7492
 
  rm -f conftest.er1
7493
 
  cat conftest.err >&5
7494
6981
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495
6982
  (exit $ac_status); } &&
7496
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7497
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7498
 
  (eval $ac_try) 2>&5
7499
 
  ac_status=$?
7500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501
 
  (exit $ac_status); }; } &&
7502
 
         { ac_try='test -s conftest$ac_exeext'
 
6983
         { ac_try='test -s conftest$ac_exeext'
7503
6984
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7504
6985
  (eval $ac_try) 2>&5
7505
6986
  ac_status=$?
7514
6995
sed 's/^/| /' conftest.$ac_ext >&5
7515
6996
 
7516
6997
fi
7517
 
rm -f conftest.err conftest.$ac_objext \
7518
 
      conftest$ac_exeext conftest.$ac_ext
 
6998
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7519
6999
 
7520
7000
{ echo "$as_me:$LINENO: checking whether memcpy/memmove/bcopy handles overlapping arguments..." >&5
7521
7001
echo "$as_me: checking whether memcpy/memmove/bcopy handles overlapping arguments..." >&6;}
7527
7007
   { (exit 1); exit 1; }; }
7528
7008
else
7529
7009
  cat >conftest.$ac_ext <<_ACEOF
 
7010
#line $LINENO "configure"
7530
7011
/* confdefs.h.  */
7531
7012
_ACEOF
7532
7013
cat confdefs.h >>conftest.$ac_ext
7567
7048
sed 's/^/| /' conftest.$ac_ext >&5
7568
7049
 
7569
7050
fi
7570
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
7051
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7571
7052
fi
7572
7053
 
7573
7054
if test "$cross_compiling" = yes; then
7578
7059
   { (exit 1); exit 1; }; }
7579
7060
else
7580
7061
  cat >conftest.$ac_ext <<_ACEOF
 
7062
#line $LINENO "configure"
7581
7063
/* confdefs.h.  */
7582
7064
_ACEOF
7583
7065
cat confdefs.h >>conftest.$ac_ext
7619
7101
sed 's/^/| /' conftest.$ac_ext >&5
7620
7102
 
7621
7103
fi
7622
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
7104
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7623
7105
fi
7624
7106
 
7625
7107
 
7631
7113
   { (exit 1); exit 1; }; }
7632
7114
else
7633
7115
  cat >conftest.$ac_ext <<_ACEOF
 
7116
#line $LINENO "configure"
7634
7117
/* confdefs.h.  */
7635
7118
_ACEOF
7636
7119
cat confdefs.h >>conftest.$ac_ext
7672
7155
sed 's/^/| /' conftest.$ac_ext >&5
7673
7156
 
7674
7157
fi
7675
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
7158
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7676
7159
fi
7677
7160
 
7678
7161
echo "$as_me:$LINENO: checking long file names" >&5
7696
7179
echo "$as_me:$LINENO: checking for vsprintf" >&5
7697
7180
echo $ECHO_N "checking for vsprintf... $ECHO_C" >&6
7698
7181
cat >conftest.$ac_ext <<_ACEOF
 
7182
#line $LINENO "configure"
7699
7183
/* confdefs.h.  */
7700
7184
_ACEOF
7701
7185
cat confdefs.h >>conftest.$ac_ext
7702
7186
cat >>conftest.$ac_ext <<_ACEOF
7703
7187
/* end confdefs.h.  */
7704
 
#include <stdarg.h>
 
7188
 
7705
7189
int
7706
7190
main ()
7707
7191
{
7708
 
va_list valist; vsprintf(0,0,valist);
 
7192
vsprintf(0,0,0);
7709
7193
  ;
7710
7194
  return 0;
7711
7195
}
7712
7196
_ACEOF
7713
7197
rm -f conftest.$ac_objext conftest$ac_exeext
7714
7198
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7715
 
  (eval $ac_link) 2>conftest.er1
 
7199
  (eval $ac_link) 2>&5
7716
7200
  ac_status=$?
7717
 
  grep -v '^ *+' conftest.er1 >conftest.err
7718
 
  rm -f conftest.er1
7719
 
  cat conftest.err >&5
7720
7201
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721
7202
  (exit $ac_status); } &&
7722
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7723
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7724
 
  (eval $ac_try) 2>&5
7725
 
  ac_status=$?
7726
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7727
 
  (exit $ac_status); }; } &&
7728
 
         { ac_try='test -s conftest$ac_exeext'
 
7203
         { ac_try='test -s conftest$ac_exeext'
7729
7204
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7730
7205
  (eval $ac_try) 2>&5
7731
7206
  ac_status=$?
7743
7218
echo "$as_me:$LINENO: result: no" >&5
7744
7219
echo "${ECHO_T}no" >&6
7745
7220
fi
7746
 
rm -f conftest.err conftest.$ac_objext \
7747
 
      conftest$ac_exeext conftest.$ac_ext
 
7221
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7748
7222
 
7749
7223
 
7750
7224
 
7760
7234
  echo $ECHO_N "(cached) $ECHO_C" >&6
7761
7235
else
7762
7236
  cat >conftest.$ac_ext <<_ACEOF
 
7237
#line $LINENO "configure"
7763
7238
/* confdefs.h.  */
7764
7239
_ACEOF
7765
7240
cat confdefs.h >>conftest.$ac_ext
7779
7254
_ACEOF
7780
7255
rm -f conftest.$ac_objext
7781
7256
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7782
 
  (eval $ac_compile) 2>conftest.er1
 
7257
  (eval $ac_compile) 2>&5
7783
7258
  ac_status=$?
7784
 
  grep -v '^ *+' conftest.er1 >conftest.err
7785
 
  rm -f conftest.er1
7786
 
  cat conftest.err >&5
7787
7259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788
7260
  (exit $ac_status); } &&
7789
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7790
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7791
 
  (eval $ac_try) 2>&5
7792
 
  ac_status=$?
7793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7794
 
  (exit $ac_status); }; } &&
7795
 
         { ac_try='test -s conftest.$ac_objext'
 
7261
         { ac_try='test -s conftest.$ac_objext'
7796
7262
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7797
7263
  (eval $ac_try) 2>&5
7798
7264
  ac_status=$?
7805
7271
 
7806
7272
eval "$as_ac_Header=no"
7807
7273
fi
7808
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
7274
rm -f conftest.$ac_objext conftest.$ac_ext
7809
7275
fi
7810
7276
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7811
7277
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7828
7294
  ac_func_search_save_LIBS=$LIBS
7829
7295
ac_cv_search_opendir=no
7830
7296
cat >conftest.$ac_ext <<_ACEOF
 
7297
#line $LINENO "configure"
7831
7298
/* confdefs.h.  */
7832
7299
_ACEOF
7833
7300
cat confdefs.h >>conftest.$ac_ext
7851
7318
_ACEOF
7852
7319
rm -f conftest.$ac_objext conftest$ac_exeext
7853
7320
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7854
 
  (eval $ac_link) 2>conftest.er1
 
7321
  (eval $ac_link) 2>&5
7855
7322
  ac_status=$?
7856
 
  grep -v '^ *+' conftest.er1 >conftest.err
7857
 
  rm -f conftest.er1
7858
 
  cat conftest.err >&5
7859
7323
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7860
7324
  (exit $ac_status); } &&
7861
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7862
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7863
 
  (eval $ac_try) 2>&5
7864
 
  ac_status=$?
7865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7866
 
  (exit $ac_status); }; } &&
7867
 
         { ac_try='test -s conftest$ac_exeext'
 
7325
         { ac_try='test -s conftest$ac_exeext'
7868
7326
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7869
7327
  (eval $ac_try) 2>&5
7870
7328
  ac_status=$?
7876
7334
sed 's/^/| /' conftest.$ac_ext >&5
7877
7335
 
7878
7336
fi
7879
 
rm -f conftest.err conftest.$ac_objext \
7880
 
      conftest$ac_exeext conftest.$ac_ext
 
7337
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7881
7338
if test "$ac_cv_search_opendir" = no; then
7882
7339
  for ac_lib in dir; do
7883
7340
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
7884
7341
    cat >conftest.$ac_ext <<_ACEOF
 
7342
#line $LINENO "configure"
7885
7343
/* confdefs.h.  */
7886
7344
_ACEOF
7887
7345
cat confdefs.h >>conftest.$ac_ext
7905
7363
_ACEOF
7906
7364
rm -f conftest.$ac_objext conftest$ac_exeext
7907
7365
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7908
 
  (eval $ac_link) 2>conftest.er1
 
7366
  (eval $ac_link) 2>&5
7909
7367
  ac_status=$?
7910
 
  grep -v '^ *+' conftest.er1 >conftest.err
7911
 
  rm -f conftest.er1
7912
 
  cat conftest.err >&5
7913
7368
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914
7369
  (exit $ac_status); } &&
7915
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7916
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7917
 
  (eval $ac_try) 2>&5
7918
 
  ac_status=$?
7919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7920
 
  (exit $ac_status); }; } &&
7921
 
         { ac_try='test -s conftest$ac_exeext'
 
7370
         { ac_try='test -s conftest$ac_exeext'
7922
7371
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7923
7372
  (eval $ac_try) 2>&5
7924
7373
  ac_status=$?
7931
7380
sed 's/^/| /' conftest.$ac_ext >&5
7932
7381
 
7933
7382
fi
7934
 
rm -f conftest.err conftest.$ac_objext \
7935
 
      conftest$ac_exeext conftest.$ac_ext
 
7383
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7936
7384
  done
7937
7385
fi
7938
7386
LIBS=$ac_func_search_save_LIBS
7953
7401
  ac_func_search_save_LIBS=$LIBS
7954
7402
ac_cv_search_opendir=no
7955
7403
cat >conftest.$ac_ext <<_ACEOF
 
7404
#line $LINENO "configure"
7956
7405
/* confdefs.h.  */
7957
7406
_ACEOF
7958
7407
cat confdefs.h >>conftest.$ac_ext
7976
7425
_ACEOF
7977
7426
rm -f conftest.$ac_objext conftest$ac_exeext
7978
7427
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7979
 
  (eval $ac_link) 2>conftest.er1
 
7428
  (eval $ac_link) 2>&5
7980
7429
  ac_status=$?
7981
 
  grep -v '^ *+' conftest.er1 >conftest.err
7982
 
  rm -f conftest.er1
7983
 
  cat conftest.err >&5
7984
7430
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985
7431
  (exit $ac_status); } &&
7986
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7987
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7988
 
  (eval $ac_try) 2>&5
7989
 
  ac_status=$?
7990
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991
 
  (exit $ac_status); }; } &&
7992
 
         { ac_try='test -s conftest$ac_exeext'
 
7432
         { ac_try='test -s conftest$ac_exeext'
7993
7433
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7994
7434
  (eval $ac_try) 2>&5
7995
7435
  ac_status=$?
8001
7441
sed 's/^/| /' conftest.$ac_ext >&5
8002
7442
 
8003
7443
fi
8004
 
rm -f conftest.err conftest.$ac_objext \
8005
 
      conftest$ac_exeext conftest.$ac_ext
 
7444
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8006
7445
if test "$ac_cv_search_opendir" = no; then
8007
7446
  for ac_lib in x; do
8008
7447
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
8009
7448
    cat >conftest.$ac_ext <<_ACEOF
 
7449
#line $LINENO "configure"
8010
7450
/* confdefs.h.  */
8011
7451
_ACEOF
8012
7452
cat confdefs.h >>conftest.$ac_ext
8030
7470
_ACEOF
8031
7471
rm -f conftest.$ac_objext conftest$ac_exeext
8032
7472
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8033
 
  (eval $ac_link) 2>conftest.er1
 
7473
  (eval $ac_link) 2>&5
8034
7474
  ac_status=$?
8035
 
  grep -v '^ *+' conftest.er1 >conftest.err
8036
 
  rm -f conftest.er1
8037
 
  cat conftest.err >&5
8038
7475
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039
7476
  (exit $ac_status); } &&
8040
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8041
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8042
 
  (eval $ac_try) 2>&5
8043
 
  ac_status=$?
8044
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045
 
  (exit $ac_status); }; } &&
8046
 
         { ac_try='test -s conftest$ac_exeext'
 
7477
         { ac_try='test -s conftest$ac_exeext'
8047
7478
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8048
7479
  (eval $ac_try) 2>&5
8049
7480
  ac_status=$?
8056
7487
sed 's/^/| /' conftest.$ac_ext >&5
8057
7488
 
8058
7489
fi
8059
 
rm -f conftest.err conftest.$ac_objext \
8060
 
      conftest$ac_exeext conftest.$ac_ext
 
7490
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8061
7491
  done
8062
7492
fi
8063
7493
LIBS=$ac_func_search_save_LIBS
8075
7505
echo "$as_me:$LINENO: checking for setenv" >&5
8076
7506
echo $ECHO_N "checking for setenv... $ECHO_C" >&6
8077
7507
cat >conftest.$ac_ext <<_ACEOF
 
7508
#line $LINENO "configure"
8078
7509
/* confdefs.h.  */
8079
7510
_ACEOF
8080
7511
cat confdefs.h >>conftest.$ac_ext
8091
7522
_ACEOF
8092
7523
rm -f conftest.$ac_objext conftest$ac_exeext
8093
7524
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8094
 
  (eval $ac_link) 2>conftest.er1
 
7525
  (eval $ac_link) 2>&5
8095
7526
  ac_status=$?
8096
 
  grep -v '^ *+' conftest.er1 >conftest.err
8097
 
  rm -f conftest.er1
8098
 
  cat conftest.err >&5
8099
7527
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100
7528
  (exit $ac_status); } &&
8101
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8102
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8103
 
  (eval $ac_try) 2>&5
8104
 
  ac_status=$?
8105
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106
 
  (exit $ac_status); }; } &&
8107
 
         { ac_try='test -s conftest$ac_exeext'
 
7529
         { ac_try='test -s conftest$ac_exeext'
8108
7530
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8109
7531
  (eval $ac_try) 2>&5
8110
7532
  ac_status=$?
8124
7546
echo "$as_me:$LINENO: checking for putenv" >&5
8125
7547
echo $ECHO_N "checking for putenv... $ECHO_C" >&6
8126
7548
cat >conftest.$ac_ext <<_ACEOF
 
7549
#line $LINENO "configure"
8127
7550
/* confdefs.h.  */
8128
7551
_ACEOF
8129
7552
cat confdefs.h >>conftest.$ac_ext
8140
7563
_ACEOF
8141
7564
rm -f conftest.$ac_objext conftest$ac_exeext
8142
7565
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8143
 
  (eval $ac_link) 2>conftest.er1
 
7566
  (eval $ac_link) 2>&5
8144
7567
  ac_status=$?
8145
 
  grep -v '^ *+' conftest.er1 >conftest.err
8146
 
  rm -f conftest.er1
8147
 
  cat conftest.err >&5
8148
7568
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149
7569
  (exit $ac_status); } &&
8150
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8151
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8152
 
  (eval $ac_try) 2>&5
8153
 
  ac_status=$?
8154
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155
 
  (exit $ac_status); }; } &&
8156
 
         { ac_try='test -s conftest$ac_exeext'
 
7570
         { ac_try='test -s conftest$ac_exeext'
8157
7571
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8158
7572
  (eval $ac_try) 2>&5
8159
7573
  ac_status=$?
8172
7586
 
8173
7587
 
8174
7588
fi
8175
 
rm -f conftest.err conftest.$ac_objext \
8176
 
      conftest$ac_exeext conftest.$ac_ext
 
7589
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8177
7590
fi
8178
 
rm -f conftest.err conftest.$ac_objext \
8179
 
      conftest$ac_exeext conftest.$ac_ext
 
7591
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8180
7592
echo "$as_me:$LINENO: checking for nl_langinfo(CODESET)" >&5
8181
7593
echo $ECHO_N "checking for nl_langinfo(CODESET)... $ECHO_C" >&6
8182
7594
cat >conftest.$ac_ext <<_ACEOF
 
7595
#line $LINENO "configure"
8183
7596
/* confdefs.h.  */
8184
7597
_ACEOF
8185
7598
cat confdefs.h >>conftest.$ac_ext
8198
7611
_ACEOF
8199
7612
rm -f conftest.$ac_objext conftest$ac_exeext
8200
7613
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8201
 
  (eval $ac_link) 2>conftest.er1
 
7614
  (eval $ac_link) 2>&5
8202
7615
  ac_status=$?
8203
 
  grep -v '^ *+' conftest.er1 >conftest.err
8204
 
  rm -f conftest.er1
8205
 
  cat conftest.err >&5
8206
7616
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207
7617
  (exit $ac_status); } &&
8208
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8209
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8210
 
  (eval $ac_try) 2>&5
8211
 
  ac_status=$?
8212
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213
 
  (exit $ac_status); }; } &&
8214
 
         { ac_try='test -s conftest$ac_exeext'
 
7618
         { ac_try='test -s conftest$ac_exeext'
8215
7619
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8216
7620
  (eval $ac_try) 2>&5
8217
7621
  ac_status=$?
8229
7633
echo "$as_me:$LINENO: result: no" >&5
8230
7634
echo "${ECHO_T}no" >&6
8231
7635
fi
8232
 
rm -f conftest.err conftest.$ac_objext \
8233
 
      conftest$ac_exeext conftest.$ac_ext
 
7636
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8234
7637
 
8235
7638
echo "$as_me:$LINENO: checking for library containing gethostname" >&5
8236
7639
echo $ECHO_N "checking for library containing gethostname... $ECHO_C" >&6
8240
7643
  ac_func_search_save_LIBS=$LIBS
8241
7644
ac_cv_search_gethostname=no
8242
7645
cat >conftest.$ac_ext <<_ACEOF
 
7646
#line $LINENO "configure"
8243
7647
/* confdefs.h.  */
8244
7648
_ACEOF
8245
7649
cat confdefs.h >>conftest.$ac_ext
8263
7667
_ACEOF
8264
7668
rm -f conftest.$ac_objext conftest$ac_exeext
8265
7669
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8266
 
  (eval $ac_link) 2>conftest.er1
 
7670
  (eval $ac_link) 2>&5
8267
7671
  ac_status=$?
8268
 
  grep -v '^ *+' conftest.er1 >conftest.err
8269
 
  rm -f conftest.er1
8270
 
  cat conftest.err >&5
8271
7672
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272
7673
  (exit $ac_status); } &&
8273
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8274
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8275
 
  (eval $ac_try) 2>&5
8276
 
  ac_status=$?
8277
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8278
 
  (exit $ac_status); }; } &&
8279
 
         { ac_try='test -s conftest$ac_exeext'
 
7674
         { ac_try='test -s conftest$ac_exeext'
8280
7675
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8281
7676
  (eval $ac_try) 2>&5
8282
7677
  ac_status=$?
8288
7683
sed 's/^/| /' conftest.$ac_ext >&5
8289
7684
 
8290
7685
fi
8291
 
rm -f conftest.err conftest.$ac_objext \
8292
 
      conftest$ac_exeext conftest.$ac_ext
 
7686
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8293
7687
if test "$ac_cv_search_gethostname" = no; then
8294
7688
  for ac_lib in nsl; do
8295
7689
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
8296
7690
    cat >conftest.$ac_ext <<_ACEOF
 
7691
#line $LINENO "configure"
8297
7692
/* confdefs.h.  */
8298
7693
_ACEOF
8299
7694
cat confdefs.h >>conftest.$ac_ext
8317
7712
_ACEOF
8318
7713
rm -f conftest.$ac_objext conftest$ac_exeext
8319
7714
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8320
 
  (eval $ac_link) 2>conftest.er1
 
7715
  (eval $ac_link) 2>&5
8321
7716
  ac_status=$?
8322
 
  grep -v '^ *+' conftest.er1 >conftest.err
8323
 
  rm -f conftest.er1
8324
 
  cat conftest.err >&5
8325
7717
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326
7718
  (exit $ac_status); } &&
8327
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8328
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8329
 
  (eval $ac_try) 2>&5
8330
 
  ac_status=$?
8331
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332
 
  (exit $ac_status); }; } &&
8333
 
         { ac_try='test -s conftest$ac_exeext'
 
7719
         { ac_try='test -s conftest$ac_exeext'
8334
7720
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8335
7721
  (eval $ac_try) 2>&5
8336
7722
  ac_status=$?
8343
7729
sed 's/^/| /' conftest.$ac_ext >&5
8344
7730
 
8345
7731
fi
8346
 
rm -f conftest.err conftest.$ac_objext \
8347
 
      conftest$ac_exeext conftest.$ac_ext
 
7732
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8348
7733
  done
8349
7734
fi
8350
7735
LIBS=$ac_func_search_save_LIBS
8377
7762
  echo $ECHO_N "(cached) $ECHO_C" >&6
8378
7763
else
8379
7764
  cat >conftest.$ac_ext <<_ACEOF
 
7765
#line $LINENO "configure"
8380
7766
/* confdefs.h.  */
8381
7767
_ACEOF
8382
7768
cat confdefs.h >>conftest.$ac_ext
8383
7769
cat >>conftest.$ac_ext <<_ACEOF
8384
7770
/* end confdefs.h.  */
8385
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8386
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8387
 
#define $ac_func innocuous_$ac_func
8388
 
 
8389
7771
/* System header to define __stub macros and hopefully few prototypes,
8390
7772
    which can conflict with char $ac_func (); below.
8391
7773
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8392
7774
    <limits.h> exists even on freestanding compilers.  */
8393
 
 
8394
7775
#ifdef __STDC__
8395
7776
# include <limits.h>
8396
7777
#else
8397
7778
# include <assert.h>
8398
7779
#endif
8399
 
 
8400
 
#undef $ac_func
8401
 
 
8402
7780
/* Override any gcc2 internal prototype to avoid an error.  */
8403
7781
#ifdef __cplusplus
8404
7782
extern "C"
8429
7807
_ACEOF
8430
7808
rm -f conftest.$ac_objext conftest$ac_exeext
8431
7809
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8432
 
  (eval $ac_link) 2>conftest.er1
 
7810
  (eval $ac_link) 2>&5
8433
7811
  ac_status=$?
8434
 
  grep -v '^ *+' conftest.er1 >conftest.err
8435
 
  rm -f conftest.er1
8436
 
  cat conftest.err >&5
8437
7812
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8438
7813
  (exit $ac_status); } &&
8439
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8440
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8441
 
  (eval $ac_try) 2>&5
8442
 
  ac_status=$?
8443
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444
 
  (exit $ac_status); }; } &&
8445
 
         { ac_try='test -s conftest$ac_exeext'
 
7814
         { ac_try='test -s conftest$ac_exeext'
8446
7815
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8447
7816
  (eval $ac_try) 2>&5
8448
7817
  ac_status=$?
8455
7824
 
8456
7825
eval "$as_ac_var=no"
8457
7826
fi
8458
 
rm -f conftest.err conftest.$ac_objext \
8459
 
      conftest$ac_exeext conftest.$ac_ext
 
7827
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8460
7828
fi
8461
7829
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8462
7830
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8480
7848
    oldlibs="$LIBS"
8481
7849
    LIBS="$LIBS -lpam"
8482
7850
    cat >conftest.$ac_ext <<_ACEOF
 
7851
#line $LINENO "configure"
8483
7852
/* confdefs.h.  */
8484
7853
_ACEOF
8485
7854
cat confdefs.h >>conftest.$ac_ext
8500
7869
_ACEOF
8501
7870
rm -f conftest.$ac_objext conftest$ac_exeext
8502
7871
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8503
 
  (eval $ac_link) 2>conftest.er1
 
7872
  (eval $ac_link) 2>&5
8504
7873
  ac_status=$?
8505
 
  grep -v '^ *+' conftest.er1 >conftest.err
8506
 
  rm -f conftest.er1
8507
 
  cat conftest.err >&5
8508
7874
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509
7875
  (exit $ac_status); } &&
8510
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8511
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8512
 
  (eval $ac_try) 2>&5
8513
 
  ac_status=$?
8514
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515
 
  (exit $ac_status); }; } &&
8516
 
         { ac_try='test -s conftest$ac_exeext'
 
7876
         { ac_try='test -s conftest$ac_exeext'
8517
7877
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8518
7878
  (eval $ac_try) 2>&5
8519
7879
  ac_status=$?
8531
7891
echo "$as_me:$LINENO: result: no" >&5
8532
7892
echo "${ECHO_T}no" >&6;LIBS="$oldlibs"
8533
7893
fi
8534
 
rm -f conftest.err conftest.$ac_objext \
8535
 
      conftest$ac_exeext conftest.$ac_ext
 
7894
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8536
7895
fi
8537
7896
 
8538
7897
# Check whether --enable-use_locale or --disable-use_locale was given.
8595
7954
   { (exit 1); exit 1; }; }
8596
7955
else
8597
7956
  cat >conftest.$ac_ext <<_ACEOF
 
7957
#line $LINENO "configure"
8598
7958
/* confdefs.h.  */
8599
7959
_ACEOF
8600
7960
cat confdefs.h >>conftest.$ac_ext
8624
7984
echo "$as_me: error: Can't run the compiler - internal error. Sorry." >&2;}
8625
7985
   { (exit 1); exit 1; }; }
8626
7986
fi
8627
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
7987
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8628
7988
fi
8629
7989
 
8630
7990
ETCSCREENRC="\"/usr/local/etc/screenrc\""
8690
8050
      # `set' does not quote correctly, so add quotes (double-quote
8691
8051
      # substitution turns \\\\ into \\, and sed turns \\ into \).
8692
8052
      sed -n \
8693
 
        "s/'/'\\\\''/g;
8694
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
8053
        "s/'/'\\\\''/g;
 
8054
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8695
8055
      ;;
8696
8056
    *)
8697
8057
      # `set' quotes correctly as required by POSIX, so do not add quotes.
8698
8058
      sed -n \
8699
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
8059
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8700
8060
      ;;
8701
8061
    esac;
8702
8062
} |
8726
8086
# trailing colons and then remove the whole line if VPATH becomes empty
8727
8087
# (actually we leave an empty line to preserve line numbers).
8728
8088
if test "x$srcdir" = x.; then
8729
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
8089
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
8730
8090
s/:*\$(srcdir):*/:/;
8731
8091
s/:*\${srcdir}:*/:/;
8732
8092
s/:*@srcdir@:*/:/;
8733
 
s/^\([^=]*=[     ]*\):*/\1/;
 
8093
s/^\([^=]*=[    ]*\):*/\1/;
8734
8094
s/:*$//;
8735
 
s/^[^=]*=[       ]*$//;
 
8095
s/^[^=]*=[      ]*$//;
8736
8096
}'
8737
8097
fi
8738
8098
 
8743
8103
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8744
8104
  # 1. Remove the extension, and $U if already installed.
8745
8105
  ac_i=`echo "$ac_i" |
8746
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
8106
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8747
8107
  # 2. Add them.
8748
8108
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8749
8109
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8787
8147
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8788
8148
  set -o posix
8789
8149
fi
8790
 
DUALCASE=1; export DUALCASE # for MKS sh
8791
8150
 
8792
8151
# Support unset when possible.
8793
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
8152
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
8794
8153
  as_unset=unset
8795
8154
else
8796
8155
  as_unset=false
8809
8168
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8810
8169
  LC_TELEPHONE LC_TIME
8811
8170
do
8812
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
8171
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
8813
8172
    eval $as_var=C; export $as_var
8814
8173
  else
8815
8174
    $as_unset $as_var
8988
8347
if mkdir -p . 2>/dev/null; then
8989
8348
  as_mkdir_p=:
8990
8349
else
8991
 
  test -d ./-p && rmdir ./-p
8992
8350
  as_mkdir_p=false
8993
8351
fi
8994
8352
 
8995
8353
as_executable_p="test -f"
8996
8354
 
8997
8355
# Sed expression to map a string onto a valid CPP name.
8998
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
8356
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
8999
8357
 
9000
8358
# Sed expression to map a string onto a valid variable name.
9001
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
8359
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
9002
8360
 
9003
8361
 
9004
8362
# IFS
9025
8383
cat >&5 <<_CSEOF
9026
8384
 
9027
8385
This file was extended by $as_me, which was
9028
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
8386
generated by GNU Autoconf 2.57.  Invocation command line was
9029
8387
 
9030
8388
  CONFIG_FILES    = $CONFIG_FILES
9031
8389
  CONFIG_HEADERS  = $CONFIG_HEADERS
9069
8427
  -d, --debug      don't remove temporary files
9070
8428
      --recheck    update $as_me by reconfiguring in the same conditions
9071
8429
  --file=FILE[:TEMPLATE]
9072
 
                   instantiate the configuration file FILE
 
8430
                   instantiate the configuration file FILE
9073
8431
  --header=FILE[:TEMPLATE]
9074
 
                   instantiate the configuration header FILE
 
8432
                   instantiate the configuration header FILE
9075
8433
 
9076
8434
Configuration files:
9077
8435
$config_files
9088
8446
cat >>$CONFIG_STATUS <<_ACEOF
9089
8447
ac_cs_version="\\
9090
8448
config.status
9091
 
configured by $0, generated by GNU Autoconf 2.59,
 
8449
configured by $0, generated by GNU Autoconf 2.57,
9092
8450
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9093
8451
 
9094
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
8452
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
 
8453
Free Software Foundation, Inc.
9095
8454
This config.status script is free software; the Free Software Foundation
9096
8455
gives unlimited permission to copy, distribute and modify it."
9097
8456
srcdir=$srcdir
9327
8686
      (echo ':t
9328
8687
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9329
8688
      if test -z "$ac_sed_cmds"; then
9330
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
8689
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9331
8690
      else
9332
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
8691
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9333
8692
      fi
9334
8693
      ac_sed_frag=`expr $ac_sed_frag + 1`
9335
8694
      ac_beg=$ac_end
9347
8706
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9348
8707
  case $ac_file in
9349
8708
  - | *:- | *:-:* ) # input from stdin
9350
 
        cat >$tmp/stdin
9351
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9352
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
8709
        cat >$tmp/stdin
 
8710
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
8711
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9353
8712
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9354
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
8713
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9355
8714
  * )   ac_file_in=$ac_file.in ;;
9356
8715
  esac
9357
8716
 
9358
8717
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9359
8718
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9360
8719
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9361
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
9362
 
         X"$ac_file" : 'X\(//\)$' \| \
9363
 
         X"$ac_file" : 'X\(/\)' \| \
9364
 
         .     : '\(.\)' 2>/dev/null ||
 
8720
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
8721
         X"$ac_file" : 'X\(//\)$' \| \
 
8722
         X"$ac_file" : 'X\(/\)' \| \
 
8723
         .     : '\(.\)' 2>/dev/null ||
9365
8724
echo X"$ac_file" |
9366
8725
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9367
8726
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9377
8736
      as_dirs="$as_dir $as_dirs"
9378
8737
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9379
8738
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9380
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9381
 
         X"$as_dir" : 'X\(//\)$' \| \
9382
 
         X"$as_dir" : 'X\(/\)' \| \
9383
 
         .     : '\(.\)' 2>/dev/null ||
 
8739
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
8740
         X"$as_dir" : 'X\(//\)$' \| \
 
8741
         X"$as_dir" : 'X\(/\)' \| \
 
8742
         .     : '\(.\)' 2>/dev/null ||
9384
8743
echo X"$as_dir" |
9385
8744
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9386
8745
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9418
8777
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9419
8778
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9420
8779
esac
9421
 
 
9422
 
# Do not use `cd foo && pwd` to compute absolute paths, because
9423
 
# the directories may not exist.
9424
 
case `pwd` in
9425
 
.) ac_abs_builddir="$ac_dir";;
9426
 
*)
9427
 
  case "$ac_dir" in
9428
 
  .) ac_abs_builddir=`pwd`;;
9429
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9430
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9431
 
  esac;;
9432
 
esac
9433
 
case $ac_abs_builddir in
9434
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
9435
 
*)
9436
 
  case ${ac_top_builddir}. in
9437
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
9438
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9439
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9440
 
  esac;;
9441
 
esac
9442
 
case $ac_abs_builddir in
9443
 
.) ac_abs_srcdir=$ac_srcdir;;
9444
 
*)
9445
 
  case $ac_srcdir in
9446
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
9447
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9448
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9449
 
  esac;;
9450
 
esac
9451
 
case $ac_abs_builddir in
9452
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
9453
 
*)
9454
 
  case $ac_top_srcdir in
9455
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9456
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9457
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9458
 
  esac;;
9459
 
esac
 
8780
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
8781
# absolute.
 
8782
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
 
8783
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 
8784
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 
8785
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
9460
8786
 
9461
8787
 
9462
8788
  case $INSTALL in
9464
8790
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9465
8791
  esac
9466
8792
 
 
8793
  if test x"$ac_file" != x-; then
 
8794
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
8795
echo "$as_me: creating $ac_file" >&6;}
 
8796
    rm -f "$ac_file"
 
8797
  fi
9467
8798
  # Let's still pretend it is `configure' which instantiates (i.e., don't
9468
8799
  # use $as_me), people would be surprised to read:
9469
8800
  #    /* config.h.  Generated by config.status.  */
9473
8804
    configure_input="$ac_file.  "
9474
8805
  fi
9475
8806
  configure_input=$configure_input"Generated from `echo $ac_file_in |
9476
 
                                     sed 's,.*/,,'` by configure."
 
8807
                                     sed 's,.*/,,'` by configure."
9477
8808
 
9478
8809
  # First look for the input files in the build tree, otherwise in the
9479
8810
  # src tree.
9482
8813
      case $f in
9483
8814
      -) echo $tmp/stdin ;;
9484
8815
      [\\/$]*)
9485
 
         # Absolute (can't be DOS-style, as IFS=:)
9486
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
8816
         # Absolute (can't be DOS-style, as IFS=:)
 
8817
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9487
8818
echo "$as_me: error: cannot find input file: $f" >&2;}
9488
8819
   { (exit 1); exit 1; }; }
9489
 
         echo "$f";;
 
8820
         echo $f;;
9490
8821
      *) # Relative
9491
 
         if test -f "$f"; then
9492
 
           # Build tree
9493
 
           echo "$f"
9494
 
         elif test -f "$srcdir/$f"; then
9495
 
           # Source tree
9496
 
           echo "$srcdir/$f"
9497
 
         else
9498
 
           # /dev/null tree
9499
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
8822
         if test -f "$f"; then
 
8823
           # Build tree
 
8824
           echo $f
 
8825
         elif test -f "$srcdir/$f"; then
 
8826
           # Source tree
 
8827
           echo $srcdir/$f
 
8828
         else
 
8829
           # /dev/null tree
 
8830
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9500
8831
echo "$as_me: error: cannot find input file: $f" >&2;}
9501
8832
   { (exit 1); exit 1; }; }
9502
 
         fi;;
 
8833
         fi;;
9503
8834
      esac
9504
8835
    done` || { (exit 1); exit 1; }
9505
 
 
9506
 
  if test x"$ac_file" != x-; then
9507
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
9508
 
echo "$as_me: creating $ac_file" >&6;}
9509
 
    rm -f "$ac_file"
9510
 
  fi
9511
8836
_ACEOF
9512
8837
cat >>$CONFIG_STATUS <<_ACEOF
9513
8838
  sed "$ac_vpsub
9547
8872
# NAME is the cpp macro being defined and VALUE is the value it is being given.
9548
8873
#
9549
8874
# ac_d sets the value in "#define NAME VALUE" lines.
9550
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
9551
 
ac_dB='[         ].*$,\1#\2'
 
8875
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
 
8876
ac_dB='[        ].*$,\1#\2'
9552
8877
ac_dC=' '
9553
8878
ac_dD=',;t'
9554
8879
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9555
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
8880
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
9556
8881
ac_uB='$,\1#\2define\3'
9557
8882
ac_uC=' '
9558
8883
ac_uD=',;t'
9561
8886
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9562
8887
  case $ac_file in
9563
8888
  - | *:- | *:-:* ) # input from stdin
9564
 
        cat >$tmp/stdin
9565
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9566
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
8889
        cat >$tmp/stdin
 
8890
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
8891
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9567
8892
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9568
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
8893
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9569
8894
  * )   ac_file_in=$ac_file.in ;;
9570
8895
  esac
9571
8896
 
9579
8904
      case $f in
9580
8905
      -) echo $tmp/stdin ;;
9581
8906
      [\\/$]*)
9582
 
         # Absolute (can't be DOS-style, as IFS=:)
9583
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
8907
         # Absolute (can't be DOS-style, as IFS=:)
 
8908
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9584
8909
echo "$as_me: error: cannot find input file: $f" >&2;}
9585
8910
   { (exit 1); exit 1; }; }
9586
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
9587
 
         echo "$f";;
 
8911
         echo $f;;
9588
8912
      *) # Relative
9589
 
         if test -f "$f"; then
9590
 
           # Build tree
9591
 
           echo "$f"
9592
 
         elif test -f "$srcdir/$f"; then
9593
 
           # Source tree
9594
 
           echo "$srcdir/$f"
9595
 
         else
9596
 
           # /dev/null tree
9597
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
8913
         if test -f "$f"; then
 
8914
           # Build tree
 
8915
           echo $f
 
8916
         elif test -f "$srcdir/$f"; then
 
8917
           # Source tree
 
8918
           echo $srcdir/$f
 
8919
         else
 
8920
           # /dev/null tree
 
8921
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9598
8922
echo "$as_me: error: cannot find input file: $f" >&2;}
9599
8923
   { (exit 1); exit 1; }; }
9600
 
         fi;;
 
8924
         fi;;
9601
8925
      esac
9602
8926
    done` || { (exit 1); exit 1; }
9603
8927
  # Remove the trailing spaces.
9604
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
 
8928
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
9605
8929
 
9606
8930
_ACEOF
9607
8931
 
9624
8948
s,[\\$`],\\&,g
9625
8949
t clear
9626
8950
: clear
9627
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
8951
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9628
8952
t end
9629
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
8953
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9630
8954
: end
9631
8955
_ACEOF
9632
8956
# If some macros were called several times there might be several times
9640
8964
# example, in the case of _POSIX_SOURCE, which is predefined and required
9641
8965
# on some systems where configure will not decide to define it.
9642
8966
cat >>conftest.undefs <<\_ACEOF
9643
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
8967
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9644
8968
_ACEOF
9645
8969
 
9646
8970
# Break up conftest.defines because some shells have a limit on the size
9647
8971
# of here documents, and old seds have small limits too (100 cmds).
9648
8972
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9649
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
8973
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9650
8974
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9651
8975
echo '  :' >>$CONFIG_STATUS
9652
8976
rm -f conftest.tail
9655
8979
  # Write a limited-size here document to $tmp/defines.sed.
9656
8980
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9657
8981
  # Speed up: don't consider the non `#define' lines.
9658
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
8982
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
9659
8983
  # Work around the forget-to-reset-the-flag bug.
9660
8984
  echo 't clr' >>$CONFIG_STATUS
9661
8985
  echo ': clr' >>$CONFIG_STATUS
9682
9006
  # Write a limited-size here document to $tmp/undefs.sed.
9683
9007
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9684
9008
  # Speed up: don't consider the non `#undef'
9685
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
9009
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9686
9010
  # Work around the forget-to-reset-the-flag bug.
9687
9011
  echo 't clr' >>$CONFIG_STATUS
9688
9012
  echo ': clr' >>$CONFIG_STATUS
9716
9040
    else
9717
9041
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9718
9042
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9719
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
9720
 
         X"$ac_file" : 'X\(//\)$' \| \
9721
 
         X"$ac_file" : 'X\(/\)' \| \
9722
 
         .     : '\(.\)' 2>/dev/null ||
 
9043
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
9044
         X"$ac_file" : 'X\(//\)$' \| \
 
9045
         X"$ac_file" : 'X\(/\)' \| \
 
9046
         .     : '\(.\)' 2>/dev/null ||
9723
9047
echo X"$ac_file" |
9724
9048
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9725
9049
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9735
9059
      as_dirs="$as_dir $as_dirs"
9736
9060
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9737
9061
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9738
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9739
 
         X"$as_dir" : 'X\(//\)$' \| \
9740
 
         X"$as_dir" : 'X\(/\)' \| \
9741
 
         .     : '\(.\)' 2>/dev/null ||
 
9062
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
9063
         X"$as_dir" : 'X\(//\)$' \| \
 
9064
         X"$as_dir" : 'X\(/\)' \| \
 
9065
         .     : '\(.\)' 2>/dev/null ||
9742
9066
echo X"$as_dir" |
9743
9067
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9744
9068
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9770
9094
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9771
9095
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
9772
9096
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9773
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
9774
 
         X"$ac_dest" : 'X\(//\)$' \| \
9775
 
         X"$ac_dest" : 'X\(/\)' \| \
9776
 
         .     : '\(.\)' 2>/dev/null ||
 
9097
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
9098
         X"$ac_dest" : 'X\(//\)$' \| \
 
9099
         X"$ac_dest" : 'X\(/\)' \| \
 
9100
         .     : '\(.\)' 2>/dev/null ||
9777
9101
echo X"$ac_dest" |
9778
9102
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9779
9103
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9780
9104
          /^X\(\/\/\)$/{ s//\1/; q; }
9781
9105
          /^X\(\/\).*/{ s//\1/; q; }
9782
9106
          s/.*/./; q'`
9783
 
  { if $as_mkdir_p; then
9784
 
    mkdir -p "$ac_dir"
9785
 
  else
9786
 
    as_dir="$ac_dir"
9787
 
    as_dirs=
9788
 
    while test ! -d "$as_dir"; do
9789
 
      as_dirs="$as_dir $as_dirs"
9790
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9791
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9792
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9793
 
         X"$as_dir" : 'X\(//\)$' \| \
9794
 
         X"$as_dir" : 'X\(/\)' \| \
9795
 
         .     : '\(.\)' 2>/dev/null ||
9796
 
echo X"$as_dir" |
9797
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9798
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9799
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9800
 
          /^X\(\/\).*/{ s//\1/; q; }
9801
 
          s/.*/./; q'`
9802
 
    done
9803
 
    test ! -n "$as_dirs" || mkdir $as_dirs
9804
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9805
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9806
 
   { (exit 1); exit 1; }; }; }
9807
 
 
9808
9107
  ac_builddir=.
9809
9108
 
9810
9109
if test "$ac_dir" != .; then
9830
9129
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9831
9130
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9832
9131
esac
9833
 
 
9834
 
# Do not use `cd foo && pwd` to compute absolute paths, because
9835
 
# the directories may not exist.
9836
 
case `pwd` in
9837
 
.) ac_abs_builddir="$ac_dir";;
9838
 
*)
9839
 
  case "$ac_dir" in
9840
 
  .) ac_abs_builddir=`pwd`;;
9841
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9842
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9843
 
  esac;;
9844
 
esac
9845
 
case $ac_abs_builddir in
9846
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
9847
 
*)
9848
 
  case ${ac_top_builddir}. in
9849
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
9850
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9851
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9852
 
  esac;;
9853
 
esac
9854
 
case $ac_abs_builddir in
9855
 
.) ac_abs_srcdir=$ac_srcdir;;
9856
 
*)
9857
 
  case $ac_srcdir in
9858
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
9859
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9860
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9861
 
  esac;;
9862
 
esac
9863
 
case $ac_abs_builddir in
9864
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
9865
 
*)
9866
 
  case $ac_top_srcdir in
9867
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9868
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9869
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9870
 
  esac;;
9871
 
esac
 
9132
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
9133
# absolute.
 
9134
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
 
9135
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 
9136
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 
9137
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
9872
9138
 
9873
9139
 
9874
9140
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5