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

« back to all changes in this revision

Viewing changes to gpglib/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 RANLIB ac_ct_RANLIB LN_S GPG PERL CPP EGREP HAVE_SGML_TRUE HAVE_SGML_FALSE LIBOBJS LTLIBOBJS'
 
312
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB LN_S GPG PERL CPP EGREP HAVE_SGML_TRUE HAVE_SGML_FALSE LIBOBJS LTLIBOBJS'
312
313
ac_subst_files=''
313
314
 
314
315
# Initialize some variables set by options.
667
668
 
668
669
# Be sure to have absolute paths.
669
670
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670
 
              localstatedir libdir includedir oldincludedir infodir mandir
 
671
              localstatedir libdir includedir oldincludedir infodir mandir
671
672
do
672
673
  eval ac_val=$`echo $ac_var`
673
674
  case $ac_val in
707
708
  # Try the directory containing this script, then its parent.
708
709
  ac_confdir=`(dirname "$0") 2>/dev/null ||
709
710
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710
 
         X"$0" : 'X\(//\)[^/]' \| \
711
 
         X"$0" : 'X\(//\)$' \| \
712
 
         X"$0" : 'X\(/\)' \| \
713
 
         .     : '\(.\)' 2>/dev/null ||
 
711
         X"$0" : 'X\(//\)[^/]' \| \
 
712
         X"$0" : 'X\(//\)$' \| \
 
713
         X"$0" : 'X\(/\)' \| \
 
714
         .     : '\(.\)' 2>/dev/null ||
714
715
echo X"$0" |
715
716
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716
717
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
802
803
  cat <<_ACEOF
803
804
Installation directories:
804
805
  --prefix=PREFIX         install architecture-independent files in PREFIX
805
 
                          [$ac_default_prefix]
 
806
                          [$ac_default_prefix]
806
807
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
807
 
                          [PREFIX]
 
808
                          [PREFIX]
808
809
 
809
810
By default, \`make install' will install all the files in
810
811
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
844
845
Optional Features:
845
846
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
846
847
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
847
 
  --disable-dependency-tracking Speeds up one-time builds
848
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
848
  --disable-dependency-tracking  speeds up one-time build
 
849
  --enable-dependency-tracking   do not reject slow dependency extractors
849
850
 
850
851
Some influential environment variables:
851
852
  CC          C compiler command
892
893
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
893
894
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
894
895
esac
895
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
896
 
# absolute.
897
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
898
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
899
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
900
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
896
 
 
897
# Do not use `cd foo && pwd` to compute absolute paths, because
 
898
# the directories may not exist.
 
899
case `pwd` in
 
900
.) ac_abs_builddir="$ac_dir";;
 
901
*)
 
902
  case "$ac_dir" in
 
903
  .) ac_abs_builddir=`pwd`;;
 
904
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
905
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
906
  esac;;
 
907
esac
 
908
case $ac_abs_builddir in
 
909
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
910
*)
 
911
  case ${ac_top_builddir}. in
 
912
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
913
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
914
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
915
  esac;;
 
916
esac
 
917
case $ac_abs_builddir in
 
918
.) ac_abs_srcdir=$ac_srcdir;;
 
919
*)
 
920
  case $ac_srcdir in
 
921
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
922
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
923
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
924
  esac;;
 
925
esac
 
926
case $ac_abs_builddir in
 
927
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
928
*)
 
929
  case $ac_top_srcdir in
 
930
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
931
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
932
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
933
  esac;;
 
934
esac
901
935
 
902
936
    cd $ac_dir
903
937
    # Check for guested configure; otherwise get Cygnus style configure.
908
942
      echo
909
943
      $SHELL $ac_srcdir/configure  --help=recursive
910
944
    elif test -f $ac_srcdir/configure.ac ||
911
 
           test -f $ac_srcdir/configure.in; then
 
945
           test -f $ac_srcdir/configure.in; then
912
946
      echo
913
947
      $ac_configure --help
914
948
    else
922
956
if $ac_init_version; then
923
957
  cat <<\_ACEOF
924
958
 
925
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
926
 
Free Software Foundation, Inc.
 
959
Copyright (C) 2003 Free Software Foundation, Inc.
927
960
This configure script is free software; the Free Software Foundation
928
961
gives unlimited permission to copy, distribute and modify it.
929
962
_ACEOF
935
968
running configure, to aid debugging if configure makes a mistake.
936
969
 
937
970
It was created by $as_me, which was
938
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
971
generated by GNU Autoconf 2.59.  Invocation command line was
939
972
 
940
973
  $ $0 $@
941
974
 
1012
1045
    2)
1013
1046
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1014
1047
      if test $ac_must_keep_next = true; then
1015
 
        ac_must_keep_next=false # Got value, back to normal.
 
1048
        ac_must_keep_next=false # Got value, back to normal.
1016
1049
      else
1017
 
        case $ac_arg in
1018
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1019
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1020
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1021
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1022
 
            case "$ac_configure_args0 " in
1023
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1024
 
            esac
1025
 
            ;;
1026
 
          -* ) ac_must_keep_next=true ;;
1027
 
        esac
 
1050
        case $ac_arg in
 
1051
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1052
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1053
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1054
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1055
            case "$ac_configure_args0 " in
 
1056
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1057
            esac
 
1058
            ;;
 
1059
          -* ) ac_must_keep_next=true ;;
 
1060
        esac
1028
1061
      fi
1029
1062
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1030
1063
      # Get rid of the leading space.
1058
1091
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1059
1092
    *ac_space=\ *)
1060
1093
      sed -n \
1061
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1062
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1094
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1095
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1063
1096
      ;;
1064
1097
    *)
1065
1098
      sed -n \
1066
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1099
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1067
1100
      ;;
1068
1101
    esac;
1069
1102
}
1092
1125
      for ac_var in $ac_subst_files
1093
1126
      do
1094
1127
        eval ac_val=$`echo $ac_var`
1095
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1128
        echo "$ac_var='"'"'$ac_val'"'"'"
1096
1129
      done | sort
1097
1130
      echo
1098
1131
    fi
1111
1144
      echo "$as_me: caught signal $ac_signal"
1112
1145
    echo "$as_me: exit $exit_status"
1113
1146
  } >&5
1114
 
  rm -f core core.* *.core &&
 
1147
  rm -f core *.core &&
1115
1148
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1116
1149
    exit $exit_status
1117
1150
     ' 0
1191
1224
# value.
1192
1225
ac_cache_corrupted=false
1193
1226
for ac_var in `(set) 2>&1 |
1194
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1227
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1195
1228
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1196
1229
  eval ac_new_set=\$ac_env_${ac_var}_set
1197
1230
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1208
1241
    ,);;
1209
1242
    *)
1210
1243
      if test "x$ac_old_val" != "x$ac_new_val"; then
1211
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1244
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1212
1245
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1213
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1246
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1214
1247
echo "$as_me:   former value:  $ac_old_val" >&2;}
1215
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1248
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1216
1249
echo "$as_me:   current value: $ac_new_val" >&2;}
1217
 
        ac_cache_corrupted=:
 
1250
        ac_cache_corrupted=:
1218
1251
      fi;;
1219
1252
  esac
1220
1253
  # Pass precious variables to config.status.
1264
1297
 
1265
1298
LPATH="$PATH:/usr/local/bin"
1266
1299
 
1267
 
am__api_version="1.7"
 
1300
am__api_version="1.8"
1268
1301
ac_aux_dir=
1269
1302
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1270
1303
  if test -f $ac_dir/install-sh; then
1301
1334
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1302
1335
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1303
1336
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1337
# OS/2's system install, which has a completely different semantic
1304
1338
# ./install, which can be erroneously created by make from ./install.sh.
1305
1339
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1306
1340
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1317
1351
case $as_dir/ in
1318
1352
  ./ | .// | /cC/* | \
1319
1353
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1354
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1320
1355
  /usr/ucb/* ) ;;
1321
1356
  *)
1322
1357
    # OSF1 and SCO ODT 3.0 have their own names for install.
1324
1359
    # by default.
1325
1360
    for ac_prog in ginstall scoinst install; do
1326
1361
      for ac_exec_ext in '' $ac_executable_extensions; do
1327
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1328
 
          if test $ac_prog = install &&
1329
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1330
 
            # AIX install.  It has an incompatible calling convention.
1331
 
            :
1332
 
          elif test $ac_prog = install &&
1333
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1334
 
            # program-specific install script used by HP pwplus--don't use.
1335
 
            :
1336
 
          else
1337
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1338
 
            break 3
1339
 
          fi
1340
 
        fi
 
1362
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1363
          if test $ac_prog = install &&
 
1364
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1365
            # AIX install.  It has an incompatible calling convention.
 
1366
            :
 
1367
          elif test $ac_prog = install &&
 
1368
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1369
            # program-specific install script used by HP pwplus--don't use.
 
1370
            :
 
1371
          else
 
1372
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1373
            break 3
 
1374
          fi
 
1375
        fi
1341
1376
      done
1342
1377
    done
1343
1378
    ;;
1425
1460
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1426
1461
rm conftest.sed
1427
1462
 
1428
 
 
1429
1463
# expand $ac_aux_dir to an absolute path
1430
1464
am_aux_dir=`cd $ac_aux_dir && pwd`
1431
1465
 
1439
1473
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1440
1474
fi
1441
1475
 
 
1476
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1477
  # Keeping the `.' argument allows $(mkdir_p) to be used without
 
1478
  # argument.  Indeed, we sometimes output rules like
 
1479
  #   $(mkdir_p) $(somedir)
 
1480
  # where $(somedir) is conditionally defined.
 
1481
  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
 
1482
  # expensive solution, as it forces Make to start a sub-shell.)
 
1483
  mkdir_p='mkdir -p -- .'
 
1484
else
 
1485
  # On NextStep and OpenStep, the `mkdir' command does not
 
1486
  # recognize any option.  It will interpret all options as
 
1487
  # directories to create, and then abort because `.' already
 
1488
  # exists.
 
1489
  for d in ./-p ./--version;
 
1490
  do
 
1491
    test -d $d && rmdir $d
 
1492
  done
 
1493
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1494
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1495
    mkdir_p='$(mkinstalldirs)'
 
1496
  else
 
1497
    mkdir_p='$(install_sh) -d'
 
1498
  fi
 
1499
fi
 
1500
 
1442
1501
for ac_prog in gawk mawk nawk awk
1443
1502
do
1444
1503
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1481
1540
 
1482
1541
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1483
1542
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1484
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1543
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1485
1544
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1486
1545
  echo $ECHO_N "(cached) $ECHO_C" >&6
1487
1546
else
1517
1576
fi
1518
1577
rmdir .tst 2>/dev/null
1519
1578
 
1520
 
 # test to see if srcdir already configured
 
1579
# test to see if srcdir already configured
1521
1580
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1522
1581
   test -f $srcdir/config.status; then
1523
1582
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1708
1767
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1709
1768
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1710
1769
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1770
# OS/2's system install, which has a completely different semantic
1711
1771
# ./install, which can be erroneously created by make from ./install.sh.
1712
1772
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1713
1773
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1724
1784
case $as_dir/ in
1725
1785
  ./ | .// | /cC/* | \
1726
1786
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1787
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1727
1788
  /usr/ucb/* ) ;;
1728
1789
  *)
1729
1790
    # OSF1 and SCO ODT 3.0 have their own names for install.
1731
1792
    # by default.
1732
1793
    for ac_prog in ginstall scoinst install; do
1733
1794
      for ac_exec_ext in '' $ac_executable_extensions; do
1734
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1735
 
          if test $ac_prog = install &&
1736
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1737
 
            # AIX install.  It has an incompatible calling convention.
1738
 
            :
1739
 
          elif test $ac_prog = install &&
1740
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1741
 
            # program-specific install script used by HP pwplus--don't use.
1742
 
            :
1743
 
          else
1744
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1745
 
            break 3
1746
 
          fi
1747
 
        fi
 
1795
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1796
          if test $ac_prog = install &&
 
1797
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1798
            # AIX install.  It has an incompatible calling convention.
 
1799
            :
 
1800
          elif test $ac_prog = install &&
 
1801
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1802
            # program-specific install script used by HP pwplus--don't use.
 
1803
            :
 
1804
          else
 
1805
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1806
            break 3
 
1807
          fi
 
1808
        fi
1748
1809
      done
1749
1810
    done
1750
1811
    ;;
2110
2171
  (exit $ac_status); }
2111
2172
 
2112
2173
cat >conftest.$ac_ext <<_ACEOF
2113
 
#line $LINENO "configure"
2114
2174
/* confdefs.h.  */
2115
2175
_ACEOF
2116
2176
cat confdefs.h >>conftest.$ac_ext
2130
2190
# Try to create an executable without -o first, disregard a.out.
2131
2191
# It will help us diagnose broken compilers, and finding out an intuition
2132
2192
# of exeext.
2133
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2134
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
2193
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2194
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2135
2195
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2136
2196
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2137
2197
  (eval $ac_link_default) 2>&5
2151
2211
  test -f "$ac_file" || continue
2152
2212
  case $ac_file in
2153
2213
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2154
 
        ;;
 
2214
        ;;
2155
2215
    conftest.$ac_ext )
2156
 
        # This is the source file.
2157
 
        ;;
 
2216
        # This is the source file.
 
2217
        ;;
2158
2218
    [ab].out )
2159
 
        # We found the default executable, but exeext='' is most
2160
 
        # certainly right.
2161
 
        break;;
 
2219
        # We found the default executable, but exeext='' is most
 
2220
        # certainly right.
 
2221
        break;;
2162
2222
    *.* )
2163
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2164
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2165
 
        # but it would be cool to find out if it's true.  Does anybody
2166
 
        # maintain Libtool? --akim.
2167
 
        export ac_cv_exeext
2168
 
        break;;
 
2223
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2224
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2225
        # but it would be cool to find out if it's true.  Does anybody
 
2226
        # maintain Libtool? --akim.
 
2227
        export ac_cv_exeext
 
2228
        break;;
2169
2229
    * )
2170
 
        break;;
 
2230
        break;;
2171
2231
  esac
2172
2232
done
2173
2233
else
2241
2301
  case $ac_file in
2242
2302
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2243
2303
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2244
 
          export ac_cv_exeext
2245
 
          break;;
 
2304
          export ac_cv_exeext
 
2305
          break;;
2246
2306
    * ) break;;
2247
2307
  esac
2248
2308
done
2267
2327
  echo $ECHO_N "(cached) $ECHO_C" >&6
2268
2328
else
2269
2329
  cat >conftest.$ac_ext <<_ACEOF
2270
 
#line $LINENO "configure"
2271
2330
/* confdefs.h.  */
2272
2331
_ACEOF
2273
2332
cat confdefs.h >>conftest.$ac_ext
2318
2377
  echo $ECHO_N "(cached) $ECHO_C" >&6
2319
2378
else
2320
2379
  cat >conftest.$ac_ext <<_ACEOF
2321
 
#line $LINENO "configure"
2322
2380
/* confdefs.h.  */
2323
2381
_ACEOF
2324
2382
cat confdefs.h >>conftest.$ac_ext
2338
2396
_ACEOF
2339
2397
rm -f conftest.$ac_objext
2340
2398
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2341
 
  (eval $ac_compile) 2>&5
 
2399
  (eval $ac_compile) 2>conftest.er1
2342
2400
  ac_status=$?
 
2401
  grep -v '^ *+' conftest.er1 >conftest.err
 
2402
  rm -f conftest.er1
 
2403
  cat conftest.err >&5
2343
2404
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344
2405
  (exit $ac_status); } &&
2345
 
         { ac_try='test -s conftest.$ac_objext'
 
2406
         { ac_try='test -z "$ac_c_werror_flag"
 
2407
                         || test ! -s conftest.err'
 
2408
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2409
  (eval $ac_try) 2>&5
 
2410
  ac_status=$?
 
2411
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2412
  (exit $ac_status); }; } &&
 
2413
         { ac_try='test -s conftest.$ac_objext'
2346
2414
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2347
2415
  (eval $ac_try) 2>&5
2348
2416
  ac_status=$?
2355
2423
 
2356
2424
ac_compiler_gnu=no
2357
2425
fi
2358
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2426
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2359
2427
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2360
2428
 
2361
2429
fi
2371
2439
  echo $ECHO_N "(cached) $ECHO_C" >&6
2372
2440
else
2373
2441
  cat >conftest.$ac_ext <<_ACEOF
2374
 
#line $LINENO "configure"
2375
2442
/* confdefs.h.  */
2376
2443
_ACEOF
2377
2444
cat confdefs.h >>conftest.$ac_ext
2388
2455
_ACEOF
2389
2456
rm -f conftest.$ac_objext
2390
2457
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2391
 
  (eval $ac_compile) 2>&5
 
2458
  (eval $ac_compile) 2>conftest.er1
2392
2459
  ac_status=$?
 
2460
  grep -v '^ *+' conftest.er1 >conftest.err
 
2461
  rm -f conftest.er1
 
2462
  cat conftest.err >&5
2393
2463
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394
2464
  (exit $ac_status); } &&
2395
 
         { ac_try='test -s conftest.$ac_objext'
 
2465
         { ac_try='test -z "$ac_c_werror_flag"
 
2466
                         || test ! -s conftest.err'
 
2467
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2468
  (eval $ac_try) 2>&5
 
2469
  ac_status=$?
 
2470
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2471
  (exit $ac_status); }; } &&
 
2472
         { ac_try='test -s conftest.$ac_objext'
2396
2473
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2397
2474
  (eval $ac_try) 2>&5
2398
2475
  ac_status=$?
2405
2482
 
2406
2483
ac_cv_prog_cc_g=no
2407
2484
fi
2408
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2485
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2409
2486
fi
2410
2487
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2411
2488
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2432
2509
  ac_cv_prog_cc_stdc=no
2433
2510
ac_save_CC=$CC
2434
2511
cat >conftest.$ac_ext <<_ACEOF
2435
 
#line $LINENO "configure"
2436
2512
/* confdefs.h.  */
2437
2513
_ACEOF
2438
2514
cat confdefs.h >>conftest.$ac_ext
2460
2536
  va_end (v);
2461
2537
  return s;
2462
2538
}
 
2539
 
 
2540
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2541
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2542
   These don't provoke an error unfortunately, instead are silently treated
 
2543
   as 'x'.  The following induces an error, until -std1 is added to get
 
2544
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2545
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2546
   that's true only with -std1.  */
 
2547
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2548
 
2463
2549
int test (int i, double x);
2464
2550
struct s1 {int (*f) (int a);};
2465
2551
struct s2 {int (*f) (double a);};
2486
2572
  CC="$ac_save_CC $ac_arg"
2487
2573
  rm -f conftest.$ac_objext
2488
2574
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2489
 
  (eval $ac_compile) 2>&5
 
2575
  (eval $ac_compile) 2>conftest.er1
2490
2576
  ac_status=$?
 
2577
  grep -v '^ *+' conftest.er1 >conftest.err
 
2578
  rm -f conftest.er1
 
2579
  cat conftest.err >&5
2491
2580
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492
2581
  (exit $ac_status); } &&
2493
 
         { ac_try='test -s conftest.$ac_objext'
 
2582
         { ac_try='test -z "$ac_c_werror_flag"
 
2583
                         || test ! -s conftest.err'
 
2584
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2585
  (eval $ac_try) 2>&5
 
2586
  ac_status=$?
 
2587
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2588
  (exit $ac_status); }; } &&
 
2589
         { ac_try='test -s conftest.$ac_objext'
2494
2590
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495
2591
  (eval $ac_try) 2>&5
2496
2592
  ac_status=$?
2503
2599
sed 's/^/| /' conftest.$ac_ext >&5
2504
2600
 
2505
2601
fi
2506
 
rm -f conftest.$ac_objext
 
2602
rm -f conftest.err conftest.$ac_objext
2507
2603
done
2508
2604
rm -f conftest.$ac_ext conftest.$ac_objext
2509
2605
CC=$ac_save_CC
2531
2627
_ACEOF
2532
2628
rm -f conftest.$ac_objext
2533
2629
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2534
 
  (eval $ac_compile) 2>&5
 
2630
  (eval $ac_compile) 2>conftest.er1
2535
2631
  ac_status=$?
 
2632
  grep -v '^ *+' conftest.er1 >conftest.err
 
2633
  rm -f conftest.er1
 
2634
  cat conftest.err >&5
2536
2635
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537
2636
  (exit $ac_status); } &&
2538
 
         { ac_try='test -s conftest.$ac_objext'
 
2637
         { ac_try='test -z "$ac_c_werror_flag"
 
2638
                         || test ! -s conftest.err'
 
2639
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2640
  (eval $ac_try) 2>&5
 
2641
  ac_status=$?
 
2642
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2643
  (exit $ac_status); }; } &&
 
2644
         { ac_try='test -s conftest.$ac_objext'
2539
2645
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2540
2646
  (eval $ac_try) 2>&5
2541
2647
  ac_status=$?
2542
2648
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543
2649
  (exit $ac_status); }; }; then
2544
2650
  for ac_declaration in \
2545
 
   ''\
2546
 
   '#include <stdlib.h>' \
 
2651
   '' \
2547
2652
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2548
2653
   'extern "C" void std::exit (int); using std::exit;' \
2549
2654
   'extern "C" void exit (int) throw ();' \
2551
2656
   'void exit (int);'
2552
2657
do
2553
2658
  cat >conftest.$ac_ext <<_ACEOF
2554
 
#line $LINENO "configure"
2555
2659
/* confdefs.h.  */
2556
2660
_ACEOF
2557
2661
cat confdefs.h >>conftest.$ac_ext
2558
2662
cat >>conftest.$ac_ext <<_ACEOF
2559
2663
/* end confdefs.h.  */
 
2664
$ac_declaration
2560
2665
#include <stdlib.h>
2561
 
$ac_declaration
2562
2666
int
2563
2667
main ()
2564
2668
{
2569
2673
_ACEOF
2570
2674
rm -f conftest.$ac_objext
2571
2675
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2572
 
  (eval $ac_compile) 2>&5
 
2676
  (eval $ac_compile) 2>conftest.er1
2573
2677
  ac_status=$?
 
2678
  grep -v '^ *+' conftest.er1 >conftest.err
 
2679
  rm -f conftest.er1
 
2680
  cat conftest.err >&5
2574
2681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575
2682
  (exit $ac_status); } &&
2576
 
         { ac_try='test -s conftest.$ac_objext'
 
2683
         { ac_try='test -z "$ac_c_werror_flag"
 
2684
                         || test ! -s conftest.err'
 
2685
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2686
  (eval $ac_try) 2>&5
 
2687
  ac_status=$?
 
2688
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2689
  (exit $ac_status); }; } &&
 
2690
         { ac_try='test -s conftest.$ac_objext'
2577
2691
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2578
2692
  (eval $ac_try) 2>&5
2579
2693
  ac_status=$?
2586
2700
 
2587
2701
continue
2588
2702
fi
2589
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2703
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2590
2704
  cat >conftest.$ac_ext <<_ACEOF
2591
 
#line $LINENO "configure"
2592
2705
/* confdefs.h.  */
2593
2706
_ACEOF
2594
2707
cat confdefs.h >>conftest.$ac_ext
2605
2718
_ACEOF
2606
2719
rm -f conftest.$ac_objext
2607
2720
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2608
 
  (eval $ac_compile) 2>&5
 
2721
  (eval $ac_compile) 2>conftest.er1
2609
2722
  ac_status=$?
 
2723
  grep -v '^ *+' conftest.er1 >conftest.err
 
2724
  rm -f conftest.er1
 
2725
  cat conftest.err >&5
2610
2726
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611
2727
  (exit $ac_status); } &&
2612
 
         { ac_try='test -s conftest.$ac_objext'
 
2728
         { ac_try='test -z "$ac_c_werror_flag"
 
2729
                         || test ! -s conftest.err'
 
2730
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2731
  (eval $ac_try) 2>&5
 
2732
  ac_status=$?
 
2733
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2734
  (exit $ac_status); }; } &&
 
2735
         { ac_try='test -s conftest.$ac_objext'
2613
2736
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2614
2737
  (eval $ac_try) 2>&5
2615
2738
  ac_status=$?
2621
2744
sed 's/^/| /' conftest.$ac_ext >&5
2622
2745
 
2623
2746
fi
2624
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2747
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2625
2748
done
2626
2749
rm -f conftest*
2627
2750
if test -n "$ac_declaration"; then
2635
2758
sed 's/^/| /' conftest.$ac_ext >&5
2636
2759
 
2637
2760
fi
2638
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2761
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2639
2762
ac_ext=c
2640
2763
ac_cpp='$CPP $CPPFLAGS'
2641
2764
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2748
2871
    : > sub/conftest.c
2749
2872
    for i in 1 2 3 4 5 6; do
2750
2873
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2751
 
      : > sub/conftst$i.h
 
2874
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
2875
      # Solaris 8's {/usr,}/bin/sh.
 
2876
      touch sub/conftst$i.h
2752
2877
    done
2753
2878
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2754
2879
 
3117
3242
  # On the NeXT, cc -E runs the code through the compiler's parser,
3118
3243
  # not just through cpp. "Syntax error" is here to catch this case.
3119
3244
  cat >conftest.$ac_ext <<_ACEOF
3120
 
#line $LINENO "configure"
3121
3245
/* confdefs.h.  */
3122
3246
_ACEOF
3123
3247
cat confdefs.h >>conftest.$ac_ext
3128
3252
#else
3129
3253
# include <assert.h>
3130
3254
#endif
3131
 
                     Syntax error
 
3255
                     Syntax error
3132
3256
_ACEOF
3133
3257
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3134
3258
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3140
3264
  (exit $ac_status); } >/dev/null; then
3141
3265
  if test -s conftest.err; then
3142
3266
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3267
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3143
3268
  else
3144
3269
    ac_cpp_err=
3145
3270
  fi
3160
3285
  # OK, works on sane cases.  Now check whether non-existent headers
3161
3286
  # can be detected and how.
3162
3287
  cat >conftest.$ac_ext <<_ACEOF
3163
 
#line $LINENO "configure"
3164
3288
/* confdefs.h.  */
3165
3289
_ACEOF
3166
3290
cat confdefs.h >>conftest.$ac_ext
3178
3302
  (exit $ac_status); } >/dev/null; then
3179
3303
  if test -s conftest.err; then
3180
3304
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3305
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3181
3306
  else
3182
3307
    ac_cpp_err=
3183
3308
  fi
3224
3349
  # On the NeXT, cc -E runs the code through the compiler's parser,
3225
3350
  # not just through cpp. "Syntax error" is here to catch this case.
3226
3351
  cat >conftest.$ac_ext <<_ACEOF
3227
 
#line $LINENO "configure"
3228
3352
/* confdefs.h.  */
3229
3353
_ACEOF
3230
3354
cat confdefs.h >>conftest.$ac_ext
3235
3359
#else
3236
3360
# include <assert.h>
3237
3361
#endif
3238
 
                     Syntax error
 
3362
                     Syntax error
3239
3363
_ACEOF
3240
3364
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3241
3365
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3247
3371
  (exit $ac_status); } >/dev/null; then
3248
3372
  if test -s conftest.err; then
3249
3373
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3374
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3250
3375
  else
3251
3376
    ac_cpp_err=
3252
3377
  fi
3267
3392
  # OK, works on sane cases.  Now check whether non-existent headers
3268
3393
  # can be detected and how.
3269
3394
  cat >conftest.$ac_ext <<_ACEOF
3270
 
#line $LINENO "configure"
3271
3395
/* confdefs.h.  */
3272
3396
_ACEOF
3273
3397
cat confdefs.h >>conftest.$ac_ext
3285
3409
  (exit $ac_status); } >/dev/null; then
3286
3410
  if test -s conftest.err; then
3287
3411
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3412
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3288
3413
  else
3289
3414
    ac_cpp_err=
3290
3415
  fi
3345
3470
  echo $ECHO_N "(cached) $ECHO_C" >&6
3346
3471
else
3347
3472
  cat >conftest.$ac_ext <<_ACEOF
3348
 
#line $LINENO "configure"
3349
3473
/* confdefs.h.  */
3350
3474
_ACEOF
3351
3475
cat confdefs.h >>conftest.$ac_ext
3366
3490
_ACEOF
3367
3491
rm -f conftest.$ac_objext
3368
3492
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3369
 
  (eval $ac_compile) 2>&5
 
3493
  (eval $ac_compile) 2>conftest.er1
3370
3494
  ac_status=$?
 
3495
  grep -v '^ *+' conftest.er1 >conftest.err
 
3496
  rm -f conftest.er1
 
3497
  cat conftest.err >&5
3371
3498
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372
3499
  (exit $ac_status); } &&
3373
 
         { ac_try='test -s conftest.$ac_objext'
 
3500
         { ac_try='test -z "$ac_c_werror_flag"
 
3501
                         || test ! -s conftest.err'
 
3502
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3503
  (eval $ac_try) 2>&5
 
3504
  ac_status=$?
 
3505
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3506
  (exit $ac_status); }; } &&
 
3507
         { ac_try='test -s conftest.$ac_objext'
3374
3508
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3375
3509
  (eval $ac_try) 2>&5
3376
3510
  ac_status=$?
3383
3517
 
3384
3518
ac_cv_header_stdc=no
3385
3519
fi
3386
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3520
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3387
3521
 
3388
3522
if test $ac_cv_header_stdc = yes; then
3389
3523
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3390
3524
  cat >conftest.$ac_ext <<_ACEOF
3391
 
#line $LINENO "configure"
3392
3525
/* confdefs.h.  */
3393
3526
_ACEOF
3394
3527
cat confdefs.h >>conftest.$ac_ext
3410
3543
if test $ac_cv_header_stdc = yes; then
3411
3544
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3412
3545
  cat >conftest.$ac_ext <<_ACEOF
3413
 
#line $LINENO "configure"
3414
3546
/* confdefs.h.  */
3415
3547
_ACEOF
3416
3548
cat confdefs.h >>conftest.$ac_ext
3435
3567
  :
3436
3568
else
3437
3569
  cat >conftest.$ac_ext <<_ACEOF
3438
 
#line $LINENO "configure"
3439
3570
/* confdefs.h.  */
3440
3571
_ACEOF
3441
3572
cat confdefs.h >>conftest.$ac_ext
3447
3578
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3448
3579
#else
3449
3580
# define ISLOWER(c) \
3450
 
                   (('a' <= (c) && (c) <= 'i') \
3451
 
                     || ('j' <= (c) && (c) <= 'r') \
3452
 
                     || ('s' <= (c) && (c) <= 'z'))
 
3581
                   (('a' <= (c) && (c) <= 'i') \
 
3582
                     || ('j' <= (c) && (c) <= 'r') \
 
3583
                     || ('s' <= (c) && (c) <= 'z'))
3453
3584
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3454
3585
#endif
3455
3586
 
3460
3591
  int i;
3461
3592
  for (i = 0; i < 256; i++)
3462
3593
    if (XOR (islower (i), ISLOWER (i))
3463
 
        || toupper (i) != TOUPPER (i))
 
3594
        || toupper (i) != TOUPPER (i))
3464
3595
      exit(2);
3465
3596
  exit (0);
3466
3597
}
3485
3616
( exit $ac_status )
3486
3617
ac_cv_header_stdc=no
3487
3618
fi
3488
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3619
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3489
3620
fi
3490
3621
fi
3491
3622
fi
3510
3641
 
3511
3642
 
3512
3643
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3513
 
                  inttypes.h stdint.h unistd.h
 
3644
                  inttypes.h stdint.h unistd.h
3514
3645
do
3515
3646
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3516
3647
echo "$as_me:$LINENO: checking for $ac_header" >&5
3519
3650
  echo $ECHO_N "(cached) $ECHO_C" >&6
3520
3651
else
3521
3652
  cat >conftest.$ac_ext <<_ACEOF
3522
 
#line $LINENO "configure"
3523
3653
/* confdefs.h.  */
3524
3654
_ACEOF
3525
3655
cat confdefs.h >>conftest.$ac_ext
3531
3661
_ACEOF
3532
3662
rm -f conftest.$ac_objext
3533
3663
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3534
 
  (eval $ac_compile) 2>&5
 
3664
  (eval $ac_compile) 2>conftest.er1
3535
3665
  ac_status=$?
 
3666
  grep -v '^ *+' conftest.er1 >conftest.err
 
3667
  rm -f conftest.er1
 
3668
  cat conftest.err >&5
3536
3669
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537
3670
  (exit $ac_status); } &&
3538
 
         { ac_try='test -s conftest.$ac_objext'
 
3671
         { ac_try='test -z "$ac_c_werror_flag"
 
3672
                         || test ! -s conftest.err'
 
3673
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3674
  (eval $ac_try) 2>&5
 
3675
  ac_status=$?
 
3676
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3677
  (exit $ac_status); }; } &&
 
3678
         { ac_try='test -s conftest.$ac_objext'
3539
3679
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3540
3680
  (eval $ac_try) 2>&5
3541
3681
  ac_status=$?
3548
3688
 
3549
3689
eval "$as_ac_Header=no"
3550
3690
fi
3551
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3691
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3552
3692
fi
3553
3693
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3554
3694
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3583
3723
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3584
3724
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3585
3725
cat >conftest.$ac_ext <<_ACEOF
3586
 
#line $LINENO "configure"
3587
3726
/* confdefs.h.  */
3588
3727
_ACEOF
3589
3728
cat confdefs.h >>conftest.$ac_ext
3594
3733
_ACEOF
3595
3734
rm -f conftest.$ac_objext
3596
3735
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3597
 
  (eval $ac_compile) 2>&5
 
3736
  (eval $ac_compile) 2>conftest.er1
3598
3737
  ac_status=$?
 
3738
  grep -v '^ *+' conftest.er1 >conftest.err
 
3739
  rm -f conftest.er1
 
3740
  cat conftest.err >&5
3599
3741
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600
3742
  (exit $ac_status); } &&
3601
 
         { ac_try='test -s conftest.$ac_objext'
 
3743
         { ac_try='test -z "$ac_c_werror_flag"
 
3744
                         || test ! -s conftest.err'
 
3745
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3746
  (eval $ac_try) 2>&5
 
3747
  ac_status=$?
 
3748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3749
  (exit $ac_status); }; } &&
 
3750
         { ac_try='test -s conftest.$ac_objext'
3602
3751
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3603
3752
  (eval $ac_try) 2>&5
3604
3753
  ac_status=$?
3611
3760
 
3612
3761
ac_header_compiler=no
3613
3762
fi
3614
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3763
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3615
3764
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3616
3765
echo "${ECHO_T}$ac_header_compiler" >&6
3617
3766
 
3619
3768
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3620
3769
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3621
3770
cat >conftest.$ac_ext <<_ACEOF
3622
 
#line $LINENO "configure"
3623
3771
/* confdefs.h.  */
3624
3772
_ACEOF
3625
3773
cat confdefs.h >>conftest.$ac_ext
3637
3785
  (exit $ac_status); } >/dev/null; then
3638
3786
  if test -s conftest.err; then
3639
3787
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3788
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3640
3789
  else
3641
3790
    ac_cpp_err=
3642
3791
  fi
3656
3805
echo "${ECHO_T}$ac_header_preproc" >&6
3657
3806
 
3658
3807
# So?  What about this header?
3659
 
case $ac_header_compiler:$ac_header_preproc in
3660
 
  yes:no )
 
3808
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
3809
  yes:no: )
3661
3810
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3662
3811
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3663
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3664
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3665
 
    (
3666
 
      cat <<\_ASBOX
3667
 
## ------------------------------------ ##
3668
 
## Report this to bug-autoconf@gnu.org. ##
3669
 
## ------------------------------------ ##
3670
 
_ASBOX
3671
 
    ) |
3672
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
3812
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
3813
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
3814
    ac_header_preproc=yes
3673
3815
    ;;
3674
 
  no:yes )
 
3816
  no:yes:* )
3675
3817
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3676
3818
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3677
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3678
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
3819
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
3820
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
3821
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
3822
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
3823
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
3824
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3679
3825
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3680
3826
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3827
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
3828
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3681
3829
    (
3682
3830
      cat <<\_ASBOX
3683
 
## ------------------------------------ ##
3684
 
## Report this to bug-autoconf@gnu.org. ##
3685
 
## ------------------------------------ ##
 
3831
## ------------------------------------------ ##
 
3832
## Report this to the AC_PACKAGE_NAME lists.  ##
 
3833
## ------------------------------------------ ##
3686
3834
_ASBOX
3687
3835
    ) |
3688
3836
      sed "s/^/$as_me: WARNING:     /" >&2
3693
3841
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3694
3842
  echo $ECHO_N "(cached) $ECHO_C" >&6
3695
3843
else
3696
 
  eval "$as_ac_Header=$ac_header_preproc"
 
3844
  eval "$as_ac_Header=\$ac_header_preproc"
3697
3845
fi
3698
3846
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3699
3847
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3714
3862
  echo $ECHO_N "(cached) $ECHO_C" >&6
3715
3863
else
3716
3864
  cat >conftest.$ac_ext <<_ACEOF
3717
 
#line $LINENO "configure"
3718
3865
/* confdefs.h.  */
3719
3866
_ACEOF
3720
3867
cat confdefs.h >>conftest.$ac_ext
3741
3888
_ACEOF
3742
3889
rm -f conftest.$ac_objext
3743
3890
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3744
 
  (eval $ac_compile) 2>&5
 
3891
  (eval $ac_compile) 2>conftest.er1
3745
3892
  ac_status=$?
 
3893
  grep -v '^ *+' conftest.er1 >conftest.err
 
3894
  rm -f conftest.er1
 
3895
  cat conftest.err >&5
3746
3896
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747
3897
  (exit $ac_status); } &&
3748
 
         { ac_try='test -s conftest.$ac_objext'
 
3898
         { ac_try='test -z "$ac_c_werror_flag"
 
3899
                         || test ! -s conftest.err'
 
3900
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3901
  (eval $ac_try) 2>&5
 
3902
  ac_status=$?
 
3903
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3904
  (exit $ac_status); }; } &&
 
3905
         { ac_try='test -s conftest.$ac_objext'
3749
3906
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3750
3907
  (eval $ac_try) 2>&5
3751
3908
  ac_status=$?
3758
3915
 
3759
3916
ac_cv_header_sys_wait_h=no
3760
3917
fi
3761
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3918
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3762
3919
fi
3763
3920
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
3764
3921
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
3776
3933
  echo $ECHO_N "(cached) $ECHO_C" >&6
3777
3934
else
3778
3935
  cat >conftest.$ac_ext <<_ACEOF
3779
 
#line $LINENO "configure"
3780
3936
/* confdefs.h.  */
3781
3937
_ACEOF
3782
3938
cat confdefs.h >>conftest.$ac_ext
3797
3953
_ACEOF
3798
3954
rm -f conftest.$ac_objext
3799
3955
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3800
 
  (eval $ac_compile) 2>&5
 
3956
  (eval $ac_compile) 2>conftest.er1
3801
3957
  ac_status=$?
 
3958
  grep -v '^ *+' conftest.er1 >conftest.err
 
3959
  rm -f conftest.er1
 
3960
  cat conftest.err >&5
3802
3961
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803
3962
  (exit $ac_status); } &&
3804
 
         { ac_try='test -s conftest.$ac_objext'
 
3963
         { ac_try='test -z "$ac_c_werror_flag"
 
3964
                         || test ! -s conftest.err'
 
3965
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3966
  (eval $ac_try) 2>&5
 
3967
  ac_status=$?
 
3968
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3969
  (exit $ac_status); }; } &&
 
3970
         { ac_try='test -s conftest.$ac_objext'
3805
3971
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806
3972
  (eval $ac_try) 2>&5
3807
3973
  ac_status=$?
3814
3980
 
3815
3981
ac_cv_header_time=no
3816
3982
fi
3817
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3983
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3818
3984
fi
3819
3985
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3820
3986
echo "${ECHO_T}$ac_cv_header_time" >&6
3833
3999
  echo $ECHO_N "(cached) $ECHO_C" >&6
3834
4000
else
3835
4001
  cat >conftest.$ac_ext <<_ACEOF
3836
 
#line $LINENO "configure"
3837
4002
/* confdefs.h.  */
3838
4003
_ACEOF
3839
4004
cat confdefs.h >>conftest.$ac_ext
3896
4061
_ACEOF
3897
4062
rm -f conftest.$ac_objext
3898
4063
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3899
 
  (eval $ac_compile) 2>&5
 
4064
  (eval $ac_compile) 2>conftest.er1
3900
4065
  ac_status=$?
 
4066
  grep -v '^ *+' conftest.er1 >conftest.err
 
4067
  rm -f conftest.er1
 
4068
  cat conftest.err >&5
3901
4069
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3902
4070
  (exit $ac_status); } &&
3903
 
         { ac_try='test -s conftest.$ac_objext'
 
4071
         { ac_try='test -z "$ac_c_werror_flag"
 
4072
                         || test ! -s conftest.err'
 
4073
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4074
  (eval $ac_try) 2>&5
 
4075
  ac_status=$?
 
4076
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4077
  (exit $ac_status); }; } &&
 
4078
         { ac_try='test -s conftest.$ac_objext'
3904
4079
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3905
4080
  (eval $ac_try) 2>&5
3906
4081
  ac_status=$?
3913
4088
 
3914
4089
ac_cv_c_const=no
3915
4090
fi
3916
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4091
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3917
4092
fi
3918
4093
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3919
4094
echo "${ECHO_T}$ac_cv_c_const" >&6
3931
4106
  echo $ECHO_N "(cached) $ECHO_C" >&6
3932
4107
else
3933
4108
  cat >conftest.$ac_ext <<_ACEOF
3934
 
#line $LINENO "configure"
3935
4109
/* confdefs.h.  */
3936
4110
_ACEOF
3937
4111
cat confdefs.h >>conftest.$ac_ext
3951
4125
_ACEOF
3952
4126
rm -f conftest.$ac_objext
3953
4127
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3954
 
  (eval $ac_compile) 2>&5
 
4128
  (eval $ac_compile) 2>conftest.er1
3955
4129
  ac_status=$?
 
4130
  grep -v '^ *+' conftest.er1 >conftest.err
 
4131
  rm -f conftest.er1
 
4132
  cat conftest.err >&5
3956
4133
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957
4134
  (exit $ac_status); } &&
3958
 
         { ac_try='test -s conftest.$ac_objext'
 
4135
         { ac_try='test -z "$ac_c_werror_flag"
 
4136
                         || test ! -s conftest.err'
 
4137
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4138
  (eval $ac_try) 2>&5
 
4139
  ac_status=$?
 
4140
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4141
  (exit $ac_status); }; } &&
 
4142
         { ac_try='test -s conftest.$ac_objext'
3959
4143
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960
4144
  (eval $ac_try) 2>&5
3961
4145
  ac_status=$?
3968
4152
 
3969
4153
ac_cv_type_pid_t=no
3970
4154
fi
3971
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4155
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3972
4156
fi
3973
4157
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
3974
4158
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
3988
4172
  echo $ECHO_N "(cached) $ECHO_C" >&6
3989
4173
else
3990
4174
  cat >conftest.$ac_ext <<_ACEOF
3991
 
#line $LINENO "configure"
3992
4175
/* confdefs.h.  */
3993
4176
_ACEOF
3994
4177
cat confdefs.h >>conftest.$ac_ext
4008
4191
_ACEOF
4009
4192
rm -f conftest.$ac_objext
4010
4193
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4011
 
  (eval $ac_compile) 2>&5
 
4194
  (eval $ac_compile) 2>conftest.er1
4012
4195
  ac_status=$?
 
4196
  grep -v '^ *+' conftest.er1 >conftest.err
 
4197
  rm -f conftest.er1
 
4198
  cat conftest.err >&5
4013
4199
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014
4200
  (exit $ac_status); } &&
4015
 
         { ac_try='test -s conftest.$ac_objext'
 
4201
         { ac_try='test -z "$ac_c_werror_flag"
 
4202
                         || test ! -s conftest.err'
 
4203
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4204
  (eval $ac_try) 2>&5
 
4205
  ac_status=$?
 
4206
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4207
  (exit $ac_status); }; } &&
 
4208
         { ac_try='test -s conftest.$ac_objext'
4016
4209
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4017
4210
  (eval $ac_try) 2>&5
4018
4211
  ac_status=$?
4025
4218
 
4026
4219
ac_cv_type_size_t=no
4027
4220
fi
4028
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4221
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4029
4222
fi
4030
4223
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4031
4224
echo "${ECHO_T}$ac_cv_type_size_t" >&6
4046
4239
  echo $ECHO_N "(cached) $ECHO_C" >&6
4047
4240
else
4048
4241
  cat >conftest.$ac_ext <<_ACEOF
4049
 
#line $LINENO "configure"
4050
4242
/* confdefs.h.  */
4051
4243
_ACEOF
4052
4244
cat confdefs.h >>conftest.$ac_ext
4073
4265
_ACEOF
4074
4266
rm -f conftest.$ac_objext
4075
4267
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4076
 
  (eval $ac_compile) 2>&5
 
4268
  (eval $ac_compile) 2>conftest.er1
4077
4269
  ac_status=$?
 
4270
  grep -v '^ *+' conftest.er1 >conftest.err
 
4271
  rm -f conftest.er1
 
4272
  cat conftest.err >&5
4078
4273
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079
4274
  (exit $ac_status); } &&
4080
 
         { ac_try='test -s conftest.$ac_objext'
 
4275
         { ac_try='test -z "$ac_c_werror_flag"
 
4276
                         || test ! -s conftest.err'
 
4277
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4278
  (eval $ac_try) 2>&5
 
4279
  ac_status=$?
 
4280
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4281
  (exit $ac_status); }; } &&
 
4282
         { ac_try='test -s conftest.$ac_objext'
4081
4283
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4082
4284
  (eval $ac_try) 2>&5
4083
4285
  ac_status=$?
4090
4292
 
4091
4293
ac_cv_type_signal=int
4092
4294
fi
4093
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4295
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4094
4296
fi
4095
4297
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4096
4298
echo "${ECHO_T}$ac_cv_type_signal" >&6
4110
4312
  echo $ECHO_N "(cached) $ECHO_C" >&6
4111
4313
else
4112
4314
  cat >conftest.$ac_ext <<_ACEOF
4113
 
#line $LINENO "configure"
4114
4315
/* confdefs.h.  */
4115
4316
_ACEOF
4116
4317
cat confdefs.h >>conftest.$ac_ext
4117
4318
cat >>conftest.$ac_ext <<_ACEOF
4118
4319
/* end confdefs.h.  */
 
4320
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
4321
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4322
#define $ac_func innocuous_$ac_func
 
4323
 
4119
4324
/* System header to define __stub macros and hopefully few prototypes,
4120
4325
    which can conflict with char $ac_func (); below.
4121
4326
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4122
4327
    <limits.h> exists even on freestanding compilers.  */
 
4328
 
4123
4329
#ifdef __STDC__
4124
4330
# include <limits.h>
4125
4331
#else
4126
4332
# include <assert.h>
4127
4333
#endif
 
4334
 
 
4335
#undef $ac_func
 
4336
 
4128
4337
/* Override any gcc2 internal prototype to avoid an error.  */
4129
4338
#ifdef __cplusplus
4130
4339
extern "C"
4155
4364
_ACEOF
4156
4365
rm -f conftest.$ac_objext conftest$ac_exeext
4157
4366
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4158
 
  (eval $ac_link) 2>&5
 
4367
  (eval $ac_link) 2>conftest.er1
4159
4368
  ac_status=$?
 
4369
  grep -v '^ *+' conftest.er1 >conftest.err
 
4370
  rm -f conftest.er1
 
4371
  cat conftest.err >&5
4160
4372
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161
4373
  (exit $ac_status); } &&
4162
 
         { ac_try='test -s conftest$ac_exeext'
 
4374
         { ac_try='test -z "$ac_c_werror_flag"
 
4375
                         || test ! -s conftest.err'
 
4376
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4377
  (eval $ac_try) 2>&5
 
4378
  ac_status=$?
 
4379
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4380
  (exit $ac_status); }; } &&
 
4381
         { ac_try='test -s conftest$ac_exeext'
4163
4382
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4164
4383
  (eval $ac_try) 2>&5
4165
4384
  ac_status=$?
4172
4391
 
4173
4392
eval "$as_ac_var=no"
4174
4393
fi
4175
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4394
rm -f conftest.err conftest.$ac_objext \
 
4395
      conftest$ac_exeext conftest.$ac_ext
4176
4396
fi
4177
4397
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4178
4398
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4231
4451
      # `set' does not quote correctly, so add quotes (double-quote
4232
4452
      # substitution turns \\\\ into \\, and sed turns \\ into \).
4233
4453
      sed -n \
4234
 
        "s/'/'\\\\''/g;
4235
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
4454
        "s/'/'\\\\''/g;
 
4455
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4236
4456
      ;;
4237
4457
    *)
4238
4458
      # `set' quotes correctly as required by POSIX, so do not add quotes.
4239
4459
      sed -n \
4240
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
4460
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4241
4461
      ;;
4242
4462
    esac;
4243
4463
} |
4267
4487
# trailing colons and then remove the whole line if VPATH becomes empty
4268
4488
# (actually we leave an empty line to preserve line numbers).
4269
4489
if test "x$srcdir" = x.; then
4270
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
4490
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4271
4491
s/:*\$(srcdir):*/:/;
4272
4492
s/:*\${srcdir}:*/:/;
4273
4493
s/:*@srcdir@:*/:/;
4274
 
s/^\([^=]*=[    ]*\):*/\1/;
 
4494
s/^\([^=]*=[     ]*\):*/\1/;
4275
4495
s/:*$//;
4276
 
s/^[^=]*=[      ]*$//;
 
4496
s/^[^=]*=[       ]*$//;
4277
4497
}'
4278
4498
fi
4279
4499
 
4284
4504
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4285
4505
  # 1. Remove the extension, and $U if already installed.
4286
4506
  ac_i=`echo "$ac_i" |
4287
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
4507
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4288
4508
  # 2. Add them.
4289
4509
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4290
4510
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4349
4569
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4350
4570
  set -o posix
4351
4571
fi
 
4572
DUALCASE=1; export DUALCASE # for MKS sh
4352
4573
 
4353
4574
# Support unset when possible.
4354
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
4575
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4355
4576
  as_unset=unset
4356
4577
else
4357
4578
  as_unset=false
4370
4591
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4371
4592
  LC_TELEPHONE LC_TIME
4372
4593
do
4373
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
4594
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4374
4595
    eval $as_var=C; export $as_var
4375
4596
  else
4376
4597
    $as_unset $as_var
4549
4770
if mkdir -p . 2>/dev/null; then
4550
4771
  as_mkdir_p=:
4551
4772
else
 
4773
  test -d ./-p && rmdir ./-p
4552
4774
  as_mkdir_p=false
4553
4775
fi
4554
4776
 
4555
4777
as_executable_p="test -f"
4556
4778
 
4557
4779
# Sed expression to map a string onto a valid CPP name.
4558
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
4780
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4559
4781
 
4560
4782
# Sed expression to map a string onto a valid variable name.
4561
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
4783
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4562
4784
 
4563
4785
 
4564
4786
# IFS
4585
4807
cat >&5 <<_CSEOF
4586
4808
 
4587
4809
This file was extended by $as_me, which was
4588
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
4810
generated by GNU Autoconf 2.59.  Invocation command line was
4589
4811
 
4590
4812
  CONFIG_FILES    = $CONFIG_FILES
4591
4813
  CONFIG_HEADERS  = $CONFIG_HEADERS
4629
4851
  -d, --debug      don't remove temporary files
4630
4852
      --recheck    update $as_me by reconfiguring in the same conditions
4631
4853
  --file=FILE[:TEMPLATE]
4632
 
                   instantiate the configuration file FILE
 
4854
                   instantiate the configuration file FILE
4633
4855
  --header=FILE[:TEMPLATE]
4634
 
                   instantiate the configuration header FILE
 
4856
                   instantiate the configuration header FILE
4635
4857
 
4636
4858
Configuration files:
4637
4859
$config_files
4648
4870
cat >>$CONFIG_STATUS <<_ACEOF
4649
4871
ac_cs_version="\\
4650
4872
config.status
4651
 
configured by $0, generated by GNU Autoconf 2.57,
 
4873
configured by $0, generated by GNU Autoconf 2.59,
4652
4874
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4653
4875
 
4654
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4655
 
Free Software Foundation, Inc.
 
4876
Copyright (C) 2003 Free Software Foundation, Inc.
4656
4877
This config.status script is free software; the Free Software Foundation
4657
4878
gives unlimited permission to copy, distribute and modify it."
4658
4879
srcdir=$srcdir
4863
5084
s,@STRIP@,$STRIP,;t t
4864
5085
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4865
5086
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
5087
s,@mkdir_p@,$mkdir_p,;t t
4866
5088
s,@AWK@,$AWK,;t t
4867
5089
s,@SET_MAKE@,$SET_MAKE,;t t
4868
5090
s,@am__leading_dot@,$am__leading_dot,;t t
4922
5144
      (echo ':t
4923
5145
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4924
5146
      if test -z "$ac_sed_cmds"; then
4925
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
5147
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4926
5148
      else
4927
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
5149
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4928
5150
      fi
4929
5151
      ac_sed_frag=`expr $ac_sed_frag + 1`
4930
5152
      ac_beg=$ac_end
4942
5164
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4943
5165
  case $ac_file in
4944
5166
  - | *:- | *:-:* ) # input from stdin
4945
 
        cat >$tmp/stdin
4946
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4947
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
5167
        cat >$tmp/stdin
 
5168
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
5169
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4948
5170
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4949
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
5171
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4950
5172
  * )   ac_file_in=$ac_file.in ;;
4951
5173
  esac
4952
5174
 
4953
5175
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4954
5176
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4955
5177
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4956
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
4957
 
         X"$ac_file" : 'X\(//\)$' \| \
4958
 
         X"$ac_file" : 'X\(/\)' \| \
4959
 
         .     : '\(.\)' 2>/dev/null ||
 
5178
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
5179
         X"$ac_file" : 'X\(//\)$' \| \
 
5180
         X"$ac_file" : 'X\(/\)' \| \
 
5181
         .     : '\(.\)' 2>/dev/null ||
4960
5182
echo X"$ac_file" |
4961
5183
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4962
5184
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4972
5194
      as_dirs="$as_dir $as_dirs"
4973
5195
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4974
5196
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4975
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4976
 
         X"$as_dir" : 'X\(//\)$' \| \
4977
 
         X"$as_dir" : 'X\(/\)' \| \
4978
 
         .     : '\(.\)' 2>/dev/null ||
 
5197
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5198
         X"$as_dir" : 'X\(//\)$' \| \
 
5199
         X"$as_dir" : 'X\(/\)' \| \
 
5200
         .     : '\(.\)' 2>/dev/null ||
4979
5201
echo X"$as_dir" |
4980
5202
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4981
5203
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5013
5235
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5014
5236
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5015
5237
esac
5016
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5017
 
# absolute.
5018
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5019
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5020
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5021
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
5238
 
 
5239
# Do not use `cd foo && pwd` to compute absolute paths, because
 
5240
# the directories may not exist.
 
5241
case `pwd` in
 
5242
.) ac_abs_builddir="$ac_dir";;
 
5243
*)
 
5244
  case "$ac_dir" in
 
5245
  .) ac_abs_builddir=`pwd`;;
 
5246
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
5247
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
5248
  esac;;
 
5249
esac
 
5250
case $ac_abs_builddir in
 
5251
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5252
*)
 
5253
  case ${ac_top_builddir}. in
 
5254
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
5255
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5256
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
5257
  esac;;
 
5258
esac
 
5259
case $ac_abs_builddir in
 
5260
.) ac_abs_srcdir=$ac_srcdir;;
 
5261
*)
 
5262
  case $ac_srcdir in
 
5263
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
5264
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
5265
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
5266
  esac;;
 
5267
esac
 
5268
case $ac_abs_builddir in
 
5269
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5270
*)
 
5271
  case $ac_top_srcdir in
 
5272
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
5273
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5274
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
5275
  esac;;
 
5276
esac
5022
5277
 
5023
5278
 
5024
5279
  case $INSTALL in
5040
5295
    configure_input="$ac_file.  "
5041
5296
  fi
5042
5297
  configure_input=$configure_input"Generated from `echo $ac_file_in |
5043
 
                                     sed 's,.*/,,'` by configure."
 
5298
                                     sed 's,.*/,,'` by configure."
5044
5299
 
5045
5300
  # First look for the input files in the build tree, otherwise in the
5046
5301
  # src tree.
5049
5304
      case $f in
5050
5305
      -) echo $tmp/stdin ;;
5051
5306
      [\\/$]*)
5052
 
         # Absolute (can't be DOS-style, as IFS=:)
5053
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
5307
         # Absolute (can't be DOS-style, as IFS=:)
 
5308
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5054
5309
echo "$as_me: error: cannot find input file: $f" >&2;}
5055
5310
   { (exit 1); exit 1; }; }
5056
 
         echo $f;;
 
5311
         echo "$f";;
5057
5312
      *) # Relative
5058
 
         if test -f "$f"; then
5059
 
           # Build tree
5060
 
           echo $f
5061
 
         elif test -f "$srcdir/$f"; then
5062
 
           # Source tree
5063
 
           echo $srcdir/$f
5064
 
         else
5065
 
           # /dev/null tree
5066
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
5313
         if test -f "$f"; then
 
5314
           # Build tree
 
5315
           echo "$f"
 
5316
         elif test -f "$srcdir/$f"; then
 
5317
           # Source tree
 
5318
           echo "$srcdir/$f"
 
5319
         else
 
5320
           # /dev/null tree
 
5321
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5067
5322
echo "$as_me: error: cannot find input file: $f" >&2;}
5068
5323
   { (exit 1); exit 1; }; }
5069
 
         fi;;
 
5324
         fi;;
5070
5325
      esac
5071
5326
    done` || { (exit 1); exit 1; }
5072
5327
_ACEOF
5108
5363
# NAME is the cpp macro being defined and VALUE is the value it is being given.
5109
5364
#
5110
5365
# ac_d sets the value in "#define NAME VALUE" lines.
5111
 
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
5112
 
ac_dB='[        ].*$,\1#\2'
 
5366
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
 
5367
ac_dB='[         ].*$,\1#\2'
5113
5368
ac_dC=' '
5114
5369
ac_dD=',;t'
5115
5370
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5116
 
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
5371
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
5117
5372
ac_uB='$,\1#\2define\3'
5118
5373
ac_uC=' '
5119
5374
ac_uD=',;t'
5122
5377
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5123
5378
  case $ac_file in
5124
5379
  - | *:- | *:-:* ) # input from stdin
5125
 
        cat >$tmp/stdin
5126
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5127
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
5380
        cat >$tmp/stdin
 
5381
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
5382
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5128
5383
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5129
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
5384
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5130
5385
  * )   ac_file_in=$ac_file.in ;;
5131
5386
  esac
5132
5387
 
5140
5395
      case $f in
5141
5396
      -) echo $tmp/stdin ;;
5142
5397
      [\\/$]*)
5143
 
         # Absolute (can't be DOS-style, as IFS=:)
5144
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
5398
         # Absolute (can't be DOS-style, as IFS=:)
 
5399
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5145
5400
echo "$as_me: error: cannot find input file: $f" >&2;}
5146
5401
   { (exit 1); exit 1; }; }
5147
 
         echo $f;;
 
5402
         # Do quote $f, to prevent DOS paths from being IFS'd.
 
5403
         echo "$f";;
5148
5404
      *) # Relative
5149
 
         if test -f "$f"; then
5150
 
           # Build tree
5151
 
           echo $f
5152
 
         elif test -f "$srcdir/$f"; then
5153
 
           # Source tree
5154
 
           echo $srcdir/$f
5155
 
         else
5156
 
           # /dev/null tree
5157
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
5405
         if test -f "$f"; then
 
5406
           # Build tree
 
5407
           echo "$f"
 
5408
         elif test -f "$srcdir/$f"; then
 
5409
           # Source tree
 
5410
           echo "$srcdir/$f"
 
5411
         else
 
5412
           # /dev/null tree
 
5413
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5158
5414
echo "$as_me: error: cannot find input file: $f" >&2;}
5159
5415
   { (exit 1); exit 1; }; }
5160
 
         fi;;
 
5416
         fi;;
5161
5417
      esac
5162
5418
    done` || { (exit 1); exit 1; }
5163
5419
  # Remove the trailing spaces.
5164
 
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
 
5420
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
5165
5421
 
5166
5422
_ACEOF
5167
5423
 
5184
5440
s,[\\$`],\\&,g
5185
5441
t clear
5186
5442
: clear
5187
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
5443
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5188
5444
t end
5189
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
5445
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5190
5446
: end
5191
5447
_ACEOF
5192
5448
# If some macros were called several times there might be several times
5200
5456
# example, in the case of _POSIX_SOURCE, which is predefined and required
5201
5457
# on some systems where configure will not decide to define it.
5202
5458
cat >>conftest.undefs <<\_ACEOF
5203
 
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
5459
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5204
5460
_ACEOF
5205
5461
 
5206
5462
# Break up conftest.defines because some shells have a limit on the size
5207
5463
# of here documents, and old seds have small limits too (100 cmds).
5208
5464
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5209
 
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
5465
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5210
5466
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5211
5467
echo '  :' >>$CONFIG_STATUS
5212
5468
rm -f conftest.tail
5215
5471
  # Write a limited-size here document to $tmp/defines.sed.
5216
5472
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5217
5473
  # Speed up: don't consider the non `#define' lines.
5218
 
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
5474
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
5219
5475
  # Work around the forget-to-reset-the-flag bug.
5220
5476
  echo 't clr' >>$CONFIG_STATUS
5221
5477
  echo ': clr' >>$CONFIG_STATUS
5242
5498
  # Write a limited-size here document to $tmp/undefs.sed.
5243
5499
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5244
5500
  # Speed up: don't consider the non `#undef'
5245
 
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
5501
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
5246
5502
  # Work around the forget-to-reset-the-flag bug.
5247
5503
  echo 't clr' >>$CONFIG_STATUS
5248
5504
  echo ': clr' >>$CONFIG_STATUS
5276
5532
    else
5277
5533
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5278
5534
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5279
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
5280
 
         X"$ac_file" : 'X\(//\)$' \| \
5281
 
         X"$ac_file" : 'X\(/\)' \| \
5282
 
         .     : '\(.\)' 2>/dev/null ||
 
5535
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
5536
         X"$ac_file" : 'X\(//\)$' \| \
 
5537
         X"$ac_file" : 'X\(/\)' \| \
 
5538
         .     : '\(.\)' 2>/dev/null ||
5283
5539
echo X"$ac_file" |
5284
5540
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5285
5541
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5295
5551
      as_dirs="$as_dir $as_dirs"
5296
5552
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5297
5553
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5298
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5299
 
         X"$as_dir" : 'X\(//\)$' \| \
5300
 
         X"$as_dir" : 'X\(/\)' \| \
5301
 
         .     : '\(.\)' 2>/dev/null ||
 
5554
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5555
         X"$as_dir" : 'X\(//\)$' \| \
 
5556
         X"$as_dir" : 'X\(/\)' \| \
 
5557
         .     : '\(.\)' 2>/dev/null ||
5302
5558
echo X"$as_dir" |
5303
5559
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5304
5560
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5330
5586
done
5331
5587
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5332
5588
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5333
 
         X$ac_file : 'X\(//\)[^/]' \| \
5334
 
         X$ac_file : 'X\(//\)$' \| \
5335
 
         X$ac_file : 'X\(/\)' \| \
5336
 
         .     : '\(.\)' 2>/dev/null ||
 
5589
         X$ac_file : 'X\(//\)[^/]' \| \
 
5590
         X$ac_file : 'X\(//\)$' \| \
 
5591
         X$ac_file : 'X\(/\)' \| \
 
5592
         .     : '\(.\)' 2>/dev/null ||
5337
5593
echo X$ac_file |
5338
5594
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5339
5595
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5352
5608
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5353
5609
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5354
5610
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5355
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
5356
 
         X"$ac_dest" : 'X\(//\)$' \| \
5357
 
         X"$ac_dest" : 'X\(/\)' \| \
5358
 
         .     : '\(.\)' 2>/dev/null ||
 
5611
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
5612
         X"$ac_dest" : 'X\(//\)$' \| \
 
5613
         X"$ac_dest" : 'X\(/\)' \| \
 
5614
         .     : '\(.\)' 2>/dev/null ||
5359
5615
echo X"$ac_dest" |
5360
5616
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5361
5617
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5362
5618
          /^X\(\/\/\)$/{ s//\1/; q; }
5363
5619
          /^X\(\/\).*/{ s//\1/; q; }
5364
5620
          s/.*/./; q'`
 
5621
  { if $as_mkdir_p; then
 
5622
    mkdir -p "$ac_dir"
 
5623
  else
 
5624
    as_dir="$ac_dir"
 
5625
    as_dirs=
 
5626
    while test ! -d "$as_dir"; do
 
5627
      as_dirs="$as_dir $as_dirs"
 
5628
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
5629
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5630
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5631
         X"$as_dir" : 'X\(//\)$' \| \
 
5632
         X"$as_dir" : 'X\(/\)' \| \
 
5633
         .     : '\(.\)' 2>/dev/null ||
 
5634
echo X"$as_dir" |
 
5635
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
5636
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
5637
          /^X\(\/\/\)$/{ s//\1/; q; }
 
5638
          /^X\(\/\).*/{ s//\1/; q; }
 
5639
          s/.*/./; q'`
 
5640
    done
 
5641
    test ! -n "$as_dirs" || mkdir $as_dirs
 
5642
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
5643
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
5644
   { (exit 1); exit 1; }; }; }
 
5645
 
5365
5646
  ac_builddir=.
5366
5647
 
5367
5648
if test "$ac_dir" != .; then
5387
5668
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5388
5669
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5389
5670
esac
5390
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5391
 
# absolute.
5392
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5393
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5394
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5395
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
5671
 
 
5672
# Do not use `cd foo && pwd` to compute absolute paths, because
 
5673
# the directories may not exist.
 
5674
case `pwd` in
 
5675
.) ac_abs_builddir="$ac_dir";;
 
5676
*)
 
5677
  case "$ac_dir" in
 
5678
  .) ac_abs_builddir=`pwd`;;
 
5679
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
5680
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
5681
  esac;;
 
5682
esac
 
5683
case $ac_abs_builddir in
 
5684
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5685
*)
 
5686
  case ${ac_top_builddir}. in
 
5687
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
5688
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5689
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
5690
  esac;;
 
5691
esac
 
5692
case $ac_abs_builddir in
 
5693
.) ac_abs_srcdir=$ac_srcdir;;
 
5694
*)
 
5695
  case $ac_srcdir in
 
5696
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
5697
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
5698
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
5699
  esac;;
 
5700
esac
 
5701
case $ac_abs_builddir in
 
5702
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5703
*)
 
5704
  case $ac_top_srcdir in
 
5705
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
5706
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5707
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
5708
  esac;;
 
5709
esac
5396
5710
 
5397
5711
 
5398
5712
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5410
5724
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5411
5725
    dirpart=`(dirname "$mf") 2>/dev/null ||
5412
5726
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5413
 
         X"$mf" : 'X\(//\)[^/]' \| \
5414
 
         X"$mf" : 'X\(//\)$' \| \
5415
 
         X"$mf" : 'X\(/\)' \| \
5416
 
         .     : '\(.\)' 2>/dev/null ||
 
5727
         X"$mf" : 'X\(//\)[^/]' \| \
 
5728
         X"$mf" : 'X\(//\)$' \| \
 
5729
         X"$mf" : 'X\(/\)' \| \
 
5730
         .     : '\(.\)' 2>/dev/null ||
5417
5731
echo X"$mf" |
5418
5732
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5419
5733
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5426
5740
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5427
5741
  # Extract the definition of DEP_FILES from the Makefile without
5428
5742
  # running `make'.
5429
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
5743
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5430
5744
  test -z "$DEPDIR" && continue
5431
5745
  # When using ansi2knr, U may be empty or an underscore; expand it
5432
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
 
5746
  U=`sed -n 's/^U = //p' < "$mf"`
5433
5747
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5434
5748
  # We invoke sed twice because it is the simplest approach to
5435
5749
  # changing $(DEPDIR) to its actual value in the expansion.
5436
 
  for file in `sed -n -e '
 
5750
  for file in `sed -n '
5437
5751
    /^DEP_FILES = .*\\\\$/ {
5438
5752
      s/^DEP_FILES = //
5439
5753
      :loop
5449
5763
    test -f "$dirpart/$file" && continue
5450
5764
    fdir=`(dirname "$file") 2>/dev/null ||
5451
5765
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5452
 
         X"$file" : 'X\(//\)[^/]' \| \
5453
 
         X"$file" : 'X\(//\)$' \| \
5454
 
         X"$file" : 'X\(/\)' \| \
5455
 
         .     : '\(.\)' 2>/dev/null ||
 
5766
         X"$file" : 'X\(//\)[^/]' \| \
 
5767
         X"$file" : 'X\(//\)$' \| \
 
5768
         X"$file" : 'X\(/\)' \| \
 
5769
         .     : '\(.\)' 2>/dev/null ||
5456
5770
echo X"$file" |
5457
5771
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5458
5772
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5468
5782
      as_dirs="$as_dir $as_dirs"
5469
5783
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5470
5784
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5471
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5472
 
         X"$as_dir" : 'X\(//\)$' \| \
5473
 
         X"$as_dir" : 'X\(/\)' \| \
5474
 
         .     : '\(.\)' 2>/dev/null ||
 
5785
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5786
         X"$as_dir" : 'X\(//\)$' \| \
 
5787
         X"$as_dir" : 'X\(/\)' \| \
 
5788
         .     : '\(.\)' 2>/dev/null ||
5475
5789
echo X"$as_dir" |
5476
5790
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5477
5791
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }