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

« back to all changes in this revision

Viewing changes to courier/filters/libfilter/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 CPP EGREP 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 CPP EGREP 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.
1287
1320
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1288
1321
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1289
1322
 
1290
 
am__api_version="1.7"
 
1323
am__api_version="1.8"
1291
1324
# Find a good install program.  We prefer a C program (faster),
1292
1325
# so one script is as good as another.  But avoid the broken or
1293
1326
# incompatible versions:
1299
1332
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1300
1333
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1301
1334
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1335
# OS/2's system install, which has a completely different semantic
1302
1336
# ./install, which can be erroneously created by make from ./install.sh.
1303
1337
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1304
1338
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1315
1349
case $as_dir/ in
1316
1350
  ./ | .// | /cC/* | \
1317
1351
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1352
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1318
1353
  /usr/ucb/* ) ;;
1319
1354
  *)
1320
1355
    # OSF1 and SCO ODT 3.0 have their own names for install.
1322
1357
    # by default.
1323
1358
    for ac_prog in ginstall scoinst install; do
1324
1359
      for ac_exec_ext in '' $ac_executable_extensions; do
1325
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1326
 
          if test $ac_prog = install &&
1327
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1328
 
            # AIX install.  It has an incompatible calling convention.
1329
 
            :
1330
 
          elif test $ac_prog = install &&
1331
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1332
 
            # program-specific install script used by HP pwplus--don't use.
1333
 
            :
1334
 
          else
1335
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1336
 
            break 3
1337
 
          fi
1338
 
        fi
 
1360
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1361
          if test $ac_prog = install &&
 
1362
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1363
            # AIX install.  It has an incompatible calling convention.
 
1364
            :
 
1365
          elif test $ac_prog = install &&
 
1366
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1367
            # program-specific install script used by HP pwplus--don't use.
 
1368
            :
 
1369
          else
 
1370
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1371
            break 3
 
1372
          fi
 
1373
        fi
1339
1374
      done
1340
1375
    done
1341
1376
    ;;
1423
1458
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1424
1459
rm conftest.sed
1425
1460
 
1426
 
 
1427
1461
# expand $ac_aux_dir to an absolute path
1428
1462
am_aux_dir=`cd $ac_aux_dir && pwd`
1429
1463
 
1437
1471
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1438
1472
fi
1439
1473
 
 
1474
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1475
  # Keeping the `.' argument allows $(mkdir_p) to be used without
 
1476
  # argument.  Indeed, we sometimes output rules like
 
1477
  #   $(mkdir_p) $(somedir)
 
1478
  # where $(somedir) is conditionally defined.
 
1479
  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
 
1480
  # expensive solution, as it forces Make to start a sub-shell.)
 
1481
  mkdir_p='mkdir -p -- .'
 
1482
else
 
1483
  # On NextStep and OpenStep, the `mkdir' command does not
 
1484
  # recognize any option.  It will interpret all options as
 
1485
  # directories to create, and then abort because `.' already
 
1486
  # exists.
 
1487
  for d in ./-p ./--version;
 
1488
  do
 
1489
    test -d $d && rmdir $d
 
1490
  done
 
1491
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1492
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1493
    mkdir_p='$(mkinstalldirs)'
 
1494
  else
 
1495
    mkdir_p='$(install_sh) -d'
 
1496
  fi
 
1497
fi
 
1498
 
1440
1499
for ac_prog in gawk mawk nawk awk
1441
1500
do
1442
1501
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1479
1538
 
1480
1539
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1481
1540
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1482
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1541
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1483
1542
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1484
1543
  echo $ECHO_N "(cached) $ECHO_C" >&6
1485
1544
else
1515
1574
fi
1516
1575
rmdir .tst 2>/dev/null
1517
1576
 
1518
 
 # test to see if srcdir already configured
 
1577
# test to see if srcdir already configured
1519
1578
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1520
1579
   test -f $srcdir/config.status; then
1521
1580
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1991
2050
  (exit $ac_status); }
1992
2051
 
1993
2052
cat >conftest.$ac_ext <<_ACEOF
1994
 
#line $LINENO "configure"
1995
2053
/* confdefs.h.  */
1996
2054
_ACEOF
1997
2055
cat confdefs.h >>conftest.$ac_ext
2011
2069
# Try to create an executable without -o first, disregard a.out.
2012
2070
# It will help us diagnose broken compilers, and finding out an intuition
2013
2071
# of exeext.
2014
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2015
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
2072
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2073
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2016
2074
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2017
2075
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2018
2076
  (eval $ac_link_default) 2>&5
2032
2090
  test -f "$ac_file" || continue
2033
2091
  case $ac_file in
2034
2092
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2035
 
        ;;
 
2093
        ;;
2036
2094
    conftest.$ac_ext )
2037
 
        # This is the source file.
2038
 
        ;;
 
2095
        # This is the source file.
 
2096
        ;;
2039
2097
    [ab].out )
2040
 
        # We found the default executable, but exeext='' is most
2041
 
        # certainly right.
2042
 
        break;;
 
2098
        # We found the default executable, but exeext='' is most
 
2099
        # certainly right.
 
2100
        break;;
2043
2101
    *.* )
2044
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2045
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2046
 
        # but it would be cool to find out if it's true.  Does anybody
2047
 
        # maintain Libtool? --akim.
2048
 
        export ac_cv_exeext
2049
 
        break;;
 
2102
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2103
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2104
        # but it would be cool to find out if it's true.  Does anybody
 
2105
        # maintain Libtool? --akim.
 
2106
        export ac_cv_exeext
 
2107
        break;;
2050
2108
    * )
2051
 
        break;;
 
2109
        break;;
2052
2110
  esac
2053
2111
done
2054
2112
else
2122
2180
  case $ac_file in
2123
2181
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2124
2182
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2125
 
          export ac_cv_exeext
2126
 
          break;;
 
2183
          export ac_cv_exeext
 
2184
          break;;
2127
2185
    * ) break;;
2128
2186
  esac
2129
2187
done
2148
2206
  echo $ECHO_N "(cached) $ECHO_C" >&6
2149
2207
else
2150
2208
  cat >conftest.$ac_ext <<_ACEOF
2151
 
#line $LINENO "configure"
2152
2209
/* confdefs.h.  */
2153
2210
_ACEOF
2154
2211
cat confdefs.h >>conftest.$ac_ext
2199
2256
  echo $ECHO_N "(cached) $ECHO_C" >&6
2200
2257
else
2201
2258
  cat >conftest.$ac_ext <<_ACEOF
2202
 
#line $LINENO "configure"
2203
2259
/* confdefs.h.  */
2204
2260
_ACEOF
2205
2261
cat confdefs.h >>conftest.$ac_ext
2219
2275
_ACEOF
2220
2276
rm -f conftest.$ac_objext
2221
2277
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2222
 
  (eval $ac_compile) 2>&5
 
2278
  (eval $ac_compile) 2>conftest.er1
2223
2279
  ac_status=$?
 
2280
  grep -v '^ *+' conftest.er1 >conftest.err
 
2281
  rm -f conftest.er1
 
2282
  cat conftest.err >&5
2224
2283
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225
2284
  (exit $ac_status); } &&
2226
 
         { ac_try='test -s conftest.$ac_objext'
 
2285
         { ac_try='test -z "$ac_c_werror_flag"
 
2286
                         || test ! -s conftest.err'
 
2287
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2288
  (eval $ac_try) 2>&5
 
2289
  ac_status=$?
 
2290
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2291
  (exit $ac_status); }; } &&
 
2292
         { ac_try='test -s conftest.$ac_objext'
2227
2293
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2228
2294
  (eval $ac_try) 2>&5
2229
2295
  ac_status=$?
2236
2302
 
2237
2303
ac_compiler_gnu=no
2238
2304
fi
2239
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2305
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2240
2306
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2241
2307
 
2242
2308
fi
2252
2318
  echo $ECHO_N "(cached) $ECHO_C" >&6
2253
2319
else
2254
2320
  cat >conftest.$ac_ext <<_ACEOF
2255
 
#line $LINENO "configure"
2256
2321
/* confdefs.h.  */
2257
2322
_ACEOF
2258
2323
cat confdefs.h >>conftest.$ac_ext
2269
2334
_ACEOF
2270
2335
rm -f conftest.$ac_objext
2271
2336
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2272
 
  (eval $ac_compile) 2>&5
 
2337
  (eval $ac_compile) 2>conftest.er1
2273
2338
  ac_status=$?
 
2339
  grep -v '^ *+' conftest.er1 >conftest.err
 
2340
  rm -f conftest.er1
 
2341
  cat conftest.err >&5
2274
2342
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275
2343
  (exit $ac_status); } &&
2276
 
         { ac_try='test -s conftest.$ac_objext'
 
2344
         { ac_try='test -z "$ac_c_werror_flag"
 
2345
                         || test ! -s conftest.err'
 
2346
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2347
  (eval $ac_try) 2>&5
 
2348
  ac_status=$?
 
2349
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2350
  (exit $ac_status); }; } &&
 
2351
         { ac_try='test -s conftest.$ac_objext'
2277
2352
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2278
2353
  (eval $ac_try) 2>&5
2279
2354
  ac_status=$?
2286
2361
 
2287
2362
ac_cv_prog_cc_g=no
2288
2363
fi
2289
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2364
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2290
2365
fi
2291
2366
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2292
2367
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2313
2388
  ac_cv_prog_cc_stdc=no
2314
2389
ac_save_CC=$CC
2315
2390
cat >conftest.$ac_ext <<_ACEOF
2316
 
#line $LINENO "configure"
2317
2391
/* confdefs.h.  */
2318
2392
_ACEOF
2319
2393
cat confdefs.h >>conftest.$ac_ext
2341
2415
  va_end (v);
2342
2416
  return s;
2343
2417
}
 
2418
 
 
2419
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2420
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2421
   These don't provoke an error unfortunately, instead are silently treated
 
2422
   as 'x'.  The following induces an error, until -std1 is added to get
 
2423
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2424
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2425
   that's true only with -std1.  */
 
2426
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2427
 
2344
2428
int test (int i, double x);
2345
2429
struct s1 {int (*f) (int a);};
2346
2430
struct s2 {int (*f) (double a);};
2367
2451
  CC="$ac_save_CC $ac_arg"
2368
2452
  rm -f conftest.$ac_objext
2369
2453
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2370
 
  (eval $ac_compile) 2>&5
 
2454
  (eval $ac_compile) 2>conftest.er1
2371
2455
  ac_status=$?
 
2456
  grep -v '^ *+' conftest.er1 >conftest.err
 
2457
  rm -f conftest.er1
 
2458
  cat conftest.err >&5
2372
2459
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373
2460
  (exit $ac_status); } &&
2374
 
         { ac_try='test -s conftest.$ac_objext'
 
2461
         { ac_try='test -z "$ac_c_werror_flag"
 
2462
                         || test ! -s conftest.err'
 
2463
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2464
  (eval $ac_try) 2>&5
 
2465
  ac_status=$?
 
2466
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2467
  (exit $ac_status); }; } &&
 
2468
         { ac_try='test -s conftest.$ac_objext'
2375
2469
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2376
2470
  (eval $ac_try) 2>&5
2377
2471
  ac_status=$?
2384
2478
sed 's/^/| /' conftest.$ac_ext >&5
2385
2479
 
2386
2480
fi
2387
 
rm -f conftest.$ac_objext
 
2481
rm -f conftest.err conftest.$ac_objext
2388
2482
done
2389
2483
rm -f conftest.$ac_ext conftest.$ac_objext
2390
2484
CC=$ac_save_CC
2412
2506
_ACEOF
2413
2507
rm -f conftest.$ac_objext
2414
2508
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2415
 
  (eval $ac_compile) 2>&5
 
2509
  (eval $ac_compile) 2>conftest.er1
2416
2510
  ac_status=$?
 
2511
  grep -v '^ *+' conftest.er1 >conftest.err
 
2512
  rm -f conftest.er1
 
2513
  cat conftest.err >&5
2417
2514
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418
2515
  (exit $ac_status); } &&
2419
 
         { ac_try='test -s conftest.$ac_objext'
 
2516
         { ac_try='test -z "$ac_c_werror_flag"
 
2517
                         || test ! -s conftest.err'
 
2518
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2519
  (eval $ac_try) 2>&5
 
2520
  ac_status=$?
 
2521
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2522
  (exit $ac_status); }; } &&
 
2523
         { ac_try='test -s conftest.$ac_objext'
2420
2524
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2421
2525
  (eval $ac_try) 2>&5
2422
2526
  ac_status=$?
2423
2527
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424
2528
  (exit $ac_status); }; }; then
2425
2529
  for ac_declaration in \
2426
 
   ''\
2427
 
   '#include <stdlib.h>' \
 
2530
   '' \
2428
2531
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2429
2532
   'extern "C" void std::exit (int); using std::exit;' \
2430
2533
   'extern "C" void exit (int) throw ();' \
2432
2535
   'void exit (int);'
2433
2536
do
2434
2537
  cat >conftest.$ac_ext <<_ACEOF
2435
 
#line $LINENO "configure"
2436
2538
/* confdefs.h.  */
2437
2539
_ACEOF
2438
2540
cat confdefs.h >>conftest.$ac_ext
2439
2541
cat >>conftest.$ac_ext <<_ACEOF
2440
2542
/* end confdefs.h.  */
 
2543
$ac_declaration
2441
2544
#include <stdlib.h>
2442
 
$ac_declaration
2443
2545
int
2444
2546
main ()
2445
2547
{
2450
2552
_ACEOF
2451
2553
rm -f conftest.$ac_objext
2452
2554
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2453
 
  (eval $ac_compile) 2>&5
 
2555
  (eval $ac_compile) 2>conftest.er1
2454
2556
  ac_status=$?
 
2557
  grep -v '^ *+' conftest.er1 >conftest.err
 
2558
  rm -f conftest.er1
 
2559
  cat conftest.err >&5
2455
2560
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456
2561
  (exit $ac_status); } &&
2457
 
         { ac_try='test -s conftest.$ac_objext'
 
2562
         { ac_try='test -z "$ac_c_werror_flag"
 
2563
                         || test ! -s conftest.err'
 
2564
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2565
  (eval $ac_try) 2>&5
 
2566
  ac_status=$?
 
2567
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2568
  (exit $ac_status); }; } &&
 
2569
         { ac_try='test -s conftest.$ac_objext'
2458
2570
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2459
2571
  (eval $ac_try) 2>&5
2460
2572
  ac_status=$?
2467
2579
 
2468
2580
continue
2469
2581
fi
2470
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2582
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2471
2583
  cat >conftest.$ac_ext <<_ACEOF
2472
 
#line $LINENO "configure"
2473
2584
/* confdefs.h.  */
2474
2585
_ACEOF
2475
2586
cat confdefs.h >>conftest.$ac_ext
2486
2597
_ACEOF
2487
2598
rm -f conftest.$ac_objext
2488
2599
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2489
 
  (eval $ac_compile) 2>&5
 
2600
  (eval $ac_compile) 2>conftest.er1
2490
2601
  ac_status=$?
 
2602
  grep -v '^ *+' conftest.er1 >conftest.err
 
2603
  rm -f conftest.er1
 
2604
  cat conftest.err >&5
2491
2605
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492
2606
  (exit $ac_status); } &&
2493
 
         { ac_try='test -s conftest.$ac_objext'
 
2607
         { ac_try='test -z "$ac_c_werror_flag"
 
2608
                         || test ! -s conftest.err'
 
2609
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2610
  (eval $ac_try) 2>&5
 
2611
  ac_status=$?
 
2612
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2613
  (exit $ac_status); }; } &&
 
2614
         { ac_try='test -s conftest.$ac_objext'
2494
2615
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495
2616
  (eval $ac_try) 2>&5
2496
2617
  ac_status=$?
2502
2623
sed 's/^/| /' conftest.$ac_ext >&5
2503
2624
 
2504
2625
fi
2505
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2626
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2506
2627
done
2507
2628
rm -f conftest*
2508
2629
if test -n "$ac_declaration"; then
2516
2637
sed 's/^/| /' conftest.$ac_ext >&5
2517
2638
 
2518
2639
fi
2519
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2640
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2520
2641
ac_ext=c
2521
2642
ac_cpp='$CPP $CPPFLAGS'
2522
2643
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2629
2750
    : > sub/conftest.c
2630
2751
    for i in 1 2 3 4 5 6; do
2631
2752
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2632
 
      : > sub/conftst$i.h
 
2753
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
2754
      # Solaris 8's {/usr,}/bin/sh.
 
2755
      touch sub/conftst$i.h
2633
2756
    done
2634
2757
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2635
2758
 
2801
2924
  # On the NeXT, cc -E runs the code through the compiler's parser,
2802
2925
  # not just through cpp. "Syntax error" is here to catch this case.
2803
2926
  cat >conftest.$ac_ext <<_ACEOF
2804
 
#line $LINENO "configure"
2805
2927
/* confdefs.h.  */
2806
2928
_ACEOF
2807
2929
cat confdefs.h >>conftest.$ac_ext
2812
2934
#else
2813
2935
# include <assert.h>
2814
2936
#endif
2815
 
                     Syntax error
 
2937
                     Syntax error
2816
2938
_ACEOF
2817
2939
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2818
2940
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2824
2946
  (exit $ac_status); } >/dev/null; then
2825
2947
  if test -s conftest.err; then
2826
2948
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2949
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2827
2950
  else
2828
2951
    ac_cpp_err=
2829
2952
  fi
2844
2967
  # OK, works on sane cases.  Now check whether non-existent headers
2845
2968
  # can be detected and how.
2846
2969
  cat >conftest.$ac_ext <<_ACEOF
2847
 
#line $LINENO "configure"
2848
2970
/* confdefs.h.  */
2849
2971
_ACEOF
2850
2972
cat confdefs.h >>conftest.$ac_ext
2862
2984
  (exit $ac_status); } >/dev/null; then
2863
2985
  if test -s conftest.err; then
2864
2986
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2987
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2865
2988
  else
2866
2989
    ac_cpp_err=
2867
2990
  fi
2908
3031
  # On the NeXT, cc -E runs the code through the compiler's parser,
2909
3032
  # not just through cpp. "Syntax error" is here to catch this case.
2910
3033
  cat >conftest.$ac_ext <<_ACEOF
2911
 
#line $LINENO "configure"
2912
3034
/* confdefs.h.  */
2913
3035
_ACEOF
2914
3036
cat confdefs.h >>conftest.$ac_ext
2919
3041
#else
2920
3042
# include <assert.h>
2921
3043
#endif
2922
 
                     Syntax error
 
3044
                     Syntax error
2923
3045
_ACEOF
2924
3046
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2925
3047
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2931
3053
  (exit $ac_status); } >/dev/null; then
2932
3054
  if test -s conftest.err; then
2933
3055
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3056
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2934
3057
  else
2935
3058
    ac_cpp_err=
2936
3059
  fi
2951
3074
  # OK, works on sane cases.  Now check whether non-existent headers
2952
3075
  # can be detected and how.
2953
3076
  cat >conftest.$ac_ext <<_ACEOF
2954
 
#line $LINENO "configure"
2955
3077
/* confdefs.h.  */
2956
3078
_ACEOF
2957
3079
cat confdefs.h >>conftest.$ac_ext
2969
3091
  (exit $ac_status); } >/dev/null; then
2970
3092
  if test -s conftest.err; then
2971
3093
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3094
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2972
3095
  else
2973
3096
    ac_cpp_err=
2974
3097
  fi
3029
3152
  echo $ECHO_N "(cached) $ECHO_C" >&6
3030
3153
else
3031
3154
  cat >conftest.$ac_ext <<_ACEOF
3032
 
#line $LINENO "configure"
3033
3155
/* confdefs.h.  */
3034
3156
_ACEOF
3035
3157
cat confdefs.h >>conftest.$ac_ext
3050
3172
_ACEOF
3051
3173
rm -f conftest.$ac_objext
3052
3174
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3053
 
  (eval $ac_compile) 2>&5
 
3175
  (eval $ac_compile) 2>conftest.er1
3054
3176
  ac_status=$?
 
3177
  grep -v '^ *+' conftest.er1 >conftest.err
 
3178
  rm -f conftest.er1
 
3179
  cat conftest.err >&5
3055
3180
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056
3181
  (exit $ac_status); } &&
3057
 
         { ac_try='test -s conftest.$ac_objext'
 
3182
         { ac_try='test -z "$ac_c_werror_flag"
 
3183
                         || test ! -s conftest.err'
 
3184
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3185
  (eval $ac_try) 2>&5
 
3186
  ac_status=$?
 
3187
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3188
  (exit $ac_status); }; } &&
 
3189
         { ac_try='test -s conftest.$ac_objext'
3058
3190
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3059
3191
  (eval $ac_try) 2>&5
3060
3192
  ac_status=$?
3067
3199
 
3068
3200
ac_cv_header_stdc=no
3069
3201
fi
3070
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3202
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3071
3203
 
3072
3204
if test $ac_cv_header_stdc = yes; then
3073
3205
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3074
3206
  cat >conftest.$ac_ext <<_ACEOF
3075
 
#line $LINENO "configure"
3076
3207
/* confdefs.h.  */
3077
3208
_ACEOF
3078
3209
cat confdefs.h >>conftest.$ac_ext
3094
3225
if test $ac_cv_header_stdc = yes; then
3095
3226
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3096
3227
  cat >conftest.$ac_ext <<_ACEOF
3097
 
#line $LINENO "configure"
3098
3228
/* confdefs.h.  */
3099
3229
_ACEOF
3100
3230
cat confdefs.h >>conftest.$ac_ext
3119
3249
  :
3120
3250
else
3121
3251
  cat >conftest.$ac_ext <<_ACEOF
3122
 
#line $LINENO "configure"
3123
3252
/* confdefs.h.  */
3124
3253
_ACEOF
3125
3254
cat confdefs.h >>conftest.$ac_ext
3131
3260
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3132
3261
#else
3133
3262
# define ISLOWER(c) \
3134
 
                   (('a' <= (c) && (c) <= 'i') \
3135
 
                     || ('j' <= (c) && (c) <= 'r') \
3136
 
                     || ('s' <= (c) && (c) <= 'z'))
 
3263
                   (('a' <= (c) && (c) <= 'i') \
 
3264
                     || ('j' <= (c) && (c) <= 'r') \
 
3265
                     || ('s' <= (c) && (c) <= 'z'))
3137
3266
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3138
3267
#endif
3139
3268
 
3144
3273
  int i;
3145
3274
  for (i = 0; i < 256; i++)
3146
3275
    if (XOR (islower (i), ISLOWER (i))
3147
 
        || toupper (i) != TOUPPER (i))
 
3276
        || toupper (i) != TOUPPER (i))
3148
3277
      exit(2);
3149
3278
  exit (0);
3150
3279
}
3169
3298
( exit $ac_status )
3170
3299
ac_cv_header_stdc=no
3171
3300
fi
3172
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3301
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3173
3302
fi
3174
3303
fi
3175
3304
fi
3194
3323
 
3195
3324
 
3196
3325
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3197
 
                  inttypes.h stdint.h unistd.h
 
3326
                  inttypes.h stdint.h unistd.h
3198
3327
do
3199
3328
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3200
3329
echo "$as_me:$LINENO: checking for $ac_header" >&5
3203
3332
  echo $ECHO_N "(cached) $ECHO_C" >&6
3204
3333
else
3205
3334
  cat >conftest.$ac_ext <<_ACEOF
3206
 
#line $LINENO "configure"
3207
3335
/* confdefs.h.  */
3208
3336
_ACEOF
3209
3337
cat confdefs.h >>conftest.$ac_ext
3215
3343
_ACEOF
3216
3344
rm -f conftest.$ac_objext
3217
3345
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3218
 
  (eval $ac_compile) 2>&5
 
3346
  (eval $ac_compile) 2>conftest.er1
3219
3347
  ac_status=$?
 
3348
  grep -v '^ *+' conftest.er1 >conftest.err
 
3349
  rm -f conftest.er1
 
3350
  cat conftest.err >&5
3220
3351
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221
3352
  (exit $ac_status); } &&
3222
 
         { ac_try='test -s conftest.$ac_objext'
 
3353
         { ac_try='test -z "$ac_c_werror_flag"
 
3354
                         || test ! -s conftest.err'
 
3355
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3356
  (eval $ac_try) 2>&5
 
3357
  ac_status=$?
 
3358
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3359
  (exit $ac_status); }; } &&
 
3360
         { ac_try='test -s conftest.$ac_objext'
3223
3361
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224
3362
  (eval $ac_try) 2>&5
3225
3363
  ac_status=$?
3232
3370
 
3233
3371
eval "$as_ac_Header=no"
3234
3372
fi
3235
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3373
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3236
3374
fi
3237
3375
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3238
3376
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3265
3403
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3266
3404
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3267
3405
cat >conftest.$ac_ext <<_ACEOF
3268
 
#line $LINENO "configure"
3269
3406
/* confdefs.h.  */
3270
3407
_ACEOF
3271
3408
cat confdefs.h >>conftest.$ac_ext
3276
3413
_ACEOF
3277
3414
rm -f conftest.$ac_objext
3278
3415
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3279
 
  (eval $ac_compile) 2>&5
 
3416
  (eval $ac_compile) 2>conftest.er1
3280
3417
  ac_status=$?
 
3418
  grep -v '^ *+' conftest.er1 >conftest.err
 
3419
  rm -f conftest.er1
 
3420
  cat conftest.err >&5
3281
3421
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282
3422
  (exit $ac_status); } &&
3283
 
         { ac_try='test -s conftest.$ac_objext'
 
3423
         { ac_try='test -z "$ac_c_werror_flag"
 
3424
                         || test ! -s conftest.err'
 
3425
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3426
  (eval $ac_try) 2>&5
 
3427
  ac_status=$?
 
3428
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3429
  (exit $ac_status); }; } &&
 
3430
         { ac_try='test -s conftest.$ac_objext'
3284
3431
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285
3432
  (eval $ac_try) 2>&5
3286
3433
  ac_status=$?
3293
3440
 
3294
3441
ac_header_compiler=no
3295
3442
fi
3296
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3443
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3297
3444
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3298
3445
echo "${ECHO_T}$ac_header_compiler" >&6
3299
3446
 
3301
3448
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3302
3449
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3303
3450
cat >conftest.$ac_ext <<_ACEOF
3304
 
#line $LINENO "configure"
3305
3451
/* confdefs.h.  */
3306
3452
_ACEOF
3307
3453
cat confdefs.h >>conftest.$ac_ext
3319
3465
  (exit $ac_status); } >/dev/null; then
3320
3466
  if test -s conftest.err; then
3321
3467
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3468
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3322
3469
  else
3323
3470
    ac_cpp_err=
3324
3471
  fi
3338
3485
echo "${ECHO_T}$ac_header_preproc" >&6
3339
3486
 
3340
3487
# So?  What about this header?
3341
 
case $ac_header_compiler:$ac_header_preproc in
3342
 
  yes:no )
 
3488
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
3489
  yes:no: )
3343
3490
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3344
3491
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3345
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3346
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3347
 
    (
3348
 
      cat <<\_ASBOX
3349
 
## ------------------------------------ ##
3350
 
## Report this to bug-autoconf@gnu.org. ##
3351
 
## ------------------------------------ ##
3352
 
_ASBOX
3353
 
    ) |
3354
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
3492
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
3493
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
3494
    ac_header_preproc=yes
3355
3495
    ;;
3356
 
  no:yes )
 
3496
  no:yes:* )
3357
3497
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3358
3498
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3359
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3360
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
3499
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
3500
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
3501
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
3502
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
3503
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
3504
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3361
3505
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3362
3506
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3507
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
3508
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3363
3509
    (
3364
3510
      cat <<\_ASBOX
3365
 
## ------------------------------------ ##
3366
 
## Report this to bug-autoconf@gnu.org. ##
3367
 
## ------------------------------------ ##
 
3511
## ------------------------------------------ ##
 
3512
## Report this to the AC_PACKAGE_NAME lists.  ##
 
3513
## ------------------------------------------ ##
3368
3514
_ASBOX
3369
3515
    ) |
3370
3516
      sed "s/^/$as_me: WARNING:     /" >&2
3375
3521
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3376
3522
  echo $ECHO_N "(cached) $ECHO_C" >&6
3377
3523
else
3378
 
  eval "$as_ac_Header=$ac_header_preproc"
 
3524
  eval "$as_ac_Header=\$ac_header_preproc"
3379
3525
fi
3380
3526
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3381
3527
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3397
3543
  echo $ECHO_N "(cached) $ECHO_C" >&6
3398
3544
else
3399
3545
  cat >conftest.$ac_ext <<_ACEOF
3400
 
#line $LINENO "configure"
3401
3546
/* confdefs.h.  */
3402
3547
_ACEOF
3403
3548
cat confdefs.h >>conftest.$ac_ext
3460
3605
_ACEOF
3461
3606
rm -f conftest.$ac_objext
3462
3607
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3463
 
  (eval $ac_compile) 2>&5
 
3608
  (eval $ac_compile) 2>conftest.er1
3464
3609
  ac_status=$?
 
3610
  grep -v '^ *+' conftest.er1 >conftest.err
 
3611
  rm -f conftest.er1
 
3612
  cat conftest.err >&5
3465
3613
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466
3614
  (exit $ac_status); } &&
3467
 
         { ac_try='test -s conftest.$ac_objext'
 
3615
         { ac_try='test -z "$ac_c_werror_flag"
 
3616
                         || test ! -s conftest.err'
 
3617
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3618
  (eval $ac_try) 2>&5
 
3619
  ac_status=$?
 
3620
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3621
  (exit $ac_status); }; } &&
 
3622
         { ac_try='test -s conftest.$ac_objext'
3468
3623
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3469
3624
  (eval $ac_try) 2>&5
3470
3625
  ac_status=$?
3477
3632
 
3478
3633
ac_cv_c_const=no
3479
3634
fi
3480
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3635
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3481
3636
fi
3482
3637
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3483
3638
echo "${ECHO_T}$ac_cv_c_const" >&6
3501
3656
  echo $ECHO_N "(cached) $ECHO_C" >&6
3502
3657
else
3503
3658
  cat >conftest.$ac_ext <<_ACEOF
3504
 
#line $LINENO "configure"
3505
3659
/* confdefs.h.  */
3506
3660
_ACEOF
3507
3661
cat confdefs.h >>conftest.$ac_ext
3508
3662
cat >>conftest.$ac_ext <<_ACEOF
3509
3663
/* end confdefs.h.  */
 
3664
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
3665
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
3666
#define $ac_func innocuous_$ac_func
 
3667
 
3510
3668
/* System header to define __stub macros and hopefully few prototypes,
3511
3669
    which can conflict with char $ac_func (); below.
3512
3670
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3513
3671
    <limits.h> exists even on freestanding compilers.  */
 
3672
 
3514
3673
#ifdef __STDC__
3515
3674
# include <limits.h>
3516
3675
#else
3517
3676
# include <assert.h>
3518
3677
#endif
 
3678
 
 
3679
#undef $ac_func
 
3680
 
3519
3681
/* Override any gcc2 internal prototype to avoid an error.  */
3520
3682
#ifdef __cplusplus
3521
3683
extern "C"
3546
3708
_ACEOF
3547
3709
rm -f conftest.$ac_objext conftest$ac_exeext
3548
3710
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3549
 
  (eval $ac_link) 2>&5
 
3711
  (eval $ac_link) 2>conftest.er1
3550
3712
  ac_status=$?
 
3713
  grep -v '^ *+' conftest.er1 >conftest.err
 
3714
  rm -f conftest.er1
 
3715
  cat conftest.err >&5
3551
3716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552
3717
  (exit $ac_status); } &&
3553
 
         { ac_try='test -s conftest$ac_exeext'
 
3718
         { ac_try='test -z "$ac_c_werror_flag"
 
3719
                         || test ! -s conftest.err'
 
3720
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3721
  (eval $ac_try) 2>&5
 
3722
  ac_status=$?
 
3723
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3724
  (exit $ac_status); }; } &&
 
3725
         { ac_try='test -s conftest$ac_exeext'
3554
3726
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3555
3727
  (eval $ac_try) 2>&5
3556
3728
  ac_status=$?
3563
3735
 
3564
3736
eval "$as_ac_var=no"
3565
3737
fi
3566
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3738
rm -f conftest.err conftest.$ac_objext \
 
3739
      conftest$ac_exeext conftest.$ac_ext
3567
3740
fi
3568
3741
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3569
3742
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3611
3784
      # `set' does not quote correctly, so add quotes (double-quote
3612
3785
      # substitution turns \\\\ into \\, and sed turns \\ into \).
3613
3786
      sed -n \
3614
 
        "s/'/'\\\\''/g;
3615
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
3787
        "s/'/'\\\\''/g;
 
3788
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3616
3789
      ;;
3617
3790
    *)
3618
3791
      # `set' quotes correctly as required by POSIX, so do not add quotes.
3619
3792
      sed -n \
3620
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
3793
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3621
3794
      ;;
3622
3795
    esac;
3623
3796
} |
3647
3820
# trailing colons and then remove the whole line if VPATH becomes empty
3648
3821
# (actually we leave an empty line to preserve line numbers).
3649
3822
if test "x$srcdir" = x.; then
3650
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
3823
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3651
3824
s/:*\$(srcdir):*/:/;
3652
3825
s/:*\${srcdir}:*/:/;
3653
3826
s/:*@srcdir@:*/:/;
3654
 
s/^\([^=]*=[    ]*\):*/\1/;
 
3827
s/^\([^=]*=[     ]*\):*/\1/;
3655
3828
s/:*$//;
3656
 
s/^[^=]*=[      ]*$//;
 
3829
s/^[^=]*=[       ]*$//;
3657
3830
}'
3658
3831
fi
3659
3832
 
3664
3837
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3665
3838
  # 1. Remove the extension, and $U if already installed.
3666
3839
  ac_i=`echo "$ac_i" |
3667
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
3840
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3668
3841
  # 2. Add them.
3669
3842
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3670
3843
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3722
3895
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3723
3896
  set -o posix
3724
3897
fi
 
3898
DUALCASE=1; export DUALCASE # for MKS sh
3725
3899
 
3726
3900
# Support unset when possible.
3727
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
3901
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3728
3902
  as_unset=unset
3729
3903
else
3730
3904
  as_unset=false
3743
3917
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3744
3918
  LC_TELEPHONE LC_TIME
3745
3919
do
3746
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
3920
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3747
3921
    eval $as_var=C; export $as_var
3748
3922
  else
3749
3923
    $as_unset $as_var
3922
4096
if mkdir -p . 2>/dev/null; then
3923
4097
  as_mkdir_p=:
3924
4098
else
 
4099
  test -d ./-p && rmdir ./-p
3925
4100
  as_mkdir_p=false
3926
4101
fi
3927
4102
 
3928
4103
as_executable_p="test -f"
3929
4104
 
3930
4105
# Sed expression to map a string onto a valid CPP name.
3931
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
4106
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3932
4107
 
3933
4108
# Sed expression to map a string onto a valid variable name.
3934
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
4109
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3935
4110
 
3936
4111
 
3937
4112
# IFS
3958
4133
cat >&5 <<_CSEOF
3959
4134
 
3960
4135
This file was extended by $as_me, which was
3961
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
4136
generated by GNU Autoconf 2.59.  Invocation command line was
3962
4137
 
3963
4138
  CONFIG_FILES    = $CONFIG_FILES
3964
4139
  CONFIG_HEADERS  = $CONFIG_HEADERS
4002
4177
  -d, --debug      don't remove temporary files
4003
4178
      --recheck    update $as_me by reconfiguring in the same conditions
4004
4179
  --file=FILE[:TEMPLATE]
4005
 
                   instantiate the configuration file FILE
 
4180
                   instantiate the configuration file FILE
4006
4181
  --header=FILE[:TEMPLATE]
4007
 
                   instantiate the configuration header FILE
 
4182
                   instantiate the configuration header FILE
4008
4183
 
4009
4184
Configuration files:
4010
4185
$config_files
4021
4196
cat >>$CONFIG_STATUS <<_ACEOF
4022
4197
ac_cs_version="\\
4023
4198
config.status
4024
 
configured by $0, generated by GNU Autoconf 2.57,
 
4199
configured by $0, generated by GNU Autoconf 2.59,
4025
4200
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4026
4201
 
4027
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4028
 
Free Software Foundation, Inc.
 
4202
Copyright (C) 2003 Free Software Foundation, Inc.
4029
4203
This config.status script is free software; the Free Software Foundation
4030
4204
gives unlimited permission to copy, distribute and modify it."
4031
4205
srcdir=$srcdir
4235
4409
s,@STRIP@,$STRIP,;t t
4236
4410
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4237
4411
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
4412
s,@mkdir_p@,$mkdir_p,;t t
4238
4413
s,@AWK@,$AWK,;t t
4239
4414
s,@SET_MAKE@,$SET_MAKE,;t t
4240
4415
s,@am__leading_dot@,$am__leading_dot,;t t
4289
4464
      (echo ':t
4290
4465
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4291
4466
      if test -z "$ac_sed_cmds"; then
4292
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
4467
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4293
4468
      else
4294
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
4469
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4295
4470
      fi
4296
4471
      ac_sed_frag=`expr $ac_sed_frag + 1`
4297
4472
      ac_beg=$ac_end
4309
4484
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4310
4485
  case $ac_file in
4311
4486
  - | *:- | *:-:* ) # input from stdin
4312
 
        cat >$tmp/stdin
4313
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4314
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4487
        cat >$tmp/stdin
 
4488
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
4489
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4315
4490
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4316
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4491
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4317
4492
  * )   ac_file_in=$ac_file.in ;;
4318
4493
  esac
4319
4494
 
4320
4495
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4321
4496
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4322
4497
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4323
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
4324
 
         X"$ac_file" : 'X\(//\)$' \| \
4325
 
         X"$ac_file" : 'X\(/\)' \| \
4326
 
         .     : '\(.\)' 2>/dev/null ||
 
4498
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
4499
         X"$ac_file" : 'X\(//\)$' \| \
 
4500
         X"$ac_file" : 'X\(/\)' \| \
 
4501
         .     : '\(.\)' 2>/dev/null ||
4327
4502
echo X"$ac_file" |
4328
4503
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4329
4504
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4339
4514
      as_dirs="$as_dir $as_dirs"
4340
4515
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4341
4516
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4342
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4343
 
         X"$as_dir" : 'X\(//\)$' \| \
4344
 
         X"$as_dir" : 'X\(/\)' \| \
4345
 
         .     : '\(.\)' 2>/dev/null ||
 
4517
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4518
         X"$as_dir" : 'X\(//\)$' \| \
 
4519
         X"$as_dir" : 'X\(/\)' \| \
 
4520
         .     : '\(.\)' 2>/dev/null ||
4346
4521
echo X"$as_dir" |
4347
4522
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4348
4523
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4380
4555
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4381
4556
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4382
4557
esac
4383
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4384
 
# absolute.
4385
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4386
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4387
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4388
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
4558
 
 
4559
# Do not use `cd foo && pwd` to compute absolute paths, because
 
4560
# the directories may not exist.
 
4561
case `pwd` in
 
4562
.) ac_abs_builddir="$ac_dir";;
 
4563
*)
 
4564
  case "$ac_dir" in
 
4565
  .) ac_abs_builddir=`pwd`;;
 
4566
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
4567
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
4568
  esac;;
 
4569
esac
 
4570
case $ac_abs_builddir in
 
4571
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4572
*)
 
4573
  case ${ac_top_builddir}. in
 
4574
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
4575
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4576
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
4577
  esac;;
 
4578
esac
 
4579
case $ac_abs_builddir in
 
4580
.) ac_abs_srcdir=$ac_srcdir;;
 
4581
*)
 
4582
  case $ac_srcdir in
 
4583
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
4584
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
4585
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
4586
  esac;;
 
4587
esac
 
4588
case $ac_abs_builddir in
 
4589
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
4590
*)
 
4591
  case $ac_top_srcdir in
 
4592
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
4593
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
4594
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
4595
  esac;;
 
4596
esac
4389
4597
 
4390
4598
 
4391
4599
  case $INSTALL in
4407
4615
    configure_input="$ac_file.  "
4408
4616
  fi
4409
4617
  configure_input=$configure_input"Generated from `echo $ac_file_in |
4410
 
                                     sed 's,.*/,,'` by configure."
 
4618
                                     sed 's,.*/,,'` by configure."
4411
4619
 
4412
4620
  # First look for the input files in the build tree, otherwise in the
4413
4621
  # src tree.
4416
4624
      case $f in
4417
4625
      -) echo $tmp/stdin ;;
4418
4626
      [\\/$]*)
4419
 
         # Absolute (can't be DOS-style, as IFS=:)
4420
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4627
         # Absolute (can't be DOS-style, as IFS=:)
 
4628
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4421
4629
echo "$as_me: error: cannot find input file: $f" >&2;}
4422
4630
   { (exit 1); exit 1; }; }
4423
 
         echo $f;;
 
4631
         echo "$f";;
4424
4632
      *) # Relative
4425
 
         if test -f "$f"; then
4426
 
           # Build tree
4427
 
           echo $f
4428
 
         elif test -f "$srcdir/$f"; then
4429
 
           # Source tree
4430
 
           echo $srcdir/$f
4431
 
         else
4432
 
           # /dev/null tree
4433
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4633
         if test -f "$f"; then
 
4634
           # Build tree
 
4635
           echo "$f"
 
4636
         elif test -f "$srcdir/$f"; then
 
4637
           # Source tree
 
4638
           echo "$srcdir/$f"
 
4639
         else
 
4640
           # /dev/null tree
 
4641
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4434
4642
echo "$as_me: error: cannot find input file: $f" >&2;}
4435
4643
   { (exit 1); exit 1; }; }
4436
 
         fi;;
 
4644
         fi;;
4437
4645
      esac
4438
4646
    done` || { (exit 1); exit 1; }
4439
4647
_ACEOF
4475
4683
# NAME is the cpp macro being defined and VALUE is the value it is being given.
4476
4684
#
4477
4685
# ac_d sets the value in "#define NAME VALUE" lines.
4478
 
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
4479
 
ac_dB='[        ].*$,\1#\2'
 
4686
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
 
4687
ac_dB='[         ].*$,\1#\2'
4480
4688
ac_dC=' '
4481
4689
ac_dD=',;t'
4482
4690
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4483
 
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
4691
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
4484
4692
ac_uB='$,\1#\2define\3'
4485
4693
ac_uC=' '
4486
4694
ac_uD=',;t'
4489
4697
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4490
4698
  case $ac_file in
4491
4699
  - | *:- | *:-:* ) # input from stdin
4492
 
        cat >$tmp/stdin
4493
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4494
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4700
        cat >$tmp/stdin
 
4701
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
4702
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4495
4703
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4496
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4704
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4497
4705
  * )   ac_file_in=$ac_file.in ;;
4498
4706
  esac
4499
4707
 
4507
4715
      case $f in
4508
4716
      -) echo $tmp/stdin ;;
4509
4717
      [\\/$]*)
4510
 
         # Absolute (can't be DOS-style, as IFS=:)
4511
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4718
         # Absolute (can't be DOS-style, as IFS=:)
 
4719
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4512
4720
echo "$as_me: error: cannot find input file: $f" >&2;}
4513
4721
   { (exit 1); exit 1; }; }
4514
 
         echo $f;;
 
4722
         # Do quote $f, to prevent DOS paths from being IFS'd.
 
4723
         echo "$f";;
4515
4724
      *) # Relative
4516
 
         if test -f "$f"; then
4517
 
           # Build tree
4518
 
           echo $f
4519
 
         elif test -f "$srcdir/$f"; then
4520
 
           # Source tree
4521
 
           echo $srcdir/$f
4522
 
         else
4523
 
           # /dev/null tree
4524
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4725
         if test -f "$f"; then
 
4726
           # Build tree
 
4727
           echo "$f"
 
4728
         elif test -f "$srcdir/$f"; then
 
4729
           # Source tree
 
4730
           echo "$srcdir/$f"
 
4731
         else
 
4732
           # /dev/null tree
 
4733
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4525
4734
echo "$as_me: error: cannot find input file: $f" >&2;}
4526
4735
   { (exit 1); exit 1; }; }
4527
 
         fi;;
 
4736
         fi;;
4528
4737
      esac
4529
4738
    done` || { (exit 1); exit 1; }
4530
4739
  # Remove the trailing spaces.
4531
 
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
 
4740
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
4532
4741
 
4533
4742
_ACEOF
4534
4743
 
4551
4760
s,[\\$`],\\&,g
4552
4761
t clear
4553
4762
: clear
4554
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
4763
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4555
4764
t end
4556
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
4765
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4557
4766
: end
4558
4767
_ACEOF
4559
4768
# If some macros were called several times there might be several times
4567
4776
# example, in the case of _POSIX_SOURCE, which is predefined and required
4568
4777
# on some systems where configure will not decide to define it.
4569
4778
cat >>conftest.undefs <<\_ACEOF
4570
 
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
4779
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4571
4780
_ACEOF
4572
4781
 
4573
4782
# Break up conftest.defines because some shells have a limit on the size
4574
4783
# of here documents, and old seds have small limits too (100 cmds).
4575
4784
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4576
 
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
4785
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4577
4786
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4578
4787
echo '  :' >>$CONFIG_STATUS
4579
4788
rm -f conftest.tail
4582
4791
  # Write a limited-size here document to $tmp/defines.sed.
4583
4792
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4584
4793
  # Speed up: don't consider the non `#define' lines.
4585
 
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
4794
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
4586
4795
  # Work around the forget-to-reset-the-flag bug.
4587
4796
  echo 't clr' >>$CONFIG_STATUS
4588
4797
  echo ': clr' >>$CONFIG_STATUS
4609
4818
  # Write a limited-size here document to $tmp/undefs.sed.
4610
4819
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4611
4820
  # Speed up: don't consider the non `#undef'
4612
 
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
4821
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
4613
4822
  # Work around the forget-to-reset-the-flag bug.
4614
4823
  echo 't clr' >>$CONFIG_STATUS
4615
4824
  echo ': clr' >>$CONFIG_STATUS
4643
4852
    else
4644
4853
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4645
4854
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4646
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
4647
 
         X"$ac_file" : 'X\(//\)$' \| \
4648
 
         X"$ac_file" : 'X\(/\)' \| \
4649
 
         .     : '\(.\)' 2>/dev/null ||
 
4855
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
4856
         X"$ac_file" : 'X\(//\)$' \| \
 
4857
         X"$ac_file" : 'X\(/\)' \| \
 
4858
         .     : '\(.\)' 2>/dev/null ||
4650
4859
echo X"$ac_file" |
4651
4860
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4652
4861
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4662
4871
      as_dirs="$as_dir $as_dirs"
4663
4872
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4664
4873
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4665
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4666
 
         X"$as_dir" : 'X\(//\)$' \| \
4667
 
         X"$as_dir" : 'X\(/\)' \| \
4668
 
         .     : '\(.\)' 2>/dev/null ||
 
4874
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4875
         X"$as_dir" : 'X\(//\)$' \| \
 
4876
         X"$as_dir" : 'X\(/\)' \| \
 
4877
         .     : '\(.\)' 2>/dev/null ||
4669
4878
echo X"$as_dir" |
4670
4879
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4671
4880
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4697
4906
done
4698
4907
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4699
4908
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4700
 
         X$ac_file : 'X\(//\)[^/]' \| \
4701
 
         X$ac_file : 'X\(//\)$' \| \
4702
 
         X$ac_file : 'X\(/\)' \| \
4703
 
         .     : '\(.\)' 2>/dev/null ||
 
4909
         X$ac_file : 'X\(//\)[^/]' \| \
 
4910
         X$ac_file : 'X\(//\)$' \| \
 
4911
         X$ac_file : 'X\(/\)' \| \
 
4912
         .     : '\(.\)' 2>/dev/null ||
4704
4913
echo X$ac_file |
4705
4914
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4706
4915
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4719
4928
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4720
4929
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4721
4930
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4722
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
4723
 
         X"$ac_dest" : 'X\(//\)$' \| \
4724
 
         X"$ac_dest" : 'X\(/\)' \| \
4725
 
         .     : '\(.\)' 2>/dev/null ||
 
4931
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
4932
         X"$ac_dest" : 'X\(//\)$' \| \
 
4933
         X"$ac_dest" : 'X\(/\)' \| \
 
4934
         .     : '\(.\)' 2>/dev/null ||
4726
4935
echo X"$ac_dest" |
4727
4936
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4728
4937
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4729
4938
          /^X\(\/\/\)$/{ s//\1/; q; }
4730
4939
          /^X\(\/\).*/{ s//\1/; q; }
4731
4940
          s/.*/./; q'`
 
4941
  { if $as_mkdir_p; then
 
4942
    mkdir -p "$ac_dir"
 
4943
  else
 
4944
    as_dir="$ac_dir"
 
4945
    as_dirs=
 
4946
    while test ! -d "$as_dir"; do
 
4947
      as_dirs="$as_dir $as_dirs"
 
4948
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
4949
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4950
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4951
         X"$as_dir" : 'X\(//\)$' \| \
 
4952
         X"$as_dir" : 'X\(/\)' \| \
 
4953
         .     : '\(.\)' 2>/dev/null ||
 
4954
echo X"$as_dir" |
 
4955
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4956
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4957
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4958
          /^X\(\/\).*/{ s//\1/; q; }
 
4959
          s/.*/./; q'`
 
4960
    done
 
4961
    test ! -n "$as_dirs" || mkdir $as_dirs
 
4962
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
4963
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
4964
   { (exit 1); exit 1; }; }; }
 
4965
 
4732
4966
  ac_builddir=.
4733
4967
 
4734
4968
if test "$ac_dir" != .; then
4754
4988
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4755
4989
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4756
4990
esac
4757
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4758
 
# absolute.
4759
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4760
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4761
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4762
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
4991
 
 
4992
# Do not use `cd foo && pwd` to compute absolute paths, because
 
4993
# the directories may not exist.
 
4994
case `pwd` in
 
4995
.) ac_abs_builddir="$ac_dir";;
 
4996
*)
 
4997
  case "$ac_dir" in
 
4998
  .) ac_abs_builddir=`pwd`;;
 
4999
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
5000
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
5001
  esac;;
 
5002
esac
 
5003
case $ac_abs_builddir in
 
5004
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5005
*)
 
5006
  case ${ac_top_builddir}. in
 
5007
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
5008
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5009
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
5010
  esac;;
 
5011
esac
 
5012
case $ac_abs_builddir in
 
5013
.) ac_abs_srcdir=$ac_srcdir;;
 
5014
*)
 
5015
  case $ac_srcdir in
 
5016
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
5017
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
5018
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
5019
  esac;;
 
5020
esac
 
5021
case $ac_abs_builddir in
 
5022
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5023
*)
 
5024
  case $ac_top_srcdir in
 
5025
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
5026
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5027
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
5028
  esac;;
 
5029
esac
4763
5030
 
4764
5031
 
4765
5032
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4777
5044
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4778
5045
    dirpart=`(dirname "$mf") 2>/dev/null ||
4779
5046
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4780
 
         X"$mf" : 'X\(//\)[^/]' \| \
4781
 
         X"$mf" : 'X\(//\)$' \| \
4782
 
         X"$mf" : 'X\(/\)' \| \
4783
 
         .     : '\(.\)' 2>/dev/null ||
 
5047
         X"$mf" : 'X\(//\)[^/]' \| \
 
5048
         X"$mf" : 'X\(//\)$' \| \
 
5049
         X"$mf" : 'X\(/\)' \| \
 
5050
         .     : '\(.\)' 2>/dev/null ||
4784
5051
echo X"$mf" |
4785
5052
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4786
5053
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4793
5060
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4794
5061
  # Extract the definition of DEP_FILES from the Makefile without
4795
5062
  # running `make'.
4796
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
5063
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4797
5064
  test -z "$DEPDIR" && continue
4798
5065
  # When using ansi2knr, U may be empty or an underscore; expand it
4799
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
 
5066
  U=`sed -n 's/^U = //p' < "$mf"`
4800
5067
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4801
5068
  # We invoke sed twice because it is the simplest approach to
4802
5069
  # changing $(DEPDIR) to its actual value in the expansion.
4803
 
  for file in `sed -n -e '
 
5070
  for file in `sed -n '
4804
5071
    /^DEP_FILES = .*\\\\$/ {
4805
5072
      s/^DEP_FILES = //
4806
5073
      :loop
4816
5083
    test -f "$dirpart/$file" && continue
4817
5084
    fdir=`(dirname "$file") 2>/dev/null ||
4818
5085
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4819
 
         X"$file" : 'X\(//\)[^/]' \| \
4820
 
         X"$file" : 'X\(//\)$' \| \
4821
 
         X"$file" : 'X\(/\)' \| \
4822
 
         .     : '\(.\)' 2>/dev/null ||
 
5086
         X"$file" : 'X\(//\)[^/]' \| \
 
5087
         X"$file" : 'X\(//\)$' \| \
 
5088
         X"$file" : 'X\(/\)' \| \
 
5089
         .     : '\(.\)' 2>/dev/null ||
4823
5090
echo X"$file" |
4824
5091
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4825
5092
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4835
5102
      as_dirs="$as_dir $as_dirs"
4836
5103
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4837
5104
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4838
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4839
 
         X"$as_dir" : 'X\(//\)$' \| \
4840
 
         X"$as_dir" : 'X\(/\)' \| \
4841
 
         .     : '\(.\)' 2>/dev/null ||
 
5105
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5106
         X"$as_dir" : 'X\(//\)$' \| \
 
5107
         X"$as_dir" : 'X\(/\)' \| \
 
5108
         .     : '\(.\)' 2>/dev/null ||
4842
5109
echo X"$as_dir" |
4843
5110
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4844
5111
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }