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

« back to all changes in this revision

Viewing changes to gdbmobj/configure

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.57.
 
3
# Generated by GNU Autoconf 2.59.
4
4
#
5
 
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
 
# Free Software Foundation, Inc.
 
5
# Copyright (C) 2003 Free Software Foundation, Inc.
7
6
# This configure script is free software; the Free Software Foundation
8
7
# gives unlimited permission to copy, distribute and modify it.
9
8
## --------------------- ##
20
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21
20
  set -o posix
22
21
fi
 
22
DUALCASE=1; export DUALCASE # for MKS sh
23
23
 
24
24
# Support unset when possible.
25
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26
26
  as_unset=unset
27
27
else
28
28
  as_unset=false
41
41
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42
42
  LC_TELEPHONE LC_TIME
43
43
do
44
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
44
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
45
    eval $as_var=C; export $as_var
46
46
  else
47
47
    $as_unset $as_var
218
218
if mkdir -p . 2>/dev/null; then
219
219
  as_mkdir_p=:
220
220
else
 
221
  test -d ./-p && rmdir ./-p
221
222
  as_mkdir_p=false
222
223
fi
223
224
 
224
225
as_executable_p="test -f"
225
226
 
226
227
# Sed expression to map a string onto a valid CPP name.
227
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
228
229
 
229
230
# Sed expression to map a string onto a valid variable name.
230
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231
232
 
232
233
 
233
234
# IFS
308
309
# include <unistd.h>
309
310
#endif"
310
311
 
311
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB LIBGDBM FOUND_GDBM_TRUE FOUND_GDBM_FALSE LIBOBJS LTLIBOBJS'
 
312
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB LIBGDBM FOUND_GDBM_TRUE FOUND_GDBM_FALSE LIBOBJS LTLIBOBJS'
312
313
ac_subst_files=''
313
314
 
314
315
# Initialize some variables set by options.
667
668
 
668
669
# Be sure to have absolute paths.
669
670
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670
 
              localstatedir libdir includedir oldincludedir infodir mandir
 
671
              localstatedir libdir includedir oldincludedir infodir mandir
671
672
do
672
673
  eval ac_val=$`echo $ac_var`
673
674
  case $ac_val in
707
708
  # Try the directory containing this script, then its parent.
708
709
  ac_confdir=`(dirname "$0") 2>/dev/null ||
709
710
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710
 
         X"$0" : 'X\(//\)[^/]' \| \
711
 
         X"$0" : 'X\(//\)$' \| \
712
 
         X"$0" : 'X\(/\)' \| \
713
 
         .     : '\(.\)' 2>/dev/null ||
 
711
         X"$0" : 'X\(//\)[^/]' \| \
 
712
         X"$0" : 'X\(//\)$' \| \
 
713
         X"$0" : 'X\(/\)' \| \
 
714
         .     : '\(.\)' 2>/dev/null ||
714
715
echo X"$0" |
715
716
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716
717
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
810
811
  cat <<_ACEOF
811
812
Installation directories:
812
813
  --prefix=PREFIX         install architecture-independent files in PREFIX
813
 
                          [$ac_default_prefix]
 
814
                          [$ac_default_prefix]
814
815
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
815
 
                          [PREFIX]
 
816
                          [PREFIX]
816
817
 
817
818
By default, \`make install' will install all the files in
818
819
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
852
853
Optional Features:
853
854
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
854
855
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
855
 
  --disable-dependency-tracking Speeds up one-time builds
856
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
856
  --disable-dependency-tracking  speeds up one-time build
 
857
  --enable-dependency-tracking   do not reject slow dependency extractors
857
858
 
858
859
Some influential environment variables:
859
860
  CC          C compiler command
902
903
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
903
904
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
904
905
esac
905
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
906
 
# absolute.
907
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
908
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
909
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
910
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
906
 
 
907
# Do not use `cd foo && pwd` to compute absolute paths, because
 
908
# the directories may not exist.
 
909
case `pwd` in
 
910
.) ac_abs_builddir="$ac_dir";;
 
911
*)
 
912
  case "$ac_dir" in
 
913
  .) ac_abs_builddir=`pwd`;;
 
914
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
915
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
916
  esac;;
 
917
esac
 
918
case $ac_abs_builddir in
 
919
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
920
*)
 
921
  case ${ac_top_builddir}. in
 
922
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
923
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
924
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
925
  esac;;
 
926
esac
 
927
case $ac_abs_builddir in
 
928
.) ac_abs_srcdir=$ac_srcdir;;
 
929
*)
 
930
  case $ac_srcdir in
 
931
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
932
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
933
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
934
  esac;;
 
935
esac
 
936
case $ac_abs_builddir in
 
937
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
938
*)
 
939
  case $ac_top_srcdir in
 
940
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
941
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
942
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
943
  esac;;
 
944
esac
911
945
 
912
946
    cd $ac_dir
913
947
    # Check for guested configure; otherwise get Cygnus style configure.
918
952
      echo
919
953
      $SHELL $ac_srcdir/configure  --help=recursive
920
954
    elif test -f $ac_srcdir/configure.ac ||
921
 
           test -f $ac_srcdir/configure.in; then
 
955
           test -f $ac_srcdir/configure.in; then
922
956
      echo
923
957
      $ac_configure --help
924
958
    else
932
966
if $ac_init_version; then
933
967
  cat <<\_ACEOF
934
968
 
935
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
936
 
Free Software Foundation, Inc.
 
969
Copyright (C) 2003 Free Software Foundation, Inc.
937
970
This configure script is free software; the Free Software Foundation
938
971
gives unlimited permission to copy, distribute and modify it.
939
972
_ACEOF
945
978
running configure, to aid debugging if configure makes a mistake.
946
979
 
947
980
It was created by $as_me, which was
948
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
981
generated by GNU Autoconf 2.59.  Invocation command line was
949
982
 
950
983
  $ $0 $@
951
984
 
1022
1055
    2)
1023
1056
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1024
1057
      if test $ac_must_keep_next = true; then
1025
 
        ac_must_keep_next=false # Got value, back to normal.
 
1058
        ac_must_keep_next=false # Got value, back to normal.
1026
1059
      else
1027
 
        case $ac_arg in
1028
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1029
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1030
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1031
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1032
 
            case "$ac_configure_args0 " in
1033
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1034
 
            esac
1035
 
            ;;
1036
 
          -* ) ac_must_keep_next=true ;;
1037
 
        esac
 
1060
        case $ac_arg in
 
1061
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1062
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1063
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1064
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1065
            case "$ac_configure_args0 " in
 
1066
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1067
            esac
 
1068
            ;;
 
1069
          -* ) ac_must_keep_next=true ;;
 
1070
        esac
1038
1071
      fi
1039
1072
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1040
1073
      # Get rid of the leading space.
1068
1101
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1069
1102
    *ac_space=\ *)
1070
1103
      sed -n \
1071
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1072
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1104
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1105
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1073
1106
      ;;
1074
1107
    *)
1075
1108
      sed -n \
1076
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1109
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1077
1110
      ;;
1078
1111
    esac;
1079
1112
}
1102
1135
      for ac_var in $ac_subst_files
1103
1136
      do
1104
1137
        eval ac_val=$`echo $ac_var`
1105
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1138
        echo "$ac_var='"'"'$ac_val'"'"'"
1106
1139
      done | sort
1107
1140
      echo
1108
1141
    fi
1121
1154
      echo "$as_me: caught signal $ac_signal"
1122
1155
    echo "$as_me: exit $exit_status"
1123
1156
  } >&5
1124
 
  rm -f core core.* *.core &&
 
1157
  rm -f core *.core &&
1125
1158
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1126
1159
    exit $exit_status
1127
1160
     ' 0
1201
1234
# value.
1202
1235
ac_cache_corrupted=false
1203
1236
for ac_var in `(set) 2>&1 |
1204
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1237
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1205
1238
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1206
1239
  eval ac_new_set=\$ac_env_${ac_var}_set
1207
1240
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1218
1251
    ,);;
1219
1252
    *)
1220
1253
      if test "x$ac_old_val" != "x$ac_new_val"; then
1221
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1254
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1222
1255
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1223
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1256
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1224
1257
echo "$as_me:   former value:  $ac_old_val" >&2;}
1225
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1258
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1226
1259
echo "$as_me:   current value: $ac_new_val" >&2;}
1227
 
        ac_cache_corrupted=:
 
1260
        ac_cache_corrupted=:
1228
1261
      fi;;
1229
1262
  esac
1230
1263
  # Pass precious variables to config.status.
1273
1306
 
1274
1307
 
1275
1308
 
1276
 
am__api_version="1.7"
 
1309
am__api_version="1.8"
1277
1310
ac_aux_dir=
1278
1311
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1279
1312
  if test -f $ac_dir/install-sh; then
1310
1343
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1311
1344
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1312
1345
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1346
# OS/2's system install, which has a completely different semantic
1313
1347
# ./install, which can be erroneously created by make from ./install.sh.
1314
1348
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1315
1349
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1326
1360
case $as_dir/ in
1327
1361
  ./ | .// | /cC/* | \
1328
1362
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1363
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1329
1364
  /usr/ucb/* ) ;;
1330
1365
  *)
1331
1366
    # OSF1 and SCO ODT 3.0 have their own names for install.
1333
1368
    # by default.
1334
1369
    for ac_prog in ginstall scoinst install; do
1335
1370
      for ac_exec_ext in '' $ac_executable_extensions; do
1336
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1337
 
          if test $ac_prog = install &&
1338
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1339
 
            # AIX install.  It has an incompatible calling convention.
1340
 
            :
1341
 
          elif test $ac_prog = install &&
1342
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1343
 
            # program-specific install script used by HP pwplus--don't use.
1344
 
            :
1345
 
          else
1346
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1347
 
            break 3
1348
 
          fi
1349
 
        fi
 
1371
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1372
          if test $ac_prog = install &&
 
1373
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1374
            # AIX install.  It has an incompatible calling convention.
 
1375
            :
 
1376
          elif test $ac_prog = install &&
 
1377
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1378
            # program-specific install script used by HP pwplus--don't use.
 
1379
            :
 
1380
          else
 
1381
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1382
            break 3
 
1383
          fi
 
1384
        fi
1350
1385
      done
1351
1386
    done
1352
1387
    ;;
1434
1469
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1435
1470
rm conftest.sed
1436
1471
 
1437
 
 
1438
1472
# expand $ac_aux_dir to an absolute path
1439
1473
am_aux_dir=`cd $ac_aux_dir && pwd`
1440
1474
 
1448
1482
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1449
1483
fi
1450
1484
 
 
1485
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1486
  # Keeping the `.' argument allows $(mkdir_p) to be used without
 
1487
  # argument.  Indeed, we sometimes output rules like
 
1488
  #   $(mkdir_p) $(somedir)
 
1489
  # where $(somedir) is conditionally defined.
 
1490
  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
 
1491
  # expensive solution, as it forces Make to start a sub-shell.)
 
1492
  mkdir_p='mkdir -p -- .'
 
1493
else
 
1494
  # On NextStep and OpenStep, the `mkdir' command does not
 
1495
  # recognize any option.  It will interpret all options as
 
1496
  # directories to create, and then abort because `.' already
 
1497
  # exists.
 
1498
  for d in ./-p ./--version;
 
1499
  do
 
1500
    test -d $d && rmdir $d
 
1501
  done
 
1502
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1503
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1504
    mkdir_p='$(mkinstalldirs)'
 
1505
  else
 
1506
    mkdir_p='$(install_sh) -d'
 
1507
  fi
 
1508
fi
 
1509
 
1451
1510
for ac_prog in gawk mawk nawk awk
1452
1511
do
1453
1512
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1490
1549
 
1491
1550
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1492
1551
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1493
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1552
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1494
1553
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1495
1554
  echo $ECHO_N "(cached) $ECHO_C" >&6
1496
1555
else
1526
1585
fi
1527
1586
rmdir .tst 2>/dev/null
1528
1587
 
1529
 
 # test to see if srcdir already configured
 
1588
# test to see if srcdir already configured
1530
1589
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1531
1590
   test -f $srcdir/config.status; then
1532
1591
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2002
2061
  (exit $ac_status); }
2003
2062
 
2004
2063
cat >conftest.$ac_ext <<_ACEOF
2005
 
#line $LINENO "configure"
2006
2064
/* confdefs.h.  */
2007
2065
_ACEOF
2008
2066
cat confdefs.h >>conftest.$ac_ext
2022
2080
# Try to create an executable without -o first, disregard a.out.
2023
2081
# It will help us diagnose broken compilers, and finding out an intuition
2024
2082
# of exeext.
2025
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2026
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
2083
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2084
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2027
2085
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2028
2086
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2029
2087
  (eval $ac_link_default) 2>&5
2043
2101
  test -f "$ac_file" || continue
2044
2102
  case $ac_file in
2045
2103
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2046
 
        ;;
 
2104
        ;;
2047
2105
    conftest.$ac_ext )
2048
 
        # This is the source file.
2049
 
        ;;
 
2106
        # This is the source file.
 
2107
        ;;
2050
2108
    [ab].out )
2051
 
        # We found the default executable, but exeext='' is most
2052
 
        # certainly right.
2053
 
        break;;
 
2109
        # We found the default executable, but exeext='' is most
 
2110
        # certainly right.
 
2111
        break;;
2054
2112
    *.* )
2055
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2056
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2057
 
        # but it would be cool to find out if it's true.  Does anybody
2058
 
        # maintain Libtool? --akim.
2059
 
        export ac_cv_exeext
2060
 
        break;;
 
2113
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2114
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2115
        # but it would be cool to find out if it's true.  Does anybody
 
2116
        # maintain Libtool? --akim.
 
2117
        export ac_cv_exeext
 
2118
        break;;
2061
2119
    * )
2062
 
        break;;
 
2120
        break;;
2063
2121
  esac
2064
2122
done
2065
2123
else
2133
2191
  case $ac_file in
2134
2192
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2135
2193
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2136
 
          export ac_cv_exeext
2137
 
          break;;
 
2194
          export ac_cv_exeext
 
2195
          break;;
2138
2196
    * ) break;;
2139
2197
  esac
2140
2198
done
2159
2217
  echo $ECHO_N "(cached) $ECHO_C" >&6
2160
2218
else
2161
2219
  cat >conftest.$ac_ext <<_ACEOF
2162
 
#line $LINENO "configure"
2163
2220
/* confdefs.h.  */
2164
2221
_ACEOF
2165
2222
cat confdefs.h >>conftest.$ac_ext
2210
2267
  echo $ECHO_N "(cached) $ECHO_C" >&6
2211
2268
else
2212
2269
  cat >conftest.$ac_ext <<_ACEOF
2213
 
#line $LINENO "configure"
2214
2270
/* confdefs.h.  */
2215
2271
_ACEOF
2216
2272
cat confdefs.h >>conftest.$ac_ext
2230
2286
_ACEOF
2231
2287
rm -f conftest.$ac_objext
2232
2288
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2233
 
  (eval $ac_compile) 2>&5
 
2289
  (eval $ac_compile) 2>conftest.er1
2234
2290
  ac_status=$?
 
2291
  grep -v '^ *+' conftest.er1 >conftest.err
 
2292
  rm -f conftest.er1
 
2293
  cat conftest.err >&5
2235
2294
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2236
2295
  (exit $ac_status); } &&
2237
 
         { ac_try='test -s conftest.$ac_objext'
 
2296
         { ac_try='test -z "$ac_c_werror_flag"
 
2297
                         || test ! -s conftest.err'
 
2298
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2299
  (eval $ac_try) 2>&5
 
2300
  ac_status=$?
 
2301
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2302
  (exit $ac_status); }; } &&
 
2303
         { ac_try='test -s conftest.$ac_objext'
2238
2304
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2239
2305
  (eval $ac_try) 2>&5
2240
2306
  ac_status=$?
2247
2313
 
2248
2314
ac_compiler_gnu=no
2249
2315
fi
2250
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2316
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2251
2317
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2252
2318
 
2253
2319
fi
2263
2329
  echo $ECHO_N "(cached) $ECHO_C" >&6
2264
2330
else
2265
2331
  cat >conftest.$ac_ext <<_ACEOF
2266
 
#line $LINENO "configure"
2267
2332
/* confdefs.h.  */
2268
2333
_ACEOF
2269
2334
cat confdefs.h >>conftest.$ac_ext
2280
2345
_ACEOF
2281
2346
rm -f conftest.$ac_objext
2282
2347
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2283
 
  (eval $ac_compile) 2>&5
 
2348
  (eval $ac_compile) 2>conftest.er1
2284
2349
  ac_status=$?
 
2350
  grep -v '^ *+' conftest.er1 >conftest.err
 
2351
  rm -f conftest.er1
 
2352
  cat conftest.err >&5
2285
2353
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286
2354
  (exit $ac_status); } &&
2287
 
         { ac_try='test -s conftest.$ac_objext'
 
2355
         { ac_try='test -z "$ac_c_werror_flag"
 
2356
                         || test ! -s conftest.err'
 
2357
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2358
  (eval $ac_try) 2>&5
 
2359
  ac_status=$?
 
2360
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2361
  (exit $ac_status); }; } &&
 
2362
         { ac_try='test -s conftest.$ac_objext'
2288
2363
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2289
2364
  (eval $ac_try) 2>&5
2290
2365
  ac_status=$?
2297
2372
 
2298
2373
ac_cv_prog_cc_g=no
2299
2374
fi
2300
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2375
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2301
2376
fi
2302
2377
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2303
2378
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2324
2399
  ac_cv_prog_cc_stdc=no
2325
2400
ac_save_CC=$CC
2326
2401
cat >conftest.$ac_ext <<_ACEOF
2327
 
#line $LINENO "configure"
2328
2402
/* confdefs.h.  */
2329
2403
_ACEOF
2330
2404
cat confdefs.h >>conftest.$ac_ext
2352
2426
  va_end (v);
2353
2427
  return s;
2354
2428
}
 
2429
 
 
2430
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2431
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2432
   These don't provoke an error unfortunately, instead are silently treated
 
2433
   as 'x'.  The following induces an error, until -std1 is added to get
 
2434
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2435
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2436
   that's true only with -std1.  */
 
2437
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2438
 
2355
2439
int test (int i, double x);
2356
2440
struct s1 {int (*f) (int a);};
2357
2441
struct s2 {int (*f) (double a);};
2378
2462
  CC="$ac_save_CC $ac_arg"
2379
2463
  rm -f conftest.$ac_objext
2380
2464
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2381
 
  (eval $ac_compile) 2>&5
 
2465
  (eval $ac_compile) 2>conftest.er1
2382
2466
  ac_status=$?
 
2467
  grep -v '^ *+' conftest.er1 >conftest.err
 
2468
  rm -f conftest.er1
 
2469
  cat conftest.err >&5
2383
2470
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384
2471
  (exit $ac_status); } &&
2385
 
         { ac_try='test -s conftest.$ac_objext'
 
2472
         { ac_try='test -z "$ac_c_werror_flag"
 
2473
                         || test ! -s conftest.err'
 
2474
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2475
  (eval $ac_try) 2>&5
 
2476
  ac_status=$?
 
2477
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2478
  (exit $ac_status); }; } &&
 
2479
         { ac_try='test -s conftest.$ac_objext'
2386
2480
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2387
2481
  (eval $ac_try) 2>&5
2388
2482
  ac_status=$?
2395
2489
sed 's/^/| /' conftest.$ac_ext >&5
2396
2490
 
2397
2491
fi
2398
 
rm -f conftest.$ac_objext
 
2492
rm -f conftest.err conftest.$ac_objext
2399
2493
done
2400
2494
rm -f conftest.$ac_ext conftest.$ac_objext
2401
2495
CC=$ac_save_CC
2423
2517
_ACEOF
2424
2518
rm -f conftest.$ac_objext
2425
2519
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2426
 
  (eval $ac_compile) 2>&5
 
2520
  (eval $ac_compile) 2>conftest.er1
2427
2521
  ac_status=$?
 
2522
  grep -v '^ *+' conftest.er1 >conftest.err
 
2523
  rm -f conftest.er1
 
2524
  cat conftest.err >&5
2428
2525
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429
2526
  (exit $ac_status); } &&
2430
 
         { ac_try='test -s conftest.$ac_objext'
 
2527
         { ac_try='test -z "$ac_c_werror_flag"
 
2528
                         || test ! -s conftest.err'
 
2529
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2530
  (eval $ac_try) 2>&5
 
2531
  ac_status=$?
 
2532
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2533
  (exit $ac_status); }; } &&
 
2534
         { ac_try='test -s conftest.$ac_objext'
2431
2535
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2432
2536
  (eval $ac_try) 2>&5
2433
2537
  ac_status=$?
2434
2538
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435
2539
  (exit $ac_status); }; }; then
2436
2540
  for ac_declaration in \
2437
 
   ''\
2438
 
   '#include <stdlib.h>' \
 
2541
   '' \
2439
2542
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2440
2543
   'extern "C" void std::exit (int); using std::exit;' \
2441
2544
   'extern "C" void exit (int) throw ();' \
2443
2546
   'void exit (int);'
2444
2547
do
2445
2548
  cat >conftest.$ac_ext <<_ACEOF
2446
 
#line $LINENO "configure"
2447
2549
/* confdefs.h.  */
2448
2550
_ACEOF
2449
2551
cat confdefs.h >>conftest.$ac_ext
2450
2552
cat >>conftest.$ac_ext <<_ACEOF
2451
2553
/* end confdefs.h.  */
 
2554
$ac_declaration
2452
2555
#include <stdlib.h>
2453
 
$ac_declaration
2454
2556
int
2455
2557
main ()
2456
2558
{
2461
2563
_ACEOF
2462
2564
rm -f conftest.$ac_objext
2463
2565
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2464
 
  (eval $ac_compile) 2>&5
 
2566
  (eval $ac_compile) 2>conftest.er1
2465
2567
  ac_status=$?
 
2568
  grep -v '^ *+' conftest.er1 >conftest.err
 
2569
  rm -f conftest.er1
 
2570
  cat conftest.err >&5
2466
2571
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467
2572
  (exit $ac_status); } &&
2468
 
         { ac_try='test -s conftest.$ac_objext'
 
2573
         { ac_try='test -z "$ac_c_werror_flag"
 
2574
                         || test ! -s conftest.err'
 
2575
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2576
  (eval $ac_try) 2>&5
 
2577
  ac_status=$?
 
2578
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2579
  (exit $ac_status); }; } &&
 
2580
         { ac_try='test -s conftest.$ac_objext'
2469
2581
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2470
2582
  (eval $ac_try) 2>&5
2471
2583
  ac_status=$?
2478
2590
 
2479
2591
continue
2480
2592
fi
2481
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2593
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2482
2594
  cat >conftest.$ac_ext <<_ACEOF
2483
 
#line $LINENO "configure"
2484
2595
/* confdefs.h.  */
2485
2596
_ACEOF
2486
2597
cat confdefs.h >>conftest.$ac_ext
2497
2608
_ACEOF
2498
2609
rm -f conftest.$ac_objext
2499
2610
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2500
 
  (eval $ac_compile) 2>&5
 
2611
  (eval $ac_compile) 2>conftest.er1
2501
2612
  ac_status=$?
 
2613
  grep -v '^ *+' conftest.er1 >conftest.err
 
2614
  rm -f conftest.er1
 
2615
  cat conftest.err >&5
2502
2616
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503
2617
  (exit $ac_status); } &&
2504
 
         { ac_try='test -s conftest.$ac_objext'
 
2618
         { ac_try='test -z "$ac_c_werror_flag"
 
2619
                         || test ! -s conftest.err'
 
2620
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2621
  (eval $ac_try) 2>&5
 
2622
  ac_status=$?
 
2623
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2624
  (exit $ac_status); }; } &&
 
2625
         { ac_try='test -s conftest.$ac_objext'
2505
2626
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2506
2627
  (eval $ac_try) 2>&5
2507
2628
  ac_status=$?
2513
2634
sed 's/^/| /' conftest.$ac_ext >&5
2514
2635
 
2515
2636
fi
2516
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2637
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2517
2638
done
2518
2639
rm -f conftest*
2519
2640
if test -n "$ac_declaration"; then
2527
2648
sed 's/^/| /' conftest.$ac_ext >&5
2528
2649
 
2529
2650
fi
2530
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2651
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2531
2652
ac_ext=c
2532
2653
ac_cpp='$CPP $CPPFLAGS'
2533
2654
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2640
2761
    : > sub/conftest.c
2641
2762
    for i in 1 2 3 4 5 6; do
2642
2763
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2643
 
      : > sub/conftst$i.h
 
2764
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
2765
      # Solaris 8's {/usr,}/bin/sh.
 
2766
      touch sub/conftst$i.h
2644
2767
    done
2645
2768
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2646
2769
 
2730
2853
  # On the NeXT, cc -E runs the code through the compiler's parser,
2731
2854
  # not just through cpp. "Syntax error" is here to catch this case.
2732
2855
  cat >conftest.$ac_ext <<_ACEOF
2733
 
#line $LINENO "configure"
2734
2856
/* confdefs.h.  */
2735
2857
_ACEOF
2736
2858
cat confdefs.h >>conftest.$ac_ext
2741
2863
#else
2742
2864
# include <assert.h>
2743
2865
#endif
2744
 
                     Syntax error
 
2866
                     Syntax error
2745
2867
_ACEOF
2746
2868
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2747
2869
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2753
2875
  (exit $ac_status); } >/dev/null; then
2754
2876
  if test -s conftest.err; then
2755
2877
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2878
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2756
2879
  else
2757
2880
    ac_cpp_err=
2758
2881
  fi
2773
2896
  # OK, works on sane cases.  Now check whether non-existent headers
2774
2897
  # can be detected and how.
2775
2898
  cat >conftest.$ac_ext <<_ACEOF
2776
 
#line $LINENO "configure"
2777
2899
/* confdefs.h.  */
2778
2900
_ACEOF
2779
2901
cat confdefs.h >>conftest.$ac_ext
2791
2913
  (exit $ac_status); } >/dev/null; then
2792
2914
  if test -s conftest.err; then
2793
2915
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2916
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2794
2917
  else
2795
2918
    ac_cpp_err=
2796
2919
  fi
2837
2960
  # On the NeXT, cc -E runs the code through the compiler's parser,
2838
2961
  # not just through cpp. "Syntax error" is here to catch this case.
2839
2962
  cat >conftest.$ac_ext <<_ACEOF
2840
 
#line $LINENO "configure"
2841
2963
/* confdefs.h.  */
2842
2964
_ACEOF
2843
2965
cat confdefs.h >>conftest.$ac_ext
2848
2970
#else
2849
2971
# include <assert.h>
2850
2972
#endif
2851
 
                     Syntax error
 
2973
                     Syntax error
2852
2974
_ACEOF
2853
2975
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2854
2976
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2860
2982
  (exit $ac_status); } >/dev/null; then
2861
2983
  if test -s conftest.err; then
2862
2984
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2985
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2863
2986
  else
2864
2987
    ac_cpp_err=
2865
2988
  fi
2880
3003
  # OK, works on sane cases.  Now check whether non-existent headers
2881
3004
  # can be detected and how.
2882
3005
  cat >conftest.$ac_ext <<_ACEOF
2883
 
#line $LINENO "configure"
2884
3006
/* confdefs.h.  */
2885
3007
_ACEOF
2886
3008
cat confdefs.h >>conftest.$ac_ext
2898
3020
  (exit $ac_status); } >/dev/null; then
2899
3021
  if test -s conftest.err; then
2900
3022
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3023
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2901
3024
  else
2902
3025
    ac_cpp_err=
2903
3026
  fi
2956
3079
echo "$as_me:$LINENO: checking for AIX" >&5
2957
3080
echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2958
3081
cat >conftest.$ac_ext <<_ACEOF
2959
 
#line $LINENO "configure"
2960
3082
/* confdefs.h.  */
2961
3083
_ACEOF
2962
3084
cat confdefs.h >>conftest.$ac_ext
2988
3110
  echo $ECHO_N "(cached) $ECHO_C" >&6
2989
3111
else
2990
3112
  cat >conftest.$ac_ext <<_ACEOF
2991
 
#line $LINENO "configure"
2992
3113
/* confdefs.h.  */
2993
3114
_ACEOF
2994
3115
cat confdefs.h >>conftest.$ac_ext
3009
3130
_ACEOF
3010
3131
rm -f conftest.$ac_objext
3011
3132
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3012
 
  (eval $ac_compile) 2>&5
 
3133
  (eval $ac_compile) 2>conftest.er1
3013
3134
  ac_status=$?
 
3135
  grep -v '^ *+' conftest.er1 >conftest.err
 
3136
  rm -f conftest.er1
 
3137
  cat conftest.err >&5
3014
3138
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015
3139
  (exit $ac_status); } &&
3016
 
         { ac_try='test -s conftest.$ac_objext'
 
3140
         { ac_try='test -z "$ac_c_werror_flag"
 
3141
                         || test ! -s conftest.err'
 
3142
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3143
  (eval $ac_try) 2>&5
 
3144
  ac_status=$?
 
3145
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3146
  (exit $ac_status); }; } &&
 
3147
         { ac_try='test -s conftest.$ac_objext'
3017
3148
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3018
3149
  (eval $ac_try) 2>&5
3019
3150
  ac_status=$?
3026
3157
 
3027
3158
ac_cv_header_stdc=no
3028
3159
fi
3029
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3160
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3030
3161
 
3031
3162
if test $ac_cv_header_stdc = yes; then
3032
3163
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3033
3164
  cat >conftest.$ac_ext <<_ACEOF
3034
 
#line $LINENO "configure"
3035
3165
/* confdefs.h.  */
3036
3166
_ACEOF
3037
3167
cat confdefs.h >>conftest.$ac_ext
3053
3183
if test $ac_cv_header_stdc = yes; then
3054
3184
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3055
3185
  cat >conftest.$ac_ext <<_ACEOF
3056
 
#line $LINENO "configure"
3057
3186
/* confdefs.h.  */
3058
3187
_ACEOF
3059
3188
cat confdefs.h >>conftest.$ac_ext
3078
3207
  :
3079
3208
else
3080
3209
  cat >conftest.$ac_ext <<_ACEOF
3081
 
#line $LINENO "configure"
3082
3210
/* confdefs.h.  */
3083
3211
_ACEOF
3084
3212
cat confdefs.h >>conftest.$ac_ext
3090
3218
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3091
3219
#else
3092
3220
# define ISLOWER(c) \
3093
 
                   (('a' <= (c) && (c) <= 'i') \
3094
 
                     || ('j' <= (c) && (c) <= 'r') \
3095
 
                     || ('s' <= (c) && (c) <= 'z'))
 
3221
                   (('a' <= (c) && (c) <= 'i') \
 
3222
                     || ('j' <= (c) && (c) <= 'r') \
 
3223
                     || ('s' <= (c) && (c) <= 'z'))
3096
3224
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3097
3225
#endif
3098
3226
 
3103
3231
  int i;
3104
3232
  for (i = 0; i < 256; i++)
3105
3233
    if (XOR (islower (i), ISLOWER (i))
3106
 
        || toupper (i) != TOUPPER (i))
 
3234
        || toupper (i) != TOUPPER (i))
3107
3235
      exit(2);
3108
3236
  exit (0);
3109
3237
}
3128
3256
( exit $ac_status )
3129
3257
ac_cv_header_stdc=no
3130
3258
fi
3131
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3259
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3132
3260
fi
3133
3261
fi
3134
3262
fi
3153
3281
 
3154
3282
 
3155
3283
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3156
 
                  inttypes.h stdint.h unistd.h
 
3284
                  inttypes.h stdint.h unistd.h
3157
3285
do
3158
3286
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3159
3287
echo "$as_me:$LINENO: checking for $ac_header" >&5
3162
3290
  echo $ECHO_N "(cached) $ECHO_C" >&6
3163
3291
else
3164
3292
  cat >conftest.$ac_ext <<_ACEOF
3165
 
#line $LINENO "configure"
3166
3293
/* confdefs.h.  */
3167
3294
_ACEOF
3168
3295
cat confdefs.h >>conftest.$ac_ext
3174
3301
_ACEOF
3175
3302
rm -f conftest.$ac_objext
3176
3303
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3177
 
  (eval $ac_compile) 2>&5
 
3304
  (eval $ac_compile) 2>conftest.er1
3178
3305
  ac_status=$?
 
3306
  grep -v '^ *+' conftest.er1 >conftest.err
 
3307
  rm -f conftest.er1
 
3308
  cat conftest.err >&5
3179
3309
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180
3310
  (exit $ac_status); } &&
3181
 
         { ac_try='test -s conftest.$ac_objext'
 
3311
         { ac_try='test -z "$ac_c_werror_flag"
 
3312
                         || test ! -s conftest.err'
 
3313
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3314
  (eval $ac_try) 2>&5
 
3315
  ac_status=$?
 
3316
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3317
  (exit $ac_status); }; } &&
 
3318
         { ac_try='test -s conftest.$ac_objext'
3182
3319
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3183
3320
  (eval $ac_try) 2>&5
3184
3321
  ac_status=$?
3191
3328
 
3192
3329
eval "$as_ac_Header=no"
3193
3330
fi
3194
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3331
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3195
3332
fi
3196
3333
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3197
3334
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3218
3355
echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3219
3356
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3220
3357
cat >conftest.$ac_ext <<_ACEOF
3221
 
#line $LINENO "configure"
3222
3358
/* confdefs.h.  */
3223
3359
_ACEOF
3224
3360
cat confdefs.h >>conftest.$ac_ext
3229
3365
_ACEOF
3230
3366
rm -f conftest.$ac_objext
3231
3367
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3232
 
  (eval $ac_compile) 2>&5
 
3368
  (eval $ac_compile) 2>conftest.er1
3233
3369
  ac_status=$?
 
3370
  grep -v '^ *+' conftest.er1 >conftest.err
 
3371
  rm -f conftest.er1
 
3372
  cat conftest.err >&5
3234
3373
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235
3374
  (exit $ac_status); } &&
3236
 
         { ac_try='test -s conftest.$ac_objext'
 
3375
         { ac_try='test -z "$ac_c_werror_flag"
 
3376
                         || test ! -s conftest.err'
 
3377
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3378
  (eval $ac_try) 2>&5
 
3379
  ac_status=$?
 
3380
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3381
  (exit $ac_status); }; } &&
 
3382
         { ac_try='test -s conftest.$ac_objext'
3237
3383
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3238
3384
  (eval $ac_try) 2>&5
3239
3385
  ac_status=$?
3246
3392
 
3247
3393
ac_header_compiler=no
3248
3394
fi
3249
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3395
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3250
3396
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3251
3397
echo "${ECHO_T}$ac_header_compiler" >&6
3252
3398
 
3254
3400
echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3255
3401
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3256
3402
cat >conftest.$ac_ext <<_ACEOF
3257
 
#line $LINENO "configure"
3258
3403
/* confdefs.h.  */
3259
3404
_ACEOF
3260
3405
cat confdefs.h >>conftest.$ac_ext
3272
3417
  (exit $ac_status); } >/dev/null; then
3273
3418
  if test -s conftest.err; then
3274
3419
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3420
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3275
3421
  else
3276
3422
    ac_cpp_err=
3277
3423
  fi
3291
3437
echo "${ECHO_T}$ac_header_preproc" >&6
3292
3438
 
3293
3439
# So?  What about this header?
3294
 
case $ac_header_compiler:$ac_header_preproc in
3295
 
  yes:no )
 
3440
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
3441
  yes:no: )
3296
3442
    { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3297
3443
echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3298
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3299
 
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3300
 
    (
3301
 
      cat <<\_ASBOX
3302
 
## ------------------------------------ ##
3303
 
## Report this to bug-autoconf@gnu.org. ##
3304
 
## ------------------------------------ ##
3305
 
_ASBOX
3306
 
    ) |
3307
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
3444
    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
 
3445
echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
 
3446
    ac_header_preproc=yes
3308
3447
    ;;
3309
 
  no:yes )
 
3448
  no:yes:* )
3310
3449
    { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3311
3450
echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3312
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3313
 
echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
 
3451
    { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
 
3452
echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
 
3453
    { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
 
3454
echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
 
3455
    { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
 
3456
echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
3314
3457
    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3315
3458
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
 
3459
    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
 
3460
echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3316
3461
    (
3317
3462
      cat <<\_ASBOX
3318
 
## ------------------------------------ ##
3319
 
## Report this to bug-autoconf@gnu.org. ##
3320
 
## ------------------------------------ ##
 
3463
## ------------------------------------------ ##
 
3464
## Report this to the AC_PACKAGE_NAME lists.  ##
 
3465
## ------------------------------------------ ##
3321
3466
_ASBOX
3322
3467
    ) |
3323
3468
      sed "s/^/$as_me: WARNING:     /" >&2
3359
3504
 
3360
3505
fi
3361
3506
 
3362
 
 
3363
 
        echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3364
 
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3365
 
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
 
3507
echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
3508
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
 
3509
if test "${ac_cv_search_strerror+set}" = set; then
3366
3510
  echo $ECHO_N "(cached) $ECHO_C" >&6
3367
3511
else
3368
 
  ac_check_lib_save_LIBS=$LIBS
3369
 
LIBS="-lcposix  $LIBS"
 
3512
  ac_func_search_save_LIBS=$LIBS
 
3513
ac_cv_search_strerror=no
3370
3514
cat >conftest.$ac_ext <<_ACEOF
3371
 
#line $LINENO "configure"
3372
 
/* confdefs.h.  */
3373
 
_ACEOF
3374
 
cat confdefs.h >>conftest.$ac_ext
3375
 
cat >>conftest.$ac_ext <<_ACEOF
3376
 
/* end confdefs.h.  */
3377
 
 
3378
 
/* Override any gcc2 internal prototype to avoid an error.  */
3379
 
#ifdef __cplusplus
3380
 
extern "C"
3381
 
#endif
3382
 
/* We use char because int might match the return type of a gcc2
3383
 
   builtin and then its argument prototype would still apply.  */
3384
 
char strerror ();
3385
 
int
3386
 
main ()
3387
 
{
3388
 
strerror ();
3389
 
  ;
3390
 
  return 0;
3391
 
}
3392
 
_ACEOF
3393
 
rm -f conftest.$ac_objext conftest$ac_exeext
3394
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3395
 
  (eval $ac_link) 2>&5
3396
 
  ac_status=$?
3397
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398
 
  (exit $ac_status); } &&
3399
 
         { ac_try='test -s conftest$ac_exeext'
3400
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401
 
  (eval $ac_try) 2>&5
3402
 
  ac_status=$?
3403
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404
 
  (exit $ac_status); }; }; then
3405
 
  ac_cv_lib_cposix_strerror=yes
3406
 
else
3407
 
  echo "$as_me: failed program was:" >&5
3408
 
sed 's/^/| /' conftest.$ac_ext >&5
3409
 
 
3410
 
ac_cv_lib_cposix_strerror=no
3411
 
fi
3412
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3413
 
LIBS=$ac_check_lib_save_LIBS
3414
 
fi
3415
 
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3416
 
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3417
 
if test $ac_cv_lib_cposix_strerror = yes; then
3418
 
  LIBS="$LIBS -lcposix"
3419
 
fi
3420
 
 
3421
 
 
 
3515
/* confdefs.h.  */
 
3516
_ACEOF
 
3517
cat confdefs.h >>conftest.$ac_ext
 
3518
cat >>conftest.$ac_ext <<_ACEOF
 
3519
/* end confdefs.h.  */
 
3520
 
 
3521
/* Override any gcc2 internal prototype to avoid an error.  */
 
3522
#ifdef __cplusplus
 
3523
extern "C"
 
3524
#endif
 
3525
/* We use char because int might match the return type of a gcc2
 
3526
   builtin and then its argument prototype would still apply.  */
 
3527
char strerror ();
 
3528
int
 
3529
main ()
 
3530
{
 
3531
strerror ();
 
3532
  ;
 
3533
  return 0;
 
3534
}
 
3535
_ACEOF
 
3536
rm -f conftest.$ac_objext conftest$ac_exeext
 
3537
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3538
  (eval $ac_link) 2>conftest.er1
 
3539
  ac_status=$?
 
3540
  grep -v '^ *+' conftest.er1 >conftest.err
 
3541
  rm -f conftest.er1
 
3542
  cat conftest.err >&5
 
3543
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3544
  (exit $ac_status); } &&
 
3545
         { ac_try='test -z "$ac_c_werror_flag"
 
3546
                         || test ! -s conftest.err'
 
3547
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3548
  (eval $ac_try) 2>&5
 
3549
  ac_status=$?
 
3550
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3551
  (exit $ac_status); }; } &&
 
3552
         { ac_try='test -s conftest$ac_exeext'
 
3553
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3554
  (eval $ac_try) 2>&5
 
3555
  ac_status=$?
 
3556
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3557
  (exit $ac_status); }; }; then
 
3558
  ac_cv_search_strerror="none required"
 
3559
else
 
3560
  echo "$as_me: failed program was:" >&5
 
3561
sed 's/^/| /' conftest.$ac_ext >&5
 
3562
 
 
3563
fi
 
3564
rm -f conftest.err conftest.$ac_objext \
 
3565
      conftest$ac_exeext conftest.$ac_ext
 
3566
if test "$ac_cv_search_strerror" = no; then
 
3567
  for ac_lib in cposix; do
 
3568
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
3569
    cat >conftest.$ac_ext <<_ACEOF
 
3570
/* confdefs.h.  */
 
3571
_ACEOF
 
3572
cat confdefs.h >>conftest.$ac_ext
 
3573
cat >>conftest.$ac_ext <<_ACEOF
 
3574
/* end confdefs.h.  */
 
3575
 
 
3576
/* Override any gcc2 internal prototype to avoid an error.  */
 
3577
#ifdef __cplusplus
 
3578
extern "C"
 
3579
#endif
 
3580
/* We use char because int might match the return type of a gcc2
 
3581
   builtin and then its argument prototype would still apply.  */
 
3582
char strerror ();
 
3583
int
 
3584
main ()
 
3585
{
 
3586
strerror ();
 
3587
  ;
 
3588
  return 0;
 
3589
}
 
3590
_ACEOF
 
3591
rm -f conftest.$ac_objext conftest$ac_exeext
 
3592
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3593
  (eval $ac_link) 2>conftest.er1
 
3594
  ac_status=$?
 
3595
  grep -v '^ *+' conftest.er1 >conftest.err
 
3596
  rm -f conftest.er1
 
3597
  cat conftest.err >&5
 
3598
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3599
  (exit $ac_status); } &&
 
3600
         { ac_try='test -z "$ac_c_werror_flag"
 
3601
                         || test ! -s conftest.err'
 
3602
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3603
  (eval $ac_try) 2>&5
 
3604
  ac_status=$?
 
3605
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3606
  (exit $ac_status); }; } &&
 
3607
         { ac_try='test -s conftest$ac_exeext'
 
3608
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3609
  (eval $ac_try) 2>&5
 
3610
  ac_status=$?
 
3611
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3612
  (exit $ac_status); }; }; then
 
3613
  ac_cv_search_strerror="-l$ac_lib"
 
3614
break
 
3615
else
 
3616
  echo "$as_me: failed program was:" >&5
 
3617
sed 's/^/| /' conftest.$ac_ext >&5
 
3618
 
 
3619
fi
 
3620
rm -f conftest.err conftest.$ac_objext \
 
3621
      conftest$ac_exeext conftest.$ac_ext
 
3622
  done
 
3623
fi
 
3624
LIBS=$ac_func_search_save_LIBS
 
3625
fi
 
3626
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
3627
echo "${ECHO_T}$ac_cv_search_strerror" >&6
 
3628
if test "$ac_cv_search_strerror" != no; then
 
3629
  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
 
3630
 
 
3631
fi
3422
3632
 
3423
3633
for ac_prog in gawk mawk nawk awk
3424
3634
do
3579
3789
  echo $ECHO_N "(cached) $ECHO_C" >&6
3580
3790
else
3581
3791
  cat >conftest.$ac_ext <<_ACEOF
3582
 
#line $LINENO "configure"
3583
3792
/* confdefs.h.  */
3584
3793
_ACEOF
3585
3794
cat confdefs.h >>conftest.$ac_ext
3599
3808
_ACEOF
3600
3809
rm -f conftest.$ac_objext
3601
3810
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3602
 
  (eval $ac_compile) 2>&5
 
3811
  (eval $ac_compile) 2>conftest.er1
3603
3812
  ac_status=$?
 
3813
  grep -v '^ *+' conftest.er1 >conftest.err
 
3814
  rm -f conftest.er1
 
3815
  cat conftest.err >&5
3604
3816
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605
3817
  (exit $ac_status); } &&
3606
 
         { ac_try='test -s conftest.$ac_objext'
 
3818
         { ac_try='test -z "$ac_cxx_werror_flag"
 
3819
                         || test ! -s conftest.err'
 
3820
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3821
  (eval $ac_try) 2>&5
 
3822
  ac_status=$?
 
3823
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3824
  (exit $ac_status); }; } &&
 
3825
         { ac_try='test -s conftest.$ac_objext'
3607
3826
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3608
3827
  (eval $ac_try) 2>&5
3609
3828
  ac_status=$?
3616
3835
 
3617
3836
ac_compiler_gnu=no
3618
3837
fi
3619
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3838
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3620
3839
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3621
3840
 
3622
3841
fi
3632
3851
  echo $ECHO_N "(cached) $ECHO_C" >&6
3633
3852
else
3634
3853
  cat >conftest.$ac_ext <<_ACEOF
3635
 
#line $LINENO "configure"
3636
3854
/* confdefs.h.  */
3637
3855
_ACEOF
3638
3856
cat confdefs.h >>conftest.$ac_ext
3649
3867
_ACEOF
3650
3868
rm -f conftest.$ac_objext
3651
3869
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3652
 
  (eval $ac_compile) 2>&5
 
3870
  (eval $ac_compile) 2>conftest.er1
3653
3871
  ac_status=$?
 
3872
  grep -v '^ *+' conftest.er1 >conftest.err
 
3873
  rm -f conftest.er1
 
3874
  cat conftest.err >&5
3654
3875
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655
3876
  (exit $ac_status); } &&
3656
 
         { ac_try='test -s conftest.$ac_objext'
 
3877
         { ac_try='test -z "$ac_cxx_werror_flag"
 
3878
                         || test ! -s conftest.err'
 
3879
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3880
  (eval $ac_try) 2>&5
 
3881
  ac_status=$?
 
3882
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3883
  (exit $ac_status); }; } &&
 
3884
         { ac_try='test -s conftest.$ac_objext'
3657
3885
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3658
3886
  (eval $ac_try) 2>&5
3659
3887
  ac_status=$?
3666
3894
 
3667
3895
ac_cv_prog_cxx_g=no
3668
3896
fi
3669
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3897
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3670
3898
fi
3671
3899
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3672
3900
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3686
3914
  fi
3687
3915
fi
3688
3916
for ac_declaration in \
3689
 
   ''\
3690
 
   '#include <stdlib.h>' \
 
3917
   '' \
3691
3918
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3692
3919
   'extern "C" void std::exit (int); using std::exit;' \
3693
3920
   'extern "C" void exit (int) throw ();' \
3695
3922
   'void exit (int);'
3696
3923
do
3697
3924
  cat >conftest.$ac_ext <<_ACEOF
3698
 
#line $LINENO "configure"
3699
3925
/* confdefs.h.  */
3700
3926
_ACEOF
3701
3927
cat confdefs.h >>conftest.$ac_ext
3702
3928
cat >>conftest.$ac_ext <<_ACEOF
3703
3929
/* end confdefs.h.  */
 
3930
$ac_declaration
3704
3931
#include <stdlib.h>
3705
 
$ac_declaration
3706
3932
int
3707
3933
main ()
3708
3934
{
3713
3939
_ACEOF
3714
3940
rm -f conftest.$ac_objext
3715
3941
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3716
 
  (eval $ac_compile) 2>&5
 
3942
  (eval $ac_compile) 2>conftest.er1
3717
3943
  ac_status=$?
 
3944
  grep -v '^ *+' conftest.er1 >conftest.err
 
3945
  rm -f conftest.er1
 
3946
  cat conftest.err >&5
3718
3947
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719
3948
  (exit $ac_status); } &&
3720
 
         { ac_try='test -s conftest.$ac_objext'
 
3949
         { ac_try='test -z "$ac_cxx_werror_flag"
 
3950
                         || test ! -s conftest.err'
 
3951
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3952
  (eval $ac_try) 2>&5
 
3953
  ac_status=$?
 
3954
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3955
  (exit $ac_status); }; } &&
 
3956
         { ac_try='test -s conftest.$ac_objext'
3721
3957
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3722
3958
  (eval $ac_try) 2>&5
3723
3959
  ac_status=$?
3730
3966
 
3731
3967
continue
3732
3968
fi
3733
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3969
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3734
3970
  cat >conftest.$ac_ext <<_ACEOF
3735
 
#line $LINENO "configure"
3736
3971
/* confdefs.h.  */
3737
3972
_ACEOF
3738
3973
cat confdefs.h >>conftest.$ac_ext
3749
3984
_ACEOF
3750
3985
rm -f conftest.$ac_objext
3751
3986
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3752
 
  (eval $ac_compile) 2>&5
 
3987
  (eval $ac_compile) 2>conftest.er1
3753
3988
  ac_status=$?
 
3989
  grep -v '^ *+' conftest.er1 >conftest.err
 
3990
  rm -f conftest.er1
 
3991
  cat conftest.err >&5
3754
3992
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755
3993
  (exit $ac_status); } &&
3756
 
         { ac_try='test -s conftest.$ac_objext'
 
3994
         { ac_try='test -z "$ac_cxx_werror_flag"
 
3995
                         || test ! -s conftest.err'
 
3996
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3997
  (eval $ac_try) 2>&5
 
3998
  ac_status=$?
 
3999
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4000
  (exit $ac_status); }; } &&
 
4001
         { ac_try='test -s conftest.$ac_objext'
3757
4002
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3758
4003
  (eval $ac_try) 2>&5
3759
4004
  ac_status=$?
3765
4010
sed 's/^/| /' conftest.$ac_ext >&5
3766
4011
 
3767
4012
fi
3768
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4013
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3769
4014
done
3770
4015
rm -f conftest*
3771
4016
if test -n "$ac_declaration"; then
3821
4066
    : > sub/conftest.c
3822
4067
    for i in 1 2 3 4 5 6; do
3823
4068
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3824
 
      : > sub/conftst$i.h
 
4069
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4070
      # Solaris 8's {/usr,}/bin/sh.
 
4071
      touch sub/conftst$i.h
3825
4072
    done
3826
4073
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3827
4074
 
3973
4220
  ac_check_lib_save_LIBS=$LIBS
3974
4221
LIBS="-lgdbm  $LIBS"
3975
4222
cat >conftest.$ac_ext <<_ACEOF
3976
 
#line $LINENO "configure"
3977
4223
/* confdefs.h.  */
3978
4224
_ACEOF
3979
4225
cat confdefs.h >>conftest.$ac_ext
3997
4243
_ACEOF
3998
4244
rm -f conftest.$ac_objext conftest$ac_exeext
3999
4245
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4000
 
  (eval $ac_link) 2>&5
 
4246
  (eval $ac_link) 2>conftest.er1
4001
4247
  ac_status=$?
 
4248
  grep -v '^ *+' conftest.er1 >conftest.err
 
4249
  rm -f conftest.er1
 
4250
  cat conftest.err >&5
4002
4251
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003
4252
  (exit $ac_status); } &&
4004
 
         { ac_try='test -s conftest$ac_exeext'
 
4253
         { ac_try='test -z "$ac_c_werror_flag"
 
4254
                         || test ! -s conftest.err'
 
4255
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4256
  (eval $ac_try) 2>&5
 
4257
  ac_status=$?
 
4258
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4259
  (exit $ac_status); }; } &&
 
4260
         { ac_try='test -s conftest$ac_exeext'
4005
4261
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4006
4262
  (eval $ac_try) 2>&5
4007
4263
  ac_status=$?
4014
4270
 
4015
4271
ac_cv_lib_gdbm_gdbm_open=no
4016
4272
fi
4017
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4273
rm -f conftest.err conftest.$ac_objext \
 
4274
      conftest$ac_exeext conftest.$ac_ext
4018
4275
LIBS=$ac_check_lib_save_LIBS
4019
4276
fi
4020
4277
echo "$as_me:$LINENO: result: $ac_cv_lib_gdbm_gdbm_open" >&5
4030
4287
  echo $ECHO_N "(cached) $ECHO_C" >&6
4031
4288
else
4032
4289
  cat >conftest.$ac_ext <<_ACEOF
4033
 
#line $LINENO "configure"
4034
4290
/* confdefs.h.  */
4035
4291
_ACEOF
4036
4292
cat confdefs.h >>conftest.$ac_ext
4037
4293
cat >>conftest.$ac_ext <<_ACEOF
4038
4294
/* end confdefs.h.  */
 
4295
/* Define gdbm_open to an innocuous variant, in case <limits.h> declares gdbm_open.
 
4296
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4297
#define gdbm_open innocuous_gdbm_open
 
4298
 
4039
4299
/* System header to define __stub macros and hopefully few prototypes,
4040
4300
    which can conflict with char gdbm_open (); below.
4041
4301
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4042
4302
    <limits.h> exists even on freestanding compilers.  */
 
4303
 
4043
4304
#ifdef __STDC__
4044
4305
# include <limits.h>
4045
4306
#else
4046
4307
# include <assert.h>
4047
4308
#endif
 
4309
 
 
4310
#undef gdbm_open
 
4311
 
4048
4312
/* Override any gcc2 internal prototype to avoid an error.  */
4049
4313
#ifdef __cplusplus
4050
4314
extern "C"
4075
4339
_ACEOF
4076
4340
rm -f conftest.$ac_objext conftest$ac_exeext
4077
4341
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4078
 
  (eval $ac_link) 2>&5
 
4342
  (eval $ac_link) 2>conftest.er1
4079
4343
  ac_status=$?
 
4344
  grep -v '^ *+' conftest.er1 >conftest.err
 
4345
  rm -f conftest.er1
 
4346
  cat conftest.err >&5
4080
4347
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4081
4348
  (exit $ac_status); } &&
4082
 
         { ac_try='test -s conftest$ac_exeext'
 
4349
         { ac_try='test -z "$ac_c_werror_flag"
 
4350
                         || test ! -s conftest.err'
 
4351
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4352
  (eval $ac_try) 2>&5
 
4353
  ac_status=$?
 
4354
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4355
  (exit $ac_status); }; } &&
 
4356
         { ac_try='test -s conftest$ac_exeext'
4083
4357
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4084
4358
  (eval $ac_try) 2>&5
4085
4359
  ac_status=$?
4092
4366
 
4093
4367
ac_cv_func_gdbm_open=no
4094
4368
fi
4095
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4369
rm -f conftest.err conftest.$ac_objext \
 
4370
      conftest$ac_exeext conftest.$ac_ext
4096
4371
fi
4097
4372
echo "$as_me:$LINENO: result: $ac_cv_func_gdbm_open" >&5
4098
4373
echo "${ECHO_T}$ac_cv_func_gdbm_open" >&6
4115
4390
  echo $ECHO_N "(cached) $ECHO_C" >&6
4116
4391
else
4117
4392
  cat >conftest.$ac_ext <<_ACEOF
4118
 
#line $LINENO "configure"
4119
4393
/* confdefs.h.  */
4120
4394
_ACEOF
4121
4395
cat confdefs.h >>conftest.$ac_ext
4122
4396
cat >>conftest.$ac_ext <<_ACEOF
4123
4397
/* end confdefs.h.  */
 
4398
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
4399
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4400
#define $ac_func innocuous_$ac_func
 
4401
 
4124
4402
/* System header to define __stub macros and hopefully few prototypes,
4125
4403
    which can conflict with char $ac_func (); below.
4126
4404
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4127
4405
    <limits.h> exists even on freestanding compilers.  */
 
4406
 
4128
4407
#ifdef __STDC__
4129
4408
# include <limits.h>
4130
4409
#else
4131
4410
# include <assert.h>
4132
4411
#endif
 
4412
 
 
4413
#undef $ac_func
 
4414
 
4133
4415
/* Override any gcc2 internal prototype to avoid an error.  */
4134
4416
#ifdef __cplusplus
4135
4417
extern "C"
4160
4442
_ACEOF
4161
4443
rm -f conftest.$ac_objext conftest$ac_exeext
4162
4444
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4163
 
  (eval $ac_link) 2>&5
 
4445
  (eval $ac_link) 2>conftest.er1
4164
4446
  ac_status=$?
 
4447
  grep -v '^ *+' conftest.er1 >conftest.err
 
4448
  rm -f conftest.er1
 
4449
  cat conftest.err >&5
4165
4450
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166
4451
  (exit $ac_status); } &&
4167
 
         { ac_try='test -s conftest$ac_exeext'
 
4452
         { ac_try='test -z "$ac_c_werror_flag"
 
4453
                         || test ! -s conftest.err'
 
4454
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4455
  (eval $ac_try) 2>&5
 
4456
  ac_status=$?
 
4457
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4458
  (exit $ac_status); }; } &&
 
4459
         { ac_try='test -s conftest$ac_exeext'
4168
4460
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4169
4461
  (eval $ac_try) 2>&5
4170
4462
  ac_status=$?
4177
4469
 
4178
4470
eval "$as_ac_var=no"
4179
4471
fi
4180
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4472
rm -f conftest.err conftest.$ac_objext \
 
4473
      conftest$ac_exeext conftest.$ac_ext
4181
4474
fi
4182
4475
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4183
4476
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4208
4501
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4209
4502
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4210
4503
cat >conftest.$ac_ext <<_ACEOF
4211
 
#line $LINENO "configure"
4212
4504
/* confdefs.h.  */
4213
4505
_ACEOF
4214
4506
cat confdefs.h >>conftest.$ac_ext
4219
4511
_ACEOF
4220
4512
rm -f conftest.$ac_objext
4221
4513
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4222
 
  (eval $ac_compile) 2>&5
 
4514
  (eval $ac_compile) 2>conftest.er1
4223
4515
  ac_status=$?
 
4516
  grep -v '^ *+' conftest.er1 >conftest.err
 
4517
  rm -f conftest.er1
 
4518
  cat conftest.err >&5
4224
4519
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225
4520
  (exit $ac_status); } &&
4226
 
         { ac_try='test -s conftest.$ac_objext'
 
4521
         { ac_try='test -z "$ac_c_werror_flag"
 
4522
                         || test ! -s conftest.err'
 
4523
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4524
  (eval $ac_try) 2>&5
 
4525
  ac_status=$?
 
4526
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4527
  (exit $ac_status); }; } &&
 
4528
         { ac_try='test -s conftest.$ac_objext'
4227
4529
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4228
4530
  (eval $ac_try) 2>&5
4229
4531
  ac_status=$?
4236
4538
 
4237
4539
ac_header_compiler=no
4238
4540
fi
4239
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4541
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4240
4542
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4241
4543
echo "${ECHO_T}$ac_header_compiler" >&6
4242
4544
 
4244
4546
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4245
4547
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4246
4548
cat >conftest.$ac_ext <<_ACEOF
4247
 
#line $LINENO "configure"
4248
4549
/* confdefs.h.  */
4249
4550
_ACEOF
4250
4551
cat confdefs.h >>conftest.$ac_ext
4262
4563
  (exit $ac_status); } >/dev/null; then
4263
4564
  if test -s conftest.err; then
4264
4565
    ac_cpp_err=$ac_c_preproc_warn_flag
 
4566
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4265
4567
  else
4266
4568
    ac_cpp_err=
4267
4569
  fi
4281
4583
echo "${ECHO_T}$ac_header_preproc" >&6
4282
4584
 
4283
4585
# So?  What about this header?
4284
 
case $ac_header_compiler:$ac_header_preproc in
4285
 
  yes:no )
 
4586
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
4587
  yes:no: )
4286
4588
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4287
4589
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4288
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4289
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4290
 
    (
4291
 
      cat <<\_ASBOX
4292
 
## ------------------------------------ ##
4293
 
## Report this to bug-autoconf@gnu.org. ##
4294
 
## ------------------------------------ ##
4295
 
_ASBOX
4296
 
    ) |
4297
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
4590
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4591
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4592
    ac_header_preproc=yes
4298
4593
    ;;
4299
 
  no:yes )
 
4594
  no:yes:* )
4300
4595
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4301
4596
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4302
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4303
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
4597
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4598
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4599
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4600
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4601
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4602
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4304
4603
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4305
4604
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4605
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4606
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4306
4607
    (
4307
4608
      cat <<\_ASBOX
4308
 
## ------------------------------------ ##
4309
 
## Report this to bug-autoconf@gnu.org. ##
4310
 
## ------------------------------------ ##
 
4609
## ------------------------------------------ ##
 
4610
## Report this to the AC_PACKAGE_NAME lists.  ##
 
4611
## ------------------------------------------ ##
4311
4612
_ASBOX
4312
4613
    ) |
4313
4614
      sed "s/^/$as_me: WARNING:     /" >&2
4318
4619
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4319
4620
  echo $ECHO_N "(cached) $ECHO_C" >&6
4320
4621
else
4321
 
  eval "$as_ac_Header=$ac_header_preproc"
 
4622
  eval "$as_ac_Header=\$ac_header_preproc"
4322
4623
fi
4323
4624
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4324
4625
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4356
4657
  echo $ECHO_N "(cached) $ECHO_C" >&6
4357
4658
else
4358
4659
  cat >conftest.$ac_ext <<_ACEOF
4359
 
#line $LINENO "configure"
4360
4660
/* confdefs.h.  */
4361
4661
_ACEOF
4362
4662
cat confdefs.h >>conftest.$ac_ext
4419
4719
_ACEOF
4420
4720
rm -f conftest.$ac_objext
4421
4721
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4422
 
  (eval $ac_compile) 2>&5
 
4722
  (eval $ac_compile) 2>conftest.er1
4423
4723
  ac_status=$?
 
4724
  grep -v '^ *+' conftest.er1 >conftest.err
 
4725
  rm -f conftest.er1
 
4726
  cat conftest.err >&5
4424
4727
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425
4728
  (exit $ac_status); } &&
4426
 
         { ac_try='test -s conftest.$ac_objext'
 
4729
         { ac_try='test -z "$ac_c_werror_flag"
 
4730
                         || test ! -s conftest.err'
 
4731
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4732
  (eval $ac_try) 2>&5
 
4733
  ac_status=$?
 
4734
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4735
  (exit $ac_status); }; } &&
 
4736
         { ac_try='test -s conftest.$ac_objext'
4427
4737
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4428
4738
  (eval $ac_try) 2>&5
4429
4739
  ac_status=$?
4436
4746
 
4437
4747
ac_cv_c_const=no
4438
4748
fi
4439
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4749
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4440
4750
fi
4441
4751
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4442
4752
echo "${ECHO_T}$ac_cv_c_const" >&6
4454
4764
  echo $ECHO_N "(cached) $ECHO_C" >&6
4455
4765
else
4456
4766
  cat >conftest.$ac_ext <<_ACEOF
4457
 
#line $LINENO "configure"
4458
4767
/* confdefs.h.  */
4459
4768
_ACEOF
4460
4769
cat confdefs.h >>conftest.$ac_ext
4474
4783
_ACEOF
4475
4784
rm -f conftest.$ac_objext
4476
4785
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4477
 
  (eval $ac_compile) 2>&5
 
4786
  (eval $ac_compile) 2>conftest.er1
4478
4787
  ac_status=$?
 
4788
  grep -v '^ *+' conftest.er1 >conftest.err
 
4789
  rm -f conftest.er1
 
4790
  cat conftest.err >&5
4479
4791
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480
4792
  (exit $ac_status); } &&
4481
 
         { ac_try='test -s conftest.$ac_objext'
 
4793
         { ac_try='test -z "$ac_c_werror_flag"
 
4794
                         || test ! -s conftest.err'
 
4795
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4796
  (eval $ac_try) 2>&5
 
4797
  ac_status=$?
 
4798
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4799
  (exit $ac_status); }; } &&
 
4800
         { ac_try='test -s conftest.$ac_objext'
4482
4801
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4483
4802
  (eval $ac_try) 2>&5
4484
4803
  ac_status=$?
4491
4810
 
4492
4811
ac_cv_type_size_t=no
4493
4812
fi
4494
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4813
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4495
4814
fi
4496
4815
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4497
4816
echo "${ECHO_T}$ac_cv_type_size_t" >&6
4520
4839
else
4521
4840
 
4522
4841
cat >conftest.$ac_ext <<_ACEOF
4523
 
#line $LINENO "configure"
4524
4842
/* confdefs.h.  */
4525
4843
_ACEOF
4526
4844
cat confdefs.h >>conftest.$ac_ext
4539
4857
_ACEOF
4540
4858
rm -f conftest.$ac_objext
4541
4859
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4542
 
  (eval $ac_compile) 2>&5
 
4860
  (eval $ac_compile) 2>conftest.er1
4543
4861
  ac_status=$?
 
4862
  grep -v '^ *+' conftest.er1 >conftest.err
 
4863
  rm -f conftest.er1
 
4864
  cat conftest.err >&5
4544
4865
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4545
4866
  (exit $ac_status); } &&
4546
 
         { ac_try='test -s conftest.$ac_objext'
 
4867
         { ac_try='test -z "$ac_cxx_werror_flag"
 
4868
                         || test ! -s conftest.err'
 
4869
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4870
  (eval $ac_try) 2>&5
 
4871
  ac_status=$?
 
4872
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4873
  (exit $ac_status); }; } &&
 
4874
         { ac_try='test -s conftest.$ac_objext'
4547
4875
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4548
4876
  (eval $ac_try) 2>&5
4549
4877
  ac_status=$?
4556
4884
 
4557
4885
ac_cxx_need_handlexceptions=yes
4558
4886
fi
4559
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4887
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4560
4888
 
4561
4889
fi
4562
4890
echo "$as_me:$LINENO: result: $ac_cxx_need_handlexceptions" >&5
4603
4931
      # `set' does not quote correctly, so add quotes (double-quote
4604
4932
      # substitution turns \\\\ into \\, and sed turns \\ into \).
4605
4933
      sed -n \
4606
 
        "s/'/'\\\\''/g;
4607
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
4934
        "s/'/'\\\\''/g;
 
4935
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4608
4936
      ;;
4609
4937
    *)
4610
4938
      # `set' quotes correctly as required by POSIX, so do not add quotes.
4611
4939
      sed -n \
4612
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
4940
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4613
4941
      ;;
4614
4942
    esac;
4615
4943
} |
4639
4967
# trailing colons and then remove the whole line if VPATH becomes empty
4640
4968
# (actually we leave an empty line to preserve line numbers).
4641
4969
if test "x$srcdir" = x.; then
4642
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
4970
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4643
4971
s/:*\$(srcdir):*/:/;
4644
4972
s/:*\${srcdir}:*/:/;
4645
4973
s/:*@srcdir@:*/:/;
4646
 
s/^\([^=]*=[    ]*\):*/\1/;
 
4974
s/^\([^=]*=[     ]*\):*/\1/;
4647
4975
s/:*$//;
4648
 
s/^[^=]*=[      ]*$//;
 
4976
s/^[^=]*=[       ]*$//;
4649
4977
}'
4650
4978
fi
4651
4979
 
4656
4984
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4657
4985
  # 1. Remove the extension, and $U if already installed.
4658
4986
  ac_i=`echo "$ac_i" |
4659
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
4987
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4660
4988
  # 2. Add them.
4661
4989
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4662
4990
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4728
5056
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4729
5057
  set -o posix
4730
5058
fi
 
5059
DUALCASE=1; export DUALCASE # for MKS sh
4731
5060
 
4732
5061
# Support unset when possible.
4733
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
5062
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4734
5063
  as_unset=unset
4735
5064
else
4736
5065
  as_unset=false
4749
5078
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4750
5079
  LC_TELEPHONE LC_TIME
4751
5080
do
4752
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
5081
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4753
5082
    eval $as_var=C; export $as_var
4754
5083
  else
4755
5084
    $as_unset $as_var
4928
5257
if mkdir -p . 2>/dev/null; then
4929
5258
  as_mkdir_p=:
4930
5259
else
 
5260
  test -d ./-p && rmdir ./-p
4931
5261
  as_mkdir_p=false
4932
5262
fi
4933
5263
 
4934
5264
as_executable_p="test -f"
4935
5265
 
4936
5266
# Sed expression to map a string onto a valid CPP name.
4937
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
5267
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4938
5268
 
4939
5269
# Sed expression to map a string onto a valid variable name.
4940
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
5270
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4941
5271
 
4942
5272
 
4943
5273
# IFS
4964
5294
cat >&5 <<_CSEOF
4965
5295
 
4966
5296
This file was extended by $as_me, which was
4967
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
5297
generated by GNU Autoconf 2.59.  Invocation command line was
4968
5298
 
4969
5299
  CONFIG_FILES    = $CONFIG_FILES
4970
5300
  CONFIG_HEADERS  = $CONFIG_HEADERS
5008
5338
  -d, --debug      don't remove temporary files
5009
5339
      --recheck    update $as_me by reconfiguring in the same conditions
5010
5340
  --file=FILE[:TEMPLATE]
5011
 
                   instantiate the configuration file FILE
 
5341
                   instantiate the configuration file FILE
5012
5342
  --header=FILE[:TEMPLATE]
5013
 
                   instantiate the configuration header FILE
 
5343
                   instantiate the configuration header FILE
5014
5344
 
5015
5345
Configuration files:
5016
5346
$config_files
5027
5357
cat >>$CONFIG_STATUS <<_ACEOF
5028
5358
ac_cs_version="\\
5029
5359
config.status
5030
 
configured by $0, generated by GNU Autoconf 2.57,
 
5360
configured by $0, generated by GNU Autoconf 2.59,
5031
5361
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5032
5362
 
5033
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5034
 
Free Software Foundation, Inc.
 
5363
Copyright (C) 2003 Free Software Foundation, Inc.
5035
5364
This config.status script is free software; the Free Software Foundation
5036
5365
gives unlimited permission to copy, distribute and modify it."
5037
5366
srcdir=$srcdir
5241
5570
s,@STRIP@,$STRIP,;t t
5242
5571
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5243
5572
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
5573
s,@mkdir_p@,$mkdir_p,;t t
5244
5574
s,@AWK@,$AWK,;t t
5245
5575
s,@SET_MAKE@,$SET_MAKE,;t t
5246
5576
s,@am__leading_dot@,$am__leading_dot,;t t
5304
5634
      (echo ':t
5305
5635
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5306
5636
      if test -z "$ac_sed_cmds"; then
5307
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
5637
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5308
5638
      else
5309
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
5639
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5310
5640
      fi
5311
5641
      ac_sed_frag=`expr $ac_sed_frag + 1`
5312
5642
      ac_beg=$ac_end
5324
5654
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5325
5655
  case $ac_file in
5326
5656
  - | *:- | *:-:* ) # input from stdin
5327
 
        cat >$tmp/stdin
5328
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5329
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
5657
        cat >$tmp/stdin
 
5658
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
5659
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5330
5660
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5331
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
5661
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5332
5662
  * )   ac_file_in=$ac_file.in ;;
5333
5663
  esac
5334
5664
 
5335
5665
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5336
5666
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5337
5667
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5338
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
5339
 
         X"$ac_file" : 'X\(//\)$' \| \
5340
 
         X"$ac_file" : 'X\(/\)' \| \
5341
 
         .     : '\(.\)' 2>/dev/null ||
 
5668
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
5669
         X"$ac_file" : 'X\(//\)$' \| \
 
5670
         X"$ac_file" : 'X\(/\)' \| \
 
5671
         .     : '\(.\)' 2>/dev/null ||
5342
5672
echo X"$ac_file" |
5343
5673
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5344
5674
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5354
5684
      as_dirs="$as_dir $as_dirs"
5355
5685
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5356
5686
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5357
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5358
 
         X"$as_dir" : 'X\(//\)$' \| \
5359
 
         X"$as_dir" : 'X\(/\)' \| \
5360
 
         .     : '\(.\)' 2>/dev/null ||
 
5687
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5688
         X"$as_dir" : 'X\(//\)$' \| \
 
5689
         X"$as_dir" : 'X\(/\)' \| \
 
5690
         .     : '\(.\)' 2>/dev/null ||
5361
5691
echo X"$as_dir" |
5362
5692
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5363
5693
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5395
5725
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5396
5726
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5397
5727
esac
5398
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5399
 
# absolute.
5400
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5401
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5402
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5403
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
5728
 
 
5729
# Do not use `cd foo && pwd` to compute absolute paths, because
 
5730
# the directories may not exist.
 
5731
case `pwd` in
 
5732
.) ac_abs_builddir="$ac_dir";;
 
5733
*)
 
5734
  case "$ac_dir" in
 
5735
  .) ac_abs_builddir=`pwd`;;
 
5736
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
5737
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
5738
  esac;;
 
5739
esac
 
5740
case $ac_abs_builddir in
 
5741
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5742
*)
 
5743
  case ${ac_top_builddir}. in
 
5744
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
5745
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5746
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
5747
  esac;;
 
5748
esac
 
5749
case $ac_abs_builddir in
 
5750
.) ac_abs_srcdir=$ac_srcdir;;
 
5751
*)
 
5752
  case $ac_srcdir in
 
5753
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
5754
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
5755
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
5756
  esac;;
 
5757
esac
 
5758
case $ac_abs_builddir in
 
5759
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5760
*)
 
5761
  case $ac_top_srcdir in
 
5762
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
5763
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5764
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
5765
  esac;;
 
5766
esac
5404
5767
 
5405
5768
 
5406
5769
  case $INSTALL in
5422
5785
    configure_input="$ac_file.  "
5423
5786
  fi
5424
5787
  configure_input=$configure_input"Generated from `echo $ac_file_in |
5425
 
                                     sed 's,.*/,,'` by configure."
 
5788
                                     sed 's,.*/,,'` by configure."
5426
5789
 
5427
5790
  # First look for the input files in the build tree, otherwise in the
5428
5791
  # src tree.
5431
5794
      case $f in
5432
5795
      -) echo $tmp/stdin ;;
5433
5796
      [\\/$]*)
5434
 
         # Absolute (can't be DOS-style, as IFS=:)
5435
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
5797
         # Absolute (can't be DOS-style, as IFS=:)
 
5798
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5436
5799
echo "$as_me: error: cannot find input file: $f" >&2;}
5437
5800
   { (exit 1); exit 1; }; }
5438
 
         echo $f;;
 
5801
         echo "$f";;
5439
5802
      *) # Relative
5440
 
         if test -f "$f"; then
5441
 
           # Build tree
5442
 
           echo $f
5443
 
         elif test -f "$srcdir/$f"; then
5444
 
           # Source tree
5445
 
           echo $srcdir/$f
5446
 
         else
5447
 
           # /dev/null tree
5448
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
5803
         if test -f "$f"; then
 
5804
           # Build tree
 
5805
           echo "$f"
 
5806
         elif test -f "$srcdir/$f"; then
 
5807
           # Source tree
 
5808
           echo "$srcdir/$f"
 
5809
         else
 
5810
           # /dev/null tree
 
5811
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5449
5812
echo "$as_me: error: cannot find input file: $f" >&2;}
5450
5813
   { (exit 1); exit 1; }; }
5451
 
         fi;;
 
5814
         fi;;
5452
5815
      esac
5453
5816
    done` || { (exit 1); exit 1; }
5454
5817
_ACEOF
5490
5853
# NAME is the cpp macro being defined and VALUE is the value it is being given.
5491
5854
#
5492
5855
# ac_d sets the value in "#define NAME VALUE" lines.
5493
 
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
5494
 
ac_dB='[        ].*$,\1#\2'
 
5856
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
 
5857
ac_dB='[         ].*$,\1#\2'
5495
5858
ac_dC=' '
5496
5859
ac_dD=',;t'
5497
5860
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5498
 
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
5861
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
5499
5862
ac_uB='$,\1#\2define\3'
5500
5863
ac_uC=' '
5501
5864
ac_uD=',;t'
5504
5867
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5505
5868
  case $ac_file in
5506
5869
  - | *:- | *:-:* ) # input from stdin
5507
 
        cat >$tmp/stdin
5508
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5509
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
5870
        cat >$tmp/stdin
 
5871
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
5872
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5510
5873
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5511
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
5874
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5512
5875
  * )   ac_file_in=$ac_file.in ;;
5513
5876
  esac
5514
5877
 
5522
5885
      case $f in
5523
5886
      -) echo $tmp/stdin ;;
5524
5887
      [\\/$]*)
5525
 
         # Absolute (can't be DOS-style, as IFS=:)
5526
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
5888
         # Absolute (can't be DOS-style, as IFS=:)
 
5889
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5527
5890
echo "$as_me: error: cannot find input file: $f" >&2;}
5528
5891
   { (exit 1); exit 1; }; }
5529
 
         echo $f;;
 
5892
         # Do quote $f, to prevent DOS paths from being IFS'd.
 
5893
         echo "$f";;
5530
5894
      *) # Relative
5531
 
         if test -f "$f"; then
5532
 
           # Build tree
5533
 
           echo $f
5534
 
         elif test -f "$srcdir/$f"; then
5535
 
           # Source tree
5536
 
           echo $srcdir/$f
5537
 
         else
5538
 
           # /dev/null tree
5539
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
5895
         if test -f "$f"; then
 
5896
           # Build tree
 
5897
           echo "$f"
 
5898
         elif test -f "$srcdir/$f"; then
 
5899
           # Source tree
 
5900
           echo "$srcdir/$f"
 
5901
         else
 
5902
           # /dev/null tree
 
5903
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5540
5904
echo "$as_me: error: cannot find input file: $f" >&2;}
5541
5905
   { (exit 1); exit 1; }; }
5542
 
         fi;;
 
5906
         fi;;
5543
5907
      esac
5544
5908
    done` || { (exit 1); exit 1; }
5545
5909
  # Remove the trailing spaces.
5546
 
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
 
5910
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
5547
5911
 
5548
5912
_ACEOF
5549
5913
 
5566
5930
s,[\\$`],\\&,g
5567
5931
t clear
5568
5932
: clear
5569
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
5933
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5570
5934
t end
5571
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
5935
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5572
5936
: end
5573
5937
_ACEOF
5574
5938
# If some macros were called several times there might be several times
5582
5946
# example, in the case of _POSIX_SOURCE, which is predefined and required
5583
5947
# on some systems where configure will not decide to define it.
5584
5948
cat >>conftest.undefs <<\_ACEOF
5585
 
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
5949
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5586
5950
_ACEOF
5587
5951
 
5588
5952
# Break up conftest.defines because some shells have a limit on the size
5589
5953
# of here documents, and old seds have small limits too (100 cmds).
5590
5954
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5591
 
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
5955
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5592
5956
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5593
5957
echo '  :' >>$CONFIG_STATUS
5594
5958
rm -f conftest.tail
5597
5961
  # Write a limited-size here document to $tmp/defines.sed.
5598
5962
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5599
5963
  # Speed up: don't consider the non `#define' lines.
5600
 
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
5964
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
5601
5965
  # Work around the forget-to-reset-the-flag bug.
5602
5966
  echo 't clr' >>$CONFIG_STATUS
5603
5967
  echo ': clr' >>$CONFIG_STATUS
5624
5988
  # Write a limited-size here document to $tmp/undefs.sed.
5625
5989
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5626
5990
  # Speed up: don't consider the non `#undef'
5627
 
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
5991
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
5628
5992
  # Work around the forget-to-reset-the-flag bug.
5629
5993
  echo 't clr' >>$CONFIG_STATUS
5630
5994
  echo ': clr' >>$CONFIG_STATUS
5658
6022
    else
5659
6023
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5660
6024
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5661
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
5662
 
         X"$ac_file" : 'X\(//\)$' \| \
5663
 
         X"$ac_file" : 'X\(/\)' \| \
5664
 
         .     : '\(.\)' 2>/dev/null ||
 
6025
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
6026
         X"$ac_file" : 'X\(//\)$' \| \
 
6027
         X"$ac_file" : 'X\(/\)' \| \
 
6028
         .     : '\(.\)' 2>/dev/null ||
5665
6029
echo X"$ac_file" |
5666
6030
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5667
6031
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5677
6041
      as_dirs="$as_dir $as_dirs"
5678
6042
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5679
6043
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5680
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5681
 
         X"$as_dir" : 'X\(//\)$' \| \
5682
 
         X"$as_dir" : 'X\(/\)' \| \
5683
 
         .     : '\(.\)' 2>/dev/null ||
 
6044
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6045
         X"$as_dir" : 'X\(//\)$' \| \
 
6046
         X"$as_dir" : 'X\(/\)' \| \
 
6047
         .     : '\(.\)' 2>/dev/null ||
5684
6048
echo X"$as_dir" |
5685
6049
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5686
6050
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5712
6076
done
5713
6077
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5714
6078
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5715
 
         X$ac_file : 'X\(//\)[^/]' \| \
5716
 
         X$ac_file : 'X\(//\)$' \| \
5717
 
         X$ac_file : 'X\(/\)' \| \
5718
 
         .     : '\(.\)' 2>/dev/null ||
 
6079
         X$ac_file : 'X\(//\)[^/]' \| \
 
6080
         X$ac_file : 'X\(//\)$' \| \
 
6081
         X$ac_file : 'X\(/\)' \| \
 
6082
         .     : '\(.\)' 2>/dev/null ||
5719
6083
echo X$ac_file |
5720
6084
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5721
6085
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5734
6098
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5735
6099
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5736
6100
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5737
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
5738
 
         X"$ac_dest" : 'X\(//\)$' \| \
5739
 
         X"$ac_dest" : 'X\(/\)' \| \
5740
 
         .     : '\(.\)' 2>/dev/null ||
 
6101
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
6102
         X"$ac_dest" : 'X\(//\)$' \| \
 
6103
         X"$ac_dest" : 'X\(/\)' \| \
 
6104
         .     : '\(.\)' 2>/dev/null ||
5741
6105
echo X"$ac_dest" |
5742
6106
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5743
6107
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5744
6108
          /^X\(\/\/\)$/{ s//\1/; q; }
5745
6109
          /^X\(\/\).*/{ s//\1/; q; }
5746
6110
          s/.*/./; q'`
 
6111
  { if $as_mkdir_p; then
 
6112
    mkdir -p "$ac_dir"
 
6113
  else
 
6114
    as_dir="$ac_dir"
 
6115
    as_dirs=
 
6116
    while test ! -d "$as_dir"; do
 
6117
      as_dirs="$as_dir $as_dirs"
 
6118
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
6119
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6120
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6121
         X"$as_dir" : 'X\(//\)$' \| \
 
6122
         X"$as_dir" : 'X\(/\)' \| \
 
6123
         .     : '\(.\)' 2>/dev/null ||
 
6124
echo X"$as_dir" |
 
6125
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
6126
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
6127
          /^X\(\/\/\)$/{ s//\1/; q; }
 
6128
          /^X\(\/\).*/{ s//\1/; q; }
 
6129
          s/.*/./; q'`
 
6130
    done
 
6131
    test ! -n "$as_dirs" || mkdir $as_dirs
 
6132
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
6133
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
6134
   { (exit 1); exit 1; }; }; }
 
6135
 
5747
6136
  ac_builddir=.
5748
6137
 
5749
6138
if test "$ac_dir" != .; then
5769
6158
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5770
6159
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5771
6160
esac
5772
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5773
 
# absolute.
5774
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5775
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5776
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5777
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
6161
 
 
6162
# Do not use `cd foo && pwd` to compute absolute paths, because
 
6163
# the directories may not exist.
 
6164
case `pwd` in
 
6165
.) ac_abs_builddir="$ac_dir";;
 
6166
*)
 
6167
  case "$ac_dir" in
 
6168
  .) ac_abs_builddir=`pwd`;;
 
6169
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
6170
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
6171
  esac;;
 
6172
esac
 
6173
case $ac_abs_builddir in
 
6174
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6175
*)
 
6176
  case ${ac_top_builddir}. in
 
6177
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
6178
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6179
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
6180
  esac;;
 
6181
esac
 
6182
case $ac_abs_builddir in
 
6183
.) ac_abs_srcdir=$ac_srcdir;;
 
6184
*)
 
6185
  case $ac_srcdir in
 
6186
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
6187
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
6188
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
6189
  esac;;
 
6190
esac
 
6191
case $ac_abs_builddir in
 
6192
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6193
*)
 
6194
  case $ac_top_srcdir in
 
6195
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
6196
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6197
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
6198
  esac;;
 
6199
esac
5778
6200
 
5779
6201
 
5780
6202
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5792
6214
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5793
6215
    dirpart=`(dirname "$mf") 2>/dev/null ||
5794
6216
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5795
 
         X"$mf" : 'X\(//\)[^/]' \| \
5796
 
         X"$mf" : 'X\(//\)$' \| \
5797
 
         X"$mf" : 'X\(/\)' \| \
5798
 
         .     : '\(.\)' 2>/dev/null ||
 
6217
         X"$mf" : 'X\(//\)[^/]' \| \
 
6218
         X"$mf" : 'X\(//\)$' \| \
 
6219
         X"$mf" : 'X\(/\)' \| \
 
6220
         .     : '\(.\)' 2>/dev/null ||
5799
6221
echo X"$mf" |
5800
6222
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5801
6223
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5808
6230
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5809
6231
  # Extract the definition of DEP_FILES from the Makefile without
5810
6232
  # running `make'.
5811
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
6233
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5812
6234
  test -z "$DEPDIR" && continue
5813
6235
  # When using ansi2knr, U may be empty or an underscore; expand it
5814
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
 
6236
  U=`sed -n 's/^U = //p' < "$mf"`
5815
6237
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5816
6238
  # We invoke sed twice because it is the simplest approach to
5817
6239
  # changing $(DEPDIR) to its actual value in the expansion.
5818
 
  for file in `sed -n -e '
 
6240
  for file in `sed -n '
5819
6241
    /^DEP_FILES = .*\\\\$/ {
5820
6242
      s/^DEP_FILES = //
5821
6243
      :loop
5831
6253
    test -f "$dirpart/$file" && continue
5832
6254
    fdir=`(dirname "$file") 2>/dev/null ||
5833
6255
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5834
 
         X"$file" : 'X\(//\)[^/]' \| \
5835
 
         X"$file" : 'X\(//\)$' \| \
5836
 
         X"$file" : 'X\(/\)' \| \
5837
 
         .     : '\(.\)' 2>/dev/null ||
 
6256
         X"$file" : 'X\(//\)[^/]' \| \
 
6257
         X"$file" : 'X\(//\)$' \| \
 
6258
         X"$file" : 'X\(/\)' \| \
 
6259
         .     : '\(.\)' 2>/dev/null ||
5838
6260
echo X"$file" |
5839
6261
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5840
6262
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5850
6272
      as_dirs="$as_dir $as_dirs"
5851
6273
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5852
6274
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5853
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5854
 
         X"$as_dir" : 'X\(//\)$' \| \
5855
 
         X"$as_dir" : 'X\(/\)' \| \
5856
 
         .     : '\(.\)' 2>/dev/null ||
 
6275
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6276
         X"$as_dir" : 'X\(//\)$' \| \
 
6277
         X"$as_dir" : 'X\(/\)' \| \
 
6278
         .     : '\(.\)' 2>/dev/null ||
5857
6279
echo X"$as_dir" |
5858
6280
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5859
6281
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }