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

« back to all changes in this revision

Viewing changes to ldapaddressbook/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 ldapsearch 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 ldapsearch 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.
1263
1296
 
1264
1297
 
1265
1298
LPATH="$PATH:/usr/local/bin"
1266
 
am__api_version="1.7"
 
1299
am__api_version="1.8"
1267
1300
ac_aux_dir=
1268
1301
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1269
1302
  if test -f $ac_dir/install-sh; then
1300
1333
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1301
1334
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1302
1335
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1336
# OS/2's system install, which has a completely different semantic
1303
1337
# ./install, which can be erroneously created by make from ./install.sh.
1304
1338
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1305
1339
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1316
1350
case $as_dir/ in
1317
1351
  ./ | .// | /cC/* | \
1318
1352
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1353
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1319
1354
  /usr/ucb/* ) ;;
1320
1355
  *)
1321
1356
    # OSF1 and SCO ODT 3.0 have their own names for install.
1323
1358
    # by default.
1324
1359
    for ac_prog in ginstall scoinst install; do
1325
1360
      for ac_exec_ext in '' $ac_executable_extensions; do
1326
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1327
 
          if test $ac_prog = install &&
1328
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1329
 
            # AIX install.  It has an incompatible calling convention.
1330
 
            :
1331
 
          elif test $ac_prog = install &&
1332
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1333
 
            # program-specific install script used by HP pwplus--don't use.
1334
 
            :
1335
 
          else
1336
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1337
 
            break 3
1338
 
          fi
1339
 
        fi
 
1361
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1362
          if test $ac_prog = install &&
 
1363
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1364
            # AIX install.  It has an incompatible calling convention.
 
1365
            :
 
1366
          elif test $ac_prog = install &&
 
1367
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1368
            # program-specific install script used by HP pwplus--don't use.
 
1369
            :
 
1370
          else
 
1371
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1372
            break 3
 
1373
          fi
 
1374
        fi
1340
1375
      done
1341
1376
    done
1342
1377
    ;;
1424
1459
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1425
1460
rm conftest.sed
1426
1461
 
1427
 
 
1428
1462
# expand $ac_aux_dir to an absolute path
1429
1463
am_aux_dir=`cd $ac_aux_dir && pwd`
1430
1464
 
1438
1472
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1439
1473
fi
1440
1474
 
 
1475
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1476
  # Keeping the `.' argument allows $(mkdir_p) to be used without
 
1477
  # argument.  Indeed, we sometimes output rules like
 
1478
  #   $(mkdir_p) $(somedir)
 
1479
  # where $(somedir) is conditionally defined.
 
1480
  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
 
1481
  # expensive solution, as it forces Make to start a sub-shell.)
 
1482
  mkdir_p='mkdir -p -- .'
 
1483
else
 
1484
  # On NextStep and OpenStep, the `mkdir' command does not
 
1485
  # recognize any option.  It will interpret all options as
 
1486
  # directories to create, and then abort because `.' already
 
1487
  # exists.
 
1488
  for d in ./-p ./--version;
 
1489
  do
 
1490
    test -d $d && rmdir $d
 
1491
  done
 
1492
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1493
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1494
    mkdir_p='$(mkinstalldirs)'
 
1495
  else
 
1496
    mkdir_p='$(install_sh) -d'
 
1497
  fi
 
1498
fi
 
1499
 
1441
1500
for ac_prog in gawk mawk nawk awk
1442
1501
do
1443
1502
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1480
1539
 
1481
1540
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1482
1541
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1483
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1542
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1484
1543
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1485
1544
  echo $ECHO_N "(cached) $ECHO_C" >&6
1486
1545
else
1516
1575
fi
1517
1576
rmdir .tst 2>/dev/null
1518
1577
 
1519
 
 # test to see if srcdir already configured
 
1578
# test to see if srcdir already configured
1520
1579
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1521
1580
   test -f $srcdir/config.status; then
1522
1581
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1992
2051
  (exit $ac_status); }
1993
2052
 
1994
2053
cat >conftest.$ac_ext <<_ACEOF
1995
 
#line $LINENO "configure"
1996
2054
/* confdefs.h.  */
1997
2055
_ACEOF
1998
2056
cat confdefs.h >>conftest.$ac_ext
2012
2070
# Try to create an executable without -o first, disregard a.out.
2013
2071
# It will help us diagnose broken compilers, and finding out an intuition
2014
2072
# of exeext.
2015
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2016
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
2073
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2074
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2017
2075
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2018
2076
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2019
2077
  (eval $ac_link_default) 2>&5
2033
2091
  test -f "$ac_file" || continue
2034
2092
  case $ac_file in
2035
2093
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2036
 
        ;;
 
2094
        ;;
2037
2095
    conftest.$ac_ext )
2038
 
        # This is the source file.
2039
 
        ;;
 
2096
        # This is the source file.
 
2097
        ;;
2040
2098
    [ab].out )
2041
 
        # We found the default executable, but exeext='' is most
2042
 
        # certainly right.
2043
 
        break;;
 
2099
        # We found the default executable, but exeext='' is most
 
2100
        # certainly right.
 
2101
        break;;
2044
2102
    *.* )
2045
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2046
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2047
 
        # but it would be cool to find out if it's true.  Does anybody
2048
 
        # maintain Libtool? --akim.
2049
 
        export ac_cv_exeext
2050
 
        break;;
 
2103
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2104
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2105
        # but it would be cool to find out if it's true.  Does anybody
 
2106
        # maintain Libtool? --akim.
 
2107
        export ac_cv_exeext
 
2108
        break;;
2051
2109
    * )
2052
 
        break;;
 
2110
        break;;
2053
2111
  esac
2054
2112
done
2055
2113
else
2123
2181
  case $ac_file in
2124
2182
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2125
2183
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2126
 
          export ac_cv_exeext
2127
 
          break;;
 
2184
          export ac_cv_exeext
 
2185
          break;;
2128
2186
    * ) break;;
2129
2187
  esac
2130
2188
done
2149
2207
  echo $ECHO_N "(cached) $ECHO_C" >&6
2150
2208
else
2151
2209
  cat >conftest.$ac_ext <<_ACEOF
2152
 
#line $LINENO "configure"
2153
2210
/* confdefs.h.  */
2154
2211
_ACEOF
2155
2212
cat confdefs.h >>conftest.$ac_ext
2200
2257
  echo $ECHO_N "(cached) $ECHO_C" >&6
2201
2258
else
2202
2259
  cat >conftest.$ac_ext <<_ACEOF
2203
 
#line $LINENO "configure"
2204
2260
/* confdefs.h.  */
2205
2261
_ACEOF
2206
2262
cat confdefs.h >>conftest.$ac_ext
2220
2276
_ACEOF
2221
2277
rm -f conftest.$ac_objext
2222
2278
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2223
 
  (eval $ac_compile) 2>&5
 
2279
  (eval $ac_compile) 2>conftest.er1
2224
2280
  ac_status=$?
 
2281
  grep -v '^ *+' conftest.er1 >conftest.err
 
2282
  rm -f conftest.er1
 
2283
  cat conftest.err >&5
2225
2284
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226
2285
  (exit $ac_status); } &&
2227
 
         { ac_try='test -s conftest.$ac_objext'
 
2286
         { ac_try='test -z "$ac_c_werror_flag"
 
2287
                         || test ! -s conftest.err'
 
2288
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2289
  (eval $ac_try) 2>&5
 
2290
  ac_status=$?
 
2291
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2292
  (exit $ac_status); }; } &&
 
2293
         { ac_try='test -s conftest.$ac_objext'
2228
2294
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2229
2295
  (eval $ac_try) 2>&5
2230
2296
  ac_status=$?
2237
2303
 
2238
2304
ac_compiler_gnu=no
2239
2305
fi
2240
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2306
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2241
2307
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2242
2308
 
2243
2309
fi
2253
2319
  echo $ECHO_N "(cached) $ECHO_C" >&6
2254
2320
else
2255
2321
  cat >conftest.$ac_ext <<_ACEOF
2256
 
#line $LINENO "configure"
2257
2322
/* confdefs.h.  */
2258
2323
_ACEOF
2259
2324
cat confdefs.h >>conftest.$ac_ext
2270
2335
_ACEOF
2271
2336
rm -f conftest.$ac_objext
2272
2337
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2273
 
  (eval $ac_compile) 2>&5
 
2338
  (eval $ac_compile) 2>conftest.er1
2274
2339
  ac_status=$?
 
2340
  grep -v '^ *+' conftest.er1 >conftest.err
 
2341
  rm -f conftest.er1
 
2342
  cat conftest.err >&5
2275
2343
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276
2344
  (exit $ac_status); } &&
2277
 
         { ac_try='test -s conftest.$ac_objext'
 
2345
         { ac_try='test -z "$ac_c_werror_flag"
 
2346
                         || test ! -s conftest.err'
 
2347
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2348
  (eval $ac_try) 2>&5
 
2349
  ac_status=$?
 
2350
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2351
  (exit $ac_status); }; } &&
 
2352
         { ac_try='test -s conftest.$ac_objext'
2278
2353
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2279
2354
  (eval $ac_try) 2>&5
2280
2355
  ac_status=$?
2287
2362
 
2288
2363
ac_cv_prog_cc_g=no
2289
2364
fi
2290
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2365
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2291
2366
fi
2292
2367
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2293
2368
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2314
2389
  ac_cv_prog_cc_stdc=no
2315
2390
ac_save_CC=$CC
2316
2391
cat >conftest.$ac_ext <<_ACEOF
2317
 
#line $LINENO "configure"
2318
2392
/* confdefs.h.  */
2319
2393
_ACEOF
2320
2394
cat confdefs.h >>conftest.$ac_ext
2342
2416
  va_end (v);
2343
2417
  return s;
2344
2418
}
 
2419
 
 
2420
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2421
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2422
   These don't provoke an error unfortunately, instead are silently treated
 
2423
   as 'x'.  The following induces an error, until -std1 is added to get
 
2424
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2425
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2426
   that's true only with -std1.  */
 
2427
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2428
 
2345
2429
int test (int i, double x);
2346
2430
struct s1 {int (*f) (int a);};
2347
2431
struct s2 {int (*f) (double a);};
2368
2452
  CC="$ac_save_CC $ac_arg"
2369
2453
  rm -f conftest.$ac_objext
2370
2454
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2371
 
  (eval $ac_compile) 2>&5
 
2455
  (eval $ac_compile) 2>conftest.er1
2372
2456
  ac_status=$?
 
2457
  grep -v '^ *+' conftest.er1 >conftest.err
 
2458
  rm -f conftest.er1
 
2459
  cat conftest.err >&5
2373
2460
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374
2461
  (exit $ac_status); } &&
2375
 
         { ac_try='test -s conftest.$ac_objext'
 
2462
         { ac_try='test -z "$ac_c_werror_flag"
 
2463
                         || test ! -s conftest.err'
 
2464
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2465
  (eval $ac_try) 2>&5
 
2466
  ac_status=$?
 
2467
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2468
  (exit $ac_status); }; } &&
 
2469
         { ac_try='test -s conftest.$ac_objext'
2376
2470
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2377
2471
  (eval $ac_try) 2>&5
2378
2472
  ac_status=$?
2385
2479
sed 's/^/| /' conftest.$ac_ext >&5
2386
2480
 
2387
2481
fi
2388
 
rm -f conftest.$ac_objext
 
2482
rm -f conftest.err conftest.$ac_objext
2389
2483
done
2390
2484
rm -f conftest.$ac_ext conftest.$ac_objext
2391
2485
CC=$ac_save_CC
2413
2507
_ACEOF
2414
2508
rm -f conftest.$ac_objext
2415
2509
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2416
 
  (eval $ac_compile) 2>&5
 
2510
  (eval $ac_compile) 2>conftest.er1
2417
2511
  ac_status=$?
 
2512
  grep -v '^ *+' conftest.er1 >conftest.err
 
2513
  rm -f conftest.er1
 
2514
  cat conftest.err >&5
2418
2515
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419
2516
  (exit $ac_status); } &&
2420
 
         { ac_try='test -s conftest.$ac_objext'
 
2517
         { ac_try='test -z "$ac_c_werror_flag"
 
2518
                         || test ! -s conftest.err'
 
2519
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2520
  (eval $ac_try) 2>&5
 
2521
  ac_status=$?
 
2522
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2523
  (exit $ac_status); }; } &&
 
2524
         { ac_try='test -s conftest.$ac_objext'
2421
2525
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2422
2526
  (eval $ac_try) 2>&5
2423
2527
  ac_status=$?
2424
2528
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425
2529
  (exit $ac_status); }; }; then
2426
2530
  for ac_declaration in \
2427
 
   ''\
2428
 
   '#include <stdlib.h>' \
 
2531
   '' \
2429
2532
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2430
2533
   'extern "C" void std::exit (int); using std::exit;' \
2431
2534
   'extern "C" void exit (int) throw ();' \
2433
2536
   'void exit (int);'
2434
2537
do
2435
2538
  cat >conftest.$ac_ext <<_ACEOF
2436
 
#line $LINENO "configure"
2437
2539
/* confdefs.h.  */
2438
2540
_ACEOF
2439
2541
cat confdefs.h >>conftest.$ac_ext
2440
2542
cat >>conftest.$ac_ext <<_ACEOF
2441
2543
/* end confdefs.h.  */
 
2544
$ac_declaration
2442
2545
#include <stdlib.h>
2443
 
$ac_declaration
2444
2546
int
2445
2547
main ()
2446
2548
{
2451
2553
_ACEOF
2452
2554
rm -f conftest.$ac_objext
2453
2555
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2454
 
  (eval $ac_compile) 2>&5
 
2556
  (eval $ac_compile) 2>conftest.er1
2455
2557
  ac_status=$?
 
2558
  grep -v '^ *+' conftest.er1 >conftest.err
 
2559
  rm -f conftest.er1
 
2560
  cat conftest.err >&5
2456
2561
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457
2562
  (exit $ac_status); } &&
2458
 
         { ac_try='test -s conftest.$ac_objext'
 
2563
         { ac_try='test -z "$ac_c_werror_flag"
 
2564
                         || test ! -s conftest.err'
 
2565
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2566
  (eval $ac_try) 2>&5
 
2567
  ac_status=$?
 
2568
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2569
  (exit $ac_status); }; } &&
 
2570
         { ac_try='test -s conftest.$ac_objext'
2459
2571
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2460
2572
  (eval $ac_try) 2>&5
2461
2573
  ac_status=$?
2468
2580
 
2469
2581
continue
2470
2582
fi
2471
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2583
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2472
2584
  cat >conftest.$ac_ext <<_ACEOF
2473
 
#line $LINENO "configure"
2474
2585
/* confdefs.h.  */
2475
2586
_ACEOF
2476
2587
cat confdefs.h >>conftest.$ac_ext
2487
2598
_ACEOF
2488
2599
rm -f conftest.$ac_objext
2489
2600
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2490
 
  (eval $ac_compile) 2>&5
 
2601
  (eval $ac_compile) 2>conftest.er1
2491
2602
  ac_status=$?
 
2603
  grep -v '^ *+' conftest.er1 >conftest.err
 
2604
  rm -f conftest.er1
 
2605
  cat conftest.err >&5
2492
2606
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493
2607
  (exit $ac_status); } &&
2494
 
         { ac_try='test -s conftest.$ac_objext'
 
2608
         { ac_try='test -z "$ac_c_werror_flag"
 
2609
                         || test ! -s conftest.err'
 
2610
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2611
  (eval $ac_try) 2>&5
 
2612
  ac_status=$?
 
2613
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2614
  (exit $ac_status); }; } &&
 
2615
         { ac_try='test -s conftest.$ac_objext'
2495
2616
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2496
2617
  (eval $ac_try) 2>&5
2497
2618
  ac_status=$?
2503
2624
sed 's/^/| /' conftest.$ac_ext >&5
2504
2625
 
2505
2626
fi
2506
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2627
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2507
2628
done
2508
2629
rm -f conftest*
2509
2630
if test -n "$ac_declaration"; then
2517
2638
sed 's/^/| /' conftest.$ac_ext >&5
2518
2639
 
2519
2640
fi
2520
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2641
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2521
2642
ac_ext=c
2522
2643
ac_cpp='$CPP $CPPFLAGS'
2523
2644
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2630
2751
    : > sub/conftest.c
2631
2752
    for i in 1 2 3 4 5 6; do
2632
2753
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2633
 
      : > sub/conftst$i.h
 
2754
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
2755
      # Solaris 8's {/usr,}/bin/sh.
 
2756
      touch sub/conftst$i.h
2634
2757
    done
2635
2758
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2636
2759
 
2843
2966
  # On the NeXT, cc -E runs the code through the compiler's parser,
2844
2967
  # not just through cpp. "Syntax error" is here to catch this case.
2845
2968
  cat >conftest.$ac_ext <<_ACEOF
2846
 
#line $LINENO "configure"
2847
2969
/* confdefs.h.  */
2848
2970
_ACEOF
2849
2971
cat confdefs.h >>conftest.$ac_ext
2854
2976
#else
2855
2977
# include <assert.h>
2856
2978
#endif
2857
 
                     Syntax error
 
2979
                     Syntax error
2858
2980
_ACEOF
2859
2981
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2860
2982
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2866
2988
  (exit $ac_status); } >/dev/null; then
2867
2989
  if test -s conftest.err; then
2868
2990
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2991
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2869
2992
  else
2870
2993
    ac_cpp_err=
2871
2994
  fi
2886
3009
  # OK, works on sane cases.  Now check whether non-existent headers
2887
3010
  # can be detected and how.
2888
3011
  cat >conftest.$ac_ext <<_ACEOF
2889
 
#line $LINENO "configure"
2890
3012
/* confdefs.h.  */
2891
3013
_ACEOF
2892
3014
cat confdefs.h >>conftest.$ac_ext
2904
3026
  (exit $ac_status); } >/dev/null; then
2905
3027
  if test -s conftest.err; then
2906
3028
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3029
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2907
3030
  else
2908
3031
    ac_cpp_err=
2909
3032
  fi
2950
3073
  # On the NeXT, cc -E runs the code through the compiler's parser,
2951
3074
  # not just through cpp. "Syntax error" is here to catch this case.
2952
3075
  cat >conftest.$ac_ext <<_ACEOF
2953
 
#line $LINENO "configure"
2954
3076
/* confdefs.h.  */
2955
3077
_ACEOF
2956
3078
cat confdefs.h >>conftest.$ac_ext
2961
3083
#else
2962
3084
# include <assert.h>
2963
3085
#endif
2964
 
                     Syntax error
 
3086
                     Syntax error
2965
3087
_ACEOF
2966
3088
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2967
3089
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2973
3095
  (exit $ac_status); } >/dev/null; then
2974
3096
  if test -s conftest.err; then
2975
3097
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3098
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2976
3099
  else
2977
3100
    ac_cpp_err=
2978
3101
  fi
2993
3116
  # OK, works on sane cases.  Now check whether non-existent headers
2994
3117
  # can be detected and how.
2995
3118
  cat >conftest.$ac_ext <<_ACEOF
2996
 
#line $LINENO "configure"
2997
3119
/* confdefs.h.  */
2998
3120
_ACEOF
2999
3121
cat confdefs.h >>conftest.$ac_ext
3011
3133
  (exit $ac_status); } >/dev/null; then
3012
3134
  if test -s conftest.err; then
3013
3135
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3136
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3014
3137
  else
3015
3138
    ac_cpp_err=
3016
3139
  fi
3071
3194
  echo $ECHO_N "(cached) $ECHO_C" >&6
3072
3195
else
3073
3196
  cat >conftest.$ac_ext <<_ACEOF
3074
 
#line $LINENO "configure"
3075
3197
/* confdefs.h.  */
3076
3198
_ACEOF
3077
3199
cat confdefs.h >>conftest.$ac_ext
3092
3214
_ACEOF
3093
3215
rm -f conftest.$ac_objext
3094
3216
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3095
 
  (eval $ac_compile) 2>&5
 
3217
  (eval $ac_compile) 2>conftest.er1
3096
3218
  ac_status=$?
 
3219
  grep -v '^ *+' conftest.er1 >conftest.err
 
3220
  rm -f conftest.er1
 
3221
  cat conftest.err >&5
3097
3222
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098
3223
  (exit $ac_status); } &&
3099
 
         { ac_try='test -s conftest.$ac_objext'
 
3224
         { ac_try='test -z "$ac_c_werror_flag"
 
3225
                         || test ! -s conftest.err'
 
3226
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3227
  (eval $ac_try) 2>&5
 
3228
  ac_status=$?
 
3229
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3230
  (exit $ac_status); }; } &&
 
3231
         { ac_try='test -s conftest.$ac_objext'
3100
3232
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3101
3233
  (eval $ac_try) 2>&5
3102
3234
  ac_status=$?
3109
3241
 
3110
3242
ac_cv_header_stdc=no
3111
3243
fi
3112
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3244
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3113
3245
 
3114
3246
if test $ac_cv_header_stdc = yes; then
3115
3247
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3116
3248
  cat >conftest.$ac_ext <<_ACEOF
3117
 
#line $LINENO "configure"
3118
3249
/* confdefs.h.  */
3119
3250
_ACEOF
3120
3251
cat confdefs.h >>conftest.$ac_ext
3136
3267
if test $ac_cv_header_stdc = yes; then
3137
3268
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3138
3269
  cat >conftest.$ac_ext <<_ACEOF
3139
 
#line $LINENO "configure"
3140
3270
/* confdefs.h.  */
3141
3271
_ACEOF
3142
3272
cat confdefs.h >>conftest.$ac_ext
3161
3291
  :
3162
3292
else
3163
3293
  cat >conftest.$ac_ext <<_ACEOF
3164
 
#line $LINENO "configure"
3165
3294
/* confdefs.h.  */
3166
3295
_ACEOF
3167
3296
cat confdefs.h >>conftest.$ac_ext
3173
3302
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3174
3303
#else
3175
3304
# define ISLOWER(c) \
3176
 
                   (('a' <= (c) && (c) <= 'i') \
3177
 
                     || ('j' <= (c) && (c) <= 'r') \
3178
 
                     || ('s' <= (c) && (c) <= 'z'))
 
3305
                   (('a' <= (c) && (c) <= 'i') \
 
3306
                     || ('j' <= (c) && (c) <= 'r') \
 
3307
                     || ('s' <= (c) && (c) <= 'z'))
3179
3308
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3180
3309
#endif
3181
3310
 
3186
3315
  int i;
3187
3316
  for (i = 0; i < 256; i++)
3188
3317
    if (XOR (islower (i), ISLOWER (i))
3189
 
        || toupper (i) != TOUPPER (i))
 
3318
        || toupper (i) != TOUPPER (i))
3190
3319
      exit(2);
3191
3320
  exit (0);
3192
3321
}
3211
3340
( exit $ac_status )
3212
3341
ac_cv_header_stdc=no
3213
3342
fi
3214
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3343
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3215
3344
fi
3216
3345
fi
3217
3346
fi
3236
3365
 
3237
3366
 
3238
3367
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3239
 
                  inttypes.h stdint.h unistd.h
 
3368
                  inttypes.h stdint.h unistd.h
3240
3369
do
3241
3370
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3242
3371
echo "$as_me:$LINENO: checking for $ac_header" >&5
3245
3374
  echo $ECHO_N "(cached) $ECHO_C" >&6
3246
3375
else
3247
3376
  cat >conftest.$ac_ext <<_ACEOF
3248
 
#line $LINENO "configure"
3249
3377
/* confdefs.h.  */
3250
3378
_ACEOF
3251
3379
cat confdefs.h >>conftest.$ac_ext
3257
3385
_ACEOF
3258
3386
rm -f conftest.$ac_objext
3259
3387
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3260
 
  (eval $ac_compile) 2>&5
 
3388
  (eval $ac_compile) 2>conftest.er1
3261
3389
  ac_status=$?
 
3390
  grep -v '^ *+' conftest.er1 >conftest.err
 
3391
  rm -f conftest.er1
 
3392
  cat conftest.err >&5
3262
3393
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263
3394
  (exit $ac_status); } &&
3264
 
         { ac_try='test -s conftest.$ac_objext'
 
3395
         { ac_try='test -z "$ac_c_werror_flag"
 
3396
                         || test ! -s conftest.err'
 
3397
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3398
  (eval $ac_try) 2>&5
 
3399
  ac_status=$?
 
3400
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3401
  (exit $ac_status); }; } &&
 
3402
         { ac_try='test -s conftest.$ac_objext'
3265
3403
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3266
3404
  (eval $ac_try) 2>&5
3267
3405
  ac_status=$?
3274
3412
 
3275
3413
eval "$as_ac_Header=no"
3276
3414
fi
3277
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3415
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3278
3416
fi
3279
3417
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3280
3418
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3305
3443
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3306
3444
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3307
3445
cat >conftest.$ac_ext <<_ACEOF
3308
 
#line $LINENO "configure"
3309
3446
/* confdefs.h.  */
3310
3447
_ACEOF
3311
3448
cat confdefs.h >>conftest.$ac_ext
3316
3453
_ACEOF
3317
3454
rm -f conftest.$ac_objext
3318
3455
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3319
 
  (eval $ac_compile) 2>&5
 
3456
  (eval $ac_compile) 2>conftest.er1
3320
3457
  ac_status=$?
 
3458
  grep -v '^ *+' conftest.er1 >conftest.err
 
3459
  rm -f conftest.er1
 
3460
  cat conftest.err >&5
3321
3461
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322
3462
  (exit $ac_status); } &&
3323
 
         { ac_try='test -s conftest.$ac_objext'
 
3463
         { ac_try='test -z "$ac_c_werror_flag"
 
3464
                         || test ! -s conftest.err'
 
3465
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3466
  (eval $ac_try) 2>&5
 
3467
  ac_status=$?
 
3468
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3469
  (exit $ac_status); }; } &&
 
3470
         { ac_try='test -s conftest.$ac_objext'
3324
3471
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3325
3472
  (eval $ac_try) 2>&5
3326
3473
  ac_status=$?
3333
3480
 
3334
3481
ac_header_compiler=no
3335
3482
fi
3336
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3483
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3337
3484
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3338
3485
echo "${ECHO_T}$ac_header_compiler" >&6
3339
3486
 
3341
3488
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3342
3489
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3343
3490
cat >conftest.$ac_ext <<_ACEOF
3344
 
#line $LINENO "configure"
3345
3491
/* confdefs.h.  */
3346
3492
_ACEOF
3347
3493
cat confdefs.h >>conftest.$ac_ext
3359
3505
  (exit $ac_status); } >/dev/null; then
3360
3506
  if test -s conftest.err; then
3361
3507
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3508
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3362
3509
  else
3363
3510
    ac_cpp_err=
3364
3511
  fi
3378
3525
echo "${ECHO_T}$ac_header_preproc" >&6
3379
3526
 
3380
3527
# So?  What about this header?
3381
 
case $ac_header_compiler:$ac_header_preproc in
3382
 
  yes:no )
 
3528
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
3529
  yes:no: )
3383
3530
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3384
3531
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3385
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3386
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3387
 
    (
3388
 
      cat <<\_ASBOX
3389
 
## ------------------------------------ ##
3390
 
## Report this to bug-autoconf@gnu.org. ##
3391
 
## ------------------------------------ ##
3392
 
_ASBOX
3393
 
    ) |
3394
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
3532
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
3533
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
3534
    ac_header_preproc=yes
3395
3535
    ;;
3396
 
  no:yes )
 
3536
  no:yes:* )
3397
3537
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3398
3538
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3399
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3400
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
3539
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
3540
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
3541
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
3542
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
3543
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
3544
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3401
3545
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3402
3546
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3547
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
3548
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3403
3549
    (
3404
3550
      cat <<\_ASBOX
3405
 
## ------------------------------------ ##
3406
 
## Report this to bug-autoconf@gnu.org. ##
3407
 
## ------------------------------------ ##
 
3551
## ------------------------------------------ ##
 
3552
## Report this to the AC_PACKAGE_NAME lists.  ##
 
3553
## ------------------------------------------ ##
3408
3554
_ASBOX
3409
3555
    ) |
3410
3556
      sed "s/^/$as_me: WARNING:     /" >&2
3415
3561
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3416
3562
  echo $ECHO_N "(cached) $ECHO_C" >&6
3417
3563
else
3418
 
  eval "$as_ac_Header=$ac_header_preproc"
 
3564
  eval "$as_ac_Header=\$ac_header_preproc"
3419
3565
fi
3420
3566
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3421
3567
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3436
3582
  echo $ECHO_N "(cached) $ECHO_C" >&6
3437
3583
else
3438
3584
  cat >conftest.$ac_ext <<_ACEOF
3439
 
#line $LINENO "configure"
3440
3585
/* confdefs.h.  */
3441
3586
_ACEOF
3442
3587
cat confdefs.h >>conftest.$ac_ext
3463
3608
_ACEOF
3464
3609
rm -f conftest.$ac_objext
3465
3610
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3466
 
  (eval $ac_compile) 2>&5
 
3611
  (eval $ac_compile) 2>conftest.er1
3467
3612
  ac_status=$?
 
3613
  grep -v '^ *+' conftest.er1 >conftest.err
 
3614
  rm -f conftest.er1
 
3615
  cat conftest.err >&5
3468
3616
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469
3617
  (exit $ac_status); } &&
3470
 
         { ac_try='test -s conftest.$ac_objext'
 
3618
         { ac_try='test -z "$ac_c_werror_flag"
 
3619
                         || test ! -s conftest.err'
 
3620
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3621
  (eval $ac_try) 2>&5
 
3622
  ac_status=$?
 
3623
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3624
  (exit $ac_status); }; } &&
 
3625
         { ac_try='test -s conftest.$ac_objext'
3471
3626
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472
3627
  (eval $ac_try) 2>&5
3473
3628
  ac_status=$?
3480
3635
 
3481
3636
ac_cv_header_sys_wait_h=no
3482
3637
fi
3483
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3638
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3484
3639
fi
3485
3640
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
3486
3641
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
3498
3653
  echo $ECHO_N "(cached) $ECHO_C" >&6
3499
3654
else
3500
3655
  cat >conftest.$ac_ext <<_ACEOF
3501
 
#line $LINENO "configure"
3502
3656
/* confdefs.h.  */
3503
3657
_ACEOF
3504
3658
cat confdefs.h >>conftest.$ac_ext
3561
3715
_ACEOF
3562
3716
rm -f conftest.$ac_objext
3563
3717
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3564
 
  (eval $ac_compile) 2>&5
 
3718
  (eval $ac_compile) 2>conftest.er1
3565
3719
  ac_status=$?
 
3720
  grep -v '^ *+' conftest.er1 >conftest.err
 
3721
  rm -f conftest.er1
 
3722
  cat conftest.err >&5
3566
3723
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567
3724
  (exit $ac_status); } &&
3568
 
         { ac_try='test -s conftest.$ac_objext'
 
3725
         { ac_try='test -z "$ac_c_werror_flag"
 
3726
                         || test ! -s conftest.err'
 
3727
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3728
  (eval $ac_try) 2>&5
 
3729
  ac_status=$?
 
3730
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3731
  (exit $ac_status); }; } &&
 
3732
         { ac_try='test -s conftest.$ac_objext'
3569
3733
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3570
3734
  (eval $ac_try) 2>&5
3571
3735
  ac_status=$?
3578
3742
 
3579
3743
ac_cv_c_const=no
3580
3744
fi
3581
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3745
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3582
3746
fi
3583
3747
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3584
3748
echo "${ECHO_T}$ac_cv_c_const" >&6
3621
3785
      # `set' does not quote correctly, so add quotes (double-quote
3622
3786
      # substitution turns \\\\ into \\, and sed turns \\ into \).
3623
3787
      sed -n \
3624
 
        "s/'/'\\\\''/g;
3625
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
3788
        "s/'/'\\\\''/g;
 
3789
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3626
3790
      ;;
3627
3791
    *)
3628
3792
      # `set' quotes correctly as required by POSIX, so do not add quotes.
3629
3793
      sed -n \
3630
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
3794
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3631
3795
      ;;
3632
3796
    esac;
3633
3797
} |
3657
3821
# trailing colons and then remove the whole line if VPATH becomes empty
3658
3822
# (actually we leave an empty line to preserve line numbers).
3659
3823
if test "x$srcdir" = x.; then
3660
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
3824
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3661
3825
s/:*\$(srcdir):*/:/;
3662
3826
s/:*\${srcdir}:*/:/;
3663
3827
s/:*@srcdir@:*/:/;
3664
 
s/^\([^=]*=[    ]*\):*/\1/;
 
3828
s/^\([^=]*=[     ]*\):*/\1/;
3665
3829
s/:*$//;
3666
 
s/^[^=]*=[      ]*$//;
 
3830
s/^[^=]*=[       ]*$//;
3667
3831
}'
3668
3832
fi
3669
3833
 
3674
3838
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3675
3839
  # 1. Remove the extension, and $U if already installed.
3676
3840
  ac_i=`echo "$ac_i" |
3677
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
3841
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3678
3842
  # 2. Add them.
3679
3843
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3680
3844
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3732
3896
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3733
3897
  set -o posix
3734
3898
fi
 
3899
DUALCASE=1; export DUALCASE # for MKS sh
3735
3900
 
3736
3901
# Support unset when possible.
3737
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
3902
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3738
3903
  as_unset=unset
3739
3904
else
3740
3905
  as_unset=false
3753
3918
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3754
3919
  LC_TELEPHONE LC_TIME
3755
3920
do
3756
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
3921
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3757
3922
    eval $as_var=C; export $as_var
3758
3923
  else
3759
3924
    $as_unset $as_var
3932
4097
if mkdir -p . 2>/dev/null; then
3933
4098
  as_mkdir_p=:
3934
4099
else
 
4100
  test -d ./-p && rmdir ./-p
3935
4101
  as_mkdir_p=false
3936
4102
fi
3937
4103
 
3938
4104
as_executable_p="test -f"
3939
4105
 
3940
4106
# Sed expression to map a string onto a valid CPP name.
3941
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
4107
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3942
4108
 
3943
4109
# Sed expression to map a string onto a valid variable name.
3944
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
4110
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3945
4111
 
3946
4112
 
3947
4113
# IFS
3968
4134
cat >&5 <<_CSEOF
3969
4135
 
3970
4136
This file was extended by $as_me, which was
3971
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
4137
generated by GNU Autoconf 2.59.  Invocation command line was
3972
4138
 
3973
4139
  CONFIG_FILES    = $CONFIG_FILES
3974
4140
  CONFIG_HEADERS  = $CONFIG_HEADERS
4012
4178
  -d, --debug      don't remove temporary files
4013
4179
      --recheck    update $as_me by reconfiguring in the same conditions
4014
4180
  --file=FILE[:TEMPLATE]
4015
 
                   instantiate the configuration file FILE
 
4181
                   instantiate the configuration file FILE
4016
4182
  --header=FILE[:TEMPLATE]
4017
 
                   instantiate the configuration header FILE
 
4183
                   instantiate the configuration header FILE
4018
4184
 
4019
4185
Configuration files:
4020
4186
$config_files
4031
4197
cat >>$CONFIG_STATUS <<_ACEOF
4032
4198
ac_cs_version="\\
4033
4199
config.status
4034
 
configured by $0, generated by GNU Autoconf 2.57,
 
4200
configured by $0, generated by GNU Autoconf 2.59,
4035
4201
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4036
4202
 
4037
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4038
 
Free Software Foundation, Inc.
 
4203
Copyright (C) 2003 Free Software Foundation, Inc.
4039
4204
This config.status script is free software; the Free Software Foundation
4040
4205
gives unlimited permission to copy, distribute and modify it."
4041
4206
srcdir=$srcdir
4246
4411
s,@STRIP@,$STRIP,;t t
4247
4412
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4248
4413
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
4414
s,@mkdir_p@,$mkdir_p,;t t
4249
4415
s,@AWK@,$AWK,;t t
4250
4416
s,@SET_MAKE@,$SET_MAKE,;t t
4251
4417
s,@am__leading_dot@,$am__leading_dot,;t t
4301
4467
      (echo ':t
4302
4468
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4303
4469
      if test -z "$ac_sed_cmds"; then
4304
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
4470
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4305
4471
      else
4306
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
4472
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4307
4473
      fi
4308
4474
      ac_sed_frag=`expr $ac_sed_frag + 1`
4309
4475
      ac_beg=$ac_end
4321
4487
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4322
4488
  case $ac_file in
4323
4489
  - | *:- | *:-:* ) # input from stdin
4324
 
        cat >$tmp/stdin
4325
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4326
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4490
        cat >$tmp/stdin
 
4491
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
4492
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4327
4493
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4328
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4494
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4329
4495
  * )   ac_file_in=$ac_file.in ;;
4330
4496
  esac
4331
4497
 
4332
4498
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4333
4499
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4334
4500
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4335
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
4336
 
         X"$ac_file" : 'X\(//\)$' \| \
4337
 
         X"$ac_file" : 'X\(/\)' \| \
4338
 
         .     : '\(.\)' 2>/dev/null ||
 
4501
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
4502
         X"$ac_file" : 'X\(//\)$' \| \
 
4503
         X"$ac_file" : 'X\(/\)' \| \
 
4504
         .     : '\(.\)' 2>/dev/null ||
4339
4505
echo X"$ac_file" |
4340
4506
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4341
4507
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4351
4517
      as_dirs="$as_dir $as_dirs"
4352
4518
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4353
4519
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4354
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4355
 
         X"$as_dir" : 'X\(//\)$' \| \
4356
 
         X"$as_dir" : 'X\(/\)' \| \
4357
 
         .     : '\(.\)' 2>/dev/null ||
 
4520
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4521
         X"$as_dir" : 'X\(//\)$' \| \
 
4522
         X"$as_dir" : 'X\(/\)' \| \
 
4523
         .     : '\(.\)' 2>/dev/null ||
4358
4524
echo X"$as_dir" |
4359
4525
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4360
4526
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4392
4558
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4393
4559
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4394
4560
esac
4395
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4396
 
# absolute.
4397
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4398
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4399
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4400
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
4561
 
 
4562
# Do not use `cd foo && pwd` to compute absolute paths, because
 
4563
# the directories may not exist.
 
4564
case `pwd` in
 
4565
.) ac_abs_builddir="$ac_dir";;
 
4566
*)
 
4567
  case "$ac_dir" in
 
4568
  .) ac_abs_builddir=`pwd`;;
 
4569
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
4570
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
4571
  esac;;
 
4572
esac
 
4573
case $ac_abs_builddir in
 
4574
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4575
*)
 
4576
  case ${ac_top_builddir}. in
 
4577
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
4578
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4579
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
4580
  esac;;
 
4581
esac
 
4582
case $ac_abs_builddir in
 
4583
.) ac_abs_srcdir=$ac_srcdir;;
 
4584
*)
 
4585
  case $ac_srcdir in
 
4586
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
4587
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
4588
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
4589
  esac;;
 
4590
esac
 
4591
case $ac_abs_builddir in
 
4592
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
4593
*)
 
4594
  case $ac_top_srcdir in
 
4595
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
4596
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
4597
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
4598
  esac;;
 
4599
esac
4401
4600
 
4402
4601
 
4403
4602
  case $INSTALL in
4419
4618
    configure_input="$ac_file.  "
4420
4619
  fi
4421
4620
  configure_input=$configure_input"Generated from `echo $ac_file_in |
4422
 
                                     sed 's,.*/,,'` by configure."
 
4621
                                     sed 's,.*/,,'` by configure."
4423
4622
 
4424
4623
  # First look for the input files in the build tree, otherwise in the
4425
4624
  # src tree.
4428
4627
      case $f in
4429
4628
      -) echo $tmp/stdin ;;
4430
4629
      [\\/$]*)
4431
 
         # Absolute (can't be DOS-style, as IFS=:)
4432
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4630
         # Absolute (can't be DOS-style, as IFS=:)
 
4631
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4433
4632
echo "$as_me: error: cannot find input file: $f" >&2;}
4434
4633
   { (exit 1); exit 1; }; }
4435
 
         echo $f;;
 
4634
         echo "$f";;
4436
4635
      *) # Relative
4437
 
         if test -f "$f"; then
4438
 
           # Build tree
4439
 
           echo $f
4440
 
         elif test -f "$srcdir/$f"; then
4441
 
           # Source tree
4442
 
           echo $srcdir/$f
4443
 
         else
4444
 
           # /dev/null tree
4445
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4636
         if test -f "$f"; then
 
4637
           # Build tree
 
4638
           echo "$f"
 
4639
         elif test -f "$srcdir/$f"; then
 
4640
           # Source tree
 
4641
           echo "$srcdir/$f"
 
4642
         else
 
4643
           # /dev/null tree
 
4644
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4446
4645
echo "$as_me: error: cannot find input file: $f" >&2;}
4447
4646
   { (exit 1); exit 1; }; }
4448
 
         fi;;
 
4647
         fi;;
4449
4648
      esac
4450
4649
    done` || { (exit 1); exit 1; }
4451
4650
_ACEOF
4487
4686
# NAME is the cpp macro being defined and VALUE is the value it is being given.
4488
4687
#
4489
4688
# ac_d sets the value in "#define NAME VALUE" lines.
4490
 
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
4491
 
ac_dB='[        ].*$,\1#\2'
 
4689
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
 
4690
ac_dB='[         ].*$,\1#\2'
4492
4691
ac_dC=' '
4493
4692
ac_dD=',;t'
4494
4693
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4495
 
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
4694
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
4496
4695
ac_uB='$,\1#\2define\3'
4497
4696
ac_uC=' '
4498
4697
ac_uD=',;t'
4501
4700
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4502
4701
  case $ac_file in
4503
4702
  - | *:- | *:-:* ) # input from stdin
4504
 
        cat >$tmp/stdin
4505
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4506
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4703
        cat >$tmp/stdin
 
4704
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
4705
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4507
4706
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4508
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4707
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4509
4708
  * )   ac_file_in=$ac_file.in ;;
4510
4709
  esac
4511
4710
 
4519
4718
      case $f in
4520
4719
      -) echo $tmp/stdin ;;
4521
4720
      [\\/$]*)
4522
 
         # Absolute (can't be DOS-style, as IFS=:)
4523
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4721
         # Absolute (can't be DOS-style, as IFS=:)
 
4722
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4524
4723
echo "$as_me: error: cannot find input file: $f" >&2;}
4525
4724
   { (exit 1); exit 1; }; }
4526
 
         echo $f;;
 
4725
         # Do quote $f, to prevent DOS paths from being IFS'd.
 
4726
         echo "$f";;
4527
4727
      *) # Relative
4528
 
         if test -f "$f"; then
4529
 
           # Build tree
4530
 
           echo $f
4531
 
         elif test -f "$srcdir/$f"; then
4532
 
           # Source tree
4533
 
           echo $srcdir/$f
4534
 
         else
4535
 
           # /dev/null tree
4536
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4728
         if test -f "$f"; then
 
4729
           # Build tree
 
4730
           echo "$f"
 
4731
         elif test -f "$srcdir/$f"; then
 
4732
           # Source tree
 
4733
           echo "$srcdir/$f"
 
4734
         else
 
4735
           # /dev/null tree
 
4736
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4537
4737
echo "$as_me: error: cannot find input file: $f" >&2;}
4538
4738
   { (exit 1); exit 1; }; }
4539
 
         fi;;
 
4739
         fi;;
4540
4740
      esac
4541
4741
    done` || { (exit 1); exit 1; }
4542
4742
  # Remove the trailing spaces.
4543
 
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
 
4743
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
4544
4744
 
4545
4745
_ACEOF
4546
4746
 
4563
4763
s,[\\$`],\\&,g
4564
4764
t clear
4565
4765
: clear
4566
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
4766
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4567
4767
t end
4568
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
4768
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4569
4769
: end
4570
4770
_ACEOF
4571
4771
# If some macros were called several times there might be several times
4579
4779
# example, in the case of _POSIX_SOURCE, which is predefined and required
4580
4780
# on some systems where configure will not decide to define it.
4581
4781
cat >>conftest.undefs <<\_ACEOF
4582
 
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
4782
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4583
4783
_ACEOF
4584
4784
 
4585
4785
# Break up conftest.defines because some shells have a limit on the size
4586
4786
# of here documents, and old seds have small limits too (100 cmds).
4587
4787
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4588
 
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
4788
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4589
4789
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4590
4790
echo '  :' >>$CONFIG_STATUS
4591
4791
rm -f conftest.tail
4594
4794
  # Write a limited-size here document to $tmp/defines.sed.
4595
4795
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4596
4796
  # Speed up: don't consider the non `#define' lines.
4597
 
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
4797
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
4598
4798
  # Work around the forget-to-reset-the-flag bug.
4599
4799
  echo 't clr' >>$CONFIG_STATUS
4600
4800
  echo ': clr' >>$CONFIG_STATUS
4621
4821
  # Write a limited-size here document to $tmp/undefs.sed.
4622
4822
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4623
4823
  # Speed up: don't consider the non `#undef'
4624
 
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
4824
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
4625
4825
  # Work around the forget-to-reset-the-flag bug.
4626
4826
  echo 't clr' >>$CONFIG_STATUS
4627
4827
  echo ': clr' >>$CONFIG_STATUS
4655
4855
    else
4656
4856
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4657
4857
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4658
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
4659
 
         X"$ac_file" : 'X\(//\)$' \| \
4660
 
         X"$ac_file" : 'X\(/\)' \| \
4661
 
         .     : '\(.\)' 2>/dev/null ||
 
4858
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
4859
         X"$ac_file" : 'X\(//\)$' \| \
 
4860
         X"$ac_file" : 'X\(/\)' \| \
 
4861
         .     : '\(.\)' 2>/dev/null ||
4662
4862
echo X"$ac_file" |
4663
4863
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4664
4864
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4674
4874
      as_dirs="$as_dir $as_dirs"
4675
4875
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4676
4876
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4677
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4678
 
         X"$as_dir" : 'X\(//\)$' \| \
4679
 
         X"$as_dir" : 'X\(/\)' \| \
4680
 
         .     : '\(.\)' 2>/dev/null ||
 
4877
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4878
         X"$as_dir" : 'X\(//\)$' \| \
 
4879
         X"$as_dir" : 'X\(/\)' \| \
 
4880
         .     : '\(.\)' 2>/dev/null ||
4681
4881
echo X"$as_dir" |
4682
4882
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4683
4883
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4709
4909
done
4710
4910
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4711
4911
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4712
 
         X$ac_file : 'X\(//\)[^/]' \| \
4713
 
         X$ac_file : 'X\(//\)$' \| \
4714
 
         X$ac_file : 'X\(/\)' \| \
4715
 
         .     : '\(.\)' 2>/dev/null ||
 
4912
         X$ac_file : 'X\(//\)[^/]' \| \
 
4913
         X$ac_file : 'X\(//\)$' \| \
 
4914
         X$ac_file : 'X\(/\)' \| \
 
4915
         .     : '\(.\)' 2>/dev/null ||
4716
4916
echo X$ac_file |
4717
4917
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4718
4918
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4731
4931
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4732
4932
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4733
4933
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4734
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
4735
 
         X"$ac_dest" : 'X\(//\)$' \| \
4736
 
         X"$ac_dest" : 'X\(/\)' \| \
4737
 
         .     : '\(.\)' 2>/dev/null ||
 
4934
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
4935
         X"$ac_dest" : 'X\(//\)$' \| \
 
4936
         X"$ac_dest" : 'X\(/\)' \| \
 
4937
         .     : '\(.\)' 2>/dev/null ||
4738
4938
echo X"$ac_dest" |
4739
4939
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4740
4940
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4741
4941
          /^X\(\/\/\)$/{ s//\1/; q; }
4742
4942
          /^X\(\/\).*/{ s//\1/; q; }
4743
4943
          s/.*/./; q'`
 
4944
  { if $as_mkdir_p; then
 
4945
    mkdir -p "$ac_dir"
 
4946
  else
 
4947
    as_dir="$ac_dir"
 
4948
    as_dirs=
 
4949
    while test ! -d "$as_dir"; do
 
4950
      as_dirs="$as_dir $as_dirs"
 
4951
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
4952
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4953
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4954
         X"$as_dir" : 'X\(//\)$' \| \
 
4955
         X"$as_dir" : 'X\(/\)' \| \
 
4956
         .     : '\(.\)' 2>/dev/null ||
 
4957
echo X"$as_dir" |
 
4958
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4959
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4960
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4961
          /^X\(\/\).*/{ s//\1/; q; }
 
4962
          s/.*/./; q'`
 
4963
    done
 
4964
    test ! -n "$as_dirs" || mkdir $as_dirs
 
4965
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
4966
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
4967
   { (exit 1); exit 1; }; }; }
 
4968
 
4744
4969
  ac_builddir=.
4745
4970
 
4746
4971
if test "$ac_dir" != .; then
4766
4991
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4767
4992
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4768
4993
esac
4769
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4770
 
# absolute.
4771
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4772
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4773
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4774
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
4994
 
 
4995
# Do not use `cd foo && pwd` to compute absolute paths, because
 
4996
# the directories may not exist.
 
4997
case `pwd` in
 
4998
.) ac_abs_builddir="$ac_dir";;
 
4999
*)
 
5000
  case "$ac_dir" in
 
5001
  .) ac_abs_builddir=`pwd`;;
 
5002
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
5003
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
5004
  esac;;
 
5005
esac
 
5006
case $ac_abs_builddir in
 
5007
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5008
*)
 
5009
  case ${ac_top_builddir}. in
 
5010
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
5011
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5012
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
5013
  esac;;
 
5014
esac
 
5015
case $ac_abs_builddir in
 
5016
.) ac_abs_srcdir=$ac_srcdir;;
 
5017
*)
 
5018
  case $ac_srcdir in
 
5019
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
5020
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
5021
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
5022
  esac;;
 
5023
esac
 
5024
case $ac_abs_builddir in
 
5025
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5026
*)
 
5027
  case $ac_top_srcdir in
 
5028
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
5029
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5030
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
5031
  esac;;
 
5032
esac
4775
5033
 
4776
5034
 
4777
5035
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4789
5047
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4790
5048
    dirpart=`(dirname "$mf") 2>/dev/null ||
4791
5049
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4792
 
         X"$mf" : 'X\(//\)[^/]' \| \
4793
 
         X"$mf" : 'X\(//\)$' \| \
4794
 
         X"$mf" : 'X\(/\)' \| \
4795
 
         .     : '\(.\)' 2>/dev/null ||
 
5050
         X"$mf" : 'X\(//\)[^/]' \| \
 
5051
         X"$mf" : 'X\(//\)$' \| \
 
5052
         X"$mf" : 'X\(/\)' \| \
 
5053
         .     : '\(.\)' 2>/dev/null ||
4796
5054
echo X"$mf" |
4797
5055
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4798
5056
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4805
5063
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4806
5064
  # Extract the definition of DEP_FILES from the Makefile without
4807
5065
  # running `make'.
4808
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
5066
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4809
5067
  test -z "$DEPDIR" && continue
4810
5068
  # When using ansi2knr, U may be empty or an underscore; expand it
4811
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
 
5069
  U=`sed -n 's/^U = //p' < "$mf"`
4812
5070
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4813
5071
  # We invoke sed twice because it is the simplest approach to
4814
5072
  # changing $(DEPDIR) to its actual value in the expansion.
4815
 
  for file in `sed -n -e '
 
5073
  for file in `sed -n '
4816
5074
    /^DEP_FILES = .*\\\\$/ {
4817
5075
      s/^DEP_FILES = //
4818
5076
      :loop
4828
5086
    test -f "$dirpart/$file" && continue
4829
5087
    fdir=`(dirname "$file") 2>/dev/null ||
4830
5088
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4831
 
         X"$file" : 'X\(//\)[^/]' \| \
4832
 
         X"$file" : 'X\(//\)$' \| \
4833
 
         X"$file" : 'X\(/\)' \| \
4834
 
         .     : '\(.\)' 2>/dev/null ||
 
5089
         X"$file" : 'X\(//\)[^/]' \| \
 
5090
         X"$file" : 'X\(//\)$' \| \
 
5091
         X"$file" : 'X\(/\)' \| \
 
5092
         .     : '\(.\)' 2>/dev/null ||
4835
5093
echo X"$file" |
4836
5094
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4837
5095
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4847
5105
      as_dirs="$as_dir $as_dirs"
4848
5106
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4849
5107
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4850
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4851
 
         X"$as_dir" : 'X\(//\)$' \| \
4852
 
         X"$as_dir" : 'X\(/\)' \| \
4853
 
         .     : '\(.\)' 2>/dev/null ||
 
5108
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5109
         X"$as_dir" : 'X\(//\)$' \| \
 
5110
         X"$as_dir" : 'X\(/\)' \| \
 
5111
         .     : '\(.\)' 2>/dev/null ||
4854
5112
echo X"$as_dir" |
4855
5113
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4856
5114
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }