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

« back to all changes in this revision

Viewing changes to libhmac/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 LN_S RANLIB ac_ct_RANLIB 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 hashlibs TESTPROGS 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 LN_S RANLIB ac_ct_RANLIB 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 hashlibs TESTPROGS 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.
1263
1296
 
1264
1297
 
1265
1298
 
1266
 
am__api_version="1.7"
 
1299
am__api_version="1.8"
1267
1300
ac_aux_dir=
1268
1301
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1269
1302
  if test -f $ac_dir/install-sh; then
1300
1333
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1301
1334
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1302
1335
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1336
# OS/2's system install, which has a completely different semantic
1303
1337
# ./install, which can be erroneously created by make from ./install.sh.
1304
1338
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1305
1339
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1316
1350
case $as_dir/ in
1317
1351
  ./ | .// | /cC/* | \
1318
1352
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1353
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1319
1354
  /usr/ucb/* ) ;;
1320
1355
  *)
1321
1356
    # OSF1 and SCO ODT 3.0 have their own names for install.
1323
1358
    # by default.
1324
1359
    for ac_prog in ginstall scoinst install; do
1325
1360
      for ac_exec_ext in '' $ac_executable_extensions; do
1326
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1327
 
          if test $ac_prog = install &&
1328
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1329
 
            # AIX install.  It has an incompatible calling convention.
1330
 
            :
1331
 
          elif test $ac_prog = install &&
1332
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1333
 
            # program-specific install script used by HP pwplus--don't use.
1334
 
            :
1335
 
          else
1336
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1337
 
            break 3
1338
 
          fi
1339
 
        fi
 
1361
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1362
          if test $ac_prog = install &&
 
1363
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1364
            # AIX install.  It has an incompatible calling convention.
 
1365
            :
 
1366
          elif test $ac_prog = install &&
 
1367
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1368
            # program-specific install script used by HP pwplus--don't use.
 
1369
            :
 
1370
          else
 
1371
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1372
            break 3
 
1373
          fi
 
1374
        fi
1340
1375
      done
1341
1376
    done
1342
1377
    ;;
1424
1459
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1425
1460
rm conftest.sed
1426
1461
 
1427
 
 
1428
1462
# expand $ac_aux_dir to an absolute path
1429
1463
am_aux_dir=`cd $ac_aux_dir && pwd`
1430
1464
 
1438
1472
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1439
1473
fi
1440
1474
 
 
1475
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1476
  # Keeping the `.' argument allows $(mkdir_p) to be used without
 
1477
  # argument.  Indeed, we sometimes output rules like
 
1478
  #   $(mkdir_p) $(somedir)
 
1479
  # where $(somedir) is conditionally defined.
 
1480
  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
 
1481
  # expensive solution, as it forces Make to start a sub-shell.)
 
1482
  mkdir_p='mkdir -p -- .'
 
1483
else
 
1484
  # On NextStep and OpenStep, the `mkdir' command does not
 
1485
  # recognize any option.  It will interpret all options as
 
1486
  # directories to create, and then abort because `.' already
 
1487
  # exists.
 
1488
  for d in ./-p ./--version;
 
1489
  do
 
1490
    test -d $d && rmdir $d
 
1491
  done
 
1492
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1493
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1494
    mkdir_p='$(mkinstalldirs)'
 
1495
  else
 
1496
    mkdir_p='$(install_sh) -d'
 
1497
  fi
 
1498
fi
 
1499
 
1441
1500
for ac_prog in gawk mawk nawk awk
1442
1501
do
1443
1502
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1480
1539
 
1481
1540
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1482
1541
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1483
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1542
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1484
1543
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1485
1544
  echo $ECHO_N "(cached) $ECHO_C" >&6
1486
1545
else
1516
1575
fi
1517
1576
rmdir .tst 2>/dev/null
1518
1577
 
1519
 
 # test to see if srcdir already configured
 
1578
# test to see if srcdir already configured
1520
1579
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1521
1580
   test -f $srcdir/config.status; then
1522
1581
  { { 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
    ;;
2201
2262
  (exit $ac_status); }
2202
2263
 
2203
2264
cat >conftest.$ac_ext <<_ACEOF
2204
 
#line $LINENO "configure"
2205
2265
/* confdefs.h.  */
2206
2266
_ACEOF
2207
2267
cat confdefs.h >>conftest.$ac_ext
2221
2281
# Try to create an executable without -o first, disregard a.out.
2222
2282
# It will help us diagnose broken compilers, and finding out an intuition
2223
2283
# of exeext.
2224
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2225
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
2284
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2285
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2226
2286
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2227
2287
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2228
2288
  (eval $ac_link_default) 2>&5
2242
2302
  test -f "$ac_file" || continue
2243
2303
  case $ac_file in
2244
2304
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2245
 
        ;;
 
2305
        ;;
2246
2306
    conftest.$ac_ext )
2247
 
        # This is the source file.
2248
 
        ;;
 
2307
        # This is the source file.
 
2308
        ;;
2249
2309
    [ab].out )
2250
 
        # We found the default executable, but exeext='' is most
2251
 
        # certainly right.
2252
 
        break;;
 
2310
        # We found the default executable, but exeext='' is most
 
2311
        # certainly right.
 
2312
        break;;
2253
2313
    *.* )
2254
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2255
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2256
 
        # but it would be cool to find out if it's true.  Does anybody
2257
 
        # maintain Libtool? --akim.
2258
 
        export ac_cv_exeext
2259
 
        break;;
 
2314
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2315
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2316
        # but it would be cool to find out if it's true.  Does anybody
 
2317
        # maintain Libtool? --akim.
 
2318
        export ac_cv_exeext
 
2319
        break;;
2260
2320
    * )
2261
 
        break;;
 
2321
        break;;
2262
2322
  esac
2263
2323
done
2264
2324
else
2332
2392
  case $ac_file in
2333
2393
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2334
2394
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2335
 
          export ac_cv_exeext
2336
 
          break;;
 
2395
          export ac_cv_exeext
 
2396
          break;;
2337
2397
    * ) break;;
2338
2398
  esac
2339
2399
done
2358
2418
  echo $ECHO_N "(cached) $ECHO_C" >&6
2359
2419
else
2360
2420
  cat >conftest.$ac_ext <<_ACEOF
2361
 
#line $LINENO "configure"
2362
2421
/* confdefs.h.  */
2363
2422
_ACEOF
2364
2423
cat confdefs.h >>conftest.$ac_ext
2409
2468
  echo $ECHO_N "(cached) $ECHO_C" >&6
2410
2469
else
2411
2470
  cat >conftest.$ac_ext <<_ACEOF
2412
 
#line $LINENO "configure"
2413
2471
/* confdefs.h.  */
2414
2472
_ACEOF
2415
2473
cat confdefs.h >>conftest.$ac_ext
2429
2487
_ACEOF
2430
2488
rm -f conftest.$ac_objext
2431
2489
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2432
 
  (eval $ac_compile) 2>&5
 
2490
  (eval $ac_compile) 2>conftest.er1
2433
2491
  ac_status=$?
 
2492
  grep -v '^ *+' conftest.er1 >conftest.err
 
2493
  rm -f conftest.er1
 
2494
  cat conftest.err >&5
2434
2495
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435
2496
  (exit $ac_status); } &&
2436
 
         { ac_try='test -s conftest.$ac_objext'
 
2497
         { ac_try='test -z "$ac_c_werror_flag"
 
2498
                         || test ! -s conftest.err'
 
2499
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2500
  (eval $ac_try) 2>&5
 
2501
  ac_status=$?
 
2502
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2503
  (exit $ac_status); }; } &&
 
2504
         { ac_try='test -s conftest.$ac_objext'
2437
2505
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2438
2506
  (eval $ac_try) 2>&5
2439
2507
  ac_status=$?
2446
2514
 
2447
2515
ac_compiler_gnu=no
2448
2516
fi
2449
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2517
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2450
2518
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2451
2519
 
2452
2520
fi
2462
2530
  echo $ECHO_N "(cached) $ECHO_C" >&6
2463
2531
else
2464
2532
  cat >conftest.$ac_ext <<_ACEOF
2465
 
#line $LINENO "configure"
2466
2533
/* confdefs.h.  */
2467
2534
_ACEOF
2468
2535
cat confdefs.h >>conftest.$ac_ext
2479
2546
_ACEOF
2480
2547
rm -f conftest.$ac_objext
2481
2548
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2482
 
  (eval $ac_compile) 2>&5
 
2549
  (eval $ac_compile) 2>conftest.er1
2483
2550
  ac_status=$?
 
2551
  grep -v '^ *+' conftest.er1 >conftest.err
 
2552
  rm -f conftest.er1
 
2553
  cat conftest.err >&5
2484
2554
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485
2555
  (exit $ac_status); } &&
2486
 
         { ac_try='test -s conftest.$ac_objext'
 
2556
         { ac_try='test -z "$ac_c_werror_flag"
 
2557
                         || test ! -s conftest.err'
 
2558
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2559
  (eval $ac_try) 2>&5
 
2560
  ac_status=$?
 
2561
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2562
  (exit $ac_status); }; } &&
 
2563
         { ac_try='test -s conftest.$ac_objext'
2487
2564
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2488
2565
  (eval $ac_try) 2>&5
2489
2566
  ac_status=$?
2496
2573
 
2497
2574
ac_cv_prog_cc_g=no
2498
2575
fi
2499
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2576
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2500
2577
fi
2501
2578
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2502
2579
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2523
2600
  ac_cv_prog_cc_stdc=no
2524
2601
ac_save_CC=$CC
2525
2602
cat >conftest.$ac_ext <<_ACEOF
2526
 
#line $LINENO "configure"
2527
2603
/* confdefs.h.  */
2528
2604
_ACEOF
2529
2605
cat confdefs.h >>conftest.$ac_ext
2551
2627
  va_end (v);
2552
2628
  return s;
2553
2629
}
 
2630
 
 
2631
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2632
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2633
   These don't provoke an error unfortunately, instead are silently treated
 
2634
   as 'x'.  The following induces an error, until -std1 is added to get
 
2635
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2636
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2637
   that's true only with -std1.  */
 
2638
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2639
 
2554
2640
int test (int i, double x);
2555
2641
struct s1 {int (*f) (int a);};
2556
2642
struct s2 {int (*f) (double a);};
2577
2663
  CC="$ac_save_CC $ac_arg"
2578
2664
  rm -f conftest.$ac_objext
2579
2665
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2580
 
  (eval $ac_compile) 2>&5
 
2666
  (eval $ac_compile) 2>conftest.er1
2581
2667
  ac_status=$?
 
2668
  grep -v '^ *+' conftest.er1 >conftest.err
 
2669
  rm -f conftest.er1
 
2670
  cat conftest.err >&5
2582
2671
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583
2672
  (exit $ac_status); } &&
2584
 
         { ac_try='test -s conftest.$ac_objext'
 
2673
         { ac_try='test -z "$ac_c_werror_flag"
 
2674
                         || test ! -s conftest.err'
 
2675
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2676
  (eval $ac_try) 2>&5
 
2677
  ac_status=$?
 
2678
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2679
  (exit $ac_status); }; } &&
 
2680
         { ac_try='test -s conftest.$ac_objext'
2585
2681
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586
2682
  (eval $ac_try) 2>&5
2587
2683
  ac_status=$?
2594
2690
sed 's/^/| /' conftest.$ac_ext >&5
2595
2691
 
2596
2692
fi
2597
 
rm -f conftest.$ac_objext
 
2693
rm -f conftest.err conftest.$ac_objext
2598
2694
done
2599
2695
rm -f conftest.$ac_ext conftest.$ac_objext
2600
2696
CC=$ac_save_CC
2622
2718
_ACEOF
2623
2719
rm -f conftest.$ac_objext
2624
2720
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2625
 
  (eval $ac_compile) 2>&5
 
2721
  (eval $ac_compile) 2>conftest.er1
2626
2722
  ac_status=$?
 
2723
  grep -v '^ *+' conftest.er1 >conftest.err
 
2724
  rm -f conftest.er1
 
2725
  cat conftest.err >&5
2627
2726
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628
2727
  (exit $ac_status); } &&
2629
 
         { 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'
2630
2736
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631
2737
  (eval $ac_try) 2>&5
2632
2738
  ac_status=$?
2633
2739
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634
2740
  (exit $ac_status); }; }; then
2635
2741
  for ac_declaration in \
2636
 
   ''\
2637
 
   '#include <stdlib.h>' \
 
2742
   '' \
2638
2743
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2639
2744
   'extern "C" void std::exit (int); using std::exit;' \
2640
2745
   'extern "C" void exit (int) throw ();' \
2642
2747
   'void exit (int);'
2643
2748
do
2644
2749
  cat >conftest.$ac_ext <<_ACEOF
2645
 
#line $LINENO "configure"
2646
2750
/* confdefs.h.  */
2647
2751
_ACEOF
2648
2752
cat confdefs.h >>conftest.$ac_ext
2649
2753
cat >>conftest.$ac_ext <<_ACEOF
2650
2754
/* end confdefs.h.  */
 
2755
$ac_declaration
2651
2756
#include <stdlib.h>
2652
 
$ac_declaration
2653
2757
int
2654
2758
main ()
2655
2759
{
2660
2764
_ACEOF
2661
2765
rm -f conftest.$ac_objext
2662
2766
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2663
 
  (eval $ac_compile) 2>&5
 
2767
  (eval $ac_compile) 2>conftest.er1
2664
2768
  ac_status=$?
 
2769
  grep -v '^ *+' conftest.er1 >conftest.err
 
2770
  rm -f conftest.er1
 
2771
  cat conftest.err >&5
2665
2772
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666
2773
  (exit $ac_status); } &&
2667
 
         { ac_try='test -s conftest.$ac_objext'
 
2774
         { ac_try='test -z "$ac_c_werror_flag"
 
2775
                         || test ! -s conftest.err'
 
2776
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2777
  (eval $ac_try) 2>&5
 
2778
  ac_status=$?
 
2779
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2780
  (exit $ac_status); }; } &&
 
2781
         { ac_try='test -s conftest.$ac_objext'
2668
2782
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2669
2783
  (eval $ac_try) 2>&5
2670
2784
  ac_status=$?
2677
2791
 
2678
2792
continue
2679
2793
fi
2680
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2794
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2681
2795
  cat >conftest.$ac_ext <<_ACEOF
2682
 
#line $LINENO "configure"
2683
2796
/* confdefs.h.  */
2684
2797
_ACEOF
2685
2798
cat confdefs.h >>conftest.$ac_ext
2696
2809
_ACEOF
2697
2810
rm -f conftest.$ac_objext
2698
2811
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2699
 
  (eval $ac_compile) 2>&5
 
2812
  (eval $ac_compile) 2>conftest.er1
2700
2813
  ac_status=$?
 
2814
  grep -v '^ *+' conftest.er1 >conftest.err
 
2815
  rm -f conftest.er1
 
2816
  cat conftest.err >&5
2701
2817
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702
2818
  (exit $ac_status); } &&
2703
 
         { ac_try='test -s conftest.$ac_objext'
 
2819
         { ac_try='test -z "$ac_c_werror_flag"
 
2820
                         || test ! -s conftest.err'
 
2821
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2822
  (eval $ac_try) 2>&5
 
2823
  ac_status=$?
 
2824
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2825
  (exit $ac_status); }; } &&
 
2826
         { ac_try='test -s conftest.$ac_objext'
2704
2827
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2705
2828
  (eval $ac_try) 2>&5
2706
2829
  ac_status=$?
2712
2835
sed 's/^/| /' conftest.$ac_ext >&5
2713
2836
 
2714
2837
fi
2715
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2838
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2716
2839
done
2717
2840
rm -f conftest*
2718
2841
if test -n "$ac_declaration"; then
2726
2849
sed 's/^/| /' conftest.$ac_ext >&5
2727
2850
 
2728
2851
fi
2729
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2852
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2730
2853
ac_ext=c
2731
2854
ac_cpp='$CPP $CPPFLAGS'
2732
2855
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2839
2962
    : > sub/conftest.c
2840
2963
    for i in 1 2 3 4 5 6; do
2841
2964
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2842
 
      : > sub/conftst$i.h
 
2965
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
2966
      # Solaris 8's {/usr,}/bin/sh.
 
2967
      touch sub/conftst$i.h
2843
2968
    done
2844
2969
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2845
2970
 
2938
3063
  # On the NeXT, cc -E runs the code through the compiler's parser,
2939
3064
  # not just through cpp. "Syntax error" is here to catch this case.
2940
3065
  cat >conftest.$ac_ext <<_ACEOF
2941
 
#line $LINENO "configure"
2942
3066
/* confdefs.h.  */
2943
3067
_ACEOF
2944
3068
cat confdefs.h >>conftest.$ac_ext
2949
3073
#else
2950
3074
# include <assert.h>
2951
3075
#endif
2952
 
                     Syntax error
 
3076
                     Syntax error
2953
3077
_ACEOF
2954
3078
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2955
3079
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2961
3085
  (exit $ac_status); } >/dev/null; then
2962
3086
  if test -s conftest.err; then
2963
3087
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3088
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2964
3089
  else
2965
3090
    ac_cpp_err=
2966
3091
  fi
2981
3106
  # OK, works on sane cases.  Now check whether non-existent headers
2982
3107
  # can be detected and how.
2983
3108
  cat >conftest.$ac_ext <<_ACEOF
2984
 
#line $LINENO "configure"
2985
3109
/* confdefs.h.  */
2986
3110
_ACEOF
2987
3111
cat confdefs.h >>conftest.$ac_ext
2999
3123
  (exit $ac_status); } >/dev/null; then
3000
3124
  if test -s conftest.err; then
3001
3125
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3126
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3002
3127
  else
3003
3128
    ac_cpp_err=
3004
3129
  fi
3045
3170
  # On the NeXT, cc -E runs the code through the compiler's parser,
3046
3171
  # not just through cpp. "Syntax error" is here to catch this case.
3047
3172
  cat >conftest.$ac_ext <<_ACEOF
3048
 
#line $LINENO "configure"
3049
3173
/* confdefs.h.  */
3050
3174
_ACEOF
3051
3175
cat confdefs.h >>conftest.$ac_ext
3056
3180
#else
3057
3181
# include <assert.h>
3058
3182
#endif
3059
 
                     Syntax error
 
3183
                     Syntax error
3060
3184
_ACEOF
3061
3185
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3062
3186
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3068
3192
  (exit $ac_status); } >/dev/null; then
3069
3193
  if test -s conftest.err; then
3070
3194
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3195
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3071
3196
  else
3072
3197
    ac_cpp_err=
3073
3198
  fi
3088
3213
  # OK, works on sane cases.  Now check whether non-existent headers
3089
3214
  # can be detected and how.
3090
3215
  cat >conftest.$ac_ext <<_ACEOF
3091
 
#line $LINENO "configure"
3092
3216
/* confdefs.h.  */
3093
3217
_ACEOF
3094
3218
cat confdefs.h >>conftest.$ac_ext
3106
3230
  (exit $ac_status); } >/dev/null; then
3107
3231
  if test -s conftest.err; then
3108
3232
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3233
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3109
3234
  else
3110
3235
    ac_cpp_err=
3111
3236
  fi
3166
3291
  echo $ECHO_N "(cached) $ECHO_C" >&6
3167
3292
else
3168
3293
  cat >conftest.$ac_ext <<_ACEOF
3169
 
#line $LINENO "configure"
3170
3294
/* confdefs.h.  */
3171
3295
_ACEOF
3172
3296
cat confdefs.h >>conftest.$ac_ext
3187
3311
_ACEOF
3188
3312
rm -f conftest.$ac_objext
3189
3313
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3190
 
  (eval $ac_compile) 2>&5
 
3314
  (eval $ac_compile) 2>conftest.er1
3191
3315
  ac_status=$?
 
3316
  grep -v '^ *+' conftest.er1 >conftest.err
 
3317
  rm -f conftest.er1
 
3318
  cat conftest.err >&5
3192
3319
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193
3320
  (exit $ac_status); } &&
3194
 
         { ac_try='test -s conftest.$ac_objext'
 
3321
         { ac_try='test -z "$ac_c_werror_flag"
 
3322
                         || test ! -s conftest.err'
 
3323
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3324
  (eval $ac_try) 2>&5
 
3325
  ac_status=$?
 
3326
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3327
  (exit $ac_status); }; } &&
 
3328
         { ac_try='test -s conftest.$ac_objext'
3195
3329
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196
3330
  (eval $ac_try) 2>&5
3197
3331
  ac_status=$?
3204
3338
 
3205
3339
ac_cv_header_stdc=no
3206
3340
fi
3207
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3341
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3208
3342
 
3209
3343
if test $ac_cv_header_stdc = yes; then
3210
3344
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3211
3345
  cat >conftest.$ac_ext <<_ACEOF
3212
 
#line $LINENO "configure"
3213
3346
/* confdefs.h.  */
3214
3347
_ACEOF
3215
3348
cat confdefs.h >>conftest.$ac_ext
3231
3364
if test $ac_cv_header_stdc = yes; then
3232
3365
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3233
3366
  cat >conftest.$ac_ext <<_ACEOF
3234
 
#line $LINENO "configure"
3235
3367
/* confdefs.h.  */
3236
3368
_ACEOF
3237
3369
cat confdefs.h >>conftest.$ac_ext
3256
3388
  :
3257
3389
else
3258
3390
  cat >conftest.$ac_ext <<_ACEOF
3259
 
#line $LINENO "configure"
3260
3391
/* confdefs.h.  */
3261
3392
_ACEOF
3262
3393
cat confdefs.h >>conftest.$ac_ext
3268
3399
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3269
3400
#else
3270
3401
# define ISLOWER(c) \
3271
 
                   (('a' <= (c) && (c) <= 'i') \
3272
 
                     || ('j' <= (c) && (c) <= 'r') \
3273
 
                     || ('s' <= (c) && (c) <= 'z'))
 
3402
                   (('a' <= (c) && (c) <= 'i') \
 
3403
                     || ('j' <= (c) && (c) <= 'r') \
 
3404
                     || ('s' <= (c) && (c) <= 'z'))
3274
3405
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3275
3406
#endif
3276
3407
 
3281
3412
  int i;
3282
3413
  for (i = 0; i < 256; i++)
3283
3414
    if (XOR (islower (i), ISLOWER (i))
3284
 
        || toupper (i) != TOUPPER (i))
 
3415
        || toupper (i) != TOUPPER (i))
3285
3416
      exit(2);
3286
3417
  exit (0);
3287
3418
}
3306
3437
( exit $ac_status )
3307
3438
ac_cv_header_stdc=no
3308
3439
fi
3309
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3440
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3310
3441
fi
3311
3442
fi
3312
3443
fi
3327
3458
  echo $ECHO_N "(cached) $ECHO_C" >&6
3328
3459
else
3329
3460
  cat >conftest.$ac_ext <<_ACEOF
3330
 
#line $LINENO "configure"
3331
3461
/* confdefs.h.  */
3332
3462
_ACEOF
3333
3463
cat confdefs.h >>conftest.$ac_ext
3390
3520
_ACEOF
3391
3521
rm -f conftest.$ac_objext
3392
3522
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3393
 
  (eval $ac_compile) 2>&5
 
3523
  (eval $ac_compile) 2>conftest.er1
3394
3524
  ac_status=$?
 
3525
  grep -v '^ *+' conftest.er1 >conftest.err
 
3526
  rm -f conftest.er1
 
3527
  cat conftest.err >&5
3395
3528
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396
3529
  (exit $ac_status); } &&
3397
 
         { ac_try='test -s conftest.$ac_objext'
 
3530
         { ac_try='test -z "$ac_c_werror_flag"
 
3531
                         || test ! -s conftest.err'
 
3532
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3533
  (eval $ac_try) 2>&5
 
3534
  ac_status=$?
 
3535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3536
  (exit $ac_status); }; } &&
 
3537
         { ac_try='test -s conftest.$ac_objext'
3398
3538
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3399
3539
  (eval $ac_try) 2>&5
3400
3540
  ac_status=$?
3407
3547
 
3408
3548
ac_cv_c_const=no
3409
3549
fi
3410
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3550
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3411
3551
fi
3412
3552
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3413
3553
echo "${ECHO_T}$ac_cv_c_const" >&6
3430
3570
 
3431
3571
 
3432
3572
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3433
 
                  inttypes.h stdint.h unistd.h
 
3573
                  inttypes.h stdint.h unistd.h
3434
3574
do
3435
3575
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3436
3576
echo "$as_me:$LINENO: checking for $ac_header" >&5
3439
3579
  echo $ECHO_N "(cached) $ECHO_C" >&6
3440
3580
else
3441
3581
  cat >conftest.$ac_ext <<_ACEOF
3442
 
#line $LINENO "configure"
3443
3582
/* confdefs.h.  */
3444
3583
_ACEOF
3445
3584
cat confdefs.h >>conftest.$ac_ext
3451
3590
_ACEOF
3452
3591
rm -f conftest.$ac_objext
3453
3592
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3454
 
  (eval $ac_compile) 2>&5
 
3593
  (eval $ac_compile) 2>conftest.er1
3455
3594
  ac_status=$?
 
3595
  grep -v '^ *+' conftest.er1 >conftest.err
 
3596
  rm -f conftest.er1
 
3597
  cat conftest.err >&5
3456
3598
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457
3599
  (exit $ac_status); } &&
3458
 
         { ac_try='test -s conftest.$ac_objext'
 
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_objext'
3459
3608
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3460
3609
  (eval $ac_try) 2>&5
3461
3610
  ac_status=$?
3468
3617
 
3469
3618
eval "$as_ac_Header=no"
3470
3619
fi
3471
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3620
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3472
3621
fi
3473
3622
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3474
3623
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3488
3637
  echo $ECHO_N "(cached) $ECHO_C" >&6
3489
3638
else
3490
3639
  cat >conftest.$ac_ext <<_ACEOF
3491
 
#line $LINENO "configure"
3492
3640
/* confdefs.h.  */
3493
3641
_ACEOF
3494
3642
cat confdefs.h >>conftest.$ac_ext
3508
3656
_ACEOF
3509
3657
rm -f conftest.$ac_objext
3510
3658
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3511
 
  (eval $ac_compile) 2>&5
 
3659
  (eval $ac_compile) 2>conftest.er1
3512
3660
  ac_status=$?
 
3661
  grep -v '^ *+' conftest.er1 >conftest.err
 
3662
  rm -f conftest.er1
 
3663
  cat conftest.err >&5
3513
3664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514
3665
  (exit $ac_status); } &&
3515
 
         { ac_try='test -s conftest.$ac_objext'
 
3666
         { ac_try='test -z "$ac_c_werror_flag"
 
3667
                         || test ! -s conftest.err'
 
3668
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3669
  (eval $ac_try) 2>&5
 
3670
  ac_status=$?
 
3671
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3672
  (exit $ac_status); }; } &&
 
3673
         { ac_try='test -s conftest.$ac_objext'
3516
3674
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3517
3675
  (eval $ac_try) 2>&5
3518
3676
  ac_status=$?
3525
3683
 
3526
3684
ac_cv_type_size_t=no
3527
3685
fi
3528
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3686
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3529
3687
fi
3530
3688
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3531
3689
echo "${ECHO_T}$ac_cv_type_size_t" >&6
3600
3758
      # `set' does not quote correctly, so add quotes (double-quote
3601
3759
      # substitution turns \\\\ into \\, and sed turns \\ into \).
3602
3760
      sed -n \
3603
 
        "s/'/'\\\\''/g;
3604
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
3761
        "s/'/'\\\\''/g;
 
3762
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3605
3763
      ;;
3606
3764
    *)
3607
3765
      # `set' quotes correctly as required by POSIX, so do not add quotes.
3608
3766
      sed -n \
3609
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
3767
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3610
3768
      ;;
3611
3769
    esac;
3612
3770
} |
3636
3794
# trailing colons and then remove the whole line if VPATH becomes empty
3637
3795
# (actually we leave an empty line to preserve line numbers).
3638
3796
if test "x$srcdir" = x.; then
3639
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
3797
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3640
3798
s/:*\$(srcdir):*/:/;
3641
3799
s/:*\${srcdir}:*/:/;
3642
3800
s/:*@srcdir@:*/:/;
3643
 
s/^\([^=]*=[    ]*\):*/\1/;
 
3801
s/^\([^=]*=[     ]*\):*/\1/;
3644
3802
s/:*$//;
3645
 
s/^[^=]*=[      ]*$//;
 
3803
s/^[^=]*=[       ]*$//;
3646
3804
}'
3647
3805
fi
3648
3806
 
3653
3811
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3654
3812
  # 1. Remove the extension, and $U if already installed.
3655
3813
  ac_i=`echo "$ac_i" |
3656
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
3814
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3657
3815
  # 2. Add them.
3658
3816
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3659
3817
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3711
3869
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3712
3870
  set -o posix
3713
3871
fi
 
3872
DUALCASE=1; export DUALCASE # for MKS sh
3714
3873
 
3715
3874
# Support unset when possible.
3716
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
3875
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3717
3876
  as_unset=unset
3718
3877
else
3719
3878
  as_unset=false
3732
3891
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3733
3892
  LC_TELEPHONE LC_TIME
3734
3893
do
3735
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
3894
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3736
3895
    eval $as_var=C; export $as_var
3737
3896
  else
3738
3897
    $as_unset $as_var
3911
4070
if mkdir -p . 2>/dev/null; then
3912
4071
  as_mkdir_p=:
3913
4072
else
 
4073
  test -d ./-p && rmdir ./-p
3914
4074
  as_mkdir_p=false
3915
4075
fi
3916
4076
 
3917
4077
as_executable_p="test -f"
3918
4078
 
3919
4079
# Sed expression to map a string onto a valid CPP name.
3920
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
4080
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3921
4081
 
3922
4082
# Sed expression to map a string onto a valid variable name.
3923
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
4083
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3924
4084
 
3925
4085
 
3926
4086
# IFS
3947
4107
cat >&5 <<_CSEOF
3948
4108
 
3949
4109
This file was extended by $as_me, which was
3950
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
4110
generated by GNU Autoconf 2.59.  Invocation command line was
3951
4111
 
3952
4112
  CONFIG_FILES    = $CONFIG_FILES
3953
4113
  CONFIG_HEADERS  = $CONFIG_HEADERS
3991
4151
  -d, --debug      don't remove temporary files
3992
4152
      --recheck    update $as_me by reconfiguring in the same conditions
3993
4153
  --file=FILE[:TEMPLATE]
3994
 
                   instantiate the configuration file FILE
 
4154
                   instantiate the configuration file FILE
3995
4155
  --header=FILE[:TEMPLATE]
3996
 
                   instantiate the configuration header FILE
 
4156
                   instantiate the configuration header FILE
3997
4157
 
3998
4158
Configuration files:
3999
4159
$config_files
4010
4170
cat >>$CONFIG_STATUS <<_ACEOF
4011
4171
ac_cs_version="\\
4012
4172
config.status
4013
 
configured by $0, generated by GNU Autoconf 2.57,
 
4173
configured by $0, generated by GNU Autoconf 2.59,
4014
4174
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4015
4175
 
4016
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4017
 
Free Software Foundation, Inc.
 
4176
Copyright (C) 2003 Free Software Foundation, Inc.
4018
4177
This config.status script is free software; the Free Software Foundation
4019
4178
gives unlimited permission to copy, distribute and modify it."
4020
4179
srcdir=$srcdir
4224
4383
s,@STRIP@,$STRIP,;t t
4225
4384
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4226
4385
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
4386
s,@mkdir_p@,$mkdir_p,;t t
4227
4387
s,@AWK@,$AWK,;t t
4228
4388
s,@SET_MAKE@,$SET_MAKE,;t t
4229
4389
s,@am__leading_dot@,$am__leading_dot,;t t
4281
4441
      (echo ':t
4282
4442
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4283
4443
      if test -z "$ac_sed_cmds"; then
4284
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
4444
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4285
4445
      else
4286
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
4446
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4287
4447
      fi
4288
4448
      ac_sed_frag=`expr $ac_sed_frag + 1`
4289
4449
      ac_beg=$ac_end
4301
4461
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4302
4462
  case $ac_file in
4303
4463
  - | *:- | *:-:* ) # input from stdin
4304
 
        cat >$tmp/stdin
4305
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4306
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4464
        cat >$tmp/stdin
 
4465
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
4466
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4307
4467
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4308
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4468
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4309
4469
  * )   ac_file_in=$ac_file.in ;;
4310
4470
  esac
4311
4471
 
4312
4472
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4313
4473
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4314
4474
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4315
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
4316
 
         X"$ac_file" : 'X\(//\)$' \| \
4317
 
         X"$ac_file" : 'X\(/\)' \| \
4318
 
         .     : '\(.\)' 2>/dev/null ||
 
4475
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
4476
         X"$ac_file" : 'X\(//\)$' \| \
 
4477
         X"$ac_file" : 'X\(/\)' \| \
 
4478
         .     : '\(.\)' 2>/dev/null ||
4319
4479
echo X"$ac_file" |
4320
4480
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4321
4481
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4331
4491
      as_dirs="$as_dir $as_dirs"
4332
4492
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4333
4493
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4334
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4335
 
         X"$as_dir" : 'X\(//\)$' \| \
4336
 
         X"$as_dir" : 'X\(/\)' \| \
4337
 
         .     : '\(.\)' 2>/dev/null ||
 
4494
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4495
         X"$as_dir" : 'X\(//\)$' \| \
 
4496
         X"$as_dir" : 'X\(/\)' \| \
 
4497
         .     : '\(.\)' 2>/dev/null ||
4338
4498
echo X"$as_dir" |
4339
4499
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4340
4500
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4372
4532
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4373
4533
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4374
4534
esac
4375
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4376
 
# absolute.
4377
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4378
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4379
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4380
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
4535
 
 
4536
# Do not use `cd foo && pwd` to compute absolute paths, because
 
4537
# the directories may not exist.
 
4538
case `pwd` in
 
4539
.) ac_abs_builddir="$ac_dir";;
 
4540
*)
 
4541
  case "$ac_dir" in
 
4542
  .) ac_abs_builddir=`pwd`;;
 
4543
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
4544
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
4545
  esac;;
 
4546
esac
 
4547
case $ac_abs_builddir in
 
4548
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4549
*)
 
4550
  case ${ac_top_builddir}. in
 
4551
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
4552
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4553
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
4554
  esac;;
 
4555
esac
 
4556
case $ac_abs_builddir in
 
4557
.) ac_abs_srcdir=$ac_srcdir;;
 
4558
*)
 
4559
  case $ac_srcdir in
 
4560
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
4561
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
4562
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
4563
  esac;;
 
4564
esac
 
4565
case $ac_abs_builddir in
 
4566
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
4567
*)
 
4568
  case $ac_top_srcdir in
 
4569
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
4570
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
4571
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
4572
  esac;;
 
4573
esac
4381
4574
 
4382
4575
 
4383
4576
  case $INSTALL in
4399
4592
    configure_input="$ac_file.  "
4400
4593
  fi
4401
4594
  configure_input=$configure_input"Generated from `echo $ac_file_in |
4402
 
                                     sed 's,.*/,,'` by configure."
 
4595
                                     sed 's,.*/,,'` by configure."
4403
4596
 
4404
4597
  # First look for the input files in the build tree, otherwise in the
4405
4598
  # src tree.
4408
4601
      case $f in
4409
4602
      -) echo $tmp/stdin ;;
4410
4603
      [\\/$]*)
4411
 
         # Absolute (can't be DOS-style, as IFS=:)
4412
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4604
         # Absolute (can't be DOS-style, as IFS=:)
 
4605
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4413
4606
echo "$as_me: error: cannot find input file: $f" >&2;}
4414
4607
   { (exit 1); exit 1; }; }
4415
 
         echo $f;;
 
4608
         echo "$f";;
4416
4609
      *) # Relative
4417
 
         if test -f "$f"; then
4418
 
           # Build tree
4419
 
           echo $f
4420
 
         elif test -f "$srcdir/$f"; then
4421
 
           # Source tree
4422
 
           echo $srcdir/$f
4423
 
         else
4424
 
           # /dev/null tree
4425
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4610
         if test -f "$f"; then
 
4611
           # Build tree
 
4612
           echo "$f"
 
4613
         elif test -f "$srcdir/$f"; then
 
4614
           # Source tree
 
4615
           echo "$srcdir/$f"
 
4616
         else
 
4617
           # /dev/null tree
 
4618
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4426
4619
echo "$as_me: error: cannot find input file: $f" >&2;}
4427
4620
   { (exit 1); exit 1; }; }
4428
 
         fi;;
 
4621
         fi;;
4429
4622
      esac
4430
4623
    done` || { (exit 1); exit 1; }
4431
4624
_ACEOF
4467
4660
# NAME is the cpp macro being defined and VALUE is the value it is being given.
4468
4661
#
4469
4662
# ac_d sets the value in "#define NAME VALUE" lines.
4470
 
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
4471
 
ac_dB='[        ].*$,\1#\2'
 
4663
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
 
4664
ac_dB='[         ].*$,\1#\2'
4472
4665
ac_dC=' '
4473
4666
ac_dD=',;t'
4474
4667
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4475
 
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
4668
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
4476
4669
ac_uB='$,\1#\2define\3'
4477
4670
ac_uC=' '
4478
4671
ac_uD=',;t'
4481
4674
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4482
4675
  case $ac_file in
4483
4676
  - | *:- | *:-:* ) # input from stdin
4484
 
        cat >$tmp/stdin
4485
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4486
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4677
        cat >$tmp/stdin
 
4678
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
4679
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4487
4680
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4488
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4681
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4489
4682
  * )   ac_file_in=$ac_file.in ;;
4490
4683
  esac
4491
4684
 
4499
4692
      case $f in
4500
4693
      -) echo $tmp/stdin ;;
4501
4694
      [\\/$]*)
4502
 
         # Absolute (can't be DOS-style, as IFS=:)
4503
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4695
         # Absolute (can't be DOS-style, as IFS=:)
 
4696
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4504
4697
echo "$as_me: error: cannot find input file: $f" >&2;}
4505
4698
   { (exit 1); exit 1; }; }
4506
 
         echo $f;;
 
4699
         # Do quote $f, to prevent DOS paths from being IFS'd.
 
4700
         echo "$f";;
4507
4701
      *) # Relative
4508
 
         if test -f "$f"; then
4509
 
           # Build tree
4510
 
           echo $f
4511
 
         elif test -f "$srcdir/$f"; then
4512
 
           # Source tree
4513
 
           echo $srcdir/$f
4514
 
         else
4515
 
           # /dev/null tree
4516
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4702
         if test -f "$f"; then
 
4703
           # Build tree
 
4704
           echo "$f"
 
4705
         elif test -f "$srcdir/$f"; then
 
4706
           # Source tree
 
4707
           echo "$srcdir/$f"
 
4708
         else
 
4709
           # /dev/null tree
 
4710
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4517
4711
echo "$as_me: error: cannot find input file: $f" >&2;}
4518
4712
   { (exit 1); exit 1; }; }
4519
 
         fi;;
 
4713
         fi;;
4520
4714
      esac
4521
4715
    done` || { (exit 1); exit 1; }
4522
4716
  # Remove the trailing spaces.
4523
 
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
 
4717
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
4524
4718
 
4525
4719
_ACEOF
4526
4720
 
4543
4737
s,[\\$`],\\&,g
4544
4738
t clear
4545
4739
: clear
4546
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
4740
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4547
4741
t end
4548
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
4742
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4549
4743
: end
4550
4744
_ACEOF
4551
4745
# If some macros were called several times there might be several times
4559
4753
# example, in the case of _POSIX_SOURCE, which is predefined and required
4560
4754
# on some systems where configure will not decide to define it.
4561
4755
cat >>conftest.undefs <<\_ACEOF
4562
 
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
4756
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4563
4757
_ACEOF
4564
4758
 
4565
4759
# Break up conftest.defines because some shells have a limit on the size
4566
4760
# of here documents, and old seds have small limits too (100 cmds).
4567
4761
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4568
 
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
4762
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4569
4763
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4570
4764
echo '  :' >>$CONFIG_STATUS
4571
4765
rm -f conftest.tail
4574
4768
  # Write a limited-size here document to $tmp/defines.sed.
4575
4769
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4576
4770
  # Speed up: don't consider the non `#define' lines.
4577
 
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
4771
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
4578
4772
  # Work around the forget-to-reset-the-flag bug.
4579
4773
  echo 't clr' >>$CONFIG_STATUS
4580
4774
  echo ': clr' >>$CONFIG_STATUS
4601
4795
  # Write a limited-size here document to $tmp/undefs.sed.
4602
4796
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4603
4797
  # Speed up: don't consider the non `#undef'
4604
 
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
4798
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
4605
4799
  # Work around the forget-to-reset-the-flag bug.
4606
4800
  echo 't clr' >>$CONFIG_STATUS
4607
4801
  echo ': clr' >>$CONFIG_STATUS
4635
4829
    else
4636
4830
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4637
4831
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4638
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
4639
 
         X"$ac_file" : 'X\(//\)$' \| \
4640
 
         X"$ac_file" : 'X\(/\)' \| \
4641
 
         .     : '\(.\)' 2>/dev/null ||
 
4832
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
4833
         X"$ac_file" : 'X\(//\)$' \| \
 
4834
         X"$ac_file" : 'X\(/\)' \| \
 
4835
         .     : '\(.\)' 2>/dev/null ||
4642
4836
echo X"$ac_file" |
4643
4837
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4644
4838
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4654
4848
      as_dirs="$as_dir $as_dirs"
4655
4849
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4656
4850
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4657
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4658
 
         X"$as_dir" : 'X\(//\)$' \| \
4659
 
         X"$as_dir" : 'X\(/\)' \| \
4660
 
         .     : '\(.\)' 2>/dev/null ||
 
4851
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4852
         X"$as_dir" : 'X\(//\)$' \| \
 
4853
         X"$as_dir" : 'X\(/\)' \| \
 
4854
         .     : '\(.\)' 2>/dev/null ||
4661
4855
echo X"$as_dir" |
4662
4856
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4663
4857
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4689
4883
done
4690
4884
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4691
4885
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4692
 
         X$ac_file : 'X\(//\)[^/]' \| \
4693
 
         X$ac_file : 'X\(//\)$' \| \
4694
 
         X$ac_file : 'X\(/\)' \| \
4695
 
         .     : '\(.\)' 2>/dev/null ||
 
4886
         X$ac_file : 'X\(//\)[^/]' \| \
 
4887
         X$ac_file : 'X\(//\)$' \| \
 
4888
         X$ac_file : 'X\(/\)' \| \
 
4889
         .     : '\(.\)' 2>/dev/null ||
4696
4890
echo X$ac_file |
4697
4891
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4698
4892
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4711
4905
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4712
4906
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4713
4907
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4714
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
4715
 
         X"$ac_dest" : 'X\(//\)$' \| \
4716
 
         X"$ac_dest" : 'X\(/\)' \| \
4717
 
         .     : '\(.\)' 2>/dev/null ||
 
4908
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
4909
         X"$ac_dest" : 'X\(//\)$' \| \
 
4910
         X"$ac_dest" : 'X\(/\)' \| \
 
4911
         .     : '\(.\)' 2>/dev/null ||
4718
4912
echo X"$ac_dest" |
4719
4913
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4720
4914
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4721
4915
          /^X\(\/\/\)$/{ s//\1/; q; }
4722
4916
          /^X\(\/\).*/{ s//\1/; q; }
4723
4917
          s/.*/./; q'`
 
4918
  { if $as_mkdir_p; then
 
4919
    mkdir -p "$ac_dir"
 
4920
  else
 
4921
    as_dir="$ac_dir"
 
4922
    as_dirs=
 
4923
    while test ! -d "$as_dir"; do
 
4924
      as_dirs="$as_dir $as_dirs"
 
4925
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
4926
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4927
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4928
         X"$as_dir" : 'X\(//\)$' \| \
 
4929
         X"$as_dir" : 'X\(/\)' \| \
 
4930
         .     : '\(.\)' 2>/dev/null ||
 
4931
echo X"$as_dir" |
 
4932
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4933
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4934
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4935
          /^X\(\/\).*/{ s//\1/; q; }
 
4936
          s/.*/./; q'`
 
4937
    done
 
4938
    test ! -n "$as_dirs" || mkdir $as_dirs
 
4939
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
4940
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
4941
   { (exit 1); exit 1; }; }; }
 
4942
 
4724
4943
  ac_builddir=.
4725
4944
 
4726
4945
if test "$ac_dir" != .; then
4746
4965
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4747
4966
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4748
4967
esac
4749
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4750
 
# absolute.
4751
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4752
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4753
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4754
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
4968
 
 
4969
# Do not use `cd foo && pwd` to compute absolute paths, because
 
4970
# the directories may not exist.
 
4971
case `pwd` in
 
4972
.) ac_abs_builddir="$ac_dir";;
 
4973
*)
 
4974
  case "$ac_dir" in
 
4975
  .) ac_abs_builddir=`pwd`;;
 
4976
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
4977
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
4978
  esac;;
 
4979
esac
 
4980
case $ac_abs_builddir in
 
4981
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4982
*)
 
4983
  case ${ac_top_builddir}. in
 
4984
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
4985
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4986
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
4987
  esac;;
 
4988
esac
 
4989
case $ac_abs_builddir in
 
4990
.) ac_abs_srcdir=$ac_srcdir;;
 
4991
*)
 
4992
  case $ac_srcdir in
 
4993
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
4994
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
4995
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
4996
  esac;;
 
4997
esac
 
4998
case $ac_abs_builddir in
 
4999
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5000
*)
 
5001
  case $ac_top_srcdir in
 
5002
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
5003
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5004
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
5005
  esac;;
 
5006
esac
4755
5007
 
4756
5008
 
4757
5009
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4769
5021
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4770
5022
    dirpart=`(dirname "$mf") 2>/dev/null ||
4771
5023
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4772
 
         X"$mf" : 'X\(//\)[^/]' \| \
4773
 
         X"$mf" : 'X\(//\)$' \| \
4774
 
         X"$mf" : 'X\(/\)' \| \
4775
 
         .     : '\(.\)' 2>/dev/null ||
 
5024
         X"$mf" : 'X\(//\)[^/]' \| \
 
5025
         X"$mf" : 'X\(//\)$' \| \
 
5026
         X"$mf" : 'X\(/\)' \| \
 
5027
         .     : '\(.\)' 2>/dev/null ||
4776
5028
echo X"$mf" |
4777
5029
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4778
5030
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4785
5037
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4786
5038
  # Extract the definition of DEP_FILES from the Makefile without
4787
5039
  # running `make'.
4788
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
5040
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4789
5041
  test -z "$DEPDIR" && continue
4790
5042
  # When using ansi2knr, U may be empty or an underscore; expand it
4791
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
 
5043
  U=`sed -n 's/^U = //p' < "$mf"`
4792
5044
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4793
5045
  # We invoke sed twice because it is the simplest approach to
4794
5046
  # changing $(DEPDIR) to its actual value in the expansion.
4795
 
  for file in `sed -n -e '
 
5047
  for file in `sed -n '
4796
5048
    /^DEP_FILES = .*\\\\$/ {
4797
5049
      s/^DEP_FILES = //
4798
5050
      :loop
4808
5060
    test -f "$dirpart/$file" && continue
4809
5061
    fdir=`(dirname "$file") 2>/dev/null ||
4810
5062
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4811
 
         X"$file" : 'X\(//\)[^/]' \| \
4812
 
         X"$file" : 'X\(//\)$' \| \
4813
 
         X"$file" : 'X\(/\)' \| \
4814
 
         .     : '\(.\)' 2>/dev/null ||
 
5063
         X"$file" : 'X\(//\)[^/]' \| \
 
5064
         X"$file" : 'X\(//\)$' \| \
 
5065
         X"$file" : 'X\(/\)' \| \
 
5066
         .     : '\(.\)' 2>/dev/null ||
4815
5067
echo X"$file" |
4816
5068
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4817
5069
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4827
5079
      as_dirs="$as_dir $as_dirs"
4828
5080
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4829
5081
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4830
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4831
 
         X"$as_dir" : 'X\(//\)$' \| \
4832
 
         X"$as_dir" : 'X\(/\)' \| \
4833
 
         .     : '\(.\)' 2>/dev/null ||
 
5082
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5083
         X"$as_dir" : 'X\(//\)$' \| \
 
5084
         X"$as_dir" : 'X\(/\)' \| \
 
5085
         .     : '\(.\)' 2>/dev/null ||
4834
5086
echo X"$as_dir" |
4835
5087
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4836
5088
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }