~ubuntu-branches/ubuntu/quantal/rssh/quantal

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Jesus Climent
  • Date: 2004-10-27 09:44:54 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041027094454-6bl6i4qf2i27bjpl
Tags: 2.2.2-1
* New upstream release (Closes: #278157)
* Urgency set to high due to the bug #278157, which happens to be a security
  bug. Thanks to the reporters: Hideki Yamane and Florian Weimer.

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 for rssh 2.1.1.
4
 
#
5
 
# Report bugs to <rssh-discuss@lists.sourceforge.net>.
6
 
#
7
 
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8
 
# Free Software Foundation, Inc.
 
3
# Generated by GNU Autoconf 2.59 for rssh 2.2.2.
 
4
#
 
5
# Report bugs to <rssh-discuss at lists dot sourceforge dot net>.
 
6
#
 
7
# Copyright (C) 2003 Free Software Foundation, Inc.
9
8
# This configure script is free software; the Free Software Foundation
10
9
# gives unlimited permission to copy, distribute and modify it.
11
10
## --------------------- ##
22
21
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23
22
  set -o posix
24
23
fi
 
24
DUALCASE=1; export DUALCASE # for MKS sh
25
25
 
26
26
# Support unset when possible.
27
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
27
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28
28
  as_unset=unset
29
29
else
30
30
  as_unset=false
43
43
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
44
  LC_TELEPHONE LC_TIME
45
45
do
46
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
46
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
47
    eval $as_var=C; export $as_var
48
48
  else
49
49
    $as_unset $as_var
220
220
if mkdir -p . 2>/dev/null; then
221
221
  as_mkdir_p=:
222
222
else
 
223
  test -d ./-p && rmdir ./-p
223
224
  as_mkdir_p=false
224
225
fi
225
226
 
226
227
as_executable_p="test -f"
227
228
 
228
229
# Sed expression to map a string onto a valid CPP name.
229
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
230
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230
231
 
231
232
# Sed expression to map a string onto a valid variable name.
232
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
233
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
233
234
 
234
235
 
235
236
# IFS
268
269
# Identity of this package.
269
270
PACKAGE_NAME='rssh'
270
271
PACKAGE_TARNAME='rssh'
271
 
PACKAGE_VERSION='2.1.1'
272
 
PACKAGE_STRING='rssh 2.1.1'
273
 
PACKAGE_BUGREPORT='rssh-discuss@lists.sourceforge.net'
 
272
PACKAGE_VERSION='2.2.2'
 
273
PACKAGE_STRING='rssh 2.2.2'
 
274
PACKAGE_BUGREPORT='rssh-discuss at lists dot sourceforge dot net'
274
275
 
275
276
ac_unique_file="rssh.1"
276
277
# Factoring default headers for most tests.
310
311
# include <unistd.h>
311
312
#endif"
312
313
 
313
 
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 PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE LN_S CPP EGREP LIBOBJS scp_path sftp_path static defcflags CHROOT_HELPER LTLIBOBJS'
 
314
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 LN_S CPP EGREP LIBOBJS scp_path sftp_path cvs_path rdist_path rsync_path static defcflags CHROOT_HELPER LTLIBOBJS'
314
315
ac_subst_files=''
315
316
 
316
317
# Initialize some variables set by options.
669
670
 
670
671
# Be sure to have absolute paths.
671
672
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672
 
              localstatedir libdir includedir oldincludedir infodir mandir
 
673
              localstatedir libdir includedir oldincludedir infodir mandir
673
674
do
674
675
  eval ac_val=$`echo $ac_var`
675
676
  case $ac_val in
709
710
  # Try the directory containing this script, then its parent.
710
711
  ac_confdir=`(dirname "$0") 2>/dev/null ||
711
712
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712
 
         X"$0" : 'X\(//\)[^/]' \| \
713
 
         X"$0" : 'X\(//\)$' \| \
714
 
         X"$0" : 'X\(/\)' \| \
715
 
         .     : '\(.\)' 2>/dev/null ||
 
713
         X"$0" : 'X\(//\)[^/]' \| \
 
714
         X"$0" : 'X\(//\)$' \| \
 
715
         X"$0" : 'X\(/\)' \| \
 
716
         .     : '\(.\)' 2>/dev/null ||
716
717
echo X"$0" |
717
718
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718
719
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
779
780
  # Omit some internal or obsolete options to make the list less imposing.
780
781
  # This message is too long to be a string in the A/UX 3.1 sh.
781
782
  cat <<_ACEOF
782
 
\`configure' configures rssh 2.1.1 to adapt to many kinds of systems.
 
783
\`configure' configures rssh 2.2.2 to adapt to many kinds of systems.
783
784
 
784
785
Usage: $0 [OPTION]... [VAR=VALUE]...
785
786
 
804
805
  cat <<_ACEOF
805
806
Installation directories:
806
807
  --prefix=PREFIX         install architecture-independent files in PREFIX
807
 
                          [$ac_default_prefix]
 
808
                          [$ac_default_prefix]
808
809
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
809
 
                          [PREFIX]
 
810
                          [PREFIX]
810
811
 
811
812
By default, \`make install' will install all the files in
812
813
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
841
842
 
842
843
if test -n "$ac_init_help"; then
843
844
  case $ac_init_help in
844
 
     short | recursive ) echo "Configuration of rssh 2.1.1:";;
 
845
     short | recursive ) echo "Configuration of rssh 2.2.2:";;
845
846
   esac
846
847
  cat <<\_ACEOF
847
848
 
848
849
Optional Features:
849
850
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
850
851
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
851
 
  --disable-dependency-tracking Speeds up one-time builds
852
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
852
  --disable-dependency-tracking  speeds up one-time build
 
853
  --enable-dependency-tracking   do not reject slow dependency extractors
853
854
  --enable-static         enable static compilation [auto]
854
855
 
855
856
Optional Packages:
857
858
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
858
859
  --with-scp              specify path to scp binary
859
860
  --with-sftp-server      specify path to sftp-server binary
 
861
  --with-cvs              specify path to cvs binary
 
862
  --with-rdist              specify path to rdist binary
 
863
  --with-rsync              specify path to rsync binary
860
864
 
861
865
Some influential environment variables:
862
866
  CC          C compiler command
870
874
Use these variables to override the choices made by `configure' or to help
871
875
it to find libraries and programs with nonstandard names/locations.
872
876
 
873
 
Report bugs to <rssh-discuss@lists.sourceforge.net>.
 
877
Report bugs to <rssh-discuss at lists dot sourceforge dot net>.
874
878
_ACEOF
875
879
fi
876
880
 
904
908
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
905
909
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
906
910
esac
907
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
908
 
# absolute.
909
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
910
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
911
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
912
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
911
 
 
912
# Do not use `cd foo && pwd` to compute absolute paths, because
 
913
# the directories may not exist.
 
914
case `pwd` in
 
915
.) ac_abs_builddir="$ac_dir";;
 
916
*)
 
917
  case "$ac_dir" in
 
918
  .) ac_abs_builddir=`pwd`;;
 
919
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
920
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
921
  esac;;
 
922
esac
 
923
case $ac_abs_builddir in
 
924
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
925
*)
 
926
  case ${ac_top_builddir}. in
 
927
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
928
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
929
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
930
  esac;;
 
931
esac
 
932
case $ac_abs_builddir in
 
933
.) ac_abs_srcdir=$ac_srcdir;;
 
934
*)
 
935
  case $ac_srcdir in
 
936
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
937
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
938
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
939
  esac;;
 
940
esac
 
941
case $ac_abs_builddir in
 
942
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
943
*)
 
944
  case $ac_top_srcdir in
 
945
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
946
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
947
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
948
  esac;;
 
949
esac
913
950
 
914
951
    cd $ac_dir
915
952
    # Check for guested configure; otherwise get Cygnus style configure.
920
957
      echo
921
958
      $SHELL $ac_srcdir/configure  --help=recursive
922
959
    elif test -f $ac_srcdir/configure.ac ||
923
 
           test -f $ac_srcdir/configure.in; then
 
960
           test -f $ac_srcdir/configure.in; then
924
961
      echo
925
962
      $ac_configure --help
926
963
    else
933
970
test -n "$ac_init_help" && exit 0
934
971
if $ac_init_version; then
935
972
  cat <<\_ACEOF
936
 
rssh configure 2.1.1
937
 
generated by GNU Autoconf 2.57
 
973
rssh configure 2.2.2
 
974
generated by GNU Autoconf 2.59
938
975
 
939
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
940
 
Free Software Foundation, Inc.
 
976
Copyright (C) 2003 Free Software Foundation, Inc.
941
977
This configure script is free software; the Free Software Foundation
942
978
gives unlimited permission to copy, distribute and modify it.
943
979
_ACEOF
948
984
This file contains any messages produced by compilers while
949
985
running configure, to aid debugging if configure makes a mistake.
950
986
 
951
 
It was created by rssh $as_me 2.1.1, which was
952
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
987
It was created by rssh $as_me 2.2.2, which was
 
988
generated by GNU Autoconf 2.59.  Invocation command line was
953
989
 
954
990
  $ $0 $@
955
991
 
1026
1062
    2)
1027
1063
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1028
1064
      if test $ac_must_keep_next = true; then
1029
 
        ac_must_keep_next=false # Got value, back to normal.
 
1065
        ac_must_keep_next=false # Got value, back to normal.
1030
1066
      else
1031
 
        case $ac_arg in
1032
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1033
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1034
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1035
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1036
 
            case "$ac_configure_args0 " in
1037
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1038
 
            esac
1039
 
            ;;
1040
 
          -* ) ac_must_keep_next=true ;;
1041
 
        esac
 
1067
        case $ac_arg in
 
1068
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1069
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1070
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1071
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1072
            case "$ac_configure_args0 " in
 
1073
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1074
            esac
 
1075
            ;;
 
1076
          -* ) ac_must_keep_next=true ;;
 
1077
        esac
1042
1078
      fi
1043
1079
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1044
1080
      # Get rid of the leading space.
1072
1108
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1073
1109
    *ac_space=\ *)
1074
1110
      sed -n \
1075
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1076
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1111
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1112
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1077
1113
      ;;
1078
1114
    *)
1079
1115
      sed -n \
1080
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1116
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1081
1117
      ;;
1082
1118
    esac;
1083
1119
}
1106
1142
      for ac_var in $ac_subst_files
1107
1143
      do
1108
1144
        eval ac_val=$`echo $ac_var`
1109
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1145
        echo "$ac_var='"'"'$ac_val'"'"'"
1110
1146
      done | sort
1111
1147
      echo
1112
1148
    fi
1125
1161
      echo "$as_me: caught signal $ac_signal"
1126
1162
    echo "$as_me: exit $exit_status"
1127
1163
  } >&5
1128
 
  rm -f core core.* *.core &&
 
1164
  rm -f core *.core &&
1129
1165
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1130
1166
    exit $exit_status
1131
1167
     ' 0
1205
1241
# value.
1206
1242
ac_cache_corrupted=false
1207
1243
for ac_var in `(set) 2>&1 |
1208
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1244
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1209
1245
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1210
1246
  eval ac_new_set=\$ac_env_${ac_var}_set
1211
1247
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1222
1258
    ,);;
1223
1259
    *)
1224
1260
      if test "x$ac_old_val" != "x$ac_new_val"; then
1225
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1261
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1226
1262
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1227
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1263
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1228
1264
echo "$as_me:   former value:  $ac_old_val" >&2;}
1229
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1265
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1230
1266
echo "$as_me:   current value: $ac_new_val" >&2;}
1231
 
        ac_cache_corrupted=:
 
1267
        ac_cache_corrupted=:
1232
1268
      fi;;
1233
1269
  esac
1234
1270
  # Pass precious variables to config.status.
1284
1320
 
1285
1321
 
1286
1322
 
1287
 
am__api_version="1.6"
 
1323
am__api_version="1.8"
1288
1324
ac_aux_dir=
1289
1325
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1290
1326
  if test -f $ac_dir/install-sh; then
1321
1357
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1322
1358
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1323
1359
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1360
# OS/2's system install, which has a completely different semantic
1324
1361
# ./install, which can be erroneously created by make from ./install.sh.
1325
1362
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1326
1363
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1337
1374
case $as_dir/ in
1338
1375
  ./ | .// | /cC/* | \
1339
1376
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1377
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1340
1378
  /usr/ucb/* ) ;;
1341
1379
  *)
1342
1380
    # OSF1 and SCO ODT 3.0 have their own names for install.
1344
1382
    # by default.
1345
1383
    for ac_prog in ginstall scoinst install; do
1346
1384
      for ac_exec_ext in '' $ac_executable_extensions; do
1347
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1348
 
          if test $ac_prog = install &&
1349
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1350
 
            # AIX install.  It has an incompatible calling convention.
1351
 
            :
1352
 
          elif test $ac_prog = install &&
1353
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1354
 
            # program-specific install script used by HP pwplus--don't use.
1355
 
            :
1356
 
          else
1357
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1358
 
            break 3
1359
 
          fi
1360
 
        fi
 
1385
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1386
          if test $ac_prog = install &&
 
1387
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1388
            # AIX install.  It has an incompatible calling convention.
 
1389
            :
 
1390
          elif test $ac_prog = install &&
 
1391
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1392
            # program-specific install script used by HP pwplus--don't use.
 
1393
            :
 
1394
          else
 
1395
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1396
            break 3
 
1397
          fi
 
1398
        fi
1361
1399
      done
1362
1400
    done
1363
1401
    ;;
1445
1483
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1446
1484
rm conftest.sed
1447
1485
 
1448
 
 
1449
1486
# expand $ac_aux_dir to an absolute path
1450
1487
am_aux_dir=`cd $ac_aux_dir && pwd`
1451
1488
 
1459
1496
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1460
1497
fi
1461
1498
 
 
1499
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1500
  # Keeping the `.' argument allows $(mkdir_p) to be used without
 
1501
  # argument.  Indeed, we sometimes output rules like
 
1502
  #   $(mkdir_p) $(somedir)
 
1503
  # where $(somedir) is conditionally defined.
 
1504
  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
 
1505
  # expensive solution, as it forces Make to start a sub-shell.)
 
1506
  mkdir_p='mkdir -p -- .'
 
1507
else
 
1508
  # On NextStep and OpenStep, the `mkdir' command does not
 
1509
  # recognize any option.  It will interpret all options as
 
1510
  # directories to create, and then abort because `.' already
 
1511
  # exists.
 
1512
  for d in ./-p ./--version;
 
1513
  do
 
1514
    test -d $d && rmdir $d
 
1515
  done
 
1516
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1517
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1518
    mkdir_p='$(mkinstalldirs)'
 
1519
  else
 
1520
    mkdir_p='$(install_sh) -d'
 
1521
  fi
 
1522
fi
 
1523
 
1462
1524
for ac_prog in gawk mawk nawk awk
1463
1525
do
1464
1526
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1501
1563
 
1502
1564
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1503
1565
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1504
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1566
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1505
1567
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1506
1568
  echo $ECHO_N "(cached) $ECHO_C" >&6
1507
1569
else
1528
1590
  SET_MAKE="MAKE=${MAKE-make}"
1529
1591
fi
1530
1592
 
1531
 
 # test to see if srcdir already configured
 
1593
rm -rf .tst 2>/dev/null
 
1594
mkdir .tst 2>/dev/null
 
1595
if test -d .tst; then
 
1596
  am__leading_dot=.
 
1597
else
 
1598
  am__leading_dot=_
 
1599
fi
 
1600
rmdir .tst 2>/dev/null
 
1601
 
 
1602
# test to see if srcdir already configured
1532
1603
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1533
1604
   test -f $srcdir/config.status; then
1534
1605
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1536
1607
   { (exit 1); exit 1; }; }
1537
1608
fi
1538
1609
 
 
1610
# test whether we have cygpath
 
1611
if test -z "$CYGPATH_W"; then
 
1612
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
1613
    CYGPATH_W='cygpath -w'
 
1614
  else
 
1615
    CYGPATH_W=echo
 
1616
  fi
 
1617
fi
 
1618
 
 
1619
 
1539
1620
# Define the identity of the package.
1540
 
 PACKAGE=rssh
1541
 
 VERSION=2.1.1
 
1621
 PACKAGE='rssh'
 
1622
 VERSION='2.2.2'
1542
1623
 
1543
1624
 
1544
1625
cat >>confdefs.h <<_ACEOF
1665
1746
 
1666
1747
 
1667
1748
 
1668
 
# Add the stamp file to the list of files AC keeps track of,
1669
 
# along with our hook.
1670
1749
          ac_config_headers="$ac_config_headers config.h"
1671
1750
 
1672
 
 
1673
 
 
1674
1751
                                                  ac_config_files="$ac_config_files Makefile main.c pathnames.h rssh.conf.5 rssh.spec"
1675
1752
 
1676
1753
 
2011
2088
  (exit $ac_status); }
2012
2089
 
2013
2090
cat >conftest.$ac_ext <<_ACEOF
2014
 
#line $LINENO "configure"
2015
2091
/* confdefs.h.  */
2016
2092
_ACEOF
2017
2093
cat confdefs.h >>conftest.$ac_ext
2031
2107
# Try to create an executable without -o first, disregard a.out.
2032
2108
# It will help us diagnose broken compilers, and finding out an intuition
2033
2109
# of exeext.
2034
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2035
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
2110
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2111
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2036
2112
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2037
2113
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2038
2114
  (eval $ac_link_default) 2>&5
2052
2128
  test -f "$ac_file" || continue
2053
2129
  case $ac_file in
2054
2130
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2055
 
        ;;
 
2131
        ;;
2056
2132
    conftest.$ac_ext )
2057
 
        # This is the source file.
2058
 
        ;;
 
2133
        # This is the source file.
 
2134
        ;;
2059
2135
    [ab].out )
2060
 
        # We found the default executable, but exeext='' is most
2061
 
        # certainly right.
2062
 
        break;;
 
2136
        # We found the default executable, but exeext='' is most
 
2137
        # certainly right.
 
2138
        break;;
2063
2139
    *.* )
2064
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2065
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2066
 
        # but it would be cool to find out if it's true.  Does anybody
2067
 
        # maintain Libtool? --akim.
2068
 
        export ac_cv_exeext
2069
 
        break;;
 
2140
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2141
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2142
        # but it would be cool to find out if it's true.  Does anybody
 
2143
        # maintain Libtool? --akim.
 
2144
        export ac_cv_exeext
 
2145
        break;;
2070
2146
    * )
2071
 
        break;;
 
2147
        break;;
2072
2148
  esac
2073
2149
done
2074
2150
else
2142
2218
  case $ac_file in
2143
2219
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2144
2220
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2145
 
          export ac_cv_exeext
2146
 
          break;;
 
2221
          export ac_cv_exeext
 
2222
          break;;
2147
2223
    * ) break;;
2148
2224
  esac
2149
2225
done
2168
2244
  echo $ECHO_N "(cached) $ECHO_C" >&6
2169
2245
else
2170
2246
  cat >conftest.$ac_ext <<_ACEOF
2171
 
#line $LINENO "configure"
2172
2247
/* confdefs.h.  */
2173
2248
_ACEOF
2174
2249
cat confdefs.h >>conftest.$ac_ext
2219
2294
  echo $ECHO_N "(cached) $ECHO_C" >&6
2220
2295
else
2221
2296
  cat >conftest.$ac_ext <<_ACEOF
2222
 
#line $LINENO "configure"
2223
2297
/* confdefs.h.  */
2224
2298
_ACEOF
2225
2299
cat confdefs.h >>conftest.$ac_ext
2239
2313
_ACEOF
2240
2314
rm -f conftest.$ac_objext
2241
2315
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2242
 
  (eval $ac_compile) 2>&5
 
2316
  (eval $ac_compile) 2>conftest.er1
2243
2317
  ac_status=$?
 
2318
  grep -v '^ *+' conftest.er1 >conftest.err
 
2319
  rm -f conftest.er1
 
2320
  cat conftest.err >&5
2244
2321
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245
2322
  (exit $ac_status); } &&
2246
 
         { ac_try='test -s conftest.$ac_objext'
 
2323
         { ac_try='test -z "$ac_c_werror_flag"
 
2324
                         || test ! -s conftest.err'
 
2325
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2326
  (eval $ac_try) 2>&5
 
2327
  ac_status=$?
 
2328
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2329
  (exit $ac_status); }; } &&
 
2330
         { ac_try='test -s conftest.$ac_objext'
2247
2331
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2248
2332
  (eval $ac_try) 2>&5
2249
2333
  ac_status=$?
2256
2340
 
2257
2341
ac_compiler_gnu=no
2258
2342
fi
2259
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2343
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2260
2344
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2261
2345
 
2262
2346
fi
2272
2356
  echo $ECHO_N "(cached) $ECHO_C" >&6
2273
2357
else
2274
2358
  cat >conftest.$ac_ext <<_ACEOF
2275
 
#line $LINENO "configure"
2276
2359
/* confdefs.h.  */
2277
2360
_ACEOF
2278
2361
cat confdefs.h >>conftest.$ac_ext
2289
2372
_ACEOF
2290
2373
rm -f conftest.$ac_objext
2291
2374
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2292
 
  (eval $ac_compile) 2>&5
 
2375
  (eval $ac_compile) 2>conftest.er1
2293
2376
  ac_status=$?
 
2377
  grep -v '^ *+' conftest.er1 >conftest.err
 
2378
  rm -f conftest.er1
 
2379
  cat conftest.err >&5
2294
2380
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295
2381
  (exit $ac_status); } &&
2296
 
         { ac_try='test -s conftest.$ac_objext'
 
2382
         { ac_try='test -z "$ac_c_werror_flag"
 
2383
                         || test ! -s conftest.err'
 
2384
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2385
  (eval $ac_try) 2>&5
 
2386
  ac_status=$?
 
2387
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2388
  (exit $ac_status); }; } &&
 
2389
         { ac_try='test -s conftest.$ac_objext'
2297
2390
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2298
2391
  (eval $ac_try) 2>&5
2299
2392
  ac_status=$?
2306
2399
 
2307
2400
ac_cv_prog_cc_g=no
2308
2401
fi
2309
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2402
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2310
2403
fi
2311
2404
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2312
2405
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2333
2426
  ac_cv_prog_cc_stdc=no
2334
2427
ac_save_CC=$CC
2335
2428
cat >conftest.$ac_ext <<_ACEOF
2336
 
#line $LINENO "configure"
2337
2429
/* confdefs.h.  */
2338
2430
_ACEOF
2339
2431
cat confdefs.h >>conftest.$ac_ext
2361
2453
  va_end (v);
2362
2454
  return s;
2363
2455
}
 
2456
 
 
2457
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2458
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2459
   These don't provoke an error unfortunately, instead are silently treated
 
2460
   as 'x'.  The following induces an error, until -std1 is added to get
 
2461
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2462
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2463
   that's true only with -std1.  */
 
2464
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2465
 
2364
2466
int test (int i, double x);
2365
2467
struct s1 {int (*f) (int a);};
2366
2468
struct s2 {int (*f) (double a);};
2387
2489
  CC="$ac_save_CC $ac_arg"
2388
2490
  rm -f conftest.$ac_objext
2389
2491
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2390
 
  (eval $ac_compile) 2>&5
 
2492
  (eval $ac_compile) 2>conftest.er1
2391
2493
  ac_status=$?
 
2494
  grep -v '^ *+' conftest.er1 >conftest.err
 
2495
  rm -f conftest.er1
 
2496
  cat conftest.err >&5
2392
2497
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393
2498
  (exit $ac_status); } &&
2394
 
         { ac_try='test -s conftest.$ac_objext'
 
2499
         { ac_try='test -z "$ac_c_werror_flag"
 
2500
                         || test ! -s conftest.err'
 
2501
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2502
  (eval $ac_try) 2>&5
 
2503
  ac_status=$?
 
2504
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2505
  (exit $ac_status); }; } &&
 
2506
         { ac_try='test -s conftest.$ac_objext'
2395
2507
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2396
2508
  (eval $ac_try) 2>&5
2397
2509
  ac_status=$?
2404
2516
sed 's/^/| /' conftest.$ac_ext >&5
2405
2517
 
2406
2518
fi
2407
 
rm -f conftest.$ac_objext
 
2519
rm -f conftest.err conftest.$ac_objext
2408
2520
done
2409
2521
rm -f conftest.$ac_ext conftest.$ac_objext
2410
2522
CC=$ac_save_CC
2432
2544
_ACEOF
2433
2545
rm -f conftest.$ac_objext
2434
2546
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2435
 
  (eval $ac_compile) 2>&5
 
2547
  (eval $ac_compile) 2>conftest.er1
2436
2548
  ac_status=$?
 
2549
  grep -v '^ *+' conftest.er1 >conftest.err
 
2550
  rm -f conftest.er1
 
2551
  cat conftest.err >&5
2437
2552
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438
2553
  (exit $ac_status); } &&
2439
 
         { ac_try='test -s conftest.$ac_objext'
 
2554
         { ac_try='test -z "$ac_c_werror_flag"
 
2555
                         || test ! -s conftest.err'
 
2556
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2557
  (eval $ac_try) 2>&5
 
2558
  ac_status=$?
 
2559
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2560
  (exit $ac_status); }; } &&
 
2561
         { ac_try='test -s conftest.$ac_objext'
2440
2562
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2441
2563
  (eval $ac_try) 2>&5
2442
2564
  ac_status=$?
2443
2565
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444
2566
  (exit $ac_status); }; }; then
2445
2567
  for ac_declaration in \
2446
 
   ''\
2447
 
   '#include <stdlib.h>' \
 
2568
   '' \
2448
2569
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2449
2570
   'extern "C" void std::exit (int); using std::exit;' \
2450
2571
   'extern "C" void exit (int) throw ();' \
2452
2573
   'void exit (int);'
2453
2574
do
2454
2575
  cat >conftest.$ac_ext <<_ACEOF
2455
 
#line $LINENO "configure"
2456
2576
/* confdefs.h.  */
2457
2577
_ACEOF
2458
2578
cat confdefs.h >>conftest.$ac_ext
2459
2579
cat >>conftest.$ac_ext <<_ACEOF
2460
2580
/* end confdefs.h.  */
 
2581
$ac_declaration
2461
2582
#include <stdlib.h>
2462
 
$ac_declaration
2463
2583
int
2464
2584
main ()
2465
2585
{
2470
2590
_ACEOF
2471
2591
rm -f conftest.$ac_objext
2472
2592
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2473
 
  (eval $ac_compile) 2>&5
 
2593
  (eval $ac_compile) 2>conftest.er1
2474
2594
  ac_status=$?
 
2595
  grep -v '^ *+' conftest.er1 >conftest.err
 
2596
  rm -f conftest.er1
 
2597
  cat conftest.err >&5
2475
2598
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476
2599
  (exit $ac_status); } &&
2477
 
         { ac_try='test -s conftest.$ac_objext'
 
2600
         { ac_try='test -z "$ac_c_werror_flag"
 
2601
                         || test ! -s conftest.err'
 
2602
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2603
  (eval $ac_try) 2>&5
 
2604
  ac_status=$?
 
2605
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2606
  (exit $ac_status); }; } &&
 
2607
         { ac_try='test -s conftest.$ac_objext'
2478
2608
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2479
2609
  (eval $ac_try) 2>&5
2480
2610
  ac_status=$?
2487
2617
 
2488
2618
continue
2489
2619
fi
2490
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2620
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2491
2621
  cat >conftest.$ac_ext <<_ACEOF
2492
 
#line $LINENO "configure"
2493
2622
/* confdefs.h.  */
2494
2623
_ACEOF
2495
2624
cat confdefs.h >>conftest.$ac_ext
2506
2635
_ACEOF
2507
2636
rm -f conftest.$ac_objext
2508
2637
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2509
 
  (eval $ac_compile) 2>&5
 
2638
  (eval $ac_compile) 2>conftest.er1
2510
2639
  ac_status=$?
 
2640
  grep -v '^ *+' conftest.er1 >conftest.err
 
2641
  rm -f conftest.er1
 
2642
  cat conftest.err >&5
2511
2643
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512
2644
  (exit $ac_status); } &&
2513
 
         { ac_try='test -s conftest.$ac_objext'
 
2645
         { ac_try='test -z "$ac_c_werror_flag"
 
2646
                         || test ! -s conftest.err'
 
2647
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2648
  (eval $ac_try) 2>&5
 
2649
  ac_status=$?
 
2650
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2651
  (exit $ac_status); }; } &&
 
2652
         { ac_try='test -s conftest.$ac_objext'
2514
2653
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2515
2654
  (eval $ac_try) 2>&5
2516
2655
  ac_status=$?
2522
2661
sed 's/^/| /' conftest.$ac_ext >&5
2523
2662
 
2524
2663
fi
2525
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2664
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2526
2665
done
2527
2666
rm -f conftest*
2528
2667
if test -n "$ac_declaration"; then
2536
2675
sed 's/^/| /' conftest.$ac_ext >&5
2537
2676
 
2538
2677
fi
2539
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2678
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2540
2679
ac_ext=c
2541
2680
ac_cpp='$CPP $CPPFLAGS'
2542
2681
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2543
2682
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2544
2683
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2545
 
rm -f .deps 2>/dev/null
2546
 
mkdir .deps 2>/dev/null
2547
 
if test -d .deps; then
2548
 
  DEPDIR=.deps
2549
 
else
2550
 
  # MS-DOS does not allow filenames that begin with a dot.
2551
 
  DEPDIR=_deps
2552
 
fi
2553
 
rmdir .deps 2>/dev/null
2554
 
 
 
2684
DEPDIR="${am__leading_dot}deps"
2555
2685
 
2556
2686
          ac_config_commands="$ac_config_commands depfiles"
2557
2687
 
2558
2688
 
2559
2689
am_make=${MAKE-make}
2560
2690
cat > confinc << 'END'
2561
 
doit:
 
2691
am__doit:
2562
2692
        @echo done
 
2693
.PHONY: am__doit
2563
2694
END
2564
2695
# If we don't find an include directive, just comment out the code.
2565
2696
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2574
2705
# In particular we don't look at `^make:' because GNU make might
2575
2706
# be invoked under some other name (usually "gmake"), in which
2576
2707
# case it prints its new name instead of `make'.
2577
 
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
 
2708
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2578
2709
   am__include=include
2579
2710
   am__quote=
2580
2711
   _am_result=GNU
2634
2765
  # using a relative directory.
2635
2766
  cp "$am_depcomp" conftest.dir
2636
2767
  cd conftest.dir
 
2768
  # We will build objects and dependencies in a subdirectory because
 
2769
  # it helps to detect inapplicable dependency modes.  For instance
 
2770
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
2771
  # side effect of compilation, but ICC will put the dependencies in
 
2772
  # the current directory while Tru64 will put them in the object
 
2773
  # directory.
 
2774
  mkdir sub
2637
2775
 
2638
2776
  am_cv_CC_dependencies_compiler_type=none
2639
2777
  if test "$am_compiler_list" = ""; then
2640
2778
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2641
2779
  fi
2642
2780
  for depmode in $am_compiler_list; do
 
2781
    # Setup a source with many dependencies, because some compilers
 
2782
    # like to wrap large dependency lists on column 80 (with \), and
 
2783
    # we should not choose a depcomp mode which is confused by this.
 
2784
    #
2643
2785
    # We need to recreate these files for each test, as the compiler may
2644
2786
    # overwrite some of them when testing with obscure command lines.
2645
2787
    # This happens at least with the AIX C compiler.
2646
 
    echo '#include "conftest.h"' > conftest.c
2647
 
    echo 'int i;' > conftest.h
2648
 
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
 
2788
    : > sub/conftest.c
 
2789
    for i in 1 2 3 4 5 6; do
 
2790
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
2791
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
2792
      # Solaris 8's {/usr,}/bin/sh.
 
2793
      touch sub/conftst$i.h
 
2794
    done
 
2795
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2649
2796
 
2650
2797
    case $depmode in
2651
2798
    nosideeffect)
2663
2810
    # mode.  It turns out that the SunPro C++ compiler does not properly
2664
2811
    # handle `-M -o', and we need to detect this.
2665
2812
    if depmode=$depmode \
2666
 
       source=conftest.c object=conftest.o \
2667
 
       depfile=conftest.Po tmpdepfile=conftest.TPo \
2668
 
       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2669
 
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
 
2813
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
2814
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
2815
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
2816
         >/dev/null 2>conftest.err &&
 
2817
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
2818
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2670
2819
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2671
 
      am_cv_CC_dependencies_compiler_type=$depmode
2672
 
      break
 
2820
      # icc doesn't choke on unknown options, it will just issue warnings
 
2821
      # (even with -Werror).  So we grep stderr for any message
 
2822
      # that says an option was ignored.
 
2823
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
2824
        am_cv_CC_dependencies_compiler_type=$depmode
 
2825
        break
 
2826
      fi
2673
2827
    fi
2674
2828
  done
2675
2829
 
2685
2839
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2686
2840
 
2687
2841
 
 
2842
 
 
2843
if
 
2844
  test "x$enable_dependency_tracking" != xno \
 
2845
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
2846
  am__fastdepCC_TRUE=
 
2847
  am__fastdepCC_FALSE='#'
 
2848
else
 
2849
  am__fastdepCC_TRUE='#'
 
2850
  am__fastdepCC_FALSE=
 
2851
fi
 
2852
 
 
2853
 
2688
2854
# Find a good install program.  We prefer a C program (faster),
2689
2855
# so one script is as good as another.  But avoid the broken or
2690
2856
# incompatible versions:
2696
2862
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2697
2863
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2698
2864
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2865
# OS/2's system install, which has a completely different semantic
2699
2866
# ./install, which can be erroneously created by make from ./install.sh.
2700
2867
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2701
2868
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2712
2879
case $as_dir/ in
2713
2880
  ./ | .// | /cC/* | \
2714
2881
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2882
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2715
2883
  /usr/ucb/* ) ;;
2716
2884
  *)
2717
2885
    # OSF1 and SCO ODT 3.0 have their own names for install.
2719
2887
    # by default.
2720
2888
    for ac_prog in ginstall scoinst install; do
2721
2889
      for ac_exec_ext in '' $ac_executable_extensions; do
2722
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2723
 
          if test $ac_prog = install &&
2724
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2725
 
            # AIX install.  It has an incompatible calling convention.
2726
 
            :
2727
 
          elif test $ac_prog = install &&
2728
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2729
 
            # program-specific install script used by HP pwplus--don't use.
2730
 
            :
2731
 
          else
2732
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2733
 
            break 3
2734
 
          fi
2735
 
        fi
 
2890
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2891
          if test $ac_prog = install &&
 
2892
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2893
            # AIX install.  It has an incompatible calling convention.
 
2894
            :
 
2895
          elif test $ac_prog = install &&
 
2896
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2897
            # program-specific install script used by HP pwplus--don't use.
 
2898
            :
 
2899
          else
 
2900
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2901
            break 3
 
2902
          fi
 
2903
        fi
2736
2904
      done
2737
2905
    done
2738
2906
    ;;
2775
2943
 
2776
2944
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2777
2945
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2778
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
2946
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2779
2947
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2780
2948
  echo $ECHO_N "(cached) $ECHO_C" >&6
2781
2949
else
2920
3088
  # On the NeXT, cc -E runs the code through the compiler's parser,
2921
3089
  # not just through cpp. "Syntax error" is here to catch this case.
2922
3090
  cat >conftest.$ac_ext <<_ACEOF
2923
 
#line $LINENO "configure"
2924
3091
/* confdefs.h.  */
2925
3092
_ACEOF
2926
3093
cat confdefs.h >>conftest.$ac_ext
2931
3098
#else
2932
3099
# include <assert.h>
2933
3100
#endif
2934
 
                     Syntax error
 
3101
                     Syntax error
2935
3102
_ACEOF
2936
3103
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2937
3104
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2943
3110
  (exit $ac_status); } >/dev/null; then
2944
3111
  if test -s conftest.err; then
2945
3112
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3113
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2946
3114
  else
2947
3115
    ac_cpp_err=
2948
3116
  fi
2963
3131
  # OK, works on sane cases.  Now check whether non-existent headers
2964
3132
  # can be detected and how.
2965
3133
  cat >conftest.$ac_ext <<_ACEOF
2966
 
#line $LINENO "configure"
2967
3134
/* confdefs.h.  */
2968
3135
_ACEOF
2969
3136
cat confdefs.h >>conftest.$ac_ext
2981
3148
  (exit $ac_status); } >/dev/null; then
2982
3149
  if test -s conftest.err; then
2983
3150
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3151
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2984
3152
  else
2985
3153
    ac_cpp_err=
2986
3154
  fi
3027
3195
  # On the NeXT, cc -E runs the code through the compiler's parser,
3028
3196
  # not just through cpp. "Syntax error" is here to catch this case.
3029
3197
  cat >conftest.$ac_ext <<_ACEOF
3030
 
#line $LINENO "configure"
3031
3198
/* confdefs.h.  */
3032
3199
_ACEOF
3033
3200
cat confdefs.h >>conftest.$ac_ext
3038
3205
#else
3039
3206
# include <assert.h>
3040
3207
#endif
3041
 
                     Syntax error
 
3208
                     Syntax error
3042
3209
_ACEOF
3043
3210
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3044
3211
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3050
3217
  (exit $ac_status); } >/dev/null; then
3051
3218
  if test -s conftest.err; then
3052
3219
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3220
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3053
3221
  else
3054
3222
    ac_cpp_err=
3055
3223
  fi
3070
3238
  # OK, works on sane cases.  Now check whether non-existent headers
3071
3239
  # can be detected and how.
3072
3240
  cat >conftest.$ac_ext <<_ACEOF
3073
 
#line $LINENO "configure"
3074
3241
/* confdefs.h.  */
3075
3242
_ACEOF
3076
3243
cat confdefs.h >>conftest.$ac_ext
3088
3255
  (exit $ac_status); } >/dev/null; then
3089
3256
  if test -s conftest.err; then
3090
3257
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3258
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3091
3259
  else
3092
3260
    ac_cpp_err=
3093
3261
  fi
3148
3316
  echo $ECHO_N "(cached) $ECHO_C" >&6
3149
3317
else
3150
3318
  cat >conftest.$ac_ext <<_ACEOF
3151
 
#line $LINENO "configure"
3152
3319
/* confdefs.h.  */
3153
3320
_ACEOF
3154
3321
cat confdefs.h >>conftest.$ac_ext
3169
3336
_ACEOF
3170
3337
rm -f conftest.$ac_objext
3171
3338
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3172
 
  (eval $ac_compile) 2>&5
 
3339
  (eval $ac_compile) 2>conftest.er1
3173
3340
  ac_status=$?
 
3341
  grep -v '^ *+' conftest.er1 >conftest.err
 
3342
  rm -f conftest.er1
 
3343
  cat conftest.err >&5
3174
3344
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175
3345
  (exit $ac_status); } &&
3176
 
         { ac_try='test -s conftest.$ac_objext'
 
3346
         { ac_try='test -z "$ac_c_werror_flag"
 
3347
                         || test ! -s conftest.err'
 
3348
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3349
  (eval $ac_try) 2>&5
 
3350
  ac_status=$?
 
3351
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3352
  (exit $ac_status); }; } &&
 
3353
         { ac_try='test -s conftest.$ac_objext'
3177
3354
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3178
3355
  (eval $ac_try) 2>&5
3179
3356
  ac_status=$?
3186
3363
 
3187
3364
ac_cv_header_stdc=no
3188
3365
fi
3189
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3366
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3190
3367
 
3191
3368
if test $ac_cv_header_stdc = yes; then
3192
3369
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3193
3370
  cat >conftest.$ac_ext <<_ACEOF
3194
 
#line $LINENO "configure"
3195
3371
/* confdefs.h.  */
3196
3372
_ACEOF
3197
3373
cat confdefs.h >>conftest.$ac_ext
3213
3389
if test $ac_cv_header_stdc = yes; then
3214
3390
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3215
3391
  cat >conftest.$ac_ext <<_ACEOF
3216
 
#line $LINENO "configure"
3217
3392
/* confdefs.h.  */
3218
3393
_ACEOF
3219
3394
cat confdefs.h >>conftest.$ac_ext
3238
3413
  :
3239
3414
else
3240
3415
  cat >conftest.$ac_ext <<_ACEOF
3241
 
#line $LINENO "configure"
3242
3416
/* confdefs.h.  */
3243
3417
_ACEOF
3244
3418
cat confdefs.h >>conftest.$ac_ext
3250
3424
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3251
3425
#else
3252
3426
# define ISLOWER(c) \
3253
 
                   (('a' <= (c) && (c) <= 'i') \
3254
 
                     || ('j' <= (c) && (c) <= 'r') \
3255
 
                     || ('s' <= (c) && (c) <= 'z'))
 
3427
                   (('a' <= (c) && (c) <= 'i') \
 
3428
                     || ('j' <= (c) && (c) <= 'r') \
 
3429
                     || ('s' <= (c) && (c) <= 'z'))
3256
3430
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3257
3431
#endif
3258
3432
 
3263
3437
  int i;
3264
3438
  for (i = 0; i < 256; i++)
3265
3439
    if (XOR (islower (i), ISLOWER (i))
3266
 
        || toupper (i) != TOUPPER (i))
 
3440
        || toupper (i) != TOUPPER (i))
3267
3441
      exit(2);
3268
3442
  exit (0);
3269
3443
}
3288
3462
( exit $ac_status )
3289
3463
ac_cv_header_stdc=no
3290
3464
fi
3291
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3465
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3292
3466
fi
3293
3467
fi
3294
3468
fi
3313
3487
 
3314
3488
 
3315
3489
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3316
 
                  inttypes.h stdint.h unistd.h
 
3490
                  inttypes.h stdint.h unistd.h
3317
3491
do
3318
3492
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3319
3493
echo "$as_me:$LINENO: checking for $ac_header" >&5
3322
3496
  echo $ECHO_N "(cached) $ECHO_C" >&6
3323
3497
else
3324
3498
  cat >conftest.$ac_ext <<_ACEOF
3325
 
#line $LINENO "configure"
3326
3499
/* confdefs.h.  */
3327
3500
_ACEOF
3328
3501
cat confdefs.h >>conftest.$ac_ext
3334
3507
_ACEOF
3335
3508
rm -f conftest.$ac_objext
3336
3509
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3337
 
  (eval $ac_compile) 2>&5
 
3510
  (eval $ac_compile) 2>conftest.er1
3338
3511
  ac_status=$?
 
3512
  grep -v '^ *+' conftest.er1 >conftest.err
 
3513
  rm -f conftest.er1
 
3514
  cat conftest.err >&5
3339
3515
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340
3516
  (exit $ac_status); } &&
3341
 
         { ac_try='test -s conftest.$ac_objext'
 
3517
         { ac_try='test -z "$ac_c_werror_flag"
 
3518
                         || test ! -s conftest.err'
 
3519
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3520
  (eval $ac_try) 2>&5
 
3521
  ac_status=$?
 
3522
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3523
  (exit $ac_status); }; } &&
 
3524
         { ac_try='test -s conftest.$ac_objext'
3342
3525
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343
3526
  (eval $ac_try) 2>&5
3344
3527
  ac_status=$?
3351
3534
 
3352
3535
eval "$as_ac_Header=no"
3353
3536
fi
3354
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3537
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3355
3538
fi
3356
3539
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3357
3540
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3389
3572
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3390
3573
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3391
3574
cat >conftest.$ac_ext <<_ACEOF
3392
 
#line $LINENO "configure"
3393
3575
/* confdefs.h.  */
3394
3576
_ACEOF
3395
3577
cat confdefs.h >>conftest.$ac_ext
3400
3582
_ACEOF
3401
3583
rm -f conftest.$ac_objext
3402
3584
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3403
 
  (eval $ac_compile) 2>&5
 
3585
  (eval $ac_compile) 2>conftest.er1
3404
3586
  ac_status=$?
 
3587
  grep -v '^ *+' conftest.er1 >conftest.err
 
3588
  rm -f conftest.er1
 
3589
  cat conftest.err >&5
3405
3590
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406
3591
  (exit $ac_status); } &&
3407
 
         { ac_try='test -s conftest.$ac_objext'
 
3592
         { ac_try='test -z "$ac_c_werror_flag"
 
3593
                         || test ! -s conftest.err'
 
3594
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3595
  (eval $ac_try) 2>&5
 
3596
  ac_status=$?
 
3597
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3598
  (exit $ac_status); }; } &&
 
3599
         { ac_try='test -s conftest.$ac_objext'
3408
3600
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3409
3601
  (eval $ac_try) 2>&5
3410
3602
  ac_status=$?
3417
3609
 
3418
3610
ac_header_compiler=no
3419
3611
fi
3420
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3612
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3421
3613
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3422
3614
echo "${ECHO_T}$ac_header_compiler" >&6
3423
3615
 
3425
3617
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3426
3618
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3427
3619
cat >conftest.$ac_ext <<_ACEOF
3428
 
#line $LINENO "configure"
3429
3620
/* confdefs.h.  */
3430
3621
_ACEOF
3431
3622
cat confdefs.h >>conftest.$ac_ext
3443
3634
  (exit $ac_status); } >/dev/null; then
3444
3635
  if test -s conftest.err; then
3445
3636
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3637
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3446
3638
  else
3447
3639
    ac_cpp_err=
3448
3640
  fi
3462
3654
echo "${ECHO_T}$ac_header_preproc" >&6
3463
3655
 
3464
3656
# So?  What about this header?
3465
 
case $ac_header_compiler:$ac_header_preproc in
3466
 
  yes:no )
 
3657
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
3658
  yes:no: )
3467
3659
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3468
3660
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3469
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3470
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3471
 
    (
3472
 
      cat <<\_ASBOX
3473
 
## ------------------------------------ ##
3474
 
## Report this to bug-autoconf@gnu.org. ##
3475
 
## ------------------------------------ ##
3476
 
_ASBOX
3477
 
    ) |
3478
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
3661
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
3662
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
3663
    ac_header_preproc=yes
3479
3664
    ;;
3480
 
  no:yes )
 
3665
  no:yes:* )
3481
3666
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3482
3667
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3483
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3484
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
3668
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
3669
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
3670
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
3671
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
3672
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
3673
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3485
3674
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3486
3675
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3676
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
3677
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3487
3678
    (
3488
3679
      cat <<\_ASBOX
3489
 
## ------------------------------------ ##
3490
 
## Report this to bug-autoconf@gnu.org. ##
3491
 
## ------------------------------------ ##
 
3680
## ------------------------------------------------------------ ##
 
3681
## Report this to rssh-discuss at lists dot sourceforge dot net ##
 
3682
## ------------------------------------------------------------ ##
3492
3683
_ASBOX
3493
3684
    ) |
3494
3685
      sed "s/^/$as_me: WARNING:     /" >&2
3499
3690
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3500
3691
  echo $ECHO_N "(cached) $ECHO_C" >&6
3501
3692
else
3502
 
  eval "$as_ac_Header=$ac_header_preproc"
 
3693
  eval "$as_ac_Header=\$ac_header_preproc"
3503
3694
fi
3504
3695
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3505
3696
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3522
3713
  echo $ECHO_N "(cached) $ECHO_C" >&6
3523
3714
else
3524
3715
  cat >conftest.$ac_ext <<_ACEOF
3525
 
#line $LINENO "configure"
3526
3716
/* confdefs.h.  */
3527
3717
_ACEOF
3528
3718
cat confdefs.h >>conftest.$ac_ext
3585
3775
_ACEOF
3586
3776
rm -f conftest.$ac_objext
3587
3777
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3588
 
  (eval $ac_compile) 2>&5
 
3778
  (eval $ac_compile) 2>conftest.er1
3589
3779
  ac_status=$?
 
3780
  grep -v '^ *+' conftest.er1 >conftest.err
 
3781
  rm -f conftest.er1
 
3782
  cat conftest.err >&5
3590
3783
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591
3784
  (exit $ac_status); } &&
3592
 
         { ac_try='test -s conftest.$ac_objext'
 
3785
         { ac_try='test -z "$ac_c_werror_flag"
 
3786
                         || test ! -s conftest.err'
 
3787
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3788
  (eval $ac_try) 2>&5
 
3789
  ac_status=$?
 
3790
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3791
  (exit $ac_status); }; } &&
 
3792
         { ac_try='test -s conftest.$ac_objext'
3593
3793
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3594
3794
  (eval $ac_try) 2>&5
3595
3795
  ac_status=$?
3602
3802
 
3603
3803
ac_cv_c_const=no
3604
3804
fi
3605
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3805
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3606
3806
fi
3607
3807
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3608
3808
echo "${ECHO_T}$ac_cv_c_const" >&6
3633
3833
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3634
3834
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3635
3835
cat >conftest.$ac_ext <<_ACEOF
3636
 
#line $LINENO "configure"
3637
3836
/* confdefs.h.  */
3638
3837
_ACEOF
3639
3838
cat confdefs.h >>conftest.$ac_ext
3644
3843
_ACEOF
3645
3844
rm -f conftest.$ac_objext
3646
3845
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3647
 
  (eval $ac_compile) 2>&5
 
3846
  (eval $ac_compile) 2>conftest.er1
3648
3847
  ac_status=$?
 
3848
  grep -v '^ *+' conftest.er1 >conftest.err
 
3849
  rm -f conftest.er1
 
3850
  cat conftest.err >&5
3649
3851
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650
3852
  (exit $ac_status); } &&
3651
 
         { ac_try='test -s conftest.$ac_objext'
 
3853
         { ac_try='test -z "$ac_c_werror_flag"
 
3854
                         || test ! -s conftest.err'
 
3855
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3856
  (eval $ac_try) 2>&5
 
3857
  ac_status=$?
 
3858
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3859
  (exit $ac_status); }; } &&
 
3860
         { ac_try='test -s conftest.$ac_objext'
3652
3861
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3653
3862
  (eval $ac_try) 2>&5
3654
3863
  ac_status=$?
3661
3870
 
3662
3871
ac_header_compiler=no
3663
3872
fi
3664
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3873
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3665
3874
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3666
3875
echo "${ECHO_T}$ac_header_compiler" >&6
3667
3876
 
3669
3878
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3670
3879
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3671
3880
cat >conftest.$ac_ext <<_ACEOF
3672
 
#line $LINENO "configure"
3673
3881
/* confdefs.h.  */
3674
3882
_ACEOF
3675
3883
cat confdefs.h >>conftest.$ac_ext
3687
3895
  (exit $ac_status); } >/dev/null; then
3688
3896
  if test -s conftest.err; then
3689
3897
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3898
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3690
3899
  else
3691
3900
    ac_cpp_err=
3692
3901
  fi
3706
3915
echo "${ECHO_T}$ac_header_preproc" >&6
3707
3916
 
3708
3917
# So?  What about this header?
3709
 
case $ac_header_compiler:$ac_header_preproc in
3710
 
  yes:no )
 
3918
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
3919
  yes:no: )
3711
3920
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3712
3921
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3713
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3714
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3715
 
    (
3716
 
      cat <<\_ASBOX
3717
 
## ------------------------------------ ##
3718
 
## Report this to bug-autoconf@gnu.org. ##
3719
 
## ------------------------------------ ##
3720
 
_ASBOX
3721
 
    ) |
3722
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
3922
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
3923
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
3924
    ac_header_preproc=yes
3723
3925
    ;;
3724
 
  no:yes )
 
3926
  no:yes:* )
3725
3927
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3726
3928
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3727
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3728
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
3929
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
3930
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
3931
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
3932
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
3933
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
3934
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3729
3935
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3730
3936
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3937
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
3938
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3731
3939
    (
3732
3940
      cat <<\_ASBOX
3733
 
## ------------------------------------ ##
3734
 
## Report this to bug-autoconf@gnu.org. ##
3735
 
## ------------------------------------ ##
 
3941
## ------------------------------------------------------------ ##
 
3942
## Report this to rssh-discuss at lists dot sourceforge dot net ##
 
3943
## ------------------------------------------------------------ ##
3736
3944
_ASBOX
3737
3945
    ) |
3738
3946
      sed "s/^/$as_me: WARNING:     /" >&2
3743
3951
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3744
3952
  echo $ECHO_N "(cached) $ECHO_C" >&6
3745
3953
else
3746
 
  eval "$as_ac_Header=$ac_header_preproc"
 
3954
  eval "$as_ac_Header=\$ac_header_preproc"
3747
3955
fi
3748
3956
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3749
3957
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3767
3975
  ac_cv_func_malloc_0_nonnull=no
3768
3976
else
3769
3977
  cat >conftest.$ac_ext <<_ACEOF
3770
 
#line $LINENO "configure"
3771
3978
/* confdefs.h.  */
3772
3979
_ACEOF
3773
3980
cat confdefs.h >>conftest.$ac_ext
3807
4014
( exit $ac_status )
3808
4015
ac_cv_func_malloc_0_nonnull=no
3809
4016
fi
3810
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4017
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3811
4018
fi
3812
4019
fi
3813
4020
echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
3823
4030
#define HAVE_MALLOC 0
3824
4031
_ACEOF
3825
4032
 
3826
 
   LIBOBJS="$LIBOBJS malloc.$ac_objext"
 
4033
   case $LIBOBJS in
 
4034
    "malloc.$ac_objext"   | \
 
4035
  *" malloc.$ac_objext"   | \
 
4036
    "malloc.$ac_objext "* | \
 
4037
  *" malloc.$ac_objext "* ) ;;
 
4038
  *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
 
4039
esac
 
4040
 
3827
4041
 
3828
4042
cat >>confdefs.h <<\_ACEOF
3829
4043
#define malloc rpl_malloc
3845
4059
  ac_cv_func_lstat_dereferences_slashed_symlink=no
3846
4060
else
3847
4061
  cat >conftest.$ac_ext <<_ACEOF
3848
 
#line $LINENO "configure"
3849
4062
/* confdefs.h.  */
3850
4063
_ACEOF
3851
4064
cat confdefs.h >>conftest.$ac_ext
3857
4070
{
3858
4071
struct stat sbuf;
3859
4072
     /* Linux will dereference the symlink and fail.
3860
 
        That is better in the sense that it means we will not
3861
 
        have to compile and use the lstat wrapper.  */
 
4073
        That is better in the sense that it means we will not
 
4074
        have to compile and use the lstat wrapper.  */
3862
4075
     exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
3863
4076
  ;
3864
4077
  return 0;
3884
4097
( exit $ac_status )
3885
4098
ac_cv_func_lstat_dereferences_slashed_symlink=no
3886
4099
fi
3887
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4100
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3888
4101
fi
3889
4102
else
3890
4103
  # If the `ln -s' command failed, then we probably don't even
3905
4118
 
3906
4119
 
3907
4120
if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
3908
 
  LIBOBJS="$LIBOBJS lstat.$ac_objext"
 
4121
  case $LIBOBJS in
 
4122
    "lstat.$ac_objext"   | \
 
4123
  *" lstat.$ac_objext"   | \
 
4124
    "lstat.$ac_objext "* | \
 
4125
  *" lstat.$ac_objext "* ) ;;
 
4126
  *) LIBOBJS="$LIBOBJS lstat.$ac_objext" ;;
 
4127
esac
 
4128
 
3909
4129
fi
3910
4130
 
3911
4131
echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
3917
4137
  ac_cv_func_stat_empty_string_bug=yes
3918
4138
else
3919
4139
  cat >conftest.$ac_ext <<_ACEOF
3920
 
#line $LINENO "configure"
3921
4140
/* confdefs.h.  */
3922
4141
_ACEOF
3923
4142
cat confdefs.h >>conftest.$ac_ext
3953
4172
( exit $ac_status )
3954
4173
ac_cv_func_stat_empty_string_bug=no
3955
4174
fi
3956
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4175
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3957
4176
fi
3958
4177
fi
3959
4178
echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
3960
4179
echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6
3961
4180
if test $ac_cv_func_stat_empty_string_bug = yes; then
3962
 
  LIBOBJS="$LIBOBJS stat.$ac_objext"
 
4181
  case $LIBOBJS in
 
4182
    "stat.$ac_objext"   | \
 
4183
  *" stat.$ac_objext"   | \
 
4184
    "stat.$ac_objext "* | \
 
4185
  *" stat.$ac_objext "* ) ;;
 
4186
  *) LIBOBJS="$LIBOBJS stat.$ac_objext" ;;
 
4187
esac
 
4188
 
3963
4189
 
3964
4190
cat >>confdefs.h <<_ACEOF
3965
4191
#define HAVE_STAT_EMPTY_STRING_BUG 1
3973
4199
  echo $ECHO_N "(cached) $ECHO_C" >&6
3974
4200
else
3975
4201
  cat >conftest.$ac_ext <<_ACEOF
3976
 
#line $LINENO "configure"
3977
4202
/* confdefs.h.  */
3978
4203
_ACEOF
3979
4204
cat confdefs.h >>conftest.$ac_ext
3980
4205
cat >>conftest.$ac_ext <<_ACEOF
3981
4206
/* end confdefs.h.  */
 
4207
/* Define memset to an innocuous variant, in case <limits.h> declares memset.
 
4208
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4209
#define memset innocuous_memset
 
4210
 
3982
4211
/* System header to define __stub macros and hopefully few prototypes,
3983
4212
    which can conflict with char memset (); below.
3984
4213
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3985
4214
    <limits.h> exists even on freestanding compilers.  */
 
4215
 
3986
4216
#ifdef __STDC__
3987
4217
# include <limits.h>
3988
4218
#else
3989
4219
# include <assert.h>
3990
4220
#endif
 
4221
 
 
4222
#undef memset
 
4223
 
3991
4224
/* Override any gcc2 internal prototype to avoid an error.  */
3992
4225
#ifdef __cplusplus
3993
4226
extern "C"
4018
4251
_ACEOF
4019
4252
rm -f conftest.$ac_objext conftest$ac_exeext
4020
4253
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4021
 
  (eval $ac_link) 2>&5
 
4254
  (eval $ac_link) 2>conftest.er1
4022
4255
  ac_status=$?
 
4256
  grep -v '^ *+' conftest.er1 >conftest.err
 
4257
  rm -f conftest.er1
 
4258
  cat conftest.err >&5
4023
4259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024
4260
  (exit $ac_status); } &&
4025
 
         { ac_try='test -s conftest$ac_exeext'
 
4261
         { ac_try='test -z "$ac_c_werror_flag"
 
4262
                         || test ! -s conftest.err'
 
4263
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4264
  (eval $ac_try) 2>&5
 
4265
  ac_status=$?
 
4266
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4267
  (exit $ac_status); }; } &&
 
4268
         { ac_try='test -s conftest$ac_exeext'
4026
4269
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4027
4270
  (eval $ac_try) 2>&5
4028
4271
  ac_status=$?
4035
4278
 
4036
4279
ac_cv_func_memset=no
4037
4280
fi
4038
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4281
rm -f conftest.err conftest.$ac_objext \
 
4282
      conftest$ac_exeext conftest.$ac_ext
4039
4283
fi
4040
4284
echo "$as_me:$LINENO: result: $ac_cv_func_memset" >&5
4041
4285
echo "${ECHO_T}$ac_cv_func_memset" >&6
4061
4305
  echo $ECHO_N "(cached) $ECHO_C" >&6
4062
4306
else
4063
4307
  cat >conftest.$ac_ext <<_ACEOF
4064
 
#line $LINENO "configure"
4065
4308
/* confdefs.h.  */
4066
4309
_ACEOF
4067
4310
cat confdefs.h >>conftest.$ac_ext
4068
4311
cat >>conftest.$ac_ext <<_ACEOF
4069
4312
/* end confdefs.h.  */
 
4313
/* Define strdup to an innocuous variant, in case <limits.h> declares strdup.
 
4314
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4315
#define strdup innocuous_strdup
 
4316
 
4070
4317
/* System header to define __stub macros and hopefully few prototypes,
4071
4318
    which can conflict with char strdup (); below.
4072
4319
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4073
4320
    <limits.h> exists even on freestanding compilers.  */
 
4321
 
4074
4322
#ifdef __STDC__
4075
4323
# include <limits.h>
4076
4324
#else
4077
4325
# include <assert.h>
4078
4326
#endif
 
4327
 
 
4328
#undef strdup
 
4329
 
4079
4330
/* Override any gcc2 internal prototype to avoid an error.  */
4080
4331
#ifdef __cplusplus
4081
4332
extern "C"
4106
4357
_ACEOF
4107
4358
rm -f conftest.$ac_objext conftest$ac_exeext
4108
4359
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4109
 
  (eval $ac_link) 2>&5
 
4360
  (eval $ac_link) 2>conftest.er1
4110
4361
  ac_status=$?
 
4362
  grep -v '^ *+' conftest.er1 >conftest.err
 
4363
  rm -f conftest.er1
 
4364
  cat conftest.err >&5
4111
4365
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112
4366
  (exit $ac_status); } &&
4113
 
         { ac_try='test -s conftest$ac_exeext'
 
4367
         { ac_try='test -z "$ac_c_werror_flag"
 
4368
                         || test ! -s conftest.err'
 
4369
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4370
  (eval $ac_try) 2>&5
 
4371
  ac_status=$?
 
4372
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4373
  (exit $ac_status); }; } &&
 
4374
         { ac_try='test -s conftest$ac_exeext'
4114
4375
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4115
4376
  (eval $ac_try) 2>&5
4116
4377
  ac_status=$?
4123
4384
 
4124
4385
ac_cv_func_strdup=no
4125
4386
fi
4126
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4387
rm -f conftest.err conftest.$ac_objext \
 
4388
      conftest$ac_exeext conftest.$ac_ext
4127
4389
fi
4128
4390
echo "$as_me:$LINENO: result: $ac_cv_func_strdup" >&5
4129
4391
echo "${ECHO_T}$ac_cv_func_strdup" >&6
4149
4411
  echo $ECHO_N "(cached) $ECHO_C" >&6
4150
4412
else
4151
4413
  cat >conftest.$ac_ext <<_ACEOF
4152
 
#line $LINENO "configure"
4153
4414
/* confdefs.h.  */
4154
4415
_ACEOF
4155
4416
cat confdefs.h >>conftest.$ac_ext
4156
4417
cat >>conftest.$ac_ext <<_ACEOF
4157
4418
/* end confdefs.h.  */
 
4419
/* Define strtol to an innocuous variant, in case <limits.h> declares strtol.
 
4420
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4421
#define strtol innocuous_strtol
 
4422
 
4158
4423
/* System header to define __stub macros and hopefully few prototypes,
4159
4424
    which can conflict with char strtol (); below.
4160
4425
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4161
4426
    <limits.h> exists even on freestanding compilers.  */
 
4427
 
4162
4428
#ifdef __STDC__
4163
4429
# include <limits.h>
4164
4430
#else
4165
4431
# include <assert.h>
4166
4432
#endif
 
4433
 
 
4434
#undef strtol
 
4435
 
4167
4436
/* Override any gcc2 internal prototype to avoid an error.  */
4168
4437
#ifdef __cplusplus
4169
4438
extern "C"
4194
4463
_ACEOF
4195
4464
rm -f conftest.$ac_objext conftest$ac_exeext
4196
4465
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4197
 
  (eval $ac_link) 2>&5
 
4466
  (eval $ac_link) 2>conftest.er1
4198
4467
  ac_status=$?
 
4468
  grep -v '^ *+' conftest.er1 >conftest.err
 
4469
  rm -f conftest.er1
 
4470
  cat conftest.err >&5
4199
4471
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200
4472
  (exit $ac_status); } &&
4201
 
         { ac_try='test -s conftest$ac_exeext'
 
4473
         { ac_try='test -z "$ac_c_werror_flag"
 
4474
                         || test ! -s conftest.err'
 
4475
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4476
  (eval $ac_try) 2>&5
 
4477
  ac_status=$?
 
4478
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4479
  (exit $ac_status); }; } &&
 
4480
         { ac_try='test -s conftest$ac_exeext'
4202
4481
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4203
4482
  (eval $ac_try) 2>&5
4204
4483
  ac_status=$?
4211
4490
 
4212
4491
ac_cv_func_strtol=no
4213
4492
fi
4214
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4493
rm -f conftest.err conftest.$ac_objext \
 
4494
      conftest$ac_exeext conftest.$ac_ext
4215
4495
fi
4216
4496
echo "$as_me:$LINENO: result: $ac_cv_func_strtol" >&5
4217
4497
echo "${ECHO_T}$ac_cv_func_strtol" >&6
4237
4517
  echo $ECHO_N "(cached) $ECHO_C" >&6
4238
4518
else
4239
4519
  cat >conftest.$ac_ext <<_ACEOF
4240
 
#line $LINENO "configure"
4241
4520
/* confdefs.h.  */
4242
4521
_ACEOF
4243
4522
cat confdefs.h >>conftest.$ac_ext
4244
4523
cat >>conftest.$ac_ext <<_ACEOF
4245
4524
/* end confdefs.h.  */
 
4525
/* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
 
4526
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4527
#define strerror innocuous_strerror
 
4528
 
4246
4529
/* System header to define __stub macros and hopefully few prototypes,
4247
4530
    which can conflict with char strerror (); below.
4248
4531
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4249
4532
    <limits.h> exists even on freestanding compilers.  */
 
4533
 
4250
4534
#ifdef __STDC__
4251
4535
# include <limits.h>
4252
4536
#else
4253
4537
# include <assert.h>
4254
4538
#endif
 
4539
 
 
4540
#undef strerror
 
4541
 
4255
4542
/* Override any gcc2 internal prototype to avoid an error.  */
4256
4543
#ifdef __cplusplus
4257
4544
extern "C"
4282
4569
_ACEOF
4283
4570
rm -f conftest.$ac_objext conftest$ac_exeext
4284
4571
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4285
 
  (eval $ac_link) 2>&5
 
4572
  (eval $ac_link) 2>conftest.er1
4286
4573
  ac_status=$?
 
4574
  grep -v '^ *+' conftest.er1 >conftest.err
 
4575
  rm -f conftest.er1
 
4576
  cat conftest.err >&5
4287
4577
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4288
4578
  (exit $ac_status); } &&
4289
 
         { ac_try='test -s conftest$ac_exeext'
 
4579
         { ac_try='test -z "$ac_c_werror_flag"
 
4580
                         || test ! -s conftest.err'
 
4581
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4582
  (eval $ac_try) 2>&5
 
4583
  ac_status=$?
 
4584
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4585
  (exit $ac_status); }; } &&
 
4586
         { ac_try='test -s conftest$ac_exeext'
4290
4587
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4291
4588
  (eval $ac_try) 2>&5
4292
4589
  ac_status=$?
4299
4596
 
4300
4597
ac_cv_func_strerror=no
4301
4598
fi
4302
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4599
rm -f conftest.err conftest.$ac_objext \
 
4600
      conftest$ac_exeext conftest.$ac_ext
4303
4601
fi
4304
4602
echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
4305
4603
echo "${ECHO_T}$ac_cv_func_strerror" >&6
4325
4623
  echo $ECHO_N "(cached) $ECHO_C" >&6
4326
4624
else
4327
4625
  cat >conftest.$ac_ext <<_ACEOF
4328
 
#line $LINENO "configure"
4329
4626
/* confdefs.h.  */
4330
4627
_ACEOF
4331
4628
cat confdefs.h >>conftest.$ac_ext
4332
4629
cat >>conftest.$ac_ext <<_ACEOF
4333
4630
/* end confdefs.h.  */
 
4631
/* Define wordexp to an innocuous variant, in case <limits.h> declares wordexp.
 
4632
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4633
#define wordexp innocuous_wordexp
 
4634
 
4334
4635
/* System header to define __stub macros and hopefully few prototypes,
4335
4636
    which can conflict with char wordexp (); below.
4336
4637
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4337
4638
    <limits.h> exists even on freestanding compilers.  */
 
4639
 
4338
4640
#ifdef __STDC__
4339
4641
# include <limits.h>
4340
4642
#else
4341
4643
# include <assert.h>
4342
4644
#endif
 
4645
 
 
4646
#undef wordexp
 
4647
 
4343
4648
/* Override any gcc2 internal prototype to avoid an error.  */
4344
4649
#ifdef __cplusplus
4345
4650
extern "C"
4370
4675
_ACEOF
4371
4676
rm -f conftest.$ac_objext conftest$ac_exeext
4372
4677
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4373
 
  (eval $ac_link) 2>&5
 
4678
  (eval $ac_link) 2>conftest.er1
4374
4679
  ac_status=$?
 
4680
  grep -v '^ *+' conftest.er1 >conftest.err
 
4681
  rm -f conftest.er1
 
4682
  cat conftest.err >&5
4375
4683
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376
4684
  (exit $ac_status); } &&
4377
 
         { ac_try='test -s conftest$ac_exeext'
 
4685
         { ac_try='test -z "$ac_c_werror_flag"
 
4686
                         || test ! -s conftest.err'
 
4687
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4688
  (eval $ac_try) 2>&5
 
4689
  ac_status=$?
 
4690
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4691
  (exit $ac_status); }; } &&
 
4692
         { ac_try='test -s conftest$ac_exeext'
4378
4693
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4379
4694
  (eval $ac_try) 2>&5
4380
4695
  ac_status=$?
4387
4702
 
4388
4703
ac_cv_func_wordexp=no
4389
4704
fi
4390
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4705
rm -f conftest.err conftest.$ac_objext \
 
4706
      conftest$ac_exeext conftest.$ac_ext
4391
4707
fi
4392
4708
echo "$as_me:$LINENO: result: $ac_cv_func_wordexp" >&5
4393
4709
echo "${ECHO_T}$ac_cv_func_wordexp" >&6
4414
4730
  echo $ECHO_N "(cached) $ECHO_C" >&6
4415
4731
else
4416
4732
  cat >conftest.$ac_ext <<_ACEOF
4417
 
#line $LINENO "configure"
4418
4733
/* confdefs.h.  */
4419
4734
_ACEOF
4420
4735
cat confdefs.h >>conftest.$ac_ext
4421
4736
cat >>conftest.$ac_ext <<_ACEOF
4422
4737
/* end confdefs.h.  */
 
4738
/* Define basename to an innocuous variant, in case <limits.h> declares basename.
 
4739
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4740
#define basename innocuous_basename
 
4741
 
4423
4742
/* System header to define __stub macros and hopefully few prototypes,
4424
4743
    which can conflict with char basename (); below.
4425
4744
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4426
4745
    <limits.h> exists even on freestanding compilers.  */
 
4746
 
4427
4747
#ifdef __STDC__
4428
4748
# include <limits.h>
4429
4749
#else
4430
4750
# include <assert.h>
4431
4751
#endif
 
4752
 
 
4753
#undef basename
 
4754
 
4432
4755
/* Override any gcc2 internal prototype to avoid an error.  */
4433
4756
#ifdef __cplusplus
4434
4757
extern "C"
4459
4782
_ACEOF
4460
4783
rm -f conftest.$ac_objext conftest$ac_exeext
4461
4784
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4462
 
  (eval $ac_link) 2>&5
 
4785
  (eval $ac_link) 2>conftest.er1
4463
4786
  ac_status=$?
 
4787
  grep -v '^ *+' conftest.er1 >conftest.err
 
4788
  rm -f conftest.er1
 
4789
  cat conftest.err >&5
4464
4790
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465
4791
  (exit $ac_status); } &&
4466
 
         { ac_try='test -s conftest$ac_exeext'
 
4792
         { ac_try='test -z "$ac_c_werror_flag"
 
4793
                         || test ! -s conftest.err'
 
4794
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4795
  (eval $ac_try) 2>&5
 
4796
  ac_status=$?
 
4797
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4798
  (exit $ac_status); }; } &&
 
4799
         { ac_try='test -s conftest$ac_exeext'
4467
4800
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4468
4801
  (eval $ac_try) 2>&5
4469
4802
  ac_status=$?
4476
4809
 
4477
4810
ac_cv_func_basename=no
4478
4811
fi
4479
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4812
rm -f conftest.err conftest.$ac_objext \
 
4813
      conftest$ac_exeext conftest.$ac_ext
4480
4814
fi
4481
4815
echo "$as_me:$LINENO: result: $ac_cv_func_basename" >&5
4482
4816
echo "${ECHO_T}$ac_cv_func_basename" >&6
4492
4826
  ac_check_lib_save_LIBS=$LIBS
4493
4827
LIBS="-lgen  $LIBS"
4494
4828
cat >conftest.$ac_ext <<_ACEOF
4495
 
#line $LINENO "configure"
4496
4829
/* confdefs.h.  */
4497
4830
_ACEOF
4498
4831
cat confdefs.h >>conftest.$ac_ext
4516
4849
_ACEOF
4517
4850
rm -f conftest.$ac_objext conftest$ac_exeext
4518
4851
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4519
 
  (eval $ac_link) 2>&5
 
4852
  (eval $ac_link) 2>conftest.er1
4520
4853
  ac_status=$?
 
4854
  grep -v '^ *+' conftest.er1 >conftest.err
 
4855
  rm -f conftest.er1
 
4856
  cat conftest.err >&5
4521
4857
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522
4858
  (exit $ac_status); } &&
4523
 
         { ac_try='test -s conftest$ac_exeext'
 
4859
         { ac_try='test -z "$ac_c_werror_flag"
 
4860
                         || test ! -s conftest.err'
 
4861
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4862
  (eval $ac_try) 2>&5
 
4863
  ac_status=$?
 
4864
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4865
  (exit $ac_status); }; } &&
 
4866
         { ac_try='test -s conftest$ac_exeext'
4524
4867
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4525
4868
  (eval $ac_try) 2>&5
4526
4869
  ac_status=$?
4533
4876
 
4534
4877
ac_cv_lib_gen_basename=no
4535
4878
fi
4536
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4879
rm -f conftest.err conftest.$ac_objext \
 
4880
      conftest$ac_exeext conftest.$ac_ext
4537
4881
LIBS=$ac_check_lib_save_LIBS
4538
4882
fi
4539
4883
echo "$as_me:$LINENO: result: $ac_cv_lib_gen_basename" >&5
4704
5048
echo "$as_me: WARNING: specified sftp-server binary does not exist" >&2;}
4705
5049
fi
4706
5050
 
 
5051
 
 
5052
# CVS, rdist, and rsync might not be installed.  But we don't want to force
 
5053
# the user to configure bogus paths, so default to /usr/bin/*
 
5054
 
 
5055
# Check for cvs binary
 
5056
 
 
5057
 
 
5058
# Check whether --with-cvs or --without-cvs was given.
 
5059
if test "${with_cvs+set}" = set; then
 
5060
  withval="$with_cvs"
 
5061
  cvs_path="$withval"
 
5062
else
 
5063
  cvs_path=""
 
5064
fi;
 
5065
 
 
5066
# Extract the first word of "cvs", so it can be a program name with args.
 
5067
set dummy cvs; ac_word=$2
 
5068
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5069
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5070
if test "${ac_cv_path_cvs_path+set}" = set; then
 
5071
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5072
else
 
5073
  case $cvs_path in
 
5074
  [\\/]* | ?:[\\/]*)
 
5075
  ac_cv_path_cvs_path="$cvs_path" # Let the user override the test with a path.
 
5076
  ;;
 
5077
  *)
 
5078
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5079
for as_dir in $PATH
 
5080
do
 
5081
  IFS=$as_save_IFS
 
5082
  test -z "$as_dir" && as_dir=.
 
5083
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5084
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5085
    ac_cv_path_cvs_path="$as_dir/$ac_word$ac_exec_ext"
 
5086
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5087
    break 2
 
5088
  fi
 
5089
done
 
5090
done
 
5091
 
 
5092
  ;;
 
5093
esac
 
5094
fi
 
5095
cvs_path=$ac_cv_path_cvs_path
 
5096
 
 
5097
if test -n "$cvs_path"; then
 
5098
  echo "$as_me:$LINENO: result: $cvs_path" >&5
 
5099
echo "${ECHO_T}$cvs_path" >&6
 
5100
else
 
5101
  echo "$as_me:$LINENO: result: no" >&5
 
5102
echo "${ECHO_T}no" >&6
 
5103
fi
 
5104
 
 
5105
if test -z "$cvs_path"; then
 
5106
        { echo "$as_me:$LINENO: WARNING: can't find cvs - using /usr/bin/cvs.  Use --with-cvs to override" >&5
 
5107
echo "$as_me: WARNING: can't find cvs - using /usr/bin/cvs.  Use --with-cvs to override" >&2;}
 
5108
        cvs_path=/usr/bin/cvs
 
5109
fi
 
5110
 
 
5111
if ! test -x "$cvs_path"; then
 
5112
        { echo "$as_me:$LINENO: WARNING: specified cvs binary does not exist" >&5
 
5113
echo "$as_me: WARNING: specified cvs binary does not exist" >&2;}
 
5114
fi
 
5115
 
 
5116
# Check for rdist binary
 
5117
 
 
5118
 
 
5119
# Check whether --with-rdist or --without-rdist was given.
 
5120
if test "${with_rdist+set}" = set; then
 
5121
  withval="$with_rdist"
 
5122
  rdist_path="$withval"
 
5123
else
 
5124
  rdist_path=""
 
5125
fi;
 
5126
 
 
5127
# Extract the first word of "rdist", so it can be a program name with args.
 
5128
set dummy rdist; ac_word=$2
 
5129
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5130
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5131
if test "${ac_cv_path_rdist_path+set}" = set; then
 
5132
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5133
else
 
5134
  case $rdist_path in
 
5135
  [\\/]* | ?:[\\/]*)
 
5136
  ac_cv_path_rdist_path="$rdist_path" # Let the user override the test with a path.
 
5137
  ;;
 
5138
  *)
 
5139
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5140
for as_dir in $PATH
 
5141
do
 
5142
  IFS=$as_save_IFS
 
5143
  test -z "$as_dir" && as_dir=.
 
5144
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5145
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5146
    ac_cv_path_rdist_path="$as_dir/$ac_word$ac_exec_ext"
 
5147
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5148
    break 2
 
5149
  fi
 
5150
done
 
5151
done
 
5152
 
 
5153
  ;;
 
5154
esac
 
5155
fi
 
5156
rdist_path=$ac_cv_path_rdist_path
 
5157
 
 
5158
if test -n "$rdist_path"; then
 
5159
  echo "$as_me:$LINENO: result: $rdist_path" >&5
 
5160
echo "${ECHO_T}$rdist_path" >&6
 
5161
else
 
5162
  echo "$as_me:$LINENO: result: no" >&5
 
5163
echo "${ECHO_T}no" >&6
 
5164
fi
 
5165
 
 
5166
if test -z "$rdist_path"; then
 
5167
        { echo "$as_me:$LINENO: WARNING: can't find rdist - using /usr/bin/rdist.  Use --with-rdist to override" >&5
 
5168
echo "$as_me: WARNING: can't find rdist - using /usr/bin/rdist.  Use --with-rdist to override" >&2;}
 
5169
        rdist_path=/usr/bin/rdist
 
5170
fi
 
5171
 
 
5172
if ! test -x "$rdist_path"; then
 
5173
        { echo "$as_me:$LINENO: WARNING: specified rdist binary does not exist" >&5
 
5174
echo "$as_me: WARNING: specified rdist binary does not exist" >&2;}
 
5175
fi
 
5176
 
 
5177
 
 
5178
# Check for rsync binary
 
5179
 
 
5180
 
 
5181
# Check whether --with-rsync or --without-rsync was given.
 
5182
if test "${with_rsync+set}" = set; then
 
5183
  withval="$with_rsync"
 
5184
  rsync_path="$withval"
 
5185
else
 
5186
  rsync_path=""
 
5187
fi;
 
5188
 
 
5189
# Extract the first word of "rsync", so it can be a program name with args.
 
5190
set dummy rsync; ac_word=$2
 
5191
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5192
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5193
if test "${ac_cv_path_rsync_path+set}" = set; then
 
5194
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5195
else
 
5196
  case $rsync_path in
 
5197
  [\\/]* | ?:[\\/]*)
 
5198
  ac_cv_path_rsync_path="$rsync_path" # Let the user override the test with a path.
 
5199
  ;;
 
5200
  *)
 
5201
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5202
for as_dir in $PATH
 
5203
do
 
5204
  IFS=$as_save_IFS
 
5205
  test -z "$as_dir" && as_dir=.
 
5206
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5207
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5208
    ac_cv_path_rsync_path="$as_dir/$ac_word$ac_exec_ext"
 
5209
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5210
    break 2
 
5211
  fi
 
5212
done
 
5213
done
 
5214
 
 
5215
  ;;
 
5216
esac
 
5217
fi
 
5218
rsync_path=$ac_cv_path_rsync_path
 
5219
 
 
5220
if test -n "$rsync_path"; then
 
5221
  echo "$as_me:$LINENO: result: $rsync_path" >&5
 
5222
echo "${ECHO_T}$rsync_path" >&6
 
5223
else
 
5224
  echo "$as_me:$LINENO: result: no" >&5
 
5225
echo "${ECHO_T}no" >&6
 
5226
fi
 
5227
 
 
5228
if test -z "$rsync_path"; then
 
5229
        { echo "$as_me:$LINENO: WARNING: can't find rsync - using /usr/bin/rsync.  Use --with-rsync to override" >&5
 
5230
echo "$as_me: WARNING: can't find rsync - using /usr/bin/rsync.  Use --with-rsync to override" >&2;}
 
5231
        rsync_path=/usr/bin/rsync
 
5232
fi
 
5233
 
 
5234
if ! test -x "$rsync_path"; then
 
5235
        { echo "$as_me:$LINENO: WARNING: specified rsync binary does not exist" >&5
 
5236
echo "$as_me: WARNING: specified rsync binary does not exist" >&2;}
 
5237
fi
 
5238
 
 
5239
 
4707
5240
# disable static configuration
4708
5241
 
4709
5242
# Check whether --enable-static or --disable-static was given.
4749
5282
 
4750
5283
 
4751
5284
 
 
5285
 
 
5286
 
 
5287
 
4752
5288
cat >confcache <<\_ACEOF
4753
5289
# This file is a shell script that caches the results of configure
4754
5290
# tests run on this system so they can be shared between configure
4777
5313
      # `set' does not quote correctly, so add quotes (double-quote
4778
5314
      # substitution turns \\\\ into \\, and sed turns \\ into \).
4779
5315
      sed -n \
4780
 
        "s/'/'\\\\''/g;
4781
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
5316
        "s/'/'\\\\''/g;
 
5317
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4782
5318
      ;;
4783
5319
    *)
4784
5320
      # `set' quotes correctly as required by POSIX, so do not add quotes.
4785
5321
      sed -n \
4786
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
5322
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4787
5323
      ;;
4788
5324
    esac;
4789
5325
} |
4813
5349
# trailing colons and then remove the whole line if VPATH becomes empty
4814
5350
# (actually we leave an empty line to preserve line numbers).
4815
5351
if test "x$srcdir" = x.; then
4816
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
5352
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4817
5353
s/:*\$(srcdir):*/:/;
4818
5354
s/:*\${srcdir}:*/:/;
4819
5355
s/:*@srcdir@:*/:/;
4820
 
s/^\([^=]*=[    ]*\):*/\1/;
 
5356
s/^\([^=]*=[     ]*\):*/\1/;
4821
5357
s/:*$//;
4822
 
s/^[^=]*=[      ]*$//;
 
5358
s/^[^=]*=[       ]*$//;
4823
5359
}'
4824
5360
fi
4825
5361
 
4830
5366
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4831
5367
  # 1. Remove the extension, and $U if already installed.
4832
5368
  ac_i=`echo "$ac_i" |
4833
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
5369
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4834
5370
  # 2. Add them.
4835
5371
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4836
5372
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4847
5383
Usually this means the macro was only invoked conditionally." >&2;}
4848
5384
   { (exit 1); exit 1; }; }
4849
5385
fi
 
5386
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
5387
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
5388
Usually this means the macro was only invoked conditionally." >&5
 
5389
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
5390
Usually this means the macro was only invoked conditionally." >&2;}
 
5391
   { (exit 1); exit 1; }; }
 
5392
fi
4850
5393
 
4851
5394
: ${CONFIG_STATUS=./config.status}
4852
5395
ac_clean_files_save=$ac_clean_files
4881
5424
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4882
5425
  set -o posix
4883
5426
fi
 
5427
DUALCASE=1; export DUALCASE # for MKS sh
4884
5428
 
4885
5429
# Support unset when possible.
4886
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
5430
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4887
5431
  as_unset=unset
4888
5432
else
4889
5433
  as_unset=false
4902
5446
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4903
5447
  LC_TELEPHONE LC_TIME
4904
5448
do
4905
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
5449
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4906
5450
    eval $as_var=C; export $as_var
4907
5451
  else
4908
5452
    $as_unset $as_var
5081
5625
if mkdir -p . 2>/dev/null; then
5082
5626
  as_mkdir_p=:
5083
5627
else
 
5628
  test -d ./-p && rmdir ./-p
5084
5629
  as_mkdir_p=false
5085
5630
fi
5086
5631
 
5087
5632
as_executable_p="test -f"
5088
5633
 
5089
5634
# Sed expression to map a string onto a valid CPP name.
5090
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
5635
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5091
5636
 
5092
5637
# Sed expression to map a string onto a valid variable name.
5093
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
5638
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5094
5639
 
5095
5640
 
5096
5641
# IFS
5116
5661
} >&5
5117
5662
cat >&5 <<_CSEOF
5118
5663
 
5119
 
This file was extended by rssh $as_me 2.1.1, which was
5120
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
5664
This file was extended by rssh $as_me 2.2.2, which was
 
5665
generated by GNU Autoconf 2.59.  Invocation command line was
5121
5666
 
5122
5667
  CONFIG_FILES    = $CONFIG_FILES
5123
5668
  CONFIG_HEADERS  = $CONFIG_HEADERS
5161
5706
  -d, --debug      don't remove temporary files
5162
5707
      --recheck    update $as_me by reconfiguring in the same conditions
5163
5708
  --file=FILE[:TEMPLATE]
5164
 
                   instantiate the configuration file FILE
 
5709
                   instantiate the configuration file FILE
5165
5710
  --header=FILE[:TEMPLATE]
5166
 
                   instantiate the configuration header FILE
 
5711
                   instantiate the configuration header FILE
5167
5712
 
5168
5713
Configuration files:
5169
5714
$config_files
5179
5724
 
5180
5725
cat >>$CONFIG_STATUS <<_ACEOF
5181
5726
ac_cs_version="\\
5182
 
rssh config.status 2.1.1
5183
 
configured by $0, generated by GNU Autoconf 2.57,
 
5727
rssh config.status 2.2.2
 
5728
configured by $0, generated by GNU Autoconf 2.59,
5184
5729
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5185
5730
 
5186
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5187
 
Free Software Foundation, Inc.
 
5731
Copyright (C) 2003 Free Software Foundation, Inc.
5188
5732
This config.status script is free software; the Free Software Foundation
5189
5733
gives unlimited permission to copy, distribute and modify it."
5190
5734
srcdir=$srcdir
5385
5929
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5386
5930
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5387
5931
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 
5932
s,@CYGPATH_W@,$CYGPATH_W,;t t
5388
5933
s,@PACKAGE@,$PACKAGE,;t t
5389
5934
s,@VERSION@,$VERSION,;t t
5390
5935
s,@ACLOCAL@,$ACLOCAL,;t t
5397
5942
s,@STRIP@,$STRIP,;t t
5398
5943
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5399
5944
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
5945
s,@mkdir_p@,$mkdir_p,;t t
5400
5946
s,@AWK@,$AWK,;t t
5401
5947
s,@SET_MAKE@,$SET_MAKE,;t t
 
5948
s,@am__leading_dot@,$am__leading_dot,;t t
5402
5949
s,@CC@,$CC,;t t
5403
5950
s,@CFLAGS@,$CFLAGS,;t t
5404
5951
s,@LDFLAGS@,$LDFLAGS,;t t
5413
5960
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5414
5961
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5415
5962
s,@CCDEPMODE@,$CCDEPMODE,;t t
 
5963
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
 
5964
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5416
5965
s,@LN_S@,$LN_S,;t t
5417
5966
s,@CPP@,$CPP,;t t
5418
5967
s,@EGREP@,$EGREP,;t t
5419
5968
s,@LIBOBJS@,$LIBOBJS,;t t
5420
5969
s,@scp_path@,$scp_path,;t t
5421
5970
s,@sftp_path@,$sftp_path,;t t
 
5971
s,@cvs_path@,$cvs_path,;t t
 
5972
s,@rdist_path@,$rdist_path,;t t
 
5973
s,@rsync_path@,$rsync_path,;t t
5422
5974
s,@static@,$static,;t t
5423
5975
s,@defcflags@,$defcflags,;t t
5424
5976
s,@CHROOT_HELPER@,$CHROOT_HELPER,;t t
5452
6004
      (echo ':t
5453
6005
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5454
6006
      if test -z "$ac_sed_cmds"; then
5455
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
6007
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5456
6008
      else
5457
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
6009
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5458
6010
      fi
5459
6011
      ac_sed_frag=`expr $ac_sed_frag + 1`
5460
6012
      ac_beg=$ac_end
5472
6024
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5473
6025
  case $ac_file in
5474
6026
  - | *:- | *:-:* ) # input from stdin
5475
 
        cat >$tmp/stdin
5476
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5477
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
6027
        cat >$tmp/stdin
 
6028
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
6029
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5478
6030
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5479
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
6031
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5480
6032
  * )   ac_file_in=$ac_file.in ;;
5481
6033
  esac
5482
6034
 
5483
6035
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5484
6036
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5485
6037
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5486
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
5487
 
         X"$ac_file" : 'X\(//\)$' \| \
5488
 
         X"$ac_file" : 'X\(/\)' \| \
5489
 
         .     : '\(.\)' 2>/dev/null ||
 
6038
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
6039
         X"$ac_file" : 'X\(//\)$' \| \
 
6040
         X"$ac_file" : 'X\(/\)' \| \
 
6041
         .     : '\(.\)' 2>/dev/null ||
5490
6042
echo X"$ac_file" |
5491
6043
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5492
6044
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5502
6054
      as_dirs="$as_dir $as_dirs"
5503
6055
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5504
6056
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5505
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5506
 
         X"$as_dir" : 'X\(//\)$' \| \
5507
 
         X"$as_dir" : 'X\(/\)' \| \
5508
 
         .     : '\(.\)' 2>/dev/null ||
 
6057
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6058
         X"$as_dir" : 'X\(//\)$' \| \
 
6059
         X"$as_dir" : 'X\(/\)' \| \
 
6060
         .     : '\(.\)' 2>/dev/null ||
5509
6061
echo X"$as_dir" |
5510
6062
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5511
6063
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5543
6095
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5544
6096
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5545
6097
esac
5546
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5547
 
# absolute.
5548
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5549
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5550
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5551
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
6098
 
 
6099
# Do not use `cd foo && pwd` to compute absolute paths, because
 
6100
# the directories may not exist.
 
6101
case `pwd` in
 
6102
.) ac_abs_builddir="$ac_dir";;
 
6103
*)
 
6104
  case "$ac_dir" in
 
6105
  .) ac_abs_builddir=`pwd`;;
 
6106
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
6107
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
6108
  esac;;
 
6109
esac
 
6110
case $ac_abs_builddir in
 
6111
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6112
*)
 
6113
  case ${ac_top_builddir}. in
 
6114
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
6115
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6116
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
6117
  esac;;
 
6118
esac
 
6119
case $ac_abs_builddir in
 
6120
.) ac_abs_srcdir=$ac_srcdir;;
 
6121
*)
 
6122
  case $ac_srcdir in
 
6123
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
6124
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
6125
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
6126
  esac;;
 
6127
esac
 
6128
case $ac_abs_builddir in
 
6129
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6130
*)
 
6131
  case $ac_top_srcdir in
 
6132
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
6133
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6134
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
6135
  esac;;
 
6136
esac
5552
6137
 
5553
6138
 
5554
6139
  case $INSTALL in
5570
6155
    configure_input="$ac_file.  "
5571
6156
  fi
5572
6157
  configure_input=$configure_input"Generated from `echo $ac_file_in |
5573
 
                                     sed 's,.*/,,'` by configure."
 
6158
                                     sed 's,.*/,,'` by configure."
5574
6159
 
5575
6160
  # First look for the input files in the build tree, otherwise in the
5576
6161
  # src tree.
5579
6164
      case $f in
5580
6165
      -) echo $tmp/stdin ;;
5581
6166
      [\\/$]*)
5582
 
         # Absolute (can't be DOS-style, as IFS=:)
5583
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
6167
         # Absolute (can't be DOS-style, as IFS=:)
 
6168
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5584
6169
echo "$as_me: error: cannot find input file: $f" >&2;}
5585
6170
   { (exit 1); exit 1; }; }
5586
 
         echo $f;;
 
6171
         echo "$f";;
5587
6172
      *) # Relative
5588
 
         if test -f "$f"; then
5589
 
           # Build tree
5590
 
           echo $f
5591
 
         elif test -f "$srcdir/$f"; then
5592
 
           # Source tree
5593
 
           echo $srcdir/$f
5594
 
         else
5595
 
           # /dev/null tree
5596
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
6173
         if test -f "$f"; then
 
6174
           # Build tree
 
6175
           echo "$f"
 
6176
         elif test -f "$srcdir/$f"; then
 
6177
           # Source tree
 
6178
           echo "$srcdir/$f"
 
6179
         else
 
6180
           # /dev/null tree
 
6181
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5597
6182
echo "$as_me: error: cannot find input file: $f" >&2;}
5598
6183
   { (exit 1); exit 1; }; }
5599
 
         fi;;
 
6184
         fi;;
5600
6185
      esac
5601
6186
    done` || { (exit 1); exit 1; }
5602
6187
_ACEOF
5638
6223
# NAME is the cpp macro being defined and VALUE is the value it is being given.
5639
6224
#
5640
6225
# ac_d sets the value in "#define NAME VALUE" lines.
5641
 
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
5642
 
ac_dB='[        ].*$,\1#\2'
 
6226
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
 
6227
ac_dB='[         ].*$,\1#\2'
5643
6228
ac_dC=' '
5644
6229
ac_dD=',;t'
5645
6230
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5646
 
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
6231
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
5647
6232
ac_uB='$,\1#\2define\3'
5648
6233
ac_uC=' '
5649
6234
ac_uD=',;t'
5652
6237
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5653
6238
  case $ac_file in
5654
6239
  - | *:- | *:-:* ) # input from stdin
5655
 
        cat >$tmp/stdin
5656
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5657
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
6240
        cat >$tmp/stdin
 
6241
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
6242
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5658
6243
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5659
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
6244
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5660
6245
  * )   ac_file_in=$ac_file.in ;;
5661
6246
  esac
5662
6247
 
5670
6255
      case $f in
5671
6256
      -) echo $tmp/stdin ;;
5672
6257
      [\\/$]*)
5673
 
         # Absolute (can't be DOS-style, as IFS=:)
5674
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
6258
         # Absolute (can't be DOS-style, as IFS=:)
 
6259
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5675
6260
echo "$as_me: error: cannot find input file: $f" >&2;}
5676
6261
   { (exit 1); exit 1; }; }
5677
 
         echo $f;;
 
6262
         # Do quote $f, to prevent DOS paths from being IFS'd.
 
6263
         echo "$f";;
5678
6264
      *) # Relative
5679
 
         if test -f "$f"; then
5680
 
           # Build tree
5681
 
           echo $f
5682
 
         elif test -f "$srcdir/$f"; then
5683
 
           # Source tree
5684
 
           echo $srcdir/$f
5685
 
         else
5686
 
           # /dev/null tree
5687
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
6265
         if test -f "$f"; then
 
6266
           # Build tree
 
6267
           echo "$f"
 
6268
         elif test -f "$srcdir/$f"; then
 
6269
           # Source tree
 
6270
           echo "$srcdir/$f"
 
6271
         else
 
6272
           # /dev/null tree
 
6273
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5688
6274
echo "$as_me: error: cannot find input file: $f" >&2;}
5689
6275
   { (exit 1); exit 1; }; }
5690
 
         fi;;
 
6276
         fi;;
5691
6277
      esac
5692
6278
    done` || { (exit 1); exit 1; }
5693
6279
  # Remove the trailing spaces.
5694
 
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
 
6280
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
5695
6281
 
5696
6282
_ACEOF
5697
6283
 
5714
6300
s,[\\$`],\\&,g
5715
6301
t clear
5716
6302
: clear
5717
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
6303
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5718
6304
t end
5719
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
6305
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5720
6306
: end
5721
6307
_ACEOF
5722
6308
# If some macros were called several times there might be several times
5730
6316
# example, in the case of _POSIX_SOURCE, which is predefined and required
5731
6317
# on some systems where configure will not decide to define it.
5732
6318
cat >>conftest.undefs <<\_ACEOF
5733
 
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
6319
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5734
6320
_ACEOF
5735
6321
 
5736
6322
# Break up conftest.defines because some shells have a limit on the size
5737
6323
# of here documents, and old seds have small limits too (100 cmds).
5738
6324
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5739
 
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
6325
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5740
6326
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5741
6327
echo '  :' >>$CONFIG_STATUS
5742
6328
rm -f conftest.tail
5745
6331
  # Write a limited-size here document to $tmp/defines.sed.
5746
6332
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5747
6333
  # Speed up: don't consider the non `#define' lines.
5748
 
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
6334
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
5749
6335
  # Work around the forget-to-reset-the-flag bug.
5750
6336
  echo 't clr' >>$CONFIG_STATUS
5751
6337
  echo ': clr' >>$CONFIG_STATUS
5772
6358
  # Write a limited-size here document to $tmp/undefs.sed.
5773
6359
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5774
6360
  # Speed up: don't consider the non `#undef'
5775
 
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
6361
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
5776
6362
  # Work around the forget-to-reset-the-flag bug.
5777
6363
  echo 't clr' >>$CONFIG_STATUS
5778
6364
  echo ': clr' >>$CONFIG_STATUS
5806
6392
    else
5807
6393
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5808
6394
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5809
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
5810
 
         X"$ac_file" : 'X\(//\)$' \| \
5811
 
         X"$ac_file" : 'X\(/\)' \| \
5812
 
         .     : '\(.\)' 2>/dev/null ||
 
6395
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
6396
         X"$ac_file" : 'X\(//\)$' \| \
 
6397
         X"$ac_file" : 'X\(/\)' \| \
 
6398
         .     : '\(.\)' 2>/dev/null ||
5813
6399
echo X"$ac_file" |
5814
6400
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5815
6401
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5825
6411
      as_dirs="$as_dir $as_dirs"
5826
6412
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5827
6413
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5828
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5829
 
         X"$as_dir" : 'X\(//\)$' \| \
5830
 
         X"$as_dir" : 'X\(/\)' \| \
5831
 
         .     : '\(.\)' 2>/dev/null ||
 
6414
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6415
         X"$as_dir" : 'X\(//\)$' \| \
 
6416
         X"$as_dir" : 'X\(/\)' \| \
 
6417
         .     : '\(.\)' 2>/dev/null ||
5832
6418
echo X"$as_dir" |
5833
6419
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5834
6420
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5848
6434
    cat $tmp/config.h
5849
6435
    rm -f $tmp/config.h
5850
6436
  fi
5851
 
  # Run the commands associated with the file.
5852
 
  case $ac_file in
5853
 
    config.h ) # update the timestamp
5854
 
echo 'timestamp for config.h' >"./stamp-h1"
5855
 
 ;;
 
6437
# Compute $ac_file's index in $config_headers.
 
6438
_am_stamp_count=1
 
6439
for _am_header in $config_headers :; do
 
6440
  case $_am_header in
 
6441
    $ac_file | $ac_file:* )
 
6442
      break ;;
 
6443
    * )
 
6444
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5856
6445
  esac
5857
6446
done
 
6447
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
6448
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6449
         X$ac_file : 'X\(//\)[^/]' \| \
 
6450
         X$ac_file : 'X\(//\)$' \| \
 
6451
         X$ac_file : 'X\(/\)' \| \
 
6452
         .     : '\(.\)' 2>/dev/null ||
 
6453
echo X$ac_file |
 
6454
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
6455
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
6456
          /^X\(\/\/\)$/{ s//\1/; q; }
 
6457
          /^X\(\/\).*/{ s//\1/; q; }
 
6458
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
6459
done
5858
6460
_ACEOF
5859
6461
cat >>$CONFIG_STATUS <<\_ACEOF
5860
6462
 
5866
6468
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5867
6469
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5868
6470
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5869
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
5870
 
         X"$ac_dest" : 'X\(//\)$' \| \
5871
 
         X"$ac_dest" : 'X\(/\)' \| \
5872
 
         .     : '\(.\)' 2>/dev/null ||
 
6471
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
6472
         X"$ac_dest" : 'X\(//\)$' \| \
 
6473
         X"$ac_dest" : 'X\(/\)' \| \
 
6474
         .     : '\(.\)' 2>/dev/null ||
5873
6475
echo X"$ac_dest" |
5874
6476
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5875
6477
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5876
6478
          /^X\(\/\/\)$/{ s//\1/; q; }
5877
6479
          /^X\(\/\).*/{ s//\1/; q; }
5878
6480
          s/.*/./; q'`
 
6481
  { if $as_mkdir_p; then
 
6482
    mkdir -p "$ac_dir"
 
6483
  else
 
6484
    as_dir="$ac_dir"
 
6485
    as_dirs=
 
6486
    while test ! -d "$as_dir"; do
 
6487
      as_dirs="$as_dir $as_dirs"
 
6488
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
6489
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6490
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6491
         X"$as_dir" : 'X\(//\)$' \| \
 
6492
         X"$as_dir" : 'X\(/\)' \| \
 
6493
         .     : '\(.\)' 2>/dev/null ||
 
6494
echo X"$as_dir" |
 
6495
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
6496
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
6497
          /^X\(\/\/\)$/{ s//\1/; q; }
 
6498
          /^X\(\/\).*/{ s//\1/; q; }
 
6499
          s/.*/./; q'`
 
6500
    done
 
6501
    test ! -n "$as_dirs" || mkdir $as_dirs
 
6502
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
6503
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
6504
   { (exit 1); exit 1; }; }; }
 
6505
 
5879
6506
  ac_builddir=.
5880
6507
 
5881
6508
if test "$ac_dir" != .; then
5901
6528
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5902
6529
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5903
6530
esac
5904
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5905
 
# absolute.
5906
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5907
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5908
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5909
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
6531
 
 
6532
# Do not use `cd foo && pwd` to compute absolute paths, because
 
6533
# the directories may not exist.
 
6534
case `pwd` in
 
6535
.) ac_abs_builddir="$ac_dir";;
 
6536
*)
 
6537
  case "$ac_dir" in
 
6538
  .) ac_abs_builddir=`pwd`;;
 
6539
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
6540
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
6541
  esac;;
 
6542
esac
 
6543
case $ac_abs_builddir in
 
6544
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6545
*)
 
6546
  case ${ac_top_builddir}. in
 
6547
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
6548
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6549
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
6550
  esac;;
 
6551
esac
 
6552
case $ac_abs_builddir in
 
6553
.) ac_abs_srcdir=$ac_srcdir;;
 
6554
*)
 
6555
  case $ac_srcdir in
 
6556
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
6557
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
6558
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
6559
  esac;;
 
6560
esac
 
6561
case $ac_abs_builddir in
 
6562
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6563
*)
 
6564
  case $ac_top_srcdir in
 
6565
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
6566
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6567
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
6568
  esac;;
 
6569
esac
5910
6570
 
5911
6571
 
5912
6572
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5924
6584
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5925
6585
    dirpart=`(dirname "$mf") 2>/dev/null ||
5926
6586
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5927
 
         X"$mf" : 'X\(//\)[^/]' \| \
5928
 
         X"$mf" : 'X\(//\)$' \| \
5929
 
         X"$mf" : 'X\(/\)' \| \
5930
 
         .     : '\(.\)' 2>/dev/null ||
 
6587
         X"$mf" : 'X\(//\)[^/]' \| \
 
6588
         X"$mf" : 'X\(//\)$' \| \
 
6589
         X"$mf" : 'X\(/\)' \| \
 
6590
         .     : '\(.\)' 2>/dev/null ||
5931
6591
echo X"$mf" |
5932
6592
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5933
6593
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5940
6600
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5941
6601
  # Extract the definition of DEP_FILES from the Makefile without
5942
6602
  # running `make'.
5943
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
6603
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5944
6604
  test -z "$DEPDIR" && continue
5945
6605
  # When using ansi2knr, U may be empty or an underscore; expand it
5946
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
 
6606
  U=`sed -n 's/^U = //p' < "$mf"`
5947
6607
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5948
6608
  # We invoke sed twice because it is the simplest approach to
5949
6609
  # changing $(DEPDIR) to its actual value in the expansion.
5950
 
  for file in `sed -n -e '
 
6610
  for file in `sed -n '
5951
6611
    /^DEP_FILES = .*\\\\$/ {
5952
6612
      s/^DEP_FILES = //
5953
6613
      :loop
5963
6623
    test -f "$dirpart/$file" && continue
5964
6624
    fdir=`(dirname "$file") 2>/dev/null ||
5965
6625
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5966
 
         X"$file" : 'X\(//\)[^/]' \| \
5967
 
         X"$file" : 'X\(//\)$' \| \
5968
 
         X"$file" : 'X\(/\)' \| \
5969
 
         .     : '\(.\)' 2>/dev/null ||
 
6626
         X"$file" : 'X\(//\)[^/]' \| \
 
6627
         X"$file" : 'X\(//\)$' \| \
 
6628
         X"$file" : 'X\(/\)' \| \
 
6629
         .     : '\(.\)' 2>/dev/null ||
5970
6630
echo X"$file" |
5971
6631
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5972
6632
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5982
6642
      as_dirs="$as_dir $as_dirs"
5983
6643
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5984
6644
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5985
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5986
 
         X"$as_dir" : 'X\(//\)$' \| \
5987
 
         X"$as_dir" : 'X\(/\)' \| \
5988
 
         .     : '\(.\)' 2>/dev/null ||
 
6645
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6646
         X"$as_dir" : 'X\(//\)$' \| \
 
6647
         X"$as_dir" : 'X\(/\)' \| \
 
6648
         .     : '\(.\)' 2>/dev/null ||
5989
6649
echo X"$as_dir" |
5990
6650
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5991
6651
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }