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

« back to all changes in this revision

Viewing changes to unicode/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 PERL CPP EGREP unicode UPDATE_UNICODE_TRUE UPDATE_UNICODE_FALSE unicode_xtest 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 PERL CPP EGREP unicode UPDATE_UNICODE_TRUE UPDATE_UNICODE_FALSE unicode_xtest 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
  --enable-mimecharset=charset   Default MIME charset to set on new messages
850
851
  --disable-unicode              Disable all of unicode except iso-8859-1
851
852
  --enable-unicode=chset,chset   Comma-sep list of unicode charsets to use
896
897
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
897
898
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
898
899
esac
899
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
900
 
# absolute.
901
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
902
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
903
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
904
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
900
 
 
901
# Do not use `cd foo && pwd` to compute absolute paths, because
 
902
# the directories may not exist.
 
903
case `pwd` in
 
904
.) ac_abs_builddir="$ac_dir";;
 
905
*)
 
906
  case "$ac_dir" in
 
907
  .) ac_abs_builddir=`pwd`;;
 
908
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
909
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
910
  esac;;
 
911
esac
 
912
case $ac_abs_builddir in
 
913
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
914
*)
 
915
  case ${ac_top_builddir}. in
 
916
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
917
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
918
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
919
  esac;;
 
920
esac
 
921
case $ac_abs_builddir in
 
922
.) ac_abs_srcdir=$ac_srcdir;;
 
923
*)
 
924
  case $ac_srcdir in
 
925
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
926
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
927
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
928
  esac;;
 
929
esac
 
930
case $ac_abs_builddir in
 
931
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
932
*)
 
933
  case $ac_top_srcdir in
 
934
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
935
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
936
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
937
  esac;;
 
938
esac
905
939
 
906
940
    cd $ac_dir
907
941
    # Check for guested configure; otherwise get Cygnus style configure.
912
946
      echo
913
947
      $SHELL $ac_srcdir/configure  --help=recursive
914
948
    elif test -f $ac_srcdir/configure.ac ||
915
 
           test -f $ac_srcdir/configure.in; then
 
949
           test -f $ac_srcdir/configure.in; then
916
950
      echo
917
951
      $ac_configure --help
918
952
    else
926
960
if $ac_init_version; then
927
961
  cat <<\_ACEOF
928
962
 
929
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
930
 
Free Software Foundation, Inc.
 
963
Copyright (C) 2003 Free Software Foundation, Inc.
931
964
This configure script is free software; the Free Software Foundation
932
965
gives unlimited permission to copy, distribute and modify it.
933
966
_ACEOF
939
972
running configure, to aid debugging if configure makes a mistake.
940
973
 
941
974
It was created by $as_me, which was
942
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
975
generated by GNU Autoconf 2.59.  Invocation command line was
943
976
 
944
977
  $ $0 $@
945
978
 
1016
1049
    2)
1017
1050
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1018
1051
      if test $ac_must_keep_next = true; then
1019
 
        ac_must_keep_next=false # Got value, back to normal.
 
1052
        ac_must_keep_next=false # Got value, back to normal.
1020
1053
      else
1021
 
        case $ac_arg in
1022
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1023
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1024
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1025
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1026
 
            case "$ac_configure_args0 " in
1027
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1028
 
            esac
1029
 
            ;;
1030
 
          -* ) ac_must_keep_next=true ;;
1031
 
        esac
 
1054
        case $ac_arg in
 
1055
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1056
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1057
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1058
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1059
            case "$ac_configure_args0 " in
 
1060
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1061
            esac
 
1062
            ;;
 
1063
          -* ) ac_must_keep_next=true ;;
 
1064
        esac
1032
1065
      fi
1033
1066
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1034
1067
      # Get rid of the leading space.
1062
1095
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1063
1096
    *ac_space=\ *)
1064
1097
      sed -n \
1065
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1066
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1098
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1099
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1067
1100
      ;;
1068
1101
    *)
1069
1102
      sed -n \
1070
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1103
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1071
1104
      ;;
1072
1105
    esac;
1073
1106
}
1096
1129
      for ac_var in $ac_subst_files
1097
1130
      do
1098
1131
        eval ac_val=$`echo $ac_var`
1099
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1132
        echo "$ac_var='"'"'$ac_val'"'"'"
1100
1133
      done | sort
1101
1134
      echo
1102
1135
    fi
1115
1148
      echo "$as_me: caught signal $ac_signal"
1116
1149
    echo "$as_me: exit $exit_status"
1117
1150
  } >&5
1118
 
  rm -f core core.* *.core &&
 
1151
  rm -f core *.core &&
1119
1152
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1120
1153
    exit $exit_status
1121
1154
     ' 0
1195
1228
# value.
1196
1229
ac_cache_corrupted=false
1197
1230
for ac_var in `(set) 2>&1 |
1198
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1231
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1199
1232
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1200
1233
  eval ac_new_set=\$ac_env_${ac_var}_set
1201
1234
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1212
1245
    ,);;
1213
1246
    *)
1214
1247
      if test "x$ac_old_val" != "x$ac_new_val"; then
1215
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1248
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1216
1249
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1217
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1250
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1218
1251
echo "$as_me:   former value:  $ac_old_val" >&2;}
1219
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1252
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1220
1253
echo "$as_me:   current value: $ac_new_val" >&2;}
1221
 
        ac_cache_corrupted=:
 
1254
        ac_cache_corrupted=:
1222
1255
      fi;;
1223
1256
  esac
1224
1257
  # Pass precious variables to config.status.
1268
1301
 
1269
1302
LPATH="$PATH:/usr/local/bin"
1270
1303
 
1271
 
am__api_version="1.7"
 
1304
am__api_version="1.8"
1272
1305
ac_aux_dir=
1273
1306
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1274
1307
  if test -f $ac_dir/install-sh; then
1305
1338
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1306
1339
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1307
1340
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1341
# OS/2's system install, which has a completely different semantic
1308
1342
# ./install, which can be erroneously created by make from ./install.sh.
1309
1343
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1310
1344
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1321
1355
case $as_dir/ in
1322
1356
  ./ | .// | /cC/* | \
1323
1357
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1358
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1324
1359
  /usr/ucb/* ) ;;
1325
1360
  *)
1326
1361
    # OSF1 and SCO ODT 3.0 have their own names for install.
1328
1363
    # by default.
1329
1364
    for ac_prog in ginstall scoinst install; do
1330
1365
      for ac_exec_ext in '' $ac_executable_extensions; do
1331
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1332
 
          if test $ac_prog = install &&
1333
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1334
 
            # AIX install.  It has an incompatible calling convention.
1335
 
            :
1336
 
          elif test $ac_prog = install &&
1337
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1338
 
            # program-specific install script used by HP pwplus--don't use.
1339
 
            :
1340
 
          else
1341
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1342
 
            break 3
1343
 
          fi
1344
 
        fi
 
1366
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1367
          if test $ac_prog = install &&
 
1368
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1369
            # AIX install.  It has an incompatible calling convention.
 
1370
            :
 
1371
          elif test $ac_prog = install &&
 
1372
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1373
            # program-specific install script used by HP pwplus--don't use.
 
1374
            :
 
1375
          else
 
1376
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1377
            break 3
 
1378
          fi
 
1379
        fi
1345
1380
      done
1346
1381
    done
1347
1382
    ;;
1429
1464
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1430
1465
rm conftest.sed
1431
1466
 
1432
 
 
1433
1467
# expand $ac_aux_dir to an absolute path
1434
1468
am_aux_dir=`cd $ac_aux_dir && pwd`
1435
1469
 
1443
1477
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1444
1478
fi
1445
1479
 
 
1480
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1481
  # Keeping the `.' argument allows $(mkdir_p) to be used without
 
1482
  # argument.  Indeed, we sometimes output rules like
 
1483
  #   $(mkdir_p) $(somedir)
 
1484
  # where $(somedir) is conditionally defined.
 
1485
  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
 
1486
  # expensive solution, as it forces Make to start a sub-shell.)
 
1487
  mkdir_p='mkdir -p -- .'
 
1488
else
 
1489
  # On NextStep and OpenStep, the `mkdir' command does not
 
1490
  # recognize any option.  It will interpret all options as
 
1491
  # directories to create, and then abort because `.' already
 
1492
  # exists.
 
1493
  for d in ./-p ./--version;
 
1494
  do
 
1495
    test -d $d && rmdir $d
 
1496
  done
 
1497
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1498
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1499
    mkdir_p='$(mkinstalldirs)'
 
1500
  else
 
1501
    mkdir_p='$(install_sh) -d'
 
1502
  fi
 
1503
fi
 
1504
 
1446
1505
for ac_prog in gawk mawk nawk awk
1447
1506
do
1448
1507
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1485
1544
 
1486
1545
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1487
1546
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1488
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1547
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1489
1548
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1490
1549
  echo $ECHO_N "(cached) $ECHO_C" >&6
1491
1550
else
1521
1580
fi
1522
1581
rmdir .tst 2>/dev/null
1523
1582
 
1524
 
 # test to see if srcdir already configured
 
1583
# test to see if srcdir already configured
1525
1584
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1526
1585
   test -f $srcdir/config.status; then
1527
1586
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1663
1722
 
1664
1723
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1665
1724
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1666
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1725
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1667
1726
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1668
1727
  echo $ECHO_N "(cached) $ECHO_C" >&6
1669
1728
else
1701
1760
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1702
1761
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1703
1762
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1763
# OS/2's system install, which has a completely different semantic
1704
1764
# ./install, which can be erroneously created by make from ./install.sh.
1705
1765
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1706
1766
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1717
1777
case $as_dir/ in
1718
1778
  ./ | .// | /cC/* | \
1719
1779
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1780
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1720
1781
  /usr/ucb/* ) ;;
1721
1782
  *)
1722
1783
    # OSF1 and SCO ODT 3.0 have their own names for install.
1724
1785
    # by default.
1725
1786
    for ac_prog in ginstall scoinst install; do
1726
1787
      for ac_exec_ext in '' $ac_executable_extensions; do
1727
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1728
 
          if test $ac_prog = install &&
1729
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1730
 
            # AIX install.  It has an incompatible calling convention.
1731
 
            :
1732
 
          elif test $ac_prog = install &&
1733
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1734
 
            # program-specific install script used by HP pwplus--don't use.
1735
 
            :
1736
 
          else
1737
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1738
 
            break 3
1739
 
          fi
1740
 
        fi
 
1788
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1789
          if test $ac_prog = install &&
 
1790
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1791
            # AIX install.  It has an incompatible calling convention.
 
1792
            :
 
1793
          elif test $ac_prog = install &&
 
1794
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1795
            # program-specific install script used by HP pwplus--don't use.
 
1796
            :
 
1797
          else
 
1798
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1799
            break 3
 
1800
          fi
 
1801
        fi
1741
1802
      done
1742
1803
    done
1743
1804
    ;;
2194
2255
  (exit $ac_status); }
2195
2256
 
2196
2257
cat >conftest.$ac_ext <<_ACEOF
2197
 
#line $LINENO "configure"
2198
2258
/* confdefs.h.  */
2199
2259
_ACEOF
2200
2260
cat confdefs.h >>conftest.$ac_ext
2214
2274
# Try to create an executable without -o first, disregard a.out.
2215
2275
# It will help us diagnose broken compilers, and finding out an intuition
2216
2276
# of exeext.
2217
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2218
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
2277
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2278
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2219
2279
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2220
2280
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2221
2281
  (eval $ac_link_default) 2>&5
2235
2295
  test -f "$ac_file" || continue
2236
2296
  case $ac_file in
2237
2297
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2238
 
        ;;
 
2298
        ;;
2239
2299
    conftest.$ac_ext )
2240
 
        # This is the source file.
2241
 
        ;;
 
2300
        # This is the source file.
 
2301
        ;;
2242
2302
    [ab].out )
2243
 
        # We found the default executable, but exeext='' is most
2244
 
        # certainly right.
2245
 
        break;;
 
2303
        # We found the default executable, but exeext='' is most
 
2304
        # certainly right.
 
2305
        break;;
2246
2306
    *.* )
2247
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2248
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2249
 
        # but it would be cool to find out if it's true.  Does anybody
2250
 
        # maintain Libtool? --akim.
2251
 
        export ac_cv_exeext
2252
 
        break;;
 
2307
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2308
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2309
        # but it would be cool to find out if it's true.  Does anybody
 
2310
        # maintain Libtool? --akim.
 
2311
        export ac_cv_exeext
 
2312
        break;;
2253
2313
    * )
2254
 
        break;;
 
2314
        break;;
2255
2315
  esac
2256
2316
done
2257
2317
else
2325
2385
  case $ac_file in
2326
2386
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2327
2387
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2328
 
          export ac_cv_exeext
2329
 
          break;;
 
2388
          export ac_cv_exeext
 
2389
          break;;
2330
2390
    * ) break;;
2331
2391
  esac
2332
2392
done
2351
2411
  echo $ECHO_N "(cached) $ECHO_C" >&6
2352
2412
else
2353
2413
  cat >conftest.$ac_ext <<_ACEOF
2354
 
#line $LINENO "configure"
2355
2414
/* confdefs.h.  */
2356
2415
_ACEOF
2357
2416
cat confdefs.h >>conftest.$ac_ext
2402
2461
  echo $ECHO_N "(cached) $ECHO_C" >&6
2403
2462
else
2404
2463
  cat >conftest.$ac_ext <<_ACEOF
2405
 
#line $LINENO "configure"
2406
2464
/* confdefs.h.  */
2407
2465
_ACEOF
2408
2466
cat confdefs.h >>conftest.$ac_ext
2422
2480
_ACEOF
2423
2481
rm -f conftest.$ac_objext
2424
2482
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2425
 
  (eval $ac_compile) 2>&5
 
2483
  (eval $ac_compile) 2>conftest.er1
2426
2484
  ac_status=$?
 
2485
  grep -v '^ *+' conftest.er1 >conftest.err
 
2486
  rm -f conftest.er1
 
2487
  cat conftest.err >&5
2427
2488
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428
2489
  (exit $ac_status); } &&
2429
 
         { ac_try='test -s conftest.$ac_objext'
 
2490
         { ac_try='test -z "$ac_c_werror_flag"
 
2491
                         || test ! -s conftest.err'
 
2492
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2493
  (eval $ac_try) 2>&5
 
2494
  ac_status=$?
 
2495
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2496
  (exit $ac_status); }; } &&
 
2497
         { ac_try='test -s conftest.$ac_objext'
2430
2498
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2431
2499
  (eval $ac_try) 2>&5
2432
2500
  ac_status=$?
2439
2507
 
2440
2508
ac_compiler_gnu=no
2441
2509
fi
2442
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2510
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2443
2511
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2444
2512
 
2445
2513
fi
2455
2523
  echo $ECHO_N "(cached) $ECHO_C" >&6
2456
2524
else
2457
2525
  cat >conftest.$ac_ext <<_ACEOF
2458
 
#line $LINENO "configure"
2459
2526
/* confdefs.h.  */
2460
2527
_ACEOF
2461
2528
cat confdefs.h >>conftest.$ac_ext
2472
2539
_ACEOF
2473
2540
rm -f conftest.$ac_objext
2474
2541
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2475
 
  (eval $ac_compile) 2>&5
 
2542
  (eval $ac_compile) 2>conftest.er1
2476
2543
  ac_status=$?
 
2544
  grep -v '^ *+' conftest.er1 >conftest.err
 
2545
  rm -f conftest.er1
 
2546
  cat conftest.err >&5
2477
2547
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478
2548
  (exit $ac_status); } &&
2479
 
         { ac_try='test -s conftest.$ac_objext'
 
2549
         { ac_try='test -z "$ac_c_werror_flag"
 
2550
                         || test ! -s conftest.err'
 
2551
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2552
  (eval $ac_try) 2>&5
 
2553
  ac_status=$?
 
2554
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2555
  (exit $ac_status); }; } &&
 
2556
         { ac_try='test -s conftest.$ac_objext'
2480
2557
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481
2558
  (eval $ac_try) 2>&5
2482
2559
  ac_status=$?
2489
2566
 
2490
2567
ac_cv_prog_cc_g=no
2491
2568
fi
2492
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2569
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2493
2570
fi
2494
2571
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2495
2572
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2516
2593
  ac_cv_prog_cc_stdc=no
2517
2594
ac_save_CC=$CC
2518
2595
cat >conftest.$ac_ext <<_ACEOF
2519
 
#line $LINENO "configure"
2520
2596
/* confdefs.h.  */
2521
2597
_ACEOF
2522
2598
cat confdefs.h >>conftest.$ac_ext
2544
2620
  va_end (v);
2545
2621
  return s;
2546
2622
}
 
2623
 
 
2624
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2625
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2626
   These don't provoke an error unfortunately, instead are silently treated
 
2627
   as 'x'.  The following induces an error, until -std1 is added to get
 
2628
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2629
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2630
   that's true only with -std1.  */
 
2631
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2632
 
2547
2633
int test (int i, double x);
2548
2634
struct s1 {int (*f) (int a);};
2549
2635
struct s2 {int (*f) (double a);};
2570
2656
  CC="$ac_save_CC $ac_arg"
2571
2657
  rm -f conftest.$ac_objext
2572
2658
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2573
 
  (eval $ac_compile) 2>&5
 
2659
  (eval $ac_compile) 2>conftest.er1
2574
2660
  ac_status=$?
 
2661
  grep -v '^ *+' conftest.er1 >conftest.err
 
2662
  rm -f conftest.er1
 
2663
  cat conftest.err >&5
2575
2664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576
2665
  (exit $ac_status); } &&
2577
 
         { ac_try='test -s conftest.$ac_objext'
 
2666
         { ac_try='test -z "$ac_c_werror_flag"
 
2667
                         || test ! -s conftest.err'
 
2668
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2669
  (eval $ac_try) 2>&5
 
2670
  ac_status=$?
 
2671
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2672
  (exit $ac_status); }; } &&
 
2673
         { ac_try='test -s conftest.$ac_objext'
2578
2674
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2579
2675
  (eval $ac_try) 2>&5
2580
2676
  ac_status=$?
2587
2683
sed 's/^/| /' conftest.$ac_ext >&5
2588
2684
 
2589
2685
fi
2590
 
rm -f conftest.$ac_objext
 
2686
rm -f conftest.err conftest.$ac_objext
2591
2687
done
2592
2688
rm -f conftest.$ac_ext conftest.$ac_objext
2593
2689
CC=$ac_save_CC
2615
2711
_ACEOF
2616
2712
rm -f conftest.$ac_objext
2617
2713
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2618
 
  (eval $ac_compile) 2>&5
 
2714
  (eval $ac_compile) 2>conftest.er1
2619
2715
  ac_status=$?
 
2716
  grep -v '^ *+' conftest.er1 >conftest.err
 
2717
  rm -f conftest.er1
 
2718
  cat conftest.err >&5
2620
2719
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621
2720
  (exit $ac_status); } &&
2622
 
         { ac_try='test -s conftest.$ac_objext'
 
2721
         { ac_try='test -z "$ac_c_werror_flag"
 
2722
                         || test ! -s conftest.err'
 
2723
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2724
  (eval $ac_try) 2>&5
 
2725
  ac_status=$?
 
2726
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2727
  (exit $ac_status); }; } &&
 
2728
         { ac_try='test -s conftest.$ac_objext'
2623
2729
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2624
2730
  (eval $ac_try) 2>&5
2625
2731
  ac_status=$?
2626
2732
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627
2733
  (exit $ac_status); }; }; then
2628
2734
  for ac_declaration in \
2629
 
   ''\
2630
 
   '#include <stdlib.h>' \
 
2735
   '' \
2631
2736
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2632
2737
   'extern "C" void std::exit (int); using std::exit;' \
2633
2738
   'extern "C" void exit (int) throw ();' \
2635
2740
   'void exit (int);'
2636
2741
do
2637
2742
  cat >conftest.$ac_ext <<_ACEOF
2638
 
#line $LINENO "configure"
2639
2743
/* confdefs.h.  */
2640
2744
_ACEOF
2641
2745
cat confdefs.h >>conftest.$ac_ext
2642
2746
cat >>conftest.$ac_ext <<_ACEOF
2643
2747
/* end confdefs.h.  */
 
2748
$ac_declaration
2644
2749
#include <stdlib.h>
2645
 
$ac_declaration
2646
2750
int
2647
2751
main ()
2648
2752
{
2653
2757
_ACEOF
2654
2758
rm -f conftest.$ac_objext
2655
2759
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656
 
  (eval $ac_compile) 2>&5
 
2760
  (eval $ac_compile) 2>conftest.er1
2657
2761
  ac_status=$?
 
2762
  grep -v '^ *+' conftest.er1 >conftest.err
 
2763
  rm -f conftest.er1
 
2764
  cat conftest.err >&5
2658
2765
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659
2766
  (exit $ac_status); } &&
2660
 
         { ac_try='test -s conftest.$ac_objext'
 
2767
         { ac_try='test -z "$ac_c_werror_flag"
 
2768
                         || test ! -s conftest.err'
 
2769
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2770
  (eval $ac_try) 2>&5
 
2771
  ac_status=$?
 
2772
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2773
  (exit $ac_status); }; } &&
 
2774
         { ac_try='test -s conftest.$ac_objext'
2661
2775
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2662
2776
  (eval $ac_try) 2>&5
2663
2777
  ac_status=$?
2670
2784
 
2671
2785
continue
2672
2786
fi
2673
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2787
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2674
2788
  cat >conftest.$ac_ext <<_ACEOF
2675
 
#line $LINENO "configure"
2676
2789
/* confdefs.h.  */
2677
2790
_ACEOF
2678
2791
cat confdefs.h >>conftest.$ac_ext
2689
2802
_ACEOF
2690
2803
rm -f conftest.$ac_objext
2691
2804
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2692
 
  (eval $ac_compile) 2>&5
 
2805
  (eval $ac_compile) 2>conftest.er1
2693
2806
  ac_status=$?
 
2807
  grep -v '^ *+' conftest.er1 >conftest.err
 
2808
  rm -f conftest.er1
 
2809
  cat conftest.err >&5
2694
2810
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695
2811
  (exit $ac_status); } &&
2696
 
         { ac_try='test -s conftest.$ac_objext'
 
2812
         { ac_try='test -z "$ac_c_werror_flag"
 
2813
                         || test ! -s conftest.err'
 
2814
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2815
  (eval $ac_try) 2>&5
 
2816
  ac_status=$?
 
2817
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2818
  (exit $ac_status); }; } &&
 
2819
         { ac_try='test -s conftest.$ac_objext'
2697
2820
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2698
2821
  (eval $ac_try) 2>&5
2699
2822
  ac_status=$?
2705
2828
sed 's/^/| /' conftest.$ac_ext >&5
2706
2829
 
2707
2830
fi
2708
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2831
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2709
2832
done
2710
2833
rm -f conftest*
2711
2834
if test -n "$ac_declaration"; then
2719
2842
sed 's/^/| /' conftest.$ac_ext >&5
2720
2843
 
2721
2844
fi
2722
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2845
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2723
2846
ac_ext=c
2724
2847
ac_cpp='$CPP $CPPFLAGS'
2725
2848
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2832
2955
    : > sub/conftest.c
2833
2956
    for i in 1 2 3 4 5 6; do
2834
2957
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2835
 
      : > sub/conftst$i.h
 
2958
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
2959
      # Solaris 8's {/usr,}/bin/sh.
 
2960
      touch sub/conftst$i.h
2836
2961
    done
2837
2962
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2838
2963
 
2977
3102
  # On the NeXT, cc -E runs the code through the compiler's parser,
2978
3103
  # not just through cpp. "Syntax error" is here to catch this case.
2979
3104
  cat >conftest.$ac_ext <<_ACEOF
2980
 
#line $LINENO "configure"
2981
3105
/* confdefs.h.  */
2982
3106
_ACEOF
2983
3107
cat confdefs.h >>conftest.$ac_ext
2988
3112
#else
2989
3113
# include <assert.h>
2990
3114
#endif
2991
 
                     Syntax error
 
3115
                     Syntax error
2992
3116
_ACEOF
2993
3117
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2994
3118
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3000
3124
  (exit $ac_status); } >/dev/null; then
3001
3125
  if test -s conftest.err; then
3002
3126
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3127
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3003
3128
  else
3004
3129
    ac_cpp_err=
3005
3130
  fi
3020
3145
  # OK, works on sane cases.  Now check whether non-existent headers
3021
3146
  # can be detected and how.
3022
3147
  cat >conftest.$ac_ext <<_ACEOF
3023
 
#line $LINENO "configure"
3024
3148
/* confdefs.h.  */
3025
3149
_ACEOF
3026
3150
cat confdefs.h >>conftest.$ac_ext
3038
3162
  (exit $ac_status); } >/dev/null; then
3039
3163
  if test -s conftest.err; then
3040
3164
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3165
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3041
3166
  else
3042
3167
    ac_cpp_err=
3043
3168
  fi
3084
3209
  # On the NeXT, cc -E runs the code through the compiler's parser,
3085
3210
  # not just through cpp. "Syntax error" is here to catch this case.
3086
3211
  cat >conftest.$ac_ext <<_ACEOF
3087
 
#line $LINENO "configure"
3088
3212
/* confdefs.h.  */
3089
3213
_ACEOF
3090
3214
cat confdefs.h >>conftest.$ac_ext
3095
3219
#else
3096
3220
# include <assert.h>
3097
3221
#endif
3098
 
                     Syntax error
 
3222
                     Syntax error
3099
3223
_ACEOF
3100
3224
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3101
3225
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3107
3231
  (exit $ac_status); } >/dev/null; then
3108
3232
  if test -s conftest.err; then
3109
3233
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3234
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3110
3235
  else
3111
3236
    ac_cpp_err=
3112
3237
  fi
3127
3252
  # OK, works on sane cases.  Now check whether non-existent headers
3128
3253
  # can be detected and how.
3129
3254
  cat >conftest.$ac_ext <<_ACEOF
3130
 
#line $LINENO "configure"
3131
3255
/* confdefs.h.  */
3132
3256
_ACEOF
3133
3257
cat confdefs.h >>conftest.$ac_ext
3145
3269
  (exit $ac_status); } >/dev/null; then
3146
3270
  if test -s conftest.err; then
3147
3271
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3272
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3148
3273
  else
3149
3274
    ac_cpp_err=
3150
3275
  fi
3205
3330
  echo $ECHO_N "(cached) $ECHO_C" >&6
3206
3331
else
3207
3332
  cat >conftest.$ac_ext <<_ACEOF
3208
 
#line $LINENO "configure"
3209
3333
/* confdefs.h.  */
3210
3334
_ACEOF
3211
3335
cat confdefs.h >>conftest.$ac_ext
3226
3350
_ACEOF
3227
3351
rm -f conftest.$ac_objext
3228
3352
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3229
 
  (eval $ac_compile) 2>&5
 
3353
  (eval $ac_compile) 2>conftest.er1
3230
3354
  ac_status=$?
 
3355
  grep -v '^ *+' conftest.er1 >conftest.err
 
3356
  rm -f conftest.er1
 
3357
  cat conftest.err >&5
3231
3358
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232
3359
  (exit $ac_status); } &&
3233
 
         { ac_try='test -s conftest.$ac_objext'
 
3360
         { ac_try='test -z "$ac_c_werror_flag"
 
3361
                         || test ! -s conftest.err'
 
3362
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3363
  (eval $ac_try) 2>&5
 
3364
  ac_status=$?
 
3365
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3366
  (exit $ac_status); }; } &&
 
3367
         { ac_try='test -s conftest.$ac_objext'
3234
3368
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3235
3369
  (eval $ac_try) 2>&5
3236
3370
  ac_status=$?
3243
3377
 
3244
3378
ac_cv_header_stdc=no
3245
3379
fi
3246
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3380
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3247
3381
 
3248
3382
if test $ac_cv_header_stdc = yes; then
3249
3383
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3250
3384
  cat >conftest.$ac_ext <<_ACEOF
3251
 
#line $LINENO "configure"
3252
3385
/* confdefs.h.  */
3253
3386
_ACEOF
3254
3387
cat confdefs.h >>conftest.$ac_ext
3270
3403
if test $ac_cv_header_stdc = yes; then
3271
3404
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3272
3405
  cat >conftest.$ac_ext <<_ACEOF
3273
 
#line $LINENO "configure"
3274
3406
/* confdefs.h.  */
3275
3407
_ACEOF
3276
3408
cat confdefs.h >>conftest.$ac_ext
3295
3427
  :
3296
3428
else
3297
3429
  cat >conftest.$ac_ext <<_ACEOF
3298
 
#line $LINENO "configure"
3299
3430
/* confdefs.h.  */
3300
3431
_ACEOF
3301
3432
cat confdefs.h >>conftest.$ac_ext
3307
3438
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3308
3439
#else
3309
3440
# define ISLOWER(c) \
3310
 
                   (('a' <= (c) && (c) <= 'i') \
3311
 
                     || ('j' <= (c) && (c) <= 'r') \
3312
 
                     || ('s' <= (c) && (c) <= 'z'))
 
3441
                   (('a' <= (c) && (c) <= 'i') \
 
3442
                     || ('j' <= (c) && (c) <= 'r') \
 
3443
                     || ('s' <= (c) && (c) <= 'z'))
3313
3444
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3314
3445
#endif
3315
3446
 
3320
3451
  int i;
3321
3452
  for (i = 0; i < 256; i++)
3322
3453
    if (XOR (islower (i), ISLOWER (i))
3323
 
        || toupper (i) != TOUPPER (i))
 
3454
        || toupper (i) != TOUPPER (i))
3324
3455
      exit(2);
3325
3456
  exit (0);
3326
3457
}
3345
3476
( exit $ac_status )
3346
3477
ac_cv_header_stdc=no
3347
3478
fi
3348
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3479
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3349
3480
fi
3350
3481
fi
3351
3482
fi
3370
3501
 
3371
3502
 
3372
3503
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3373
 
                  inttypes.h stdint.h unistd.h
 
3504
                  inttypes.h stdint.h unistd.h
3374
3505
do
3375
3506
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3376
3507
echo "$as_me:$LINENO: checking for $ac_header" >&5
3379
3510
  echo $ECHO_N "(cached) $ECHO_C" >&6
3380
3511
else
3381
3512
  cat >conftest.$ac_ext <<_ACEOF
3382
 
#line $LINENO "configure"
3383
3513
/* confdefs.h.  */
3384
3514
_ACEOF
3385
3515
cat confdefs.h >>conftest.$ac_ext
3391
3521
_ACEOF
3392
3522
rm -f conftest.$ac_objext
3393
3523
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3394
 
  (eval $ac_compile) 2>&5
 
3524
  (eval $ac_compile) 2>conftest.er1
3395
3525
  ac_status=$?
 
3526
  grep -v '^ *+' conftest.er1 >conftest.err
 
3527
  rm -f conftest.er1
 
3528
  cat conftest.err >&5
3396
3529
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397
3530
  (exit $ac_status); } &&
3398
 
         { ac_try='test -s conftest.$ac_objext'
 
3531
         { ac_try='test -z "$ac_c_werror_flag"
 
3532
                         || test ! -s conftest.err'
 
3533
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3534
  (eval $ac_try) 2>&5
 
3535
  ac_status=$?
 
3536
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3537
  (exit $ac_status); }; } &&
 
3538
         { ac_try='test -s conftest.$ac_objext'
3399
3539
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3400
3540
  (eval $ac_try) 2>&5
3401
3541
  ac_status=$?
3408
3548
 
3409
3549
eval "$as_ac_Header=no"
3410
3550
fi
3411
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3551
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3412
3552
fi
3413
3553
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3414
3554
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3440
3580
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3441
3581
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3442
3582
cat >conftest.$ac_ext <<_ACEOF
3443
 
#line $LINENO "configure"
3444
3583
/* confdefs.h.  */
3445
3584
_ACEOF
3446
3585
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
ac_header_compiler=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
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3473
3622
echo "${ECHO_T}$ac_header_compiler" >&6
3474
3623
 
3476
3625
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3477
3626
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3478
3627
cat >conftest.$ac_ext <<_ACEOF
3479
 
#line $LINENO "configure"
3480
3628
/* confdefs.h.  */
3481
3629
_ACEOF
3482
3630
cat confdefs.h >>conftest.$ac_ext
3494
3642
  (exit $ac_status); } >/dev/null; then
3495
3643
  if test -s conftest.err; then
3496
3644
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3645
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3497
3646
  else
3498
3647
    ac_cpp_err=
3499
3648
  fi
3513
3662
echo "${ECHO_T}$ac_header_preproc" >&6
3514
3663
 
3515
3664
# So?  What about this header?
3516
 
case $ac_header_compiler:$ac_header_preproc in
3517
 
  yes:no )
 
3665
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
3666
  yes:no: )
3518
3667
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3519
3668
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3520
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3521
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3522
 
    (
3523
 
      cat <<\_ASBOX
3524
 
## ------------------------------------ ##
3525
 
## Report this to bug-autoconf@gnu.org. ##
3526
 
## ------------------------------------ ##
3527
 
_ASBOX
3528
 
    ) |
3529
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
3669
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
3670
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
3671
    ac_header_preproc=yes
3530
3672
    ;;
3531
 
  no:yes )
 
3673
  no:yes:* )
3532
3674
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3533
3675
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3534
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3535
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
3676
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
3677
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
3678
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
3679
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
3680
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
3681
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3536
3682
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3537
3683
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3684
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
3685
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3538
3686
    (
3539
3687
      cat <<\_ASBOX
3540
 
## ------------------------------------ ##
3541
 
## Report this to bug-autoconf@gnu.org. ##
3542
 
## ------------------------------------ ##
 
3688
## ------------------------------------------ ##
 
3689
## Report this to the AC_PACKAGE_NAME lists.  ##
 
3690
## ------------------------------------------ ##
3543
3691
_ASBOX
3544
3692
    ) |
3545
3693
      sed "s/^/$as_me: WARNING:     /" >&2
3550
3698
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3551
3699
  echo $ECHO_N "(cached) $ECHO_C" >&6
3552
3700
else
3553
 
  eval "$as_ac_Header=$ac_header_preproc"
 
3701
  eval "$as_ac_Header=\$ac_header_preproc"
3554
3702
fi
3555
3703
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3556
3704
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3652
3800
      # `set' does not quote correctly, so add quotes (double-quote
3653
3801
      # substitution turns \\\\ into \\, and sed turns \\ into \).
3654
3802
      sed -n \
3655
 
        "s/'/'\\\\''/g;
3656
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
3803
        "s/'/'\\\\''/g;
 
3804
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3657
3805
      ;;
3658
3806
    *)
3659
3807
      # `set' quotes correctly as required by POSIX, so do not add quotes.
3660
3808
      sed -n \
3661
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
3809
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3662
3810
      ;;
3663
3811
    esac;
3664
3812
} |
3688
3836
# trailing colons and then remove the whole line if VPATH becomes empty
3689
3837
# (actually we leave an empty line to preserve line numbers).
3690
3838
if test "x$srcdir" = x.; then
3691
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
3839
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3692
3840
s/:*\$(srcdir):*/:/;
3693
3841
s/:*\${srcdir}:*/:/;
3694
3842
s/:*@srcdir@:*/:/;
3695
 
s/^\([^=]*=[    ]*\):*/\1/;
 
3843
s/^\([^=]*=[     ]*\):*/\1/;
3696
3844
s/:*$//;
3697
 
s/^[^=]*=[      ]*$//;
 
3845
s/^[^=]*=[       ]*$//;
3698
3846
}'
3699
3847
fi
3700
3848
 
3705
3853
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3706
3854
  # 1. Remove the extension, and $U if already installed.
3707
3855
  ac_i=`echo "$ac_i" |
3708
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
3856
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3709
3857
  # 2. Add them.
3710
3858
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3711
3859
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3770
3918
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3771
3919
  set -o posix
3772
3920
fi
 
3921
DUALCASE=1; export DUALCASE # for MKS sh
3773
3922
 
3774
3923
# Support unset when possible.
3775
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
3924
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3776
3925
  as_unset=unset
3777
3926
else
3778
3927
  as_unset=false
3791
3940
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3792
3941
  LC_TELEPHONE LC_TIME
3793
3942
do
3794
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
3943
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3795
3944
    eval $as_var=C; export $as_var
3796
3945
  else
3797
3946
    $as_unset $as_var
3970
4119
if mkdir -p . 2>/dev/null; then
3971
4120
  as_mkdir_p=:
3972
4121
else
 
4122
  test -d ./-p && rmdir ./-p
3973
4123
  as_mkdir_p=false
3974
4124
fi
3975
4125
 
3976
4126
as_executable_p="test -f"
3977
4127
 
3978
4128
# Sed expression to map a string onto a valid CPP name.
3979
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
4129
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3980
4130
 
3981
4131
# Sed expression to map a string onto a valid variable name.
3982
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
4132
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3983
4133
 
3984
4134
 
3985
4135
# IFS
4006
4156
cat >&5 <<_CSEOF
4007
4157
 
4008
4158
This file was extended by $as_me, which was
4009
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
4159
generated by GNU Autoconf 2.59.  Invocation command line was
4010
4160
 
4011
4161
  CONFIG_FILES    = $CONFIG_FILES
4012
4162
  CONFIG_HEADERS  = $CONFIG_HEADERS
4050
4200
  -d, --debug      don't remove temporary files
4051
4201
      --recheck    update $as_me by reconfiguring in the same conditions
4052
4202
  --file=FILE[:TEMPLATE]
4053
 
                   instantiate the configuration file FILE
 
4203
                   instantiate the configuration file FILE
4054
4204
  --header=FILE[:TEMPLATE]
4055
 
                   instantiate the configuration header FILE
 
4205
                   instantiate the configuration header FILE
4056
4206
 
4057
4207
Configuration files:
4058
4208
$config_files
4069
4219
cat >>$CONFIG_STATUS <<_ACEOF
4070
4220
ac_cs_version="\\
4071
4221
config.status
4072
 
configured by $0, generated by GNU Autoconf 2.57,
 
4222
configured by $0, generated by GNU Autoconf 2.59,
4073
4223
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4074
4224
 
4075
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4076
 
Free Software Foundation, Inc.
 
4225
Copyright (C) 2003 Free Software Foundation, Inc.
4077
4226
This config.status script is free software; the Free Software Foundation
4078
4227
gives unlimited permission to copy, distribute and modify it."
4079
4228
srcdir=$srcdir
4283
4432
s,@STRIP@,$STRIP,;t t
4284
4433
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4285
4434
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
4435
s,@mkdir_p@,$mkdir_p,;t t
4286
4436
s,@AWK@,$AWK,;t t
4287
4437
s,@SET_MAKE@,$SET_MAKE,;t t
4288
4438
s,@am__leading_dot@,$am__leading_dot,;t t
4343
4493
      (echo ':t
4344
4494
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4345
4495
      if test -z "$ac_sed_cmds"; then
4346
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
4496
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4347
4497
      else
4348
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
4498
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4349
4499
      fi
4350
4500
      ac_sed_frag=`expr $ac_sed_frag + 1`
4351
4501
      ac_beg=$ac_end
4363
4513
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4364
4514
  case $ac_file in
4365
4515
  - | *:- | *:-:* ) # input from stdin
4366
 
        cat >$tmp/stdin
4367
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4368
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4516
        cat >$tmp/stdin
 
4517
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
4518
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4369
4519
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4370
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4520
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4371
4521
  * )   ac_file_in=$ac_file.in ;;
4372
4522
  esac
4373
4523
 
4374
4524
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4375
4525
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4376
4526
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4377
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
4378
 
         X"$ac_file" : 'X\(//\)$' \| \
4379
 
         X"$ac_file" : 'X\(/\)' \| \
4380
 
         .     : '\(.\)' 2>/dev/null ||
 
4527
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
4528
         X"$ac_file" : 'X\(//\)$' \| \
 
4529
         X"$ac_file" : 'X\(/\)' \| \
 
4530
         .     : '\(.\)' 2>/dev/null ||
4381
4531
echo X"$ac_file" |
4382
4532
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4383
4533
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4393
4543
      as_dirs="$as_dir $as_dirs"
4394
4544
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4395
4545
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4396
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4397
 
         X"$as_dir" : 'X\(//\)$' \| \
4398
 
         X"$as_dir" : 'X\(/\)' \| \
4399
 
         .     : '\(.\)' 2>/dev/null ||
 
4546
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4547
         X"$as_dir" : 'X\(//\)$' \| \
 
4548
         X"$as_dir" : 'X\(/\)' \| \
 
4549
         .     : '\(.\)' 2>/dev/null ||
4400
4550
echo X"$as_dir" |
4401
4551
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4402
4552
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4434
4584
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4435
4585
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4436
4586
esac
4437
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4438
 
# absolute.
4439
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4440
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4441
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4442
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
4587
 
 
4588
# Do not use `cd foo && pwd` to compute absolute paths, because
 
4589
# the directories may not exist.
 
4590
case `pwd` in
 
4591
.) ac_abs_builddir="$ac_dir";;
 
4592
*)
 
4593
  case "$ac_dir" in
 
4594
  .) ac_abs_builddir=`pwd`;;
 
4595
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
4596
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
4597
  esac;;
 
4598
esac
 
4599
case $ac_abs_builddir in
 
4600
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4601
*)
 
4602
  case ${ac_top_builddir}. in
 
4603
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
4604
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4605
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
4606
  esac;;
 
4607
esac
 
4608
case $ac_abs_builddir in
 
4609
.) ac_abs_srcdir=$ac_srcdir;;
 
4610
*)
 
4611
  case $ac_srcdir in
 
4612
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
4613
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
4614
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
4615
  esac;;
 
4616
esac
 
4617
case $ac_abs_builddir in
 
4618
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
4619
*)
 
4620
  case $ac_top_srcdir in
 
4621
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
4622
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
4623
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
4624
  esac;;
 
4625
esac
4443
4626
 
4444
4627
 
4445
4628
  case $INSTALL in
4461
4644
    configure_input="$ac_file.  "
4462
4645
  fi
4463
4646
  configure_input=$configure_input"Generated from `echo $ac_file_in |
4464
 
                                     sed 's,.*/,,'` by configure."
 
4647
                                     sed 's,.*/,,'` by configure."
4465
4648
 
4466
4649
  # First look for the input files in the build tree, otherwise in the
4467
4650
  # src tree.
4470
4653
      case $f in
4471
4654
      -) echo $tmp/stdin ;;
4472
4655
      [\\/$]*)
4473
 
         # Absolute (can't be DOS-style, as IFS=:)
4474
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4656
         # Absolute (can't be DOS-style, as IFS=:)
 
4657
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4475
4658
echo "$as_me: error: cannot find input file: $f" >&2;}
4476
4659
   { (exit 1); exit 1; }; }
4477
 
         echo $f;;
 
4660
         echo "$f";;
4478
4661
      *) # Relative
4479
 
         if test -f "$f"; then
4480
 
           # Build tree
4481
 
           echo $f
4482
 
         elif test -f "$srcdir/$f"; then
4483
 
           # Source tree
4484
 
           echo $srcdir/$f
4485
 
         else
4486
 
           # /dev/null tree
4487
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4662
         if test -f "$f"; then
 
4663
           # Build tree
 
4664
           echo "$f"
 
4665
         elif test -f "$srcdir/$f"; then
 
4666
           # Source tree
 
4667
           echo "$srcdir/$f"
 
4668
         else
 
4669
           # /dev/null tree
 
4670
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4488
4671
echo "$as_me: error: cannot find input file: $f" >&2;}
4489
4672
   { (exit 1); exit 1; }; }
4490
 
         fi;;
 
4673
         fi;;
4491
4674
      esac
4492
4675
    done` || { (exit 1); exit 1; }
4493
4676
_ACEOF
4529
4712
# NAME is the cpp macro being defined and VALUE is the value it is being given.
4530
4713
#
4531
4714
# ac_d sets the value in "#define NAME VALUE" lines.
4532
 
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
4533
 
ac_dB='[        ].*$,\1#\2'
 
4715
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
 
4716
ac_dB='[         ].*$,\1#\2'
4534
4717
ac_dC=' '
4535
4718
ac_dD=',;t'
4536
4719
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4537
 
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
4720
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
4538
4721
ac_uB='$,\1#\2define\3'
4539
4722
ac_uC=' '
4540
4723
ac_uD=',;t'
4543
4726
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4544
4727
  case $ac_file in
4545
4728
  - | *:- | *:-:* ) # input from stdin
4546
 
        cat >$tmp/stdin
4547
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4548
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4729
        cat >$tmp/stdin
 
4730
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
4731
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4549
4732
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4550
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4733
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4551
4734
  * )   ac_file_in=$ac_file.in ;;
4552
4735
  esac
4553
4736
 
4561
4744
      case $f in
4562
4745
      -) echo $tmp/stdin ;;
4563
4746
      [\\/$]*)
4564
 
         # Absolute (can't be DOS-style, as IFS=:)
4565
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4747
         # Absolute (can't be DOS-style, as IFS=:)
 
4748
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4566
4749
echo "$as_me: error: cannot find input file: $f" >&2;}
4567
4750
   { (exit 1); exit 1; }; }
4568
 
         echo $f;;
 
4751
         # Do quote $f, to prevent DOS paths from being IFS'd.
 
4752
         echo "$f";;
4569
4753
      *) # Relative
4570
 
         if test -f "$f"; then
4571
 
           # Build tree
4572
 
           echo $f
4573
 
         elif test -f "$srcdir/$f"; then
4574
 
           # Source tree
4575
 
           echo $srcdir/$f
4576
 
         else
4577
 
           # /dev/null tree
4578
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4754
         if test -f "$f"; then
 
4755
           # Build tree
 
4756
           echo "$f"
 
4757
         elif test -f "$srcdir/$f"; then
 
4758
           # Source tree
 
4759
           echo "$srcdir/$f"
 
4760
         else
 
4761
           # /dev/null tree
 
4762
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4579
4763
echo "$as_me: error: cannot find input file: $f" >&2;}
4580
4764
   { (exit 1); exit 1; }; }
4581
 
         fi;;
 
4765
         fi;;
4582
4766
      esac
4583
4767
    done` || { (exit 1); exit 1; }
4584
4768
  # Remove the trailing spaces.
4585
 
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
 
4769
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
4586
4770
 
4587
4771
_ACEOF
4588
4772
 
4605
4789
s,[\\$`],\\&,g
4606
4790
t clear
4607
4791
: clear
4608
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
4792
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4609
4793
t end
4610
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
4794
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4611
4795
: end
4612
4796
_ACEOF
4613
4797
# If some macros were called several times there might be several times
4621
4805
# example, in the case of _POSIX_SOURCE, which is predefined and required
4622
4806
# on some systems where configure will not decide to define it.
4623
4807
cat >>conftest.undefs <<\_ACEOF
4624
 
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
4808
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4625
4809
_ACEOF
4626
4810
 
4627
4811
# Break up conftest.defines because some shells have a limit on the size
4628
4812
# of here documents, and old seds have small limits too (100 cmds).
4629
4813
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4630
 
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
4814
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4631
4815
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4632
4816
echo '  :' >>$CONFIG_STATUS
4633
4817
rm -f conftest.tail
4636
4820
  # Write a limited-size here document to $tmp/defines.sed.
4637
4821
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4638
4822
  # Speed up: don't consider the non `#define' lines.
4639
 
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
4823
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
4640
4824
  # Work around the forget-to-reset-the-flag bug.
4641
4825
  echo 't clr' >>$CONFIG_STATUS
4642
4826
  echo ': clr' >>$CONFIG_STATUS
4663
4847
  # Write a limited-size here document to $tmp/undefs.sed.
4664
4848
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4665
4849
  # Speed up: don't consider the non `#undef'
4666
 
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
4850
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
4667
4851
  # Work around the forget-to-reset-the-flag bug.
4668
4852
  echo 't clr' >>$CONFIG_STATUS
4669
4853
  echo ': clr' >>$CONFIG_STATUS
4697
4881
    else
4698
4882
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4699
4883
$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 ||
 
4884
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
4885
         X"$ac_file" : 'X\(//\)$' \| \
 
4886
         X"$ac_file" : 'X\(/\)' \| \
 
4887
         .     : '\(.\)' 2>/dev/null ||
4704
4888
echo X"$ac_file" |
4705
4889
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4706
4890
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4716
4900
      as_dirs="$as_dir $as_dirs"
4717
4901
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4718
4902
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4719
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4720
 
         X"$as_dir" : 'X\(//\)$' \| \
4721
 
         X"$as_dir" : 'X\(/\)' \| \
4722
 
         .     : '\(.\)' 2>/dev/null ||
 
4903
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4904
         X"$as_dir" : 'X\(//\)$' \| \
 
4905
         X"$as_dir" : 'X\(/\)' \| \
 
4906
         .     : '\(.\)' 2>/dev/null ||
4723
4907
echo X"$as_dir" |
4724
4908
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4725
4909
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4751
4935
done
4752
4936
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4753
4937
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4754
 
         X$ac_file : 'X\(//\)[^/]' \| \
4755
 
         X$ac_file : 'X\(//\)$' \| \
4756
 
         X$ac_file : 'X\(/\)' \| \
4757
 
         .     : '\(.\)' 2>/dev/null ||
 
4938
         X$ac_file : 'X\(//\)[^/]' \| \
 
4939
         X$ac_file : 'X\(//\)$' \| \
 
4940
         X$ac_file : 'X\(/\)' \| \
 
4941
         .     : '\(.\)' 2>/dev/null ||
4758
4942
echo X$ac_file |
4759
4943
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4760
4944
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4773
4957
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4774
4958
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4775
4959
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4776
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
4777
 
         X"$ac_dest" : 'X\(//\)$' \| \
4778
 
         X"$ac_dest" : 'X\(/\)' \| \
4779
 
         .     : '\(.\)' 2>/dev/null ||
 
4960
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
4961
         X"$ac_dest" : 'X\(//\)$' \| \
 
4962
         X"$ac_dest" : 'X\(/\)' \| \
 
4963
         .     : '\(.\)' 2>/dev/null ||
4780
4964
echo X"$ac_dest" |
4781
4965
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4782
4966
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4783
4967
          /^X\(\/\/\)$/{ s//\1/; q; }
4784
4968
          /^X\(\/\).*/{ s//\1/; q; }
4785
4969
          s/.*/./; q'`
 
4970
  { if $as_mkdir_p; then
 
4971
    mkdir -p "$ac_dir"
 
4972
  else
 
4973
    as_dir="$ac_dir"
 
4974
    as_dirs=
 
4975
    while test ! -d "$as_dir"; do
 
4976
      as_dirs="$as_dir $as_dirs"
 
4977
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
4978
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4979
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4980
         X"$as_dir" : 'X\(//\)$' \| \
 
4981
         X"$as_dir" : 'X\(/\)' \| \
 
4982
         .     : '\(.\)' 2>/dev/null ||
 
4983
echo X"$as_dir" |
 
4984
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4985
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4986
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4987
          /^X\(\/\).*/{ s//\1/; q; }
 
4988
          s/.*/./; q'`
 
4989
    done
 
4990
    test ! -n "$as_dirs" || mkdir $as_dirs
 
4991
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
4992
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
4993
   { (exit 1); exit 1; }; }; }
 
4994
 
4786
4995
  ac_builddir=.
4787
4996
 
4788
4997
if test "$ac_dir" != .; then
4808
5017
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4809
5018
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4810
5019
esac
4811
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4812
 
# absolute.
4813
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4814
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4815
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4816
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
5020
 
 
5021
# Do not use `cd foo && pwd` to compute absolute paths, because
 
5022
# the directories may not exist.
 
5023
case `pwd` in
 
5024
.) ac_abs_builddir="$ac_dir";;
 
5025
*)
 
5026
  case "$ac_dir" in
 
5027
  .) ac_abs_builddir=`pwd`;;
 
5028
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
5029
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
5030
  esac;;
 
5031
esac
 
5032
case $ac_abs_builddir in
 
5033
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5034
*)
 
5035
  case ${ac_top_builddir}. in
 
5036
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
5037
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5038
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
5039
  esac;;
 
5040
esac
 
5041
case $ac_abs_builddir in
 
5042
.) ac_abs_srcdir=$ac_srcdir;;
 
5043
*)
 
5044
  case $ac_srcdir in
 
5045
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
5046
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
5047
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
5048
  esac;;
 
5049
esac
 
5050
case $ac_abs_builddir in
 
5051
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5052
*)
 
5053
  case $ac_top_srcdir in
 
5054
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
5055
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5056
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
5057
  esac;;
 
5058
esac
4817
5059
 
4818
5060
 
4819
5061
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4831
5073
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4832
5074
    dirpart=`(dirname "$mf") 2>/dev/null ||
4833
5075
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4834
 
         X"$mf" : 'X\(//\)[^/]' \| \
4835
 
         X"$mf" : 'X\(//\)$' \| \
4836
 
         X"$mf" : 'X\(/\)' \| \
4837
 
         .     : '\(.\)' 2>/dev/null ||
 
5076
         X"$mf" : 'X\(//\)[^/]' \| \
 
5077
         X"$mf" : 'X\(//\)$' \| \
 
5078
         X"$mf" : 'X\(/\)' \| \
 
5079
         .     : '\(.\)' 2>/dev/null ||
4838
5080
echo X"$mf" |
4839
5081
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4840
5082
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4847
5089
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4848
5090
  # Extract the definition of DEP_FILES from the Makefile without
4849
5091
  # running `make'.
4850
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
5092
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4851
5093
  test -z "$DEPDIR" && continue
4852
5094
  # When using ansi2knr, U may be empty or an underscore; expand it
4853
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
 
5095
  U=`sed -n 's/^U = //p' < "$mf"`
4854
5096
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4855
5097
  # We invoke sed twice because it is the simplest approach to
4856
5098
  # changing $(DEPDIR) to its actual value in the expansion.
4857
 
  for file in `sed -n -e '
 
5099
  for file in `sed -n '
4858
5100
    /^DEP_FILES = .*\\\\$/ {
4859
5101
      s/^DEP_FILES = //
4860
5102
      :loop
4870
5112
    test -f "$dirpart/$file" && continue
4871
5113
    fdir=`(dirname "$file") 2>/dev/null ||
4872
5114
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4873
 
         X"$file" : 'X\(//\)[^/]' \| \
4874
 
         X"$file" : 'X\(//\)$' \| \
4875
 
         X"$file" : 'X\(/\)' \| \
4876
 
         .     : '\(.\)' 2>/dev/null ||
 
5115
         X"$file" : 'X\(//\)[^/]' \| \
 
5116
         X"$file" : 'X\(//\)$' \| \
 
5117
         X"$file" : 'X\(/\)' \| \
 
5118
         .     : '\(.\)' 2>/dev/null ||
4877
5119
echo X"$file" |
4878
5120
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4879
5121
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4889
5131
      as_dirs="$as_dir $as_dirs"
4890
5132
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4891
5133
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4892
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4893
 
         X"$as_dir" : 'X\(//\)$' \| \
4894
 
         X"$as_dir" : 'X\(/\)' \| \
4895
 
         .     : '\(.\)' 2>/dev/null ||
 
5134
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5135
         X"$as_dir" : 'X\(//\)$' \| \
 
5136
         X"$as_dir" : 'X\(/\)' \| \
 
5137
         .     : '\(.\)' 2>/dev/null ||
4896
5138
echo X"$as_dir" |
4897
5139
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4898
5140
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }