~ubuntu-branches/ubuntu/hoary/courier/hoary

« back to all changes in this revision

Viewing changes to maildrop/configure

  • Committer: Bazaar Package Importer
  • Author(s): Thom May
  • Date: 2004-11-29 12:09:34 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041129120934-kkn0xj11j0n1n6lo
Tags: 0.47-3ubuntu1
* Nathaniel McCallum
 - debian/*.init: pretty initscripts
 - debian/control: version depends on lsb-base

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.57.
 
3
# Generated by GNU Autoconf 2.59.
4
4
#
5
 
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
 
# Free Software Foundation, Inc.
 
5
# Copyright (C) 2003 Free Software Foundation, Inc.
7
6
# This configure script is free software; the Free Software Foundation
8
7
# gives unlimited permission to copy, distribute and modify it.
9
8
## --------------------- ##
20
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21
20
  set -o posix
22
21
fi
 
22
DUALCASE=1; export DUALCASE # for MKS sh
23
23
 
24
24
# Support unset when possible.
25
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26
26
  as_unset=unset
27
27
else
28
28
  as_unset=false
41
41
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42
42
  LC_TELEPHONE LC_TIME
43
43
do
44
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
44
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
45
    eval $as_var=C; export $as_var
46
46
  else
47
47
    $as_unset $as_var
218
218
if mkdir -p . 2>/dev/null; then
219
219
  as_mkdir_p=:
220
220
else
 
221
  test -d ./-p && rmdir ./-p
221
222
  as_mkdir_p=false
222
223
fi
223
224
 
224
225
as_executable_p="test -f"
225
226
 
226
227
# Sed expression to map a string onto a valid CPP name.
227
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
228
229
 
229
230
# Sed expression to map a string onto a valid variable name.
230
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231
232
 
232
233
 
233
234
# IFS
308
309
# include <unistd.h>
309
310
#endif"
310
311
 
311
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LN_S CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB PERL USE_GDBM USE_DB LIBGDBM LIBDB dblibrary USE_GDBM_TRUE USE_GDBM_FALSE USE_DB_TRUE USE_DB_FALSE QMAIL MAILDROPUID MAILDROPGID USE_FLOCK USE_DOTLOCK LOCKEXT_DEF LOCKSLEEP_DEF LOCKTIMEOUT_DEF LOCKREFRESH_DEF TEMPDIR SMALLMSG GLOBAL_TIMEOUT CRLF_TERM RESTRICT_TRUSTED KEEP_FROMLINE maildirquota MAILDIRQUOTA_TRUE MAILDIRQUOTA_FALSE userdb USERDBLIB USERDB_TRUE USERDB_FALSE MAILDROPLDAPCONFIG MAILDROPMYSQLCONFIG LIBLDAP USELDAP_TRUE USELDAP_FALSE LIBMYSQL USEMYSQL_TRUE USEMYSQL_FALSE withetcdir WITHETCDIR HAVE_SGML_TRUE HAVE_SGML_FALSE LIBOBJS LTLIBOBJS'
 
312
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LN_S CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB PERL USE_GDBM USE_DB LIBGDBM LIBDB dblibrary USE_GDBM_TRUE USE_GDBM_FALSE USE_DB_TRUE USE_DB_FALSE QMAIL MAILDROPUID MAILDROPGID USE_FLOCK USE_DOTLOCK LOCKEXT_DEF LOCKSLEEP_DEF LOCKTIMEOUT_DEF LOCKREFRESH_DEF TEMPDIR SMALLMSG GLOBAL_TIMEOUT CRLF_TERM RESTRICT_TRUSTED KEEP_FROMLINE maildirquota MAILDIRQUOTA_TRUE MAILDIRQUOTA_FALSE userdb USERDBLIB USERDB_TRUE USERDB_FALSE MAILDROPLDAPCONFIG MAILDROPMYSQLCONFIG LIBLDAP USELDAP_TRUE USELDAP_FALSE LIBMYSQL USEMYSQL_TRUE USEMYSQL_FALSE withetcdir WITHETCDIR HAVE_SGML_TRUE HAVE_SGML_FALSE LIBOBJS LTLIBOBJS'
312
313
ac_subst_files=''
313
314
 
314
315
# Initialize some variables set by options.
667
668
 
668
669
# Be sure to have absolute paths.
669
670
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670
 
              localstatedir libdir includedir oldincludedir infodir mandir
 
671
              localstatedir libdir includedir oldincludedir infodir mandir
671
672
do
672
673
  eval ac_val=$`echo $ac_var`
673
674
  case $ac_val in
707
708
  # Try the directory containing this script, then its parent.
708
709
  ac_confdir=`(dirname "$0") 2>/dev/null ||
709
710
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710
 
         X"$0" : 'X\(//\)[^/]' \| \
711
 
         X"$0" : 'X\(//\)$' \| \
712
 
         X"$0" : 'X\(/\)' \| \
713
 
         .     : '\(.\)' 2>/dev/null ||
 
711
         X"$0" : 'X\(//\)[^/]' \| \
 
712
         X"$0" : 'X\(//\)$' \| \
 
713
         X"$0" : 'X\(/\)' \| \
 
714
         .     : '\(.\)' 2>/dev/null ||
714
715
echo X"$0" |
715
716
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716
717
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
810
811
  cat <<_ACEOF
811
812
Installation directories:
812
813
  --prefix=PREFIX         install architecture-independent files in PREFIX
813
 
                          [$ac_default_prefix]
 
814
                          [$ac_default_prefix]
814
815
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
815
 
                          [PREFIX]
 
816
                          [PREFIX]
816
817
 
817
818
By default, \`make install' will install all the files in
818
819
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
852
853
Optional Features:
853
854
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
854
855
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
855
 
  --disable-dependency-tracking Speeds up one-time builds
856
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
856
  --disable-dependency-tracking  speeds up one-time build
 
857
  --enable-dependency-tracking   do not reject slow dependency extractors
857
858
  --enable-DEBUG               leave debug info in executables
858
859
  --enable-sendmail=prog       set sendmail location
859
860
  --enable-trusted-users='...' specify users allowed to use the -d option
937
938
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
938
939
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
939
940
esac
940
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
941
 
# absolute.
942
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
943
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
944
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
945
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
941
 
 
942
# Do not use `cd foo && pwd` to compute absolute paths, because
 
943
# the directories may not exist.
 
944
case `pwd` in
 
945
.) ac_abs_builddir="$ac_dir";;
 
946
*)
 
947
  case "$ac_dir" in
 
948
  .) ac_abs_builddir=`pwd`;;
 
949
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
950
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
951
  esac;;
 
952
esac
 
953
case $ac_abs_builddir in
 
954
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
955
*)
 
956
  case ${ac_top_builddir}. in
 
957
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
958
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
959
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
960
  esac;;
 
961
esac
 
962
case $ac_abs_builddir in
 
963
.) ac_abs_srcdir=$ac_srcdir;;
 
964
*)
 
965
  case $ac_srcdir in
 
966
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
967
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
968
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
969
  esac;;
 
970
esac
 
971
case $ac_abs_builddir in
 
972
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
973
*)
 
974
  case $ac_top_srcdir in
 
975
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
976
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
977
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
978
  esac;;
 
979
esac
946
980
 
947
981
    cd $ac_dir
948
982
    # Check for guested configure; otherwise get Cygnus style configure.
953
987
      echo
954
988
      $SHELL $ac_srcdir/configure  --help=recursive
955
989
    elif test -f $ac_srcdir/configure.ac ||
956
 
           test -f $ac_srcdir/configure.in; then
 
990
           test -f $ac_srcdir/configure.in; then
957
991
      echo
958
992
      $ac_configure --help
959
993
    else
967
1001
if $ac_init_version; then
968
1002
  cat <<\_ACEOF
969
1003
 
970
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
971
 
Free Software Foundation, Inc.
 
1004
Copyright (C) 2003 Free Software Foundation, Inc.
972
1005
This configure script is free software; the Free Software Foundation
973
1006
gives unlimited permission to copy, distribute and modify it.
974
1007
_ACEOF
980
1013
running configure, to aid debugging if configure makes a mistake.
981
1014
 
982
1015
It was created by $as_me, which was
983
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
1016
generated by GNU Autoconf 2.59.  Invocation command line was
984
1017
 
985
1018
  $ $0 $@
986
1019
 
1057
1090
    2)
1058
1091
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1059
1092
      if test $ac_must_keep_next = true; then
1060
 
        ac_must_keep_next=false # Got value, back to normal.
 
1093
        ac_must_keep_next=false # Got value, back to normal.
1061
1094
      else
1062
 
        case $ac_arg in
1063
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1064
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1065
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1066
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1067
 
            case "$ac_configure_args0 " in
1068
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1069
 
            esac
1070
 
            ;;
1071
 
          -* ) ac_must_keep_next=true ;;
1072
 
        esac
 
1095
        case $ac_arg in
 
1096
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1097
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1098
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1099
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1100
            case "$ac_configure_args0 " in
 
1101
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1102
            esac
 
1103
            ;;
 
1104
          -* ) ac_must_keep_next=true ;;
 
1105
        esac
1073
1106
      fi
1074
1107
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1075
1108
      # Get rid of the leading space.
1103
1136
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1104
1137
    *ac_space=\ *)
1105
1138
      sed -n \
1106
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1107
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1139
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1140
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1108
1141
      ;;
1109
1142
    *)
1110
1143
      sed -n \
1111
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1144
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1112
1145
      ;;
1113
1146
    esac;
1114
1147
}
1137
1170
      for ac_var in $ac_subst_files
1138
1171
      do
1139
1172
        eval ac_val=$`echo $ac_var`
1140
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1173
        echo "$ac_var='"'"'$ac_val'"'"'"
1141
1174
      done | sort
1142
1175
      echo
1143
1176
    fi
1156
1189
      echo "$as_me: caught signal $ac_signal"
1157
1190
    echo "$as_me: exit $exit_status"
1158
1191
  } >&5
1159
 
  rm -f core core.* *.core &&
 
1192
  rm -f core *.core &&
1160
1193
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1161
1194
    exit $exit_status
1162
1195
     ' 0
1236
1269
# value.
1237
1270
ac_cache_corrupted=false
1238
1271
for ac_var in `(set) 2>&1 |
1239
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1272
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1240
1273
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1241
1274
  eval ac_new_set=\$ac_env_${ac_var}_set
1242
1275
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1253
1286
    ,);;
1254
1287
    *)
1255
1288
      if test "x$ac_old_val" != "x$ac_new_val"; then
1256
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1289
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1257
1290
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1258
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1291
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1259
1292
echo "$as_me:   former value:  $ac_old_val" >&2;}
1260
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1293
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1261
1294
echo "$as_me:   current value: $ac_new_val" >&2;}
1262
 
        ac_cache_corrupted=:
 
1295
        ac_cache_corrupted=:
1263
1296
      fi;;
1264
1297
  esac
1265
1298
  # Pass precious variables to config.status.
1308
1341
 
1309
1342
 
1310
1343
LPATH="$PATH:/usr/local/bin"
1311
 
am__api_version="1.7"
 
1344
am__api_version="1.8"
1312
1345
ac_aux_dir=
1313
1346
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1314
1347
  if test -f $ac_dir/install-sh; then
1345
1378
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1346
1379
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1347
1380
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1381
# OS/2's system install, which has a completely different semantic
1348
1382
# ./install, which can be erroneously created by make from ./install.sh.
1349
1383
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1350
1384
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1361
1395
case $as_dir/ in
1362
1396
  ./ | .// | /cC/* | \
1363
1397
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1398
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1364
1399
  /usr/ucb/* ) ;;
1365
1400
  *)
1366
1401
    # OSF1 and SCO ODT 3.0 have their own names for install.
1368
1403
    # by default.
1369
1404
    for ac_prog in ginstall scoinst install; do
1370
1405
      for ac_exec_ext in '' $ac_executable_extensions; do
1371
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1372
 
          if test $ac_prog = install &&
1373
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1374
 
            # AIX install.  It has an incompatible calling convention.
1375
 
            :
1376
 
          elif test $ac_prog = install &&
1377
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1378
 
            # program-specific install script used by HP pwplus--don't use.
1379
 
            :
1380
 
          else
1381
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1382
 
            break 3
1383
 
          fi
1384
 
        fi
 
1406
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1407
          if test $ac_prog = install &&
 
1408
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1409
            # AIX install.  It has an incompatible calling convention.
 
1410
            :
 
1411
          elif test $ac_prog = install &&
 
1412
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1413
            # program-specific install script used by HP pwplus--don't use.
 
1414
            :
 
1415
          else
 
1416
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1417
            break 3
 
1418
          fi
 
1419
        fi
1385
1420
      done
1386
1421
    done
1387
1422
    ;;
1469
1504
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1470
1505
rm conftest.sed
1471
1506
 
1472
 
 
1473
1507
# expand $ac_aux_dir to an absolute path
1474
1508
am_aux_dir=`cd $ac_aux_dir && pwd`
1475
1509
 
1483
1517
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1484
1518
fi
1485
1519
 
 
1520
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1521
  # Keeping the `.' argument allows $(mkdir_p) to be used without
 
1522
  # argument.  Indeed, we sometimes output rules like
 
1523
  #   $(mkdir_p) $(somedir)
 
1524
  # where $(somedir) is conditionally defined.
 
1525
  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
 
1526
  # expensive solution, as it forces Make to start a sub-shell.)
 
1527
  mkdir_p='mkdir -p -- .'
 
1528
else
 
1529
  # On NextStep and OpenStep, the `mkdir' command does not
 
1530
  # recognize any option.  It will interpret all options as
 
1531
  # directories to create, and then abort because `.' already
 
1532
  # exists.
 
1533
  for d in ./-p ./--version;
 
1534
  do
 
1535
    test -d $d && rmdir $d
 
1536
  done
 
1537
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1538
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1539
    mkdir_p='$(mkinstalldirs)'
 
1540
  else
 
1541
    mkdir_p='$(install_sh) -d'
 
1542
  fi
 
1543
fi
 
1544
 
1486
1545
for ac_prog in gawk mawk nawk awk
1487
1546
do
1488
1547
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1525
1584
 
1526
1585
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1527
1586
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1528
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1587
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1529
1588
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1530
1589
  echo $ECHO_N "(cached) $ECHO_C" >&6
1531
1590
else
1561
1620
fi
1562
1621
rmdir .tst 2>/dev/null
1563
1622
 
1564
 
 # test to see if srcdir already configured
 
1623
# test to see if srcdir already configured
1565
1624
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1566
1625
   test -f $srcdir/config.status; then
1567
1626
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1581
1640
 
1582
1641
# Define the identity of the package.
1583
1642
 PACKAGE=maildrop
1584
 
 VERSION=1.6.3
 
1643
 VERSION=1.7.0
1585
1644
 
1586
1645
 
1587
1646
# Some tools Automake needs.
1701
1760
 
1702
1761
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1703
1762
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1704
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1763
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1705
1764
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1706
1765
  echo $ECHO_N "(cached) $ECHO_C" >&6
1707
1766
else
2067
2126
  (exit $ac_status); }
2068
2127
 
2069
2128
cat >conftest.$ac_ext <<_ACEOF
2070
 
#line $LINENO "configure"
2071
2129
/* confdefs.h.  */
2072
2130
_ACEOF
2073
2131
cat confdefs.h >>conftest.$ac_ext
2087
2145
# Try to create an executable without -o first, disregard a.out.
2088
2146
# It will help us diagnose broken compilers, and finding out an intuition
2089
2147
# of exeext.
2090
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2091
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
2148
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2149
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2092
2150
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2093
2151
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2094
2152
  (eval $ac_link_default) 2>&5
2108
2166
  test -f "$ac_file" || continue
2109
2167
  case $ac_file in
2110
2168
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2111
 
        ;;
 
2169
        ;;
2112
2170
    conftest.$ac_ext )
2113
 
        # This is the source file.
2114
 
        ;;
 
2171
        # This is the source file.
 
2172
        ;;
2115
2173
    [ab].out )
2116
 
        # We found the default executable, but exeext='' is most
2117
 
        # certainly right.
2118
 
        break;;
 
2174
        # We found the default executable, but exeext='' is most
 
2175
        # certainly right.
 
2176
        break;;
2119
2177
    *.* )
2120
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2121
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2122
 
        # but it would be cool to find out if it's true.  Does anybody
2123
 
        # maintain Libtool? --akim.
2124
 
        export ac_cv_exeext
2125
 
        break;;
 
2178
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2179
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2180
        # but it would be cool to find out if it's true.  Does anybody
 
2181
        # maintain Libtool? --akim.
 
2182
        export ac_cv_exeext
 
2183
        break;;
2126
2184
    * )
2127
 
        break;;
 
2185
        break;;
2128
2186
  esac
2129
2187
done
2130
2188
else
2198
2256
  case $ac_file in
2199
2257
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2200
2258
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2201
 
          export ac_cv_exeext
2202
 
          break;;
 
2259
          export ac_cv_exeext
 
2260
          break;;
2203
2261
    * ) break;;
2204
2262
  esac
2205
2263
done
2224
2282
  echo $ECHO_N "(cached) $ECHO_C" >&6
2225
2283
else
2226
2284
  cat >conftest.$ac_ext <<_ACEOF
2227
 
#line $LINENO "configure"
2228
2285
/* confdefs.h.  */
2229
2286
_ACEOF
2230
2287
cat confdefs.h >>conftest.$ac_ext
2275
2332
  echo $ECHO_N "(cached) $ECHO_C" >&6
2276
2333
else
2277
2334
  cat >conftest.$ac_ext <<_ACEOF
2278
 
#line $LINENO "configure"
2279
2335
/* confdefs.h.  */
2280
2336
_ACEOF
2281
2337
cat confdefs.h >>conftest.$ac_ext
2295
2351
_ACEOF
2296
2352
rm -f conftest.$ac_objext
2297
2353
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2298
 
  (eval $ac_compile) 2>&5
 
2354
  (eval $ac_compile) 2>conftest.er1
2299
2355
  ac_status=$?
 
2356
  grep -v '^ *+' conftest.er1 >conftest.err
 
2357
  rm -f conftest.er1
 
2358
  cat conftest.err >&5
2300
2359
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301
2360
  (exit $ac_status); } &&
2302
 
         { ac_try='test -s conftest.$ac_objext'
 
2361
         { ac_try='test -z "$ac_c_werror_flag"
 
2362
                         || test ! -s conftest.err'
 
2363
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2364
  (eval $ac_try) 2>&5
 
2365
  ac_status=$?
 
2366
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2367
  (exit $ac_status); }; } &&
 
2368
         { ac_try='test -s conftest.$ac_objext'
2303
2369
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2304
2370
  (eval $ac_try) 2>&5
2305
2371
  ac_status=$?
2312
2378
 
2313
2379
ac_compiler_gnu=no
2314
2380
fi
2315
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2381
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2316
2382
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2317
2383
 
2318
2384
fi
2328
2394
  echo $ECHO_N "(cached) $ECHO_C" >&6
2329
2395
else
2330
2396
  cat >conftest.$ac_ext <<_ACEOF
2331
 
#line $LINENO "configure"
2332
2397
/* confdefs.h.  */
2333
2398
_ACEOF
2334
2399
cat confdefs.h >>conftest.$ac_ext
2345
2410
_ACEOF
2346
2411
rm -f conftest.$ac_objext
2347
2412
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2348
 
  (eval $ac_compile) 2>&5
 
2413
  (eval $ac_compile) 2>conftest.er1
2349
2414
  ac_status=$?
 
2415
  grep -v '^ *+' conftest.er1 >conftest.err
 
2416
  rm -f conftest.er1
 
2417
  cat conftest.err >&5
2350
2418
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351
2419
  (exit $ac_status); } &&
2352
 
         { ac_try='test -s conftest.$ac_objext'
 
2420
         { ac_try='test -z "$ac_c_werror_flag"
 
2421
                         || test ! -s conftest.err'
 
2422
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2423
  (eval $ac_try) 2>&5
 
2424
  ac_status=$?
 
2425
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2426
  (exit $ac_status); }; } &&
 
2427
         { ac_try='test -s conftest.$ac_objext'
2353
2428
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354
2429
  (eval $ac_try) 2>&5
2355
2430
  ac_status=$?
2362
2437
 
2363
2438
ac_cv_prog_cc_g=no
2364
2439
fi
2365
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2440
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2366
2441
fi
2367
2442
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2368
2443
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2389
2464
  ac_cv_prog_cc_stdc=no
2390
2465
ac_save_CC=$CC
2391
2466
cat >conftest.$ac_ext <<_ACEOF
2392
 
#line $LINENO "configure"
2393
2467
/* confdefs.h.  */
2394
2468
_ACEOF
2395
2469
cat confdefs.h >>conftest.$ac_ext
2417
2491
  va_end (v);
2418
2492
  return s;
2419
2493
}
 
2494
 
 
2495
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2496
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2497
   These don't provoke an error unfortunately, instead are silently treated
 
2498
   as 'x'.  The following induces an error, until -std1 is added to get
 
2499
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2500
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2501
   that's true only with -std1.  */
 
2502
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2503
 
2420
2504
int test (int i, double x);
2421
2505
struct s1 {int (*f) (int a);};
2422
2506
struct s2 {int (*f) (double a);};
2443
2527
  CC="$ac_save_CC $ac_arg"
2444
2528
  rm -f conftest.$ac_objext
2445
2529
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2446
 
  (eval $ac_compile) 2>&5
 
2530
  (eval $ac_compile) 2>conftest.er1
2447
2531
  ac_status=$?
 
2532
  grep -v '^ *+' conftest.er1 >conftest.err
 
2533
  rm -f conftest.er1
 
2534
  cat conftest.err >&5
2448
2535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449
2536
  (exit $ac_status); } &&
2450
 
         { ac_try='test -s conftest.$ac_objext'
 
2537
         { ac_try='test -z "$ac_c_werror_flag"
 
2538
                         || test ! -s conftest.err'
 
2539
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2540
  (eval $ac_try) 2>&5
 
2541
  ac_status=$?
 
2542
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2543
  (exit $ac_status); }; } &&
 
2544
         { ac_try='test -s conftest.$ac_objext'
2451
2545
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2452
2546
  (eval $ac_try) 2>&5
2453
2547
  ac_status=$?
2460
2554
sed 's/^/| /' conftest.$ac_ext >&5
2461
2555
 
2462
2556
fi
2463
 
rm -f conftest.$ac_objext
 
2557
rm -f conftest.err conftest.$ac_objext
2464
2558
done
2465
2559
rm -f conftest.$ac_ext conftest.$ac_objext
2466
2560
CC=$ac_save_CC
2488
2582
_ACEOF
2489
2583
rm -f conftest.$ac_objext
2490
2584
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2491
 
  (eval $ac_compile) 2>&5
 
2585
  (eval $ac_compile) 2>conftest.er1
2492
2586
  ac_status=$?
 
2587
  grep -v '^ *+' conftest.er1 >conftest.err
 
2588
  rm -f conftest.er1
 
2589
  cat conftest.err >&5
2493
2590
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494
2591
  (exit $ac_status); } &&
2495
 
         { ac_try='test -s conftest.$ac_objext'
 
2592
         { ac_try='test -z "$ac_c_werror_flag"
 
2593
                         || test ! -s conftest.err'
 
2594
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2595
  (eval $ac_try) 2>&5
 
2596
  ac_status=$?
 
2597
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2598
  (exit $ac_status); }; } &&
 
2599
         { ac_try='test -s conftest.$ac_objext'
2496
2600
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2497
2601
  (eval $ac_try) 2>&5
2498
2602
  ac_status=$?
2499
2603
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500
2604
  (exit $ac_status); }; }; then
2501
2605
  for ac_declaration in \
2502
 
   ''\
2503
 
   '#include <stdlib.h>' \
 
2606
   '' \
2504
2607
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2505
2608
   'extern "C" void std::exit (int); using std::exit;' \
2506
2609
   'extern "C" void exit (int) throw ();' \
2508
2611
   'void exit (int);'
2509
2612
do
2510
2613
  cat >conftest.$ac_ext <<_ACEOF
2511
 
#line $LINENO "configure"
2512
2614
/* confdefs.h.  */
2513
2615
_ACEOF
2514
2616
cat confdefs.h >>conftest.$ac_ext
2515
2617
cat >>conftest.$ac_ext <<_ACEOF
2516
2618
/* end confdefs.h.  */
 
2619
$ac_declaration
2517
2620
#include <stdlib.h>
2518
 
$ac_declaration
2519
2621
int
2520
2622
main ()
2521
2623
{
2526
2628
_ACEOF
2527
2629
rm -f conftest.$ac_objext
2528
2630
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2529
 
  (eval $ac_compile) 2>&5
 
2631
  (eval $ac_compile) 2>conftest.er1
2530
2632
  ac_status=$?
 
2633
  grep -v '^ *+' conftest.er1 >conftest.err
 
2634
  rm -f conftest.er1
 
2635
  cat conftest.err >&5
2531
2636
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532
2637
  (exit $ac_status); } &&
2533
 
         { ac_try='test -s conftest.$ac_objext'
 
2638
         { ac_try='test -z "$ac_c_werror_flag"
 
2639
                         || test ! -s conftest.err'
 
2640
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2641
  (eval $ac_try) 2>&5
 
2642
  ac_status=$?
 
2643
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2644
  (exit $ac_status); }; } &&
 
2645
         { ac_try='test -s conftest.$ac_objext'
2534
2646
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2535
2647
  (eval $ac_try) 2>&5
2536
2648
  ac_status=$?
2543
2655
 
2544
2656
continue
2545
2657
fi
2546
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2658
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2547
2659
  cat >conftest.$ac_ext <<_ACEOF
2548
 
#line $LINENO "configure"
2549
2660
/* confdefs.h.  */
2550
2661
_ACEOF
2551
2662
cat confdefs.h >>conftest.$ac_ext
2562
2673
_ACEOF
2563
2674
rm -f conftest.$ac_objext
2564
2675
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2565
 
  (eval $ac_compile) 2>&5
 
2676
  (eval $ac_compile) 2>conftest.er1
2566
2677
  ac_status=$?
 
2678
  grep -v '^ *+' conftest.er1 >conftest.err
 
2679
  rm -f conftest.er1
 
2680
  cat conftest.err >&5
2567
2681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568
2682
  (exit $ac_status); } &&
2569
 
         { ac_try='test -s conftest.$ac_objext'
 
2683
         { ac_try='test -z "$ac_c_werror_flag"
 
2684
                         || test ! -s conftest.err'
 
2685
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2686
  (eval $ac_try) 2>&5
 
2687
  ac_status=$?
 
2688
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2689
  (exit $ac_status); }; } &&
 
2690
         { ac_try='test -s conftest.$ac_objext'
2570
2691
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571
2692
  (eval $ac_try) 2>&5
2572
2693
  ac_status=$?
2578
2699
sed 's/^/| /' conftest.$ac_ext >&5
2579
2700
 
2580
2701
fi
2581
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2702
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2582
2703
done
2583
2704
rm -f conftest*
2584
2705
if test -n "$ac_declaration"; then
2592
2713
sed 's/^/| /' conftest.$ac_ext >&5
2593
2714
 
2594
2715
fi
2595
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2716
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2596
2717
ac_ext=c
2597
2718
ac_cpp='$CPP $CPPFLAGS'
2598
2719
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2705
2826
    : > sub/conftest.c
2706
2827
    for i in 1 2 3 4 5 6; do
2707
2828
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2708
 
      : > sub/conftst$i.h
 
2829
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
2830
      # Solaris 8's {/usr,}/bin/sh.
 
2831
      touch sub/conftst$i.h
2709
2832
    done
2710
2833
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2711
2834
 
2795
2918
  # On the NeXT, cc -E runs the code through the compiler's parser,
2796
2919
  # not just through cpp. "Syntax error" is here to catch this case.
2797
2920
  cat >conftest.$ac_ext <<_ACEOF
2798
 
#line $LINENO "configure"
2799
2921
/* confdefs.h.  */
2800
2922
_ACEOF
2801
2923
cat confdefs.h >>conftest.$ac_ext
2806
2928
#else
2807
2929
# include <assert.h>
2808
2930
#endif
2809
 
                     Syntax error
 
2931
                     Syntax error
2810
2932
_ACEOF
2811
2933
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2812
2934
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2818
2940
  (exit $ac_status); } >/dev/null; then
2819
2941
  if test -s conftest.err; then
2820
2942
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2943
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2821
2944
  else
2822
2945
    ac_cpp_err=
2823
2946
  fi
2838
2961
  # OK, works on sane cases.  Now check whether non-existent headers
2839
2962
  # can be detected and how.
2840
2963
  cat >conftest.$ac_ext <<_ACEOF
2841
 
#line $LINENO "configure"
2842
2964
/* confdefs.h.  */
2843
2965
_ACEOF
2844
2966
cat confdefs.h >>conftest.$ac_ext
2856
2978
  (exit $ac_status); } >/dev/null; then
2857
2979
  if test -s conftest.err; then
2858
2980
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2981
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2859
2982
  else
2860
2983
    ac_cpp_err=
2861
2984
  fi
2902
3025
  # On the NeXT, cc -E runs the code through the compiler's parser,
2903
3026
  # not just through cpp. "Syntax error" is here to catch this case.
2904
3027
  cat >conftest.$ac_ext <<_ACEOF
2905
 
#line $LINENO "configure"
2906
3028
/* confdefs.h.  */
2907
3029
_ACEOF
2908
3030
cat confdefs.h >>conftest.$ac_ext
2913
3035
#else
2914
3036
# include <assert.h>
2915
3037
#endif
2916
 
                     Syntax error
 
3038
                     Syntax error
2917
3039
_ACEOF
2918
3040
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2919
3041
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2925
3047
  (exit $ac_status); } >/dev/null; then
2926
3048
  if test -s conftest.err; then
2927
3049
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3050
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2928
3051
  else
2929
3052
    ac_cpp_err=
2930
3053
  fi
2945
3068
  # OK, works on sane cases.  Now check whether non-existent headers
2946
3069
  # can be detected and how.
2947
3070
  cat >conftest.$ac_ext <<_ACEOF
2948
 
#line $LINENO "configure"
2949
3071
/* confdefs.h.  */
2950
3072
_ACEOF
2951
3073
cat confdefs.h >>conftest.$ac_ext
2963
3085
  (exit $ac_status); } >/dev/null; then
2964
3086
  if test -s conftest.err; then
2965
3087
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3088
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2966
3089
  else
2967
3090
    ac_cpp_err=
2968
3091
  fi
3021
3144
echo "$as_me:$LINENO: checking for AIX" >&5
3022
3145
echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3023
3146
cat >conftest.$ac_ext <<_ACEOF
3024
 
#line $LINENO "configure"
3025
3147
/* confdefs.h.  */
3026
3148
_ACEOF
3027
3149
cat confdefs.h >>conftest.$ac_ext
3053
3175
  echo $ECHO_N "(cached) $ECHO_C" >&6
3054
3176
else
3055
3177
  cat >conftest.$ac_ext <<_ACEOF
3056
 
#line $LINENO "configure"
3057
3178
/* confdefs.h.  */
3058
3179
_ACEOF
3059
3180
cat confdefs.h >>conftest.$ac_ext
3074
3195
_ACEOF
3075
3196
rm -f conftest.$ac_objext
3076
3197
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3077
 
  (eval $ac_compile) 2>&5
 
3198
  (eval $ac_compile) 2>conftest.er1
3078
3199
  ac_status=$?
 
3200
  grep -v '^ *+' conftest.er1 >conftest.err
 
3201
  rm -f conftest.er1
 
3202
  cat conftest.err >&5
3079
3203
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080
3204
  (exit $ac_status); } &&
3081
 
         { ac_try='test -s conftest.$ac_objext'
 
3205
         { ac_try='test -z "$ac_c_werror_flag"
 
3206
                         || test ! -s conftest.err'
 
3207
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3208
  (eval $ac_try) 2>&5
 
3209
  ac_status=$?
 
3210
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3211
  (exit $ac_status); }; } &&
 
3212
         { ac_try='test -s conftest.$ac_objext'
3082
3213
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3083
3214
  (eval $ac_try) 2>&5
3084
3215
  ac_status=$?
3091
3222
 
3092
3223
ac_cv_header_stdc=no
3093
3224
fi
3094
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3225
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3095
3226
 
3096
3227
if test $ac_cv_header_stdc = yes; then
3097
3228
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3098
3229
  cat >conftest.$ac_ext <<_ACEOF
3099
 
#line $LINENO "configure"
3100
3230
/* confdefs.h.  */
3101
3231
_ACEOF
3102
3232
cat confdefs.h >>conftest.$ac_ext
3118
3248
if test $ac_cv_header_stdc = yes; then
3119
3249
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3120
3250
  cat >conftest.$ac_ext <<_ACEOF
3121
 
#line $LINENO "configure"
3122
3251
/* confdefs.h.  */
3123
3252
_ACEOF
3124
3253
cat confdefs.h >>conftest.$ac_ext
3143
3272
  :
3144
3273
else
3145
3274
  cat >conftest.$ac_ext <<_ACEOF
3146
 
#line $LINENO "configure"
3147
3275
/* confdefs.h.  */
3148
3276
_ACEOF
3149
3277
cat confdefs.h >>conftest.$ac_ext
3155
3283
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3156
3284
#else
3157
3285
# define ISLOWER(c) \
3158
 
                   (('a' <= (c) && (c) <= 'i') \
3159
 
                     || ('j' <= (c) && (c) <= 'r') \
3160
 
                     || ('s' <= (c) && (c) <= 'z'))
 
3286
                   (('a' <= (c) && (c) <= 'i') \
 
3287
                     || ('j' <= (c) && (c) <= 'r') \
 
3288
                     || ('s' <= (c) && (c) <= 'z'))
3161
3289
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3162
3290
#endif
3163
3291
 
3168
3296
  int i;
3169
3297
  for (i = 0; i < 256; i++)
3170
3298
    if (XOR (islower (i), ISLOWER (i))
3171
 
        || toupper (i) != TOUPPER (i))
 
3299
        || toupper (i) != TOUPPER (i))
3172
3300
      exit(2);
3173
3301
  exit (0);
3174
3302
}
3193
3321
( exit $ac_status )
3194
3322
ac_cv_header_stdc=no
3195
3323
fi
3196
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3324
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3197
3325
fi
3198
3326
fi
3199
3327
fi
3218
3346
 
3219
3347
 
3220
3348
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3221
 
                  inttypes.h stdint.h unistd.h
 
3349
                  inttypes.h stdint.h unistd.h
3222
3350
do
3223
3351
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3224
3352
echo "$as_me:$LINENO: checking for $ac_header" >&5
3227
3355
  echo $ECHO_N "(cached) $ECHO_C" >&6
3228
3356
else
3229
3357
  cat >conftest.$ac_ext <<_ACEOF
3230
 
#line $LINENO "configure"
3231
3358
/* confdefs.h.  */
3232
3359
_ACEOF
3233
3360
cat confdefs.h >>conftest.$ac_ext
3239
3366
_ACEOF
3240
3367
rm -f conftest.$ac_objext
3241
3368
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3242
 
  (eval $ac_compile) 2>&5
 
3369
  (eval $ac_compile) 2>conftest.er1
3243
3370
  ac_status=$?
 
3371
  grep -v '^ *+' conftest.er1 >conftest.err
 
3372
  rm -f conftest.er1
 
3373
  cat conftest.err >&5
3244
3374
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245
3375
  (exit $ac_status); } &&
3246
 
         { ac_try='test -s conftest.$ac_objext'
 
3376
         { ac_try='test -z "$ac_c_werror_flag"
 
3377
                         || test ! -s conftest.err'
 
3378
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3379
  (eval $ac_try) 2>&5
 
3380
  ac_status=$?
 
3381
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3382
  (exit $ac_status); }; } &&
 
3383
         { ac_try='test -s conftest.$ac_objext'
3247
3384
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3248
3385
  (eval $ac_try) 2>&5
3249
3386
  ac_status=$?
3256
3393
 
3257
3394
eval "$as_ac_Header=no"
3258
3395
fi
3259
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3396
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3260
3397
fi
3261
3398
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3262
3399
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3283
3420
echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3284
3421
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3285
3422
cat >conftest.$ac_ext <<_ACEOF
3286
 
#line $LINENO "configure"
3287
3423
/* confdefs.h.  */
3288
3424
_ACEOF
3289
3425
cat confdefs.h >>conftest.$ac_ext
3294
3430
_ACEOF
3295
3431
rm -f conftest.$ac_objext
3296
3432
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3297
 
  (eval $ac_compile) 2>&5
 
3433
  (eval $ac_compile) 2>conftest.er1
3298
3434
  ac_status=$?
 
3435
  grep -v '^ *+' conftest.er1 >conftest.err
 
3436
  rm -f conftest.er1
 
3437
  cat conftest.err >&5
3299
3438
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300
3439
  (exit $ac_status); } &&
3301
 
         { ac_try='test -s conftest.$ac_objext'
 
3440
         { ac_try='test -z "$ac_c_werror_flag"
 
3441
                         || test ! -s conftest.err'
 
3442
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3443
  (eval $ac_try) 2>&5
 
3444
  ac_status=$?
 
3445
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3446
  (exit $ac_status); }; } &&
 
3447
         { ac_try='test -s conftest.$ac_objext'
3302
3448
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303
3449
  (eval $ac_try) 2>&5
3304
3450
  ac_status=$?
3311
3457
 
3312
3458
ac_header_compiler=no
3313
3459
fi
3314
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3460
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3315
3461
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3316
3462
echo "${ECHO_T}$ac_header_compiler" >&6
3317
3463
 
3319
3465
echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3320
3466
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3321
3467
cat >conftest.$ac_ext <<_ACEOF
3322
 
#line $LINENO "configure"
3323
3468
/* confdefs.h.  */
3324
3469
_ACEOF
3325
3470
cat confdefs.h >>conftest.$ac_ext
3337
3482
  (exit $ac_status); } >/dev/null; then
3338
3483
  if test -s conftest.err; then
3339
3484
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3485
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3340
3486
  else
3341
3487
    ac_cpp_err=
3342
3488
  fi
3356
3502
echo "${ECHO_T}$ac_header_preproc" >&6
3357
3503
 
3358
3504
# So?  What about this header?
3359
 
case $ac_header_compiler:$ac_header_preproc in
3360
 
  yes:no )
 
3505
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
3506
  yes:no: )
3361
3507
    { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3362
3508
echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3363
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3364
 
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3365
 
    (
3366
 
      cat <<\_ASBOX
3367
 
## ------------------------------------ ##
3368
 
## Report this to bug-autoconf@gnu.org. ##
3369
 
## ------------------------------------ ##
3370
 
_ASBOX
3371
 
    ) |
3372
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
3509
    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
 
3510
echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
 
3511
    ac_header_preproc=yes
3373
3512
    ;;
3374
 
  no:yes )
 
3513
  no:yes:* )
3375
3514
    { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3376
3515
echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3377
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3378
 
echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
 
3516
    { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
 
3517
echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
 
3518
    { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
 
3519
echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
 
3520
    { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
 
3521
echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
3379
3522
    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3380
3523
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
 
3524
    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
 
3525
echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3381
3526
    (
3382
3527
      cat <<\_ASBOX
3383
 
## ------------------------------------ ##
3384
 
## Report this to bug-autoconf@gnu.org. ##
3385
 
## ------------------------------------ ##
 
3528
## ------------------------------------------ ##
 
3529
## Report this to the AC_PACKAGE_NAME lists.  ##
 
3530
## ------------------------------------------ ##
3386
3531
_ASBOX
3387
3532
    ) |
3388
3533
      sed "s/^/$as_me: WARNING:     /" >&2
3424
3569
 
3425
3570
fi
3426
3571
 
3427
 
 
3428
 
        echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3429
 
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3430
 
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
 
3572
echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
3573
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
 
3574
if test "${ac_cv_search_strerror+set}" = set; then
3431
3575
  echo $ECHO_N "(cached) $ECHO_C" >&6
3432
3576
else
3433
 
  ac_check_lib_save_LIBS=$LIBS
3434
 
LIBS="-lcposix  $LIBS"
 
3577
  ac_func_search_save_LIBS=$LIBS
 
3578
ac_cv_search_strerror=no
3435
3579
cat >conftest.$ac_ext <<_ACEOF
3436
 
#line $LINENO "configure"
3437
 
/* confdefs.h.  */
3438
 
_ACEOF
3439
 
cat confdefs.h >>conftest.$ac_ext
3440
 
cat >>conftest.$ac_ext <<_ACEOF
3441
 
/* end confdefs.h.  */
3442
 
 
3443
 
/* Override any gcc2 internal prototype to avoid an error.  */
3444
 
#ifdef __cplusplus
3445
 
extern "C"
3446
 
#endif
3447
 
/* We use char because int might match the return type of a gcc2
3448
 
   builtin and then its argument prototype would still apply.  */
3449
 
char strerror ();
3450
 
int
3451
 
main ()
3452
 
{
3453
 
strerror ();
3454
 
  ;
3455
 
  return 0;
3456
 
}
3457
 
_ACEOF
3458
 
rm -f conftest.$ac_objext conftest$ac_exeext
3459
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3460
 
  (eval $ac_link) 2>&5
3461
 
  ac_status=$?
3462
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463
 
  (exit $ac_status); } &&
3464
 
         { ac_try='test -s conftest$ac_exeext'
3465
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3466
 
  (eval $ac_try) 2>&5
3467
 
  ac_status=$?
3468
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469
 
  (exit $ac_status); }; }; then
3470
 
  ac_cv_lib_cposix_strerror=yes
3471
 
else
3472
 
  echo "$as_me: failed program was:" >&5
3473
 
sed 's/^/| /' conftest.$ac_ext >&5
3474
 
 
3475
 
ac_cv_lib_cposix_strerror=no
3476
 
fi
3477
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3478
 
LIBS=$ac_check_lib_save_LIBS
3479
 
fi
3480
 
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3481
 
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3482
 
if test $ac_cv_lib_cposix_strerror = yes; then
3483
 
  LIBS="$LIBS -lcposix"
3484
 
fi
3485
 
 
3486
 
 
 
3580
/* confdefs.h.  */
 
3581
_ACEOF
 
3582
cat confdefs.h >>conftest.$ac_ext
 
3583
cat >>conftest.$ac_ext <<_ACEOF
 
3584
/* end confdefs.h.  */
 
3585
 
 
3586
/* Override any gcc2 internal prototype to avoid an error.  */
 
3587
#ifdef __cplusplus
 
3588
extern "C"
 
3589
#endif
 
3590
/* We use char because int might match the return type of a gcc2
 
3591
   builtin and then its argument prototype would still apply.  */
 
3592
char strerror ();
 
3593
int
 
3594
main ()
 
3595
{
 
3596
strerror ();
 
3597
  ;
 
3598
  return 0;
 
3599
}
 
3600
_ACEOF
 
3601
rm -f conftest.$ac_objext conftest$ac_exeext
 
3602
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3603
  (eval $ac_link) 2>conftest.er1
 
3604
  ac_status=$?
 
3605
  grep -v '^ *+' conftest.er1 >conftest.err
 
3606
  rm -f conftest.er1
 
3607
  cat conftest.err >&5
 
3608
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3609
  (exit $ac_status); } &&
 
3610
         { ac_try='test -z "$ac_c_werror_flag"
 
3611
                         || test ! -s conftest.err'
 
3612
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3613
  (eval $ac_try) 2>&5
 
3614
  ac_status=$?
 
3615
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3616
  (exit $ac_status); }; } &&
 
3617
         { ac_try='test -s conftest$ac_exeext'
 
3618
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3619
  (eval $ac_try) 2>&5
 
3620
  ac_status=$?
 
3621
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3622
  (exit $ac_status); }; }; then
 
3623
  ac_cv_search_strerror="none required"
 
3624
else
 
3625
  echo "$as_me: failed program was:" >&5
 
3626
sed 's/^/| /' conftest.$ac_ext >&5
 
3627
 
 
3628
fi
 
3629
rm -f conftest.err conftest.$ac_objext \
 
3630
      conftest$ac_exeext conftest.$ac_ext
 
3631
if test "$ac_cv_search_strerror" = no; then
 
3632
  for ac_lib in cposix; do
 
3633
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
3634
    cat >conftest.$ac_ext <<_ACEOF
 
3635
/* confdefs.h.  */
 
3636
_ACEOF
 
3637
cat confdefs.h >>conftest.$ac_ext
 
3638
cat >>conftest.$ac_ext <<_ACEOF
 
3639
/* end confdefs.h.  */
 
3640
 
 
3641
/* Override any gcc2 internal prototype to avoid an error.  */
 
3642
#ifdef __cplusplus
 
3643
extern "C"
 
3644
#endif
 
3645
/* We use char because int might match the return type of a gcc2
 
3646
   builtin and then its argument prototype would still apply.  */
 
3647
char strerror ();
 
3648
int
 
3649
main ()
 
3650
{
 
3651
strerror ();
 
3652
  ;
 
3653
  return 0;
 
3654
}
 
3655
_ACEOF
 
3656
rm -f conftest.$ac_objext conftest$ac_exeext
 
3657
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3658
  (eval $ac_link) 2>conftest.er1
 
3659
  ac_status=$?
 
3660
  grep -v '^ *+' conftest.er1 >conftest.err
 
3661
  rm -f conftest.er1
 
3662
  cat conftest.err >&5
 
3663
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3664
  (exit $ac_status); } &&
 
3665
         { ac_try='test -z "$ac_c_werror_flag"
 
3666
                         || test ! -s conftest.err'
 
3667
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3668
  (eval $ac_try) 2>&5
 
3669
  ac_status=$?
 
3670
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3671
  (exit $ac_status); }; } &&
 
3672
         { ac_try='test -s conftest$ac_exeext'
 
3673
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3674
  (eval $ac_try) 2>&5
 
3675
  ac_status=$?
 
3676
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3677
  (exit $ac_status); }; }; then
 
3678
  ac_cv_search_strerror="-l$ac_lib"
 
3679
break
 
3680
else
 
3681
  echo "$as_me: failed program was:" >&5
 
3682
sed 's/^/| /' conftest.$ac_ext >&5
 
3683
 
 
3684
fi
 
3685
rm -f conftest.err conftest.$ac_objext \
 
3686
      conftest$ac_exeext conftest.$ac_ext
 
3687
  done
 
3688
fi
 
3689
LIBS=$ac_func_search_save_LIBS
 
3690
fi
 
3691
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
3692
echo "${ECHO_T}$ac_cv_search_strerror" >&6
 
3693
if test "$ac_cv_search_strerror" != no; then
 
3694
  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
 
3695
 
 
3696
fi
3487
3697
 
3488
3698
for ac_prog in gawk mawk nawk awk
3489
3699
do
3655
3865
  echo $ECHO_N "(cached) $ECHO_C" >&6
3656
3866
else
3657
3867
  cat >conftest.$ac_ext <<_ACEOF
3658
 
#line $LINENO "configure"
3659
3868
/* confdefs.h.  */
3660
3869
_ACEOF
3661
3870
cat confdefs.h >>conftest.$ac_ext
3675
3884
_ACEOF
3676
3885
rm -f conftest.$ac_objext
3677
3886
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3678
 
  (eval $ac_compile) 2>&5
 
3887
  (eval $ac_compile) 2>conftest.er1
3679
3888
  ac_status=$?
 
3889
  grep -v '^ *+' conftest.er1 >conftest.err
 
3890
  rm -f conftest.er1
 
3891
  cat conftest.err >&5
3680
3892
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681
3893
  (exit $ac_status); } &&
3682
 
         { ac_try='test -s conftest.$ac_objext'
 
3894
         { ac_try='test -z "$ac_cxx_werror_flag"
 
3895
                         || test ! -s conftest.err'
 
3896
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3897
  (eval $ac_try) 2>&5
 
3898
  ac_status=$?
 
3899
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3900
  (exit $ac_status); }; } &&
 
3901
         { ac_try='test -s conftest.$ac_objext'
3683
3902
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3684
3903
  (eval $ac_try) 2>&5
3685
3904
  ac_status=$?
3692
3911
 
3693
3912
ac_compiler_gnu=no
3694
3913
fi
3695
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3914
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3696
3915
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3697
3916
 
3698
3917
fi
3708
3927
  echo $ECHO_N "(cached) $ECHO_C" >&6
3709
3928
else
3710
3929
  cat >conftest.$ac_ext <<_ACEOF
3711
 
#line $LINENO "configure"
3712
3930
/* confdefs.h.  */
3713
3931
_ACEOF
3714
3932
cat confdefs.h >>conftest.$ac_ext
3725
3943
_ACEOF
3726
3944
rm -f conftest.$ac_objext
3727
3945
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3728
 
  (eval $ac_compile) 2>&5
 
3946
  (eval $ac_compile) 2>conftest.er1
3729
3947
  ac_status=$?
 
3948
  grep -v '^ *+' conftest.er1 >conftest.err
 
3949
  rm -f conftest.er1
 
3950
  cat conftest.err >&5
3730
3951
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731
3952
  (exit $ac_status); } &&
3732
 
         { ac_try='test -s conftest.$ac_objext'
 
3953
         { ac_try='test -z "$ac_cxx_werror_flag"
 
3954
                         || test ! -s conftest.err'
 
3955
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3956
  (eval $ac_try) 2>&5
 
3957
  ac_status=$?
 
3958
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3959
  (exit $ac_status); }; } &&
 
3960
         { ac_try='test -s conftest.$ac_objext'
3733
3961
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3734
3962
  (eval $ac_try) 2>&5
3735
3963
  ac_status=$?
3742
3970
 
3743
3971
ac_cv_prog_cxx_g=no
3744
3972
fi
3745
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3973
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3746
3974
fi
3747
3975
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3748
3976
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3762
3990
  fi
3763
3991
fi
3764
3992
for ac_declaration in \
3765
 
   ''\
3766
 
   '#include <stdlib.h>' \
 
3993
   '' \
3767
3994
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3768
3995
   'extern "C" void std::exit (int); using std::exit;' \
3769
3996
   'extern "C" void exit (int) throw ();' \
3771
3998
   'void exit (int);'
3772
3999
do
3773
4000
  cat >conftest.$ac_ext <<_ACEOF
3774
 
#line $LINENO "configure"
3775
4001
/* confdefs.h.  */
3776
4002
_ACEOF
3777
4003
cat confdefs.h >>conftest.$ac_ext
3778
4004
cat >>conftest.$ac_ext <<_ACEOF
3779
4005
/* end confdefs.h.  */
 
4006
$ac_declaration
3780
4007
#include <stdlib.h>
3781
 
$ac_declaration
3782
4008
int
3783
4009
main ()
3784
4010
{
3789
4015
_ACEOF
3790
4016
rm -f conftest.$ac_objext
3791
4017
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3792
 
  (eval $ac_compile) 2>&5
 
4018
  (eval $ac_compile) 2>conftest.er1
3793
4019
  ac_status=$?
 
4020
  grep -v '^ *+' conftest.er1 >conftest.err
 
4021
  rm -f conftest.er1
 
4022
  cat conftest.err >&5
3794
4023
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795
4024
  (exit $ac_status); } &&
3796
 
         { ac_try='test -s conftest.$ac_objext'
 
4025
         { ac_try='test -z "$ac_cxx_werror_flag"
 
4026
                         || test ! -s conftest.err'
 
4027
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4028
  (eval $ac_try) 2>&5
 
4029
  ac_status=$?
 
4030
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4031
  (exit $ac_status); }; } &&
 
4032
         { ac_try='test -s conftest.$ac_objext'
3797
4033
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3798
4034
  (eval $ac_try) 2>&5
3799
4035
  ac_status=$?
3806
4042
 
3807
4043
continue
3808
4044
fi
3809
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4045
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3810
4046
  cat >conftest.$ac_ext <<_ACEOF
3811
 
#line $LINENO "configure"
3812
4047
/* confdefs.h.  */
3813
4048
_ACEOF
3814
4049
cat confdefs.h >>conftest.$ac_ext
3825
4060
_ACEOF
3826
4061
rm -f conftest.$ac_objext
3827
4062
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3828
 
  (eval $ac_compile) 2>&5
 
4063
  (eval $ac_compile) 2>conftest.er1
3829
4064
  ac_status=$?
 
4065
  grep -v '^ *+' conftest.er1 >conftest.err
 
4066
  rm -f conftest.er1
 
4067
  cat conftest.err >&5
3830
4068
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831
4069
  (exit $ac_status); } &&
3832
 
         { ac_try='test -s conftest.$ac_objext'
 
4070
         { ac_try='test -z "$ac_cxx_werror_flag"
 
4071
                         || test ! -s conftest.err'
 
4072
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4073
  (eval $ac_try) 2>&5
 
4074
  ac_status=$?
 
4075
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4076
  (exit $ac_status); }; } &&
 
4077
         { ac_try='test -s conftest.$ac_objext'
3833
4078
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3834
4079
  (eval $ac_try) 2>&5
3835
4080
  ac_status=$?
3841
4086
sed 's/^/| /' conftest.$ac_ext >&5
3842
4087
 
3843
4088
fi
3844
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4089
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3845
4090
done
3846
4091
rm -f conftest*
3847
4092
if test -n "$ac_declaration"; then
3897
4142
    : > sub/conftest.c
3898
4143
    for i in 1 2 3 4 5 6; do
3899
4144
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3900
 
      : > sub/conftst$i.h
 
4145
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4146
      # Solaris 8's {/usr,}/bin/sh.
 
4147
      touch sub/conftst$i.h
3901
4148
    done
3902
4149
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3903
4150
 
4109
4356
 
4110
4357
 
4111
4358
cat >conftest.$ac_ext <<_ACEOF
4112
 
#line $LINENO "configure"
4113
4359
/* confdefs.h.  */
4114
4360
_ACEOF
4115
4361
cat confdefs.h >>conftest.$ac_ext
4129
4375
_ACEOF
4130
4376
rm -f conftest.$ac_objext
4131
4377
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4132
 
  (eval $ac_compile) 2>&5
 
4378
  (eval $ac_compile) 2>conftest.er1
4133
4379
  ac_status=$?
 
4380
  grep -v '^ *+' conftest.er1 >conftest.err
 
4381
  rm -f conftest.er1
 
4382
  cat conftest.err >&5
4134
4383
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135
4384
  (exit $ac_status); } &&
4136
 
         { ac_try='test -s conftest.$ac_objext'
 
4385
         { ac_try='test -z "$ac_cxx_werror_flag"
 
4386
                         || test ! -s conftest.err'
 
4387
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4388
  (eval $ac_try) 2>&5
 
4389
  ac_status=$?
 
4390
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4391
  (exit $ac_status); }; } &&
 
4392
         { ac_try='test -s conftest.$ac_objext'
4137
4393
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4138
4394
  (eval $ac_try) 2>&5
4139
4395
  ac_status=$?
4147
4403
maildrop_cv_handle_exceptions=yes
4148
4404
 
4149
4405
fi
4150
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4406
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4151
4407
 
4152
4408
ac_ext=c
4153
4409
ac_cpp='$CPP $CPPFLAGS'
4180
4436
 
4181
4437
 
4182
4438
cat >conftest.$ac_ext <<_ACEOF
4183
 
#line $LINENO "configure"
4184
4439
/* confdefs.h.  */
4185
4440
_ACEOF
4186
4441
cat confdefs.h >>conftest.$ac_ext
4222
4477
_ACEOF
4223
4478
rm -f conftest.$ac_objext
4224
4479
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4225
 
  (eval $ac_compile) 2>&5
 
4480
  (eval $ac_compile) 2>conftest.er1
4226
4481
  ac_status=$?
 
4482
  grep -v '^ *+' conftest.er1 >conftest.err
 
4483
  rm -f conftest.er1
 
4484
  cat conftest.err >&5
4227
4485
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228
4486
  (exit $ac_status); } &&
4229
 
         { ac_try='test -s conftest.$ac_objext'
 
4487
         { ac_try='test -z "$ac_cxx_werror_flag"
 
4488
                         || test ! -s conftest.err'
 
4489
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4490
  (eval $ac_try) 2>&5
 
4491
  ac_status=$?
 
4492
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4493
  (exit $ac_status); }; } &&
 
4494
         { ac_try='test -s conftest.$ac_objext'
4230
4495
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4231
4496
  (eval $ac_try) 2>&5
4232
4497
  ac_status=$?
4239
4504
 
4240
4505
maildrop_cv_const_exceptions="no"
4241
4506
fi
4242
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4507
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4243
4508
 
4244
4509
fi
4245
4510
echo "$as_me:$LINENO: result: $maildrop_cv_const_exceptions" >&5
4271
4536
  ac_check_lib_save_LIBS=$LIBS
4272
4537
LIBS="-lsun  $LIBS"
4273
4538
cat >conftest.$ac_ext <<_ACEOF
4274
 
#line $LINENO "configure"
4275
4539
/* confdefs.h.  */
4276
4540
_ACEOF
4277
4541
cat confdefs.h >>conftest.$ac_ext
4295
4559
_ACEOF
4296
4560
rm -f conftest.$ac_objext conftest$ac_exeext
4297
4561
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4298
 
  (eval $ac_link) 2>&5
 
4562
  (eval $ac_link) 2>conftest.er1
4299
4563
  ac_status=$?
 
4564
  grep -v '^ *+' conftest.er1 >conftest.err
 
4565
  rm -f conftest.er1
 
4566
  cat conftest.err >&5
4300
4567
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301
4568
  (exit $ac_status); } &&
4302
 
         { ac_try='test -s conftest$ac_exeext'
 
4569
         { ac_try='test -z "$ac_c_werror_flag"
 
4570
                         || test ! -s conftest.err'
 
4571
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4572
  (eval $ac_try) 2>&5
 
4573
  ac_status=$?
 
4574
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4575
  (exit $ac_status); }; } &&
 
4576
         { ac_try='test -s conftest$ac_exeext'
4303
4577
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4304
4578
  (eval $ac_try) 2>&5
4305
4579
  ac_status=$?
4312
4586
 
4313
4587
ac_cv_lib_sun_getpwnam=no
4314
4588
fi
4315
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4589
rm -f conftest.err conftest.$ac_objext \
 
4590
      conftest$ac_exeext conftest.$ac_ext
4316
4591
LIBS=$ac_check_lib_save_LIBS
4317
4592
fi
4318
4593
echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5
4421
4696
  echo $ECHO_N "(cached) $ECHO_C" >&6
4422
4697
else
4423
4698
  cat >conftest.$ac_ext <<_ACEOF
4424
 
#line $LINENO "configure"
4425
4699
/* confdefs.h.  */
4426
4700
_ACEOF
4427
4701
cat confdefs.h >>conftest.$ac_ext
4442
4716
_ACEOF
4443
4717
rm -f conftest.$ac_objext
4444
4718
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4445
 
  (eval $ac_compile) 2>&5
 
4719
  (eval $ac_compile) 2>conftest.er1
4446
4720
  ac_status=$?
 
4721
  grep -v '^ *+' conftest.er1 >conftest.err
 
4722
  rm -f conftest.er1
 
4723
  cat conftest.err >&5
4447
4724
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448
4725
  (exit $ac_status); } &&
4449
 
         { ac_try='test -s conftest.$ac_objext'
 
4726
         { ac_try='test -z "$ac_c_werror_flag"
 
4727
                         || test ! -s conftest.err'
 
4728
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4729
  (eval $ac_try) 2>&5
 
4730
  ac_status=$?
 
4731
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4732
  (exit $ac_status); }; } &&
 
4733
         { ac_try='test -s conftest.$ac_objext'
4450
4734
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4451
4735
  (eval $ac_try) 2>&5
4452
4736
  ac_status=$?
4459
4743
 
4460
4744
ac_cv_header_stdc=no
4461
4745
fi
4462
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4746
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4463
4747
 
4464
4748
if test $ac_cv_header_stdc = yes; then
4465
4749
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4466
4750
  cat >conftest.$ac_ext <<_ACEOF
4467
 
#line $LINENO "configure"
4468
4751
/* confdefs.h.  */
4469
4752
_ACEOF
4470
4753
cat confdefs.h >>conftest.$ac_ext
4486
4769
if test $ac_cv_header_stdc = yes; then
4487
4770
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4488
4771
  cat >conftest.$ac_ext <<_ACEOF
4489
 
#line $LINENO "configure"
4490
4772
/* confdefs.h.  */
4491
4773
_ACEOF
4492
4774
cat confdefs.h >>conftest.$ac_ext
4511
4793
  :
4512
4794
else
4513
4795
  cat >conftest.$ac_ext <<_ACEOF
4514
 
#line $LINENO "configure"
4515
4796
/* confdefs.h.  */
4516
4797
_ACEOF
4517
4798
cat confdefs.h >>conftest.$ac_ext
4523
4804
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4524
4805
#else
4525
4806
# define ISLOWER(c) \
4526
 
                   (('a' <= (c) && (c) <= 'i') \
4527
 
                     || ('j' <= (c) && (c) <= 'r') \
4528
 
                     || ('s' <= (c) && (c) <= 'z'))
 
4807
                   (('a' <= (c) && (c) <= 'i') \
 
4808
                     || ('j' <= (c) && (c) <= 'r') \
 
4809
                     || ('s' <= (c) && (c) <= 'z'))
4529
4810
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4530
4811
#endif
4531
4812
 
4536
4817
  int i;
4537
4818
  for (i = 0; i < 256; i++)
4538
4819
    if (XOR (islower (i), ISLOWER (i))
4539
 
        || toupper (i) != TOUPPER (i))
 
4820
        || toupper (i) != TOUPPER (i))
4540
4821
      exit(2);
4541
4822
  exit (0);
4542
4823
}
4561
4842
( exit $ac_status )
4562
4843
ac_cv_header_stdc=no
4563
4844
fi
4564
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4845
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4565
4846
fi
4566
4847
fi
4567
4848
fi
4581
4862
  echo $ECHO_N "(cached) $ECHO_C" >&6
4582
4863
else
4583
4864
  cat >conftest.$ac_ext <<_ACEOF
4584
 
#line $LINENO "configure"
4585
4865
/* confdefs.h.  */
4586
4866
_ACEOF
4587
4867
cat confdefs.h >>conftest.$ac_ext
4608
4888
_ACEOF
4609
4889
rm -f conftest.$ac_objext
4610
4890
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4611
 
  (eval $ac_compile) 2>&5
 
4891
  (eval $ac_compile) 2>conftest.er1
4612
4892
  ac_status=$?
 
4893
  grep -v '^ *+' conftest.er1 >conftest.err
 
4894
  rm -f conftest.er1
 
4895
  cat conftest.err >&5
4613
4896
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614
4897
  (exit $ac_status); } &&
4615
 
         { ac_try='test -s conftest.$ac_objext'
 
4898
         { ac_try='test -z "$ac_c_werror_flag"
 
4899
                         || test ! -s conftest.err'
 
4900
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4901
  (eval $ac_try) 2>&5
 
4902
  ac_status=$?
 
4903
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4904
  (exit $ac_status); }; } &&
 
4905
         { ac_try='test -s conftest.$ac_objext'
4616
4906
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4617
4907
  (eval $ac_try) 2>&5
4618
4908
  ac_status=$?
4625
4915
 
4626
4916
ac_cv_header_sys_wait_h=no
4627
4917
fi
4628
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4918
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4629
4919
fi
4630
4920
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4631
4921
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4643
4933
  echo $ECHO_N "(cached) $ECHO_C" >&6
4644
4934
else
4645
4935
  cat >conftest.$ac_ext <<_ACEOF
4646
 
#line $LINENO "configure"
4647
4936
/* confdefs.h.  */
4648
4937
_ACEOF
4649
4938
cat confdefs.h >>conftest.$ac_ext
4664
4953
_ACEOF
4665
4954
rm -f conftest.$ac_objext
4666
4955
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4667
 
  (eval $ac_compile) 2>&5
 
4956
  (eval $ac_compile) 2>conftest.er1
4668
4957
  ac_status=$?
 
4958
  grep -v '^ *+' conftest.er1 >conftest.err
 
4959
  rm -f conftest.er1
 
4960
  cat conftest.err >&5
4669
4961
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670
4962
  (exit $ac_status); } &&
4671
 
         { ac_try='test -s conftest.$ac_objext'
 
4963
         { ac_try='test -z "$ac_c_werror_flag"
 
4964
                         || test ! -s conftest.err'
 
4965
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4966
  (eval $ac_try) 2>&5
 
4967
  ac_status=$?
 
4968
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4969
  (exit $ac_status); }; } &&
 
4970
         { ac_try='test -s conftest.$ac_objext'
4672
4971
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4673
4972
  (eval $ac_try) 2>&5
4674
4973
  ac_status=$?
4681
4980
 
4682
4981
ac_cv_header_time=no
4683
4982
fi
4684
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4983
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4685
4984
fi
4686
4985
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4687
4986
echo "${ECHO_T}$ac_cv_header_time" >&6
4707
5006
  echo $ECHO_N "(cached) $ECHO_C" >&6
4708
5007
else
4709
5008
  cat >conftest.$ac_ext <<_ACEOF
4710
 
#line $LINENO "configure"
4711
5009
/* confdefs.h.  */
4712
5010
_ACEOF
4713
5011
cat confdefs.h >>conftest.$ac_ext
4727
5025
_ACEOF
4728
5026
rm -f conftest.$ac_objext
4729
5027
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4730
 
  (eval $ac_compile) 2>&5
 
5028
  (eval $ac_compile) 2>conftest.er1
4731
5029
  ac_status=$?
 
5030
  grep -v '^ *+' conftest.er1 >conftest.err
 
5031
  rm -f conftest.er1
 
5032
  cat conftest.err >&5
4732
5033
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733
5034
  (exit $ac_status); } &&
4734
 
         { ac_try='test -s conftest.$ac_objext'
 
5035
         { ac_try='test -z "$ac_c_werror_flag"
 
5036
                         || test ! -s conftest.err'
 
5037
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5038
  (eval $ac_try) 2>&5
 
5039
  ac_status=$?
 
5040
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5041
  (exit $ac_status); }; } &&
 
5042
         { ac_try='test -s conftest.$ac_objext'
4735
5043
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736
5044
  (eval $ac_try) 2>&5
4737
5045
  ac_status=$?
4744
5052
 
4745
5053
eval "$as_ac_Header=no"
4746
5054
fi
4747
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5055
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4748
5056
fi
4749
5057
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4750
5058
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4767
5075
  ac_func_search_save_LIBS=$LIBS
4768
5076
ac_cv_search_opendir=no
4769
5077
cat >conftest.$ac_ext <<_ACEOF
4770
 
#line $LINENO "configure"
4771
5078
/* confdefs.h.  */
4772
5079
_ACEOF
4773
5080
cat confdefs.h >>conftest.$ac_ext
4791
5098
_ACEOF
4792
5099
rm -f conftest.$ac_objext conftest$ac_exeext
4793
5100
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4794
 
  (eval $ac_link) 2>&5
 
5101
  (eval $ac_link) 2>conftest.er1
4795
5102
  ac_status=$?
 
5103
  grep -v '^ *+' conftest.er1 >conftest.err
 
5104
  rm -f conftest.er1
 
5105
  cat conftest.err >&5
4796
5106
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797
5107
  (exit $ac_status); } &&
4798
 
         { ac_try='test -s conftest$ac_exeext'
 
5108
         { ac_try='test -z "$ac_c_werror_flag"
 
5109
                         || test ! -s conftest.err'
 
5110
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5111
  (eval $ac_try) 2>&5
 
5112
  ac_status=$?
 
5113
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5114
  (exit $ac_status); }; } &&
 
5115
         { ac_try='test -s conftest$ac_exeext'
4799
5116
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4800
5117
  (eval $ac_try) 2>&5
4801
5118
  ac_status=$?
4807
5124
sed 's/^/| /' conftest.$ac_ext >&5
4808
5125
 
4809
5126
fi
4810
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
5127
rm -f conftest.err conftest.$ac_objext \
 
5128
      conftest$ac_exeext conftest.$ac_ext
4811
5129
if test "$ac_cv_search_opendir" = no; then
4812
5130
  for ac_lib in dir; do
4813
5131
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4814
5132
    cat >conftest.$ac_ext <<_ACEOF
4815
 
#line $LINENO "configure"
4816
5133
/* confdefs.h.  */
4817
5134
_ACEOF
4818
5135
cat confdefs.h >>conftest.$ac_ext
4836
5153
_ACEOF
4837
5154
rm -f conftest.$ac_objext conftest$ac_exeext
4838
5155
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4839
 
  (eval $ac_link) 2>&5
 
5156
  (eval $ac_link) 2>conftest.er1
4840
5157
  ac_status=$?
 
5158
  grep -v '^ *+' conftest.er1 >conftest.err
 
5159
  rm -f conftest.er1
 
5160
  cat conftest.err >&5
4841
5161
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842
5162
  (exit $ac_status); } &&
4843
 
         { ac_try='test -s conftest$ac_exeext'
 
5163
         { ac_try='test -z "$ac_c_werror_flag"
 
5164
                         || test ! -s conftest.err'
 
5165
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5166
  (eval $ac_try) 2>&5
 
5167
  ac_status=$?
 
5168
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5169
  (exit $ac_status); }; } &&
 
5170
         { ac_try='test -s conftest$ac_exeext'
4844
5171
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4845
5172
  (eval $ac_try) 2>&5
4846
5173
  ac_status=$?
4853
5180
sed 's/^/| /' conftest.$ac_ext >&5
4854
5181
 
4855
5182
fi
4856
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
5183
rm -f conftest.err conftest.$ac_objext \
 
5184
      conftest$ac_exeext conftest.$ac_ext
4857
5185
  done
4858
5186
fi
4859
5187
LIBS=$ac_func_search_save_LIBS
4874
5202
  ac_func_search_save_LIBS=$LIBS
4875
5203
ac_cv_search_opendir=no
4876
5204
cat >conftest.$ac_ext <<_ACEOF
4877
 
#line $LINENO "configure"
4878
5205
/* confdefs.h.  */
4879
5206
_ACEOF
4880
5207
cat confdefs.h >>conftest.$ac_ext
4898
5225
_ACEOF
4899
5226
rm -f conftest.$ac_objext conftest$ac_exeext
4900
5227
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4901
 
  (eval $ac_link) 2>&5
 
5228
  (eval $ac_link) 2>conftest.er1
4902
5229
  ac_status=$?
 
5230
  grep -v '^ *+' conftest.er1 >conftest.err
 
5231
  rm -f conftest.er1
 
5232
  cat conftest.err >&5
4903
5233
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904
5234
  (exit $ac_status); } &&
4905
 
         { ac_try='test -s conftest$ac_exeext'
 
5235
         { ac_try='test -z "$ac_c_werror_flag"
 
5236
                         || test ! -s conftest.err'
 
5237
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5238
  (eval $ac_try) 2>&5
 
5239
  ac_status=$?
 
5240
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5241
  (exit $ac_status); }; } &&
 
5242
         { ac_try='test -s conftest$ac_exeext'
4906
5243
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4907
5244
  (eval $ac_try) 2>&5
4908
5245
  ac_status=$?
4914
5251
sed 's/^/| /' conftest.$ac_ext >&5
4915
5252
 
4916
5253
fi
4917
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
5254
rm -f conftest.err conftest.$ac_objext \
 
5255
      conftest$ac_exeext conftest.$ac_ext
4918
5256
if test "$ac_cv_search_opendir" = no; then
4919
5257
  for ac_lib in x; do
4920
5258
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4921
5259
    cat >conftest.$ac_ext <<_ACEOF
4922
 
#line $LINENO "configure"
4923
5260
/* confdefs.h.  */
4924
5261
_ACEOF
4925
5262
cat confdefs.h >>conftest.$ac_ext
4943
5280
_ACEOF
4944
5281
rm -f conftest.$ac_objext conftest$ac_exeext
4945
5282
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4946
 
  (eval $ac_link) 2>&5
 
5283
  (eval $ac_link) 2>conftest.er1
4947
5284
  ac_status=$?
 
5285
  grep -v '^ *+' conftest.er1 >conftest.err
 
5286
  rm -f conftest.er1
 
5287
  cat conftest.err >&5
4948
5288
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949
5289
  (exit $ac_status); } &&
4950
 
         { ac_try='test -s conftest$ac_exeext'
 
5290
         { ac_try='test -z "$ac_c_werror_flag"
 
5291
                         || test ! -s conftest.err'
 
5292
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5293
  (eval $ac_try) 2>&5
 
5294
  ac_status=$?
 
5295
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5296
  (exit $ac_status); }; } &&
 
5297
         { ac_try='test -s conftest$ac_exeext'
4951
5298
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4952
5299
  (eval $ac_try) 2>&5
4953
5300
  ac_status=$?
4960
5307
sed 's/^/| /' conftest.$ac_ext >&5
4961
5308
 
4962
5309
fi
4963
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
5310
rm -f conftest.err conftest.$ac_objext \
 
5311
      conftest$ac_exeext conftest.$ac_ext
4964
5312
  done
4965
5313
fi
4966
5314
LIBS=$ac_func_search_save_LIBS
4998
5346
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4999
5347
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5000
5348
cat >conftest.$ac_ext <<_ACEOF
5001
 
#line $LINENO "configure"
5002
5349
/* confdefs.h.  */
5003
5350
_ACEOF
5004
5351
cat confdefs.h >>conftest.$ac_ext
5009
5356
_ACEOF
5010
5357
rm -f conftest.$ac_objext
5011
5358
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5012
 
  (eval $ac_compile) 2>&5
 
5359
  (eval $ac_compile) 2>conftest.er1
5013
5360
  ac_status=$?
 
5361
  grep -v '^ *+' conftest.er1 >conftest.err
 
5362
  rm -f conftest.er1
 
5363
  cat conftest.err >&5
5014
5364
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015
5365
  (exit $ac_status); } &&
5016
 
         { ac_try='test -s conftest.$ac_objext'
 
5366
         { ac_try='test -z "$ac_c_werror_flag"
 
5367
                         || test ! -s conftest.err'
 
5368
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5369
  (eval $ac_try) 2>&5
 
5370
  ac_status=$?
 
5371
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5372
  (exit $ac_status); }; } &&
 
5373
         { ac_try='test -s conftest.$ac_objext'
5017
5374
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5018
5375
  (eval $ac_try) 2>&5
5019
5376
  ac_status=$?
5026
5383
 
5027
5384
ac_header_compiler=no
5028
5385
fi
5029
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5386
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5030
5387
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5031
5388
echo "${ECHO_T}$ac_header_compiler" >&6
5032
5389
 
5034
5391
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5035
5392
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5036
5393
cat >conftest.$ac_ext <<_ACEOF
5037
 
#line $LINENO "configure"
5038
5394
/* confdefs.h.  */
5039
5395
_ACEOF
5040
5396
cat confdefs.h >>conftest.$ac_ext
5052
5408
  (exit $ac_status); } >/dev/null; then
5053
5409
  if test -s conftest.err; then
5054
5410
    ac_cpp_err=$ac_c_preproc_warn_flag
 
5411
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5055
5412
  else
5056
5413
    ac_cpp_err=
5057
5414
  fi
5071
5428
echo "${ECHO_T}$ac_header_preproc" >&6
5072
5429
 
5073
5430
# So?  What about this header?
5074
 
case $ac_header_compiler:$ac_header_preproc in
5075
 
  yes:no )
 
5431
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
5432
  yes:no: )
5076
5433
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5077
5434
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5078
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5079
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5080
 
    (
5081
 
      cat <<\_ASBOX
5082
 
## ------------------------------------ ##
5083
 
## Report this to bug-autoconf@gnu.org. ##
5084
 
## ------------------------------------ ##
5085
 
_ASBOX
5086
 
    ) |
5087
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5435
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5436
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5437
    ac_header_preproc=yes
5088
5438
    ;;
5089
 
  no:yes )
 
5439
  no:yes:* )
5090
5440
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5091
5441
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5092
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5093
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
5442
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5443
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5444
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5445
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5446
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5447
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5094
5448
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5095
5449
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5450
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5451
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5096
5452
    (
5097
5453
      cat <<\_ASBOX
5098
 
## ------------------------------------ ##
5099
 
## Report this to bug-autoconf@gnu.org. ##
5100
 
## ------------------------------------ ##
 
5454
## ------------------------------------------ ##
 
5455
## Report this to the AC_PACKAGE_NAME lists.  ##
 
5456
## ------------------------------------------ ##
5101
5457
_ASBOX
5102
5458
    ) |
5103
5459
      sed "s/^/$as_me: WARNING:     /" >&2
5108
5464
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5109
5465
  echo $ECHO_N "(cached) $ECHO_C" >&6
5110
5466
else
5111
 
  eval "$as_ac_Header=$ac_header_preproc"
 
5467
  eval "$as_ac_Header=\$ac_header_preproc"
5112
5468
fi
5113
5469
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5114
5470
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5130
5486
  echo $ECHO_N "(cached) $ECHO_C" >&6
5131
5487
else
5132
5488
  cat >conftest.$ac_ext <<_ACEOF
5133
 
#line $LINENO "configure"
5134
5489
/* confdefs.h.  */
5135
5490
_ACEOF
5136
5491
cat confdefs.h >>conftest.$ac_ext
5150
5505
_ACEOF
5151
5506
rm -f conftest.$ac_objext
5152
5507
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5153
 
  (eval $ac_compile) 2>&5
 
5508
  (eval $ac_compile) 2>conftest.er1
5154
5509
  ac_status=$?
 
5510
  grep -v '^ *+' conftest.er1 >conftest.err
 
5511
  rm -f conftest.er1
 
5512
  cat conftest.err >&5
5155
5513
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156
5514
  (exit $ac_status); } &&
5157
 
         { ac_try='test -s conftest.$ac_objext'
 
5515
         { ac_try='test -z "$ac_c_werror_flag"
 
5516
                         || test ! -s conftest.err'
 
5517
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5518
  (eval $ac_try) 2>&5
 
5519
  ac_status=$?
 
5520
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5521
  (exit $ac_status); }; } &&
 
5522
         { ac_try='test -s conftest.$ac_objext'
5158
5523
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5159
5524
  (eval $ac_try) 2>&5
5160
5525
  ac_status=$?
5167
5532
 
5168
5533
ac_cv_type_mode_t=no
5169
5534
fi
5170
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5535
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5171
5536
fi
5172
5537
echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
5173
5538
echo "${ECHO_T}$ac_cv_type_mode_t" >&6
5187
5552
  echo $ECHO_N "(cached) $ECHO_C" >&6
5188
5553
else
5189
5554
  cat >conftest.$ac_ext <<_ACEOF
5190
 
#line $LINENO "configure"
5191
5555
/* confdefs.h.  */
5192
5556
_ACEOF
5193
5557
cat confdefs.h >>conftest.$ac_ext
5207
5571
_ACEOF
5208
5572
rm -f conftest.$ac_objext
5209
5573
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5210
 
  (eval $ac_compile) 2>&5
 
5574
  (eval $ac_compile) 2>conftest.er1
5211
5575
  ac_status=$?
 
5576
  grep -v '^ *+' conftest.er1 >conftest.err
 
5577
  rm -f conftest.er1
 
5578
  cat conftest.err >&5
5212
5579
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213
5580
  (exit $ac_status); } &&
5214
 
         { ac_try='test -s conftest.$ac_objext'
 
5581
         { ac_try='test -z "$ac_c_werror_flag"
 
5582
                         || test ! -s conftest.err'
 
5583
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5584
  (eval $ac_try) 2>&5
 
5585
  ac_status=$?
 
5586
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5587
  (exit $ac_status); }; } &&
 
5588
         { ac_try='test -s conftest.$ac_objext'
5215
5589
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5216
5590
  (eval $ac_try) 2>&5
5217
5591
  ac_status=$?
5224
5598
 
5225
5599
ac_cv_type_off_t=no
5226
5600
fi
5227
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5601
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5228
5602
fi
5229
5603
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5230
5604
echo "${ECHO_T}$ac_cv_type_off_t" >&6
5244
5618
  echo $ECHO_N "(cached) $ECHO_C" >&6
5245
5619
else
5246
5620
  cat >conftest.$ac_ext <<_ACEOF
5247
 
#line $LINENO "configure"
5248
5621
/* confdefs.h.  */
5249
5622
_ACEOF
5250
5623
cat confdefs.h >>conftest.$ac_ext
5264
5637
_ACEOF
5265
5638
rm -f conftest.$ac_objext
5266
5639
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5267
 
  (eval $ac_compile) 2>&5
 
5640
  (eval $ac_compile) 2>conftest.er1
5268
5641
  ac_status=$?
 
5642
  grep -v '^ *+' conftest.er1 >conftest.err
 
5643
  rm -f conftest.er1
 
5644
  cat conftest.err >&5
5269
5645
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270
5646
  (exit $ac_status); } &&
5271
 
         { ac_try='test -s conftest.$ac_objext'
 
5647
         { ac_try='test -z "$ac_c_werror_flag"
 
5648
                         || test ! -s conftest.err'
 
5649
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5650
  (eval $ac_try) 2>&5
 
5651
  ac_status=$?
 
5652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5653
  (exit $ac_status); }; } &&
 
5654
         { ac_try='test -s conftest.$ac_objext'
5272
5655
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5273
5656
  (eval $ac_try) 2>&5
5274
5657
  ac_status=$?
5281
5664
 
5282
5665
ac_cv_type_size_t=no
5283
5666
fi
5284
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5667
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5285
5668
fi
5286
5669
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5287
5670
echo "${ECHO_T}$ac_cv_type_size_t" >&6
5301
5684
  echo $ECHO_N "(cached) $ECHO_C" >&6
5302
5685
else
5303
5686
  cat >conftest.$ac_ext <<_ACEOF
5304
 
#line $LINENO "configure"
5305
5687
/* confdefs.h.  */
5306
5688
_ACEOF
5307
5689
cat confdefs.h >>conftest.$ac_ext
5321
5703
_ACEOF
5322
5704
rm -f conftest.$ac_objext
5323
5705
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5324
 
  (eval $ac_compile) 2>&5
 
5706
  (eval $ac_compile) 2>conftest.er1
5325
5707
  ac_status=$?
 
5708
  grep -v '^ *+' conftest.er1 >conftest.err
 
5709
  rm -f conftest.er1
 
5710
  cat conftest.err >&5
5326
5711
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327
5712
  (exit $ac_status); } &&
5328
 
         { ac_try='test -s conftest.$ac_objext'
 
5713
         { ac_try='test -z "$ac_c_werror_flag"
 
5714
                         || test ! -s conftest.err'
 
5715
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5716
  (eval $ac_try) 2>&5
 
5717
  ac_status=$?
 
5718
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5719
  (exit $ac_status); }; } &&
 
5720
         { ac_try='test -s conftest.$ac_objext'
5329
5721
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5330
5722
  (eval $ac_try) 2>&5
5331
5723
  ac_status=$?
5338
5730
 
5339
5731
ac_cv_type_pid_t=no
5340
5732
fi
5341
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5733
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5342
5734
fi
5343
5735
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5344
5736
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
5358
5750
  echo $ECHO_N "(cached) $ECHO_C" >&6
5359
5751
else
5360
5752
  cat >conftest.$ac_ext <<_ACEOF
5361
 
#line $LINENO "configure"
5362
5753
/* confdefs.h.  */
5363
5754
_ACEOF
5364
5755
cat confdefs.h >>conftest.$ac_ext
5397
5788
  echo $ECHO_N "(cached) $ECHO_C" >&6
5398
5789
else
5399
5790
  cat >conftest.$ac_ext <<_ACEOF
5400
 
#line $LINENO "configure"
5401
5791
/* confdefs.h.  */
5402
5792
_ACEOF
5403
5793
cat confdefs.h >>conftest.$ac_ext
5416
5806
_ACEOF
5417
5807
rm -f conftest.$ac_objext
5418
5808
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5419
 
  (eval $ac_compile) 2>&5
 
5809
  (eval $ac_compile) 2>conftest.er1
5420
5810
  ac_status=$?
 
5811
  grep -v '^ *+' conftest.er1 >conftest.err
 
5812
  rm -f conftest.er1
 
5813
  cat conftest.err >&5
5421
5814
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422
5815
  (exit $ac_status); } &&
5423
 
         { ac_try='test -s conftest.$ac_objext'
 
5816
         { ac_try='test -z "$ac_c_werror_flag"
 
5817
                         || test ! -s conftest.err'
 
5818
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5819
  (eval $ac_try) 2>&5
 
5820
  ac_status=$?
 
5821
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5822
  (exit $ac_status); }; } &&
 
5823
         { ac_try='test -s conftest.$ac_objext'
5424
5824
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5425
5825
  (eval $ac_try) 2>&5
5426
5826
  ac_status=$?
5433
5833
 
5434
5834
ac_cv_struct_tm=sys/time.h
5435
5835
fi
5436
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5836
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5437
5837
fi
5438
5838
echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5439
5839
echo "${ECHO_T}$ac_cv_struct_tm" >&6
5454
5854
  ac_cv_type_getgroups=cross
5455
5855
else
5456
5856
  cat >conftest.$ac_ext <<_ACEOF
5457
 
#line $LINENO "configure"
5458
5857
/* confdefs.h.  */
5459
5858
_ACEOF
5460
5859
cat confdefs.h >>conftest.$ac_ext
5477
5876
  for (i = 0; i < NGID; i++)
5478
5877
    gidset[i] = val.gval;
5479
5878
  n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
5480
 
                 gidset);
 
5879
                 gidset);
5481
5880
  /* Exit non-zero if getgroups seems to require an array of ints.  This
5482
5881
     happens when gid_t is short but getgroups modifies an array of ints.  */
5483
5882
  exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
5503
5902
( exit $ac_status )
5504
5903
ac_cv_type_getgroups=int
5505
5904
fi
5506
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5905
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5507
5906
fi
5508
5907
if test $ac_cv_type_getgroups = cross; then
5509
5908
        cat >conftest.$ac_ext <<_ACEOF
5510
 
#line $LINENO "configure"
5511
5909
/* confdefs.h.  */
5512
5910
_ACEOF
5513
5911
cat confdefs.h >>conftest.$ac_ext
5546
5944
 
5547
5945
else
5548
5946
  cat >conftest.$ac_ext <<_ACEOF
5549
 
#line $LINENO "configure"
5550
5947
/* confdefs.h.  */
5551
5948
_ACEOF
5552
5949
cat confdefs.h >>conftest.$ac_ext
5594
5991
   { (exit 1); exit 1; }; }
5595
5992
 
5596
5993
fi
5597
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5994
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5598
5995
fi
5599
5996
 
5600
5997
 
5613
6010
  ac_cv_func_closedir_void=yes
5614
6011
else
5615
6012
  cat >conftest.$ac_ext <<_ACEOF
5616
 
#line $LINENO "configure"
5617
6013
/* confdefs.h.  */
5618
6014
_ACEOF
5619
6015
cat confdefs.h >>conftest.$ac_ext
5653
6049
( exit $ac_status )
5654
6050
ac_cv_func_closedir_void=yes
5655
6051
fi
5656
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6052
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5657
6053
fi
5658
6054
fi
5659
6055
echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
5672
6068
  echo $ECHO_N "(cached) $ECHO_C" >&6
5673
6069
else
5674
6070
  cat >conftest.$ac_ext <<_ACEOF
5675
 
#line $LINENO "configure"
5676
6071
/* confdefs.h.  */
5677
6072
_ACEOF
5678
6073
cat confdefs.h >>conftest.$ac_ext
5699
6094
_ACEOF
5700
6095
rm -f conftest.$ac_objext
5701
6096
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5702
 
  (eval $ac_compile) 2>&5
 
6097
  (eval $ac_compile) 2>conftest.er1
5703
6098
  ac_status=$?
 
6099
  grep -v '^ *+' conftest.er1 >conftest.err
 
6100
  rm -f conftest.er1
 
6101
  cat conftest.err >&5
5704
6102
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705
6103
  (exit $ac_status); } &&
5706
 
         { ac_try='test -s conftest.$ac_objext'
 
6104
         { ac_try='test -z "$ac_c_werror_flag"
 
6105
                         || test ! -s conftest.err'
 
6106
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6107
  (eval $ac_try) 2>&5
 
6108
  ac_status=$?
 
6109
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6110
  (exit $ac_status); }; } &&
 
6111
         { ac_try='test -s conftest.$ac_objext'
5707
6112
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5708
6113
  (eval $ac_try) 2>&5
5709
6114
  ac_status=$?
5716
6121
 
5717
6122
ac_cv_type_signal=int
5718
6123
fi
5719
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6124
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5720
6125
fi
5721
6126
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5722
6127
echo "${ECHO_T}$ac_cv_type_signal" >&6
5737
6142
  echo $ECHO_N "(cached) $ECHO_C" >&6
5738
6143
else
5739
6144
  cat >conftest.$ac_ext <<_ACEOF
5740
 
#line $LINENO "configure"
5741
6145
/* confdefs.h.  */
5742
6146
_ACEOF
5743
6147
cat confdefs.h >>conftest.$ac_ext
5744
6148
cat >>conftest.$ac_ext <<_ACEOF
5745
6149
/* end confdefs.h.  */
 
6150
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
6151
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
6152
#define $ac_func innocuous_$ac_func
 
6153
 
5746
6154
/* System header to define __stub macros and hopefully few prototypes,
5747
6155
    which can conflict with char $ac_func (); below.
5748
6156
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5749
6157
    <limits.h> exists even on freestanding compilers.  */
 
6158
 
5750
6159
#ifdef __STDC__
5751
6160
# include <limits.h>
5752
6161
#else
5753
6162
# include <assert.h>
5754
6163
#endif
 
6164
 
 
6165
#undef $ac_func
 
6166
 
5755
6167
/* Override any gcc2 internal prototype to avoid an error.  */
5756
6168
#ifdef __cplusplus
5757
6169
extern "C"
5782
6194
_ACEOF
5783
6195
rm -f conftest.$ac_objext conftest$ac_exeext
5784
6196
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5785
 
  (eval $ac_link) 2>&5
 
6197
  (eval $ac_link) 2>conftest.er1
5786
6198
  ac_status=$?
 
6199
  grep -v '^ *+' conftest.er1 >conftest.err
 
6200
  rm -f conftest.er1
 
6201
  cat conftest.err >&5
5787
6202
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5788
6203
  (exit $ac_status); } &&
5789
 
         { ac_try='test -s conftest$ac_exeext'
 
6204
         { ac_try='test -z "$ac_c_werror_flag"
 
6205
                         || test ! -s conftest.err'
 
6206
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6207
  (eval $ac_try) 2>&5
 
6208
  ac_status=$?
 
6209
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6210
  (exit $ac_status); }; } &&
 
6211
         { ac_try='test -s conftest$ac_exeext'
5790
6212
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5791
6213
  (eval $ac_try) 2>&5
5792
6214
  ac_status=$?
5799
6221
 
5800
6222
eval "$as_ac_var=no"
5801
6223
fi
5802
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
6224
rm -f conftest.err conftest.$ac_objext \
 
6225
      conftest$ac_exeext conftest.$ac_ext
5803
6226
fi
5804
6227
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5805
6228
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5818
6241
  echo $ECHO_N "(cached) $ECHO_C" >&6
5819
6242
else
5820
6243
  cat >conftest.$ac_ext <<_ACEOF
5821
 
#line $LINENO "configure"
5822
6244
/* confdefs.h.  */
5823
6245
_ACEOF
5824
6246
cat confdefs.h >>conftest.$ac_ext
5825
6247
cat >>conftest.$ac_ext <<_ACEOF
5826
6248
/* end confdefs.h.  */
 
6249
/* Define getpgrp to an innocuous variant, in case <limits.h> declares getpgrp.
 
6250
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
6251
#define getpgrp innocuous_getpgrp
 
6252
 
5827
6253
/* System header to define __stub macros and hopefully few prototypes,
5828
6254
    which can conflict with char getpgrp (); below.
5829
6255
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5830
6256
    <limits.h> exists even on freestanding compilers.  */
 
6257
 
5831
6258
#ifdef __STDC__
5832
6259
# include <limits.h>
5833
6260
#else
5834
6261
# include <assert.h>
5835
6262
#endif
 
6263
 
 
6264
#undef getpgrp
 
6265
 
5836
6266
/* Override any gcc2 internal prototype to avoid an error.  */
5837
6267
#ifdef __cplusplus
5838
6268
extern "C"
5863
6293
_ACEOF
5864
6294
rm -f conftest.$ac_objext conftest$ac_exeext
5865
6295
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5866
 
  (eval $ac_link) 2>&5
 
6296
  (eval $ac_link) 2>conftest.er1
5867
6297
  ac_status=$?
 
6298
  grep -v '^ *+' conftest.er1 >conftest.err
 
6299
  rm -f conftest.er1
 
6300
  cat conftest.err >&5
5868
6301
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869
6302
  (exit $ac_status); } &&
5870
 
         { ac_try='test -s conftest$ac_exeext'
 
6303
         { ac_try='test -z "$ac_c_werror_flag"
 
6304
                         || test ! -s conftest.err'
 
6305
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6306
  (eval $ac_try) 2>&5
 
6307
  ac_status=$?
 
6308
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6309
  (exit $ac_status); }; } &&
 
6310
         { ac_try='test -s conftest$ac_exeext'
5871
6311
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5872
6312
  (eval $ac_try) 2>&5
5873
6313
  ac_status=$?
5880
6320
 
5881
6321
ac_cv_func_getpgrp=no
5882
6322
fi
5883
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
6323
rm -f conftest.err conftest.$ac_objext \
 
6324
      conftest$ac_exeext conftest.$ac_ext
5884
6325
fi
5885
6326
echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp" >&5
5886
6327
echo "${ECHO_T}$ac_cv_func_getpgrp" >&6
5902
6343
  echo $ECHO_N "(cached) $ECHO_C" >&6
5903
6344
else
5904
6345
  cat >conftest.$ac_ext <<_ACEOF
5905
 
#line $LINENO "configure"
5906
6346
/* confdefs.h.  */
5907
6347
_ACEOF
5908
6348
cat confdefs.h >>conftest.$ac_ext
5909
6349
cat >>conftest.$ac_ext <<_ACEOF
5910
6350
/* end confdefs.h.  */
 
6351
/* Define getpgid to an innocuous variant, in case <limits.h> declares getpgid.
 
6352
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
6353
#define getpgid innocuous_getpgid
 
6354
 
5911
6355
/* System header to define __stub macros and hopefully few prototypes,
5912
6356
    which can conflict with char getpgid (); below.
5913
6357
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5914
6358
    <limits.h> exists even on freestanding compilers.  */
 
6359
 
5915
6360
#ifdef __STDC__
5916
6361
# include <limits.h>
5917
6362
#else
5918
6363
# include <assert.h>
5919
6364
#endif
 
6365
 
 
6366
#undef getpgid
 
6367
 
5920
6368
/* Override any gcc2 internal prototype to avoid an error.  */
5921
6369
#ifdef __cplusplus
5922
6370
extern "C"
5947
6395
_ACEOF
5948
6396
rm -f conftest.$ac_objext conftest$ac_exeext
5949
6397
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5950
 
  (eval $ac_link) 2>&5
 
6398
  (eval $ac_link) 2>conftest.er1
5951
6399
  ac_status=$?
 
6400
  grep -v '^ *+' conftest.er1 >conftest.err
 
6401
  rm -f conftest.er1
 
6402
  cat conftest.err >&5
5952
6403
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953
6404
  (exit $ac_status); } &&
5954
 
         { ac_try='test -s conftest$ac_exeext'
 
6405
         { ac_try='test -z "$ac_c_werror_flag"
 
6406
                         || test ! -s conftest.err'
 
6407
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6408
  (eval $ac_try) 2>&5
 
6409
  ac_status=$?
 
6410
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6411
  (exit $ac_status); }; } &&
 
6412
         { ac_try='test -s conftest$ac_exeext'
5955
6413
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5956
6414
  (eval $ac_try) 2>&5
5957
6415
  ac_status=$?
5964
6422
 
5965
6423
ac_cv_func_getpgid=no
5966
6424
fi
5967
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
6425
rm -f conftest.err conftest.$ac_objext \
 
6426
      conftest$ac_exeext conftest.$ac_ext
5968
6427
fi
5969
6428
echo "$as_me:$LINENO: result: $ac_cv_func_getpgid" >&5
5970
6429
echo "${ECHO_T}$ac_cv_func_getpgid" >&6
5989
6448
else
5990
6449
  # Use it with a single arg.
5991
6450
cat >conftest.$ac_ext <<_ACEOF
5992
 
#line $LINENO "configure"
5993
6451
/* confdefs.h.  */
5994
6452
_ACEOF
5995
6453
cat confdefs.h >>conftest.$ac_ext
6006
6464
_ACEOF
6007
6465
rm -f conftest.$ac_objext
6008
6466
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6009
 
  (eval $ac_compile) 2>&5
 
6467
  (eval $ac_compile) 2>conftest.er1
6010
6468
  ac_status=$?
 
6469
  grep -v '^ *+' conftest.er1 >conftest.err
 
6470
  rm -f conftest.er1
 
6471
  cat conftest.err >&5
6011
6472
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012
6473
  (exit $ac_status); } &&
6013
 
         { ac_try='test -s conftest.$ac_objext'
 
6474
         { ac_try='test -z "$ac_c_werror_flag"
 
6475
                         || test ! -s conftest.err'
 
6476
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6477
  (eval $ac_try) 2>&5
 
6478
  ac_status=$?
 
6479
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6480
  (exit $ac_status); }; } &&
 
6481
         { ac_try='test -s conftest.$ac_objext'
6014
6482
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6015
6483
  (eval $ac_try) 2>&5
6016
6484
  ac_status=$?
6023
6491
 
6024
6492
ac_cv_func_getpgrp_void=yes
6025
6493
fi
6026
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6494
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6027
6495
 
6028
6496
fi
6029
6497
echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
6046
6514
  if test $HAS_GETPGRP -o $HAS_GETPGID
6047
6515
then
6048
6516
    cat >conftest.$ac_ext <<_ACEOF
6049
 
#line $LINENO "configure"
6050
6517
/* confdefs.h.  */
6051
6518
_ACEOF
6052
6519
cat confdefs.h >>conftest.$ac_ext
6070
6537
_ACEOF
6071
6538
rm -f conftest.$ac_objext conftest$ac_exeext
6072
6539
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6073
 
  (eval $ac_link) 2>&5
 
6540
  (eval $ac_link) 2>conftest.er1
6074
6541
  ac_status=$?
 
6542
  grep -v '^ *+' conftest.er1 >conftest.err
 
6543
  rm -f conftest.er1
 
6544
  cat conftest.err >&5
6075
6545
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076
6546
  (exit $ac_status); } &&
6077
 
         { ac_try='test -s conftest$ac_exeext'
 
6547
         { ac_try='test -z "$ac_c_werror_flag"
 
6548
                         || test ! -s conftest.err'
 
6549
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6550
  (eval $ac_try) 2>&5
 
6551
  ac_status=$?
 
6552
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6553
  (exit $ac_status); }; } &&
 
6554
         { ac_try='test -s conftest$ac_exeext'
6078
6555
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6079
6556
  (eval $ac_try) 2>&5
6080
6557
  ac_status=$?
6087
6564
 
6088
6565
maildrop_cv_HAS_SETPGRP=0
6089
6566
fi
6090
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
6567
rm -f conftest.err conftest.$ac_objext \
 
6568
      conftest$ac_exeext conftest.$ac_ext
6091
6569
 
6092
6570
else
6093
6571
        maildrop_cv_HAS_SETPGRP=0
6112
6590
then
6113
6591
 
6114
6592
    cat >conftest.$ac_ext <<_ACEOF
6115
 
#line $LINENO "configure"
6116
6593
/* confdefs.h.  */
6117
6594
_ACEOF
6118
6595
cat confdefs.h >>conftest.$ac_ext
6136
6613
_ACEOF
6137
6614
rm -f conftest.$ac_objext conftest$ac_exeext
6138
6615
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6139
 
  (eval $ac_link) 2>&5
 
6616
  (eval $ac_link) 2>conftest.er1
6140
6617
  ac_status=$?
 
6618
  grep -v '^ *+' conftest.er1 >conftest.err
 
6619
  rm -f conftest.er1
 
6620
  cat conftest.err >&5
6141
6621
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6142
6622
  (exit $ac_status); } &&
6143
 
         { ac_try='test -s conftest$ac_exeext'
 
6623
         { ac_try='test -z "$ac_c_werror_flag"
 
6624
                         || test ! -s conftest.err'
 
6625
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6626
  (eval $ac_try) 2>&5
 
6627
  ac_status=$?
 
6628
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6629
  (exit $ac_status); }; } &&
 
6630
         { ac_try='test -s conftest$ac_exeext'
6144
6631
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6145
6632
  (eval $ac_try) 2>&5
6146
6633
  ac_status=$?
6153
6640
 
6154
6641
maildrop_cv_HAS_SETPGID=0
6155
6642
fi
6156
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
6643
rm -f conftest.err conftest.$ac_objext \
 
6644
      conftest$ac_exeext conftest.$ac_ext
6157
6645
else
6158
6646
        maildrop_cv_HAS_SETPGID=0
6159
6647
fi
6173
6661
  echo $ECHO_N "(cached) $ECHO_C" >&6
6174
6662
else
6175
6663
  cat >conftest.$ac_ext <<_ACEOF
6176
 
#line $LINENO "configure"
6177
6664
/* confdefs.h.  */
6178
6665
_ACEOF
6179
6666
cat confdefs.h >>conftest.$ac_ext
6197
6684
_ACEOF
6198
6685
rm -f conftest.$ac_objext
6199
6686
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6200
 
  (eval $ac_compile) 2>&5
 
6687
  (eval $ac_compile) 2>conftest.er1
6201
6688
  ac_status=$?
 
6689
  grep -v '^ *+' conftest.er1 >conftest.err
 
6690
  rm -f conftest.er1
 
6691
  cat conftest.err >&5
6202
6692
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203
6693
  (exit $ac_status); } &&
6204
 
         { ac_try='test -s conftest.$ac_objext'
 
6694
         { ac_try='test -z "$ac_c_werror_flag"
 
6695
                         || test ! -s conftest.err'
 
6696
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6697
  (eval $ac_try) 2>&5
 
6698
  ac_status=$?
 
6699
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6700
  (exit $ac_status); }; } &&
 
6701
         { ac_try='test -s conftest.$ac_objext'
6205
6702
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6206
6703
  (eval $ac_try) 2>&5
6207
6704
  ac_status=$?
6215
6712
maildir_cv_SYS_GETHOSTNAME=no
6216
6713
 
6217
6714
fi
6218
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6715
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6219
6716
 
6220
6717
 
6221
6718
fi
6978
7475
  ac_check_lib_save_LIBS=$LIBS
6979
7476
LIBS="-lsocket  $LIBS"
6980
7477
cat >conftest.$ac_ext <<_ACEOF
6981
 
#line $LINENO "configure"
6982
7478
/* confdefs.h.  */
6983
7479
_ACEOF
6984
7480
cat confdefs.h >>conftest.$ac_ext
7002
7498
_ACEOF
7003
7499
rm -f conftest.$ac_objext conftest$ac_exeext
7004
7500
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7005
 
  (eval $ac_link) 2>&5
 
7501
  (eval $ac_link) 2>conftest.er1
7006
7502
  ac_status=$?
 
7503
  grep -v '^ *+' conftest.er1 >conftest.err
 
7504
  rm -f conftest.er1
 
7505
  cat conftest.err >&5
7007
7506
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008
7507
  (exit $ac_status); } &&
7009
 
         { ac_try='test -s conftest$ac_exeext'
 
7508
         { ac_try='test -z "$ac_c_werror_flag"
 
7509
                         || test ! -s conftest.err'
 
7510
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7511
  (eval $ac_try) 2>&5
 
7512
  ac_status=$?
 
7513
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7514
  (exit $ac_status); }; } &&
 
7515
         { ac_try='test -s conftest$ac_exeext'
7010
7516
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7011
7517
  (eval $ac_try) 2>&5
7012
7518
  ac_status=$?
7019
7525
 
7020
7526
ac_cv_lib_socket_socket=no
7021
7527
fi
7022
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7528
rm -f conftest.err conftest.$ac_objext \
 
7529
      conftest$ac_exeext conftest.$ac_ext
7023
7530
LIBS=$ac_check_lib_save_LIBS
7024
7531
fi
7025
7532
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
7041
7548
  ac_check_lib_save_LIBS=$LIBS
7042
7549
LIBS="-lsocket -lnsl $LIBS"
7043
7550
cat >conftest.$ac_ext <<_ACEOF
7044
 
#line $LINENO "configure"
7045
7551
/* confdefs.h.  */
7046
7552
_ACEOF
7047
7553
cat confdefs.h >>conftest.$ac_ext
7065
7571
_ACEOF
7066
7572
rm -f conftest.$ac_objext conftest$ac_exeext
7067
7573
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7068
 
  (eval $ac_link) 2>&5
 
7574
  (eval $ac_link) 2>conftest.er1
7069
7575
  ac_status=$?
 
7576
  grep -v '^ *+' conftest.er1 >conftest.err
 
7577
  rm -f conftest.er1
 
7578
  cat conftest.err >&5
7070
7579
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071
7580
  (exit $ac_status); } &&
7072
 
         { ac_try='test -s conftest$ac_exeext'
 
7581
         { ac_try='test -z "$ac_c_werror_flag"
 
7582
                         || test ! -s conftest.err'
 
7583
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7584
  (eval $ac_try) 2>&5
 
7585
  ac_status=$?
 
7586
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7587
  (exit $ac_status); }; } &&
 
7588
         { ac_try='test -s conftest$ac_exeext'
7073
7589
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7074
7590
  (eval $ac_try) 2>&5
7075
7591
  ac_status=$?
7082
7598
 
7083
7599
ac_cv_lib_socket_socket=no
7084
7600
fi
7085
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7601
rm -f conftest.err conftest.$ac_objext \
 
7602
      conftest$ac_exeext conftest.$ac_ext
7086
7603
LIBS=$ac_check_lib_save_LIBS
7087
7604
fi
7088
7605
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
7105
7622
  ac_check_lib_save_LIBS=$LIBS
7106
7623
LIBS="-lsocket  $LIBS"
7107
7624
cat >conftest.$ac_ext <<_ACEOF
7108
 
#line $LINENO "configure"
7109
7625
/* confdefs.h.  */
7110
7626
_ACEOF
7111
7627
cat confdefs.h >>conftest.$ac_ext
7129
7645
_ACEOF
7130
7646
rm -f conftest.$ac_objext conftest$ac_exeext
7131
7647
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7132
 
  (eval $ac_link) 2>&5
 
7648
  (eval $ac_link) 2>conftest.er1
7133
7649
  ac_status=$?
 
7650
  grep -v '^ *+' conftest.er1 >conftest.err
 
7651
  rm -f conftest.er1
 
7652
  cat conftest.err >&5
7134
7653
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135
7654
  (exit $ac_status); } &&
7136
 
         { ac_try='test -s conftest$ac_exeext'
 
7655
         { ac_try='test -z "$ac_c_werror_flag"
 
7656
                         || test ! -s conftest.err'
 
7657
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7658
  (eval $ac_try) 2>&5
 
7659
  ac_status=$?
 
7660
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7661
  (exit $ac_status); }; } &&
 
7662
         { ac_try='test -s conftest$ac_exeext'
7137
7663
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138
7664
  (eval $ac_try) 2>&5
7139
7665
  ac_status=$?
7146
7672
 
7147
7673
ac_cv_lib_socket_connect=no
7148
7674
fi
7149
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7675
rm -f conftest.err conftest.$ac_objext \
 
7676
      conftest$ac_exeext conftest.$ac_ext
7150
7677
LIBS=$ac_check_lib_save_LIBS
7151
7678
fi
7152
7679
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7168
7695
  ac_check_lib_save_LIBS=$LIBS
7169
7696
LIBS="-lsocket -lnsl $LIBS"
7170
7697
cat >conftest.$ac_ext <<_ACEOF
7171
 
#line $LINENO "configure"
7172
7698
/* confdefs.h.  */
7173
7699
_ACEOF
7174
7700
cat confdefs.h >>conftest.$ac_ext
7192
7718
_ACEOF
7193
7719
rm -f conftest.$ac_objext conftest$ac_exeext
7194
7720
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7195
 
  (eval $ac_link) 2>&5
 
7721
  (eval $ac_link) 2>conftest.er1
7196
7722
  ac_status=$?
 
7723
  grep -v '^ *+' conftest.er1 >conftest.err
 
7724
  rm -f conftest.er1
 
7725
  cat conftest.err >&5
7197
7726
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198
7727
  (exit $ac_status); } &&
7199
 
         { ac_try='test -s conftest$ac_exeext'
 
7728
         { ac_try='test -z "$ac_c_werror_flag"
 
7729
                         || test ! -s conftest.err'
 
7730
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7731
  (eval $ac_try) 2>&5
 
7732
  ac_status=$?
 
7733
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7734
  (exit $ac_status); }; } &&
 
7735
         { ac_try='test -s conftest$ac_exeext'
7200
7736
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7201
7737
  (eval $ac_try) 2>&5
7202
7738
  ac_status=$?
7209
7745
 
7210
7746
ac_cv_lib_socket_connect=no
7211
7747
fi
7212
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7748
rm -f conftest.err conftest.$ac_objext \
 
7749
      conftest$ac_exeext conftest.$ac_ext
7213
7750
LIBS=$ac_check_lib_save_LIBS
7214
7751
fi
7215
7752
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7231
7768
if test $USENSL != yes; then
7232
7769
        LIBS="$LIBS $NETLIBS"
7233
7770
        cat >conftest.$ac_ext <<_ACEOF
7234
 
#line $LINENO "configure"
7235
7771
/* confdefs.h.  */
7236
7772
_ACEOF
7237
7773
cat confdefs.h >>conftest.$ac_ext
7255
7791
_ACEOF
7256
7792
rm -f conftest.$ac_objext conftest$ac_exeext
7257
7793
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7258
 
  (eval $ac_link) 2>&5
 
7794
  (eval $ac_link) 2>conftest.er1
7259
7795
  ac_status=$?
 
7796
  grep -v '^ *+' conftest.er1 >conftest.err
 
7797
  rm -f conftest.er1
 
7798
  cat conftest.err >&5
7260
7799
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261
7800
  (exit $ac_status); } &&
7262
 
         { ac_try='test -s conftest$ac_exeext'
 
7801
         { ac_try='test -z "$ac_c_werror_flag"
 
7802
                         || test ! -s conftest.err'
 
7803
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7804
  (eval $ac_try) 2>&5
 
7805
  ac_status=$?
 
7806
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7807
  (exit $ac_status); }; } &&
 
7808
         { ac_try='test -s conftest$ac_exeext'
7263
7809
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7264
7810
  (eval $ac_try) 2>&5
7265
7811
  ac_status=$?
7279
7825
  ac_check_lib_save_LIBS=$LIBS
7280
7826
LIBS="-lnsl  $LIBS"
7281
7827
cat >conftest.$ac_ext <<_ACEOF
7282
 
#line $LINENO "configure"
7283
7828
/* confdefs.h.  */
7284
7829
_ACEOF
7285
7830
cat confdefs.h >>conftest.$ac_ext
7303
7848
_ACEOF
7304
7849
rm -f conftest.$ac_objext conftest$ac_exeext
7305
7850
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7306
 
  (eval $ac_link) 2>&5
 
7851
  (eval $ac_link) 2>conftest.er1
7307
7852
  ac_status=$?
 
7853
  grep -v '^ *+' conftest.er1 >conftest.err
 
7854
  rm -f conftest.er1
 
7855
  cat conftest.err >&5
7308
7856
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7309
7857
  (exit $ac_status); } &&
7310
 
         { ac_try='test -s conftest$ac_exeext'
 
7858
         { ac_try='test -z "$ac_c_werror_flag"
 
7859
                         || test ! -s conftest.err'
 
7860
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7861
  (eval $ac_try) 2>&5
 
7862
  ac_status=$?
 
7863
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7864
  (exit $ac_status); }; } &&
 
7865
         { ac_try='test -s conftest$ac_exeext'
7311
7866
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7312
7867
  (eval $ac_try) 2>&5
7313
7868
  ac_status=$?
7320
7875
 
7321
7876
ac_cv_lib_nsl_inet_addr=no
7322
7877
fi
7323
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7878
rm -f conftest.err conftest.$ac_objext \
 
7879
      conftest$ac_exeext conftest.$ac_ext
7324
7880
LIBS=$ac_check_lib_save_LIBS
7325
7881
fi
7326
7882
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
7336
7892
                fi
7337
7893
 
7338
7894
fi
7339
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7895
rm -f conftest.err conftest.$ac_objext \
 
7896
      conftest$ac_exeext conftest.$ac_ext
7340
7897
fi
7341
7898
 
7342
7899
LIBS="$saveLIBS"
7392
7949
  echo $ECHO_N "(cached) $ECHO_C" >&6
7393
7950
else
7394
7951
  cat >conftest.$ac_ext <<_ACEOF
7395
 
#line $LINENO "configure"
7396
7952
/* confdefs.h.  */
7397
7953
_ACEOF
7398
7954
cat confdefs.h >>conftest.$ac_ext
7399
7955
cat >>conftest.$ac_ext <<_ACEOF
7400
7956
/* end confdefs.h.  */
 
7957
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
7958
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
7959
#define $ac_func innocuous_$ac_func
 
7960
 
7401
7961
/* System header to define __stub macros and hopefully few prototypes,
7402
7962
    which can conflict with char $ac_func (); below.
7403
7963
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7404
7964
    <limits.h> exists even on freestanding compilers.  */
 
7965
 
7405
7966
#ifdef __STDC__
7406
7967
# include <limits.h>
7407
7968
#else
7408
7969
# include <assert.h>
7409
7970
#endif
 
7971
 
 
7972
#undef $ac_func
 
7973
 
7410
7974
/* Override any gcc2 internal prototype to avoid an error.  */
7411
7975
#ifdef __cplusplus
7412
7976
extern "C"
7437
8001
_ACEOF
7438
8002
rm -f conftest.$ac_objext conftest$ac_exeext
7439
8003
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7440
 
  (eval $ac_link) 2>&5
 
8004
  (eval $ac_link) 2>conftest.er1
7441
8005
  ac_status=$?
 
8006
  grep -v '^ *+' conftest.er1 >conftest.err
 
8007
  rm -f conftest.er1
 
8008
  cat conftest.err >&5
7442
8009
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443
8010
  (exit $ac_status); } &&
7444
 
         { ac_try='test -s conftest$ac_exeext'
 
8011
         { ac_try='test -z "$ac_c_werror_flag"
 
8012
                         || test ! -s conftest.err'
 
8013
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8014
  (eval $ac_try) 2>&5
 
8015
  ac_status=$?
 
8016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8017
  (exit $ac_status); }; } &&
 
8018
         { ac_try='test -s conftest$ac_exeext'
7445
8019
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446
8020
  (eval $ac_try) 2>&5
7447
8021
  ac_status=$?
7454
8028
 
7455
8029
eval "$as_ac_var=no"
7456
8030
fi
7457
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8031
rm -f conftest.err conftest.$ac_objext \
 
8032
      conftest$ac_exeext conftest.$ac_ext
7458
8033
fi
7459
8034
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7460
8035
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7630
8205
      # `set' does not quote correctly, so add quotes (double-quote
7631
8206
      # substitution turns \\\\ into \\, and sed turns \\ into \).
7632
8207
      sed -n \
7633
 
        "s/'/'\\\\''/g;
7634
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
8208
        "s/'/'\\\\''/g;
 
8209
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7635
8210
      ;;
7636
8211
    *)
7637
8212
      # `set' quotes correctly as required by POSIX, so do not add quotes.
7638
8213
      sed -n \
7639
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
8214
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7640
8215
      ;;
7641
8216
    esac;
7642
8217
} |
7666
8241
# trailing colons and then remove the whole line if VPATH becomes empty
7667
8242
# (actually we leave an empty line to preserve line numbers).
7668
8243
if test "x$srcdir" = x.; then
7669
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
8244
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
7670
8245
s/:*\$(srcdir):*/:/;
7671
8246
s/:*\${srcdir}:*/:/;
7672
8247
s/:*@srcdir@:*/:/;
7673
 
s/^\([^=]*=[    ]*\):*/\1/;
 
8248
s/^\([^=]*=[     ]*\):*/\1/;
7674
8249
s/:*$//;
7675
 
s/^[^=]*=[      ]*$//;
 
8250
s/^[^=]*=[       ]*$//;
7676
8251
}'
7677
8252
fi
7678
8253
 
7683
8258
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7684
8259
  # 1. Remove the extension, and $U if already installed.
7685
8260
  ac_i=`echo "$ac_i" |
7686
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
8261
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7687
8262
  # 2. Add them.
7688
8263
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7689
8264
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7797
8372
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7798
8373
  set -o posix
7799
8374
fi
 
8375
DUALCASE=1; export DUALCASE # for MKS sh
7800
8376
 
7801
8377
# Support unset when possible.
7802
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
8378
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7803
8379
  as_unset=unset
7804
8380
else
7805
8381
  as_unset=false
7818
8394
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7819
8395
  LC_TELEPHONE LC_TIME
7820
8396
do
7821
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
8397
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7822
8398
    eval $as_var=C; export $as_var
7823
8399
  else
7824
8400
    $as_unset $as_var
7997
8573
if mkdir -p . 2>/dev/null; then
7998
8574
  as_mkdir_p=:
7999
8575
else
 
8576
  test -d ./-p && rmdir ./-p
8000
8577
  as_mkdir_p=false
8001
8578
fi
8002
8579
 
8003
8580
as_executable_p="test -f"
8004
8581
 
8005
8582
# Sed expression to map a string onto a valid CPP name.
8006
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
8583
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8007
8584
 
8008
8585
# Sed expression to map a string onto a valid variable name.
8009
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
8586
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8010
8587
 
8011
8588
 
8012
8589
# IFS
8033
8610
cat >&5 <<_CSEOF
8034
8611
 
8035
8612
This file was extended by $as_me, which was
8036
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
8613
generated by GNU Autoconf 2.59.  Invocation command line was
8037
8614
 
8038
8615
  CONFIG_FILES    = $CONFIG_FILES
8039
8616
  CONFIG_HEADERS  = $CONFIG_HEADERS
8077
8654
  -d, --debug      don't remove temporary files
8078
8655
      --recheck    update $as_me by reconfiguring in the same conditions
8079
8656
  --file=FILE[:TEMPLATE]
8080
 
                   instantiate the configuration file FILE
 
8657
                   instantiate the configuration file FILE
8081
8658
  --header=FILE[:TEMPLATE]
8082
 
                   instantiate the configuration header FILE
 
8659
                   instantiate the configuration header FILE
8083
8660
 
8084
8661
Configuration files:
8085
8662
$config_files
8096
8673
cat >>$CONFIG_STATUS <<_ACEOF
8097
8674
ac_cs_version="\\
8098
8675
config.status
8099
 
configured by $0, generated by GNU Autoconf 2.57,
 
8676
configured by $0, generated by GNU Autoconf 2.59,
8100
8677
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8101
8678
 
8102
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8103
 
Free Software Foundation, Inc.
 
8679
Copyright (C) 2003 Free Software Foundation, Inc.
8104
8680
This config.status script is free software; the Free Software Foundation
8105
8681
gives unlimited permission to copy, distribute and modify it."
8106
8682
srcdir=$srcdir
8313
8889
s,@STRIP@,$STRIP,;t t
8314
8890
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8315
8891
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
8892
s,@mkdir_p@,$mkdir_p,;t t
8316
8893
s,@AWK@,$AWK,;t t
8317
8894
s,@SET_MAKE@,$SET_MAKE,;t t
8318
8895
s,@am__leading_dot@,$am__leading_dot,;t t
8418
8995
      (echo ':t
8419
8996
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8420
8997
      if test -z "$ac_sed_cmds"; then
8421
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
8998
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8422
8999
      else
8423
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
9000
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8424
9001
      fi
8425
9002
      ac_sed_frag=`expr $ac_sed_frag + 1`
8426
9003
      ac_beg=$ac_end
8438
9015
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8439
9016
  case $ac_file in
8440
9017
  - | *:- | *:-:* ) # input from stdin
8441
 
        cat >$tmp/stdin
8442
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8443
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
9018
        cat >$tmp/stdin
 
9019
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
9020
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8444
9021
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8445
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
9022
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8446
9023
  * )   ac_file_in=$ac_file.in ;;
8447
9024
  esac
8448
9025
 
8449
9026
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8450
9027
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8451
9028
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8452
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
8453
 
         X"$ac_file" : 'X\(//\)$' \| \
8454
 
         X"$ac_file" : 'X\(/\)' \| \
8455
 
         .     : '\(.\)' 2>/dev/null ||
 
9029
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
9030
         X"$ac_file" : 'X\(//\)$' \| \
 
9031
         X"$ac_file" : 'X\(/\)' \| \
 
9032
         .     : '\(.\)' 2>/dev/null ||
8456
9033
echo X"$ac_file" |
8457
9034
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8458
9035
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8468
9045
      as_dirs="$as_dir $as_dirs"
8469
9046
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
8470
9047
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8471
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
8472
 
         X"$as_dir" : 'X\(//\)$' \| \
8473
 
         X"$as_dir" : 'X\(/\)' \| \
8474
 
         .     : '\(.\)' 2>/dev/null ||
 
9048
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
9049
         X"$as_dir" : 'X\(//\)$' \| \
 
9050
         X"$as_dir" : 'X\(/\)' \| \
 
9051
         .     : '\(.\)' 2>/dev/null ||
8475
9052
echo X"$as_dir" |
8476
9053
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8477
9054
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8509
9086
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8510
9087
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
8511
9088
esac
8512
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8513
 
# absolute.
8514
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
8515
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
8516
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8517
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
9089
 
 
9090
# Do not use `cd foo && pwd` to compute absolute paths, because
 
9091
# the directories may not exist.
 
9092
case `pwd` in
 
9093
.) ac_abs_builddir="$ac_dir";;
 
9094
*)
 
9095
  case "$ac_dir" in
 
9096
  .) ac_abs_builddir=`pwd`;;
 
9097
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
9098
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
9099
  esac;;
 
9100
esac
 
9101
case $ac_abs_builddir in
 
9102
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
9103
*)
 
9104
  case ${ac_top_builddir}. in
 
9105
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
9106
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
9107
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
9108
  esac;;
 
9109
esac
 
9110
case $ac_abs_builddir in
 
9111
.) ac_abs_srcdir=$ac_srcdir;;
 
9112
*)
 
9113
  case $ac_srcdir in
 
9114
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
9115
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
9116
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
9117
  esac;;
 
9118
esac
 
9119
case $ac_abs_builddir in
 
9120
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
9121
*)
 
9122
  case $ac_top_srcdir in
 
9123
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
9124
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
9125
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
9126
  esac;;
 
9127
esac
8518
9128
 
8519
9129
 
8520
9130
  case $INSTALL in
8536
9146
    configure_input="$ac_file.  "
8537
9147
  fi
8538
9148
  configure_input=$configure_input"Generated from `echo $ac_file_in |
8539
 
                                     sed 's,.*/,,'` by configure."
 
9149
                                     sed 's,.*/,,'` by configure."
8540
9150
 
8541
9151
  # First look for the input files in the build tree, otherwise in the
8542
9152
  # src tree.
8545
9155
      case $f in
8546
9156
      -) echo $tmp/stdin ;;
8547
9157
      [\\/$]*)
8548
 
         # Absolute (can't be DOS-style, as IFS=:)
8549
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
9158
         # Absolute (can't be DOS-style, as IFS=:)
 
9159
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8550
9160
echo "$as_me: error: cannot find input file: $f" >&2;}
8551
9161
   { (exit 1); exit 1; }; }
8552
 
         echo $f;;
 
9162
         echo "$f";;
8553
9163
      *) # Relative
8554
 
         if test -f "$f"; then
8555
 
           # Build tree
8556
 
           echo $f
8557
 
         elif test -f "$srcdir/$f"; then
8558
 
           # Source tree
8559
 
           echo $srcdir/$f
8560
 
         else
8561
 
           # /dev/null tree
8562
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
9164
         if test -f "$f"; then
 
9165
           # Build tree
 
9166
           echo "$f"
 
9167
         elif test -f "$srcdir/$f"; then
 
9168
           # Source tree
 
9169
           echo "$srcdir/$f"
 
9170
         else
 
9171
           # /dev/null tree
 
9172
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8563
9173
echo "$as_me: error: cannot find input file: $f" >&2;}
8564
9174
   { (exit 1); exit 1; }; }
8565
 
         fi;;
 
9175
         fi;;
8566
9176
      esac
8567
9177
    done` || { (exit 1); exit 1; }
8568
9178
_ACEOF
8604
9214
# NAME is the cpp macro being defined and VALUE is the value it is being given.
8605
9215
#
8606
9216
# ac_d sets the value in "#define NAME VALUE" lines.
8607
 
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
8608
 
ac_dB='[        ].*$,\1#\2'
 
9217
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
 
9218
ac_dB='[         ].*$,\1#\2'
8609
9219
ac_dC=' '
8610
9220
ac_dD=',;t'
8611
9221
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8612
 
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
9222
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
8613
9223
ac_uB='$,\1#\2define\3'
8614
9224
ac_uC=' '
8615
9225
ac_uD=',;t'
8618
9228
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8619
9229
  case $ac_file in
8620
9230
  - | *:- | *:-:* ) # input from stdin
8621
 
        cat >$tmp/stdin
8622
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8623
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
9231
        cat >$tmp/stdin
 
9232
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
9233
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8624
9234
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8625
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
9235
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8626
9236
  * )   ac_file_in=$ac_file.in ;;
8627
9237
  esac
8628
9238
 
8636
9246
      case $f in
8637
9247
      -) echo $tmp/stdin ;;
8638
9248
      [\\/$]*)
8639
 
         # Absolute (can't be DOS-style, as IFS=:)
8640
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
9249
         # Absolute (can't be DOS-style, as IFS=:)
 
9250
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8641
9251
echo "$as_me: error: cannot find input file: $f" >&2;}
8642
9252
   { (exit 1); exit 1; }; }
8643
 
         echo $f;;
 
9253
         # Do quote $f, to prevent DOS paths from being IFS'd.
 
9254
         echo "$f";;
8644
9255
      *) # Relative
8645
 
         if test -f "$f"; then
8646
 
           # Build tree
8647
 
           echo $f
8648
 
         elif test -f "$srcdir/$f"; then
8649
 
           # Source tree
8650
 
           echo $srcdir/$f
8651
 
         else
8652
 
           # /dev/null tree
8653
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
9256
         if test -f "$f"; then
 
9257
           # Build tree
 
9258
           echo "$f"
 
9259
         elif test -f "$srcdir/$f"; then
 
9260
           # Source tree
 
9261
           echo "$srcdir/$f"
 
9262
         else
 
9263
           # /dev/null tree
 
9264
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8654
9265
echo "$as_me: error: cannot find input file: $f" >&2;}
8655
9266
   { (exit 1); exit 1; }; }
8656
 
         fi;;
 
9267
         fi;;
8657
9268
      esac
8658
9269
    done` || { (exit 1); exit 1; }
8659
9270
  # Remove the trailing spaces.
8660
 
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
 
9271
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
8661
9272
 
8662
9273
_ACEOF
8663
9274
 
8680
9291
s,[\\$`],\\&,g
8681
9292
t clear
8682
9293
: clear
8683
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
9294
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8684
9295
t end
8685
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
9296
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8686
9297
: end
8687
9298
_ACEOF
8688
9299
# If some macros were called several times there might be several times
8696
9307
# example, in the case of _POSIX_SOURCE, which is predefined and required
8697
9308
# on some systems where configure will not decide to define it.
8698
9309
cat >>conftest.undefs <<\_ACEOF
8699
 
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
9310
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8700
9311
_ACEOF
8701
9312
 
8702
9313
# Break up conftest.defines because some shells have a limit on the size
8703
9314
# of here documents, and old seds have small limits too (100 cmds).
8704
9315
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8705
 
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
9316
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8706
9317
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8707
9318
echo '  :' >>$CONFIG_STATUS
8708
9319
rm -f conftest.tail
8711
9322
  # Write a limited-size here document to $tmp/defines.sed.
8712
9323
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8713
9324
  # Speed up: don't consider the non `#define' lines.
8714
 
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
9325
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
8715
9326
  # Work around the forget-to-reset-the-flag bug.
8716
9327
  echo 't clr' >>$CONFIG_STATUS
8717
9328
  echo ': clr' >>$CONFIG_STATUS
8738
9349
  # Write a limited-size here document to $tmp/undefs.sed.
8739
9350
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8740
9351
  # Speed up: don't consider the non `#undef'
8741
 
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
9352
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
8742
9353
  # Work around the forget-to-reset-the-flag bug.
8743
9354
  echo 't clr' >>$CONFIG_STATUS
8744
9355
  echo ': clr' >>$CONFIG_STATUS
8772
9383
    else
8773
9384
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8774
9385
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8775
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
8776
 
         X"$ac_file" : 'X\(//\)$' \| \
8777
 
         X"$ac_file" : 'X\(/\)' \| \
8778
 
         .     : '\(.\)' 2>/dev/null ||
 
9386
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
9387
         X"$ac_file" : 'X\(//\)$' \| \
 
9388
         X"$ac_file" : 'X\(/\)' \| \
 
9389
         .     : '\(.\)' 2>/dev/null ||
8779
9390
echo X"$ac_file" |
8780
9391
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8781
9392
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8791
9402
      as_dirs="$as_dir $as_dirs"
8792
9403
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
8793
9404
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8794
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
8795
 
         X"$as_dir" : 'X\(//\)$' \| \
8796
 
         X"$as_dir" : 'X\(/\)' \| \
8797
 
         .     : '\(.\)' 2>/dev/null ||
 
9405
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
9406
         X"$as_dir" : 'X\(//\)$' \| \
 
9407
         X"$as_dir" : 'X\(/\)' \| \
 
9408
         .     : '\(.\)' 2>/dev/null ||
8798
9409
echo X"$as_dir" |
8799
9410
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8800
9411
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8826
9437
done
8827
9438
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8828
9439
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8829
 
         X$ac_file : 'X\(//\)[^/]' \| \
8830
 
         X$ac_file : 'X\(//\)$' \| \
8831
 
         X$ac_file : 'X\(/\)' \| \
8832
 
         .     : '\(.\)' 2>/dev/null ||
 
9440
         X$ac_file : 'X\(//\)[^/]' \| \
 
9441
         X$ac_file : 'X\(//\)$' \| \
 
9442
         X$ac_file : 'X\(/\)' \| \
 
9443
         .     : '\(.\)' 2>/dev/null ||
8833
9444
echo X$ac_file |
8834
9445
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8835
9446
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8848
9459
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
8849
9460
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
8850
9461
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8851
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
8852
 
         X"$ac_dest" : 'X\(//\)$' \| \
8853
 
         X"$ac_dest" : 'X\(/\)' \| \
8854
 
         .     : '\(.\)' 2>/dev/null ||
 
9462
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
9463
         X"$ac_dest" : 'X\(//\)$' \| \
 
9464
         X"$ac_dest" : 'X\(/\)' \| \
 
9465
         .     : '\(.\)' 2>/dev/null ||
8855
9466
echo X"$ac_dest" |
8856
9467
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8857
9468
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8858
9469
          /^X\(\/\/\)$/{ s//\1/; q; }
8859
9470
          /^X\(\/\).*/{ s//\1/; q; }
8860
9471
          s/.*/./; q'`
 
9472
  { if $as_mkdir_p; then
 
9473
    mkdir -p "$ac_dir"
 
9474
  else
 
9475
    as_dir="$ac_dir"
 
9476
    as_dirs=
 
9477
    while test ! -d "$as_dir"; do
 
9478
      as_dirs="$as_dir $as_dirs"
 
9479
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
9480
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
9481
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
9482
         X"$as_dir" : 'X\(//\)$' \| \
 
9483
         X"$as_dir" : 'X\(/\)' \| \
 
9484
         .     : '\(.\)' 2>/dev/null ||
 
9485
echo X"$as_dir" |
 
9486
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
9487
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
9488
          /^X\(\/\/\)$/{ s//\1/; q; }
 
9489
          /^X\(\/\).*/{ s//\1/; q; }
 
9490
          s/.*/./; q'`
 
9491
    done
 
9492
    test ! -n "$as_dirs" || mkdir $as_dirs
 
9493
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
9494
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
9495
   { (exit 1); exit 1; }; }; }
 
9496
 
8861
9497
  ac_builddir=.
8862
9498
 
8863
9499
if test "$ac_dir" != .; then
8883
9519
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8884
9520
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
8885
9521
esac
8886
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8887
 
# absolute.
8888
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
8889
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
8890
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8891
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
9522
 
 
9523
# Do not use `cd foo && pwd` to compute absolute paths, because
 
9524
# the directories may not exist.
 
9525
case `pwd` in
 
9526
.) ac_abs_builddir="$ac_dir";;
 
9527
*)
 
9528
  case "$ac_dir" in
 
9529
  .) ac_abs_builddir=`pwd`;;
 
9530
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
9531
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
9532
  esac;;
 
9533
esac
 
9534
case $ac_abs_builddir in
 
9535
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
9536
*)
 
9537
  case ${ac_top_builddir}. in
 
9538
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
9539
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
9540
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
9541
  esac;;
 
9542
esac
 
9543
case $ac_abs_builddir in
 
9544
.) ac_abs_srcdir=$ac_srcdir;;
 
9545
*)
 
9546
  case $ac_srcdir in
 
9547
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
9548
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
9549
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
9550
  esac;;
 
9551
esac
 
9552
case $ac_abs_builddir in
 
9553
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
9554
*)
 
9555
  case $ac_top_srcdir in
 
9556
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
9557
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
9558
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
9559
  esac;;
 
9560
esac
8892
9561
 
8893
9562
 
8894
9563
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8906
9575
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8907
9576
    dirpart=`(dirname "$mf") 2>/dev/null ||
8908
9577
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8909
 
         X"$mf" : 'X\(//\)[^/]' \| \
8910
 
         X"$mf" : 'X\(//\)$' \| \
8911
 
         X"$mf" : 'X\(/\)' \| \
8912
 
         .     : '\(.\)' 2>/dev/null ||
 
9578
         X"$mf" : 'X\(//\)[^/]' \| \
 
9579
         X"$mf" : 'X\(//\)$' \| \
 
9580
         X"$mf" : 'X\(/\)' \| \
 
9581
         .     : '\(.\)' 2>/dev/null ||
8913
9582
echo X"$mf" |
8914
9583
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8915
9584
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8922
9591
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
8923
9592
  # Extract the definition of DEP_FILES from the Makefile without
8924
9593
  # running `make'.
8925
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
9594
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8926
9595
  test -z "$DEPDIR" && continue
8927
9596
  # When using ansi2knr, U may be empty or an underscore; expand it
8928
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
 
9597
  U=`sed -n 's/^U = //p' < "$mf"`
8929
9598
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
8930
9599
  # We invoke sed twice because it is the simplest approach to
8931
9600
  # changing $(DEPDIR) to its actual value in the expansion.
8932
 
  for file in `sed -n -e '
 
9601
  for file in `sed -n '
8933
9602
    /^DEP_FILES = .*\\\\$/ {
8934
9603
      s/^DEP_FILES = //
8935
9604
      :loop
8945
9614
    test -f "$dirpart/$file" && continue
8946
9615
    fdir=`(dirname "$file") 2>/dev/null ||
8947
9616
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8948
 
         X"$file" : 'X\(//\)[^/]' \| \
8949
 
         X"$file" : 'X\(//\)$' \| \
8950
 
         X"$file" : 'X\(/\)' \| \
8951
 
         .     : '\(.\)' 2>/dev/null ||
 
9617
         X"$file" : 'X\(//\)[^/]' \| \
 
9618
         X"$file" : 'X\(//\)$' \| \
 
9619
         X"$file" : 'X\(/\)' \| \
 
9620
         .     : '\(.\)' 2>/dev/null ||
8952
9621
echo X"$file" |
8953
9622
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8954
9623
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8964
9633
      as_dirs="$as_dir $as_dirs"
8965
9634
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
8966
9635
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8967
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
8968
 
         X"$as_dir" : 'X\(//\)$' \| \
8969
 
         X"$as_dir" : 'X\(/\)' \| \
8970
 
         .     : '\(.\)' 2>/dev/null ||
 
9636
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
9637
         X"$as_dir" : 'X\(//\)$' \| \
 
9638
         X"$as_dir" : 'X\(/\)' \| \
 
9639
         .     : '\(.\)' 2>/dev/null ||
8971
9640
echo X"$as_dir" |
8972
9641
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8973
9642
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }