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

« back to all changes in this revision

Viewing changes to courier/filters/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
309
310
#endif"
310
311
 
311
312
ac_subdirs_all="$ac_subdirs_all libfilter perlfilter"
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 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 LN_S RANLIB ac_ct_RANLIB PERL CPP EGREP NETLIBS piddir mailuid mailgid mailuser mailgroup subdirs HAVE_SGML_TRUE HAVE_SGML_FALSE LIBOBJS LTLIBOBJS'
 
313
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 LN_S RANLIB ac_ct_RANLIB PERL CPP EGREP NETLIBS piddir mailuid mailgid mailuser mailgroup subdirs HAVE_SGML_TRUE HAVE_SGML_FALSE LIBOBJS LTLIBOBJS'
313
314
ac_subst_files=''
314
315
 
315
316
# Initialize some variables set by options.
668
669
 
669
670
# Be sure to have absolute paths.
670
671
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671
 
              localstatedir libdir includedir oldincludedir infodir mandir
 
672
              localstatedir libdir includedir oldincludedir infodir mandir
672
673
do
673
674
  eval ac_val=$`echo $ac_var`
674
675
  case $ac_val in
708
709
  # Try the directory containing this script, then its parent.
709
710
  ac_confdir=`(dirname "$0") 2>/dev/null ||
710
711
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711
 
         X"$0" : 'X\(//\)[^/]' \| \
712
 
         X"$0" : 'X\(//\)$' \| \
713
 
         X"$0" : 'X\(/\)' \| \
714
 
         .     : '\(.\)' 2>/dev/null ||
 
712
         X"$0" : 'X\(//\)[^/]' \| \
 
713
         X"$0" : 'X\(//\)$' \| \
 
714
         X"$0" : 'X\(/\)' \| \
 
715
         .     : '\(.\)' 2>/dev/null ||
715
716
echo X"$0" |
716
717
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717
718
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
803
804
  cat <<_ACEOF
804
805
Installation directories:
805
806
  --prefix=PREFIX         install architecture-independent files in PREFIX
806
 
                          [$ac_default_prefix]
 
807
                          [$ac_default_prefix]
807
808
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
808
 
                          [PREFIX]
 
809
                          [PREFIX]
809
810
 
810
811
By default, \`make install' will install all the files in
811
812
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
845
846
Optional Features:
846
847
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
847
848
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
848
 
  --disable-dependency-tracking Speeds up one-time builds
849
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
849
  --disable-dependency-tracking  speeds up one-time build
 
850
  --enable-dependency-tracking   do not reject slow dependency extractors
850
851
 
851
852
Optional Packages:
852
853
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
899
900
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
900
901
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
901
902
esac
902
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
903
 
# absolute.
904
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
905
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
906
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
907
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
903
 
 
904
# Do not use `cd foo && pwd` to compute absolute paths, because
 
905
# the directories may not exist.
 
906
case `pwd` in
 
907
.) ac_abs_builddir="$ac_dir";;
 
908
*)
 
909
  case "$ac_dir" in
 
910
  .) ac_abs_builddir=`pwd`;;
 
911
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
912
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
913
  esac;;
 
914
esac
 
915
case $ac_abs_builddir in
 
916
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
917
*)
 
918
  case ${ac_top_builddir}. in
 
919
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
920
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
921
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
922
  esac;;
 
923
esac
 
924
case $ac_abs_builddir in
 
925
.) ac_abs_srcdir=$ac_srcdir;;
 
926
*)
 
927
  case $ac_srcdir in
 
928
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
929
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
930
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
931
  esac;;
 
932
esac
 
933
case $ac_abs_builddir in
 
934
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
935
*)
 
936
  case $ac_top_srcdir in
 
937
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
938
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
939
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
940
  esac;;
 
941
esac
908
942
 
909
943
    cd $ac_dir
910
944
    # Check for guested configure; otherwise get Cygnus style configure.
915
949
      echo
916
950
      $SHELL $ac_srcdir/configure  --help=recursive
917
951
    elif test -f $ac_srcdir/configure.ac ||
918
 
           test -f $ac_srcdir/configure.in; then
 
952
           test -f $ac_srcdir/configure.in; then
919
953
      echo
920
954
      $ac_configure --help
921
955
    else
929
963
if $ac_init_version; then
930
964
  cat <<\_ACEOF
931
965
 
932
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
933
 
Free Software Foundation, Inc.
 
966
Copyright (C) 2003 Free Software Foundation, Inc.
934
967
This configure script is free software; the Free Software Foundation
935
968
gives unlimited permission to copy, distribute and modify it.
936
969
_ACEOF
942
975
running configure, to aid debugging if configure makes a mistake.
943
976
 
944
977
It was created by $as_me, which was
945
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
978
generated by GNU Autoconf 2.59.  Invocation command line was
946
979
 
947
980
  $ $0 $@
948
981
 
1019
1052
    2)
1020
1053
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1021
1054
      if test $ac_must_keep_next = true; then
1022
 
        ac_must_keep_next=false # Got value, back to normal.
 
1055
        ac_must_keep_next=false # Got value, back to normal.
1023
1056
      else
1024
 
        case $ac_arg in
1025
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1026
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1027
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1028
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1029
 
            case "$ac_configure_args0 " in
1030
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1031
 
            esac
1032
 
            ;;
1033
 
          -* ) ac_must_keep_next=true ;;
1034
 
        esac
 
1057
        case $ac_arg in
 
1058
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1059
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1060
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1061
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1062
            case "$ac_configure_args0 " in
 
1063
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1064
            esac
 
1065
            ;;
 
1066
          -* ) ac_must_keep_next=true ;;
 
1067
        esac
1035
1068
      fi
1036
1069
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1037
1070
      # Get rid of the leading space.
1065
1098
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1066
1099
    *ac_space=\ *)
1067
1100
      sed -n \
1068
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1069
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1101
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1102
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1070
1103
      ;;
1071
1104
    *)
1072
1105
      sed -n \
1073
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1106
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1074
1107
      ;;
1075
1108
    esac;
1076
1109
}
1099
1132
      for ac_var in $ac_subst_files
1100
1133
      do
1101
1134
        eval ac_val=$`echo $ac_var`
1102
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1135
        echo "$ac_var='"'"'$ac_val'"'"'"
1103
1136
      done | sort
1104
1137
      echo
1105
1138
    fi
1118
1151
      echo "$as_me: caught signal $ac_signal"
1119
1152
    echo "$as_me: exit $exit_status"
1120
1153
  } >&5
1121
 
  rm -f core core.* *.core &&
 
1154
  rm -f core *.core &&
1122
1155
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1123
1156
    exit $exit_status
1124
1157
     ' 0
1198
1231
# value.
1199
1232
ac_cache_corrupted=false
1200
1233
for ac_var in `(set) 2>&1 |
1201
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1234
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1202
1235
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1203
1236
  eval ac_new_set=\$ac_env_${ac_var}_set
1204
1237
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1215
1248
    ,);;
1216
1249
    *)
1217
1250
      if test "x$ac_old_val" != "x$ac_new_val"; then
1218
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1251
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1219
1252
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1220
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1253
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1221
1254
echo "$as_me:   former value:  $ac_old_val" >&2;}
1222
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1255
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1223
1256
echo "$as_me:   current value: $ac_new_val" >&2;}
1224
 
        ac_cache_corrupted=:
 
1257
        ac_cache_corrupted=:
1225
1258
      fi;;
1226
1259
  esac
1227
1260
  # Pass precious variables to config.status.
1270
1303
 
1271
1304
 
1272
1305
LPATH="$PATH:/usr/local/bin"
1273
 
am__api_version="1.7"
 
1306
am__api_version="1.8"
1274
1307
ac_aux_dir=
1275
1308
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1276
1309
  if test -f $ac_dir/install-sh; then
1307
1340
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1308
1341
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1309
1342
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1343
# OS/2's system install, which has a completely different semantic
1310
1344
# ./install, which can be erroneously created by make from ./install.sh.
1311
1345
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1312
1346
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1323
1357
case $as_dir/ in
1324
1358
  ./ | .// | /cC/* | \
1325
1359
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1360
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1326
1361
  /usr/ucb/* ) ;;
1327
1362
  *)
1328
1363
    # OSF1 and SCO ODT 3.0 have their own names for install.
1330
1365
    # by default.
1331
1366
    for ac_prog in ginstall scoinst install; do
1332
1367
      for ac_exec_ext in '' $ac_executable_extensions; do
1333
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1334
 
          if test $ac_prog = install &&
1335
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1336
 
            # AIX install.  It has an incompatible calling convention.
1337
 
            :
1338
 
          elif test $ac_prog = install &&
1339
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1340
 
            # program-specific install script used by HP pwplus--don't use.
1341
 
            :
1342
 
          else
1343
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1344
 
            break 3
1345
 
          fi
1346
 
        fi
 
1368
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1369
          if test $ac_prog = install &&
 
1370
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1371
            # AIX install.  It has an incompatible calling convention.
 
1372
            :
 
1373
          elif test $ac_prog = install &&
 
1374
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1375
            # program-specific install script used by HP pwplus--don't use.
 
1376
            :
 
1377
          else
 
1378
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1379
            break 3
 
1380
          fi
 
1381
        fi
1347
1382
      done
1348
1383
    done
1349
1384
    ;;
1431
1466
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1432
1467
rm conftest.sed
1433
1468
 
1434
 
 
1435
1469
# expand $ac_aux_dir to an absolute path
1436
1470
am_aux_dir=`cd $ac_aux_dir && pwd`
1437
1471
 
1445
1479
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1446
1480
fi
1447
1481
 
 
1482
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1483
  # Keeping the `.' argument allows $(mkdir_p) to be used without
 
1484
  # argument.  Indeed, we sometimes output rules like
 
1485
  #   $(mkdir_p) $(somedir)
 
1486
  # where $(somedir) is conditionally defined.
 
1487
  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
 
1488
  # expensive solution, as it forces Make to start a sub-shell.)
 
1489
  mkdir_p='mkdir -p -- .'
 
1490
else
 
1491
  # On NextStep and OpenStep, the `mkdir' command does not
 
1492
  # recognize any option.  It will interpret all options as
 
1493
  # directories to create, and then abort because `.' already
 
1494
  # exists.
 
1495
  for d in ./-p ./--version;
 
1496
  do
 
1497
    test -d $d && rmdir $d
 
1498
  done
 
1499
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1500
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1501
    mkdir_p='$(mkinstalldirs)'
 
1502
  else
 
1503
    mkdir_p='$(install_sh) -d'
 
1504
  fi
 
1505
fi
 
1506
 
1448
1507
for ac_prog in gawk mawk nawk awk
1449
1508
do
1450
1509
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1487
1546
 
1488
1547
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1489
1548
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1490
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1549
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1491
1550
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1492
1551
  echo $ECHO_N "(cached) $ECHO_C" >&6
1493
1552
else
1523
1582
fi
1524
1583
rmdir .tst 2>/dev/null
1525
1584
 
1526
 
 # test to see if srcdir already configured
 
1585
# test to see if srcdir already configured
1527
1586
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1528
1587
   test -f $srcdir/config.status; then
1529
1588
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2039
2098
  (exit $ac_status); }
2040
2099
 
2041
2100
cat >conftest.$ac_ext <<_ACEOF
2042
 
#line $LINENO "configure"
2043
2101
/* confdefs.h.  */
2044
2102
_ACEOF
2045
2103
cat confdefs.h >>conftest.$ac_ext
2059
2117
# Try to create an executable without -o first, disregard a.out.
2060
2118
# It will help us diagnose broken compilers, and finding out an intuition
2061
2119
# of exeext.
2062
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2063
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
2120
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2121
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2064
2122
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2065
2123
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2066
2124
  (eval $ac_link_default) 2>&5
2080
2138
  test -f "$ac_file" || continue
2081
2139
  case $ac_file in
2082
2140
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2083
 
        ;;
 
2141
        ;;
2084
2142
    conftest.$ac_ext )
2085
 
        # This is the source file.
2086
 
        ;;
 
2143
        # This is the source file.
 
2144
        ;;
2087
2145
    [ab].out )
2088
 
        # We found the default executable, but exeext='' is most
2089
 
        # certainly right.
2090
 
        break;;
 
2146
        # We found the default executable, but exeext='' is most
 
2147
        # certainly right.
 
2148
        break;;
2091
2149
    *.* )
2092
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2093
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2094
 
        # but it would be cool to find out if it's true.  Does anybody
2095
 
        # maintain Libtool? --akim.
2096
 
        export ac_cv_exeext
2097
 
        break;;
 
2150
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2151
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2152
        # but it would be cool to find out if it's true.  Does anybody
 
2153
        # maintain Libtool? --akim.
 
2154
        export ac_cv_exeext
 
2155
        break;;
2098
2156
    * )
2099
 
        break;;
 
2157
        break;;
2100
2158
  esac
2101
2159
done
2102
2160
else
2170
2228
  case $ac_file in
2171
2229
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2172
2230
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2173
 
          export ac_cv_exeext
2174
 
          break;;
 
2231
          export ac_cv_exeext
 
2232
          break;;
2175
2233
    * ) break;;
2176
2234
  esac
2177
2235
done
2196
2254
  echo $ECHO_N "(cached) $ECHO_C" >&6
2197
2255
else
2198
2256
  cat >conftest.$ac_ext <<_ACEOF
2199
 
#line $LINENO "configure"
2200
2257
/* confdefs.h.  */
2201
2258
_ACEOF
2202
2259
cat confdefs.h >>conftest.$ac_ext
2247
2304
  echo $ECHO_N "(cached) $ECHO_C" >&6
2248
2305
else
2249
2306
  cat >conftest.$ac_ext <<_ACEOF
2250
 
#line $LINENO "configure"
2251
2307
/* confdefs.h.  */
2252
2308
_ACEOF
2253
2309
cat confdefs.h >>conftest.$ac_ext
2267
2323
_ACEOF
2268
2324
rm -f conftest.$ac_objext
2269
2325
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2270
 
  (eval $ac_compile) 2>&5
 
2326
  (eval $ac_compile) 2>conftest.er1
2271
2327
  ac_status=$?
 
2328
  grep -v '^ *+' conftest.er1 >conftest.err
 
2329
  rm -f conftest.er1
 
2330
  cat conftest.err >&5
2272
2331
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273
2332
  (exit $ac_status); } &&
2274
 
         { ac_try='test -s conftest.$ac_objext'
 
2333
         { ac_try='test -z "$ac_c_werror_flag"
 
2334
                         || test ! -s conftest.err'
 
2335
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2336
  (eval $ac_try) 2>&5
 
2337
  ac_status=$?
 
2338
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2339
  (exit $ac_status); }; } &&
 
2340
         { ac_try='test -s conftest.$ac_objext'
2275
2341
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2276
2342
  (eval $ac_try) 2>&5
2277
2343
  ac_status=$?
2284
2350
 
2285
2351
ac_compiler_gnu=no
2286
2352
fi
2287
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2353
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2288
2354
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2289
2355
 
2290
2356
fi
2300
2366
  echo $ECHO_N "(cached) $ECHO_C" >&6
2301
2367
else
2302
2368
  cat >conftest.$ac_ext <<_ACEOF
2303
 
#line $LINENO "configure"
2304
2369
/* confdefs.h.  */
2305
2370
_ACEOF
2306
2371
cat confdefs.h >>conftest.$ac_ext
2317
2382
_ACEOF
2318
2383
rm -f conftest.$ac_objext
2319
2384
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2320
 
  (eval $ac_compile) 2>&5
 
2385
  (eval $ac_compile) 2>conftest.er1
2321
2386
  ac_status=$?
 
2387
  grep -v '^ *+' conftest.er1 >conftest.err
 
2388
  rm -f conftest.er1
 
2389
  cat conftest.err >&5
2322
2390
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323
2391
  (exit $ac_status); } &&
2324
 
         { ac_try='test -s conftest.$ac_objext'
 
2392
         { ac_try='test -z "$ac_c_werror_flag"
 
2393
                         || test ! -s conftest.err'
 
2394
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2395
  (eval $ac_try) 2>&5
 
2396
  ac_status=$?
 
2397
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2398
  (exit $ac_status); }; } &&
 
2399
         { ac_try='test -s conftest.$ac_objext'
2325
2400
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2326
2401
  (eval $ac_try) 2>&5
2327
2402
  ac_status=$?
2334
2409
 
2335
2410
ac_cv_prog_cc_g=no
2336
2411
fi
2337
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2412
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2338
2413
fi
2339
2414
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2340
2415
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2361
2436
  ac_cv_prog_cc_stdc=no
2362
2437
ac_save_CC=$CC
2363
2438
cat >conftest.$ac_ext <<_ACEOF
2364
 
#line $LINENO "configure"
2365
2439
/* confdefs.h.  */
2366
2440
_ACEOF
2367
2441
cat confdefs.h >>conftest.$ac_ext
2389
2463
  va_end (v);
2390
2464
  return s;
2391
2465
}
 
2466
 
 
2467
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2468
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2469
   These don't provoke an error unfortunately, instead are silently treated
 
2470
   as 'x'.  The following induces an error, until -std1 is added to get
 
2471
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2472
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2473
   that's true only with -std1.  */
 
2474
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2475
 
2392
2476
int test (int i, double x);
2393
2477
struct s1 {int (*f) (int a);};
2394
2478
struct s2 {int (*f) (double a);};
2415
2499
  CC="$ac_save_CC $ac_arg"
2416
2500
  rm -f conftest.$ac_objext
2417
2501
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2418
 
  (eval $ac_compile) 2>&5
 
2502
  (eval $ac_compile) 2>conftest.er1
2419
2503
  ac_status=$?
 
2504
  grep -v '^ *+' conftest.er1 >conftest.err
 
2505
  rm -f conftest.er1
 
2506
  cat conftest.err >&5
2420
2507
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421
2508
  (exit $ac_status); } &&
2422
 
         { ac_try='test -s conftest.$ac_objext'
 
2509
         { ac_try='test -z "$ac_c_werror_flag"
 
2510
                         || test ! -s conftest.err'
 
2511
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2512
  (eval $ac_try) 2>&5
 
2513
  ac_status=$?
 
2514
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2515
  (exit $ac_status); }; } &&
 
2516
         { ac_try='test -s conftest.$ac_objext'
2423
2517
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424
2518
  (eval $ac_try) 2>&5
2425
2519
  ac_status=$?
2432
2526
sed 's/^/| /' conftest.$ac_ext >&5
2433
2527
 
2434
2528
fi
2435
 
rm -f conftest.$ac_objext
 
2529
rm -f conftest.err conftest.$ac_objext
2436
2530
done
2437
2531
rm -f conftest.$ac_ext conftest.$ac_objext
2438
2532
CC=$ac_save_CC
2460
2554
_ACEOF
2461
2555
rm -f conftest.$ac_objext
2462
2556
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2463
 
  (eval $ac_compile) 2>&5
 
2557
  (eval $ac_compile) 2>conftest.er1
2464
2558
  ac_status=$?
 
2559
  grep -v '^ *+' conftest.er1 >conftest.err
 
2560
  rm -f conftest.er1
 
2561
  cat conftest.err >&5
2465
2562
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466
2563
  (exit $ac_status); } &&
2467
 
         { ac_try='test -s conftest.$ac_objext'
 
2564
         { ac_try='test -z "$ac_c_werror_flag"
 
2565
                         || test ! -s conftest.err'
 
2566
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2567
  (eval $ac_try) 2>&5
 
2568
  ac_status=$?
 
2569
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2570
  (exit $ac_status); }; } &&
 
2571
         { ac_try='test -s conftest.$ac_objext'
2468
2572
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469
2573
  (eval $ac_try) 2>&5
2470
2574
  ac_status=$?
2471
2575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472
2576
  (exit $ac_status); }; }; then
2473
2577
  for ac_declaration in \
2474
 
   ''\
2475
 
   '#include <stdlib.h>' \
 
2578
   '' \
2476
2579
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2477
2580
   'extern "C" void std::exit (int); using std::exit;' \
2478
2581
   'extern "C" void exit (int) throw ();' \
2480
2583
   'void exit (int);'
2481
2584
do
2482
2585
  cat >conftest.$ac_ext <<_ACEOF
2483
 
#line $LINENO "configure"
2484
2586
/* confdefs.h.  */
2485
2587
_ACEOF
2486
2588
cat confdefs.h >>conftest.$ac_ext
2487
2589
cat >>conftest.$ac_ext <<_ACEOF
2488
2590
/* end confdefs.h.  */
 
2591
$ac_declaration
2489
2592
#include <stdlib.h>
2490
 
$ac_declaration
2491
2593
int
2492
2594
main ()
2493
2595
{
2498
2600
_ACEOF
2499
2601
rm -f conftest.$ac_objext
2500
2602
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2501
 
  (eval $ac_compile) 2>&5
 
2603
  (eval $ac_compile) 2>conftest.er1
2502
2604
  ac_status=$?
 
2605
  grep -v '^ *+' conftest.er1 >conftest.err
 
2606
  rm -f conftest.er1
 
2607
  cat conftest.err >&5
2503
2608
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504
2609
  (exit $ac_status); } &&
2505
 
         { ac_try='test -s conftest.$ac_objext'
 
2610
         { ac_try='test -z "$ac_c_werror_flag"
 
2611
                         || test ! -s conftest.err'
 
2612
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2613
  (eval $ac_try) 2>&5
 
2614
  ac_status=$?
 
2615
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2616
  (exit $ac_status); }; } &&
 
2617
         { ac_try='test -s conftest.$ac_objext'
2506
2618
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507
2619
  (eval $ac_try) 2>&5
2508
2620
  ac_status=$?
2515
2627
 
2516
2628
continue
2517
2629
fi
2518
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2630
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2519
2631
  cat >conftest.$ac_ext <<_ACEOF
2520
 
#line $LINENO "configure"
2521
2632
/* confdefs.h.  */
2522
2633
_ACEOF
2523
2634
cat confdefs.h >>conftest.$ac_ext
2534
2645
_ACEOF
2535
2646
rm -f conftest.$ac_objext
2536
2647
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2537
 
  (eval $ac_compile) 2>&5
 
2648
  (eval $ac_compile) 2>conftest.er1
2538
2649
  ac_status=$?
 
2650
  grep -v '^ *+' conftest.er1 >conftest.err
 
2651
  rm -f conftest.er1
 
2652
  cat conftest.err >&5
2539
2653
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540
2654
  (exit $ac_status); } &&
2541
 
         { ac_try='test -s conftest.$ac_objext'
 
2655
         { ac_try='test -z "$ac_c_werror_flag"
 
2656
                         || test ! -s conftest.err'
 
2657
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2658
  (eval $ac_try) 2>&5
 
2659
  ac_status=$?
 
2660
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2661
  (exit $ac_status); }; } &&
 
2662
         { ac_try='test -s conftest.$ac_objext'
2542
2663
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2543
2664
  (eval $ac_try) 2>&5
2544
2665
  ac_status=$?
2550
2671
sed 's/^/| /' conftest.$ac_ext >&5
2551
2672
 
2552
2673
fi
2553
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2674
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2554
2675
done
2555
2676
rm -f conftest*
2556
2677
if test -n "$ac_declaration"; then
2564
2685
sed 's/^/| /' conftest.$ac_ext >&5
2565
2686
 
2566
2687
fi
2567
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2688
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2568
2689
ac_ext=c
2569
2690
ac_cpp='$CPP $CPPFLAGS'
2570
2691
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2677
2798
    : > sub/conftest.c
2678
2799
    for i in 1 2 3 4 5 6; do
2679
2800
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2680
 
      : > sub/conftst$i.h
 
2801
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
2802
      # Solaris 8's {/usr,}/bin/sh.
 
2803
      touch sub/conftst$i.h
2681
2804
    done
2682
2805
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2683
2806
 
2749
2872
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2750
2873
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2751
2874
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2875
# OS/2's system install, which has a completely different semantic
2752
2876
# ./install, which can be erroneously created by make from ./install.sh.
2753
2877
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2754
2878
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2765
2889
case $as_dir/ in
2766
2890
  ./ | .// | /cC/* | \
2767
2891
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2892
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2768
2893
  /usr/ucb/* ) ;;
2769
2894
  *)
2770
2895
    # OSF1 and SCO ODT 3.0 have their own names for install.
2772
2897
    # by default.
2773
2898
    for ac_prog in ginstall scoinst install; do
2774
2899
      for ac_exec_ext in '' $ac_executable_extensions; do
2775
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2776
 
          if test $ac_prog = install &&
2777
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2778
 
            # AIX install.  It has an incompatible calling convention.
2779
 
            :
2780
 
          elif test $ac_prog = install &&
2781
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2782
 
            # program-specific install script used by HP pwplus--don't use.
2783
 
            :
2784
 
          else
2785
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2786
 
            break 3
2787
 
          fi
2788
 
        fi
 
2900
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2901
          if test $ac_prog = install &&
 
2902
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2903
            # AIX install.  It has an incompatible calling convention.
 
2904
            :
 
2905
          elif test $ac_prog = install &&
 
2906
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2907
            # program-specific install script used by HP pwplus--don't use.
 
2908
            :
 
2909
          else
 
2910
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2911
            break 3
 
2912
          fi
 
2913
        fi
2789
2914
      done
2790
2915
    done
2791
2916
    ;;
2983
3108
  # On the NeXT, cc -E runs the code through the compiler's parser,
2984
3109
  # not just through cpp. "Syntax error" is here to catch this case.
2985
3110
  cat >conftest.$ac_ext <<_ACEOF
2986
 
#line $LINENO "configure"
2987
3111
/* confdefs.h.  */
2988
3112
_ACEOF
2989
3113
cat confdefs.h >>conftest.$ac_ext
2994
3118
#else
2995
3119
# include <assert.h>
2996
3120
#endif
2997
 
                     Syntax error
 
3121
                     Syntax error
2998
3122
_ACEOF
2999
3123
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3000
3124
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3006
3130
  (exit $ac_status); } >/dev/null; then
3007
3131
  if test -s conftest.err; then
3008
3132
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3133
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3009
3134
  else
3010
3135
    ac_cpp_err=
3011
3136
  fi
3026
3151
  # OK, works on sane cases.  Now check whether non-existent headers
3027
3152
  # can be detected and how.
3028
3153
  cat >conftest.$ac_ext <<_ACEOF
3029
 
#line $LINENO "configure"
3030
3154
/* confdefs.h.  */
3031
3155
_ACEOF
3032
3156
cat confdefs.h >>conftest.$ac_ext
3044
3168
  (exit $ac_status); } >/dev/null; then
3045
3169
  if test -s conftest.err; then
3046
3170
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3171
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3047
3172
  else
3048
3173
    ac_cpp_err=
3049
3174
  fi
3090
3215
  # On the NeXT, cc -E runs the code through the compiler's parser,
3091
3216
  # not just through cpp. "Syntax error" is here to catch this case.
3092
3217
  cat >conftest.$ac_ext <<_ACEOF
3093
 
#line $LINENO "configure"
3094
3218
/* confdefs.h.  */
3095
3219
_ACEOF
3096
3220
cat confdefs.h >>conftest.$ac_ext
3101
3225
#else
3102
3226
# include <assert.h>
3103
3227
#endif
3104
 
                     Syntax error
 
3228
                     Syntax error
3105
3229
_ACEOF
3106
3230
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3107
3231
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3113
3237
  (exit $ac_status); } >/dev/null; then
3114
3238
  if test -s conftest.err; then
3115
3239
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3240
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3116
3241
  else
3117
3242
    ac_cpp_err=
3118
3243
  fi
3133
3258
  # OK, works on sane cases.  Now check whether non-existent headers
3134
3259
  # can be detected and how.
3135
3260
  cat >conftest.$ac_ext <<_ACEOF
3136
 
#line $LINENO "configure"
3137
3261
/* confdefs.h.  */
3138
3262
_ACEOF
3139
3263
cat confdefs.h >>conftest.$ac_ext
3151
3275
  (exit $ac_status); } >/dev/null; then
3152
3276
  if test -s conftest.err; then
3153
3277
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3278
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3154
3279
  else
3155
3280
    ac_cpp_err=
3156
3281
  fi
3211
3336
  echo $ECHO_N "(cached) $ECHO_C" >&6
3212
3337
else
3213
3338
  cat >conftest.$ac_ext <<_ACEOF
3214
 
#line $LINENO "configure"
3215
3339
/* confdefs.h.  */
3216
3340
_ACEOF
3217
3341
cat confdefs.h >>conftest.$ac_ext
3232
3356
_ACEOF
3233
3357
rm -f conftest.$ac_objext
3234
3358
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3235
 
  (eval $ac_compile) 2>&5
 
3359
  (eval $ac_compile) 2>conftest.er1
3236
3360
  ac_status=$?
 
3361
  grep -v '^ *+' conftest.er1 >conftest.err
 
3362
  rm -f conftest.er1
 
3363
  cat conftest.err >&5
3237
3364
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238
3365
  (exit $ac_status); } &&
3239
 
         { ac_try='test -s conftest.$ac_objext'
 
3366
         { ac_try='test -z "$ac_c_werror_flag"
 
3367
                         || test ! -s conftest.err'
 
3368
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3369
  (eval $ac_try) 2>&5
 
3370
  ac_status=$?
 
3371
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3372
  (exit $ac_status); }; } &&
 
3373
         { ac_try='test -s conftest.$ac_objext'
3240
3374
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3241
3375
  (eval $ac_try) 2>&5
3242
3376
  ac_status=$?
3249
3383
 
3250
3384
ac_cv_header_stdc=no
3251
3385
fi
3252
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3386
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3253
3387
 
3254
3388
if test $ac_cv_header_stdc = yes; then
3255
3389
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3256
3390
  cat >conftest.$ac_ext <<_ACEOF
3257
 
#line $LINENO "configure"
3258
3391
/* confdefs.h.  */
3259
3392
_ACEOF
3260
3393
cat confdefs.h >>conftest.$ac_ext
3276
3409
if test $ac_cv_header_stdc = yes; then
3277
3410
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3278
3411
  cat >conftest.$ac_ext <<_ACEOF
3279
 
#line $LINENO "configure"
3280
3412
/* confdefs.h.  */
3281
3413
_ACEOF
3282
3414
cat confdefs.h >>conftest.$ac_ext
3301
3433
  :
3302
3434
else
3303
3435
  cat >conftest.$ac_ext <<_ACEOF
3304
 
#line $LINENO "configure"
3305
3436
/* confdefs.h.  */
3306
3437
_ACEOF
3307
3438
cat confdefs.h >>conftest.$ac_ext
3313
3444
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3314
3445
#else
3315
3446
# define ISLOWER(c) \
3316
 
                   (('a' <= (c) && (c) <= 'i') \
3317
 
                     || ('j' <= (c) && (c) <= 'r') \
3318
 
                     || ('s' <= (c) && (c) <= 'z'))
 
3447
                   (('a' <= (c) && (c) <= 'i') \
 
3448
                     || ('j' <= (c) && (c) <= 'r') \
 
3449
                     || ('s' <= (c) && (c) <= 'z'))
3319
3450
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3320
3451
#endif
3321
3452
 
3326
3457
  int i;
3327
3458
  for (i = 0; i < 256; i++)
3328
3459
    if (XOR (islower (i), ISLOWER (i))
3329
 
        || toupper (i) != TOUPPER (i))
 
3460
        || toupper (i) != TOUPPER (i))
3330
3461
      exit(2);
3331
3462
  exit (0);
3332
3463
}
3351
3482
( exit $ac_status )
3352
3483
ac_cv_header_stdc=no
3353
3484
fi
3354
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3485
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3355
3486
fi
3356
3487
fi
3357
3488
fi
3376
3507
 
3377
3508
 
3378
3509
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3379
 
                  inttypes.h stdint.h unistd.h
 
3510
                  inttypes.h stdint.h unistd.h
3380
3511
do
3381
3512
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3382
3513
echo "$as_me:$LINENO: checking for $ac_header" >&5
3385
3516
  echo $ECHO_N "(cached) $ECHO_C" >&6
3386
3517
else
3387
3518
  cat >conftest.$ac_ext <<_ACEOF
3388
 
#line $LINENO "configure"
3389
3519
/* confdefs.h.  */
3390
3520
_ACEOF
3391
3521
cat confdefs.h >>conftest.$ac_ext
3397
3527
_ACEOF
3398
3528
rm -f conftest.$ac_objext
3399
3529
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3400
 
  (eval $ac_compile) 2>&5
 
3530
  (eval $ac_compile) 2>conftest.er1
3401
3531
  ac_status=$?
 
3532
  grep -v '^ *+' conftest.er1 >conftest.err
 
3533
  rm -f conftest.er1
 
3534
  cat conftest.err >&5
3402
3535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403
3536
  (exit $ac_status); } &&
3404
 
         { ac_try='test -s conftest.$ac_objext'
 
3537
         { ac_try='test -z "$ac_c_werror_flag"
 
3538
                         || test ! -s conftest.err'
 
3539
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3540
  (eval $ac_try) 2>&5
 
3541
  ac_status=$?
 
3542
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3543
  (exit $ac_status); }; } &&
 
3544
         { ac_try='test -s conftest.$ac_objext'
3405
3545
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3406
3546
  (eval $ac_try) 2>&5
3407
3547
  ac_status=$?
3414
3554
 
3415
3555
eval "$as_ac_Header=no"
3416
3556
fi
3417
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3557
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3418
3558
fi
3419
3559
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3420
3560
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3448
3588
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3449
3589
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3450
3590
cat >conftest.$ac_ext <<_ACEOF
3451
 
#line $LINENO "configure"
3452
3591
/* confdefs.h.  */
3453
3592
_ACEOF
3454
3593
cat confdefs.h >>conftest.$ac_ext
3459
3598
_ACEOF
3460
3599
rm -f conftest.$ac_objext
3461
3600
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3462
 
  (eval $ac_compile) 2>&5
 
3601
  (eval $ac_compile) 2>conftest.er1
3463
3602
  ac_status=$?
 
3603
  grep -v '^ *+' conftest.er1 >conftest.err
 
3604
  rm -f conftest.er1
 
3605
  cat conftest.err >&5
3464
3606
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465
3607
  (exit $ac_status); } &&
3466
 
         { ac_try='test -s conftest.$ac_objext'
 
3608
         { ac_try='test -z "$ac_c_werror_flag"
 
3609
                         || test ! -s conftest.err'
 
3610
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3611
  (eval $ac_try) 2>&5
 
3612
  ac_status=$?
 
3613
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3614
  (exit $ac_status); }; } &&
 
3615
         { ac_try='test -s conftest.$ac_objext'
3467
3616
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3468
3617
  (eval $ac_try) 2>&5
3469
3618
  ac_status=$?
3476
3625
 
3477
3626
ac_header_compiler=no
3478
3627
fi
3479
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3628
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3480
3629
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3481
3630
echo "${ECHO_T}$ac_header_compiler" >&6
3482
3631
 
3484
3633
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3485
3634
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3486
3635
cat >conftest.$ac_ext <<_ACEOF
3487
 
#line $LINENO "configure"
3488
3636
/* confdefs.h.  */
3489
3637
_ACEOF
3490
3638
cat confdefs.h >>conftest.$ac_ext
3502
3650
  (exit $ac_status); } >/dev/null; then
3503
3651
  if test -s conftest.err; then
3504
3652
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3653
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3505
3654
  else
3506
3655
    ac_cpp_err=
3507
3656
  fi
3521
3670
echo "${ECHO_T}$ac_header_preproc" >&6
3522
3671
 
3523
3672
# So?  What about this header?
3524
 
case $ac_header_compiler:$ac_header_preproc in
3525
 
  yes:no )
 
3673
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
3674
  yes:no: )
3526
3675
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3527
3676
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3528
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3529
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3530
 
    (
3531
 
      cat <<\_ASBOX
3532
 
## ------------------------------------ ##
3533
 
## Report this to bug-autoconf@gnu.org. ##
3534
 
## ------------------------------------ ##
3535
 
_ASBOX
3536
 
    ) |
3537
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
3677
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
3678
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
3679
    ac_header_preproc=yes
3538
3680
    ;;
3539
 
  no:yes )
 
3681
  no:yes:* )
3540
3682
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3541
3683
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3542
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3543
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
3684
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
3685
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
3686
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
3687
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
3688
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
3689
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3544
3690
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3545
3691
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3692
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
3693
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3546
3694
    (
3547
3695
      cat <<\_ASBOX
3548
 
## ------------------------------------ ##
3549
 
## Report this to bug-autoconf@gnu.org. ##
3550
 
## ------------------------------------ ##
 
3696
## ------------------------------------------ ##
 
3697
## Report this to the AC_PACKAGE_NAME lists.  ##
 
3698
## ------------------------------------------ ##
3551
3699
_ASBOX
3552
3700
    ) |
3553
3701
      sed "s/^/$as_me: WARNING:     /" >&2
3558
3706
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3559
3707
  echo $ECHO_N "(cached) $ECHO_C" >&6
3560
3708
else
3561
 
  eval "$as_ac_Header=$ac_header_preproc"
 
3709
  eval "$as_ac_Header=\$ac_header_preproc"
3562
3710
fi
3563
3711
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3564
3712
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3579
3727
  echo $ECHO_N "(cached) $ECHO_C" >&6
3580
3728
else
3581
3729
  cat >conftest.$ac_ext <<_ACEOF
3582
 
#line $LINENO "configure"
3583
3730
/* confdefs.h.  */
3584
3731
_ACEOF
3585
3732
cat confdefs.h >>conftest.$ac_ext
3600
3747
_ACEOF
3601
3748
rm -f conftest.$ac_objext
3602
3749
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3603
 
  (eval $ac_compile) 2>&5
 
3750
  (eval $ac_compile) 2>conftest.er1
3604
3751
  ac_status=$?
 
3752
  grep -v '^ *+' conftest.er1 >conftest.err
 
3753
  rm -f conftest.er1
 
3754
  cat conftest.err >&5
3605
3755
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606
3756
  (exit $ac_status); } &&
3607
 
         { ac_try='test -s conftest.$ac_objext'
 
3757
         { ac_try='test -z "$ac_c_werror_flag"
 
3758
                         || test ! -s conftest.err'
 
3759
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3760
  (eval $ac_try) 2>&5
 
3761
  ac_status=$?
 
3762
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3763
  (exit $ac_status); }; } &&
 
3764
         { ac_try='test -s conftest.$ac_objext'
3608
3765
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3609
3766
  (eval $ac_try) 2>&5
3610
3767
  ac_status=$?
3617
3774
 
3618
3775
ac_cv_header_time=no
3619
3776
fi
3620
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3777
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3621
3778
fi
3622
3779
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3623
3780
echo "${ECHO_T}$ac_cv_header_time" >&6
3643
3800
  echo $ECHO_N "(cached) $ECHO_C" >&6
3644
3801
else
3645
3802
  cat >conftest.$ac_ext <<_ACEOF
3646
 
#line $LINENO "configure"
3647
3803
/* confdefs.h.  */
3648
3804
_ACEOF
3649
3805
cat confdefs.h >>conftest.$ac_ext
3663
3819
_ACEOF
3664
3820
rm -f conftest.$ac_objext
3665
3821
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3666
 
  (eval $ac_compile) 2>&5
 
3822
  (eval $ac_compile) 2>conftest.er1
3667
3823
  ac_status=$?
 
3824
  grep -v '^ *+' conftest.er1 >conftest.err
 
3825
  rm -f conftest.er1
 
3826
  cat conftest.err >&5
3668
3827
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669
3828
  (exit $ac_status); } &&
3670
 
         { ac_try='test -s conftest.$ac_objext'
 
3829
         { ac_try='test -z "$ac_c_werror_flag"
 
3830
                         || test ! -s conftest.err'
 
3831
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3832
  (eval $ac_try) 2>&5
 
3833
  ac_status=$?
 
3834
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3835
  (exit $ac_status); }; } &&
 
3836
         { ac_try='test -s conftest.$ac_objext'
3671
3837
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672
3838
  (eval $ac_try) 2>&5
3673
3839
  ac_status=$?
3680
3846
 
3681
3847
eval "$as_ac_Header=no"
3682
3848
fi
3683
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3849
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3684
3850
fi
3685
3851
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3686
3852
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3703
3869
  ac_func_search_save_LIBS=$LIBS
3704
3870
ac_cv_search_opendir=no
3705
3871
cat >conftest.$ac_ext <<_ACEOF
3706
 
#line $LINENO "configure"
3707
3872
/* confdefs.h.  */
3708
3873
_ACEOF
3709
3874
cat confdefs.h >>conftest.$ac_ext
3727
3892
_ACEOF
3728
3893
rm -f conftest.$ac_objext conftest$ac_exeext
3729
3894
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3730
 
  (eval $ac_link) 2>&5
 
3895
  (eval $ac_link) 2>conftest.er1
3731
3896
  ac_status=$?
 
3897
  grep -v '^ *+' conftest.er1 >conftest.err
 
3898
  rm -f conftest.er1
 
3899
  cat conftest.err >&5
3732
3900
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733
3901
  (exit $ac_status); } &&
3734
 
         { ac_try='test -s conftest$ac_exeext'
 
3902
         { ac_try='test -z "$ac_c_werror_flag"
 
3903
                         || test ! -s conftest.err'
 
3904
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3905
  (eval $ac_try) 2>&5
 
3906
  ac_status=$?
 
3907
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3908
  (exit $ac_status); }; } &&
 
3909
         { ac_try='test -s conftest$ac_exeext'
3735
3910
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3736
3911
  (eval $ac_try) 2>&5
3737
3912
  ac_status=$?
3743
3918
sed 's/^/| /' conftest.$ac_ext >&5
3744
3919
 
3745
3920
fi
3746
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3921
rm -f conftest.err conftest.$ac_objext \
 
3922
      conftest$ac_exeext conftest.$ac_ext
3747
3923
if test "$ac_cv_search_opendir" = no; then
3748
3924
  for ac_lib in dir; do
3749
3925
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3750
3926
    cat >conftest.$ac_ext <<_ACEOF
3751
 
#line $LINENO "configure"
3752
3927
/* confdefs.h.  */
3753
3928
_ACEOF
3754
3929
cat confdefs.h >>conftest.$ac_ext
3772
3947
_ACEOF
3773
3948
rm -f conftest.$ac_objext conftest$ac_exeext
3774
3949
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3775
 
  (eval $ac_link) 2>&5
 
3950
  (eval $ac_link) 2>conftest.er1
3776
3951
  ac_status=$?
 
3952
  grep -v '^ *+' conftest.er1 >conftest.err
 
3953
  rm -f conftest.er1
 
3954
  cat conftest.err >&5
3777
3955
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778
3956
  (exit $ac_status); } &&
3779
 
         { ac_try='test -s conftest$ac_exeext'
 
3957
         { ac_try='test -z "$ac_c_werror_flag"
 
3958
                         || test ! -s conftest.err'
 
3959
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3960
  (eval $ac_try) 2>&5
 
3961
  ac_status=$?
 
3962
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3963
  (exit $ac_status); }; } &&
 
3964
         { ac_try='test -s conftest$ac_exeext'
3780
3965
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3781
3966
  (eval $ac_try) 2>&5
3782
3967
  ac_status=$?
3789
3974
sed 's/^/| /' conftest.$ac_ext >&5
3790
3975
 
3791
3976
fi
3792
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3977
rm -f conftest.err conftest.$ac_objext \
 
3978
      conftest$ac_exeext conftest.$ac_ext
3793
3979
  done
3794
3980
fi
3795
3981
LIBS=$ac_func_search_save_LIBS
3810
3996
  ac_func_search_save_LIBS=$LIBS
3811
3997
ac_cv_search_opendir=no
3812
3998
cat >conftest.$ac_ext <<_ACEOF
3813
 
#line $LINENO "configure"
3814
3999
/* confdefs.h.  */
3815
4000
_ACEOF
3816
4001
cat confdefs.h >>conftest.$ac_ext
3834
4019
_ACEOF
3835
4020
rm -f conftest.$ac_objext conftest$ac_exeext
3836
4021
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3837
 
  (eval $ac_link) 2>&5
 
4022
  (eval $ac_link) 2>conftest.er1
3838
4023
  ac_status=$?
 
4024
  grep -v '^ *+' conftest.er1 >conftest.err
 
4025
  rm -f conftest.er1
 
4026
  cat conftest.err >&5
3839
4027
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840
4028
  (exit $ac_status); } &&
3841
 
         { ac_try='test -s conftest$ac_exeext'
 
4029
         { ac_try='test -z "$ac_c_werror_flag"
 
4030
                         || test ! -s conftest.err'
 
4031
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4032
  (eval $ac_try) 2>&5
 
4033
  ac_status=$?
 
4034
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4035
  (exit $ac_status); }; } &&
 
4036
         { ac_try='test -s conftest$ac_exeext'
3842
4037
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843
4038
  (eval $ac_try) 2>&5
3844
4039
  ac_status=$?
3850
4045
sed 's/^/| /' conftest.$ac_ext >&5
3851
4046
 
3852
4047
fi
3853
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4048
rm -f conftest.err conftest.$ac_objext \
 
4049
      conftest$ac_exeext conftest.$ac_ext
3854
4050
if test "$ac_cv_search_opendir" = no; then
3855
4051
  for ac_lib in x; do
3856
4052
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3857
4053
    cat >conftest.$ac_ext <<_ACEOF
3858
 
#line $LINENO "configure"
3859
4054
/* confdefs.h.  */
3860
4055
_ACEOF
3861
4056
cat confdefs.h >>conftest.$ac_ext
3879
4074
_ACEOF
3880
4075
rm -f conftest.$ac_objext conftest$ac_exeext
3881
4076
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3882
 
  (eval $ac_link) 2>&5
 
4077
  (eval $ac_link) 2>conftest.er1
3883
4078
  ac_status=$?
 
4079
  grep -v '^ *+' conftest.er1 >conftest.err
 
4080
  rm -f conftest.er1
 
4081
  cat conftest.err >&5
3884
4082
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885
4083
  (exit $ac_status); } &&
3886
 
         { ac_try='test -s conftest$ac_exeext'
 
4084
         { ac_try='test -z "$ac_c_werror_flag"
 
4085
                         || test ! -s conftest.err'
 
4086
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4087
  (eval $ac_try) 2>&5
 
4088
  ac_status=$?
 
4089
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4090
  (exit $ac_status); }; } &&
 
4091
         { ac_try='test -s conftest$ac_exeext'
3887
4092
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3888
4093
  (eval $ac_try) 2>&5
3889
4094
  ac_status=$?
3896
4101
sed 's/^/| /' conftest.$ac_ext >&5
3897
4102
 
3898
4103
fi
3899
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4104
rm -f conftest.err conftest.$ac_objext \
 
4105
      conftest$ac_exeext conftest.$ac_ext
3900
4106
  done
3901
4107
fi
3902
4108
LIBS=$ac_func_search_save_LIBS
3917
4123
  echo $ECHO_N "(cached) $ECHO_C" >&6
3918
4124
else
3919
4125
  cat >conftest.$ac_ext <<_ACEOF
3920
 
#line $LINENO "configure"
3921
4126
/* confdefs.h.  */
3922
4127
_ACEOF
3923
4128
cat confdefs.h >>conftest.$ac_ext
3937
4142
_ACEOF
3938
4143
rm -f conftest.$ac_objext
3939
4144
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3940
 
  (eval $ac_compile) 2>&5
 
4145
  (eval $ac_compile) 2>conftest.er1
3941
4146
  ac_status=$?
 
4147
  grep -v '^ *+' conftest.er1 >conftest.err
 
4148
  rm -f conftest.er1
 
4149
  cat conftest.err >&5
3942
4150
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3943
4151
  (exit $ac_status); } &&
3944
 
         { ac_try='test -s conftest.$ac_objext'
 
4152
         { ac_try='test -z "$ac_c_werror_flag"
 
4153
                         || test ! -s conftest.err'
 
4154
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4155
  (eval $ac_try) 2>&5
 
4156
  ac_status=$?
 
4157
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4158
  (exit $ac_status); }; } &&
 
4159
         { ac_try='test -s conftest.$ac_objext'
3945
4160
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3946
4161
  (eval $ac_try) 2>&5
3947
4162
  ac_status=$?
3954
4169
 
3955
4170
ac_cv_type_pid_t=no
3956
4171
fi
3957
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4172
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3958
4173
fi
3959
4174
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
3960
4175
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
3974
4189
  echo $ECHO_N "(cached) $ECHO_C" >&6
3975
4190
else
3976
4191
  cat >conftest.$ac_ext <<_ACEOF
3977
 
#line $LINENO "configure"
3978
4192
/* confdefs.h.  */
3979
4193
_ACEOF
3980
4194
cat confdefs.h >>conftest.$ac_ext
4013
4227
  echo $ECHO_N "(cached) $ECHO_C" >&6
4014
4228
else
4015
4229
  cat >conftest.$ac_ext <<_ACEOF
4016
 
#line $LINENO "configure"
4017
4230
/* confdefs.h.  */
4018
4231
_ACEOF
4019
4232
cat confdefs.h >>conftest.$ac_ext
4040
4253
_ACEOF
4041
4254
rm -f conftest.$ac_objext
4042
4255
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4043
 
  (eval $ac_compile) 2>&5
 
4256
  (eval $ac_compile) 2>conftest.er1
4044
4257
  ac_status=$?
 
4258
  grep -v '^ *+' conftest.er1 >conftest.err
 
4259
  rm -f conftest.er1
 
4260
  cat conftest.err >&5
4045
4261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046
4262
  (exit $ac_status); } &&
4047
 
         { ac_try='test -s conftest.$ac_objext'
 
4263
         { ac_try='test -z "$ac_c_werror_flag"
 
4264
                         || test ! -s conftest.err'
 
4265
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4266
  (eval $ac_try) 2>&5
 
4267
  ac_status=$?
 
4268
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4269
  (exit $ac_status); }; } &&
 
4270
         { ac_try='test -s conftest.$ac_objext'
4048
4271
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4049
4272
  (eval $ac_try) 2>&5
4050
4273
  ac_status=$?
4057
4280
 
4058
4281
ac_cv_type_signal=int
4059
4282
fi
4060
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4283
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4061
4284
fi
4062
4285
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4063
4286
echo "${ECHO_T}$ac_cv_type_signal" >&6
4079
4302
  ac_check_lib_save_LIBS=$LIBS
4080
4303
LIBS="-lsocket  $LIBS"
4081
4304
cat >conftest.$ac_ext <<_ACEOF
4082
 
#line $LINENO "configure"
4083
4305
/* confdefs.h.  */
4084
4306
_ACEOF
4085
4307
cat confdefs.h >>conftest.$ac_ext
4103
4325
_ACEOF
4104
4326
rm -f conftest.$ac_objext conftest$ac_exeext
4105
4327
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4106
 
  (eval $ac_link) 2>&5
 
4328
  (eval $ac_link) 2>conftest.er1
4107
4329
  ac_status=$?
 
4330
  grep -v '^ *+' conftest.er1 >conftest.err
 
4331
  rm -f conftest.er1
 
4332
  cat conftest.err >&5
4108
4333
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109
4334
  (exit $ac_status); } &&
4110
 
         { ac_try='test -s conftest$ac_exeext'
 
4335
         { ac_try='test -z "$ac_c_werror_flag"
 
4336
                         || test ! -s conftest.err'
 
4337
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4338
  (eval $ac_try) 2>&5
 
4339
  ac_status=$?
 
4340
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4341
  (exit $ac_status); }; } &&
 
4342
         { ac_try='test -s conftest$ac_exeext'
4111
4343
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4112
4344
  (eval $ac_try) 2>&5
4113
4345
  ac_status=$?
4120
4352
 
4121
4353
ac_cv_lib_socket_socket=no
4122
4354
fi
4123
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4355
rm -f conftest.err conftest.$ac_objext \
 
4356
      conftest$ac_exeext conftest.$ac_ext
4124
4357
LIBS=$ac_check_lib_save_LIBS
4125
4358
fi
4126
4359
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4142
4375
  ac_check_lib_save_LIBS=$LIBS
4143
4376
LIBS="-lsocket -lnsl $LIBS"
4144
4377
cat >conftest.$ac_ext <<_ACEOF
4145
 
#line $LINENO "configure"
4146
4378
/* confdefs.h.  */
4147
4379
_ACEOF
4148
4380
cat confdefs.h >>conftest.$ac_ext
4166
4398
_ACEOF
4167
4399
rm -f conftest.$ac_objext conftest$ac_exeext
4168
4400
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4169
 
  (eval $ac_link) 2>&5
 
4401
  (eval $ac_link) 2>conftest.er1
4170
4402
  ac_status=$?
 
4403
  grep -v '^ *+' conftest.er1 >conftest.err
 
4404
  rm -f conftest.er1
 
4405
  cat conftest.err >&5
4171
4406
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172
4407
  (exit $ac_status); } &&
4173
 
         { ac_try='test -s conftest$ac_exeext'
 
4408
         { ac_try='test -z "$ac_c_werror_flag"
 
4409
                         || test ! -s conftest.err'
 
4410
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4411
  (eval $ac_try) 2>&5
 
4412
  ac_status=$?
 
4413
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4414
  (exit $ac_status); }; } &&
 
4415
         { ac_try='test -s conftest$ac_exeext'
4174
4416
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4175
4417
  (eval $ac_try) 2>&5
4176
4418
  ac_status=$?
4183
4425
 
4184
4426
ac_cv_lib_socket_socket=no
4185
4427
fi
4186
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4428
rm -f conftest.err conftest.$ac_objext \
 
4429
      conftest$ac_exeext conftest.$ac_ext
4187
4430
LIBS=$ac_check_lib_save_LIBS
4188
4431
fi
4189
4432
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4206
4449
  ac_check_lib_save_LIBS=$LIBS
4207
4450
LIBS="-lsocket  $LIBS"
4208
4451
cat >conftest.$ac_ext <<_ACEOF
4209
 
#line $LINENO "configure"
4210
4452
/* confdefs.h.  */
4211
4453
_ACEOF
4212
4454
cat confdefs.h >>conftest.$ac_ext
4230
4472
_ACEOF
4231
4473
rm -f conftest.$ac_objext conftest$ac_exeext
4232
4474
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4233
 
  (eval $ac_link) 2>&5
 
4475
  (eval $ac_link) 2>conftest.er1
4234
4476
  ac_status=$?
 
4477
  grep -v '^ *+' conftest.er1 >conftest.err
 
4478
  rm -f conftest.er1
 
4479
  cat conftest.err >&5
4235
4480
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236
4481
  (exit $ac_status); } &&
4237
 
         { ac_try='test -s conftest$ac_exeext'
 
4482
         { ac_try='test -z "$ac_c_werror_flag"
 
4483
                         || test ! -s conftest.err'
 
4484
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4485
  (eval $ac_try) 2>&5
 
4486
  ac_status=$?
 
4487
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4488
  (exit $ac_status); }; } &&
 
4489
         { ac_try='test -s conftest$ac_exeext'
4238
4490
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4239
4491
  (eval $ac_try) 2>&5
4240
4492
  ac_status=$?
4247
4499
 
4248
4500
ac_cv_lib_socket_connect=no
4249
4501
fi
4250
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4502
rm -f conftest.err conftest.$ac_objext \
 
4503
      conftest$ac_exeext conftest.$ac_ext
4251
4504
LIBS=$ac_check_lib_save_LIBS
4252
4505
fi
4253
4506
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4269
4522
  ac_check_lib_save_LIBS=$LIBS
4270
4523
LIBS="-lsocket -lnsl $LIBS"
4271
4524
cat >conftest.$ac_ext <<_ACEOF
4272
 
#line $LINENO "configure"
4273
4525
/* confdefs.h.  */
4274
4526
_ACEOF
4275
4527
cat confdefs.h >>conftest.$ac_ext
4293
4545
_ACEOF
4294
4546
rm -f conftest.$ac_objext conftest$ac_exeext
4295
4547
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4296
 
  (eval $ac_link) 2>&5
 
4548
  (eval $ac_link) 2>conftest.er1
4297
4549
  ac_status=$?
 
4550
  grep -v '^ *+' conftest.er1 >conftest.err
 
4551
  rm -f conftest.er1
 
4552
  cat conftest.err >&5
4298
4553
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299
4554
  (exit $ac_status); } &&
4300
 
         { ac_try='test -s conftest$ac_exeext'
 
4555
         { ac_try='test -z "$ac_c_werror_flag"
 
4556
                         || test ! -s conftest.err'
 
4557
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4558
  (eval $ac_try) 2>&5
 
4559
  ac_status=$?
 
4560
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4561
  (exit $ac_status); }; } &&
 
4562
         { ac_try='test -s conftest$ac_exeext'
4301
4563
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4302
4564
  (eval $ac_try) 2>&5
4303
4565
  ac_status=$?
4310
4572
 
4311
4573
ac_cv_lib_socket_connect=no
4312
4574
fi
4313
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4575
rm -f conftest.err conftest.$ac_objext \
 
4576
      conftest$ac_exeext conftest.$ac_ext
4314
4577
LIBS=$ac_check_lib_save_LIBS
4315
4578
fi
4316
4579
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4332
4595
if test $USENSL != yes; then
4333
4596
        LIBS="$LIBS $NETLIBS"
4334
4597
        cat >conftest.$ac_ext <<_ACEOF
4335
 
#line $LINENO "configure"
4336
4598
/* confdefs.h.  */
4337
4599
_ACEOF
4338
4600
cat confdefs.h >>conftest.$ac_ext
4356
4618
_ACEOF
4357
4619
rm -f conftest.$ac_objext conftest$ac_exeext
4358
4620
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4359
 
  (eval $ac_link) 2>&5
 
4621
  (eval $ac_link) 2>conftest.er1
4360
4622
  ac_status=$?
 
4623
  grep -v '^ *+' conftest.er1 >conftest.err
 
4624
  rm -f conftest.er1
 
4625
  cat conftest.err >&5
4361
4626
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362
4627
  (exit $ac_status); } &&
4363
 
         { ac_try='test -s conftest$ac_exeext'
 
4628
         { ac_try='test -z "$ac_c_werror_flag"
 
4629
                         || test ! -s conftest.err'
 
4630
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4631
  (eval $ac_try) 2>&5
 
4632
  ac_status=$?
 
4633
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4634
  (exit $ac_status); }; } &&
 
4635
         { ac_try='test -s conftest$ac_exeext'
4364
4636
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4365
4637
  (eval $ac_try) 2>&5
4366
4638
  ac_status=$?
4380
4652
  ac_check_lib_save_LIBS=$LIBS
4381
4653
LIBS="-lnsl  $LIBS"
4382
4654
cat >conftest.$ac_ext <<_ACEOF
4383
 
#line $LINENO "configure"
4384
4655
/* confdefs.h.  */
4385
4656
_ACEOF
4386
4657
cat confdefs.h >>conftest.$ac_ext
4404
4675
_ACEOF
4405
4676
rm -f conftest.$ac_objext conftest$ac_exeext
4406
4677
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4407
 
  (eval $ac_link) 2>&5
 
4678
  (eval $ac_link) 2>conftest.er1
4408
4679
  ac_status=$?
 
4680
  grep -v '^ *+' conftest.er1 >conftest.err
 
4681
  rm -f conftest.er1
 
4682
  cat conftest.err >&5
4409
4683
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410
4684
  (exit $ac_status); } &&
4411
 
         { ac_try='test -s conftest$ac_exeext'
 
4685
         { ac_try='test -z "$ac_c_werror_flag"
 
4686
                         || test ! -s conftest.err'
 
4687
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4688
  (eval $ac_try) 2>&5
 
4689
  ac_status=$?
 
4690
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4691
  (exit $ac_status); }; } &&
 
4692
         { ac_try='test -s conftest$ac_exeext'
4412
4693
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4413
4694
  (eval $ac_try) 2>&5
4414
4695
  ac_status=$?
4421
4702
 
4422
4703
ac_cv_lib_nsl_inet_addr=no
4423
4704
fi
4424
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4705
rm -f conftest.err conftest.$ac_objext \
 
4706
      conftest$ac_exeext conftest.$ac_ext
4425
4707
LIBS=$ac_check_lib_save_LIBS
4426
4708
fi
4427
4709
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
4437
4719
                fi
4438
4720
 
4439
4721
fi
4440
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4722
rm -f conftest.err conftest.$ac_objext \
 
4723
      conftest$ac_exeext conftest.$ac_ext
4441
4724
fi
4442
4725
 
4443
4726
LIBS="$saveLIBS"
4474
4757
  echo $ECHO_N "(cached) $ECHO_C" >&6
4475
4758
else
4476
4759
  cat >conftest.$ac_ext <<_ACEOF
4477
 
#line $LINENO "configure"
4478
4760
/* confdefs.h.  */
4479
4761
_ACEOF
4480
4762
cat confdefs.h >>conftest.$ac_ext
4481
4763
cat >>conftest.$ac_ext <<_ACEOF
4482
4764
/* end confdefs.h.  */
 
4765
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
4766
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4767
#define $ac_func innocuous_$ac_func
 
4768
 
4483
4769
/* System header to define __stub macros and hopefully few prototypes,
4484
4770
    which can conflict with char $ac_func (); below.
4485
4771
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4486
4772
    <limits.h> exists even on freestanding compilers.  */
 
4773
 
4487
4774
#ifdef __STDC__
4488
4775
# include <limits.h>
4489
4776
#else
4490
4777
# include <assert.h>
4491
4778
#endif
 
4779
 
 
4780
#undef $ac_func
 
4781
 
4492
4782
/* Override any gcc2 internal prototype to avoid an error.  */
4493
4783
#ifdef __cplusplus
4494
4784
extern "C"
4519
4809
_ACEOF
4520
4810
rm -f conftest.$ac_objext conftest$ac_exeext
4521
4811
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4522
 
  (eval $ac_link) 2>&5
 
4812
  (eval $ac_link) 2>conftest.er1
4523
4813
  ac_status=$?
 
4814
  grep -v '^ *+' conftest.er1 >conftest.err
 
4815
  rm -f conftest.er1
 
4816
  cat conftest.err >&5
4524
4817
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525
4818
  (exit $ac_status); } &&
4526
 
         { ac_try='test -s conftest$ac_exeext'
 
4819
         { ac_try='test -z "$ac_c_werror_flag"
 
4820
                         || test ! -s conftest.err'
 
4821
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4822
  (eval $ac_try) 2>&5
 
4823
  ac_status=$?
 
4824
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4825
  (exit $ac_status); }; } &&
 
4826
         { ac_try='test -s conftest$ac_exeext'
4527
4827
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4528
4828
  (eval $ac_try) 2>&5
4529
4829
  ac_status=$?
4536
4836
 
4537
4837
eval "$as_ac_var=no"
4538
4838
fi
4539
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4839
rm -f conftest.err conftest.$ac_objext \
 
4840
      conftest$ac_exeext conftest.$ac_ext
4540
4841
fi
4541
4842
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4542
4843
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4631
4932
      # `set' does not quote correctly, so add quotes (double-quote
4632
4933
      # substitution turns \\\\ into \\, and sed turns \\ into \).
4633
4934
      sed -n \
4634
 
        "s/'/'\\\\''/g;
4635
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
4935
        "s/'/'\\\\''/g;
 
4936
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4636
4937
      ;;
4637
4938
    *)
4638
4939
      # `set' quotes correctly as required by POSIX, so do not add quotes.
4639
4940
      sed -n \
4640
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
4941
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4641
4942
      ;;
4642
4943
    esac;
4643
4944
} |
4667
4968
# trailing colons and then remove the whole line if VPATH becomes empty
4668
4969
# (actually we leave an empty line to preserve line numbers).
4669
4970
if test "x$srcdir" = x.; then
4670
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
4971
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4671
4972
s/:*\$(srcdir):*/:/;
4672
4973
s/:*\${srcdir}:*/:/;
4673
4974
s/:*@srcdir@:*/:/;
4674
 
s/^\([^=]*=[    ]*\):*/\1/;
 
4975
s/^\([^=]*=[     ]*\):*/\1/;
4675
4976
s/:*$//;
4676
 
s/^[^=]*=[      ]*$//;
 
4977
s/^[^=]*=[       ]*$//;
4677
4978
}'
4678
4979
fi
4679
4980
 
4684
4985
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4685
4986
  # 1. Remove the extension, and $U if already installed.
4686
4987
  ac_i=`echo "$ac_i" |
4687
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
4988
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4688
4989
  # 2. Add them.
4689
4990
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4690
4991
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4749
5050
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4750
5051
  set -o posix
4751
5052
fi
 
5053
DUALCASE=1; export DUALCASE # for MKS sh
4752
5054
 
4753
5055
# Support unset when possible.
4754
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
5056
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4755
5057
  as_unset=unset
4756
5058
else
4757
5059
  as_unset=false
4770
5072
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4771
5073
  LC_TELEPHONE LC_TIME
4772
5074
do
4773
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
5075
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4774
5076
    eval $as_var=C; export $as_var
4775
5077
  else
4776
5078
    $as_unset $as_var
4949
5251
if mkdir -p . 2>/dev/null; then
4950
5252
  as_mkdir_p=:
4951
5253
else
 
5254
  test -d ./-p && rmdir ./-p
4952
5255
  as_mkdir_p=false
4953
5256
fi
4954
5257
 
4955
5258
as_executable_p="test -f"
4956
5259
 
4957
5260
# Sed expression to map a string onto a valid CPP name.
4958
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
5261
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4959
5262
 
4960
5263
# Sed expression to map a string onto a valid variable name.
4961
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
5264
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4962
5265
 
4963
5266
 
4964
5267
# IFS
4985
5288
cat >&5 <<_CSEOF
4986
5289
 
4987
5290
This file was extended by $as_me, which was
4988
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
5291
generated by GNU Autoconf 2.59.  Invocation command line was
4989
5292
 
4990
5293
  CONFIG_FILES    = $CONFIG_FILES
4991
5294
  CONFIG_HEADERS  = $CONFIG_HEADERS
5029
5332
  -d, --debug      don't remove temporary files
5030
5333
      --recheck    update $as_me by reconfiguring in the same conditions
5031
5334
  --file=FILE[:TEMPLATE]
5032
 
                   instantiate the configuration file FILE
 
5335
                   instantiate the configuration file FILE
5033
5336
  --header=FILE[:TEMPLATE]
5034
 
                   instantiate the configuration header FILE
 
5337
                   instantiate the configuration header FILE
5035
5338
 
5036
5339
Configuration files:
5037
5340
$config_files
5048
5351
cat >>$CONFIG_STATUS <<_ACEOF
5049
5352
ac_cs_version="\\
5050
5353
config.status
5051
 
configured by $0, generated by GNU Autoconf 2.57,
 
5354
configured by $0, generated by GNU Autoconf 2.59,
5052
5355
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5053
5356
 
5054
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5055
 
Free Software Foundation, Inc.
 
5357
Copyright (C) 2003 Free Software Foundation, Inc.
5056
5358
This config.status script is free software; the Free Software Foundation
5057
5359
gives unlimited permission to copy, distribute and modify it."
5058
5360
srcdir=$srcdir
5263
5565
s,@STRIP@,$STRIP,;t t
5264
5566
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5265
5567
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
5568
s,@mkdir_p@,$mkdir_p,;t t
5266
5569
s,@AWK@,$AWK,;t t
5267
5570
s,@SET_MAKE@,$SET_MAKE,;t t
5268
5571
s,@am__leading_dot@,$am__leading_dot,;t t
5328
5631
      (echo ':t
5329
5632
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5330
5633
      if test -z "$ac_sed_cmds"; then
5331
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
5634
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5332
5635
      else
5333
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
5636
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5334
5637
      fi
5335
5638
      ac_sed_frag=`expr $ac_sed_frag + 1`
5336
5639
      ac_beg=$ac_end
5348
5651
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5349
5652
  case $ac_file in
5350
5653
  - | *:- | *:-:* ) # input from stdin
5351
 
        cat >$tmp/stdin
5352
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5353
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
5654
        cat >$tmp/stdin
 
5655
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
5656
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5354
5657
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5355
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
5658
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5356
5659
  * )   ac_file_in=$ac_file.in ;;
5357
5660
  esac
5358
5661
 
5359
5662
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5360
5663
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5361
5664
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5362
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
5363
 
         X"$ac_file" : 'X\(//\)$' \| \
5364
 
         X"$ac_file" : 'X\(/\)' \| \
5365
 
         .     : '\(.\)' 2>/dev/null ||
 
5665
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
5666
         X"$ac_file" : 'X\(//\)$' \| \
 
5667
         X"$ac_file" : 'X\(/\)' \| \
 
5668
         .     : '\(.\)' 2>/dev/null ||
5366
5669
echo X"$ac_file" |
5367
5670
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5368
5671
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5378
5681
      as_dirs="$as_dir $as_dirs"
5379
5682
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5380
5683
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5381
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5382
 
         X"$as_dir" : 'X\(//\)$' \| \
5383
 
         X"$as_dir" : 'X\(/\)' \| \
5384
 
         .     : '\(.\)' 2>/dev/null ||
 
5684
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5685
         X"$as_dir" : 'X\(//\)$' \| \
 
5686
         X"$as_dir" : 'X\(/\)' \| \
 
5687
         .     : '\(.\)' 2>/dev/null ||
5385
5688
echo X"$as_dir" |
5386
5689
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5387
5690
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5419
5722
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5420
5723
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5421
5724
esac
5422
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5423
 
# absolute.
5424
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5425
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5426
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5427
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
5725
 
 
5726
# Do not use `cd foo && pwd` to compute absolute paths, because
 
5727
# the directories may not exist.
 
5728
case `pwd` in
 
5729
.) ac_abs_builddir="$ac_dir";;
 
5730
*)
 
5731
  case "$ac_dir" in
 
5732
  .) ac_abs_builddir=`pwd`;;
 
5733
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
5734
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
5735
  esac;;
 
5736
esac
 
5737
case $ac_abs_builddir in
 
5738
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5739
*)
 
5740
  case ${ac_top_builddir}. in
 
5741
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
5742
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5743
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
5744
  esac;;
 
5745
esac
 
5746
case $ac_abs_builddir in
 
5747
.) ac_abs_srcdir=$ac_srcdir;;
 
5748
*)
 
5749
  case $ac_srcdir in
 
5750
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
5751
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
5752
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
5753
  esac;;
 
5754
esac
 
5755
case $ac_abs_builddir in
 
5756
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5757
*)
 
5758
  case $ac_top_srcdir in
 
5759
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
5760
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5761
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
5762
  esac;;
 
5763
esac
5428
5764
 
5429
5765
 
5430
5766
  case $INSTALL in
5446
5782
    configure_input="$ac_file.  "
5447
5783
  fi
5448
5784
  configure_input=$configure_input"Generated from `echo $ac_file_in |
5449
 
                                     sed 's,.*/,,'` by configure."
 
5785
                                     sed 's,.*/,,'` by configure."
5450
5786
 
5451
5787
  # First look for the input files in the build tree, otherwise in the
5452
5788
  # src tree.
5455
5791
      case $f in
5456
5792
      -) echo $tmp/stdin ;;
5457
5793
      [\\/$]*)
5458
 
         # Absolute (can't be DOS-style, as IFS=:)
5459
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
5794
         # Absolute (can't be DOS-style, as IFS=:)
 
5795
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5460
5796
echo "$as_me: error: cannot find input file: $f" >&2;}
5461
5797
   { (exit 1); exit 1; }; }
5462
 
         echo $f;;
 
5798
         echo "$f";;
5463
5799
      *) # Relative
5464
 
         if test -f "$f"; then
5465
 
           # Build tree
5466
 
           echo $f
5467
 
         elif test -f "$srcdir/$f"; then
5468
 
           # Source tree
5469
 
           echo $srcdir/$f
5470
 
         else
5471
 
           # /dev/null tree
5472
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
5800
         if test -f "$f"; then
 
5801
           # Build tree
 
5802
           echo "$f"
 
5803
         elif test -f "$srcdir/$f"; then
 
5804
           # Source tree
 
5805
           echo "$srcdir/$f"
 
5806
         else
 
5807
           # /dev/null tree
 
5808
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5473
5809
echo "$as_me: error: cannot find input file: $f" >&2;}
5474
5810
   { (exit 1); exit 1; }; }
5475
 
         fi;;
 
5811
         fi;;
5476
5812
      esac
5477
5813
    done` || { (exit 1); exit 1; }
5478
5814
_ACEOF
5514
5850
# NAME is the cpp macro being defined and VALUE is the value it is being given.
5515
5851
#
5516
5852
# ac_d sets the value in "#define NAME VALUE" lines.
5517
 
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
5518
 
ac_dB='[        ].*$,\1#\2'
 
5853
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
 
5854
ac_dB='[         ].*$,\1#\2'
5519
5855
ac_dC=' '
5520
5856
ac_dD=',;t'
5521
5857
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5522
 
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
5858
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
5523
5859
ac_uB='$,\1#\2define\3'
5524
5860
ac_uC=' '
5525
5861
ac_uD=',;t'
5528
5864
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5529
5865
  case $ac_file in
5530
5866
  - | *:- | *:-:* ) # input from stdin
5531
 
        cat >$tmp/stdin
5532
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5533
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
5867
        cat >$tmp/stdin
 
5868
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
5869
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5534
5870
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5535
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
5871
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5536
5872
  * )   ac_file_in=$ac_file.in ;;
5537
5873
  esac
5538
5874
 
5546
5882
      case $f in
5547
5883
      -) echo $tmp/stdin ;;
5548
5884
      [\\/$]*)
5549
 
         # Absolute (can't be DOS-style, as IFS=:)
5550
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
5885
         # Absolute (can't be DOS-style, as IFS=:)
 
5886
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5551
5887
echo "$as_me: error: cannot find input file: $f" >&2;}
5552
5888
   { (exit 1); exit 1; }; }
5553
 
         echo $f;;
 
5889
         # Do quote $f, to prevent DOS paths from being IFS'd.
 
5890
         echo "$f";;
5554
5891
      *) # Relative
5555
 
         if test -f "$f"; then
5556
 
           # Build tree
5557
 
           echo $f
5558
 
         elif test -f "$srcdir/$f"; then
5559
 
           # Source tree
5560
 
           echo $srcdir/$f
5561
 
         else
5562
 
           # /dev/null tree
5563
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
5892
         if test -f "$f"; then
 
5893
           # Build tree
 
5894
           echo "$f"
 
5895
         elif test -f "$srcdir/$f"; then
 
5896
           # Source tree
 
5897
           echo "$srcdir/$f"
 
5898
         else
 
5899
           # /dev/null tree
 
5900
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5564
5901
echo "$as_me: error: cannot find input file: $f" >&2;}
5565
5902
   { (exit 1); exit 1; }; }
5566
 
         fi;;
 
5903
         fi;;
5567
5904
      esac
5568
5905
    done` || { (exit 1); exit 1; }
5569
5906
  # Remove the trailing spaces.
5570
 
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
 
5907
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
5571
5908
 
5572
5909
_ACEOF
5573
5910
 
5590
5927
s,[\\$`],\\&,g
5591
5928
t clear
5592
5929
: clear
5593
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
5930
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5594
5931
t end
5595
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
5932
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5596
5933
: end
5597
5934
_ACEOF
5598
5935
# If some macros were called several times there might be several times
5606
5943
# example, in the case of _POSIX_SOURCE, which is predefined and required
5607
5944
# on some systems where configure will not decide to define it.
5608
5945
cat >>conftest.undefs <<\_ACEOF
5609
 
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
5946
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5610
5947
_ACEOF
5611
5948
 
5612
5949
# Break up conftest.defines because some shells have a limit on the size
5613
5950
# of here documents, and old seds have small limits too (100 cmds).
5614
5951
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5615
 
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
5952
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5616
5953
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5617
5954
echo '  :' >>$CONFIG_STATUS
5618
5955
rm -f conftest.tail
5621
5958
  # Write a limited-size here document to $tmp/defines.sed.
5622
5959
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5623
5960
  # Speed up: don't consider the non `#define' lines.
5624
 
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
5961
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
5625
5962
  # Work around the forget-to-reset-the-flag bug.
5626
5963
  echo 't clr' >>$CONFIG_STATUS
5627
5964
  echo ': clr' >>$CONFIG_STATUS
5648
5985
  # Write a limited-size here document to $tmp/undefs.sed.
5649
5986
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5650
5987
  # Speed up: don't consider the non `#undef'
5651
 
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
5988
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
5652
5989
  # Work around the forget-to-reset-the-flag bug.
5653
5990
  echo 't clr' >>$CONFIG_STATUS
5654
5991
  echo ': clr' >>$CONFIG_STATUS
5682
6019
    else
5683
6020
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5684
6021
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5685
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
5686
 
         X"$ac_file" : 'X\(//\)$' \| \
5687
 
         X"$ac_file" : 'X\(/\)' \| \
5688
 
         .     : '\(.\)' 2>/dev/null ||
 
6022
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
6023
         X"$ac_file" : 'X\(//\)$' \| \
 
6024
         X"$ac_file" : 'X\(/\)' \| \
 
6025
         .     : '\(.\)' 2>/dev/null ||
5689
6026
echo X"$ac_file" |
5690
6027
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5691
6028
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5701
6038
      as_dirs="$as_dir $as_dirs"
5702
6039
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5703
6040
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5704
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5705
 
         X"$as_dir" : 'X\(//\)$' \| \
5706
 
         X"$as_dir" : 'X\(/\)' \| \
5707
 
         .     : '\(.\)' 2>/dev/null ||
 
6041
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6042
         X"$as_dir" : 'X\(//\)$' \| \
 
6043
         X"$as_dir" : 'X\(/\)' \| \
 
6044
         .     : '\(.\)' 2>/dev/null ||
5708
6045
echo X"$as_dir" |
5709
6046
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5710
6047
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5736
6073
done
5737
6074
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5738
6075
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5739
 
         X$ac_file : 'X\(//\)[^/]' \| \
5740
 
         X$ac_file : 'X\(//\)$' \| \
5741
 
         X$ac_file : 'X\(/\)' \| \
5742
 
         .     : '\(.\)' 2>/dev/null ||
 
6076
         X$ac_file : 'X\(//\)[^/]' \| \
 
6077
         X$ac_file : 'X\(//\)$' \| \
 
6078
         X$ac_file : 'X\(/\)' \| \
 
6079
         .     : '\(.\)' 2>/dev/null ||
5743
6080
echo X$ac_file |
5744
6081
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5745
6082
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5758
6095
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5759
6096
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5760
6097
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5761
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
5762
 
         X"$ac_dest" : 'X\(//\)$' \| \
5763
 
         X"$ac_dest" : 'X\(/\)' \| \
5764
 
         .     : '\(.\)' 2>/dev/null ||
 
6098
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
6099
         X"$ac_dest" : 'X\(//\)$' \| \
 
6100
         X"$ac_dest" : 'X\(/\)' \| \
 
6101
         .     : '\(.\)' 2>/dev/null ||
5765
6102
echo X"$ac_dest" |
5766
6103
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5767
6104
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5768
6105
          /^X\(\/\/\)$/{ s//\1/; q; }
5769
6106
          /^X\(\/\).*/{ s//\1/; q; }
5770
6107
          s/.*/./; q'`
 
6108
  { if $as_mkdir_p; then
 
6109
    mkdir -p "$ac_dir"
 
6110
  else
 
6111
    as_dir="$ac_dir"
 
6112
    as_dirs=
 
6113
    while test ! -d "$as_dir"; do
 
6114
      as_dirs="$as_dir $as_dirs"
 
6115
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
6116
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6117
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6118
         X"$as_dir" : 'X\(//\)$' \| \
 
6119
         X"$as_dir" : 'X\(/\)' \| \
 
6120
         .     : '\(.\)' 2>/dev/null ||
 
6121
echo X"$as_dir" |
 
6122
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
6123
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
6124
          /^X\(\/\/\)$/{ s//\1/; q; }
 
6125
          /^X\(\/\).*/{ s//\1/; q; }
 
6126
          s/.*/./; q'`
 
6127
    done
 
6128
    test ! -n "$as_dirs" || mkdir $as_dirs
 
6129
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
6130
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
6131
   { (exit 1); exit 1; }; }; }
 
6132
 
5771
6133
  ac_builddir=.
5772
6134
 
5773
6135
if test "$ac_dir" != .; then
5793
6155
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5794
6156
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5795
6157
esac
5796
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5797
 
# absolute.
5798
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5799
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5800
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5801
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
6158
 
 
6159
# Do not use `cd foo && pwd` to compute absolute paths, because
 
6160
# the directories may not exist.
 
6161
case `pwd` in
 
6162
.) ac_abs_builddir="$ac_dir";;
 
6163
*)
 
6164
  case "$ac_dir" in
 
6165
  .) ac_abs_builddir=`pwd`;;
 
6166
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
6167
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
6168
  esac;;
 
6169
esac
 
6170
case $ac_abs_builddir in
 
6171
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6172
*)
 
6173
  case ${ac_top_builddir}. in
 
6174
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
6175
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6176
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
6177
  esac;;
 
6178
esac
 
6179
case $ac_abs_builddir in
 
6180
.) ac_abs_srcdir=$ac_srcdir;;
 
6181
*)
 
6182
  case $ac_srcdir in
 
6183
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
6184
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
6185
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
6186
  esac;;
 
6187
esac
 
6188
case $ac_abs_builddir in
 
6189
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6190
*)
 
6191
  case $ac_top_srcdir in
 
6192
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
6193
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6194
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
6195
  esac;;
 
6196
esac
5802
6197
 
5803
6198
 
5804
6199
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5816
6211
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5817
6212
    dirpart=`(dirname "$mf") 2>/dev/null ||
5818
6213
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5819
 
         X"$mf" : 'X\(//\)[^/]' \| \
5820
 
         X"$mf" : 'X\(//\)$' \| \
5821
 
         X"$mf" : 'X\(/\)' \| \
5822
 
         .     : '\(.\)' 2>/dev/null ||
 
6214
         X"$mf" : 'X\(//\)[^/]' \| \
 
6215
         X"$mf" : 'X\(//\)$' \| \
 
6216
         X"$mf" : 'X\(/\)' \| \
 
6217
         .     : '\(.\)' 2>/dev/null ||
5823
6218
echo X"$mf" |
5824
6219
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5825
6220
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5832
6227
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5833
6228
  # Extract the definition of DEP_FILES from the Makefile without
5834
6229
  # running `make'.
5835
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
6230
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5836
6231
  test -z "$DEPDIR" && continue
5837
6232
  # When using ansi2knr, U may be empty or an underscore; expand it
5838
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
 
6233
  U=`sed -n 's/^U = //p' < "$mf"`
5839
6234
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5840
6235
  # We invoke sed twice because it is the simplest approach to
5841
6236
  # changing $(DEPDIR) to its actual value in the expansion.
5842
 
  for file in `sed -n -e '
 
6237
  for file in `sed -n '
5843
6238
    /^DEP_FILES = .*\\\\$/ {
5844
6239
      s/^DEP_FILES = //
5845
6240
      :loop
5855
6250
    test -f "$dirpart/$file" && continue
5856
6251
    fdir=`(dirname "$file") 2>/dev/null ||
5857
6252
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5858
 
         X"$file" : 'X\(//\)[^/]' \| \
5859
 
         X"$file" : 'X\(//\)$' \| \
5860
 
         X"$file" : 'X\(/\)' \| \
5861
 
         .     : '\(.\)' 2>/dev/null ||
 
6253
         X"$file" : 'X\(//\)[^/]' \| \
 
6254
         X"$file" : 'X\(//\)$' \| \
 
6255
         X"$file" : 'X\(/\)' \| \
 
6256
         .     : '\(.\)' 2>/dev/null ||
5862
6257
echo X"$file" |
5863
6258
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5864
6259
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5874
6269
      as_dirs="$as_dir $as_dirs"
5875
6270
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5876
6271
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5877
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5878
 
         X"$as_dir" : 'X\(//\)$' \| \
5879
 
         X"$as_dir" : 'X\(/\)' \| \
5880
 
         .     : '\(.\)' 2>/dev/null ||
 
6272
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6273
         X"$as_dir" : 'X\(//\)$' \| \
 
6274
         X"$as_dir" : 'X\(/\)' \| \
 
6275
         .     : '\(.\)' 2>/dev/null ||
5881
6276
echo X"$as_dir" |
5882
6277
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5883
6278
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5985
6380
      as_dirs="$as_dir $as_dirs"
5986
6381
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5987
6382
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5988
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5989
 
         X"$as_dir" : 'X\(//\)$' \| \
5990
 
         X"$as_dir" : 'X\(/\)' \| \
5991
 
         .     : '\(.\)' 2>/dev/null ||
 
6383
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6384
         X"$as_dir" : 'X\(//\)$' \| \
 
6385
         X"$as_dir" : 'X\(/\)' \| \
 
6386
         .     : '\(.\)' 2>/dev/null ||
5992
6387
echo X"$as_dir" |
5993
6388
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5994
6389
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6026
6421
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6027
6422
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
6028
6423
esac
6029
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6030
 
# absolute.
6031
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6032
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6033
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6034
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
6424
 
 
6425
# Do not use `cd foo && pwd` to compute absolute paths, because
 
6426
# the directories may not exist.
 
6427
case `pwd` in
 
6428
.) ac_abs_builddir="$ac_dir";;
 
6429
*)
 
6430
  case "$ac_dir" in
 
6431
  .) ac_abs_builddir=`pwd`;;
 
6432
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
6433
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
6434
  esac;;
 
6435
esac
 
6436
case $ac_abs_builddir in
 
6437
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6438
*)
 
6439
  case ${ac_top_builddir}. in
 
6440
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
6441
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6442
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
6443
  esac;;
 
6444
esac
 
6445
case $ac_abs_builddir in
 
6446
.) ac_abs_srcdir=$ac_srcdir;;
 
6447
*)
 
6448
  case $ac_srcdir in
 
6449
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
6450
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
6451
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
6452
  esac;;
 
6453
esac
 
6454
case $ac_abs_builddir in
 
6455
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6456
*)
 
6457
  case $ac_top_srcdir in
 
6458
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
6459
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6460
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
6461
  esac;;
 
6462
esac
6035
6463
 
6036
6464
 
6037
6465
    cd $ac_dir
6055
6483
      case $cache_file in
6056
6484
      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6057
6485
      *) # Relative path.
6058
 
        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
 
6486
        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
6059
6487
      esac
6060
6488
 
6061
6489
      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6062
6490
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6063
6491
      # The eval makes quoting arguments work.
6064
6492
      eval $ac_sub_configure $ac_sub_configure_args \
6065
 
           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
6066
 
        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
 
6493
           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
 
6494
        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
6067
6495
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
6068
6496
   { (exit 1); exit 1; }; }
6069
6497
    fi