~ubuntu-branches/ubuntu/utopic/krb5/utopic

« back to all changes in this revision

Viewing changes to src/appl/gssftp/configure

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2004-08-31 13:04:51 UTC
  • Revision ID: james.westby@ubuntu.com-20040831130451-eivm4c364ynih3rj
Tags: 1.3.4-3
* Initial Czech translations thanks to  Miroslav Kure, Closes: #264366
* Updated French debconf translation, thanks Martin Quinson, Closes: #264941
* KDC and clients double-free on error conditions (CAN-2004-0642  VU#795632)
*krb5_rd_cred() double-frees on error conditions(CAN-2004-0643 , CERT
  VU#866472 ) 
* ASN.1 decoder in MIT Kerberos 5 releases krb5-1.3.4 and
  earlier allows unauthenticated remote attackers to induce
  infinite loop, causing denial of service, including in KDC
  code  (CAN-2004-0644 , CERT VU#550464)
* Fix double free in krb524d  handling of encrypted ticket contents
  (CAN-2004-0772)  

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.53.
 
3
# Generated by GNU Autoconf 2.59.
4
4
#
5
5
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
6
6
# Massachusetts Institute of Technology.
7
7
#
8
8
#
9
 
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
10
 
# Free Software Foundation, Inc.
 
9
# Copyright (C) 2003 Free Software Foundation, Inc.
11
10
# This configure script is free software; the Free Software Foundation
12
11
# gives unlimited permission to copy, distribute and modify it.
13
 
 
14
 
if expr a : '\(a\)' >/dev/null 2>&1; then
15
 
  as_expr=expr
16
 
else
17
 
  as_expr=false
18
 
fi
19
 
 
20
 
 
21
12
## --------------------- ##
22
13
## M4sh Initialization.  ##
23
14
## --------------------- ##
26
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27
18
  emulate sh
28
19
  NULLCMD=:
 
20
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
29
23
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30
24
  set -o posix
31
25
fi
 
26
DUALCASE=1; export DUALCASE # for MKS sh
32
27
 
33
 
# NLS nuisances.
34
28
# Support unset when possible.
35
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
29
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
36
30
  as_unset=unset
37
31
else
38
32
  as_unset=false
39
33
fi
40
34
 
41
 
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
42
 
    { $as_unset LANG || test "${LANG+set}" != set; } ||
43
 
      { LANG=C; export LANG; }
44
 
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
45
 
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
46
 
      { LC_ALL=C; export LC_ALL; }
47
 
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
48
 
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
49
 
      { LC_TIME=C; export LC_TIME; }
50
 
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
51
 
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
52
 
      { LC_CTYPE=C; export LC_CTYPE; }
53
 
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
54
 
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
55
 
      { LANGUAGE=C; export LANGUAGE; }
56
 
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
57
 
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
58
 
      { LC_COLLATE=C; export LC_COLLATE; }
59
 
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
60
 
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
61
 
      { LC_NUMERIC=C; export LC_NUMERIC; }
62
 
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
63
 
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
64
 
      { LC_MESSAGES=C; export LC_MESSAGES; }
 
35
 
 
36
# Work around bugs in pre-3.0 UWIN ksh.
 
37
$as_unset ENV MAIL MAILPATH
 
38
PS1='$ '
 
39
PS2='> '
 
40
PS4='+ '
 
41
 
 
42
# NLS nuisances.
 
43
for as_var in \
 
44
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
45
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
46
  LC_TELEPHONE LC_TIME
 
47
do
 
48
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
49
    eval $as_var=C; export $as_var
 
50
  else
 
51
    $as_unset $as_var
 
52
  fi
 
53
done
 
54
 
 
55
# Required to use basename.
 
56
if expr a : '\(a\)' >/dev/null 2>&1; then
 
57
  as_expr=expr
 
58
else
 
59
  as_expr=false
 
60
fi
 
61
 
 
62
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
63
  as_basename=basename
 
64
else
 
65
  as_basename=false
 
66
fi
65
67
 
66
68
 
67
69
# Name of the executable.
68
 
as_me=`(basename "$0") 2>/dev/null ||
 
70
as_me=`$as_basename "$0" ||
69
71
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
72
         X"$0" : 'X\(//\)$' \| \
71
73
         X"$0" : 'X\(/\)$' \| \
76
78
          /^X\/\(\/\).*/{ s//\1/; q; }
77
79
          s/.*/./; q'`
78
80
 
 
81
 
79
82
# PATH needs CR, and LINENO needs CR and PATH.
80
83
# Avoid depending upon Character Ranges.
81
84
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
86
89
 
87
90
# The user is always right.
88
91
if test "${PATH_SEPARATOR+set}" != set; then
89
 
  echo "#! /bin/sh" >conftest.sh
90
 
  echo  "exit 0"   >>conftest.sh
91
 
  chmod +x conftest.sh
92
 
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
 
92
  echo "#! /bin/sh" >conf$$.sh
 
93
  echo  "exit 0"   >>conf$$.sh
 
94
  chmod +x conf$$.sh
 
95
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
93
96
    PATH_SEPARATOR=';'
94
97
  else
95
98
    PATH_SEPARATOR=:
96
99
  fi
97
 
  rm -f conftest.sh
 
100
  rm -f conf$$.sh
98
101
fi
99
102
 
100
103
 
142
145
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143
146
  test "x$as_lineno_1" != "x$as_lineno_2" &&
144
147
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
148
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
149
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
145
150
             CONFIG_SHELL=$as_dir/$as_base
146
151
             export CONFIG_SHELL
147
152
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
214
219
fi
215
220
rm -f conf$$ conf$$.exe conf$$.file
216
221
 
 
222
if mkdir -p . 2>/dev/null; then
 
223
  as_mkdir_p=:
 
224
else
 
225
  test -d ./-p && rmdir ./-p
 
226
  as_mkdir_p=false
 
227
fi
 
228
 
217
229
as_executable_p="test -f"
218
230
 
219
231
# Sed expression to map a string onto a valid CPP name.
220
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
232
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
221
233
 
222
234
# Sed expression to map a string onto a valid variable name.
223
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
235
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
224
236
 
225
237
 
226
238
# IFS
230
242
IFS="   $as_nl"
231
243
 
232
244
# CDPATH.
233
 
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
 
245
$as_unset CDPATH
234
246
 
235
247
 
236
248
# Name of the host.
244
256
# Initializations.
245
257
#
246
258
ac_default_prefix=/usr/local
 
259
ac_config_libobj_dir=.
247
260
cross_compiling=no
248
261
subdirs=
249
262
MFLAGS=
300
313
# include <unistd.h>
301
314
#endif"
302
315
 
 
316
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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT HAVE_GCC CPP LD KRB4_INCLUDES KRB4_LIBPATH KRB4_LIB KRB4_DEPLIB KRB_ERR_H_DEP DES425_DEPLIB DES425_LIB compile_et COM_ERR_VERSION SS_LIB SS_VERSION DB_HEADER DB_LIB DB_VERSION DB_HEADER_VERSION KDB5_DB_LIB RESOLV_LIB HESIOD_DEFS HESIOD_LIBS AUTOCONF AUTOCONFFLAGS AUTOCONFINCFLAGS AUTOHEADER AUTOHEADERFLAGS CONFIG_RELTOPDIR subdirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA YACC EGREP LIBOBJS SETENVSRC SETENVOBJ FTPD_LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os krb5_cv_host GEN_LIB CC_LINK RPATH_FLAG DEPLIBEXT LTLIBOBJS'
 
317
ac_subst_files='lib_frag libobj_frag'
303
318
 
304
319
# Initialize some variables set by options.
305
320
ac_init_help=
657
672
 
658
673
# Be sure to have absolute paths.
659
674
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
660
 
              localstatedir libdir includedir oldincludedir infodir mandir
 
675
              localstatedir libdir includedir oldincludedir infodir mandir
661
676
do
662
677
  eval ac_val=$`echo $ac_var`
663
678
  case $ac_val in
697
712
  # Try the directory containing this script, then its parent.
698
713
  ac_confdir=`(dirname "$0") 2>/dev/null ||
699
714
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
700
 
         X"$0" : 'X\(//\)[^/]' \| \
701
 
         X"$0" : 'X\(//\)$' \| \
702
 
         X"$0" : 'X\(/\)' \| \
703
 
         .     : '\(.\)' 2>/dev/null ||
 
715
         X"$0" : 'X\(//\)[^/]' \| \
 
716
         X"$0" : 'X\(//\)$' \| \
 
717
         X"$0" : 'X\(/\)' \| \
 
718
         .     : '\(.\)' 2>/dev/null ||
704
719
echo X"$0" |
705
720
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
706
721
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
723
738
   { (exit 1); exit 1; }; }
724
739
  fi
725
740
fi
 
741
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
 
742
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
 
743
   { (exit 1); exit 1; }; }
726
744
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
727
745
ac_env_build_alias_set=${build_alias+set}
728
746
ac_env_build_alias_value=$build_alias
805
823
  cat <<_ACEOF
806
824
Installation directories:
807
825
  --prefix=PREFIX         install architecture-independent files in PREFIX
808
 
                          [$ac_default_prefix]
 
826
                          [$ac_default_prefix]
809
827
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
810
 
                          [PREFIX]
 
828
                          [PREFIX]
811
829
 
812
830
By default, \`make install' will install all the files in
813
831
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
930
948
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
931
949
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
932
950
esac
933
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
934
 
# absolute.
935
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
936
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
937
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
938
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
951
 
 
952
# Do not use `cd foo && pwd` to compute absolute paths, because
 
953
# the directories may not exist.
 
954
case `pwd` in
 
955
.) ac_abs_builddir="$ac_dir";;
 
956
*)
 
957
  case "$ac_dir" in
 
958
  .) ac_abs_builddir=`pwd`;;
 
959
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
960
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
961
  esac;;
 
962
esac
 
963
case $ac_abs_builddir in
 
964
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
965
*)
 
966
  case ${ac_top_builddir}. in
 
967
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
968
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
969
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
970
  esac;;
 
971
esac
 
972
case $ac_abs_builddir in
 
973
.) ac_abs_srcdir=$ac_srcdir;;
 
974
*)
 
975
  case $ac_srcdir in
 
976
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
977
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
978
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
979
  esac;;
 
980
esac
 
981
case $ac_abs_builddir in
 
982
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
983
*)
 
984
  case $ac_top_srcdir in
 
985
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
986
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
987
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
988
  esac;;
 
989
esac
939
990
 
940
991
    cd $ac_dir
941
992
    # Check for guested configure; otherwise get Cygnus style configure.
946
997
      echo
947
998
      $SHELL $ac_srcdir/configure  --help=recursive
948
999
    elif test -f $ac_srcdir/configure.ac ||
949
 
           test -f $ac_srcdir/configure.in; then
 
1000
           test -f $ac_srcdir/configure.in; then
950
1001
      echo
951
1002
      $ac_configure --help
952
1003
    else
953
1004
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
954
1005
    fi
955
 
    cd $ac_popdir
 
1006
    cd "$ac_popdir"
956
1007
  done
957
1008
fi
958
1009
 
960
1011
if $ac_init_version; then
961
1012
  cat <<\_ACEOF
962
1013
 
963
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
964
 
Free Software Foundation, Inc.
 
1014
Copyright (C) 2003 Free Software Foundation, Inc.
965
1015
This configure script is free software; the Free Software Foundation
966
1016
gives unlimited permission to copy, distribute and modify it.
967
1017
 
977
1027
running configure, to aid debugging if configure makes a mistake.
978
1028
 
979
1029
It was created by $as_me, which was
980
 
generated by GNU Autoconf 2.53.  Invocation command line was
 
1030
generated by GNU Autoconf 2.59.  Invocation command line was
981
1031
 
982
1032
  $ $0 $@
983
1033
 
1029
1079
 
1030
1080
# Keep a trace of the command line.
1031
1081
# Strip out --no-create and --no-recursion so they do not pile up.
 
1082
# Strip out --silent because we don't want to record it for future runs.
1032
1083
# Also quote any args containing shell meta-characters.
 
1084
# Make two passes to allow for proper duplicate-argument suppression.
1033
1085
ac_configure_args=
 
1086
ac_configure_args0=
 
1087
ac_configure_args1=
1034
1088
ac_sep=
1035
 
for ac_arg
 
1089
ac_must_keep_next=false
 
1090
for ac_pass in 1 2
1036
1091
do
1037
 
  case $ac_arg in
1038
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1039
 
  | --no-cr | --no-c | -n ) continue ;;
1040
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1041
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1042
 
    continue ;;
1043
 
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1044
 
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1045
 
  esac
1046
 
  case " $ac_configure_args " in
1047
 
    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1048
 
    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1049
 
       ac_sep=" " ;;
1050
 
  esac
1051
 
  # Get rid of the leading space.
 
1092
  for ac_arg
 
1093
  do
 
1094
    case $ac_arg in
 
1095
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1096
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1097
    | -silent | --silent | --silen | --sile | --sil)
 
1098
      continue ;;
 
1099
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1100
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1101
    esac
 
1102
    case $ac_pass in
 
1103
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1104
    2)
 
1105
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1106
      if test $ac_must_keep_next = true; then
 
1107
        ac_must_keep_next=false # Got value, back to normal.
 
1108
      else
 
1109
        case $ac_arg in
 
1110
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1111
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1112
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1113
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1114
            case "$ac_configure_args0 " in
 
1115
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1116
            esac
 
1117
            ;;
 
1118
          -* ) ac_must_keep_next=true ;;
 
1119
        esac
 
1120
      fi
 
1121
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1122
      # Get rid of the leading space.
 
1123
      ac_sep=" "
 
1124
      ;;
 
1125
    esac
 
1126
  done
1052
1127
done
 
1128
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1129
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1053
1130
 
1054
1131
# When interrupted or exit'd, cleanup temporary files, and complete
1055
1132
# config.log.  We remove comments because anyway the quotes in there
1060
1137
  # Save into config.log some information that might help in debugging.
1061
1138
  {
1062
1139
    echo
 
1140
 
1063
1141
    cat <<\_ASBOX
1064
1142
## ---------------- ##
1065
1143
## Cache variables. ##
1072
1150
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1073
1151
    *ac_space=\ *)
1074
1152
      sed -n \
1075
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1076
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1153
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1154
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1077
1155
      ;;
1078
1156
    *)
1079
1157
      sed -n \
1080
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1158
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1081
1159
      ;;
1082
1160
    esac;
1083
1161
}
1084
1162
    echo
 
1163
 
 
1164
    cat <<\_ASBOX
 
1165
## ----------------- ##
 
1166
## Output variables. ##
 
1167
## ----------------- ##
 
1168
_ASBOX
 
1169
    echo
 
1170
    for ac_var in $ac_subst_vars
 
1171
    do
 
1172
      eval ac_val=$`echo $ac_var`
 
1173
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1174
    done | sort
 
1175
    echo
 
1176
 
 
1177
    if test -n "$ac_subst_files"; then
 
1178
      cat <<\_ASBOX
 
1179
## ------------- ##
 
1180
## Output files. ##
 
1181
## ------------- ##
 
1182
_ASBOX
 
1183
      echo
 
1184
      for ac_var in $ac_subst_files
 
1185
      do
 
1186
        eval ac_val=$`echo $ac_var`
 
1187
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1188
      done | sort
 
1189
      echo
 
1190
    fi
 
1191
 
1085
1192
    if test -s confdefs.h; then
1086
1193
      cat <<\_ASBOX
1087
1194
## ----------- ##
1089
1196
## ----------- ##
1090
1197
_ASBOX
1091
1198
      echo
1092
 
      sed "/^$/d" confdefs.h
 
1199
      sed "/^$/d" confdefs.h | sort
1093
1200
      echo
1094
1201
    fi
1095
1202
    test "$ac_signal" != 0 &&
1096
1203
      echo "$as_me: caught signal $ac_signal"
1097
1204
    echo "$as_me: exit $exit_status"
1098
1205
  } >&5
1099
 
  rm -f core core.* *.core &&
 
1206
  rm -f core *.core &&
1100
1207
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1101
1208
    exit $exit_status
1102
1209
     ' 0
1176
1283
# value.
1177
1284
ac_cache_corrupted=false
1178
1285
for ac_var in `(set) 2>&1 |
1179
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1286
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1180
1287
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1181
1288
  eval ac_new_set=\$ac_env_${ac_var}_set
1182
1289
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1193
1300
    ,);;
1194
1301
    *)
1195
1302
      if test "x$ac_old_val" != "x$ac_new_val"; then
1196
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1303
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1197
1304
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1198
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1305
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1199
1306
echo "$as_me:   former value:  $ac_old_val" >&2;}
1200
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1307
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1201
1308
echo "$as_me:   current value: $ac_new_val" >&2;}
1202
 
        ac_cache_corrupted=:
 
1309
        ac_cache_corrupted=:
1203
1310
      fi;;
1204
1311
  esac
1205
1312
  # Pass precious variables to config.status.
1248
1355
 
1249
1356
 
1250
1357
 
 
1358
 
1251
1359
krb5_ac_cflags_set=${CFLAGS+set}
1252
1360
 
1253
1361
 
1462
1570
    # However, it has the same basename, so the bogon will be chosen
1463
1571
    # first if we set CC to just the basename; use the full file name.
1464
1572
    shift
1465
 
    set dummy "$as_dir/$ac_word" ${1+"$@"}
1466
 
    shift
1467
 
    ac_cv_prog_CC="$@"
 
1573
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1468
1574
  fi
1469
1575
fi
1470
1576
fi
1569
1675
fi
1570
1676
 
1571
1677
 
1572
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1573
 
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
 
1678
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
1679
See \`config.log' for more details." >&5
 
1680
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
1681
See \`config.log' for more details." >&2;}
1574
1682
   { (exit 1); exit 1; }; }
1575
1683
 
1576
1684
# Provide some information about the compiler.
1594
1702
  (exit $ac_status); }
1595
1703
 
1596
1704
cat >conftest.$ac_ext <<_ACEOF
1597
 
#line $LINENO "configure"
1598
 
#include "confdefs.h"
 
1705
/* confdefs.h.  */
 
1706
_ACEOF
 
1707
cat confdefs.h >>conftest.$ac_ext
 
1708
cat >>conftest.$ac_ext <<_ACEOF
 
1709
/* end confdefs.h.  */
1599
1710
 
1600
 
#ifdef F77_DUMMY_MAIN
1601
 
#  ifdef __cplusplus
1602
 
     extern "C"
1603
 
#  endif
1604
 
   int F77_DUMMY_MAIN() { return 1; }
1605
 
#endif
1606
1711
int
1607
1712
main ()
1608
1713
{
1612
1717
}
1613
1718
_ACEOF
1614
1719
ac_clean_files_save=$ac_clean_files
1615
 
ac_clean_files="$ac_clean_files a.out a.exe"
 
1720
ac_clean_files="$ac_clean_files a.out a.exe b.out"
1616
1721
# Try to create an executable without -o first, disregard a.out.
1617
1722
# It will help us diagnose broken compilers, and finding out an intuition
1618
1723
# of exeext.
1619
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
1620
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
1724
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
1725
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1621
1726
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1622
1727
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1623
1728
  (eval $ac_link_default) 2>&5
1631
1736
# Be careful to initialize this variable, since it used to be cached.
1632
1737
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1633
1738
ac_cv_exeext=
1634
 
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1635
 
                ls a.out conftest 2>/dev/null;
1636
 
                ls a.* conftest.* 2>/dev/null`; do
 
1739
# b.out is created by i960 compilers.
 
1740
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
1741
do
 
1742
  test -f "$ac_file" || continue
1637
1743
  case $ac_file in
1638
 
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1639
 
    a.out ) # We found the default executable, but exeext='' is most
1640
 
            # certainly right.
1641
 
            break;;
1642
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1643
 
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1644
 
          export ac_cv_exeext
1645
 
          break;;
1646
 
    * ) break;;
 
1744
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 
1745
        ;;
 
1746
    conftest.$ac_ext )
 
1747
        # This is the source file.
 
1748
        ;;
 
1749
    [ab].out )
 
1750
        # We found the default executable, but exeext='' is most
 
1751
        # certainly right.
 
1752
        break;;
 
1753
    *.* )
 
1754
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
1755
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
1756
        # but it would be cool to find out if it's true.  Does anybody
 
1757
        # maintain Libtool? --akim.
 
1758
        export ac_cv_exeext
 
1759
        break;;
 
1760
    * )
 
1761
        break;;
1647
1762
  esac
1648
1763
done
1649
1764
else
1650
1765
  echo "$as_me: failed program was:" >&5
1651
 
cat conftest.$ac_ext >&5
1652
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1653
 
echo "$as_me: error: C compiler cannot create executables" >&2;}
 
1766
sed 's/^/| /' conftest.$ac_ext >&5
 
1767
 
 
1768
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
1769
See \`config.log' for more details." >&5
 
1770
echo "$as_me: error: C compiler cannot create executables
 
1771
See \`config.log' for more details." >&2;}
1654
1772
   { (exit 77); exit 77; }; }
1655
1773
fi
1656
1774
 
1677
1795
        cross_compiling=yes
1678
1796
    else
1679
1797
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1680
 
If you meant to cross compile, use \`--host'." >&5
 
1798
If you meant to cross compile, use \`--host'.
 
1799
See \`config.log' for more details." >&5
1681
1800
echo "$as_me: error: cannot run C compiled programs.
1682
 
If you meant to cross compile, use \`--host'." >&2;}
 
1801
If you meant to cross compile, use \`--host'.
 
1802
See \`config.log' for more details." >&2;}
1683
1803
   { (exit 1); exit 1; }; }
1684
1804
    fi
1685
1805
  fi
1687
1807
echo "$as_me:$LINENO: result: yes" >&5
1688
1808
echo "${ECHO_T}yes" >&6
1689
1809
 
1690
 
rm -f a.out a.exe conftest$ac_cv_exeext
 
1810
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1691
1811
ac_clean_files=$ac_clean_files_save
1692
1812
# Check the compiler produces executables we can run.  If not, either
1693
1813
# the compiler is broken, or we cross compile.
1707
1827
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1708
1828
# work properly (i.e., refer to `conftest.exe'), while it won't with
1709
1829
# `rm'.
1710
 
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
 
1830
for ac_file in conftest.exe conftest conftest.*; do
 
1831
  test -f "$ac_file" || continue
1711
1832
  case $ac_file in
1712
 
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
 
1833
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1713
1834
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1714
 
          export ac_cv_exeext
1715
 
          break;;
 
1835
          export ac_cv_exeext
 
1836
          break;;
1716
1837
    * ) break;;
1717
1838
  esac
1718
1839
done
1719
1840
else
1720
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1721
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
 
1841
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
1842
See \`config.log' for more details." >&5
 
1843
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
1844
See \`config.log' for more details." >&2;}
1722
1845
   { (exit 1); exit 1; }; }
1723
1846
fi
1724
1847
 
1735
1858
  echo $ECHO_N "(cached) $ECHO_C" >&6
1736
1859
else
1737
1860
  cat >conftest.$ac_ext <<_ACEOF
1738
 
#line $LINENO "configure"
1739
 
#include "confdefs.h"
 
1861
/* confdefs.h.  */
 
1862
_ACEOF
 
1863
cat confdefs.h >>conftest.$ac_ext
 
1864
cat >>conftest.$ac_ext <<_ACEOF
 
1865
/* end confdefs.h.  */
1740
1866
 
1741
 
#ifdef F77_DUMMY_MAIN
1742
 
#  ifdef __cplusplus
1743
 
     extern "C"
1744
 
#  endif
1745
 
   int F77_DUMMY_MAIN() { return 1; }
1746
 
#endif
1747
1867
int
1748
1868
main ()
1749
1869
{
1760
1880
  (exit $ac_status); }; then
1761
1881
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1762
1882
  case $ac_file in
1763
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
 
1883
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1764
1884
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1765
1885
       break;;
1766
1886
  esac
1767
1887
done
1768
1888
else
1769
1889
  echo "$as_me: failed program was:" >&5
1770
 
cat conftest.$ac_ext >&5
1771
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1772
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
 
1890
sed 's/^/| /' conftest.$ac_ext >&5
 
1891
 
 
1892
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
1893
See \`config.log' for more details." >&5
 
1894
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
1895
See \`config.log' for more details." >&2;}
1773
1896
   { (exit 1); exit 1; }; }
1774
1897
fi
1775
1898
 
1785
1908
  echo $ECHO_N "(cached) $ECHO_C" >&6
1786
1909
else
1787
1910
  cat >conftest.$ac_ext <<_ACEOF
1788
 
#line $LINENO "configure"
1789
 
#include "confdefs.h"
 
1911
/* confdefs.h.  */
 
1912
_ACEOF
 
1913
cat confdefs.h >>conftest.$ac_ext
 
1914
cat >>conftest.$ac_ext <<_ACEOF
 
1915
/* end confdefs.h.  */
1790
1916
 
1791
 
#ifdef F77_DUMMY_MAIN
1792
 
#  ifdef __cplusplus
1793
 
     extern "C"
1794
 
#  endif
1795
 
   int F77_DUMMY_MAIN() { return 1; }
1796
 
#endif
1797
1917
int
1798
1918
main ()
1799
1919
{
1807
1927
_ACEOF
1808
1928
rm -f conftest.$ac_objext
1809
1929
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1810
 
  (eval $ac_compile) 2>&5
 
1930
  (eval $ac_compile) 2>conftest.er1
1811
1931
  ac_status=$?
 
1932
  grep -v '^ *+' conftest.er1 >conftest.err
 
1933
  rm -f conftest.er1
 
1934
  cat conftest.err >&5
1812
1935
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1813
1936
  (exit $ac_status); } &&
1814
 
         { ac_try='test -s conftest.$ac_objext'
 
1937
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
1938
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
1939
  (eval $ac_try) 2>&5
 
1940
  ac_status=$?
 
1941
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1942
  (exit $ac_status); }; } &&
 
1943
         { ac_try='test -s conftest.$ac_objext'
1815
1944
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1816
1945
  (eval $ac_try) 2>&5
1817
1946
  ac_status=$?
1820
1949
  ac_compiler_gnu=yes
1821
1950
else
1822
1951
  echo "$as_me: failed program was:" >&5
1823
 
cat conftest.$ac_ext >&5
 
1952
sed 's/^/| /' conftest.$ac_ext >&5
 
1953
 
1824
1954
ac_compiler_gnu=no
1825
1955
fi
1826
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
1956
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1827
1957
ac_cv_c_compiler_gnu=$ac_compiler_gnu
1828
1958
 
1829
1959
fi
1839
1969
  echo $ECHO_N "(cached) $ECHO_C" >&6
1840
1970
else
1841
1971
  cat >conftest.$ac_ext <<_ACEOF
1842
 
#line $LINENO "configure"
1843
 
#include "confdefs.h"
 
1972
/* confdefs.h.  */
 
1973
_ACEOF
 
1974
cat confdefs.h >>conftest.$ac_ext
 
1975
cat >>conftest.$ac_ext <<_ACEOF
 
1976
/* end confdefs.h.  */
1844
1977
 
1845
 
#ifdef F77_DUMMY_MAIN
1846
 
#  ifdef __cplusplus
1847
 
     extern "C"
1848
 
#  endif
1849
 
   int F77_DUMMY_MAIN() { return 1; }
1850
 
#endif
1851
1978
int
1852
1979
main ()
1853
1980
{
1858
1985
_ACEOF
1859
1986
rm -f conftest.$ac_objext
1860
1987
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1861
 
  (eval $ac_compile) 2>&5
 
1988
  (eval $ac_compile) 2>conftest.er1
1862
1989
  ac_status=$?
 
1990
  grep -v '^ *+' conftest.er1 >conftest.err
 
1991
  rm -f conftest.er1
 
1992
  cat conftest.err >&5
1863
1993
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1864
1994
  (exit $ac_status); } &&
1865
 
         { ac_try='test -s conftest.$ac_objext'
 
1995
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
1996
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
1997
  (eval $ac_try) 2>&5
 
1998
  ac_status=$?
 
1999
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2000
  (exit $ac_status); }; } &&
 
2001
         { ac_try='test -s conftest.$ac_objext'
1866
2002
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1867
2003
  (eval $ac_try) 2>&5
1868
2004
  ac_status=$?
1871
2007
  ac_cv_prog_cc_g=yes
1872
2008
else
1873
2009
  echo "$as_me: failed program was:" >&5
1874
 
cat conftest.$ac_ext >&5
 
2010
sed 's/^/| /' conftest.$ac_ext >&5
 
2011
 
1875
2012
ac_cv_prog_cc_g=no
1876
2013
fi
1877
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2014
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1878
2015
fi
1879
2016
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1880
2017
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1893
2030
    CFLAGS=
1894
2031
  fi
1895
2032
fi
1896
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
1897
 
# in C++ we need to declare it.  In case someone uses the same compiler
1898
 
# for both compiling C and C++ we need to have the C++ compiler decide
1899
 
# the declaration of exit, since it's the most demanding environment.
1900
 
cat >conftest.$ac_ext <<_ACEOF
1901
 
#ifndef __cplusplus
1902
 
  choke me
1903
 
#endif
1904
 
_ACEOF
1905
 
rm -f conftest.$ac_objext
1906
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1907
 
  (eval $ac_compile) 2>&5
1908
 
  ac_status=$?
1909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1910
 
  (exit $ac_status); } &&
1911
 
         { ac_try='test -s conftest.$ac_objext'
1912
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1913
 
  (eval $ac_try) 2>&5
1914
 
  ac_status=$?
1915
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1916
 
  (exit $ac_status); }; }; then
1917
 
  for ac_declaration in \
1918
 
   ''\
1919
 
   '#include <stdlib.h>' \
1920
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
1921
 
   'extern "C" void std::exit (int); using std::exit;' \
1922
 
   'extern "C" void exit (int) throw ();' \
1923
 
   'extern "C" void exit (int);' \
1924
 
   'void exit (int);'
1925
 
do
1926
 
  cat >conftest.$ac_ext <<_ACEOF
1927
 
#line $LINENO "configure"
1928
 
#include "confdefs.h"
1929
 
#include <stdlib.h>
1930
 
$ac_declaration
1931
 
#ifdef F77_DUMMY_MAIN
1932
 
#  ifdef __cplusplus
1933
 
     extern "C"
1934
 
#  endif
1935
 
   int F77_DUMMY_MAIN() { return 1; }
1936
 
#endif
1937
 
int
1938
 
main ()
1939
 
{
1940
 
exit (42);
1941
 
  ;
1942
 
  return 0;
1943
 
}
1944
 
_ACEOF
1945
 
rm -f conftest.$ac_objext
1946
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1947
 
  (eval $ac_compile) 2>&5
1948
 
  ac_status=$?
1949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1950
 
  (exit $ac_status); } &&
1951
 
         { ac_try='test -s conftest.$ac_objext'
1952
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1953
 
  (eval $ac_try) 2>&5
1954
 
  ac_status=$?
1955
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956
 
  (exit $ac_status); }; }; then
1957
 
  :
1958
 
else
1959
 
  echo "$as_me: failed program was:" >&5
1960
 
cat conftest.$ac_ext >&5
1961
 
continue
1962
 
fi
1963
 
rm -f conftest.$ac_objext conftest.$ac_ext
1964
 
  cat >conftest.$ac_ext <<_ACEOF
1965
 
#line $LINENO "configure"
1966
 
#include "confdefs.h"
1967
 
$ac_declaration
1968
 
#ifdef F77_DUMMY_MAIN
1969
 
#  ifdef __cplusplus
1970
 
     extern "C"
1971
 
#  endif
1972
 
   int F77_DUMMY_MAIN() { return 1; }
1973
 
#endif
1974
 
int
1975
 
main ()
1976
 
{
1977
 
exit (42);
1978
 
  ;
1979
 
  return 0;
1980
 
}
1981
 
_ACEOF
1982
 
rm -f conftest.$ac_objext
1983
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1984
 
  (eval $ac_compile) 2>&5
1985
 
  ac_status=$?
1986
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1987
 
  (exit $ac_status); } &&
1988
 
         { ac_try='test -s conftest.$ac_objext'
1989
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1990
 
  (eval $ac_try) 2>&5
1991
 
  ac_status=$?
1992
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1993
 
  (exit $ac_status); }; }; then
1994
 
  break
1995
 
else
1996
 
  echo "$as_me: failed program was:" >&5
1997
 
cat conftest.$ac_ext >&5
1998
 
fi
1999
 
rm -f conftest.$ac_objext conftest.$ac_ext
2000
 
done
2001
 
rm -f conftest*
2002
 
if test -n "$ac_declaration"; then
2003
 
  echo '#ifdef __cplusplus' >>confdefs.h
2004
 
  echo $ac_declaration      >>confdefs.h
2005
 
  echo '#endif'             >>confdefs.h
2006
 
fi
2007
 
 
2008
 
else
2009
 
  echo "$as_me: failed program was:" >&5
2010
 
cat conftest.$ac_ext >&5
2011
 
fi
2012
 
rm -f conftest.$ac_objext conftest.$ac_ext
2013
 
ac_ext=c
2014
 
ac_cpp='$CPP $CPPFLAGS'
2015
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2016
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2017
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2018
 
 
2019
 
CCOPTS=
2020
 
 
2021
 
 
2022
 
ac_ext=c
2023
 
ac_cpp='$CPP $CPPFLAGS'
2024
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2025
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2026
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2027
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2028
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2029
 
# On Suns, sometimes $CPP names a directory.
2030
 
if test -n "$CPP" && test -d "$CPP"; then
2031
 
  CPP=
2032
 
fi
2033
 
if test -z "$CPP"; then
2034
 
  if test "${ac_cv_prog_CPP+set}" = set; then
2035
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2036
 
else
2037
 
      # Double quotes because CPP needs to be expanded
2038
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2039
 
    do
2040
 
      ac_preproc_ok=false
2041
 
for ac_c_preproc_warn_flag in '' yes
2042
 
do
2043
 
  # Use a header file that comes with gcc, so configuring glibc
2044
 
  # with a fresh cross-compiler works.
2045
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
2046
 
  # not just through cpp. "Syntax error" is here to catch this case.
2047
 
  cat >conftest.$ac_ext <<_ACEOF
2048
 
#line $LINENO "configure"
2049
 
#include "confdefs.h"
2050
 
#include <assert.h>
2051
 
                     Syntax error
2052
 
_ACEOF
2053
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2054
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2055
 
  ac_status=$?
2056
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2057
 
  rm -f conftest.er1
2058
 
  cat conftest.err >&5
2059
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060
 
  (exit $ac_status); } >/dev/null; then
2061
 
  if test -s conftest.err; then
2062
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2063
 
  else
2064
 
    ac_cpp_err=
2065
 
  fi
2066
 
else
2067
 
  ac_cpp_err=yes
2068
 
fi
2069
 
if test -z "$ac_cpp_err"; then
2070
 
  :
2071
 
else
2072
 
  echo "$as_me: failed program was:" >&5
2073
 
  cat conftest.$ac_ext >&5
2074
 
  # Broken: fails on valid input.
2075
 
continue
2076
 
fi
2077
 
rm -f conftest.err conftest.$ac_ext
2078
 
 
2079
 
  # OK, works on sane cases.  Now check whether non-existent headers
2080
 
  # can be detected and how.
2081
 
  cat >conftest.$ac_ext <<_ACEOF
2082
 
#line $LINENO "configure"
2083
 
#include "confdefs.h"
2084
 
#include <ac_nonexistent.h>
2085
 
_ACEOF
2086
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2087
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2088
 
  ac_status=$?
2089
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2090
 
  rm -f conftest.er1
2091
 
  cat conftest.err >&5
2092
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2093
 
  (exit $ac_status); } >/dev/null; then
2094
 
  if test -s conftest.err; then
2095
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2096
 
  else
2097
 
    ac_cpp_err=
2098
 
  fi
2099
 
else
2100
 
  ac_cpp_err=yes
2101
 
fi
2102
 
if test -z "$ac_cpp_err"; then
2103
 
  # Broken: success on invalid input.
2104
 
continue
2105
 
else
2106
 
  echo "$as_me: failed program was:" >&5
2107
 
  cat conftest.$ac_ext >&5
2108
 
  # Passes both tests.
2109
 
ac_preproc_ok=:
2110
 
break
2111
 
fi
2112
 
rm -f conftest.err conftest.$ac_ext
2113
 
 
2114
 
done
2115
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2116
 
rm -f conftest.err conftest.$ac_ext
2117
 
if $ac_preproc_ok; then
2118
 
  break
2119
 
fi
2120
 
 
2121
 
    done
2122
 
    ac_cv_prog_CPP=$CPP
2123
 
 
2124
 
fi
2125
 
  CPP=$ac_cv_prog_CPP
2126
 
else
2127
 
  ac_cv_prog_CPP=$CPP
2128
 
fi
2129
 
echo "$as_me:$LINENO: result: $CPP" >&5
2130
 
echo "${ECHO_T}$CPP" >&6
2131
 
ac_preproc_ok=false
2132
 
for ac_c_preproc_warn_flag in '' yes
2133
 
do
2134
 
  # Use a header file that comes with gcc, so configuring glibc
2135
 
  # with a fresh cross-compiler works.
2136
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
2137
 
  # not just through cpp. "Syntax error" is here to catch this case.
2138
 
  cat >conftest.$ac_ext <<_ACEOF
2139
 
#line $LINENO "configure"
2140
 
#include "confdefs.h"
2141
 
#include <assert.h>
2142
 
                     Syntax error
2143
 
_ACEOF
2144
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2145
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2146
 
  ac_status=$?
2147
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2148
 
  rm -f conftest.er1
2149
 
  cat conftest.err >&5
2150
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151
 
  (exit $ac_status); } >/dev/null; then
2152
 
  if test -s conftest.err; then
2153
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2154
 
  else
2155
 
    ac_cpp_err=
2156
 
  fi
2157
 
else
2158
 
  ac_cpp_err=yes
2159
 
fi
2160
 
if test -z "$ac_cpp_err"; then
2161
 
  :
2162
 
else
2163
 
  echo "$as_me: failed program was:" >&5
2164
 
  cat conftest.$ac_ext >&5
2165
 
  # Broken: fails on valid input.
2166
 
continue
2167
 
fi
2168
 
rm -f conftest.err conftest.$ac_ext
2169
 
 
2170
 
  # OK, works on sane cases.  Now check whether non-existent headers
2171
 
  # can be detected and how.
2172
 
  cat >conftest.$ac_ext <<_ACEOF
2173
 
#line $LINENO "configure"
2174
 
#include "confdefs.h"
2175
 
#include <ac_nonexistent.h>
2176
 
_ACEOF
2177
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2178
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2179
 
  ac_status=$?
2180
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2181
 
  rm -f conftest.er1
2182
 
  cat conftest.err >&5
2183
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184
 
  (exit $ac_status); } >/dev/null; then
2185
 
  if test -s conftest.err; then
2186
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2187
 
  else
2188
 
    ac_cpp_err=
2189
 
  fi
2190
 
else
2191
 
  ac_cpp_err=yes
2192
 
fi
2193
 
if test -z "$ac_cpp_err"; then
2194
 
  # Broken: success on invalid input.
2195
 
continue
2196
 
else
2197
 
  echo "$as_me: failed program was:" >&5
2198
 
  cat conftest.$ac_ext >&5
2199
 
  # Passes both tests.
2200
 
ac_preproc_ok=:
2201
 
break
2202
 
fi
2203
 
rm -f conftest.err conftest.$ac_ext
2204
 
 
2205
 
done
2206
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2207
 
rm -f conftest.err conftest.$ac_ext
2208
 
if $ac_preproc_ok; then
2209
 
  :
2210
 
else
2211
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2212
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2213
 
   { (exit 1); exit 1; }; }
2214
 
fi
2215
 
 
2216
 
ac_ext=c
2217
 
ac_cpp='$CPP $CPPFLAGS'
2218
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2219
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2220
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2221
 
 
2222
 
 
2223
2033
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2224
2034
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2225
2035
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2228
2038
  ac_cv_prog_cc_stdc=no
2229
2039
ac_save_CC=$CC
2230
2040
cat >conftest.$ac_ext <<_ACEOF
2231
 
#line $LINENO "configure"
2232
 
#include "confdefs.h"
 
2041
/* confdefs.h.  */
 
2042
_ACEOF
 
2043
cat confdefs.h >>conftest.$ac_ext
 
2044
cat >>conftest.$ac_ext <<_ACEOF
 
2045
/* end confdefs.h.  */
2233
2046
#include <stdarg.h>
2234
2047
#include <stdio.h>
2235
2048
#include <sys/types.h>
2252
2065
  va_end (v);
2253
2066
  return s;
2254
2067
}
 
2068
 
 
2069
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2070
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2071
   These don't provoke an error unfortunately, instead are silently treated
 
2072
   as 'x'.  The following induces an error, until -std1 is added to get
 
2073
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2074
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2075
   that's true only with -std1.  */
 
2076
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2077
 
2255
2078
int test (int i, double x);
2256
2079
struct s1 {int (*f) (int a);};
2257
2080
struct s2 {int (*f) (double a);};
2258
2081
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2259
2082
int argc;
2260
2083
char **argv;
2261
 
#ifdef F77_DUMMY_MAIN
2262
 
#  ifdef __cplusplus
2263
 
     extern "C"
2264
 
#  endif
2265
 
   int F77_DUMMY_MAIN() { return 1; }
2266
 
#endif
2267
2084
int
2268
2085
main ()
2269
2086
{
2284
2101
  CC="$ac_save_CC $ac_arg"
2285
2102
  rm -f conftest.$ac_objext
2286
2103
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2287
 
  (eval $ac_compile) 2>&5
 
2104
  (eval $ac_compile) 2>conftest.er1
2288
2105
  ac_status=$?
 
2106
  grep -v '^ *+' conftest.er1 >conftest.err
 
2107
  rm -f conftest.er1
 
2108
  cat conftest.err >&5
2289
2109
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290
2110
  (exit $ac_status); } &&
2291
 
         { ac_try='test -s conftest.$ac_objext'
 
2111
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2112
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2113
  (eval $ac_try) 2>&5
 
2114
  ac_status=$?
 
2115
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2116
  (exit $ac_status); }; } &&
 
2117
         { ac_try='test -s conftest.$ac_objext'
2292
2118
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2293
2119
  (eval $ac_try) 2>&5
2294
2120
  ac_status=$?
2298
2124
break
2299
2125
else
2300
2126
  echo "$as_me: failed program was:" >&5
2301
 
cat conftest.$ac_ext >&5
 
2127
sed 's/^/| /' conftest.$ac_ext >&5
 
2128
 
2302
2129
fi
2303
 
rm -f conftest.$ac_objext
 
2130
rm -f conftest.err conftest.$ac_objext
2304
2131
done
2305
2132
rm -f conftest.$ac_ext conftest.$ac_objext
2306
2133
CC=$ac_save_CC
2317
2144
    CC="$CC $ac_cv_prog_cc_stdc" ;;
2318
2145
esac
2319
2146
 
 
2147
# Some people use a C++ compiler to compile C.  Since we use `exit',
 
2148
# in C++ we need to declare it.  In case someone uses the same compiler
 
2149
# for both compiling C and C++ we need to have the C++ compiler decide
 
2150
# the declaration of exit, since it's the most demanding environment.
 
2151
cat >conftest.$ac_ext <<_ACEOF
 
2152
#ifndef __cplusplus
 
2153
  choke me
 
2154
#endif
 
2155
_ACEOF
 
2156
rm -f conftest.$ac_objext
 
2157
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2158
  (eval $ac_compile) 2>conftest.er1
 
2159
  ac_status=$?
 
2160
  grep -v '^ *+' conftest.er1 >conftest.err
 
2161
  rm -f conftest.er1
 
2162
  cat conftest.err >&5
 
2163
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2164
  (exit $ac_status); } &&
 
2165
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2166
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2167
  (eval $ac_try) 2>&5
 
2168
  ac_status=$?
 
2169
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2170
  (exit $ac_status); }; } &&
 
2171
         { ac_try='test -s conftest.$ac_objext'
 
2172
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2173
  (eval $ac_try) 2>&5
 
2174
  ac_status=$?
 
2175
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2176
  (exit $ac_status); }; }; then
 
2177
  for ac_declaration in \
 
2178
   '' \
 
2179
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
2180
   'extern "C" void std::exit (int); using std::exit;' \
 
2181
   'extern "C" void exit (int) throw ();' \
 
2182
   'extern "C" void exit (int);' \
 
2183
   'void exit (int);'
 
2184
do
 
2185
  cat >conftest.$ac_ext <<_ACEOF
 
2186
/* confdefs.h.  */
 
2187
_ACEOF
 
2188
cat confdefs.h >>conftest.$ac_ext
 
2189
cat >>conftest.$ac_ext <<_ACEOF
 
2190
/* end confdefs.h.  */
 
2191
$ac_declaration
 
2192
#include <stdlib.h>
 
2193
int
 
2194
main ()
 
2195
{
 
2196
exit (42);
 
2197
  ;
 
2198
  return 0;
 
2199
}
 
2200
_ACEOF
 
2201
rm -f conftest.$ac_objext
 
2202
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2203
  (eval $ac_compile) 2>conftest.er1
 
2204
  ac_status=$?
 
2205
  grep -v '^ *+' conftest.er1 >conftest.err
 
2206
  rm -f conftest.er1
 
2207
  cat conftest.err >&5
 
2208
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2209
  (exit $ac_status); } &&
 
2210
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2211
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2212
  (eval $ac_try) 2>&5
 
2213
  ac_status=$?
 
2214
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2215
  (exit $ac_status); }; } &&
 
2216
         { ac_try='test -s conftest.$ac_objext'
 
2217
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2218
  (eval $ac_try) 2>&5
 
2219
  ac_status=$?
 
2220
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2221
  (exit $ac_status); }; }; then
 
2222
  :
 
2223
else
 
2224
  echo "$as_me: failed program was:" >&5
 
2225
sed 's/^/| /' conftest.$ac_ext >&5
 
2226
 
 
2227
continue
 
2228
fi
 
2229
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2230
  cat >conftest.$ac_ext <<_ACEOF
 
2231
/* confdefs.h.  */
 
2232
_ACEOF
 
2233
cat confdefs.h >>conftest.$ac_ext
 
2234
cat >>conftest.$ac_ext <<_ACEOF
 
2235
/* end confdefs.h.  */
 
2236
$ac_declaration
 
2237
int
 
2238
main ()
 
2239
{
 
2240
exit (42);
 
2241
  ;
 
2242
  return 0;
 
2243
}
 
2244
_ACEOF
 
2245
rm -f conftest.$ac_objext
 
2246
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2247
  (eval $ac_compile) 2>conftest.er1
 
2248
  ac_status=$?
 
2249
  grep -v '^ *+' conftest.er1 >conftest.err
 
2250
  rm -f conftest.er1
 
2251
  cat conftest.err >&5
 
2252
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2253
  (exit $ac_status); } &&
 
2254
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2255
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2256
  (eval $ac_try) 2>&5
 
2257
  ac_status=$?
 
2258
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2259
  (exit $ac_status); }; } &&
 
2260
         { ac_try='test -s conftest.$ac_objext'
 
2261
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2262
  (eval $ac_try) 2>&5
 
2263
  ac_status=$?
 
2264
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2265
  (exit $ac_status); }; }; then
 
2266
  break
 
2267
else
 
2268
  echo "$as_me: failed program was:" >&5
 
2269
sed 's/^/| /' conftest.$ac_ext >&5
 
2270
 
 
2271
fi
 
2272
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2273
done
 
2274
rm -f conftest*
 
2275
if test -n "$ac_declaration"; then
 
2276
  echo '#ifdef __cplusplus' >>confdefs.h
 
2277
  echo $ac_declaration      >>confdefs.h
 
2278
  echo '#endif'             >>confdefs.h
 
2279
fi
 
2280
 
 
2281
else
 
2282
  echo "$as_me: failed program was:" >&5
 
2283
sed 's/^/| /' conftest.$ac_ext >&5
 
2284
 
 
2285
fi
 
2286
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2287
ac_ext=c
 
2288
ac_cpp='$CPP $CPPFLAGS'
 
2289
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2290
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2291
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2292
 
 
2293
CCOPTS=
 
2294
 
 
2295
 
 
2296
ac_ext=c
 
2297
ac_cpp='$CPP $CPPFLAGS'
 
2298
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2299
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2300
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2301
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
2302
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
2303
# On Suns, sometimes $CPP names a directory.
 
2304
if test -n "$CPP" && test -d "$CPP"; then
 
2305
  CPP=
 
2306
fi
 
2307
if test -z "$CPP"; then
 
2308
  if test "${ac_cv_prog_CPP+set}" = set; then
 
2309
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2310
else
 
2311
      # Double quotes because CPP needs to be expanded
 
2312
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
2313
    do
 
2314
      ac_preproc_ok=false
 
2315
for ac_c_preproc_warn_flag in '' yes
 
2316
do
 
2317
  # Use a header file that comes with gcc, so configuring glibc
 
2318
  # with a fresh cross-compiler works.
 
2319
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2320
  # <limits.h> exists even on freestanding compilers.
 
2321
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
2322
  # not just through cpp. "Syntax error" is here to catch this case.
 
2323
  cat >conftest.$ac_ext <<_ACEOF
 
2324
/* confdefs.h.  */
 
2325
_ACEOF
 
2326
cat confdefs.h >>conftest.$ac_ext
 
2327
cat >>conftest.$ac_ext <<_ACEOF
 
2328
/* end confdefs.h.  */
 
2329
#ifdef __STDC__
 
2330
# include <limits.h>
 
2331
#else
 
2332
# include <assert.h>
 
2333
#endif
 
2334
                     Syntax error
 
2335
_ACEOF
 
2336
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2337
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2338
  ac_status=$?
 
2339
  grep -v '^ *+' conftest.er1 >conftest.err
 
2340
  rm -f conftest.er1
 
2341
  cat conftest.err >&5
 
2342
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2343
  (exit $ac_status); } >/dev/null; then
 
2344
  if test -s conftest.err; then
 
2345
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2346
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
2347
  else
 
2348
    ac_cpp_err=
 
2349
  fi
 
2350
else
 
2351
  ac_cpp_err=yes
 
2352
fi
 
2353
if test -z "$ac_cpp_err"; then
 
2354
  :
 
2355
else
 
2356
  echo "$as_me: failed program was:" >&5
 
2357
sed 's/^/| /' conftest.$ac_ext >&5
 
2358
 
 
2359
  # Broken: fails on valid input.
 
2360
continue
 
2361
fi
 
2362
rm -f conftest.err conftest.$ac_ext
 
2363
 
 
2364
  # OK, works on sane cases.  Now check whether non-existent headers
 
2365
  # can be detected and how.
 
2366
  cat >conftest.$ac_ext <<_ACEOF
 
2367
/* confdefs.h.  */
 
2368
_ACEOF
 
2369
cat confdefs.h >>conftest.$ac_ext
 
2370
cat >>conftest.$ac_ext <<_ACEOF
 
2371
/* end confdefs.h.  */
 
2372
#include <ac_nonexistent.h>
 
2373
_ACEOF
 
2374
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2375
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2376
  ac_status=$?
 
2377
  grep -v '^ *+' conftest.er1 >conftest.err
 
2378
  rm -f conftest.er1
 
2379
  cat conftest.err >&5
 
2380
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2381
  (exit $ac_status); } >/dev/null; then
 
2382
  if test -s conftest.err; then
 
2383
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2384
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
2385
  else
 
2386
    ac_cpp_err=
 
2387
  fi
 
2388
else
 
2389
  ac_cpp_err=yes
 
2390
fi
 
2391
if test -z "$ac_cpp_err"; then
 
2392
  # Broken: success on invalid input.
 
2393
continue
 
2394
else
 
2395
  echo "$as_me: failed program was:" >&5
 
2396
sed 's/^/| /' conftest.$ac_ext >&5
 
2397
 
 
2398
  # Passes both tests.
 
2399
ac_preproc_ok=:
 
2400
break
 
2401
fi
 
2402
rm -f conftest.err conftest.$ac_ext
 
2403
 
 
2404
done
 
2405
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
2406
rm -f conftest.err conftest.$ac_ext
 
2407
if $ac_preproc_ok; then
 
2408
  break
 
2409
fi
 
2410
 
 
2411
    done
 
2412
    ac_cv_prog_CPP=$CPP
 
2413
 
 
2414
fi
 
2415
  CPP=$ac_cv_prog_CPP
 
2416
else
 
2417
  ac_cv_prog_CPP=$CPP
 
2418
fi
 
2419
echo "$as_me:$LINENO: result: $CPP" >&5
 
2420
echo "${ECHO_T}$CPP" >&6
 
2421
ac_preproc_ok=false
 
2422
for ac_c_preproc_warn_flag in '' yes
 
2423
do
 
2424
  # Use a header file that comes with gcc, so configuring glibc
 
2425
  # with a fresh cross-compiler works.
 
2426
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2427
  # <limits.h> exists even on freestanding compilers.
 
2428
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
2429
  # not just through cpp. "Syntax error" is here to catch this case.
 
2430
  cat >conftest.$ac_ext <<_ACEOF
 
2431
/* confdefs.h.  */
 
2432
_ACEOF
 
2433
cat confdefs.h >>conftest.$ac_ext
 
2434
cat >>conftest.$ac_ext <<_ACEOF
 
2435
/* end confdefs.h.  */
 
2436
#ifdef __STDC__
 
2437
# include <limits.h>
 
2438
#else
 
2439
# include <assert.h>
 
2440
#endif
 
2441
                     Syntax error
 
2442
_ACEOF
 
2443
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2444
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2445
  ac_status=$?
 
2446
  grep -v '^ *+' conftest.er1 >conftest.err
 
2447
  rm -f conftest.er1
 
2448
  cat conftest.err >&5
 
2449
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2450
  (exit $ac_status); } >/dev/null; then
 
2451
  if test -s conftest.err; then
 
2452
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2453
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
2454
  else
 
2455
    ac_cpp_err=
 
2456
  fi
 
2457
else
 
2458
  ac_cpp_err=yes
 
2459
fi
 
2460
if test -z "$ac_cpp_err"; then
 
2461
  :
 
2462
else
 
2463
  echo "$as_me: failed program was:" >&5
 
2464
sed 's/^/| /' conftest.$ac_ext >&5
 
2465
 
 
2466
  # Broken: fails on valid input.
 
2467
continue
 
2468
fi
 
2469
rm -f conftest.err conftest.$ac_ext
 
2470
 
 
2471
  # OK, works on sane cases.  Now check whether non-existent headers
 
2472
  # can be detected and how.
 
2473
  cat >conftest.$ac_ext <<_ACEOF
 
2474
/* confdefs.h.  */
 
2475
_ACEOF
 
2476
cat confdefs.h >>conftest.$ac_ext
 
2477
cat >>conftest.$ac_ext <<_ACEOF
 
2478
/* end confdefs.h.  */
 
2479
#include <ac_nonexistent.h>
 
2480
_ACEOF
 
2481
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2482
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2483
  ac_status=$?
 
2484
  grep -v '^ *+' conftest.er1 >conftest.err
 
2485
  rm -f conftest.er1
 
2486
  cat conftest.err >&5
 
2487
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2488
  (exit $ac_status); } >/dev/null; then
 
2489
  if test -s conftest.err; then
 
2490
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2491
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
2492
  else
 
2493
    ac_cpp_err=
 
2494
  fi
 
2495
else
 
2496
  ac_cpp_err=yes
 
2497
fi
 
2498
if test -z "$ac_cpp_err"; then
 
2499
  # Broken: success on invalid input.
 
2500
continue
 
2501
else
 
2502
  echo "$as_me: failed program was:" >&5
 
2503
sed 's/^/| /' conftest.$ac_ext >&5
 
2504
 
 
2505
  # Passes both tests.
 
2506
ac_preproc_ok=:
 
2507
break
 
2508
fi
 
2509
rm -f conftest.err conftest.$ac_ext
 
2510
 
 
2511
done
 
2512
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
2513
rm -f conftest.err conftest.$ac_ext
 
2514
if $ac_preproc_ok; then
 
2515
  :
 
2516
else
 
2517
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
2518
See \`config.log' for more details." >&5
 
2519
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
2520
See \`config.log' for more details." >&2;}
 
2521
   { (exit 1); exit 1; }; }
 
2522
fi
 
2523
 
 
2524
ac_ext=c
 
2525
ac_cpp='$CPP $CPPFLAGS'
 
2526
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2527
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2528
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2529
 
 
2530
 
2320
2531
 
2321
2532
ac_reltopdir=
2322
2533
for x in . .. ../.. ../../.. ../../../..; do
2505
2716
  ac_check_lib_save_LIBS=$LIBS
2506
2717
LIBS="-lcom_err  $LIBS"
2507
2718
cat >conftest.$ac_ext <<_ACEOF
2508
 
#line $LINENO "configure"
2509
 
#include "confdefs.h"
 
2719
/* confdefs.h.  */
 
2720
_ACEOF
 
2721
cat confdefs.h >>conftest.$ac_ext
 
2722
cat >>conftest.$ac_ext <<_ACEOF
 
2723
/* end confdefs.h.  */
2510
2724
 
2511
2725
/* Override any gcc2 internal prototype to avoid an error.  */
2512
2726
#ifdef __cplusplus
2515
2729
/* We use char because int might match the return type of a gcc2
2516
2730
   builtin and then its argument prototype would still apply.  */
2517
2731
char add_error_table ();
2518
 
#ifdef F77_DUMMY_MAIN
2519
 
#  ifdef __cplusplus
2520
 
     extern "C"
2521
 
#  endif
2522
 
   int F77_DUMMY_MAIN() { return 1; }
2523
 
#endif
2524
2732
int
2525
2733
main ()
2526
2734
{
2531
2739
_ACEOF
2532
2740
rm -f conftest.$ac_objext conftest$ac_exeext
2533
2741
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2534
 
  (eval $ac_link) 2>&5
 
2742
  (eval $ac_link) 2>conftest.er1
2535
2743
  ac_status=$?
 
2744
  grep -v '^ *+' conftest.er1 >conftest.err
 
2745
  rm -f conftest.er1
 
2746
  cat conftest.err >&5
2536
2747
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537
2748
  (exit $ac_status); } &&
2538
 
         { ac_try='test -s conftest$ac_exeext'
 
2749
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2750
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2751
  (eval $ac_try) 2>&5
 
2752
  ac_status=$?
 
2753
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2754
  (exit $ac_status); }; } &&
 
2755
         { ac_try='test -s conftest$ac_exeext'
2539
2756
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2540
2757
  (eval $ac_try) 2>&5
2541
2758
  ac_status=$?
2544
2761
  ac_cv_lib_com_err_add_error_table=yes
2545
2762
else
2546
2763
  echo "$as_me: failed program was:" >&5
2547
 
cat conftest.$ac_ext >&5
 
2764
sed 's/^/| /' conftest.$ac_ext >&5
 
2765
 
2548
2766
ac_cv_lib_com_err_add_error_table=no
2549
2767
fi
2550
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
2768
rm -f conftest.err conftest.$ac_objext \
 
2769
      conftest$ac_exeext conftest.$ac_ext
2551
2770
LIBS=$ac_check_lib_save_LIBS
2552
2771
fi
2553
2772
echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_add_error_table" >&5
2568
2787
  ac_check_lib_save_LIBS=$LIBS
2569
2788
LIBS="-lcom_err  $LIBS"
2570
2789
cat >conftest.$ac_ext <<_ACEOF
2571
 
#line $LINENO "configure"
2572
 
#include "confdefs.h"
 
2790
/* confdefs.h.  */
 
2791
_ACEOF
 
2792
cat confdefs.h >>conftest.$ac_ext
 
2793
cat >>conftest.$ac_ext <<_ACEOF
 
2794
/* end confdefs.h.  */
2573
2795
 
2574
2796
/* Override any gcc2 internal prototype to avoid an error.  */
2575
2797
#ifdef __cplusplus
2578
2800
/* We use char because int might match the return type of a gcc2
2579
2801
   builtin and then its argument prototype would still apply.  */
2580
2802
char remove_error_table ();
2581
 
#ifdef F77_DUMMY_MAIN
2582
 
#  ifdef __cplusplus
2583
 
     extern "C"
2584
 
#  endif
2585
 
   int F77_DUMMY_MAIN() { return 1; }
2586
 
#endif
2587
2803
int
2588
2804
main ()
2589
2805
{
2594
2810
_ACEOF
2595
2811
rm -f conftest.$ac_objext conftest$ac_exeext
2596
2812
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2597
 
  (eval $ac_link) 2>&5
 
2813
  (eval $ac_link) 2>conftest.er1
2598
2814
  ac_status=$?
 
2815
  grep -v '^ *+' conftest.er1 >conftest.err
 
2816
  rm -f conftest.er1
 
2817
  cat conftest.err >&5
2599
2818
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600
2819
  (exit $ac_status); } &&
2601
 
         { ac_try='test -s conftest$ac_exeext'
 
2820
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2821
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2822
  (eval $ac_try) 2>&5
 
2823
  ac_status=$?
 
2824
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2825
  (exit $ac_status); }; } &&
 
2826
         { ac_try='test -s conftest$ac_exeext'
2602
2827
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2603
2828
  (eval $ac_try) 2>&5
2604
2829
  ac_status=$?
2607
2832
  ac_cv_lib_com_err_remove_error_table=yes
2608
2833
else
2609
2834
  echo "$as_me: failed program was:" >&5
2610
 
cat conftest.$ac_ext >&5
 
2835
sed 's/^/| /' conftest.$ac_ext >&5
 
2836
 
2611
2837
ac_cv_lib_com_err_remove_error_table=no
2612
2838
fi
2613
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
2839
rm -f conftest.err conftest.$ac_objext \
 
2840
      conftest$ac_exeext conftest.$ac_ext
2614
2841
LIBS=$ac_check_lib_save_LIBS
2615
2842
fi
2616
2843
echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_remove_error_table" >&5
2687
2914
   { (exit 1); exit 1; }; }
2688
2915
  fi
2689
2916
  cat >conftest.$ac_ext <<_ACEOF
2690
 
#line $LINENO "configure"
2691
 
#include "confdefs.h"
 
2917
/* confdefs.h.  */
 
2918
_ACEOF
 
2919
cat confdefs.h >>conftest.$ac_ext
 
2920
cat >>conftest.$ac_ext <<_ACEOF
 
2921
/* end confdefs.h.  */
2692
2922
#include "conf$$e.h"
2693
2923
 
2694
 
#ifdef F77_DUMMY_MAIN
2695
 
#  ifdef __cplusplus
2696
 
     extern "C"
2697
 
#  endif
2698
 
   int F77_DUMMY_MAIN() { return 1; }
2699
 
#endif
2700
2924
int
2701
2925
main ()
2702
2926
{
2707
2931
_ACEOF
2708
2932
rm -f conftest.$ac_objext
2709
2933
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2710
 
  (eval $ac_compile) 2>&5
 
2934
  (eval $ac_compile) 2>conftest.er1
2711
2935
  ac_status=$?
 
2936
  grep -v '^ *+' conftest.er1 >conftest.err
 
2937
  rm -f conftest.er1
 
2938
  cat conftest.err >&5
2712
2939
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713
2940
  (exit $ac_status); } &&
2714
 
         { ac_try='test -s conftest.$ac_objext'
 
2941
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2942
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2943
  (eval $ac_try) 2>&5
 
2944
  ac_status=$?
 
2945
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2946
  (exit $ac_status); }; } &&
 
2947
         { ac_try='test -s conftest.$ac_objext'
2715
2948
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2716
2949
  (eval $ac_try) 2>&5
2717
2950
  ac_status=$?
2720
2953
  :
2721
2954
else
2722
2955
  echo "$as_me: failed program was:" >&5
2723
 
cat conftest.$ac_ext >&5
 
2956
sed 's/^/| /' conftest.$ac_ext >&5
 
2957
 
2724
2958
{ { echo "$as_me:$LINENO: error: cannot use et_foo_error_table" >&5
2725
2959
echo "$as_me: error: cannot use et_foo_error_table" >&2;}
2726
2960
   { (exit 1); exit 1; }; }
2727
2961
fi
2728
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2962
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2729
2963
  # Anything else we need to test for?
2730
2964
  rm -f conf$$e.et conf$$e.c conf$$e.h
2731
2965
  krb5_cv_compile_et_useful=yes
2764
2998
  krb5_cv_system_ss_okay="assumed"
2765
2999
else
2766
3000
  cat >conftest.$ac_ext <<_ACEOF
2767
 
#line $LINENO "configure"
2768
 
#include "confdefs.h"
 
3001
/* confdefs.h.  */
 
3002
_ACEOF
 
3003
cat confdefs.h >>conftest.$ac_ext
 
3004
cat >>conftest.$ac_ext <<_ACEOF
 
3005
/* end confdefs.h.  */
2769
3006
 
2770
3007
#include <ss/ss.h>
2771
3008
int main(int argc, char *argv[]) {
2792
3029
else
2793
3030
  echo "$as_me: program exited with status $ac_status" >&5
2794
3031
echo "$as_me: failed program was:" >&5
2795
 
cat conftest.$ac_ext >&5
 
3032
sed 's/^/| /' conftest.$ac_ext >&5
 
3033
 
2796
3034
( exit $ac_status )
2797
3035
{ { echo "$as_me:$LINENO: error: cannot run test program" >&5
2798
3036
echo "$as_me: error: cannot run test program" >&2;}
2799
3037
   { (exit 1); exit 1; }; }
2800
3038
fi
2801
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3039
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2802
3040
fi
2803
3041
fi
2804
3042
echo "$as_me:$LINENO: result: $krb5_cv_system_ss_okay" >&5
2872
3110
  echo $ECHO_N "(cached) $ECHO_C" >&6
2873
3111
else
2874
3112
  cat >conftest.$ac_ext <<_ACEOF
2875
 
#line $LINENO "configure"
2876
 
#include "confdefs.h"
 
3113
/* confdefs.h.  */
 
3114
_ACEOF
 
3115
cat confdefs.h >>conftest.$ac_ext
 
3116
cat >>conftest.$ac_ext <<_ACEOF
 
3117
/* end confdefs.h.  */
2877
3118
 
2878
 
#ifdef F77_DUMMY_MAIN
2879
 
#  ifdef __cplusplus
2880
 
     extern "C"
2881
 
#  endif
2882
 
   int F77_DUMMY_MAIN() { return 1; }
2883
 
#endif
2884
3119
int
2885
3120
main ()
2886
3121
{
2937
3172
_ACEOF
2938
3173
rm -f conftest.$ac_objext
2939
3174
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2940
 
  (eval $ac_compile) 2>&5
 
3175
  (eval $ac_compile) 2>conftest.er1
2941
3176
  ac_status=$?
 
3177
  grep -v '^ *+' conftest.er1 >conftest.err
 
3178
  rm -f conftest.er1
 
3179
  cat conftest.err >&5
2942
3180
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943
3181
  (exit $ac_status); } &&
2944
 
         { ac_try='test -s conftest.$ac_objext'
 
3182
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3183
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3184
  (eval $ac_try) 2>&5
 
3185
  ac_status=$?
 
3186
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3187
  (exit $ac_status); }; } &&
 
3188
         { ac_try='test -s conftest.$ac_objext'
2945
3189
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2946
3190
  (eval $ac_try) 2>&5
2947
3191
  ac_status=$?
2950
3194
  ac_cv_c_const=yes
2951
3195
else
2952
3196
  echo "$as_me: failed program was:" >&5
2953
 
cat conftest.$ac_ext >&5
 
3197
sed 's/^/| /' conftest.$ac_ext >&5
 
3198
 
2954
3199
ac_cv_c_const=no
2955
3200
fi
2956
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3201
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2957
3202
fi
2958
3203
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
2959
3204
echo "${ECHO_T}$ac_cv_c_const" >&6
2988
3233
  echo $ECHO_N "(cached) $ECHO_C" >&6
2989
3234
else
2990
3235
  cat >conftest.$ac_ext <<_ACEOF
2991
 
#line $LINENO "configure"
2992
 
#include "confdefs.h"
 
3236
/* confdefs.h.  */
 
3237
_ACEOF
 
3238
cat confdefs.h >>conftest.$ac_ext
 
3239
cat >>conftest.$ac_ext <<_ACEOF
 
3240
/* end confdefs.h.  */
 
3241
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
 
3242
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
3243
#define gethostbyname innocuous_gethostbyname
 
3244
 
2993
3245
/* System header to define __stub macros and hopefully few prototypes,
2994
 
    which can conflict with char gethostbyname (); below.  */
2995
 
#include <assert.h>
 
3246
    which can conflict with char gethostbyname (); below.
 
3247
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3248
    <limits.h> exists even on freestanding compilers.  */
 
3249
 
 
3250
#ifdef __STDC__
 
3251
# include <limits.h>
 
3252
#else
 
3253
# include <assert.h>
 
3254
#endif
 
3255
 
 
3256
#undef gethostbyname
 
3257
 
2996
3258
/* Override any gcc2 internal prototype to avoid an error.  */
2997
3259
#ifdef __cplusplus
2998
3260
extern "C"
 
3261
{
2999
3262
#endif
3000
3263
/* We use char because int might match the return type of a gcc2
3001
3264
   builtin and then its argument prototype would still apply.  */
3002
3265
char gethostbyname ();
3003
 
char (*f) ();
3004
 
 
3005
 
#ifdef F77_DUMMY_MAIN
3006
 
#  ifdef __cplusplus
3007
 
     extern "C"
3008
 
#  endif
3009
 
   int F77_DUMMY_MAIN() { return 1; }
3010
 
#endif
3011
 
int
3012
 
main ()
3013
 
{
3014
3266
/* The GNU C library defines this for functions which it implements
3015
3267
    to always fail with ENOSYS.  Some functions are actually named
3016
3268
    something starting with __ and the normal name is an alias.  */
3017
3269
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3018
3270
choke me
3019
3271
#else
3020
 
f = gethostbyname;
 
3272
char (*f) () = gethostbyname;
 
3273
#endif
 
3274
#ifdef __cplusplus
 
3275
}
3021
3276
#endif
3022
3277
 
 
3278
int
 
3279
main ()
 
3280
{
 
3281
return f != gethostbyname;
3023
3282
  ;
3024
3283
  return 0;
3025
3284
}
3026
3285
_ACEOF
3027
3286
rm -f conftest.$ac_objext conftest$ac_exeext
3028
3287
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3029
 
  (eval $ac_link) 2>&5
 
3288
  (eval $ac_link) 2>conftest.er1
3030
3289
  ac_status=$?
 
3290
  grep -v '^ *+' conftest.er1 >conftest.err
 
3291
  rm -f conftest.er1
 
3292
  cat conftest.err >&5
3031
3293
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032
3294
  (exit $ac_status); } &&
3033
 
         { ac_try='test -s conftest$ac_exeext'
 
3295
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3296
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3297
  (eval $ac_try) 2>&5
 
3298
  ac_status=$?
 
3299
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3300
  (exit $ac_status); }; } &&
 
3301
         { ac_try='test -s conftest$ac_exeext'
3034
3302
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3035
3303
  (eval $ac_try) 2>&5
3036
3304
  ac_status=$?
3039
3307
  ac_cv_func_gethostbyname=yes
3040
3308
else
3041
3309
  echo "$as_me: failed program was:" >&5
3042
 
cat conftest.$ac_ext >&5
 
3310
sed 's/^/| /' conftest.$ac_ext >&5
 
3311
 
3043
3312
ac_cv_func_gethostbyname=no
3044
3313
fi
3045
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3314
rm -f conftest.err conftest.$ac_objext \
 
3315
      conftest$ac_exeext conftest.$ac_ext
3046
3316
fi
3047
3317
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3048
3318
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3060
3330
  ac_check_lib_save_LIBS=$LIBS
3061
3331
LIBS="-lnsl  $LIBS"
3062
3332
cat >conftest.$ac_ext <<_ACEOF
3063
 
#line $LINENO "configure"
3064
 
#include "confdefs.h"
 
3333
/* confdefs.h.  */
 
3334
_ACEOF
 
3335
cat confdefs.h >>conftest.$ac_ext
 
3336
cat >>conftest.$ac_ext <<_ACEOF
 
3337
/* end confdefs.h.  */
3065
3338
 
3066
3339
/* Override any gcc2 internal prototype to avoid an error.  */
3067
3340
#ifdef __cplusplus
3070
3343
/* We use char because int might match the return type of a gcc2
3071
3344
   builtin and then its argument prototype would still apply.  */
3072
3345
char gethostbyname ();
3073
 
#ifdef F77_DUMMY_MAIN
3074
 
#  ifdef __cplusplus
3075
 
     extern "C"
3076
 
#  endif
3077
 
   int F77_DUMMY_MAIN() { return 1; }
3078
 
#endif
3079
3346
int
3080
3347
main ()
3081
3348
{
3086
3353
_ACEOF
3087
3354
rm -f conftest.$ac_objext conftest$ac_exeext
3088
3355
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3089
 
  (eval $ac_link) 2>&5
 
3356
  (eval $ac_link) 2>conftest.er1
3090
3357
  ac_status=$?
 
3358
  grep -v '^ *+' conftest.er1 >conftest.err
 
3359
  rm -f conftest.er1
 
3360
  cat conftest.err >&5
3091
3361
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092
3362
  (exit $ac_status); } &&
3093
 
         { ac_try='test -s conftest$ac_exeext'
 
3363
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3364
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3365
  (eval $ac_try) 2>&5
 
3366
  ac_status=$?
 
3367
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3368
  (exit $ac_status); }; } &&
 
3369
         { ac_try='test -s conftest$ac_exeext'
3094
3370
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3095
3371
  (eval $ac_try) 2>&5
3096
3372
  ac_status=$?
3099
3375
  ac_cv_lib_nsl_gethostbyname=yes
3100
3376
else
3101
3377
  echo "$as_me: failed program was:" >&5
3102
 
cat conftest.$ac_ext >&5
 
3378
sed 's/^/| /' conftest.$ac_ext >&5
 
3379
 
3103
3380
ac_cv_lib_nsl_gethostbyname=no
3104
3381
fi
3105
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3382
rm -f conftest.err conftest.$ac_objext \
 
3383
      conftest$ac_exeext conftest.$ac_ext
3106
3384
LIBS=$ac_check_lib_save_LIBS
3107
3385
fi
3108
3386
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3126
3404
  ac_check_lib_save_LIBS=$LIBS
3127
3405
LIBS="-lsocket  $LIBS"
3128
3406
cat >conftest.$ac_ext <<_ACEOF
3129
 
#line $LINENO "configure"
3130
 
#include "confdefs.h"
 
3407
/* confdefs.h.  */
 
3408
_ACEOF
 
3409
cat confdefs.h >>conftest.$ac_ext
 
3410
cat >>conftest.$ac_ext <<_ACEOF
 
3411
/* end confdefs.h.  */
3131
3412
 
3132
3413
/* Override any gcc2 internal prototype to avoid an error.  */
3133
3414
#ifdef __cplusplus
3136
3417
/* We use char because int might match the return type of a gcc2
3137
3418
   builtin and then its argument prototype would still apply.  */
3138
3419
char gethostbyname ();
3139
 
#ifdef F77_DUMMY_MAIN
3140
 
#  ifdef __cplusplus
3141
 
     extern "C"
3142
 
#  endif
3143
 
   int F77_DUMMY_MAIN() { return 1; }
3144
 
#endif
3145
3420
int
3146
3421
main ()
3147
3422
{
3152
3427
_ACEOF
3153
3428
rm -f conftest.$ac_objext conftest$ac_exeext
3154
3429
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3155
 
  (eval $ac_link) 2>&5
 
3430
  (eval $ac_link) 2>conftest.er1
3156
3431
  ac_status=$?
 
3432
  grep -v '^ *+' conftest.er1 >conftest.err
 
3433
  rm -f conftest.er1
 
3434
  cat conftest.err >&5
3157
3435
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158
3436
  (exit $ac_status); } &&
3159
 
         { ac_try='test -s conftest$ac_exeext'
 
3437
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3438
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3439
  (eval $ac_try) 2>&5
 
3440
  ac_status=$?
 
3441
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3442
  (exit $ac_status); }; } &&
 
3443
         { ac_try='test -s conftest$ac_exeext'
3160
3444
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3161
3445
  (eval $ac_try) 2>&5
3162
3446
  ac_status=$?
3165
3449
  ac_cv_lib_socket_gethostbyname=yes
3166
3450
else
3167
3451
  echo "$as_me: failed program was:" >&5
3168
 
cat conftest.$ac_ext >&5
 
3452
sed 's/^/| /' conftest.$ac_ext >&5
 
3453
 
3169
3454
ac_cv_lib_socket_gethostbyname=no
3170
3455
fi
3171
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3456
rm -f conftest.err conftest.$ac_objext \
 
3457
      conftest$ac_exeext conftest.$ac_ext
3172
3458
LIBS=$ac_check_lib_save_LIBS
3173
3459
fi
3174
3460
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
3193
3479
  ac_check_lib_save_LIBS=$LIBS
3194
3480
LIBS="-lsocket -lnsl $LIBS"
3195
3481
cat >conftest.$ac_ext <<_ACEOF
3196
 
#line $LINENO "configure"
3197
 
#include "confdefs.h"
 
3482
/* confdefs.h.  */
 
3483
_ACEOF
 
3484
cat confdefs.h >>conftest.$ac_ext
 
3485
cat >>conftest.$ac_ext <<_ACEOF
 
3486
/* end confdefs.h.  */
3198
3487
 
3199
3488
/* Override any gcc2 internal prototype to avoid an error.  */
3200
3489
#ifdef __cplusplus
3203
3492
/* We use char because int might match the return type of a gcc2
3204
3493
   builtin and then its argument prototype would still apply.  */
3205
3494
char gethostbyname ();
3206
 
#ifdef F77_DUMMY_MAIN
3207
 
#  ifdef __cplusplus
3208
 
     extern "C"
3209
 
#  endif
3210
 
   int F77_DUMMY_MAIN() { return 1; }
3211
 
#endif
3212
3495
int
3213
3496
main ()
3214
3497
{
3219
3502
_ACEOF
3220
3503
rm -f conftest.$ac_objext conftest$ac_exeext
3221
3504
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3222
 
  (eval $ac_link) 2>&5
 
3505
  (eval $ac_link) 2>conftest.er1
3223
3506
  ac_status=$?
 
3507
  grep -v '^ *+' conftest.er1 >conftest.err
 
3508
  rm -f conftest.er1
 
3509
  cat conftest.err >&5
3224
3510
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225
3511
  (exit $ac_status); } &&
3226
 
         { ac_try='test -s conftest$ac_exeext'
 
3512
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3513
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3514
  (eval $ac_try) 2>&5
 
3515
  ac_status=$?
 
3516
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3517
  (exit $ac_status); }; } &&
 
3518
         { ac_try='test -s conftest$ac_exeext'
3227
3519
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3228
3520
  (eval $ac_try) 2>&5
3229
3521
  ac_status=$?
3232
3524
  ac_cv_lib_socket_gethostbyname=yes
3233
3525
else
3234
3526
  echo "$as_me: failed program was:" >&5
3235
 
cat conftest.$ac_ext >&5
 
3527
sed 's/^/| /' conftest.$ac_ext >&5
 
3528
 
3236
3529
ac_cv_lib_socket_gethostbyname=no
3237
3530
fi
3238
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3531
rm -f conftest.err conftest.$ac_objext \
 
3532
      conftest$ac_exeext conftest.$ac_ext
3239
3533
LIBS=$ac_check_lib_save_LIBS
3240
3534
fi
3241
3535
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
3251
3545
  ac_check_lib_save_LIBS=$LIBS
3252
3546
LIBS="-lresolv  $LIBS"
3253
3547
cat >conftest.$ac_ext <<_ACEOF
3254
 
#line $LINENO "configure"
3255
 
#include "confdefs.h"
 
3548
/* confdefs.h.  */
 
3549
_ACEOF
 
3550
cat confdefs.h >>conftest.$ac_ext
 
3551
cat >>conftest.$ac_ext <<_ACEOF
 
3552
/* end confdefs.h.  */
3256
3553
 
3257
3554
/* Override any gcc2 internal prototype to avoid an error.  */
3258
3555
#ifdef __cplusplus
3261
3558
/* We use char because int might match the return type of a gcc2
3262
3559
   builtin and then its argument prototype would still apply.  */
3263
3560
char gethostbyname ();
3264
 
#ifdef F77_DUMMY_MAIN
3265
 
#  ifdef __cplusplus
3266
 
     extern "C"
3267
 
#  endif
3268
 
   int F77_DUMMY_MAIN() { return 1; }
3269
 
#endif
3270
3561
int
3271
3562
main ()
3272
3563
{
3277
3568
_ACEOF
3278
3569
rm -f conftest.$ac_objext conftest$ac_exeext
3279
3570
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3280
 
  (eval $ac_link) 2>&5
 
3571
  (eval $ac_link) 2>conftest.er1
3281
3572
  ac_status=$?
 
3573
  grep -v '^ *+' conftest.er1 >conftest.err
 
3574
  rm -f conftest.er1
 
3575
  cat conftest.err >&5
3282
3576
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283
3577
  (exit $ac_status); } &&
3284
 
         { ac_try='test -s conftest$ac_exeext'
 
3578
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3579
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3580
  (eval $ac_try) 2>&5
 
3581
  ac_status=$?
 
3582
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3583
  (exit $ac_status); }; } &&
 
3584
         { ac_try='test -s conftest$ac_exeext'
3285
3585
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3286
3586
  (eval $ac_try) 2>&5
3287
3587
  ac_status=$?
3290
3590
  ac_cv_lib_resolv_gethostbyname=yes
3291
3591
else
3292
3592
  echo "$as_me: failed program was:" >&5
3293
 
cat conftest.$ac_ext >&5
 
3593
sed 's/^/| /' conftest.$ac_ext >&5
 
3594
 
3294
3595
ac_cv_lib_resolv_gethostbyname=no
3295
3596
fi
3296
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3597
rm -f conftest.err conftest.$ac_objext \
 
3598
      conftest$ac_exeext conftest.$ac_ext
3297
3599
LIBS=$ac_check_lib_save_LIBS
3298
3600
fi
3299
3601
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5
3319
3621
  echo $ECHO_N "(cached) $ECHO_C" >&6
3320
3622
else
3321
3623
  cat >conftest.$ac_ext <<_ACEOF
3322
 
#line $LINENO "configure"
3323
 
#include "confdefs.h"
 
3624
/* confdefs.h.  */
 
3625
_ACEOF
 
3626
cat confdefs.h >>conftest.$ac_ext
 
3627
cat >>conftest.$ac_ext <<_ACEOF
 
3628
/* end confdefs.h.  */
 
3629
/* Define socket to an innocuous variant, in case <limits.h> declares socket.
 
3630
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
3631
#define socket innocuous_socket
 
3632
 
3324
3633
/* System header to define __stub macros and hopefully few prototypes,
3325
 
    which can conflict with char socket (); below.  */
3326
 
#include <assert.h>
 
3634
    which can conflict with char socket (); below.
 
3635
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3636
    <limits.h> exists even on freestanding compilers.  */
 
3637
 
 
3638
#ifdef __STDC__
 
3639
# include <limits.h>
 
3640
#else
 
3641
# include <assert.h>
 
3642
#endif
 
3643
 
 
3644
#undef socket
 
3645
 
3327
3646
/* Override any gcc2 internal prototype to avoid an error.  */
3328
3647
#ifdef __cplusplus
3329
3648
extern "C"
 
3649
{
3330
3650
#endif
3331
3651
/* We use char because int might match the return type of a gcc2
3332
3652
   builtin and then its argument prototype would still apply.  */
3333
3653
char socket ();
3334
 
char (*f) ();
3335
 
 
3336
 
#ifdef F77_DUMMY_MAIN
3337
 
#  ifdef __cplusplus
3338
 
     extern "C"
3339
 
#  endif
3340
 
   int F77_DUMMY_MAIN() { return 1; }
3341
 
#endif
3342
 
int
3343
 
main ()
3344
 
{
3345
3654
/* The GNU C library defines this for functions which it implements
3346
3655
    to always fail with ENOSYS.  Some functions are actually named
3347
3656
    something starting with __ and the normal name is an alias.  */
3348
3657
#if defined (__stub_socket) || defined (__stub___socket)
3349
3658
choke me
3350
3659
#else
3351
 
f = socket;
 
3660
char (*f) () = socket;
 
3661
#endif
 
3662
#ifdef __cplusplus
 
3663
}
3352
3664
#endif
3353
3665
 
 
3666
int
 
3667
main ()
 
3668
{
 
3669
return f != socket;
3354
3670
  ;
3355
3671
  return 0;
3356
3672
}
3357
3673
_ACEOF
3358
3674
rm -f conftest.$ac_objext conftest$ac_exeext
3359
3675
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3360
 
  (eval $ac_link) 2>&5
 
3676
  (eval $ac_link) 2>conftest.er1
3361
3677
  ac_status=$?
 
3678
  grep -v '^ *+' conftest.er1 >conftest.err
 
3679
  rm -f conftest.er1
 
3680
  cat conftest.err >&5
3362
3681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363
3682
  (exit $ac_status); } &&
3364
 
         { ac_try='test -s conftest$ac_exeext'
 
3683
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3684
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3685
  (eval $ac_try) 2>&5
 
3686
  ac_status=$?
 
3687
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3688
  (exit $ac_status); }; } &&
 
3689
         { ac_try='test -s conftest$ac_exeext'
3365
3690
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3366
3691
  (eval $ac_try) 2>&5
3367
3692
  ac_status=$?
3370
3695
  ac_cv_func_socket=yes
3371
3696
else
3372
3697
  echo "$as_me: failed program was:" >&5
3373
 
cat conftest.$ac_ext >&5
 
3698
sed 's/^/| /' conftest.$ac_ext >&5
 
3699
 
3374
3700
ac_cv_func_socket=no
3375
3701
fi
3376
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3702
rm -f conftest.err conftest.$ac_objext \
 
3703
      conftest$ac_exeext conftest.$ac_ext
3377
3704
fi
3378
3705
echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
3379
3706
echo "${ECHO_T}$ac_cv_func_socket" >&6
3389
3716
  ac_check_lib_save_LIBS=$LIBS
3390
3717
LIBS="-lsocket  $LIBS"
3391
3718
cat >conftest.$ac_ext <<_ACEOF
3392
 
#line $LINENO "configure"
3393
 
#include "confdefs.h"
 
3719
/* confdefs.h.  */
 
3720
_ACEOF
 
3721
cat confdefs.h >>conftest.$ac_ext
 
3722
cat >>conftest.$ac_ext <<_ACEOF
 
3723
/* end confdefs.h.  */
3394
3724
 
3395
3725
/* Override any gcc2 internal prototype to avoid an error.  */
3396
3726
#ifdef __cplusplus
3399
3729
/* We use char because int might match the return type of a gcc2
3400
3730
   builtin and then its argument prototype would still apply.  */
3401
3731
char socket ();
3402
 
#ifdef F77_DUMMY_MAIN
3403
 
#  ifdef __cplusplus
3404
 
     extern "C"
3405
 
#  endif
3406
 
   int F77_DUMMY_MAIN() { return 1; }
3407
 
#endif
3408
3732
int
3409
3733
main ()
3410
3734
{
3415
3739
_ACEOF
3416
3740
rm -f conftest.$ac_objext conftest$ac_exeext
3417
3741
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3418
 
  (eval $ac_link) 2>&5
 
3742
  (eval $ac_link) 2>conftest.er1
3419
3743
  ac_status=$?
 
3744
  grep -v '^ *+' conftest.er1 >conftest.err
 
3745
  rm -f conftest.er1
 
3746
  cat conftest.err >&5
3420
3747
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421
3748
  (exit $ac_status); } &&
3422
 
         { ac_try='test -s conftest$ac_exeext'
 
3749
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3750
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3751
  (eval $ac_try) 2>&5
 
3752
  ac_status=$?
 
3753
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3754
  (exit $ac_status); }; } &&
 
3755
         { ac_try='test -s conftest$ac_exeext'
3423
3756
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3424
3757
  (eval $ac_try) 2>&5
3425
3758
  ac_status=$?
3428
3761
  ac_cv_lib_socket_socket=yes
3429
3762
else
3430
3763
  echo "$as_me: failed program was:" >&5
3431
 
cat conftest.$ac_ext >&5
 
3764
sed 's/^/| /' conftest.$ac_ext >&5
 
3765
 
3432
3766
ac_cv_lib_socket_socket=no
3433
3767
fi
3434
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3768
rm -f conftest.err conftest.$ac_objext \
 
3769
      conftest$ac_exeext conftest.$ac_ext
3435
3770
LIBS=$ac_check_lib_save_LIBS
3436
3771
fi
3437
3772
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3452
3787
  ac_check_lib_save_LIBS=$LIBS
3453
3788
LIBS="-lsocket -lnsl $LIBS"
3454
3789
cat >conftest.$ac_ext <<_ACEOF
3455
 
#line $LINENO "configure"
3456
 
#include "confdefs.h"
 
3790
/* confdefs.h.  */
 
3791
_ACEOF
 
3792
cat confdefs.h >>conftest.$ac_ext
 
3793
cat >>conftest.$ac_ext <<_ACEOF
 
3794
/* end confdefs.h.  */
3457
3795
 
3458
3796
/* Override any gcc2 internal prototype to avoid an error.  */
3459
3797
#ifdef __cplusplus
3462
3800
/* We use char because int might match the return type of a gcc2
3463
3801
   builtin and then its argument prototype would still apply.  */
3464
3802
char socket ();
3465
 
#ifdef F77_DUMMY_MAIN
3466
 
#  ifdef __cplusplus
3467
 
     extern "C"
3468
 
#  endif
3469
 
   int F77_DUMMY_MAIN() { return 1; }
3470
 
#endif
3471
3803
int
3472
3804
main ()
3473
3805
{
3478
3810
_ACEOF
3479
3811
rm -f conftest.$ac_objext conftest$ac_exeext
3480
3812
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3481
 
  (eval $ac_link) 2>&5
 
3813
  (eval $ac_link) 2>conftest.er1
3482
3814
  ac_status=$?
 
3815
  grep -v '^ *+' conftest.er1 >conftest.err
 
3816
  rm -f conftest.er1
 
3817
  cat conftest.err >&5
3483
3818
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484
3819
  (exit $ac_status); } &&
3485
 
         { ac_try='test -s conftest$ac_exeext'
 
3820
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3821
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3822
  (eval $ac_try) 2>&5
 
3823
  ac_status=$?
 
3824
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3825
  (exit $ac_status); }; } &&
 
3826
         { ac_try='test -s conftest$ac_exeext'
3486
3827
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487
3828
  (eval $ac_try) 2>&5
3488
3829
  ac_status=$?
3491
3832
  ac_cv_lib_socket_socket=yes
3492
3833
else
3493
3834
  echo "$as_me: failed program was:" >&5
3494
 
cat conftest.$ac_ext >&5
 
3835
sed 's/^/| /' conftest.$ac_ext >&5
 
3836
 
3495
3837
ac_cv_lib_socket_socket=no
3496
3838
fi
3497
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3839
rm -f conftest.err conftest.$ac_objext \
 
3840
      conftest$ac_exeext conftest.$ac_ext
3498
3841
LIBS=$ac_check_lib_save_LIBS
3499
3842
fi
3500
3843
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3579
3922
echo "${ECHO_T}$enable_dns" >&6
3580
3923
 
3581
3924
  if test "$enable_dns" = yes ; then
3582
 
    echo "$as_me:$LINENO: checking for res_search" >&5
 
3925
        echo "$as_me:$LINENO: checking for res_search" >&5
3583
3926
echo $ECHO_N "checking for res_search... $ECHO_C" >&6
3584
 
if test "${ac_cv_func_res_search+set}" = set; then
3585
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3586
 
else
3587
 
  cat >conftest.$ac_ext <<_ACEOF
3588
 
#line $LINENO "configure"
3589
 
#include "confdefs.h"
3590
 
/* System header to define __stub macros and hopefully few prototypes,
3591
 
    which can conflict with char res_search (); below.  */
3592
 
#include <assert.h>
 
3927
        cat >conftest.$ac_ext <<_ACEOF
 
3928
/* confdefs.h.  */
 
3929
_ACEOF
 
3930
cat confdefs.h >>conftest.$ac_ext
 
3931
cat >>conftest.$ac_ext <<_ACEOF
 
3932
/* end confdefs.h.  */
 
3933
 
3593
3934
/* Override any gcc2 internal prototype to avoid an error.  */
3594
3935
#ifdef __cplusplus
3595
3936
extern "C"
3597
3938
/* We use char because int might match the return type of a gcc2
3598
3939
   builtin and then its argument prototype would still apply.  */
3599
3940
char res_search ();
3600
 
char (*f) ();
3601
 
 
3602
 
#ifdef F77_DUMMY_MAIN
3603
 
#  ifdef __cplusplus
3604
 
     extern "C"
3605
 
#  endif
3606
 
   int F77_DUMMY_MAIN() { return 1; }
3607
 
#endif
3608
3941
int
3609
3942
main ()
3610
3943
{
3611
 
/* The GNU C library defines this for functions which it implements
3612
 
    to always fail with ENOSYS.  Some functions are actually named
3613
 
    something starting with __ and the normal name is an alias.  */
3614
 
#if defined (__stub_res_search) || defined (__stub___res_search)
3615
 
choke me
3616
 
#else
3617
 
f = res_search;
3618
 
#endif
3619
 
 
 
3944
res_search ();
3620
3945
  ;
3621
3946
  return 0;
3622
3947
}
3623
3948
_ACEOF
3624
3949
rm -f conftest.$ac_objext conftest$ac_exeext
3625
3950
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3626
 
  (eval $ac_link) 2>&5
 
3951
  (eval $ac_link) 2>conftest.er1
3627
3952
  ac_status=$?
 
3953
  grep -v '^ *+' conftest.er1 >conftest.err
 
3954
  rm -f conftest.er1
 
3955
  cat conftest.err >&5
3628
3956
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629
3957
  (exit $ac_status); } &&
3630
 
         { ac_try='test -s conftest$ac_exeext'
 
3958
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3959
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3960
  (eval $ac_try) 2>&5
 
3961
  ac_status=$?
 
3962
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3963
  (exit $ac_status); }; } &&
 
3964
         { ac_try='test -s conftest$ac_exeext'
3631
3965
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3632
3966
  (eval $ac_try) 2>&5
3633
3967
  ac_status=$?
3634
3968
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635
3969
  (exit $ac_status); }; }; then
3636
 
  ac_cv_func_res_search=yes
 
3970
  echo "$as_me:$LINENO: result: yes" >&5
 
3971
echo "${ECHO_T}yes" >&6
3637
3972
else
3638
3973
  echo "$as_me: failed program was:" >&5
3639
 
cat conftest.$ac_ext >&5
3640
 
ac_cv_func_res_search=no
3641
 
fi
3642
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3643
 
fi
3644
 
echo "$as_me:$LINENO: result: $ac_cv_func_res_search" >&5
3645
 
echo "${ECHO_T}$ac_cv_func_res_search" >&6
3646
 
if test $ac_cv_func_res_search = yes; then
3647
 
  :
3648
 
else
3649
 
  echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
 
3974
sed 's/^/| /' conftest.$ac_ext >&5
 
3975
 
 
3976
echo "$as_me:$LINENO: result: no" >&5
 
3977
echo "${ECHO_T}no" >&6
 
3978
fi
 
3979
rm -f conftest.err conftest.$ac_objext \
 
3980
      conftest$ac_exeext conftest.$ac_ext
 
3981
        saved_LIBS="$LIBS"
 
3982
        LIBS="$LIBS -lresolv"
 
3983
        echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
3650
3984
echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6
3651
 
if test "${ac_cv_lib_resolv_res_search+set}" = set; then
3652
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3653
 
else
3654
 
  ac_check_lib_save_LIBS=$LIBS
3655
 
LIBS="-lresolv  $LIBS"
3656
 
cat >conftest.$ac_ext <<_ACEOF
3657
 
#line $LINENO "configure"
3658
 
#include "confdefs.h"
 
3985
        cat >conftest.$ac_ext <<_ACEOF
3659
3986
 
3660
 
/* Override any gcc2 internal prototype to avoid an error.  */
3661
 
#ifdef __cplusplus
3662
 
extern "C"
3663
 
#endif
3664
 
/* We use char because int might match the return type of a gcc2
3665
 
   builtin and then its argument prototype would still apply.  */
3666
 
char res_search ();
3667
 
#ifdef F77_DUMMY_MAIN
3668
 
#  ifdef __cplusplus
3669
 
     extern "C"
3670
 
#  endif
3671
 
   int F77_DUMMY_MAIN() { return 1; }
3672
 
#endif
3673
 
int
3674
 
main ()
 
3987
#include <resolv.h>
 
3988
int main()
3675
3989
{
3676
 
res_search ();
3677
 
  ;
3678
 
  return 0;
 
3990
       res_search (0, 0, 0, 0, 0);
 
3991
       return 0;
3679
3992
}
3680
3993
_ACEOF
3681
3994
rm -f conftest.$ac_objext conftest$ac_exeext
3682
3995
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3683
 
  (eval $ac_link) 2>&5
 
3996
  (eval $ac_link) 2>conftest.er1
3684
3997
  ac_status=$?
 
3998
  grep -v '^ *+' conftest.er1 >conftest.err
 
3999
  rm -f conftest.er1
 
4000
  cat conftest.err >&5
3685
4001
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686
4002
  (exit $ac_status); } &&
3687
 
         { ac_try='test -s conftest$ac_exeext'
 
4003
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4004
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4005
  (eval $ac_try) 2>&5
 
4006
  ac_status=$?
 
4007
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4008
  (exit $ac_status); }; } &&
 
4009
         { ac_try='test -s conftest$ac_exeext'
3688
4010
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3689
4011
  (eval $ac_try) 2>&5
3690
4012
  ac_status=$?
3691
4013
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692
4014
  (exit $ac_status); }; }; then
3693
 
  ac_cv_lib_resolv_res_search=yes
 
4015
  LIBS="$LIBS -lresolv"; RESOLV_LIB=-lresolv; echo "$as_me:$LINENO: result: yes" >&5
 
4016
echo "${ECHO_T}yes" >&6
3694
4017
else
3695
4018
  echo "$as_me: failed program was:" >&5
3696
 
cat conftest.$ac_ext >&5
3697
 
ac_cv_lib_resolv_res_search=no
3698
 
fi
3699
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3700
 
LIBS=$ac_check_lib_save_LIBS
3701
 
fi
3702
 
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
3703
 
echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6
3704
 
if test $ac_cv_lib_resolv_res_search = yes; then
3705
 
  LIBS="$LIBS -lresolv" ; RESOLV_LIB=-lresolv
3706
 
else
3707
 
  { { echo "$as_me:$LINENO: error: Cannot find resolver support routine res_search in -lresolv." >&5
3708
 
echo "$as_me: error: Cannot find resolver support routine res_search in -lresolv." >&2;}
3709
 
   { (exit 1); exit 1; }; }
3710
 
 
3711
 
fi
3712
 
 
3713
 
fi
3714
 
 
 
4019
sed 's/^/| /' conftest.$ac_ext >&5
 
4020
 
 
4021
LIBS="$saved_LIBS"; echo "$as_me:$LINENO: result: no" >&5
 
4022
echo "${ECHO_T}no" >&6
 
4023
fi
 
4024
rm -f conftest.err conftest.$ac_objext \
 
4025
      conftest$ac_exeext conftest.$ac_ext
3715
4026
  fi
3716
4027
 
3717
4028
 
3734
4045
  ac_check_lib_save_LIBS=$LIBS
3735
4046
LIBS="-lresolv  $LIBS"
3736
4047
cat >conftest.$ac_ext <<_ACEOF
3737
 
#line $LINENO "configure"
3738
 
#include "confdefs.h"
 
4048
/* confdefs.h.  */
 
4049
_ACEOF
 
4050
cat confdefs.h >>conftest.$ac_ext
 
4051
cat >>conftest.$ac_ext <<_ACEOF
 
4052
/* end confdefs.h.  */
3739
4053
 
3740
4054
/* Override any gcc2 internal prototype to avoid an error.  */
3741
4055
#ifdef __cplusplus
3744
4058
/* We use char because int might match the return type of a gcc2
3745
4059
   builtin and then its argument prototype would still apply.  */
3746
4060
char res_send ();
3747
 
#ifdef F77_DUMMY_MAIN
3748
 
#  ifdef __cplusplus
3749
 
     extern "C"
3750
 
#  endif
3751
 
   int F77_DUMMY_MAIN() { return 1; }
3752
 
#endif
3753
4061
int
3754
4062
main ()
3755
4063
{
3760
4068
_ACEOF
3761
4069
rm -f conftest.$ac_objext conftest$ac_exeext
3762
4070
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3763
 
  (eval $ac_link) 2>&5
 
4071
  (eval $ac_link) 2>conftest.er1
3764
4072
  ac_status=$?
 
4073
  grep -v '^ *+' conftest.er1 >conftest.err
 
4074
  rm -f conftest.er1
 
4075
  cat conftest.err >&5
3765
4076
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766
4077
  (exit $ac_status); } &&
3767
 
         { ac_try='test -s conftest$ac_exeext'
 
4078
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4079
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4080
  (eval $ac_try) 2>&5
 
4081
  ac_status=$?
 
4082
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4083
  (exit $ac_status); }; } &&
 
4084
         { ac_try='test -s conftest$ac_exeext'
3768
4085
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769
4086
  (eval $ac_try) 2>&5
3770
4087
  ac_status=$?
3773
4090
  ac_cv_lib_resolv_res_send=yes
3774
4091
else
3775
4092
  echo "$as_me: failed program was:" >&5
3776
 
cat conftest.$ac_ext >&5
 
4093
sed 's/^/| /' conftest.$ac_ext >&5
 
4094
 
3777
4095
ac_cv_lib_resolv_res_send=no
3778
4096
fi
3779
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4097
rm -f conftest.err conftest.$ac_objext \
 
4098
      conftest$ac_exeext conftest.$ac_ext
3780
4099
LIBS=$ac_check_lib_save_LIBS
3781
4100
fi
3782
4101
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
3831
4150
  echo $ECHO_N "(cached) $ECHO_C" >&6
3832
4151
else
3833
4152
  cat >conftest.$ac_ext <<_ACEOF
3834
 
#line $LINENO "configure"
3835
 
#include "confdefs.h"
 
4153
/* confdefs.h.  */
 
4154
_ACEOF
 
4155
cat confdefs.h >>conftest.$ac_ext
 
4156
cat >>conftest.$ac_ext <<_ACEOF
 
4157
/* end confdefs.h.  */
3836
4158
 
3837
 
#ifdef F77_DUMMY_MAIN
3838
 
#  ifdef __cplusplus
3839
 
     extern "C"
3840
 
#  endif
3841
 
   int F77_DUMMY_MAIN() { return 1; }
3842
 
#endif
3843
4159
int
3844
4160
main ()
3845
4161
{
3896
4212
_ACEOF
3897
4213
rm -f conftest.$ac_objext
3898
4214
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3899
 
  (eval $ac_compile) 2>&5
 
4215
  (eval $ac_compile) 2>conftest.er1
3900
4216
  ac_status=$?
 
4217
  grep -v '^ *+' conftest.er1 >conftest.err
 
4218
  rm -f conftest.er1
 
4219
  cat conftest.err >&5
3901
4220
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3902
4221
  (exit $ac_status); } &&
3903
 
         { ac_try='test -s conftest.$ac_objext'
 
4222
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4223
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4224
  (eval $ac_try) 2>&5
 
4225
  ac_status=$?
 
4226
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4227
  (exit $ac_status); }; } &&
 
4228
         { ac_try='test -s conftest.$ac_objext'
3904
4229
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3905
4230
  (eval $ac_try) 2>&5
3906
4231
  ac_status=$?
3909
4234
  ac_cv_c_const=yes
3910
4235
else
3911
4236
  echo "$as_me: failed program was:" >&5
3912
 
cat conftest.$ac_ext >&5
 
4237
sed 's/^/| /' conftest.$ac_ext >&5
 
4238
 
3913
4239
ac_cv_c_const=no
3914
4240
fi
3915
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4241
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3916
4242
fi
3917
4243
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3918
4244
echo "${ECHO_T}$ac_cv_c_const" >&6
3935
4261
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3936
4262
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3937
4263
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
4264
# OS/2's system install, which has a completely different semantic
3938
4265
# ./install, which can be erroneously created by make from ./install.sh.
3939
4266
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3940
4267
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3951
4278
case $as_dir/ in
3952
4279
  ./ | .// | /cC/* | \
3953
4280
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
4281
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3954
4282
  /usr/ucb/* ) ;;
3955
4283
  *)
3956
4284
    # OSF1 and SCO ODT 3.0 have their own names for install.
3958
4286
    # by default.
3959
4287
    for ac_prog in ginstall scoinst install; do
3960
4288
      for ac_exec_ext in '' $ac_executable_extensions; do
3961
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3962
 
          if test $ac_prog = install &&
3963
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3964
 
            # AIX install.  It has an incompatible calling convention.
3965
 
            :
3966
 
          elif test $ac_prog = install &&
3967
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3968
 
            # program-specific install script used by HP pwplus--don't use.
3969
 
            :
3970
 
          else
3971
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3972
 
            break 3
3973
 
          fi
3974
 
        fi
 
4289
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
4290
          if test $ac_prog = install &&
 
4291
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
4292
            # AIX install.  It has an incompatible calling convention.
 
4293
            :
 
4294
          elif test $ac_prog = install &&
 
4295
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
4296
            # program-specific install script used by HP pwplus--don't use.
 
4297
            :
 
4298
          else
 
4299
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
4300
            break 3
 
4301
          fi
 
4302
        fi
3975
4303
      done
3976
4304
    done
3977
4305
    ;;
4049
4377
  echo $ECHO_N "(cached) $ECHO_C" >&6
4050
4378
else
4051
4379
  cat >conftest.$ac_ext <<_ACEOF
4052
 
#line $LINENO "configure"
4053
 
#include "confdefs.h"
 
4380
/* confdefs.h.  */
 
4381
_ACEOF
 
4382
cat confdefs.h >>conftest.$ac_ext
 
4383
cat >>conftest.$ac_ext <<_ACEOF
 
4384
/* end confdefs.h.  */
4054
4385
#include <sys/types.h>
4055
4386
#include <signal.h>
4056
4387
#ifdef signal
4057
4388
#undef signal
4058
4389
#endif
4059
4390
extern void (*signal ()) ();
4060
 
#ifdef F77_DUMMY_MAIN
4061
 
#  ifdef __cplusplus
4062
 
     extern "C"
4063
 
#  endif
4064
 
   int F77_DUMMY_MAIN() { return 1; }
4065
 
#endif
4066
4391
int
4067
4392
main ()
4068
4393
{
4073
4398
_ACEOF
4074
4399
rm -f conftest.$ac_objext
4075
4400
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4076
 
  (eval $ac_compile) 2>&5
 
4401
  (eval $ac_compile) 2>conftest.er1
4077
4402
  ac_status=$?
 
4403
  grep -v '^ *+' conftest.er1 >conftest.err
 
4404
  rm -f conftest.er1
 
4405
  cat conftest.err >&5
4078
4406
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079
4407
  (exit $ac_status); } &&
4080
 
         { ac_try='test -s conftest.$ac_objext'
 
4408
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4409
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4410
  (eval $ac_try) 2>&5
 
4411
  ac_status=$?
 
4412
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4413
  (exit $ac_status); }; } &&
 
4414
         { ac_try='test -s conftest.$ac_objext'
4081
4415
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4082
4416
  (eval $ac_try) 2>&5
4083
4417
  ac_status=$?
4086
4420
  krb5_cv_has_posix_signals=yes
4087
4421
else
4088
4422
  echo "$as_me: failed program was:" >&5
4089
 
cat conftest.$ac_ext >&5
 
4423
sed 's/^/| /' conftest.$ac_ext >&5
 
4424
 
4090
4425
krb5_cv_has_posix_signals=no
4091
4426
fi
4092
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4427
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4093
4428
fi
4094
4429
 
4095
4430
echo "$as_me:$LINENO: result: $krb5_cv_has_posix_signals" >&5
4120
4455
  echo $ECHO_N "(cached) $ECHO_C" >&6
4121
4456
else
4122
4457
  cat >conftest.$ac_ext <<_ACEOF
4123
 
#line $LINENO "configure"
4124
 
#include "confdefs.h"
 
4458
/* confdefs.h.  */
 
4459
_ACEOF
 
4460
cat confdefs.h >>conftest.$ac_ext
 
4461
cat >>conftest.$ac_ext <<_ACEOF
 
4462
/* end confdefs.h.  */
 
4463
/* Define sigprocmask to an innocuous variant, in case <limits.h> declares sigprocmask.
 
4464
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4465
#define sigprocmask innocuous_sigprocmask
 
4466
 
4125
4467
/* System header to define __stub macros and hopefully few prototypes,
4126
 
    which can conflict with char sigprocmask (); below.  */
4127
 
#include <assert.h>
 
4468
    which can conflict with char sigprocmask (); below.
 
4469
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4470
    <limits.h> exists even on freestanding compilers.  */
 
4471
 
 
4472
#ifdef __STDC__
 
4473
# include <limits.h>
 
4474
#else
 
4475
# include <assert.h>
 
4476
#endif
 
4477
 
 
4478
#undef sigprocmask
 
4479
 
4128
4480
/* Override any gcc2 internal prototype to avoid an error.  */
4129
4481
#ifdef __cplusplus
4130
4482
extern "C"
 
4483
{
4131
4484
#endif
4132
4485
/* We use char because int might match the return type of a gcc2
4133
4486
   builtin and then its argument prototype would still apply.  */
4134
4487
char sigprocmask ();
4135
 
char (*f) ();
4136
 
 
4137
 
#ifdef F77_DUMMY_MAIN
4138
 
#  ifdef __cplusplus
4139
 
     extern "C"
4140
 
#  endif
4141
 
   int F77_DUMMY_MAIN() { return 1; }
4142
 
#endif
4143
 
int
4144
 
main ()
4145
 
{
4146
4488
/* The GNU C library defines this for functions which it implements
4147
4489
    to always fail with ENOSYS.  Some functions are actually named
4148
4490
    something starting with __ and the normal name is an alias.  */
4149
4491
#if defined (__stub_sigprocmask) || defined (__stub___sigprocmask)
4150
4492
choke me
4151
4493
#else
4152
 
f = sigprocmask;
 
4494
char (*f) () = sigprocmask;
 
4495
#endif
 
4496
#ifdef __cplusplus
 
4497
}
4153
4498
#endif
4154
4499
 
 
4500
int
 
4501
main ()
 
4502
{
 
4503
return f != sigprocmask;
4155
4504
  ;
4156
4505
  return 0;
4157
4506
}
4158
4507
_ACEOF
4159
4508
rm -f conftest.$ac_objext conftest$ac_exeext
4160
4509
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4161
 
  (eval $ac_link) 2>&5
 
4510
  (eval $ac_link) 2>conftest.er1
4162
4511
  ac_status=$?
 
4512
  grep -v '^ *+' conftest.er1 >conftest.err
 
4513
  rm -f conftest.er1
 
4514
  cat conftest.err >&5
4163
4515
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164
4516
  (exit $ac_status); } &&
4165
 
         { ac_try='test -s conftest$ac_exeext'
 
4517
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4518
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4519
  (eval $ac_try) 2>&5
 
4520
  ac_status=$?
 
4521
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4522
  (exit $ac_status); }; } &&
 
4523
         { ac_try='test -s conftest$ac_exeext'
4166
4524
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4167
4525
  (eval $ac_try) 2>&5
4168
4526
  ac_status=$?
4171
4529
  ac_cv_func_sigprocmask=yes
4172
4530
else
4173
4531
  echo "$as_me: failed program was:" >&5
4174
 
cat conftest.$ac_ext >&5
 
4532
sed 's/^/| /' conftest.$ac_ext >&5
 
4533
 
4175
4534
ac_cv_func_sigprocmask=no
4176
4535
fi
4177
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4536
rm -f conftest.err conftest.$ac_objext \
 
4537
      conftest$ac_exeext conftest.$ac_ext
4178
4538
fi
4179
4539
echo "$as_me:$LINENO: result: $ac_cv_func_sigprocmask" >&5
4180
4540
echo "${ECHO_T}$ac_cv_func_sigprocmask" >&6
4185
4545
  echo $ECHO_N "(cached) $ECHO_C" >&6
4186
4546
else
4187
4547
  cat >conftest.$ac_ext <<_ACEOF
4188
 
#line $LINENO "configure"
4189
 
#include "confdefs.h"
 
4548
/* confdefs.h.  */
 
4549
_ACEOF
 
4550
cat confdefs.h >>conftest.$ac_ext
 
4551
cat >>conftest.$ac_ext <<_ACEOF
 
4552
/* end confdefs.h.  */
4190
4553
#include <signal.h>
4191
 
#ifdef F77_DUMMY_MAIN
4192
 
#  ifdef __cplusplus
4193
 
     extern "C"
4194
 
#  endif
4195
 
   int F77_DUMMY_MAIN() { return 1; }
4196
 
#endif
4197
4554
int
4198
4555
main ()
4199
4556
{
4204
4561
_ACEOF
4205
4562
rm -f conftest.$ac_objext
4206
4563
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4207
 
  (eval $ac_compile) 2>&5
 
4564
  (eval $ac_compile) 2>conftest.er1
4208
4565
  ac_status=$?
 
4566
  grep -v '^ *+' conftest.er1 >conftest.err
 
4567
  rm -f conftest.er1
 
4568
  cat conftest.err >&5
4209
4569
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210
4570
  (exit $ac_status); } &&
4211
 
         { ac_try='test -s conftest.$ac_objext'
 
4571
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4572
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4573
  (eval $ac_try) 2>&5
 
4574
  ac_status=$?
 
4575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4576
  (exit $ac_status); }; } &&
 
4577
         { ac_try='test -s conftest.$ac_objext'
4212
4578
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4213
4579
  (eval $ac_try) 2>&5
4214
4580
  ac_status=$?
4217
4583
  krb5_cv_type_sigset_t=yes
4218
4584
else
4219
4585
  echo "$as_me: failed program was:" >&5
4220
 
cat conftest.$ac_ext >&5
 
4586
sed 's/^/| /' conftest.$ac_ext >&5
 
4587
 
4221
4588
krb5_cv_type_sigset_t=no
4222
4589
fi
4223
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4590
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4224
4591
fi
4225
4592
 
4226
4593
echo "$as_me:$LINENO: result: $krb5_cv_type_sigset_t" >&5
4242
4609
  echo $ECHO_N "(cached) $ECHO_C" >&6
4243
4610
else
4244
4611
  cat >conftest.$ac_ext <<_ACEOF
4245
 
#line $LINENO "configure"
4246
 
#include "confdefs.h"
 
4612
/* confdefs.h.  */
 
4613
_ACEOF
 
4614
cat confdefs.h >>conftest.$ac_ext
 
4615
cat >>conftest.$ac_ext <<_ACEOF
 
4616
/* end confdefs.h.  */
4247
4617
#include <signal.h>
4248
 
#ifdef F77_DUMMY_MAIN
4249
 
#  ifdef __cplusplus
4250
 
     extern "C"
4251
 
#  endif
4252
 
   int F77_DUMMY_MAIN() { return 1; }
4253
 
#endif
4254
4618
int
4255
4619
main ()
4256
4620
{
4261
4625
_ACEOF
4262
4626
rm -f conftest.$ac_objext conftest$ac_exeext
4263
4627
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4264
 
  (eval $ac_link) 2>&5
 
4628
  (eval $ac_link) 2>conftest.er1
4265
4629
  ac_status=$?
 
4630
  grep -v '^ *+' conftest.er1 >conftest.err
 
4631
  rm -f conftest.er1
 
4632
  cat conftest.err >&5
4266
4633
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267
4634
  (exit $ac_status); } &&
4268
 
         { ac_try='test -s conftest$ac_exeext'
 
4635
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4636
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4637
  (eval $ac_try) 2>&5
 
4638
  ac_status=$?
 
4639
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4640
  (exit $ac_status); }; } &&
 
4641
         { ac_try='test -s conftest$ac_exeext'
4269
4642
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4270
4643
  (eval $ac_try) 2>&5
4271
4644
  ac_status=$?
4274
4647
  krb5_cv_func_sigprocmask_use=yes
4275
4648
else
4276
4649
  echo "$as_me: failed program was:" >&5
4277
 
cat conftest.$ac_ext >&5
 
4650
sed 's/^/| /' conftest.$ac_ext >&5
 
4651
 
4278
4652
cat >conftest.$ac_ext <<_ACEOF
4279
 
#line $LINENO "configure"
4280
 
#include "confdefs.h"
 
4653
/* confdefs.h.  */
 
4654
_ACEOF
 
4655
cat confdefs.h >>conftest.$ac_ext
 
4656
cat >>conftest.$ac_ext <<_ACEOF
 
4657
/* end confdefs.h.  */
4281
4658
#include <signal.h>
4282
 
#ifdef F77_DUMMY_MAIN
4283
 
#  ifdef __cplusplus
4284
 
     extern "C"
4285
 
#  endif
4286
 
   int F77_DUMMY_MAIN() { return 1; }
4287
 
#endif
4288
4659
int
4289
4660
main ()
4290
4661
{
4295
4666
_ACEOF
4296
4667
rm -f conftest.$ac_objext conftest$ac_exeext
4297
4668
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4298
 
  (eval $ac_link) 2>&5
 
4669
  (eval $ac_link) 2>conftest.er1
4299
4670
  ac_status=$?
 
4671
  grep -v '^ *+' conftest.er1 >conftest.err
 
4672
  rm -f conftest.er1
 
4673
  cat conftest.err >&5
4300
4674
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301
4675
  (exit $ac_status); } &&
4302
 
         { ac_try='test -s conftest$ac_exeext'
 
4676
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4677
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4678
  (eval $ac_try) 2>&5
 
4679
  ac_status=$?
 
4680
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4681
  (exit $ac_status); }; } &&
 
4682
         { ac_try='test -s conftest$ac_exeext'
4303
4683
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4304
4684
  (eval $ac_try) 2>&5
4305
4685
  ac_status=$?
4308
4688
  krb5_cv_func_sigprocmask_use=no
4309
4689
else
4310
4690
  echo "$as_me: failed program was:" >&5
4311
 
cat conftest.$ac_ext >&5
 
4691
sed 's/^/| /' conftest.$ac_ext >&5
 
4692
 
4312
4693
krb5_cv_func_sigprocmask_use=yes
4313
4694
fi
4314
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4695
rm -f conftest.err conftest.$ac_objext \
 
4696
      conftest$ac_exeext conftest.$ac_ext
4315
4697
fi
4316
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4698
rm -f conftest.err conftest.$ac_objext \
 
4699
      conftest$ac_exeext conftest.$ac_ext
4317
4700
fi
4318
4701
 
4319
4702
echo "$as_me:$LINENO: result: $krb5_cv_func_sigprocmask_use" >&5
4332
4715
  echo $ECHO_N "(cached) $ECHO_C" >&6
4333
4716
else
4334
4717
  cat >conftest.$ac_ext <<_ACEOF
4335
 
#line $LINENO "configure"
4336
 
#include "confdefs.h"
 
4718
/* confdefs.h.  */
 
4719
_ACEOF
 
4720
cat confdefs.h >>conftest.$ac_ext
 
4721
cat >>conftest.$ac_ext <<_ACEOF
 
4722
/* end confdefs.h.  */
 
4723
/* Define sigsetjmp to an innocuous variant, in case <limits.h> declares sigsetjmp.
 
4724
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4725
#define sigsetjmp innocuous_sigsetjmp
 
4726
 
4337
4727
/* System header to define __stub macros and hopefully few prototypes,
4338
 
    which can conflict with char sigsetjmp (); below.  */
4339
 
#include <assert.h>
 
4728
    which can conflict with char sigsetjmp (); below.
 
4729
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4730
    <limits.h> exists even on freestanding compilers.  */
 
4731
 
 
4732
#ifdef __STDC__
 
4733
# include <limits.h>
 
4734
#else
 
4735
# include <assert.h>
 
4736
#endif
 
4737
 
 
4738
#undef sigsetjmp
 
4739
 
4340
4740
/* Override any gcc2 internal prototype to avoid an error.  */
4341
4741
#ifdef __cplusplus
4342
4742
extern "C"
 
4743
{
4343
4744
#endif
4344
4745
/* We use char because int might match the return type of a gcc2
4345
4746
   builtin and then its argument prototype would still apply.  */
4346
4747
char sigsetjmp ();
4347
 
char (*f) ();
4348
 
 
4349
 
#ifdef F77_DUMMY_MAIN
4350
 
#  ifdef __cplusplus
4351
 
     extern "C"
4352
 
#  endif
4353
 
   int F77_DUMMY_MAIN() { return 1; }
4354
 
#endif
4355
 
int
4356
 
main ()
4357
 
{
4358
4748
/* The GNU C library defines this for functions which it implements
4359
4749
    to always fail with ENOSYS.  Some functions are actually named
4360
4750
    something starting with __ and the normal name is an alias.  */
4361
4751
#if defined (__stub_sigsetjmp) || defined (__stub___sigsetjmp)
4362
4752
choke me
4363
4753
#else
4364
 
f = sigsetjmp;
 
4754
char (*f) () = sigsetjmp;
 
4755
#endif
 
4756
#ifdef __cplusplus
 
4757
}
4365
4758
#endif
4366
4759
 
 
4760
int
 
4761
main ()
 
4762
{
 
4763
return f != sigsetjmp;
4367
4764
  ;
4368
4765
  return 0;
4369
4766
}
4370
4767
_ACEOF
4371
4768
rm -f conftest.$ac_objext conftest$ac_exeext
4372
4769
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4373
 
  (eval $ac_link) 2>&5
 
4770
  (eval $ac_link) 2>conftest.er1
4374
4771
  ac_status=$?
 
4772
  grep -v '^ *+' conftest.er1 >conftest.err
 
4773
  rm -f conftest.er1
 
4774
  cat conftest.err >&5
4375
4775
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376
4776
  (exit $ac_status); } &&
4377
 
         { ac_try='test -s conftest$ac_exeext'
 
4777
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4778
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4779
  (eval $ac_try) 2>&5
 
4780
  ac_status=$?
 
4781
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4782
  (exit $ac_status); }; } &&
 
4783
         { ac_try='test -s conftest$ac_exeext'
4378
4784
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4379
4785
  (eval $ac_try) 2>&5
4380
4786
  ac_status=$?
4383
4789
  ac_cv_func_sigsetjmp=yes
4384
4790
else
4385
4791
  echo "$as_me: failed program was:" >&5
4386
 
cat conftest.$ac_ext >&5
 
4792
sed 's/^/| /' conftest.$ac_ext >&5
 
4793
 
4387
4794
ac_cv_func_sigsetjmp=no
4388
4795
fi
4389
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4796
rm -f conftest.err conftest.$ac_objext \
 
4797
      conftest$ac_exeext conftest.$ac_ext
4390
4798
fi
4391
4799
echo "$as_me:$LINENO: result: $ac_cv_func_sigsetjmp" >&5
4392
4800
echo "${ECHO_T}$ac_cv_func_sigsetjmp" >&6
4397
4805
  echo $ECHO_N "(cached) $ECHO_C" >&6
4398
4806
else
4399
4807
  cat >conftest.$ac_ext <<_ACEOF
4400
 
#line $LINENO "configure"
4401
 
#include "confdefs.h"
 
4808
/* confdefs.h.  */
 
4809
_ACEOF
 
4810
cat confdefs.h >>conftest.$ac_ext
 
4811
cat >>conftest.$ac_ext <<_ACEOF
 
4812
/* end confdefs.h.  */
4402
4813
#include <setjmp.h>
4403
 
#ifdef F77_DUMMY_MAIN
4404
 
#  ifdef __cplusplus
4405
 
     extern "C"
4406
 
#  endif
4407
 
   int F77_DUMMY_MAIN() { return 1; }
4408
 
#endif
4409
4814
int
4410
4815
main ()
4411
4816
{
4416
4821
_ACEOF
4417
4822
rm -f conftest.$ac_objext
4418
4823
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4419
 
  (eval $ac_compile) 2>&5
 
4824
  (eval $ac_compile) 2>conftest.er1
4420
4825
  ac_status=$?
 
4826
  grep -v '^ *+' conftest.er1 >conftest.err
 
4827
  rm -f conftest.er1
 
4828
  cat conftest.err >&5
4421
4829
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422
4830
  (exit $ac_status); } &&
4423
 
         { ac_try='test -s conftest.$ac_objext'
 
4831
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4832
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4833
  (eval $ac_try) 2>&5
 
4834
  ac_status=$?
 
4835
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4836
  (exit $ac_status); }; } &&
 
4837
         { ac_try='test -s conftest.$ac_objext'
4424
4838
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4425
4839
  (eval $ac_try) 2>&5
4426
4840
  ac_status=$?
4429
4843
  krb5_cv_struct_sigjmp_buf=yes
4430
4844
else
4431
4845
  echo "$as_me: failed program was:" >&5
4432
 
cat conftest.$ac_ext >&5
 
4846
sed 's/^/| /' conftest.$ac_ext >&5
 
4847
 
4433
4848
krb5_cv_struct_sigjmp_buf=no
4434
4849
fi
4435
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4850
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4436
4851
fi
4437
4852
 
4438
4853
echo "$as_me:$LINENO: result: $krb5_cv_struct_sigjmp_buf" >&5
4453
4868
  echo $ECHO_N "(cached) $ECHO_C" >&6
4454
4869
else
4455
4870
  cat >conftest.$ac_ext <<_ACEOF
4456
 
#line $LINENO "configure"
4457
 
#include "confdefs.h"
 
4871
/* confdefs.h.  */
 
4872
_ACEOF
 
4873
cat confdefs.h >>conftest.$ac_ext
 
4874
cat >>conftest.$ac_ext <<_ACEOF
 
4875
/* end confdefs.h.  */
4458
4876
#include <sys/types.h>
4459
4877
#include <sys/wait.h>
4460
4878
extern pid_t wait(int *);
4461
 
#ifdef F77_DUMMY_MAIN
4462
 
#  ifdef __cplusplus
4463
 
     extern "C"
4464
 
#  endif
4465
 
   int F77_DUMMY_MAIN() { return 1; }
4466
 
#endif
4467
4879
int
4468
4880
main ()
4469
4881
{
4474
4886
_ACEOF
4475
4887
rm -f conftest.$ac_objext
4476
4888
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4477
 
  (eval $ac_compile) 2>&5
 
4889
  (eval $ac_compile) 2>conftest.er1
4478
4890
  ac_status=$?
 
4891
  grep -v '^ *+' conftest.er1 >conftest.err
 
4892
  rm -f conftest.er1
 
4893
  cat conftest.err >&5
4479
4894
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480
4895
  (exit $ac_status); } &&
4481
 
         { ac_try='test -s conftest.$ac_objext'
 
4896
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4897
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4898
  (eval $ac_try) 2>&5
 
4899
  ac_status=$?
 
4900
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4901
  (exit $ac_status); }; } &&
 
4902
         { ac_try='test -s conftest.$ac_objext'
4482
4903
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4483
4904
  (eval $ac_try) 2>&5
4484
4905
  ac_status=$?
4487
4908
  krb5_cv_struct_wait=no
4488
4909
else
4489
4910
  echo "$as_me: failed program was:" >&5
4490
 
cat conftest.$ac_ext >&5
 
4911
sed 's/^/| /' conftest.$ac_ext >&5
 
4912
 
4491
4913
cat >conftest.$ac_ext <<_ACEOF
4492
 
#line $LINENO "configure"
4493
 
#include "confdefs.h"
 
4914
/* confdefs.h.  */
 
4915
_ACEOF
 
4916
cat confdefs.h >>conftest.$ac_ext
 
4917
cat >>conftest.$ac_ext <<_ACEOF
 
4918
/* end confdefs.h.  */
4494
4919
#include <sys/wait.h>
4495
 
#ifdef F77_DUMMY_MAIN
4496
 
#  ifdef __cplusplus
4497
 
     extern "C"
4498
 
#  endif
4499
 
   int F77_DUMMY_MAIN() { return 1; }
4500
 
#endif
4501
4920
int
4502
4921
main ()
4503
4922
{
4512
4931
_ACEOF
4513
4932
rm -f conftest.$ac_objext
4514
4933
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4515
 
  (eval $ac_compile) 2>&5
 
4934
  (eval $ac_compile) 2>conftest.er1
4516
4935
  ac_status=$?
 
4936
  grep -v '^ *+' conftest.er1 >conftest.err
 
4937
  rm -f conftest.er1
 
4938
  cat conftest.err >&5
4517
4939
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518
4940
  (exit $ac_status); } &&
4519
 
         { ac_try='test -s conftest.$ac_objext'
 
4941
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4942
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4943
  (eval $ac_try) 2>&5
 
4944
  ac_status=$?
 
4945
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4946
  (exit $ac_status); }; } &&
 
4947
         { ac_try='test -s conftest.$ac_objext'
4520
4948
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4521
4949
  (eval $ac_try) 2>&5
4522
4950
  ac_status=$?
4525
4953
  krb5_cv_struct_wait=yes
4526
4954
else
4527
4955
  echo "$as_me: failed program was:" >&5
4528
 
cat conftest.$ac_ext >&5
 
4956
sed 's/^/| /' conftest.$ac_ext >&5
 
4957
 
4529
4958
krb5_cv_struct_wait=no
4530
4959
fi
4531
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4960
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4532
4961
fi
4533
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4962
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4534
4963
fi
4535
4964
 
4536
4965
echo "$as_me:$LINENO: result: $krb5_cv_struct_wait" >&5
4549
4978
  echo $ECHO_N "(cached) $ECHO_C" >&6
4550
4979
else
4551
4980
  cat >conftest.$ac_ext <<_ACEOF
4552
 
#line $LINENO "configure"
4553
 
#include "confdefs.h"
 
4981
/* confdefs.h.  */
 
4982
_ACEOF
 
4983
cat confdefs.h >>conftest.$ac_ext
 
4984
cat >>conftest.$ac_ext <<_ACEOF
 
4985
/* end confdefs.h.  */
4554
4986
#include <stdio.h>
4555
4987
#include <errno.h>
4556
 
#ifdef F77_DUMMY_MAIN
4557
 
#  ifdef __cplusplus
4558
 
     extern "C"
4559
 
#  endif
4560
 
   int F77_DUMMY_MAIN() { return 1; }
4561
 
#endif
4562
4988
int
4563
4989
main ()
4564
4990
{
4569
4995
_ACEOF
4570
4996
rm -f conftest.$ac_objext
4571
4997
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4572
 
  (eval $ac_compile) 2>&5
 
4998
  (eval $ac_compile) 2>conftest.er1
4573
4999
  ac_status=$?
 
5000
  grep -v '^ *+' conftest.er1 >conftest.err
 
5001
  rm -f conftest.er1
 
5002
  cat conftest.err >&5
4574
5003
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575
5004
  (exit $ac_status); } &&
4576
 
         { ac_try='test -s conftest.$ac_objext'
 
5005
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5006
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5007
  (eval $ac_try) 2>&5
 
5008
  ac_status=$?
 
5009
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5010
  (exit $ac_status); }; } &&
 
5011
         { ac_try='test -s conftest.$ac_objext'
4577
5012
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4578
5013
  (eval $ac_try) 2>&5
4579
5014
  ac_status=$?
4582
5017
  krb5_cv_decl_sys_errlist=yes
4583
5018
else
4584
5019
  echo "$as_me: failed program was:" >&5
4585
 
cat conftest.$ac_ext >&5
 
5020
sed 's/^/| /' conftest.$ac_ext >&5
 
5021
 
4586
5022
krb5_cv_decl_sys_errlist=no
4587
5023
fi
4588
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5024
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4589
5025
fi
4590
5026
echo "$as_me:$LINENO: result: $krb5_cv_decl_sys_errlist" >&5
4591
5027
echo "${ECHO_T}$krb5_cv_decl_sys_errlist" >&6
4610
5046
  echo $ECHO_N "(cached) $ECHO_C" >&6
4611
5047
else
4612
5048
  cat >conftest.$ac_ext <<_ACEOF
4613
 
#line $LINENO "configure"
4614
 
#include "confdefs.h"
 
5049
/* confdefs.h.  */
 
5050
_ACEOF
 
5051
cat confdefs.h >>conftest.$ac_ext
 
5052
cat >>conftest.$ac_ext <<_ACEOF
 
5053
/* end confdefs.h.  */
4615
5054
extern int sys_nerr;
4616
 
#ifdef F77_DUMMY_MAIN
4617
 
#  ifdef __cplusplus
4618
 
     extern "C"
4619
 
#  endif
4620
 
   int F77_DUMMY_MAIN() { return 1; }
4621
 
#endif
4622
5055
int
4623
5056
main ()
4624
5057
{
4629
5062
_ACEOF
4630
5063
rm -f conftest.$ac_objext conftest$ac_exeext
4631
5064
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4632
 
  (eval $ac_link) 2>&5
 
5065
  (eval $ac_link) 2>conftest.er1
4633
5066
  ac_status=$?
 
5067
  grep -v '^ *+' conftest.er1 >conftest.err
 
5068
  rm -f conftest.er1
 
5069
  cat conftest.err >&5
4634
5070
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635
5071
  (exit $ac_status); } &&
4636
 
         { ac_try='test -s conftest$ac_exeext'
 
5072
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5073
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5074
  (eval $ac_try) 2>&5
 
5075
  ac_status=$?
 
5076
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5077
  (exit $ac_status); }; } &&
 
5078
         { ac_try='test -s conftest$ac_exeext'
4637
5079
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4638
5080
  (eval $ac_try) 2>&5
4639
5081
  ac_status=$?
4642
5084
  krb5_cv_var_sys_errlist=yes
4643
5085
else
4644
5086
  echo "$as_me: failed program was:" >&5
4645
 
cat conftest.$ac_ext >&5
 
5087
sed 's/^/| /' conftest.$ac_ext >&5
 
5088
 
4646
5089
krb5_cv_var_sys_errlist=no;
4647
5090
fi
4648
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
5091
rm -f conftest.err conftest.$ac_objext \
 
5092
      conftest$ac_exeext conftest.$ac_ext
4649
5093
fi
4650
5094
echo "$as_me:$LINENO: result: $krb5_cv_var_sys_errlist" >&5
4651
5095
echo "${ECHO_T}$krb5_cv_var_sys_errlist" >&6
4666
5110
echo "$as_me: WARNING: sys_errlist is neither in errno.h nor in libc" >&2;}
4667
5111
  fi
4668
5112
fi
 
5113
echo "$as_me:$LINENO: checking for egrep" >&5
 
5114
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 
5115
if test "${ac_cv_prog_egrep+set}" = set; then
 
5116
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5117
else
 
5118
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 
5119
    then ac_cv_prog_egrep='grep -E'
 
5120
    else ac_cv_prog_egrep='egrep'
 
5121
    fi
 
5122
fi
 
5123
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 
5124
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 
5125
 EGREP=$ac_cv_prog_egrep
 
5126
 
 
5127
 
4669
5128
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4670
5129
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4671
5130
if test "${ac_cv_header_stdc+set}" = set; then
4672
5131
  echo $ECHO_N "(cached) $ECHO_C" >&6
4673
5132
else
4674
5133
  cat >conftest.$ac_ext <<_ACEOF
4675
 
#line $LINENO "configure"
4676
 
#include "confdefs.h"
 
5134
/* confdefs.h.  */
 
5135
_ACEOF
 
5136
cat confdefs.h >>conftest.$ac_ext
 
5137
cat >>conftest.$ac_ext <<_ACEOF
 
5138
/* end confdefs.h.  */
4677
5139
#include <stdlib.h>
4678
5140
#include <stdarg.h>
4679
5141
#include <string.h>
4680
5142
#include <float.h>
4681
5143
 
 
5144
int
 
5145
main ()
 
5146
{
 
5147
 
 
5148
  ;
 
5149
  return 0;
 
5150
}
4682
5151
_ACEOF
4683
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4684
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5152
rm -f conftest.$ac_objext
 
5153
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5154
  (eval $ac_compile) 2>conftest.er1
4685
5155
  ac_status=$?
4686
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
5156
  grep -v '^ *+' conftest.er1 >conftest.err
4687
5157
  rm -f conftest.er1
4688
5158
  cat conftest.err >&5
4689
5159
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690
 
  (exit $ac_status); } >/dev/null; then
4691
 
  if test -s conftest.err; then
4692
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4693
 
  else
4694
 
    ac_cpp_err=
4695
 
  fi
4696
 
else
4697
 
  ac_cpp_err=yes
4698
 
fi
4699
 
if test -z "$ac_cpp_err"; then
 
5160
  (exit $ac_status); } &&
 
5161
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5162
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5163
  (eval $ac_try) 2>&5
 
5164
  ac_status=$?
 
5165
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5166
  (exit $ac_status); }; } &&
 
5167
         { ac_try='test -s conftest.$ac_objext'
 
5168
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5169
  (eval $ac_try) 2>&5
 
5170
  ac_status=$?
 
5171
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5172
  (exit $ac_status); }; }; then
4700
5173
  ac_cv_header_stdc=yes
4701
5174
else
4702
5175
  echo "$as_me: failed program was:" >&5
4703
 
  cat conftest.$ac_ext >&5
4704
 
  ac_cv_header_stdc=no
 
5176
sed 's/^/| /' conftest.$ac_ext >&5
 
5177
 
 
5178
ac_cv_header_stdc=no
4705
5179
fi
4706
 
rm -f conftest.err conftest.$ac_ext
 
5180
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4707
5181
 
4708
5182
if test $ac_cv_header_stdc = yes; then
4709
5183
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4710
5184
  cat >conftest.$ac_ext <<_ACEOF
4711
 
#line $LINENO "configure"
4712
 
#include "confdefs.h"
 
5185
/* confdefs.h.  */
 
5186
_ACEOF
 
5187
cat confdefs.h >>conftest.$ac_ext
 
5188
cat >>conftest.$ac_ext <<_ACEOF
 
5189
/* end confdefs.h.  */
4713
5190
#include <string.h>
4714
5191
 
4715
5192
_ACEOF
4716
5193
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4717
 
  egrep "memchr" >/dev/null 2>&1; then
 
5194
  $EGREP "memchr" >/dev/null 2>&1; then
4718
5195
  :
4719
5196
else
4720
5197
  ac_cv_header_stdc=no
4726
5203
if test $ac_cv_header_stdc = yes; then
4727
5204
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4728
5205
  cat >conftest.$ac_ext <<_ACEOF
4729
 
#line $LINENO "configure"
4730
 
#include "confdefs.h"
 
5206
/* confdefs.h.  */
 
5207
_ACEOF
 
5208
cat confdefs.h >>conftest.$ac_ext
 
5209
cat >>conftest.$ac_ext <<_ACEOF
 
5210
/* end confdefs.h.  */
4731
5211
#include <stdlib.h>
4732
5212
 
4733
5213
_ACEOF
4734
5214
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4735
 
  egrep "free" >/dev/null 2>&1; then
 
5215
  $EGREP "free" >/dev/null 2>&1; then
4736
5216
  :
4737
5217
else
4738
5218
  ac_cv_header_stdc=no
4747
5227
  :
4748
5228
else
4749
5229
  cat >conftest.$ac_ext <<_ACEOF
4750
 
#line $LINENO "configure"
4751
 
#include "confdefs.h"
 
5230
/* confdefs.h.  */
 
5231
_ACEOF
 
5232
cat confdefs.h >>conftest.$ac_ext
 
5233
cat >>conftest.$ac_ext <<_ACEOF
 
5234
/* end confdefs.h.  */
4752
5235
#include <ctype.h>
4753
5236
#if ((' ' & 0x0FF) == 0x020)
4754
5237
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4755
5238
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4756
5239
#else
4757
 
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4758
 
                     || ('j' <= (c) && (c) <= 'r') \
4759
 
                     || ('s' <= (c) && (c) <= 'z'))
 
5240
# define ISLOWER(c) \
 
5241
                   (('a' <= (c) && (c) <= 'i') \
 
5242
                     || ('j' <= (c) && (c) <= 'r') \
 
5243
                     || ('s' <= (c) && (c) <= 'z'))
4760
5244
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4761
5245
#endif
4762
5246
 
4767
5251
  int i;
4768
5252
  for (i = 0; i < 256; i++)
4769
5253
    if (XOR (islower (i), ISLOWER (i))
4770
 
        || toupper (i) != TOUPPER (i))
 
5254
        || toupper (i) != TOUPPER (i))
4771
5255
      exit(2);
4772
5256
  exit (0);
4773
5257
}
4787
5271
else
4788
5272
  echo "$as_me: program exited with status $ac_status" >&5
4789
5273
echo "$as_me: failed program was:" >&5
4790
 
cat conftest.$ac_ext >&5
 
5274
sed 's/^/| /' conftest.$ac_ext >&5
 
5275
 
4791
5276
( exit $ac_status )
4792
5277
ac_cv_header_stdc=no
4793
5278
fi
4794
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5279
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4795
5280
fi
4796
5281
fi
4797
5282
fi
4816
5301
 
4817
5302
 
4818
5303
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4819
 
                  inttypes.h stdint.h unistd.h
 
5304
                  inttypes.h stdint.h unistd.h
4820
5305
do
4821
5306
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4822
5307
echo "$as_me:$LINENO: checking for $ac_header" >&5
4825
5310
  echo $ECHO_N "(cached) $ECHO_C" >&6
4826
5311
else
4827
5312
  cat >conftest.$ac_ext <<_ACEOF
4828
 
#line $LINENO "configure"
4829
 
#include "confdefs.h"
 
5313
/* confdefs.h.  */
 
5314
_ACEOF
 
5315
cat confdefs.h >>conftest.$ac_ext
 
5316
cat >>conftest.$ac_ext <<_ACEOF
 
5317
/* end confdefs.h.  */
4830
5318
$ac_includes_default
4831
5319
 
4832
5320
#include <$ac_header>
4833
5321
_ACEOF
4834
5322
rm -f conftest.$ac_objext
4835
5323
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4836
 
  (eval $ac_compile) 2>&5
 
5324
  (eval $ac_compile) 2>conftest.er1
4837
5325
  ac_status=$?
 
5326
  grep -v '^ *+' conftest.er1 >conftest.err
 
5327
  rm -f conftest.er1
 
5328
  cat conftest.err >&5
4838
5329
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839
5330
  (exit $ac_status); } &&
4840
 
         { ac_try='test -s conftest.$ac_objext'
 
5331
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5332
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5333
  (eval $ac_try) 2>&5
 
5334
  ac_status=$?
 
5335
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5336
  (exit $ac_status); }; } &&
 
5337
         { ac_try='test -s conftest.$ac_objext'
4841
5338
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4842
5339
  (eval $ac_try) 2>&5
4843
5340
  ac_status=$?
4846
5343
  eval "$as_ac_Header=yes"
4847
5344
else
4848
5345
  echo "$as_me: failed program was:" >&5
4849
 
cat conftest.$ac_ext >&5
 
5346
sed 's/^/| /' conftest.$ac_ext >&5
 
5347
 
4850
5348
eval "$as_ac_Header=no"
4851
5349
fi
4852
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5350
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4853
5351
fi
4854
5352
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4855
5353
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4869
5367
  echo $ECHO_N "(cached) $ECHO_C" >&6
4870
5368
else
4871
5369
  cat >conftest.$ac_ext <<_ACEOF
4872
 
#line $LINENO "configure"
4873
 
#include "confdefs.h"
 
5370
/* confdefs.h.  */
 
5371
_ACEOF
 
5372
cat confdefs.h >>conftest.$ac_ext
 
5373
cat >>conftest.$ac_ext <<_ACEOF
 
5374
/* end confdefs.h.  */
4874
5375
$ac_includes_default
4875
 
#ifdef F77_DUMMY_MAIN
4876
 
#  ifdef __cplusplus
4877
 
     extern "C"
4878
 
#  endif
4879
 
   int F77_DUMMY_MAIN() { return 1; }
4880
 
#endif
4881
5376
int
4882
5377
main ()
4883
5378
{
4891
5386
_ACEOF
4892
5387
rm -f conftest.$ac_objext
4893
5388
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4894
 
  (eval $ac_compile) 2>&5
 
5389
  (eval $ac_compile) 2>conftest.er1
4895
5390
  ac_status=$?
 
5391
  grep -v '^ *+' conftest.er1 >conftest.err
 
5392
  rm -f conftest.er1
 
5393
  cat conftest.err >&5
4896
5394
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897
5395
  (exit $ac_status); } &&
4898
 
         { ac_try='test -s conftest.$ac_objext'
 
5396
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5397
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5398
  (eval $ac_try) 2>&5
 
5399
  ac_status=$?
 
5400
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5401
  (exit $ac_status); }; } &&
 
5402
         { ac_try='test -s conftest.$ac_objext'
4899
5403
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4900
5404
  (eval $ac_try) 2>&5
4901
5405
  ac_status=$?
4904
5408
  ac_cv_type_short=yes
4905
5409
else
4906
5410
  echo "$as_me: failed program was:" >&5
4907
 
cat conftest.$ac_ext >&5
 
5411
sed 's/^/| /' conftest.$ac_ext >&5
 
5412
 
4908
5413
ac_cv_type_short=no
4909
5414
fi
4910
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5415
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4911
5416
fi
4912
5417
echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
4913
5418
echo "${ECHO_T}$ac_cv_type_short" >&6
4925
5430
  if test "$cross_compiling" = yes; then
4926
5431
  # Depending upon the size, compute the lo and hi bounds.
4927
5432
cat >conftest.$ac_ext <<_ACEOF
4928
 
#line $LINENO "configure"
4929
 
#include "confdefs.h"
 
5433
/* confdefs.h.  */
 
5434
_ACEOF
 
5435
cat confdefs.h >>conftest.$ac_ext
 
5436
cat >>conftest.$ac_ext <<_ACEOF
 
5437
/* end confdefs.h.  */
4930
5438
$ac_includes_default
4931
 
#ifdef F77_DUMMY_MAIN
4932
 
#  ifdef __cplusplus
4933
 
     extern "C"
4934
 
#  endif
4935
 
   int F77_DUMMY_MAIN() { return 1; }
4936
 
#endif
4937
5439
int
4938
5440
main ()
4939
5441
{
4946
5448
_ACEOF
4947
5449
rm -f conftest.$ac_objext
4948
5450
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4949
 
  (eval $ac_compile) 2>&5
 
5451
  (eval $ac_compile) 2>conftest.er1
4950
5452
  ac_status=$?
 
5453
  grep -v '^ *+' conftest.er1 >conftest.err
 
5454
  rm -f conftest.er1
 
5455
  cat conftest.err >&5
4951
5456
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952
5457
  (exit $ac_status); } &&
4953
 
         { ac_try='test -s conftest.$ac_objext'
 
5458
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5459
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5460
  (eval $ac_try) 2>&5
 
5461
  ac_status=$?
 
5462
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5463
  (exit $ac_status); }; } &&
 
5464
         { ac_try='test -s conftest.$ac_objext'
4954
5465
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4955
5466
  (eval $ac_try) 2>&5
4956
5467
  ac_status=$?
4959
5470
  ac_lo=0 ac_mid=0
4960
5471
  while :; do
4961
5472
    cat >conftest.$ac_ext <<_ACEOF
4962
 
#line $LINENO "configure"
4963
 
#include "confdefs.h"
 
5473
/* confdefs.h.  */
 
5474
_ACEOF
 
5475
cat confdefs.h >>conftest.$ac_ext
 
5476
cat >>conftest.$ac_ext <<_ACEOF
 
5477
/* end confdefs.h.  */
4964
5478
$ac_includes_default
4965
 
#ifdef F77_DUMMY_MAIN
4966
 
#  ifdef __cplusplus
4967
 
     extern "C"
4968
 
#  endif
4969
 
   int F77_DUMMY_MAIN() { return 1; }
4970
 
#endif
4971
5479
int
4972
5480
main ()
4973
5481
{
4980
5488
_ACEOF
4981
5489
rm -f conftest.$ac_objext
4982
5490
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4983
 
  (eval $ac_compile) 2>&5
 
5491
  (eval $ac_compile) 2>conftest.er1
4984
5492
  ac_status=$?
 
5493
  grep -v '^ *+' conftest.er1 >conftest.err
 
5494
  rm -f conftest.er1
 
5495
  cat conftest.err >&5
4985
5496
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986
5497
  (exit $ac_status); } &&
4987
 
         { ac_try='test -s conftest.$ac_objext'
 
5498
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5499
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5500
  (eval $ac_try) 2>&5
 
5501
  ac_status=$?
 
5502
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5503
  (exit $ac_status); }; } &&
 
5504
         { ac_try='test -s conftest.$ac_objext'
4988
5505
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989
5506
  (eval $ac_try) 2>&5
4990
5507
  ac_status=$?
4993
5510
  ac_hi=$ac_mid; break
4994
5511
else
4995
5512
  echo "$as_me: failed program was:" >&5
4996
 
cat conftest.$ac_ext >&5
 
5513
sed 's/^/| /' conftest.$ac_ext >&5
 
5514
 
4997
5515
ac_lo=`expr $ac_mid + 1`
4998
 
                    if test $ac_lo -le $ac_mid; then
4999
 
                      ac_lo= ac_hi=
5000
 
                      break
5001
 
                    fi
5002
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
5516
                    if test $ac_lo -le $ac_mid; then
 
5517
                      ac_lo= ac_hi=
 
5518
                      break
 
5519
                    fi
 
5520
                    ac_mid=`expr 2 '*' $ac_mid + 1`
5003
5521
fi
5004
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5522
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5005
5523
  done
5006
5524
else
5007
5525
  echo "$as_me: failed program was:" >&5
5008
 
cat conftest.$ac_ext >&5
 
5526
sed 's/^/| /' conftest.$ac_ext >&5
 
5527
 
5009
5528
cat >conftest.$ac_ext <<_ACEOF
5010
 
#line $LINENO "configure"
5011
 
#include "confdefs.h"
 
5529
/* confdefs.h.  */
 
5530
_ACEOF
 
5531
cat confdefs.h >>conftest.$ac_ext
 
5532
cat >>conftest.$ac_ext <<_ACEOF
 
5533
/* end confdefs.h.  */
5012
5534
$ac_includes_default
5013
 
#ifdef F77_DUMMY_MAIN
5014
 
#  ifdef __cplusplus
5015
 
     extern "C"
5016
 
#  endif
5017
 
   int F77_DUMMY_MAIN() { return 1; }
5018
 
#endif
5019
5535
int
5020
5536
main ()
5021
5537
{
5028
5544
_ACEOF
5029
5545
rm -f conftest.$ac_objext
5030
5546
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5031
 
  (eval $ac_compile) 2>&5
 
5547
  (eval $ac_compile) 2>conftest.er1
5032
5548
  ac_status=$?
 
5549
  grep -v '^ *+' conftest.er1 >conftest.err
 
5550
  rm -f conftest.er1
 
5551
  cat conftest.err >&5
5033
5552
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034
5553
  (exit $ac_status); } &&
5035
 
         { ac_try='test -s conftest.$ac_objext'
 
5554
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5555
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5556
  (eval $ac_try) 2>&5
 
5557
  ac_status=$?
 
5558
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5559
  (exit $ac_status); }; } &&
 
5560
         { ac_try='test -s conftest.$ac_objext'
5036
5561
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5037
5562
  (eval $ac_try) 2>&5
5038
5563
  ac_status=$?
5041
5566
  ac_hi=-1 ac_mid=-1
5042
5567
  while :; do
5043
5568
    cat >conftest.$ac_ext <<_ACEOF
5044
 
#line $LINENO "configure"
5045
 
#include "confdefs.h"
 
5569
/* confdefs.h.  */
 
5570
_ACEOF
 
5571
cat confdefs.h >>conftest.$ac_ext
 
5572
cat >>conftest.$ac_ext <<_ACEOF
 
5573
/* end confdefs.h.  */
5046
5574
$ac_includes_default
5047
 
#ifdef F77_DUMMY_MAIN
5048
 
#  ifdef __cplusplus
5049
 
     extern "C"
5050
 
#  endif
5051
 
   int F77_DUMMY_MAIN() { return 1; }
5052
 
#endif
5053
5575
int
5054
5576
main ()
5055
5577
{
5062
5584
_ACEOF
5063
5585
rm -f conftest.$ac_objext
5064
5586
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5065
 
  (eval $ac_compile) 2>&5
 
5587
  (eval $ac_compile) 2>conftest.er1
5066
5588
  ac_status=$?
 
5589
  grep -v '^ *+' conftest.er1 >conftest.err
 
5590
  rm -f conftest.er1
 
5591
  cat conftest.err >&5
5067
5592
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068
5593
  (exit $ac_status); } &&
5069
 
         { ac_try='test -s conftest.$ac_objext'
 
5594
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5595
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5596
  (eval $ac_try) 2>&5
 
5597
  ac_status=$?
 
5598
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5599
  (exit $ac_status); }; } &&
 
5600
         { ac_try='test -s conftest.$ac_objext'
5070
5601
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5071
5602
  (eval $ac_try) 2>&5
5072
5603
  ac_status=$?
5075
5606
  ac_lo=$ac_mid; break
5076
5607
else
5077
5608
  echo "$as_me: failed program was:" >&5
5078
 
cat conftest.$ac_ext >&5
 
5609
sed 's/^/| /' conftest.$ac_ext >&5
 
5610
 
5079
5611
ac_hi=`expr '(' $ac_mid ')' - 1`
5080
 
                       if test $ac_mid -le $ac_hi; then
5081
 
                         ac_lo= ac_hi=
5082
 
                         break
5083
 
                       fi
5084
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
5612
                       if test $ac_mid -le $ac_hi; then
 
5613
                         ac_lo= ac_hi=
 
5614
                         break
 
5615
                       fi
 
5616
                       ac_mid=`expr 2 '*' $ac_mid`
5085
5617
fi
5086
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5618
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5087
5619
  done
5088
5620
else
5089
5621
  echo "$as_me: failed program was:" >&5
5090
 
cat conftest.$ac_ext >&5
 
5622
sed 's/^/| /' conftest.$ac_ext >&5
 
5623
 
5091
5624
ac_lo= ac_hi=
5092
5625
fi
5093
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5626
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5094
5627
fi
5095
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5628
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5096
5629
# Binary search between lo and hi bounds.
5097
5630
while test "x$ac_lo" != "x$ac_hi"; do
5098
5631
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5099
5632
  cat >conftest.$ac_ext <<_ACEOF
5100
 
#line $LINENO "configure"
5101
 
#include "confdefs.h"
 
5633
/* confdefs.h.  */
 
5634
_ACEOF
 
5635
cat confdefs.h >>conftest.$ac_ext
 
5636
cat >>conftest.$ac_ext <<_ACEOF
 
5637
/* end confdefs.h.  */
5102
5638
$ac_includes_default
5103
 
#ifdef F77_DUMMY_MAIN
5104
 
#  ifdef __cplusplus
5105
 
     extern "C"
5106
 
#  endif
5107
 
   int F77_DUMMY_MAIN() { return 1; }
5108
 
#endif
5109
5639
int
5110
5640
main ()
5111
5641
{
5118
5648
_ACEOF
5119
5649
rm -f conftest.$ac_objext
5120
5650
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5121
 
  (eval $ac_compile) 2>&5
 
5651
  (eval $ac_compile) 2>conftest.er1
5122
5652
  ac_status=$?
 
5653
  grep -v '^ *+' conftest.er1 >conftest.err
 
5654
  rm -f conftest.er1
 
5655
  cat conftest.err >&5
5123
5656
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124
5657
  (exit $ac_status); } &&
5125
 
         { ac_try='test -s conftest.$ac_objext'
 
5658
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5659
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5660
  (eval $ac_try) 2>&5
 
5661
  ac_status=$?
 
5662
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5663
  (exit $ac_status); }; } &&
 
5664
         { ac_try='test -s conftest.$ac_objext'
5126
5665
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5127
5666
  (eval $ac_try) 2>&5
5128
5667
  ac_status=$?
5131
5670
  ac_hi=$ac_mid
5132
5671
else
5133
5672
  echo "$as_me: failed program was:" >&5
5134
 
cat conftest.$ac_ext >&5
 
5673
sed 's/^/| /' conftest.$ac_ext >&5
 
5674
 
5135
5675
ac_lo=`expr '(' $ac_mid ')' + 1`
5136
5676
fi
5137
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5677
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5138
5678
done
5139
5679
case $ac_lo in
5140
5680
?*) ac_cv_sizeof_short=$ac_lo;;
5141
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5
5142
 
echo "$as_me: error: cannot compute sizeof (short), 77" >&2;}
 
5681
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 
5682
See \`config.log' for more details." >&5
 
5683
echo "$as_me: error: cannot compute sizeof (short), 77
 
5684
See \`config.log' for more details." >&2;}
5143
5685
   { (exit 1); exit 1; }; } ;;
5144
5686
esac
5145
5687
else
5146
5688
  if test "$cross_compiling" = yes; then
5147
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
5148
 
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
 
5689
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 
5690
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
5149
5691
   { (exit 1); exit 1; }; }
5150
5692
else
5151
5693
  cat >conftest.$ac_ext <<_ACEOF
5152
 
#line $LINENO "configure"
5153
 
#include "confdefs.h"
 
5694
/* confdefs.h.  */
 
5695
_ACEOF
 
5696
cat confdefs.h >>conftest.$ac_ext
 
5697
cat >>conftest.$ac_ext <<_ACEOF
 
5698
/* end confdefs.h.  */
5154
5699
$ac_includes_default
5155
5700
long longval () { return (long) (sizeof (short)); }
5156
5701
unsigned long ulongval () { return (long) (sizeof (short)); }
5157
5702
#include <stdio.h>
5158
5703
#include <stdlib.h>
5159
 
#ifdef F77_DUMMY_MAIN
5160
 
#  ifdef __cplusplus
5161
 
     extern "C"
5162
 
#  endif
5163
 
   int F77_DUMMY_MAIN() { return 1; }
5164
 
#endif
5165
5704
int
5166
5705
main ()
5167
5706
{
5204
5743
else
5205
5744
  echo "$as_me: program exited with status $ac_status" >&5
5206
5745
echo "$as_me: failed program was:" >&5
5207
 
cat conftest.$ac_ext >&5
 
5746
sed 's/^/| /' conftest.$ac_ext >&5
 
5747
 
5208
5748
( exit $ac_status )
5209
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5
5210
 
echo "$as_me: error: cannot compute sizeof (short), 77" >&2;}
 
5749
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 
5750
See \`config.log' for more details." >&5
 
5751
echo "$as_me: error: cannot compute sizeof (short), 77
 
5752
See \`config.log' for more details." >&2;}
5211
5753
   { (exit 1); exit 1; }; }
5212
5754
fi
5213
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5755
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5214
5756
fi
5215
5757
fi
5216
5758
rm -f conftest.val
5231
5773
  echo $ECHO_N "(cached) $ECHO_C" >&6
5232
5774
else
5233
5775
  cat >conftest.$ac_ext <<_ACEOF
5234
 
#line $LINENO "configure"
5235
 
#include "confdefs.h"
 
5776
/* confdefs.h.  */
 
5777
_ACEOF
 
5778
cat confdefs.h >>conftest.$ac_ext
 
5779
cat >>conftest.$ac_ext <<_ACEOF
 
5780
/* end confdefs.h.  */
5236
5781
$ac_includes_default
5237
 
#ifdef F77_DUMMY_MAIN
5238
 
#  ifdef __cplusplus
5239
 
     extern "C"
5240
 
#  endif
5241
 
   int F77_DUMMY_MAIN() { return 1; }
5242
 
#endif
5243
5782
int
5244
5783
main ()
5245
5784
{
5253
5792
_ACEOF
5254
5793
rm -f conftest.$ac_objext
5255
5794
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5256
 
  (eval $ac_compile) 2>&5
 
5795
  (eval $ac_compile) 2>conftest.er1
5257
5796
  ac_status=$?
 
5797
  grep -v '^ *+' conftest.er1 >conftest.err
 
5798
  rm -f conftest.er1
 
5799
  cat conftest.err >&5
5258
5800
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259
5801
  (exit $ac_status); } &&
5260
 
         { ac_try='test -s conftest.$ac_objext'
 
5802
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5803
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5804
  (eval $ac_try) 2>&5
 
5805
  ac_status=$?
 
5806
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5807
  (exit $ac_status); }; } &&
 
5808
         { ac_try='test -s conftest.$ac_objext'
5261
5809
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5262
5810
  (eval $ac_try) 2>&5
5263
5811
  ac_status=$?
5266
5814
  ac_cv_type_int=yes
5267
5815
else
5268
5816
  echo "$as_me: failed program was:" >&5
5269
 
cat conftest.$ac_ext >&5
 
5817
sed 's/^/| /' conftest.$ac_ext >&5
 
5818
 
5270
5819
ac_cv_type_int=no
5271
5820
fi
5272
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5821
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5273
5822
fi
5274
5823
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
5275
5824
echo "${ECHO_T}$ac_cv_type_int" >&6
5287
5836
  if test "$cross_compiling" = yes; then
5288
5837
  # Depending upon the size, compute the lo and hi bounds.
5289
5838
cat >conftest.$ac_ext <<_ACEOF
5290
 
#line $LINENO "configure"
5291
 
#include "confdefs.h"
 
5839
/* confdefs.h.  */
 
5840
_ACEOF
 
5841
cat confdefs.h >>conftest.$ac_ext
 
5842
cat >>conftest.$ac_ext <<_ACEOF
 
5843
/* end confdefs.h.  */
5292
5844
$ac_includes_default
5293
 
#ifdef F77_DUMMY_MAIN
5294
 
#  ifdef __cplusplus
5295
 
     extern "C"
5296
 
#  endif
5297
 
   int F77_DUMMY_MAIN() { return 1; }
5298
 
#endif
5299
5845
int
5300
5846
main ()
5301
5847
{
5308
5854
_ACEOF
5309
5855
rm -f conftest.$ac_objext
5310
5856
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5311
 
  (eval $ac_compile) 2>&5
 
5857
  (eval $ac_compile) 2>conftest.er1
5312
5858
  ac_status=$?
 
5859
  grep -v '^ *+' conftest.er1 >conftest.err
 
5860
  rm -f conftest.er1
 
5861
  cat conftest.err >&5
5313
5862
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314
5863
  (exit $ac_status); } &&
5315
 
         { ac_try='test -s conftest.$ac_objext'
 
5864
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5865
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5866
  (eval $ac_try) 2>&5
 
5867
  ac_status=$?
 
5868
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5869
  (exit $ac_status); }; } &&
 
5870
         { ac_try='test -s conftest.$ac_objext'
5316
5871
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5317
5872
  (eval $ac_try) 2>&5
5318
5873
  ac_status=$?
5321
5876
  ac_lo=0 ac_mid=0
5322
5877
  while :; do
5323
5878
    cat >conftest.$ac_ext <<_ACEOF
5324
 
#line $LINENO "configure"
5325
 
#include "confdefs.h"
 
5879
/* confdefs.h.  */
 
5880
_ACEOF
 
5881
cat confdefs.h >>conftest.$ac_ext
 
5882
cat >>conftest.$ac_ext <<_ACEOF
 
5883
/* end confdefs.h.  */
5326
5884
$ac_includes_default
5327
 
#ifdef F77_DUMMY_MAIN
5328
 
#  ifdef __cplusplus
5329
 
     extern "C"
5330
 
#  endif
5331
 
   int F77_DUMMY_MAIN() { return 1; }
5332
 
#endif
5333
5885
int
5334
5886
main ()
5335
5887
{
5342
5894
_ACEOF
5343
5895
rm -f conftest.$ac_objext
5344
5896
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5345
 
  (eval $ac_compile) 2>&5
 
5897
  (eval $ac_compile) 2>conftest.er1
5346
5898
  ac_status=$?
 
5899
  grep -v '^ *+' conftest.er1 >conftest.err
 
5900
  rm -f conftest.er1
 
5901
  cat conftest.err >&5
5347
5902
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348
5903
  (exit $ac_status); } &&
5349
 
         { ac_try='test -s conftest.$ac_objext'
 
5904
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5905
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5906
  (eval $ac_try) 2>&5
 
5907
  ac_status=$?
 
5908
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5909
  (exit $ac_status); }; } &&
 
5910
         { ac_try='test -s conftest.$ac_objext'
5350
5911
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5351
5912
  (eval $ac_try) 2>&5
5352
5913
  ac_status=$?
5355
5916
  ac_hi=$ac_mid; break
5356
5917
else
5357
5918
  echo "$as_me: failed program was:" >&5
5358
 
cat conftest.$ac_ext >&5
 
5919
sed 's/^/| /' conftest.$ac_ext >&5
 
5920
 
5359
5921
ac_lo=`expr $ac_mid + 1`
5360
 
                    if test $ac_lo -le $ac_mid; then
5361
 
                      ac_lo= ac_hi=
5362
 
                      break
5363
 
                    fi
5364
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
5922
                    if test $ac_lo -le $ac_mid; then
 
5923
                      ac_lo= ac_hi=
 
5924
                      break
 
5925
                    fi
 
5926
                    ac_mid=`expr 2 '*' $ac_mid + 1`
5365
5927
fi
5366
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5928
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5367
5929
  done
5368
5930
else
5369
5931
  echo "$as_me: failed program was:" >&5
5370
 
cat conftest.$ac_ext >&5
 
5932
sed 's/^/| /' conftest.$ac_ext >&5
 
5933
 
5371
5934
cat >conftest.$ac_ext <<_ACEOF
5372
 
#line $LINENO "configure"
5373
 
#include "confdefs.h"
 
5935
/* confdefs.h.  */
 
5936
_ACEOF
 
5937
cat confdefs.h >>conftest.$ac_ext
 
5938
cat >>conftest.$ac_ext <<_ACEOF
 
5939
/* end confdefs.h.  */
5374
5940
$ac_includes_default
5375
 
#ifdef F77_DUMMY_MAIN
5376
 
#  ifdef __cplusplus
5377
 
     extern "C"
5378
 
#  endif
5379
 
   int F77_DUMMY_MAIN() { return 1; }
5380
 
#endif
5381
5941
int
5382
5942
main ()
5383
5943
{
5390
5950
_ACEOF
5391
5951
rm -f conftest.$ac_objext
5392
5952
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5393
 
  (eval $ac_compile) 2>&5
 
5953
  (eval $ac_compile) 2>conftest.er1
5394
5954
  ac_status=$?
 
5955
  grep -v '^ *+' conftest.er1 >conftest.err
 
5956
  rm -f conftest.er1
 
5957
  cat conftest.err >&5
5395
5958
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396
5959
  (exit $ac_status); } &&
5397
 
         { ac_try='test -s conftest.$ac_objext'
 
5960
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5961
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5962
  (eval $ac_try) 2>&5
 
5963
  ac_status=$?
 
5964
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5965
  (exit $ac_status); }; } &&
 
5966
         { ac_try='test -s conftest.$ac_objext'
5398
5967
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5399
5968
  (eval $ac_try) 2>&5
5400
5969
  ac_status=$?
5403
5972
  ac_hi=-1 ac_mid=-1
5404
5973
  while :; do
5405
5974
    cat >conftest.$ac_ext <<_ACEOF
5406
 
#line $LINENO "configure"
5407
 
#include "confdefs.h"
 
5975
/* confdefs.h.  */
 
5976
_ACEOF
 
5977
cat confdefs.h >>conftest.$ac_ext
 
5978
cat >>conftest.$ac_ext <<_ACEOF
 
5979
/* end confdefs.h.  */
5408
5980
$ac_includes_default
5409
 
#ifdef F77_DUMMY_MAIN
5410
 
#  ifdef __cplusplus
5411
 
     extern "C"
5412
 
#  endif
5413
 
   int F77_DUMMY_MAIN() { return 1; }
5414
 
#endif
5415
5981
int
5416
5982
main ()
5417
5983
{
5424
5990
_ACEOF
5425
5991
rm -f conftest.$ac_objext
5426
5992
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5427
 
  (eval $ac_compile) 2>&5
 
5993
  (eval $ac_compile) 2>conftest.er1
5428
5994
  ac_status=$?
 
5995
  grep -v '^ *+' conftest.er1 >conftest.err
 
5996
  rm -f conftest.er1
 
5997
  cat conftest.err >&5
5429
5998
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430
5999
  (exit $ac_status); } &&
5431
 
         { ac_try='test -s conftest.$ac_objext'
 
6000
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6001
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6002
  (eval $ac_try) 2>&5
 
6003
  ac_status=$?
 
6004
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6005
  (exit $ac_status); }; } &&
 
6006
         { ac_try='test -s conftest.$ac_objext'
5432
6007
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5433
6008
  (eval $ac_try) 2>&5
5434
6009
  ac_status=$?
5437
6012
  ac_lo=$ac_mid; break
5438
6013
else
5439
6014
  echo "$as_me: failed program was:" >&5
5440
 
cat conftest.$ac_ext >&5
 
6015
sed 's/^/| /' conftest.$ac_ext >&5
 
6016
 
5441
6017
ac_hi=`expr '(' $ac_mid ')' - 1`
5442
 
                       if test $ac_mid -le $ac_hi; then
5443
 
                         ac_lo= ac_hi=
5444
 
                         break
5445
 
                       fi
5446
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
6018
                       if test $ac_mid -le $ac_hi; then
 
6019
                         ac_lo= ac_hi=
 
6020
                         break
 
6021
                       fi
 
6022
                       ac_mid=`expr 2 '*' $ac_mid`
5447
6023
fi
5448
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6024
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5449
6025
  done
5450
6026
else
5451
6027
  echo "$as_me: failed program was:" >&5
5452
 
cat conftest.$ac_ext >&5
 
6028
sed 's/^/| /' conftest.$ac_ext >&5
 
6029
 
5453
6030
ac_lo= ac_hi=
5454
6031
fi
5455
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6032
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5456
6033
fi
5457
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6034
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5458
6035
# Binary search between lo and hi bounds.
5459
6036
while test "x$ac_lo" != "x$ac_hi"; do
5460
6037
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5461
6038
  cat >conftest.$ac_ext <<_ACEOF
5462
 
#line $LINENO "configure"
5463
 
#include "confdefs.h"
 
6039
/* confdefs.h.  */
 
6040
_ACEOF
 
6041
cat confdefs.h >>conftest.$ac_ext
 
6042
cat >>conftest.$ac_ext <<_ACEOF
 
6043
/* end confdefs.h.  */
5464
6044
$ac_includes_default
5465
 
#ifdef F77_DUMMY_MAIN
5466
 
#  ifdef __cplusplus
5467
 
     extern "C"
5468
 
#  endif
5469
 
   int F77_DUMMY_MAIN() { return 1; }
5470
 
#endif
5471
6045
int
5472
6046
main ()
5473
6047
{
5480
6054
_ACEOF
5481
6055
rm -f conftest.$ac_objext
5482
6056
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5483
 
  (eval $ac_compile) 2>&5
 
6057
  (eval $ac_compile) 2>conftest.er1
5484
6058
  ac_status=$?
 
6059
  grep -v '^ *+' conftest.er1 >conftest.err
 
6060
  rm -f conftest.er1
 
6061
  cat conftest.err >&5
5485
6062
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486
6063
  (exit $ac_status); } &&
5487
 
         { ac_try='test -s conftest.$ac_objext'
 
6064
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6065
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6066
  (eval $ac_try) 2>&5
 
6067
  ac_status=$?
 
6068
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6069
  (exit $ac_status); }; } &&
 
6070
         { ac_try='test -s conftest.$ac_objext'
5488
6071
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5489
6072
  (eval $ac_try) 2>&5
5490
6073
  ac_status=$?
5493
6076
  ac_hi=$ac_mid
5494
6077
else
5495
6078
  echo "$as_me: failed program was:" >&5
5496
 
cat conftest.$ac_ext >&5
 
6079
sed 's/^/| /' conftest.$ac_ext >&5
 
6080
 
5497
6081
ac_lo=`expr '(' $ac_mid ')' + 1`
5498
6082
fi
5499
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6083
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5500
6084
done
5501
6085
case $ac_lo in
5502
6086
?*) ac_cv_sizeof_int=$ac_lo;;
5503
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
5504
 
echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
 
6087
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 
6088
See \`config.log' for more details." >&5
 
6089
echo "$as_me: error: cannot compute sizeof (int), 77
 
6090
See \`config.log' for more details." >&2;}
5505
6091
   { (exit 1); exit 1; }; } ;;
5506
6092
esac
5507
6093
else
5508
6094
  if test "$cross_compiling" = yes; then
5509
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
5510
 
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
 
6095
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 
6096
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
5511
6097
   { (exit 1); exit 1; }; }
5512
6098
else
5513
6099
  cat >conftest.$ac_ext <<_ACEOF
5514
 
#line $LINENO "configure"
5515
 
#include "confdefs.h"
 
6100
/* confdefs.h.  */
 
6101
_ACEOF
 
6102
cat confdefs.h >>conftest.$ac_ext
 
6103
cat >>conftest.$ac_ext <<_ACEOF
 
6104
/* end confdefs.h.  */
5516
6105
$ac_includes_default
5517
6106
long longval () { return (long) (sizeof (int)); }
5518
6107
unsigned long ulongval () { return (long) (sizeof (int)); }
5519
6108
#include <stdio.h>
5520
6109
#include <stdlib.h>
5521
 
#ifdef F77_DUMMY_MAIN
5522
 
#  ifdef __cplusplus
5523
 
     extern "C"
5524
 
#  endif
5525
 
   int F77_DUMMY_MAIN() { return 1; }
5526
 
#endif
5527
6110
int
5528
6111
main ()
5529
6112
{
5566
6149
else
5567
6150
  echo "$as_me: program exited with status $ac_status" >&5
5568
6151
echo "$as_me: failed program was:" >&5
5569
 
cat conftest.$ac_ext >&5
 
6152
sed 's/^/| /' conftest.$ac_ext >&5
 
6153
 
5570
6154
( exit $ac_status )
5571
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
5572
 
echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
 
6155
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 
6156
See \`config.log' for more details." >&5
 
6157
echo "$as_me: error: cannot compute sizeof (int), 77
 
6158
See \`config.log' for more details." >&2;}
5573
6159
   { (exit 1); exit 1; }; }
5574
6160
fi
5575
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6161
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5576
6162
fi
5577
6163
fi
5578
6164
rm -f conftest.val
5593
6179
  echo $ECHO_N "(cached) $ECHO_C" >&6
5594
6180
else
5595
6181
  cat >conftest.$ac_ext <<_ACEOF
5596
 
#line $LINENO "configure"
5597
 
#include "confdefs.h"
 
6182
/* confdefs.h.  */
 
6183
_ACEOF
 
6184
cat confdefs.h >>conftest.$ac_ext
 
6185
cat >>conftest.$ac_ext <<_ACEOF
 
6186
/* end confdefs.h.  */
5598
6187
$ac_includes_default
5599
 
#ifdef F77_DUMMY_MAIN
5600
 
#  ifdef __cplusplus
5601
 
     extern "C"
5602
 
#  endif
5603
 
   int F77_DUMMY_MAIN() { return 1; }
5604
 
#endif
5605
6188
int
5606
6189
main ()
5607
6190
{
5615
6198
_ACEOF
5616
6199
rm -f conftest.$ac_objext
5617
6200
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5618
 
  (eval $ac_compile) 2>&5
 
6201
  (eval $ac_compile) 2>conftest.er1
5619
6202
  ac_status=$?
 
6203
  grep -v '^ *+' conftest.er1 >conftest.err
 
6204
  rm -f conftest.er1
 
6205
  cat conftest.err >&5
5620
6206
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621
6207
  (exit $ac_status); } &&
5622
 
         { ac_try='test -s conftest.$ac_objext'
 
6208
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6209
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6210
  (eval $ac_try) 2>&5
 
6211
  ac_status=$?
 
6212
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6213
  (exit $ac_status); }; } &&
 
6214
         { ac_try='test -s conftest.$ac_objext'
5623
6215
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5624
6216
  (eval $ac_try) 2>&5
5625
6217
  ac_status=$?
5628
6220
  ac_cv_type_long=yes
5629
6221
else
5630
6222
  echo "$as_me: failed program was:" >&5
5631
 
cat conftest.$ac_ext >&5
 
6223
sed 's/^/| /' conftest.$ac_ext >&5
 
6224
 
5632
6225
ac_cv_type_long=no
5633
6226
fi
5634
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6227
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5635
6228
fi
5636
6229
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
5637
6230
echo "${ECHO_T}$ac_cv_type_long" >&6
5649
6242
  if test "$cross_compiling" = yes; then
5650
6243
  # Depending upon the size, compute the lo and hi bounds.
5651
6244
cat >conftest.$ac_ext <<_ACEOF
5652
 
#line $LINENO "configure"
5653
 
#include "confdefs.h"
 
6245
/* confdefs.h.  */
 
6246
_ACEOF
 
6247
cat confdefs.h >>conftest.$ac_ext
 
6248
cat >>conftest.$ac_ext <<_ACEOF
 
6249
/* end confdefs.h.  */
5654
6250
$ac_includes_default
5655
 
#ifdef F77_DUMMY_MAIN
5656
 
#  ifdef __cplusplus
5657
 
     extern "C"
5658
 
#  endif
5659
 
   int F77_DUMMY_MAIN() { return 1; }
5660
 
#endif
5661
6251
int
5662
6252
main ()
5663
6253
{
5670
6260
_ACEOF
5671
6261
rm -f conftest.$ac_objext
5672
6262
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5673
 
  (eval $ac_compile) 2>&5
 
6263
  (eval $ac_compile) 2>conftest.er1
5674
6264
  ac_status=$?
 
6265
  grep -v '^ *+' conftest.er1 >conftest.err
 
6266
  rm -f conftest.er1
 
6267
  cat conftest.err >&5
5675
6268
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5676
6269
  (exit $ac_status); } &&
5677
 
         { ac_try='test -s conftest.$ac_objext'
 
6270
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6271
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6272
  (eval $ac_try) 2>&5
 
6273
  ac_status=$?
 
6274
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6275
  (exit $ac_status); }; } &&
 
6276
         { ac_try='test -s conftest.$ac_objext'
5678
6277
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5679
6278
  (eval $ac_try) 2>&5
5680
6279
  ac_status=$?
5683
6282
  ac_lo=0 ac_mid=0
5684
6283
  while :; do
5685
6284
    cat >conftest.$ac_ext <<_ACEOF
5686
 
#line $LINENO "configure"
5687
 
#include "confdefs.h"
 
6285
/* confdefs.h.  */
 
6286
_ACEOF
 
6287
cat confdefs.h >>conftest.$ac_ext
 
6288
cat >>conftest.$ac_ext <<_ACEOF
 
6289
/* end confdefs.h.  */
5688
6290
$ac_includes_default
5689
 
#ifdef F77_DUMMY_MAIN
5690
 
#  ifdef __cplusplus
5691
 
     extern "C"
5692
 
#  endif
5693
 
   int F77_DUMMY_MAIN() { return 1; }
5694
 
#endif
5695
6291
int
5696
6292
main ()
5697
6293
{
5704
6300
_ACEOF
5705
6301
rm -f conftest.$ac_objext
5706
6302
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5707
 
  (eval $ac_compile) 2>&5
 
6303
  (eval $ac_compile) 2>conftest.er1
5708
6304
  ac_status=$?
 
6305
  grep -v '^ *+' conftest.er1 >conftest.err
 
6306
  rm -f conftest.er1
 
6307
  cat conftest.err >&5
5709
6308
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710
6309
  (exit $ac_status); } &&
5711
 
         { ac_try='test -s conftest.$ac_objext'
 
6310
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6311
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6312
  (eval $ac_try) 2>&5
 
6313
  ac_status=$?
 
6314
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6315
  (exit $ac_status); }; } &&
 
6316
         { ac_try='test -s conftest.$ac_objext'
5712
6317
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5713
6318
  (eval $ac_try) 2>&5
5714
6319
  ac_status=$?
5717
6322
  ac_hi=$ac_mid; break
5718
6323
else
5719
6324
  echo "$as_me: failed program was:" >&5
5720
 
cat conftest.$ac_ext >&5
 
6325
sed 's/^/| /' conftest.$ac_ext >&5
 
6326
 
5721
6327
ac_lo=`expr $ac_mid + 1`
5722
 
                    if test $ac_lo -le $ac_mid; then
5723
 
                      ac_lo= ac_hi=
5724
 
                      break
5725
 
                    fi
5726
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
6328
                    if test $ac_lo -le $ac_mid; then
 
6329
                      ac_lo= ac_hi=
 
6330
                      break
 
6331
                    fi
 
6332
                    ac_mid=`expr 2 '*' $ac_mid + 1`
5727
6333
fi
5728
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6334
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5729
6335
  done
5730
6336
else
5731
6337
  echo "$as_me: failed program was:" >&5
5732
 
cat conftest.$ac_ext >&5
 
6338
sed 's/^/| /' conftest.$ac_ext >&5
 
6339
 
5733
6340
cat >conftest.$ac_ext <<_ACEOF
5734
 
#line $LINENO "configure"
5735
 
#include "confdefs.h"
 
6341
/* confdefs.h.  */
 
6342
_ACEOF
 
6343
cat confdefs.h >>conftest.$ac_ext
 
6344
cat >>conftest.$ac_ext <<_ACEOF
 
6345
/* end confdefs.h.  */
5736
6346
$ac_includes_default
5737
 
#ifdef F77_DUMMY_MAIN
5738
 
#  ifdef __cplusplus
5739
 
     extern "C"
5740
 
#  endif
5741
 
   int F77_DUMMY_MAIN() { return 1; }
5742
 
#endif
5743
6347
int
5744
6348
main ()
5745
6349
{
5752
6356
_ACEOF
5753
6357
rm -f conftest.$ac_objext
5754
6358
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5755
 
  (eval $ac_compile) 2>&5
 
6359
  (eval $ac_compile) 2>conftest.er1
5756
6360
  ac_status=$?
 
6361
  grep -v '^ *+' conftest.er1 >conftest.err
 
6362
  rm -f conftest.er1
 
6363
  cat conftest.err >&5
5757
6364
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758
6365
  (exit $ac_status); } &&
5759
 
         { ac_try='test -s conftest.$ac_objext'
 
6366
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6367
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6368
  (eval $ac_try) 2>&5
 
6369
  ac_status=$?
 
6370
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6371
  (exit $ac_status); }; } &&
 
6372
         { ac_try='test -s conftest.$ac_objext'
5760
6373
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5761
6374
  (eval $ac_try) 2>&5
5762
6375
  ac_status=$?
5765
6378
  ac_hi=-1 ac_mid=-1
5766
6379
  while :; do
5767
6380
    cat >conftest.$ac_ext <<_ACEOF
5768
 
#line $LINENO "configure"
5769
 
#include "confdefs.h"
 
6381
/* confdefs.h.  */
 
6382
_ACEOF
 
6383
cat confdefs.h >>conftest.$ac_ext
 
6384
cat >>conftest.$ac_ext <<_ACEOF
 
6385
/* end confdefs.h.  */
5770
6386
$ac_includes_default
5771
 
#ifdef F77_DUMMY_MAIN
5772
 
#  ifdef __cplusplus
5773
 
     extern "C"
5774
 
#  endif
5775
 
   int F77_DUMMY_MAIN() { return 1; }
5776
 
#endif
5777
6387
int
5778
6388
main ()
5779
6389
{
5786
6396
_ACEOF
5787
6397
rm -f conftest.$ac_objext
5788
6398
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5789
 
  (eval $ac_compile) 2>&5
 
6399
  (eval $ac_compile) 2>conftest.er1
5790
6400
  ac_status=$?
 
6401
  grep -v '^ *+' conftest.er1 >conftest.err
 
6402
  rm -f conftest.er1
 
6403
  cat conftest.err >&5
5791
6404
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792
6405
  (exit $ac_status); } &&
5793
 
         { ac_try='test -s conftest.$ac_objext'
 
6406
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6407
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6408
  (eval $ac_try) 2>&5
 
6409
  ac_status=$?
 
6410
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6411
  (exit $ac_status); }; } &&
 
6412
         { ac_try='test -s conftest.$ac_objext'
5794
6413
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5795
6414
  (eval $ac_try) 2>&5
5796
6415
  ac_status=$?
5799
6418
  ac_lo=$ac_mid; break
5800
6419
else
5801
6420
  echo "$as_me: failed program was:" >&5
5802
 
cat conftest.$ac_ext >&5
 
6421
sed 's/^/| /' conftest.$ac_ext >&5
 
6422
 
5803
6423
ac_hi=`expr '(' $ac_mid ')' - 1`
5804
 
                       if test $ac_mid -le $ac_hi; then
5805
 
                         ac_lo= ac_hi=
5806
 
                         break
5807
 
                       fi
5808
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
6424
                       if test $ac_mid -le $ac_hi; then
 
6425
                         ac_lo= ac_hi=
 
6426
                         break
 
6427
                       fi
 
6428
                       ac_mid=`expr 2 '*' $ac_mid`
5809
6429
fi
5810
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6430
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5811
6431
  done
5812
6432
else
5813
6433
  echo "$as_me: failed program was:" >&5
5814
 
cat conftest.$ac_ext >&5
 
6434
sed 's/^/| /' conftest.$ac_ext >&5
 
6435
 
5815
6436
ac_lo= ac_hi=
5816
6437
fi
5817
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6438
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5818
6439
fi
5819
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6440
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5820
6441
# Binary search between lo and hi bounds.
5821
6442
while test "x$ac_lo" != "x$ac_hi"; do
5822
6443
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5823
6444
  cat >conftest.$ac_ext <<_ACEOF
5824
 
#line $LINENO "configure"
5825
 
#include "confdefs.h"
 
6445
/* confdefs.h.  */
 
6446
_ACEOF
 
6447
cat confdefs.h >>conftest.$ac_ext
 
6448
cat >>conftest.$ac_ext <<_ACEOF
 
6449
/* end confdefs.h.  */
5826
6450
$ac_includes_default
5827
 
#ifdef F77_DUMMY_MAIN
5828
 
#  ifdef __cplusplus
5829
 
     extern "C"
5830
 
#  endif
5831
 
   int F77_DUMMY_MAIN() { return 1; }
5832
 
#endif
5833
6451
int
5834
6452
main ()
5835
6453
{
5842
6460
_ACEOF
5843
6461
rm -f conftest.$ac_objext
5844
6462
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5845
 
  (eval $ac_compile) 2>&5
 
6463
  (eval $ac_compile) 2>conftest.er1
5846
6464
  ac_status=$?
 
6465
  grep -v '^ *+' conftest.er1 >conftest.err
 
6466
  rm -f conftest.er1
 
6467
  cat conftest.err >&5
5847
6468
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848
6469
  (exit $ac_status); } &&
5849
 
         { ac_try='test -s conftest.$ac_objext'
 
6470
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6471
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6472
  (eval $ac_try) 2>&5
 
6473
  ac_status=$?
 
6474
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6475
  (exit $ac_status); }; } &&
 
6476
         { ac_try='test -s conftest.$ac_objext'
5850
6477
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5851
6478
  (eval $ac_try) 2>&5
5852
6479
  ac_status=$?
5855
6482
  ac_hi=$ac_mid
5856
6483
else
5857
6484
  echo "$as_me: failed program was:" >&5
5858
 
cat conftest.$ac_ext >&5
 
6485
sed 's/^/| /' conftest.$ac_ext >&5
 
6486
 
5859
6487
ac_lo=`expr '(' $ac_mid ')' + 1`
5860
6488
fi
5861
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6489
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5862
6490
done
5863
6491
case $ac_lo in
5864
6492
?*) ac_cv_sizeof_long=$ac_lo;;
5865
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
5866
 
echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
 
6493
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
6494
See \`config.log' for more details." >&5
 
6495
echo "$as_me: error: cannot compute sizeof (long), 77
 
6496
See \`config.log' for more details." >&2;}
5867
6497
   { (exit 1); exit 1; }; } ;;
5868
6498
esac
5869
6499
else
5870
6500
  if test "$cross_compiling" = yes; then
5871
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
5872
 
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
 
6501
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 
6502
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
5873
6503
   { (exit 1); exit 1; }; }
5874
6504
else
5875
6505
  cat >conftest.$ac_ext <<_ACEOF
5876
 
#line $LINENO "configure"
5877
 
#include "confdefs.h"
 
6506
/* confdefs.h.  */
 
6507
_ACEOF
 
6508
cat confdefs.h >>conftest.$ac_ext
 
6509
cat >>conftest.$ac_ext <<_ACEOF
 
6510
/* end confdefs.h.  */
5878
6511
$ac_includes_default
5879
6512
long longval () { return (long) (sizeof (long)); }
5880
6513
unsigned long ulongval () { return (long) (sizeof (long)); }
5881
6514
#include <stdio.h>
5882
6515
#include <stdlib.h>
5883
 
#ifdef F77_DUMMY_MAIN
5884
 
#  ifdef __cplusplus
5885
 
     extern "C"
5886
 
#  endif
5887
 
   int F77_DUMMY_MAIN() { return 1; }
5888
 
#endif
5889
6516
int
5890
6517
main ()
5891
6518
{
5928
6555
else
5929
6556
  echo "$as_me: program exited with status $ac_status" >&5
5930
6557
echo "$as_me: failed program was:" >&5
5931
 
cat conftest.$ac_ext >&5
 
6558
sed 's/^/| /' conftest.$ac_ext >&5
 
6559
 
5932
6560
( exit $ac_status )
5933
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
5934
 
echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
 
6561
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
6562
See \`config.log' for more details." >&5
 
6563
echo "$as_me: error: cannot compute sizeof (long), 77
 
6564
See \`config.log' for more details." >&2;}
5935
6565
   { (exit 1); exit 1; }; }
5936
6566
fi
5937
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6567
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5938
6568
fi
5939
6569
fi
5940
6570
rm -f conftest.val
5957
6587
  echo $ECHO_N "(cached) $ECHO_C" >&6
5958
6588
else
5959
6589
  cat >conftest.$ac_ext <<_ACEOF
5960
 
#line $LINENO "configure"
5961
 
#include "confdefs.h"
 
6590
/* confdefs.h.  */
 
6591
_ACEOF
 
6592
cat confdefs.h >>conftest.$ac_ext
 
6593
cat >>conftest.$ac_ext <<_ACEOF
 
6594
/* end confdefs.h.  */
5962
6595
#include <stdarg.h>
5963
 
#ifdef F77_DUMMY_MAIN
5964
 
#  ifdef __cplusplus
5965
 
     extern "C"
5966
 
#  endif
5967
 
   int F77_DUMMY_MAIN() { return 1; }
5968
 
#endif
5969
6596
int
5970
6597
main ()
5971
6598
{
5984
6611
_ACEOF
5985
6612
rm -f conftest.$ac_objext
5986
6613
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5987
 
  (eval $ac_compile) 2>&5
 
6614
  (eval $ac_compile) 2>conftest.er1
5988
6615
  ac_status=$?
 
6616
  grep -v '^ *+' conftest.er1 >conftest.err
 
6617
  rm -f conftest.er1
 
6618
  cat conftest.err >&5
5989
6619
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990
6620
  (exit $ac_status); } &&
5991
 
         { ac_try='test -s conftest.$ac_objext'
 
6621
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6622
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6623
  (eval $ac_try) 2>&5
 
6624
  ac_status=$?
 
6625
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6626
  (exit $ac_status); }; } &&
 
6627
         { ac_try='test -s conftest.$ac_objext'
5992
6628
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5993
6629
  (eval $ac_try) 2>&5
5994
6630
  ac_status=$?
5997
6633
  ac_cv_header_stdarg_h=yes
5998
6634
else
5999
6635
  echo "$as_me: failed program was:" >&5
6000
 
cat conftest.$ac_ext >&5
 
6636
sed 's/^/| /' conftest.$ac_ext >&5
 
6637
 
6001
6638
ac_cv_header_stdarg_h=no
6002
6639
fi
6003
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6640
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6004
6641
fi
6005
6642
echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5
6006
6643
echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6
6018
6655
  echo $ECHO_N "(cached) $ECHO_C" >&6
6019
6656
else
6020
6657
  cat >conftest.$ac_ext <<_ACEOF
6021
 
#line $LINENO "configure"
6022
 
#include "confdefs.h"
 
6658
/* confdefs.h.  */
 
6659
_ACEOF
 
6660
cat confdefs.h >>conftest.$ac_ext
 
6661
cat >>conftest.$ac_ext <<_ACEOF
 
6662
/* end confdefs.h.  */
6023
6663
#include <varargs.h>
6024
 
#ifdef F77_DUMMY_MAIN
6025
 
#  ifdef __cplusplus
6026
 
     extern "C"
6027
 
#  endif
6028
 
   int F77_DUMMY_MAIN() { return 1; }
6029
 
#endif
6030
6664
int
6031
6665
main ()
6032
6666
{
6045
6679
_ACEOF
6046
6680
rm -f conftest.$ac_objext
6047
6681
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6048
 
  (eval $ac_compile) 2>&5
 
6682
  (eval $ac_compile) 2>conftest.er1
6049
6683
  ac_status=$?
 
6684
  grep -v '^ *+' conftest.er1 >conftest.err
 
6685
  rm -f conftest.er1
 
6686
  cat conftest.err >&5
6050
6687
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051
6688
  (exit $ac_status); } &&
6052
 
         { ac_try='test -s conftest.$ac_objext'
 
6689
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6690
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6691
  (eval $ac_try) 2>&5
 
6692
  ac_status=$?
 
6693
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6694
  (exit $ac_status); }; } &&
 
6695
         { ac_try='test -s conftest.$ac_objext'
6053
6696
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6054
6697
  (eval $ac_try) 2>&5
6055
6698
  ac_status=$?
6058
6701
  ac_cv_header_varargs_h=yes
6059
6702
else
6060
6703
  echo "$as_me: failed program was:" >&5
6061
 
cat conftest.$ac_ext >&5
 
6704
sed 's/^/| /' conftest.$ac_ext >&5
 
6705
 
6062
6706
ac_cv_header_varargs_h=no
6063
6707
fi
6064
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6708
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6065
6709
fi
6066
6710
echo "$as_me:$LINENO: result: $ac_cv_header_varargs_h" >&5
6067
6711
echo "${ECHO_T}$ac_cv_header_varargs_h" >&6
6092
6736
echo "$as_me:$LINENO: checking termios.h usability" >&5
6093
6737
echo $ECHO_N "checking termios.h usability... $ECHO_C" >&6
6094
6738
cat >conftest.$ac_ext <<_ACEOF
6095
 
#line $LINENO "configure"
6096
 
#include "confdefs.h"
 
6739
/* confdefs.h.  */
 
6740
_ACEOF
 
6741
cat confdefs.h >>conftest.$ac_ext
 
6742
cat >>conftest.$ac_ext <<_ACEOF
 
6743
/* end confdefs.h.  */
6097
6744
$ac_includes_default
6098
6745
#include <termios.h>
6099
6746
_ACEOF
6100
6747
rm -f conftest.$ac_objext
6101
6748
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6102
 
  (eval $ac_compile) 2>&5
 
6749
  (eval $ac_compile) 2>conftest.er1
6103
6750
  ac_status=$?
 
6751
  grep -v '^ *+' conftest.er1 >conftest.err
 
6752
  rm -f conftest.er1
 
6753
  cat conftest.err >&5
6104
6754
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105
6755
  (exit $ac_status); } &&
6106
 
         { ac_try='test -s conftest.$ac_objext'
 
6756
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6757
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6758
  (eval $ac_try) 2>&5
 
6759
  ac_status=$?
 
6760
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6761
  (exit $ac_status); }; } &&
 
6762
         { ac_try='test -s conftest.$ac_objext'
6107
6763
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6108
6764
  (eval $ac_try) 2>&5
6109
6765
  ac_status=$?
6112
6768
  ac_header_compiler=yes
6113
6769
else
6114
6770
  echo "$as_me: failed program was:" >&5
6115
 
cat conftest.$ac_ext >&5
 
6771
sed 's/^/| /' conftest.$ac_ext >&5
 
6772
 
6116
6773
ac_header_compiler=no
6117
6774
fi
6118
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6775
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6119
6776
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6120
6777
echo "${ECHO_T}$ac_header_compiler" >&6
6121
6778
 
6123
6780
echo "$as_me:$LINENO: checking termios.h presence" >&5
6124
6781
echo $ECHO_N "checking termios.h presence... $ECHO_C" >&6
6125
6782
cat >conftest.$ac_ext <<_ACEOF
6126
 
#line $LINENO "configure"
6127
 
#include "confdefs.h"
 
6783
/* confdefs.h.  */
 
6784
_ACEOF
 
6785
cat confdefs.h >>conftest.$ac_ext
 
6786
cat >>conftest.$ac_ext <<_ACEOF
 
6787
/* end confdefs.h.  */
6128
6788
#include <termios.h>
6129
6789
_ACEOF
6130
6790
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6131
6791
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6132
6792
  ac_status=$?
6133
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
6793
  grep -v '^ *+' conftest.er1 >conftest.err
6134
6794
  rm -f conftest.er1
6135
6795
  cat conftest.err >&5
6136
6796
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6137
6797
  (exit $ac_status); } >/dev/null; then
6138
6798
  if test -s conftest.err; then
6139
6799
    ac_cpp_err=$ac_c_preproc_warn_flag
 
6800
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6140
6801
  else
6141
6802
    ac_cpp_err=
6142
6803
  fi
6147
6808
  ac_header_preproc=yes
6148
6809
else
6149
6810
  echo "$as_me: failed program was:" >&5
6150
 
  cat conftest.$ac_ext >&5
 
6811
sed 's/^/| /' conftest.$ac_ext >&5
 
6812
 
6151
6813
  ac_header_preproc=no
6152
6814
fi
6153
6815
rm -f conftest.err conftest.$ac_ext
6155
6817
echo "${ECHO_T}$ac_header_preproc" >&6
6156
6818
 
6157
6819
# So?  What about this header?
6158
 
case $ac_header_compiler:$ac_header_preproc in
6159
 
  yes:no )
 
6820
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
6821
  yes:no: )
6160
6822
    { echo "$as_me:$LINENO: WARNING: termios.h: accepted by the compiler, rejected by the preprocessor!" >&5
6161
6823
echo "$as_me: WARNING: termios.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6162
 
    { echo "$as_me:$LINENO: WARNING: termios.h: proceeding with the preprocessor's result" >&5
6163
 
echo "$as_me: WARNING: termios.h: proceeding with the preprocessor's result" >&2;};;
6164
 
  no:yes )
 
6824
    { echo "$as_me:$LINENO: WARNING: termios.h: proceeding with the compiler's result" >&5
 
6825
echo "$as_me: WARNING: termios.h: proceeding with the compiler's result" >&2;}
 
6826
    ac_header_preproc=yes
 
6827
    ;;
 
6828
  no:yes:* )
6165
6829
    { echo "$as_me:$LINENO: WARNING: termios.h: present but cannot be compiled" >&5
6166
6830
echo "$as_me: WARNING: termios.h: present but cannot be compiled" >&2;}
6167
 
    { echo "$as_me:$LINENO: WARNING: termios.h: check for missing prerequisite headers?" >&5
6168
 
echo "$as_me: WARNING: termios.h: check for missing prerequisite headers?" >&2;}
 
6831
    { echo "$as_me:$LINENO: WARNING: termios.h:     check for missing prerequisite headers?" >&5
 
6832
echo "$as_me: WARNING: termios.h:     check for missing prerequisite headers?" >&2;}
 
6833
    { echo "$as_me:$LINENO: WARNING: termios.h: see the Autoconf documentation" >&5
 
6834
echo "$as_me: WARNING: termios.h: see the Autoconf documentation" >&2;}
 
6835
    { echo "$as_me:$LINENO: WARNING: termios.h:     section \"Present But Cannot Be Compiled\"" >&5
 
6836
echo "$as_me: WARNING: termios.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6169
6837
    { echo "$as_me:$LINENO: WARNING: termios.h: proceeding with the preprocessor's result" >&5
6170
 
echo "$as_me: WARNING: termios.h: proceeding with the preprocessor's result" >&2;};;
 
6838
echo "$as_me: WARNING: termios.h: proceeding with the preprocessor's result" >&2;}
 
6839
    { echo "$as_me:$LINENO: WARNING: termios.h: in the future, the compiler will take precedence" >&5
 
6840
echo "$as_me: WARNING: termios.h: in the future, the compiler will take precedence" >&2;}
 
6841
    (
 
6842
      cat <<\_ASBOX
 
6843
## ------------------------------------------ ##
 
6844
## Report this to the AC_PACKAGE_NAME lists.  ##
 
6845
## ------------------------------------------ ##
 
6846
_ASBOX
 
6847
    ) |
 
6848
      sed "s/^/$as_me: WARNING:     /" >&2
 
6849
    ;;
6171
6850
esac
6172
6851
echo "$as_me:$LINENO: checking for termios.h" >&5
6173
6852
echo $ECHO_N "checking for termios.h... $ECHO_C" >&6
6187
6866
  echo $ECHO_N "(cached) $ECHO_C" >&6
6188
6867
else
6189
6868
  cat >conftest.$ac_ext <<_ACEOF
6190
 
#line $LINENO "configure"
6191
 
#include "confdefs.h"
 
6869
/* confdefs.h.  */
 
6870
_ACEOF
 
6871
cat confdefs.h >>conftest.$ac_ext
 
6872
cat >>conftest.$ac_ext <<_ACEOF
 
6873
/* end confdefs.h.  */
 
6874
/* Define cfsetispeed to an innocuous variant, in case <limits.h> declares cfsetispeed.
 
6875
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
6876
#define cfsetispeed innocuous_cfsetispeed
 
6877
 
6192
6878
/* System header to define __stub macros and hopefully few prototypes,
6193
 
    which can conflict with char cfsetispeed (); below.  */
6194
 
#include <assert.h>
 
6879
    which can conflict with char cfsetispeed (); below.
 
6880
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6881
    <limits.h> exists even on freestanding compilers.  */
 
6882
 
 
6883
#ifdef __STDC__
 
6884
# include <limits.h>
 
6885
#else
 
6886
# include <assert.h>
 
6887
#endif
 
6888
 
 
6889
#undef cfsetispeed
 
6890
 
6195
6891
/* Override any gcc2 internal prototype to avoid an error.  */
6196
6892
#ifdef __cplusplus
6197
6893
extern "C"
 
6894
{
6198
6895
#endif
6199
6896
/* We use char because int might match the return type of a gcc2
6200
6897
   builtin and then its argument prototype would still apply.  */
6201
6898
char cfsetispeed ();
6202
 
char (*f) ();
6203
 
 
6204
 
#ifdef F77_DUMMY_MAIN
6205
 
#  ifdef __cplusplus
6206
 
     extern "C"
6207
 
#  endif
6208
 
   int F77_DUMMY_MAIN() { return 1; }
6209
 
#endif
6210
 
int
6211
 
main ()
6212
 
{
6213
6899
/* The GNU C library defines this for functions which it implements
6214
6900
    to always fail with ENOSYS.  Some functions are actually named
6215
6901
    something starting with __ and the normal name is an alias.  */
6216
6902
#if defined (__stub_cfsetispeed) || defined (__stub___cfsetispeed)
6217
6903
choke me
6218
6904
#else
6219
 
f = cfsetispeed;
 
6905
char (*f) () = cfsetispeed;
 
6906
#endif
 
6907
#ifdef __cplusplus
 
6908
}
6220
6909
#endif
6221
6910
 
 
6911
int
 
6912
main ()
 
6913
{
 
6914
return f != cfsetispeed;
6222
6915
  ;
6223
6916
  return 0;
6224
6917
}
6225
6918
_ACEOF
6226
6919
rm -f conftest.$ac_objext conftest$ac_exeext
6227
6920
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6228
 
  (eval $ac_link) 2>&5
 
6921
  (eval $ac_link) 2>conftest.er1
6229
6922
  ac_status=$?
 
6923
  grep -v '^ *+' conftest.er1 >conftest.err
 
6924
  rm -f conftest.er1
 
6925
  cat conftest.err >&5
6230
6926
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6231
6927
  (exit $ac_status); } &&
6232
 
         { ac_try='test -s conftest$ac_exeext'
 
6928
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6929
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6930
  (eval $ac_try) 2>&5
 
6931
  ac_status=$?
 
6932
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6933
  (exit $ac_status); }; } &&
 
6934
         { ac_try='test -s conftest$ac_exeext'
6233
6935
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6234
6936
  (eval $ac_try) 2>&5
6235
6937
  ac_status=$?
6238
6940
  ac_cv_func_cfsetispeed=yes
6239
6941
else
6240
6942
  echo "$as_me: failed program was:" >&5
6241
 
cat conftest.$ac_ext >&5
 
6943
sed 's/^/| /' conftest.$ac_ext >&5
 
6944
 
6242
6945
ac_cv_func_cfsetispeed=no
6243
6946
fi
6244
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
6947
rm -f conftest.err conftest.$ac_objext \
 
6948
      conftest$ac_exeext conftest.$ac_ext
6245
6949
fi
6246
6950
echo "$as_me:$LINENO: result: $ac_cv_func_cfsetispeed" >&5
6247
6951
echo "${ECHO_T}$ac_cv_func_cfsetispeed" >&6
6277
6981
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6278
6982
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6279
6983
cat >conftest.$ac_ext <<_ACEOF
6280
 
#line $LINENO "configure"
6281
 
#include "confdefs.h"
 
6984
/* confdefs.h.  */
 
6985
_ACEOF
 
6986
cat confdefs.h >>conftest.$ac_ext
 
6987
cat >>conftest.$ac_ext <<_ACEOF
 
6988
/* end confdefs.h.  */
6282
6989
$ac_includes_default
6283
6990
#include <$ac_header>
6284
6991
_ACEOF
6285
6992
rm -f conftest.$ac_objext
6286
6993
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6287
 
  (eval $ac_compile) 2>&5
 
6994
  (eval $ac_compile) 2>conftest.er1
6288
6995
  ac_status=$?
 
6996
  grep -v '^ *+' conftest.er1 >conftest.err
 
6997
  rm -f conftest.er1
 
6998
  cat conftest.err >&5
6289
6999
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290
7000
  (exit $ac_status); } &&
6291
 
         { ac_try='test -s conftest.$ac_objext'
 
7001
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7002
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7003
  (eval $ac_try) 2>&5
 
7004
  ac_status=$?
 
7005
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7006
  (exit $ac_status); }; } &&
 
7007
         { ac_try='test -s conftest.$ac_objext'
6292
7008
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6293
7009
  (eval $ac_try) 2>&5
6294
7010
  ac_status=$?
6297
7013
  ac_header_compiler=yes
6298
7014
else
6299
7015
  echo "$as_me: failed program was:" >&5
6300
 
cat conftest.$ac_ext >&5
 
7016
sed 's/^/| /' conftest.$ac_ext >&5
 
7017
 
6301
7018
ac_header_compiler=no
6302
7019
fi
6303
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7020
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6304
7021
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6305
7022
echo "${ECHO_T}$ac_header_compiler" >&6
6306
7023
 
6308
7025
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6309
7026
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6310
7027
cat >conftest.$ac_ext <<_ACEOF
6311
 
#line $LINENO "configure"
6312
 
#include "confdefs.h"
 
7028
/* confdefs.h.  */
 
7029
_ACEOF
 
7030
cat confdefs.h >>conftest.$ac_ext
 
7031
cat >>conftest.$ac_ext <<_ACEOF
 
7032
/* end confdefs.h.  */
6313
7033
#include <$ac_header>
6314
7034
_ACEOF
6315
7035
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6316
7036
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6317
7037
  ac_status=$?
6318
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
7038
  grep -v '^ *+' conftest.er1 >conftest.err
6319
7039
  rm -f conftest.er1
6320
7040
  cat conftest.err >&5
6321
7041
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322
7042
  (exit $ac_status); } >/dev/null; then
6323
7043
  if test -s conftest.err; then
6324
7044
    ac_cpp_err=$ac_c_preproc_warn_flag
 
7045
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6325
7046
  else
6326
7047
    ac_cpp_err=
6327
7048
  fi
6332
7053
  ac_header_preproc=yes
6333
7054
else
6334
7055
  echo "$as_me: failed program was:" >&5
6335
 
  cat conftest.$ac_ext >&5
 
7056
sed 's/^/| /' conftest.$ac_ext >&5
 
7057
 
6336
7058
  ac_header_preproc=no
6337
7059
fi
6338
7060
rm -f conftest.err conftest.$ac_ext
6340
7062
echo "${ECHO_T}$ac_header_preproc" >&6
6341
7063
 
6342
7064
# So?  What about this header?
6343
 
case $ac_header_compiler:$ac_header_preproc in
6344
 
  yes:no )
 
7065
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
7066
  yes:no: )
6345
7067
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6346
7068
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6347
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6348
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6349
 
  no:yes )
 
7069
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
7070
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
7071
    ac_header_preproc=yes
 
7072
    ;;
 
7073
  no:yes:* )
6350
7074
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6351
7075
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6352
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6353
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
7076
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
7077
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
7078
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
7079
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
7080
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
7081
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6354
7082
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6355
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
7083
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
7084
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
7085
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
7086
    (
 
7087
      cat <<\_ASBOX
 
7088
## ------------------------------------------ ##
 
7089
## Report this to the AC_PACKAGE_NAME lists.  ##
 
7090
## ------------------------------------------ ##
 
7091
_ASBOX
 
7092
    ) |
 
7093
      sed "s/^/$as_me: WARNING:     /" >&2
 
7094
    ;;
6356
7095
esac
6357
7096
echo "$as_me:$LINENO: checking for $ac_header" >&5
6358
7097
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6359
7098
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6360
7099
  echo $ECHO_N "(cached) $ECHO_C" >&6
6361
7100
else
6362
 
  eval "$as_ac_Header=$ac_header_preproc"
 
7101
  eval "$as_ac_Header=\$ac_header_preproc"
6363
7102
fi
6364
7103
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6365
7104
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6381
7120
  echo $ECHO_N "(cached) $ECHO_C" >&6
6382
7121
else
6383
7122
  cat >conftest.$ac_ext <<_ACEOF
6384
 
#line $LINENO "configure"
6385
 
#include "confdefs.h"
 
7123
/* confdefs.h.  */
 
7124
_ACEOF
 
7125
cat confdefs.h >>conftest.$ac_ext
 
7126
cat >>conftest.$ac_ext <<_ACEOF
 
7127
/* end confdefs.h.  */
6386
7128
#include <sys/types.h>
6387
7129
#include <utmp.h>
6388
 
#ifdef F77_DUMMY_MAIN
6389
 
#  ifdef __cplusplus
6390
 
     extern "C"
6391
 
#  endif
6392
 
   int F77_DUMMY_MAIN() { return 1; }
6393
 
#endif
6394
7130
int
6395
7131
main ()
6396
7132
{
6401
7137
_ACEOF
6402
7138
rm -f conftest.$ac_objext
6403
7139
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6404
 
  (eval $ac_compile) 2>&5
 
7140
  (eval $ac_compile) 2>conftest.er1
6405
7141
  ac_status=$?
 
7142
  grep -v '^ *+' conftest.er1 >conftest.err
 
7143
  rm -f conftest.er1
 
7144
  cat conftest.err >&5
6406
7145
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407
7146
  (exit $ac_status); } &&
6408
 
         { ac_try='test -s conftest.$ac_objext'
 
7147
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7148
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7149
  (eval $ac_try) 2>&5
 
7150
  ac_status=$?
 
7151
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7152
  (exit $ac_status); }; } &&
 
7153
         { ac_try='test -s conftest.$ac_objext'
6409
7154
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6410
7155
  (eval $ac_try) 2>&5
6411
7156
  ac_status=$?
6414
7159
  krb5_cv_struct_ut_pid=yes
6415
7160
else
6416
7161
  echo "$as_me: failed program was:" >&5
6417
 
cat conftest.$ac_ext >&5
 
7162
sed 's/^/| /' conftest.$ac_ext >&5
 
7163
 
6418
7164
krb5_cv_struct_ut_pid=no
6419
7165
fi
6420
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7166
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6421
7167
fi
6422
7168
 
6423
7169
echo "$as_me:$LINENO: result: $krb5_cv_struct_ut_pid" >&5
6434
7180
  echo $ECHO_N "(cached) $ECHO_C" >&6
6435
7181
else
6436
7182
  cat >conftest.$ac_ext <<_ACEOF
6437
 
#line $LINENO "configure"
6438
 
#include "confdefs.h"
 
7183
/* confdefs.h.  */
 
7184
_ACEOF
 
7185
cat confdefs.h >>conftest.$ac_ext
 
7186
cat >>conftest.$ac_ext <<_ACEOF
 
7187
/* end confdefs.h.  */
6439
7188
#include <sys/types.h>
6440
7189
#include <utmp.h>
6441
 
#ifdef F77_DUMMY_MAIN
6442
 
#  ifdef __cplusplus
6443
 
     extern "C"
6444
 
#  endif
6445
 
   int F77_DUMMY_MAIN() { return 1; }
6446
 
#endif
6447
7190
int
6448
7191
main ()
6449
7192
{
6454
7197
_ACEOF
6455
7198
rm -f conftest.$ac_objext
6456
7199
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6457
 
  (eval $ac_compile) 2>&5
 
7200
  (eval $ac_compile) 2>conftest.er1
6458
7201
  ac_status=$?
 
7202
  grep -v '^ *+' conftest.er1 >conftest.err
 
7203
  rm -f conftest.er1
 
7204
  cat conftest.err >&5
6459
7205
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460
7206
  (exit $ac_status); } &&
6461
 
         { ac_try='test -s conftest.$ac_objext'
 
7207
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7208
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7209
  (eval $ac_try) 2>&5
 
7210
  ac_status=$?
 
7211
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7212
  (exit $ac_status); }; } &&
 
7213
         { ac_try='test -s conftest.$ac_objext'
6462
7214
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6463
7215
  (eval $ac_try) 2>&5
6464
7216
  ac_status=$?
6467
7219
  krb5_cv_struct_ut_type=yes
6468
7220
else
6469
7221
  echo "$as_me: failed program was:" >&5
6470
 
cat conftest.$ac_ext >&5
 
7222
sed 's/^/| /' conftest.$ac_ext >&5
 
7223
 
6471
7224
krb5_cv_struct_ut_type=no
6472
7225
fi
6473
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7226
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6474
7227
fi
6475
7228
 
6476
7229
echo "$as_me:$LINENO: result: $krb5_cv_struct_ut_type" >&5
6487
7240
  echo $ECHO_N "(cached) $ECHO_C" >&6
6488
7241
else
6489
7242
  cat >conftest.$ac_ext <<_ACEOF
6490
 
#line $LINENO "configure"
6491
 
#include "confdefs.h"
 
7243
/* confdefs.h.  */
 
7244
_ACEOF
 
7245
cat confdefs.h >>conftest.$ac_ext
 
7246
cat >>conftest.$ac_ext <<_ACEOF
 
7247
/* end confdefs.h.  */
6492
7248
#include <sys/types.h>
6493
7249
#include <utmp.h>
6494
 
#ifdef F77_DUMMY_MAIN
6495
 
#  ifdef __cplusplus
6496
 
     extern "C"
6497
 
#  endif
6498
 
   int F77_DUMMY_MAIN() { return 1; }
6499
 
#endif
6500
7250
int
6501
7251
main ()
6502
7252
{
6507
7257
_ACEOF
6508
7258
rm -f conftest.$ac_objext
6509
7259
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6510
 
  (eval $ac_compile) 2>&5
 
7260
  (eval $ac_compile) 2>conftest.er1
6511
7261
  ac_status=$?
 
7262
  grep -v '^ *+' conftest.er1 >conftest.err
 
7263
  rm -f conftest.er1
 
7264
  cat conftest.err >&5
6512
7265
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513
7266
  (exit $ac_status); } &&
6514
 
         { ac_try='test -s conftest.$ac_objext'
 
7267
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7268
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7269
  (eval $ac_try) 2>&5
 
7270
  ac_status=$?
 
7271
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7272
  (exit $ac_status); }; } &&
 
7273
         { ac_try='test -s conftest.$ac_objext'
6515
7274
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6516
7275
  (eval $ac_try) 2>&5
6517
7276
  ac_status=$?
6520
7279
  krb5_cv_struct_ut_host=yes
6521
7280
else
6522
7281
  echo "$as_me: failed program was:" >&5
6523
 
cat conftest.$ac_ext >&5
 
7282
sed 's/^/| /' conftest.$ac_ext >&5
 
7283
 
6524
7284
krb5_cv_struct_ut_host=no
6525
7285
fi
6526
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7286
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6527
7287
fi
6528
7288
 
6529
7289
echo "$as_me:$LINENO: result: $krb5_cv_struct_ut_host" >&5
6540
7300
  echo $ECHO_N "(cached) $ECHO_C" >&6
6541
7301
else
6542
7302
  cat >conftest.$ac_ext <<_ACEOF
6543
 
#line $LINENO "configure"
6544
 
#include "confdefs.h"
 
7303
/* confdefs.h.  */
 
7304
_ACEOF
 
7305
cat confdefs.h >>conftest.$ac_ext
 
7306
cat >>conftest.$ac_ext <<_ACEOF
 
7307
/* end confdefs.h.  */
6545
7308
#include <sys/types.h>
6546
7309
#include <utmp.h>
6547
 
#ifdef F77_DUMMY_MAIN
6548
 
#  ifdef __cplusplus
6549
 
     extern "C"
6550
 
#  endif
6551
 
   int F77_DUMMY_MAIN() { return 1; }
6552
 
#endif
6553
7310
int
6554
7311
main ()
6555
7312
{
6560
7317
_ACEOF
6561
7318
rm -f conftest.$ac_objext
6562
7319
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6563
 
  (eval $ac_compile) 2>&5
 
7320
  (eval $ac_compile) 2>conftest.er1
6564
7321
  ac_status=$?
 
7322
  grep -v '^ *+' conftest.er1 >conftest.err
 
7323
  rm -f conftest.er1
 
7324
  cat conftest.err >&5
6565
7325
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566
7326
  (exit $ac_status); } &&
6567
 
         { ac_try='test -s conftest.$ac_objext'
 
7327
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7328
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7329
  (eval $ac_try) 2>&5
 
7330
  ac_status=$?
 
7331
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7332
  (exit $ac_status); }; } &&
 
7333
         { ac_try='test -s conftest.$ac_objext'
6568
7334
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6569
7335
  (eval $ac_try) 2>&5
6570
7336
  ac_status=$?
6573
7339
  krb5_cv_struct_ut_exit=yes
6574
7340
else
6575
7341
  echo "$as_me: failed program was:" >&5
6576
 
cat conftest.$ac_ext >&5
 
7342
sed 's/^/| /' conftest.$ac_ext >&5
 
7343
 
6577
7344
krb5_cv_struct_ut_exit=no
6578
7345
fi
6579
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7346
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6580
7347
fi
6581
7348
 
6582
7349
echo "$as_me:$LINENO: result: $krb5_cv_struct_ut_exit" >&5
6593
7360
  echo $ECHO_N "(cached) $ECHO_C" >&6
6594
7361
else
6595
7362
  cat >conftest.$ac_ext <<_ACEOF
6596
 
#line $LINENO "configure"
6597
 
#include "confdefs.h"
 
7363
/* confdefs.h.  */
 
7364
_ACEOF
 
7365
cat confdefs.h >>conftest.$ac_ext
 
7366
cat >>conftest.$ac_ext <<_ACEOF
 
7367
/* end confdefs.h.  */
 
7368
/* Define setutent to an innocuous variant, in case <limits.h> declares setutent.
 
7369
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
7370
#define setutent innocuous_setutent
 
7371
 
6598
7372
/* System header to define __stub macros and hopefully few prototypes,
6599
 
    which can conflict with char setutent (); below.  */
6600
 
#include <assert.h>
 
7373
    which can conflict with char setutent (); below.
 
7374
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7375
    <limits.h> exists even on freestanding compilers.  */
 
7376
 
 
7377
#ifdef __STDC__
 
7378
# include <limits.h>
 
7379
#else
 
7380
# include <assert.h>
 
7381
#endif
 
7382
 
 
7383
#undef setutent
 
7384
 
6601
7385
/* Override any gcc2 internal prototype to avoid an error.  */
6602
7386
#ifdef __cplusplus
6603
7387
extern "C"
 
7388
{
6604
7389
#endif
6605
7390
/* We use char because int might match the return type of a gcc2
6606
7391
   builtin and then its argument prototype would still apply.  */
6607
7392
char setutent ();
6608
 
char (*f) ();
6609
 
 
6610
 
#ifdef F77_DUMMY_MAIN
6611
 
#  ifdef __cplusplus
6612
 
     extern "C"
6613
 
#  endif
6614
 
   int F77_DUMMY_MAIN() { return 1; }
6615
 
#endif
6616
 
int
6617
 
main ()
6618
 
{
6619
7393
/* The GNU C library defines this for functions which it implements
6620
7394
    to always fail with ENOSYS.  Some functions are actually named
6621
7395
    something starting with __ and the normal name is an alias.  */
6622
7396
#if defined (__stub_setutent) || defined (__stub___setutent)
6623
7397
choke me
6624
7398
#else
6625
 
f = setutent;
 
7399
char (*f) () = setutent;
 
7400
#endif
 
7401
#ifdef __cplusplus
 
7402
}
6626
7403
#endif
6627
7404
 
 
7405
int
 
7406
main ()
 
7407
{
 
7408
return f != setutent;
6628
7409
  ;
6629
7410
  return 0;
6630
7411
}
6631
7412
_ACEOF
6632
7413
rm -f conftest.$ac_objext conftest$ac_exeext
6633
7414
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6634
 
  (eval $ac_link) 2>&5
 
7415
  (eval $ac_link) 2>conftest.er1
6635
7416
  ac_status=$?
 
7417
  grep -v '^ *+' conftest.er1 >conftest.err
 
7418
  rm -f conftest.er1
 
7419
  cat conftest.err >&5
6636
7420
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637
7421
  (exit $ac_status); } &&
6638
 
         { ac_try='test -s conftest$ac_exeext'
 
7422
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7423
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7424
  (eval $ac_try) 2>&5
 
7425
  ac_status=$?
 
7426
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7427
  (exit $ac_status); }; } &&
 
7428
         { ac_try='test -s conftest$ac_exeext'
6639
7429
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6640
7430
  (eval $ac_try) 2>&5
6641
7431
  ac_status=$?
6644
7434
  ac_cv_func_setutent=yes
6645
7435
else
6646
7436
  echo "$as_me: failed program was:" >&5
6647
 
cat conftest.$ac_ext >&5
 
7437
sed 's/^/| /' conftest.$ac_ext >&5
 
7438
 
6648
7439
ac_cv_func_setutent=no
6649
7440
fi
6650
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7441
rm -f conftest.err conftest.$ac_objext \
 
7442
      conftest$ac_exeext conftest.$ac_ext
6651
7443
fi
6652
7444
echo "$as_me:$LINENO: result: $ac_cv_func_setutent" >&5
6653
7445
echo "${ECHO_T}$ac_cv_func_setutent" >&6
6664
7456
  echo $ECHO_N "(cached) $ECHO_C" >&6
6665
7457
else
6666
7458
  cat >conftest.$ac_ext <<_ACEOF
6667
 
#line $LINENO "configure"
6668
 
#include "confdefs.h"
 
7459
/* confdefs.h.  */
 
7460
_ACEOF
 
7461
cat confdefs.h >>conftest.$ac_ext
 
7462
cat >>conftest.$ac_ext <<_ACEOF
 
7463
/* end confdefs.h.  */
 
7464
/* Define setutxent to an innocuous variant, in case <limits.h> declares setutxent.
 
7465
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
7466
#define setutxent innocuous_setutxent
 
7467
 
6669
7468
/* System header to define __stub macros and hopefully few prototypes,
6670
 
    which can conflict with char setutxent (); below.  */
6671
 
#include <assert.h>
 
7469
    which can conflict with char setutxent (); below.
 
7470
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7471
    <limits.h> exists even on freestanding compilers.  */
 
7472
 
 
7473
#ifdef __STDC__
 
7474
# include <limits.h>
 
7475
#else
 
7476
# include <assert.h>
 
7477
#endif
 
7478
 
 
7479
#undef setutxent
 
7480
 
6672
7481
/* Override any gcc2 internal prototype to avoid an error.  */
6673
7482
#ifdef __cplusplus
6674
7483
extern "C"
 
7484
{
6675
7485
#endif
6676
7486
/* We use char because int might match the return type of a gcc2
6677
7487
   builtin and then its argument prototype would still apply.  */
6678
7488
char setutxent ();
6679
 
char (*f) ();
6680
 
 
6681
 
#ifdef F77_DUMMY_MAIN
6682
 
#  ifdef __cplusplus
6683
 
     extern "C"
6684
 
#  endif
6685
 
   int F77_DUMMY_MAIN() { return 1; }
6686
 
#endif
6687
 
int
6688
 
main ()
6689
 
{
6690
7489
/* The GNU C library defines this for functions which it implements
6691
7490
    to always fail with ENOSYS.  Some functions are actually named
6692
7491
    something starting with __ and the normal name is an alias.  */
6693
7492
#if defined (__stub_setutxent) || defined (__stub___setutxent)
6694
7493
choke me
6695
7494
#else
6696
 
f = setutxent;
 
7495
char (*f) () = setutxent;
 
7496
#endif
 
7497
#ifdef __cplusplus
 
7498
}
6697
7499
#endif
6698
7500
 
 
7501
int
 
7502
main ()
 
7503
{
 
7504
return f != setutxent;
6699
7505
  ;
6700
7506
  return 0;
6701
7507
}
6702
7508
_ACEOF
6703
7509
rm -f conftest.$ac_objext conftest$ac_exeext
6704
7510
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6705
 
  (eval $ac_link) 2>&5
 
7511
  (eval $ac_link) 2>conftest.er1
6706
7512
  ac_status=$?
 
7513
  grep -v '^ *+' conftest.er1 >conftest.err
 
7514
  rm -f conftest.er1
 
7515
  cat conftest.err >&5
6707
7516
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708
7517
  (exit $ac_status); } &&
6709
 
         { ac_try='test -s conftest$ac_exeext'
 
7518
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7519
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7520
  (eval $ac_try) 2>&5
 
7521
  ac_status=$?
 
7522
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7523
  (exit $ac_status); }; } &&
 
7524
         { ac_try='test -s conftest$ac_exeext'
6710
7525
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6711
7526
  (eval $ac_try) 2>&5
6712
7527
  ac_status=$?
6715
7530
  ac_cv_func_setutxent=yes
6716
7531
else
6717
7532
  echo "$as_me: failed program was:" >&5
6718
 
cat conftest.$ac_ext >&5
 
7533
sed 's/^/| /' conftest.$ac_ext >&5
 
7534
 
6719
7535
ac_cv_func_setutxent=no
6720
7536
fi
6721
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7537
rm -f conftest.err conftest.$ac_objext \
 
7538
      conftest$ac_exeext conftest.$ac_ext
6722
7539
fi
6723
7540
echo "$as_me:$LINENO: result: $ac_cv_func_setutxent" >&5
6724
7541
echo "${ECHO_T}$ac_cv_func_setutxent" >&6
6735
7552
  echo $ECHO_N "(cached) $ECHO_C" >&6
6736
7553
else
6737
7554
  cat >conftest.$ac_ext <<_ACEOF
6738
 
#line $LINENO "configure"
6739
 
#include "confdefs.h"
 
7555
/* confdefs.h.  */
 
7556
_ACEOF
 
7557
cat confdefs.h >>conftest.$ac_ext
 
7558
cat >>conftest.$ac_ext <<_ACEOF
 
7559
/* end confdefs.h.  */
 
7560
/* Define updwtmp to an innocuous variant, in case <limits.h> declares updwtmp.
 
7561
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
7562
#define updwtmp innocuous_updwtmp
 
7563
 
6740
7564
/* System header to define __stub macros and hopefully few prototypes,
6741
 
    which can conflict with char updwtmp (); below.  */
6742
 
#include <assert.h>
 
7565
    which can conflict with char updwtmp (); below.
 
7566
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7567
    <limits.h> exists even on freestanding compilers.  */
 
7568
 
 
7569
#ifdef __STDC__
 
7570
# include <limits.h>
 
7571
#else
 
7572
# include <assert.h>
 
7573
#endif
 
7574
 
 
7575
#undef updwtmp
 
7576
 
6743
7577
/* Override any gcc2 internal prototype to avoid an error.  */
6744
7578
#ifdef __cplusplus
6745
7579
extern "C"
 
7580
{
6746
7581
#endif
6747
7582
/* We use char because int might match the return type of a gcc2
6748
7583
   builtin and then its argument prototype would still apply.  */
6749
7584
char updwtmp ();
6750
 
char (*f) ();
6751
 
 
6752
 
#ifdef F77_DUMMY_MAIN
6753
 
#  ifdef __cplusplus
6754
 
     extern "C"
6755
 
#  endif
6756
 
   int F77_DUMMY_MAIN() { return 1; }
6757
 
#endif
6758
 
int
6759
 
main ()
6760
 
{
6761
7585
/* The GNU C library defines this for functions which it implements
6762
7586
    to always fail with ENOSYS.  Some functions are actually named
6763
7587
    something starting with __ and the normal name is an alias.  */
6764
7588
#if defined (__stub_updwtmp) || defined (__stub___updwtmp)
6765
7589
choke me
6766
7590
#else
6767
 
f = updwtmp;
 
7591
char (*f) () = updwtmp;
 
7592
#endif
 
7593
#ifdef __cplusplus
 
7594
}
6768
7595
#endif
6769
7596
 
 
7597
int
 
7598
main ()
 
7599
{
 
7600
return f != updwtmp;
6770
7601
  ;
6771
7602
  return 0;
6772
7603
}
6773
7604
_ACEOF
6774
7605
rm -f conftest.$ac_objext conftest$ac_exeext
6775
7606
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6776
 
  (eval $ac_link) 2>&5
 
7607
  (eval $ac_link) 2>conftest.er1
6777
7608
  ac_status=$?
 
7609
  grep -v '^ *+' conftest.er1 >conftest.err
 
7610
  rm -f conftest.er1
 
7611
  cat conftest.err >&5
6778
7612
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779
7613
  (exit $ac_status); } &&
6780
 
         { ac_try='test -s conftest$ac_exeext'
 
7614
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7615
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7616
  (eval $ac_try) 2>&5
 
7617
  ac_status=$?
 
7618
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7619
  (exit $ac_status); }; } &&
 
7620
         { ac_try='test -s conftest$ac_exeext'
6781
7621
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6782
7622
  (eval $ac_try) 2>&5
6783
7623
  ac_status=$?
6786
7626
  ac_cv_func_updwtmp=yes
6787
7627
else
6788
7628
  echo "$as_me: failed program was:" >&5
6789
 
cat conftest.$ac_ext >&5
 
7629
sed 's/^/| /' conftest.$ac_ext >&5
 
7630
 
6790
7631
ac_cv_func_updwtmp=no
6791
7632
fi
6792
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7633
rm -f conftest.err conftest.$ac_objext \
 
7634
      conftest$ac_exeext conftest.$ac_ext
6793
7635
fi
6794
7636
echo "$as_me:$LINENO: result: $ac_cv_func_updwtmp" >&5
6795
7637
echo "${ECHO_T}$ac_cv_func_updwtmp" >&6
6806
7648
  echo $ECHO_N "(cached) $ECHO_C" >&6
6807
7649
else
6808
7650
  cat >conftest.$ac_ext <<_ACEOF
6809
 
#line $LINENO "configure"
6810
 
#include "confdefs.h"
 
7651
/* confdefs.h.  */
 
7652
_ACEOF
 
7653
cat confdefs.h >>conftest.$ac_ext
 
7654
cat >>conftest.$ac_ext <<_ACEOF
 
7655
/* end confdefs.h.  */
 
7656
/* Define updwtmpx to an innocuous variant, in case <limits.h> declares updwtmpx.
 
7657
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
7658
#define updwtmpx innocuous_updwtmpx
 
7659
 
6811
7660
/* System header to define __stub macros and hopefully few prototypes,
6812
 
    which can conflict with char updwtmpx (); below.  */
6813
 
#include <assert.h>
 
7661
    which can conflict with char updwtmpx (); below.
 
7662
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7663
    <limits.h> exists even on freestanding compilers.  */
 
7664
 
 
7665
#ifdef __STDC__
 
7666
# include <limits.h>
 
7667
#else
 
7668
# include <assert.h>
 
7669
#endif
 
7670
 
 
7671
#undef updwtmpx
 
7672
 
6814
7673
/* Override any gcc2 internal prototype to avoid an error.  */
6815
7674
#ifdef __cplusplus
6816
7675
extern "C"
 
7676
{
6817
7677
#endif
6818
7678
/* We use char because int might match the return type of a gcc2
6819
7679
   builtin and then its argument prototype would still apply.  */
6820
7680
char updwtmpx ();
6821
 
char (*f) ();
6822
 
 
6823
 
#ifdef F77_DUMMY_MAIN
6824
 
#  ifdef __cplusplus
6825
 
     extern "C"
6826
 
#  endif
6827
 
   int F77_DUMMY_MAIN() { return 1; }
6828
 
#endif
6829
 
int
6830
 
main ()
6831
 
{
6832
7681
/* The GNU C library defines this for functions which it implements
6833
7682
    to always fail with ENOSYS.  Some functions are actually named
6834
7683
    something starting with __ and the normal name is an alias.  */
6835
7684
#if defined (__stub_updwtmpx) || defined (__stub___updwtmpx)
6836
7685
choke me
6837
7686
#else
6838
 
f = updwtmpx;
 
7687
char (*f) () = updwtmpx;
 
7688
#endif
 
7689
#ifdef __cplusplus
 
7690
}
6839
7691
#endif
6840
7692
 
 
7693
int
 
7694
main ()
 
7695
{
 
7696
return f != updwtmpx;
6841
7697
  ;
6842
7698
  return 0;
6843
7699
}
6844
7700
_ACEOF
6845
7701
rm -f conftest.$ac_objext conftest$ac_exeext
6846
7702
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6847
 
  (eval $ac_link) 2>&5
 
7703
  (eval $ac_link) 2>conftest.er1
6848
7704
  ac_status=$?
 
7705
  grep -v '^ *+' conftest.er1 >conftest.err
 
7706
  rm -f conftest.er1
 
7707
  cat conftest.err >&5
6849
7708
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6850
7709
  (exit $ac_status); } &&
6851
 
         { ac_try='test -s conftest$ac_exeext'
 
7710
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7711
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7712
  (eval $ac_try) 2>&5
 
7713
  ac_status=$?
 
7714
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7715
  (exit $ac_status); }; } &&
 
7716
         { ac_try='test -s conftest$ac_exeext'
6852
7717
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6853
7718
  (eval $ac_try) 2>&5
6854
7719
  ac_status=$?
6857
7722
  ac_cv_func_updwtmpx=yes
6858
7723
else
6859
7724
  echo "$as_me: failed program was:" >&5
6860
 
cat conftest.$ac_ext >&5
 
7725
sed 's/^/| /' conftest.$ac_ext >&5
 
7726
 
6861
7727
ac_cv_func_updwtmpx=no
6862
7728
fi
6863
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7729
rm -f conftest.err conftest.$ac_objext \
 
7730
      conftest$ac_exeext conftest.$ac_ext
6864
7731
fi
6865
7732
echo "$as_me:$LINENO: result: $ac_cv_func_updwtmpx" >&5
6866
7733
echo "${ECHO_T}$ac_cv_func_updwtmpx" >&6
6878
7745
  echo $ECHO_N "(cached) $ECHO_C" >&6
6879
7746
else
6880
7747
  cat >conftest.$ac_ext <<_ACEOF
6881
 
#line $LINENO "configure"
6882
 
#include "confdefs.h"
 
7748
/* confdefs.h.  */
 
7749
_ACEOF
 
7750
cat confdefs.h >>conftest.$ac_ext
 
7751
cat >>conftest.$ac_ext <<_ACEOF
 
7752
/* end confdefs.h.  */
6883
7753
#include <stdio.h>
6884
7754
#include <errno.h>
6885
 
#ifdef F77_DUMMY_MAIN
6886
 
#  ifdef __cplusplus
6887
 
     extern "C"
6888
 
#  endif
6889
 
   int F77_DUMMY_MAIN() { return 1; }
6890
 
#endif
6891
7755
int
6892
7756
main ()
6893
7757
{
6898
7762
_ACEOF
6899
7763
rm -f conftest.$ac_objext
6900
7764
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6901
 
  (eval $ac_compile) 2>&5
 
7765
  (eval $ac_compile) 2>conftest.er1
6902
7766
  ac_status=$?
 
7767
  grep -v '^ *+' conftest.er1 >conftest.err
 
7768
  rm -f conftest.er1
 
7769
  cat conftest.err >&5
6903
7770
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904
7771
  (exit $ac_status); } &&
6905
 
         { ac_try='test -s conftest.$ac_objext'
 
7772
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7773
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7774
  (eval $ac_try) 2>&5
 
7775
  ac_status=$?
 
7776
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7777
  (exit $ac_status); }; } &&
 
7778
         { ac_try='test -s conftest.$ac_objext'
6906
7779
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907
7780
  (eval $ac_try) 2>&5
6908
7781
  ac_status=$?
6911
7784
  krb5_cv_decl_sys_errlist=yes
6912
7785
else
6913
7786
  echo "$as_me: failed program was:" >&5
6914
 
cat conftest.$ac_ext >&5
 
7787
sed 's/^/| /' conftest.$ac_ext >&5
 
7788
 
6915
7789
krb5_cv_decl_sys_errlist=no
6916
7790
fi
6917
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7791
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6918
7792
fi
6919
7793
echo "$as_me:$LINENO: result: $krb5_cv_decl_sys_errlist" >&5
6920
7794
echo "${ECHO_T}$krb5_cv_decl_sys_errlist" >&6
6939
7813
  echo $ECHO_N "(cached) $ECHO_C" >&6
6940
7814
else
6941
7815
  cat >conftest.$ac_ext <<_ACEOF
6942
 
#line $LINENO "configure"
6943
 
#include "confdefs.h"
 
7816
/* confdefs.h.  */
 
7817
_ACEOF
 
7818
cat confdefs.h >>conftest.$ac_ext
 
7819
cat >>conftest.$ac_ext <<_ACEOF
 
7820
/* end confdefs.h.  */
6944
7821
extern int sys_nerr;
6945
 
#ifdef F77_DUMMY_MAIN
6946
 
#  ifdef __cplusplus
6947
 
     extern "C"
6948
 
#  endif
6949
 
   int F77_DUMMY_MAIN() { return 1; }
6950
 
#endif
6951
7822
int
6952
7823
main ()
6953
7824
{
6958
7829
_ACEOF
6959
7830
rm -f conftest.$ac_objext conftest$ac_exeext
6960
7831
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6961
 
  (eval $ac_link) 2>&5
 
7832
  (eval $ac_link) 2>conftest.er1
6962
7833
  ac_status=$?
 
7834
  grep -v '^ *+' conftest.er1 >conftest.err
 
7835
  rm -f conftest.er1
 
7836
  cat conftest.err >&5
6963
7837
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964
7838
  (exit $ac_status); } &&
6965
 
         { ac_try='test -s conftest$ac_exeext'
 
7839
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7840
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7841
  (eval $ac_try) 2>&5
 
7842
  ac_status=$?
 
7843
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7844
  (exit $ac_status); }; } &&
 
7845
         { ac_try='test -s conftest$ac_exeext'
6966
7846
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6967
7847
  (eval $ac_try) 2>&5
6968
7848
  ac_status=$?
6971
7851
  krb5_cv_var_sys_errlist=yes
6972
7852
else
6973
7853
  echo "$as_me: failed program was:" >&5
6974
 
cat conftest.$ac_ext >&5
 
7854
sed 's/^/| /' conftest.$ac_ext >&5
 
7855
 
6975
7856
krb5_cv_var_sys_errlist=no;
6976
7857
fi
6977
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7858
rm -f conftest.err conftest.$ac_objext \
 
7859
      conftest$ac_exeext conftest.$ac_ext
6978
7860
fi
6979
7861
echo "$as_me:$LINENO: result: $krb5_cv_var_sys_errlist" >&5
6980
7862
echo "${ECHO_T}$krb5_cv_var_sys_errlist" >&6
7005
7887
  echo $ECHO_N "(cached) $ECHO_C" >&6
7006
7888
else
7007
7889
  cat >conftest.$ac_ext <<_ACEOF
7008
 
#line $LINENO "configure"
7009
 
#include "confdefs.h"
 
7890
/* confdefs.h.  */
 
7891
_ACEOF
 
7892
cat confdefs.h >>conftest.$ac_ext
 
7893
cat >>conftest.$ac_ext <<_ACEOF
 
7894
/* end confdefs.h.  */
 
7895
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
7896
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
7897
#define $ac_func innocuous_$ac_func
 
7898
 
7010
7899
/* System header to define __stub macros and hopefully few prototypes,
7011
 
    which can conflict with char $ac_func (); below.  */
7012
 
#include <assert.h>
 
7900
    which can conflict with char $ac_func (); below.
 
7901
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7902
    <limits.h> exists even on freestanding compilers.  */
 
7903
 
 
7904
#ifdef __STDC__
 
7905
# include <limits.h>
 
7906
#else
 
7907
# include <assert.h>
 
7908
#endif
 
7909
 
 
7910
#undef $ac_func
 
7911
 
7013
7912
/* Override any gcc2 internal prototype to avoid an error.  */
7014
7913
#ifdef __cplusplus
7015
7914
extern "C"
 
7915
{
7016
7916
#endif
7017
7917
/* We use char because int might match the return type of a gcc2
7018
7918
   builtin and then its argument prototype would still apply.  */
7019
7919
char $ac_func ();
7020
 
char (*f) ();
7021
 
 
7022
 
#ifdef F77_DUMMY_MAIN
7023
 
#  ifdef __cplusplus
7024
 
     extern "C"
7025
 
#  endif
7026
 
   int F77_DUMMY_MAIN() { return 1; }
7027
 
#endif
7028
 
int
7029
 
main ()
7030
 
{
7031
7920
/* The GNU C library defines this for functions which it implements
7032
7921
    to always fail with ENOSYS.  Some functions are actually named
7033
7922
    something starting with __ and the normal name is an alias.  */
7034
7923
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7035
7924
choke me
7036
7925
#else
7037
 
f = $ac_func;
 
7926
char (*f) () = $ac_func;
 
7927
#endif
 
7928
#ifdef __cplusplus
 
7929
}
7038
7930
#endif
7039
7931
 
 
7932
int
 
7933
main ()
 
7934
{
 
7935
return f != $ac_func;
7040
7936
  ;
7041
7937
  return 0;
7042
7938
}
7043
7939
_ACEOF
7044
7940
rm -f conftest.$ac_objext conftest$ac_exeext
7045
7941
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7046
 
  (eval $ac_link) 2>&5
 
7942
  (eval $ac_link) 2>conftest.er1
7047
7943
  ac_status=$?
 
7944
  grep -v '^ *+' conftest.er1 >conftest.err
 
7945
  rm -f conftest.er1
 
7946
  cat conftest.err >&5
7048
7947
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049
7948
  (exit $ac_status); } &&
7050
 
         { ac_try='test -s conftest$ac_exeext'
 
7949
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7950
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7951
  (eval $ac_try) 2>&5
 
7952
  ac_status=$?
 
7953
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7954
  (exit $ac_status); }; } &&
 
7955
         { ac_try='test -s conftest$ac_exeext'
7051
7956
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7052
7957
  (eval $ac_try) 2>&5
7053
7958
  ac_status=$?
7056
7961
  eval "$as_ac_var=yes"
7057
7962
else
7058
7963
  echo "$as_me: failed program was:" >&5
7059
 
cat conftest.$ac_ext >&5
 
7964
sed 's/^/| /' conftest.$ac_ext >&5
 
7965
 
7060
7966
eval "$as_ac_var=no"
7061
7967
fi
7062
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7968
rm -f conftest.err conftest.$ac_objext \
 
7969
      conftest$ac_exeext conftest.$ac_ext
7063
7970
fi
7064
7971
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7065
7972
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7069
7976
_ACEOF
7070
7977
 
7071
7978
else
7072
 
  LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 
7979
  case $LIBOBJS in
 
7980
    "$ac_func.$ac_objext"   | \
 
7981
  *" $ac_func.$ac_objext"   | \
 
7982
    "$ac_func.$ac_objext "* | \
 
7983
  *" $ac_func.$ac_objext "* ) ;;
 
7984
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
 
7985
esac
 
7986
 
7073
7987
fi
7074
7988
done
7075
7989
 
7091
8005
  echo $ECHO_N "(cached) $ECHO_C" >&6
7092
8006
else
7093
8007
  cat >conftest.$ac_ext <<_ACEOF
7094
 
#line $LINENO "configure"
7095
 
#include "confdefs.h"
 
8008
/* confdefs.h.  */
 
8009
_ACEOF
 
8010
cat confdefs.h >>conftest.$ac_ext
 
8011
cat >>conftest.$ac_ext <<_ACEOF
 
8012
/* end confdefs.h.  */
 
8013
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
8014
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
8015
#define $ac_func innocuous_$ac_func
 
8016
 
7096
8017
/* System header to define __stub macros and hopefully few prototypes,
7097
 
    which can conflict with char $ac_func (); below.  */
7098
 
#include <assert.h>
 
8018
    which can conflict with char $ac_func (); below.
 
8019
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
8020
    <limits.h> exists even on freestanding compilers.  */
 
8021
 
 
8022
#ifdef __STDC__
 
8023
# include <limits.h>
 
8024
#else
 
8025
# include <assert.h>
 
8026
#endif
 
8027
 
 
8028
#undef $ac_func
 
8029
 
7099
8030
/* Override any gcc2 internal prototype to avoid an error.  */
7100
8031
#ifdef __cplusplus
7101
8032
extern "C"
 
8033
{
7102
8034
#endif
7103
8035
/* We use char because int might match the return type of a gcc2
7104
8036
   builtin and then its argument prototype would still apply.  */
7105
8037
char $ac_func ();
7106
 
char (*f) ();
7107
 
 
7108
 
#ifdef F77_DUMMY_MAIN
7109
 
#  ifdef __cplusplus
7110
 
     extern "C"
7111
 
#  endif
7112
 
   int F77_DUMMY_MAIN() { return 1; }
7113
 
#endif
7114
 
int
7115
 
main ()
7116
 
{
7117
8038
/* The GNU C library defines this for functions which it implements
7118
8039
    to always fail with ENOSYS.  Some functions are actually named
7119
8040
    something starting with __ and the normal name is an alias.  */
7120
8041
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7121
8042
choke me
7122
8043
#else
7123
 
f = $ac_func;
 
8044
char (*f) () = $ac_func;
 
8045
#endif
 
8046
#ifdef __cplusplus
 
8047
}
7124
8048
#endif
7125
8049
 
 
8050
int
 
8051
main ()
 
8052
{
 
8053
return f != $ac_func;
7126
8054
  ;
7127
8055
  return 0;
7128
8056
}
7129
8057
_ACEOF
7130
8058
rm -f conftest.$ac_objext conftest$ac_exeext
7131
8059
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7132
 
  (eval $ac_link) 2>&5
 
8060
  (eval $ac_link) 2>conftest.er1
7133
8061
  ac_status=$?
 
8062
  grep -v '^ *+' conftest.er1 >conftest.err
 
8063
  rm -f conftest.er1
 
8064
  cat conftest.err >&5
7134
8065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135
8066
  (exit $ac_status); } &&
7136
 
         { ac_try='test -s conftest$ac_exeext'
 
8067
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8068
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8069
  (eval $ac_try) 2>&5
 
8070
  ac_status=$?
 
8071
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8072
  (exit $ac_status); }; } &&
 
8073
         { ac_try='test -s conftest$ac_exeext'
7137
8074
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138
8075
  (eval $ac_try) 2>&5
7139
8076
  ac_status=$?
7142
8079
  eval "$as_ac_var=yes"
7143
8080
else
7144
8081
  echo "$as_me: failed program was:" >&5
7145
 
cat conftest.$ac_ext >&5
 
8082
sed 's/^/| /' conftest.$ac_ext >&5
 
8083
 
7146
8084
eval "$as_ac_var=no"
7147
8085
fi
7148
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8086
rm -f conftest.err conftest.$ac_objext \
 
8087
      conftest$ac_exeext conftest.$ac_ext
7149
8088
fi
7150
8089
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7151
8090
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7166
8105
  ac_check_lib_save_LIBS=$LIBS
7167
8106
LIBS="-lcrypt  $LIBS"
7168
8107
cat >conftest.$ac_ext <<_ACEOF
7169
 
#line $LINENO "configure"
7170
 
#include "confdefs.h"
 
8108
/* confdefs.h.  */
 
8109
_ACEOF
 
8110
cat confdefs.h >>conftest.$ac_ext
 
8111
cat >>conftest.$ac_ext <<_ACEOF
 
8112
/* end confdefs.h.  */
7171
8113
 
7172
8114
/* Override any gcc2 internal prototype to avoid an error.  */
7173
8115
#ifdef __cplusplus
7176
8118
/* We use char because int might match the return type of a gcc2
7177
8119
   builtin and then its argument prototype would still apply.  */
7178
8120
char crypt ();
7179
 
#ifdef F77_DUMMY_MAIN
7180
 
#  ifdef __cplusplus
7181
 
     extern "C"
7182
 
#  endif
7183
 
   int F77_DUMMY_MAIN() { return 1; }
7184
 
#endif
7185
8121
int
7186
8122
main ()
7187
8123
{
7192
8128
_ACEOF
7193
8129
rm -f conftest.$ac_objext conftest$ac_exeext
7194
8130
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7195
 
  (eval $ac_link) 2>&5
 
8131
  (eval $ac_link) 2>conftest.er1
7196
8132
  ac_status=$?
 
8133
  grep -v '^ *+' conftest.er1 >conftest.err
 
8134
  rm -f conftest.er1
 
8135
  cat conftest.err >&5
7197
8136
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198
8137
  (exit $ac_status); } &&
7199
 
         { ac_try='test -s conftest$ac_exeext'
 
8138
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8139
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8140
  (eval $ac_try) 2>&5
 
8141
  ac_status=$?
 
8142
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8143
  (exit $ac_status); }; } &&
 
8144
         { ac_try='test -s conftest$ac_exeext'
7200
8145
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7201
8146
  (eval $ac_try) 2>&5
7202
8147
  ac_status=$?
7205
8150
  ac_cv_lib_crypt_crypt=yes
7206
8151
else
7207
8152
  echo "$as_me: failed program was:" >&5
7208
 
cat conftest.$ac_ext >&5
 
8153
sed 's/^/| /' conftest.$ac_ext >&5
 
8154
 
7209
8155
ac_cv_lib_crypt_crypt=no
7210
8156
fi
7211
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8157
rm -f conftest.err conftest.$ac_objext \
 
8158
      conftest$ac_exeext conftest.$ac_ext
7212
8159
LIBS=$ac_check_lib_save_LIBS
7213
8160
fi
7214
8161
echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
7230
8177
  ac_check_lib_save_LIBS=$LIBS
7231
8178
LIBS="-lutil  $LIBS"
7232
8179
cat >conftest.$ac_ext <<_ACEOF
7233
 
#line $LINENO "configure"
7234
 
#include "confdefs.h"
 
8180
/* confdefs.h.  */
 
8181
_ACEOF
 
8182
cat confdefs.h >>conftest.$ac_ext
 
8183
cat >>conftest.$ac_ext <<_ACEOF
 
8184
/* end confdefs.h.  */
7235
8185
 
7236
8186
/* Override any gcc2 internal prototype to avoid an error.  */
7237
8187
#ifdef __cplusplus
7240
8190
/* We use char because int might match the return type of a gcc2
7241
8191
   builtin and then its argument prototype would still apply.  */
7242
8192
char logwtmp ();
7243
 
#ifdef F77_DUMMY_MAIN
7244
 
#  ifdef __cplusplus
7245
 
     extern "C"
7246
 
#  endif
7247
 
   int F77_DUMMY_MAIN() { return 1; }
7248
 
#endif
7249
8193
int
7250
8194
main ()
7251
8195
{
7256
8200
_ACEOF
7257
8201
rm -f conftest.$ac_objext conftest$ac_exeext
7258
8202
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7259
 
  (eval $ac_link) 2>&5
 
8203
  (eval $ac_link) 2>conftest.er1
7260
8204
  ac_status=$?
 
8205
  grep -v '^ *+' conftest.er1 >conftest.err
 
8206
  rm -f conftest.er1
 
8207
  cat conftest.err >&5
7261
8208
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262
8209
  (exit $ac_status); } &&
7263
 
         { ac_try='test -s conftest$ac_exeext'
 
8210
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8211
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8212
  (eval $ac_try) 2>&5
 
8213
  ac_status=$?
 
8214
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8215
  (exit $ac_status); }; } &&
 
8216
         { ac_try='test -s conftest$ac_exeext'
7264
8217
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7265
8218
  (eval $ac_try) 2>&5
7266
8219
  ac_status=$?
7269
8222
  ac_cv_lib_util_logwtmp=yes
7270
8223
else
7271
8224
  echo "$as_me: failed program was:" >&5
7272
 
cat conftest.$ac_ext >&5
 
8225
sed 's/^/| /' conftest.$ac_ext >&5
 
8226
 
7273
8227
ac_cv_lib_util_logwtmp=no
7274
8228
fi
7275
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8229
rm -f conftest.err conftest.$ac_objext \
 
8230
      conftest$ac_exeext conftest.$ac_ext
7276
8231
LIBS=$ac_check_lib_save_LIBS
7277
8232
fi
7278
8233
echo "$as_me:$LINENO: result: $ac_cv_lib_util_logwtmp" >&5
7291
8246
  echo $ECHO_N "(cached) $ECHO_C" >&6
7292
8247
else
7293
8248
  cat >conftest.$ac_ext <<_ACEOF
7294
 
#line $LINENO "configure"
7295
 
#include "confdefs.h"
 
8249
/* confdefs.h.  */
 
8250
_ACEOF
 
8251
cat confdefs.h >>conftest.$ac_ext
 
8252
cat >>conftest.$ac_ext <<_ACEOF
 
8253
/* end confdefs.h.  */
7296
8254
 
7297
 
#ifdef F77_DUMMY_MAIN
7298
 
#  ifdef __cplusplus
7299
 
     extern "C"
7300
 
#  endif
7301
 
   int F77_DUMMY_MAIN() { return 1; }
7302
 
#endif
7303
8255
int
7304
8256
main ()
7305
8257
{
7310
8262
_ACEOF
7311
8263
rm -f conftest.$ac_objext conftest$ac_exeext
7312
8264
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7313
 
  (eval $ac_link) 2>&5
 
8265
  (eval $ac_link) 2>conftest.er1
7314
8266
  ac_status=$?
 
8267
  grep -v '^ *+' conftest.er1 >conftest.err
 
8268
  rm -f conftest.er1
 
8269
  cat conftest.err >&5
7315
8270
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316
8271
  (exit $ac_status); } &&
7317
 
         { ac_try='test -s conftest$ac_exeext'
 
8272
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8273
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8274
  (eval $ac_try) 2>&5
 
8275
  ac_status=$?
 
8276
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8277
  (exit $ac_status); }; } &&
 
8278
         { ac_try='test -s conftest$ac_exeext'
7318
8279
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7319
8280
  (eval $ac_try) 2>&5
7320
8281
  ac_status=$?
7323
8284
  krb5_cv_setenv=yes
7324
8285
else
7325
8286
  echo "$as_me: failed program was:" >&5
7326
 
cat conftest.$ac_ext >&5
 
8287
sed 's/^/| /' conftest.$ac_ext >&5
 
8288
 
7327
8289
krb5_cv_setenv=no
7328
8290
fi
7329
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8291
rm -f conftest.err conftest.$ac_objext \
 
8292
      conftest$ac_exeext conftest.$ac_ext
7330
8293
fi
7331
8294
 
7332
8295
echo "$as_me:$LINENO: result: $krb5_cv_setenv" >&5
7347
8310
  echo $ECHO_N "(cached) $ECHO_C" >&6
7348
8311
else
7349
8312
  cat >conftest.$ac_ext <<_ACEOF
7350
 
#line $LINENO "configure"
7351
 
#include "confdefs.h"
 
8313
/* confdefs.h.  */
 
8314
_ACEOF
 
8315
cat confdefs.h >>conftest.$ac_ext
 
8316
cat >>conftest.$ac_ext <<_ACEOF
 
8317
/* end confdefs.h.  */
7352
8318
#include <sys/types.h>
7353
8319
#include <pwd.h>
7354
8320
#include <shadow.h>
7355
 
#ifdef F77_DUMMY_MAIN
7356
 
#  ifdef __cplusplus
7357
 
     extern "C"
7358
 
#  endif
7359
 
   int F77_DUMMY_MAIN() { return 1; }
7360
 
#endif
7361
8321
int
7362
8322
main ()
7363
8323
{
7368
8328
_ACEOF
7369
8329
rm -f conftest.$ac_objext conftest$ac_exeext
7370
8330
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7371
 
  (eval $ac_link) 2>&5
 
8331
  (eval $ac_link) 2>conftest.er1
7372
8332
  ac_status=$?
 
8333
  grep -v '^ *+' conftest.er1 >conftest.err
 
8334
  rm -f conftest.er1
 
8335
  cat conftest.err >&5
7373
8336
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7374
8337
  (exit $ac_status); } &&
7375
 
         { ac_try='test -s conftest$ac_exeext'
 
8338
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8339
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8340
  (eval $ac_try) 2>&5
 
8341
  ac_status=$?
 
8342
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8343
  (exit $ac_status); }; } &&
 
8344
         { ac_try='test -s conftest$ac_exeext'
7376
8345
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7377
8346
  (eval $ac_try) 2>&5
7378
8347
  ac_status=$?
7381
8350
  krb5_cv_shadow_pwd=yes
7382
8351
else
7383
8352
  echo "$as_me: failed program was:" >&5
7384
 
cat conftest.$ac_ext >&5
 
8353
sed 's/^/| /' conftest.$ac_ext >&5
 
8354
 
7385
8355
krb5_cv_shadow_pwd=no
7386
8356
fi
7387
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8357
rm -f conftest.err conftest.$ac_objext \
 
8358
      conftest$ac_exeext conftest.$ac_ext
7388
8359
fi
7389
8360
 
7390
8361
echo "$as_me:$LINENO: result: $krb5_cv_shadow_pwd" >&5
7405
8376
  ac_check_lib_save_LIBS=$LIBS
7406
8377
LIBS="-lsecurity  $LIBS"
7407
8378
cat >conftest.$ac_ext <<_ACEOF
7408
 
#line $LINENO "configure"
7409
 
#include "confdefs.h"
 
8379
/* confdefs.h.  */
 
8380
_ACEOF
 
8381
cat confdefs.h >>conftest.$ac_ext
 
8382
cat >>conftest.$ac_ext <<_ACEOF
 
8383
/* end confdefs.h.  */
7410
8384
 
7411
8385
/* Override any gcc2 internal prototype to avoid an error.  */
7412
8386
#ifdef __cplusplus
7415
8389
/* We use char because int might match the return type of a gcc2
7416
8390
   builtin and then its argument prototype would still apply.  */
7417
8391
char setluid ();
7418
 
#ifdef F77_DUMMY_MAIN
7419
 
#  ifdef __cplusplus
7420
 
     extern "C"
7421
 
#  endif
7422
 
   int F77_DUMMY_MAIN() { return 1; }
7423
 
#endif
7424
8392
int
7425
8393
main ()
7426
8394
{
7431
8399
_ACEOF
7432
8400
rm -f conftest.$ac_objext conftest$ac_exeext
7433
8401
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7434
 
  (eval $ac_link) 2>&5
 
8402
  (eval $ac_link) 2>conftest.er1
7435
8403
  ac_status=$?
 
8404
  grep -v '^ *+' conftest.er1 >conftest.err
 
8405
  rm -f conftest.er1
 
8406
  cat conftest.err >&5
7436
8407
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437
8408
  (exit $ac_status); } &&
7438
 
         { ac_try='test -s conftest$ac_exeext'
 
8409
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8410
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8411
  (eval $ac_try) 2>&5
 
8412
  ac_status=$?
 
8413
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8414
  (exit $ac_status); }; } &&
 
8415
         { ac_try='test -s conftest$ac_exeext'
7439
8416
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7440
8417
  (eval $ac_try) 2>&5
7441
8418
  ac_status=$?
7444
8421
  ac_cv_lib_security_setluid=yes
7445
8422
else
7446
8423
  echo "$as_me: failed program was:" >&5
7447
 
cat conftest.$ac_ext >&5
 
8424
sed 's/^/| /' conftest.$ac_ext >&5
 
8425
 
7448
8426
ac_cv_lib_security_setluid=no
7449
8427
fi
7450
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8428
rm -f conftest.err conftest.$ac_objext \
 
8429
      conftest$ac_exeext conftest.$ac_ext
7451
8430
LIBS=$ac_check_lib_save_LIBS
7452
8431
fi
7453
8432
echo "$as_me:$LINENO: result: $ac_cv_lib_security_setluid" >&5
7649
8628
   { (exit 1); exit 1; }; }
7650
8629
else
7651
8630
  cat >conftest.$ac_ext <<_ACEOF
7652
 
#line $LINENO "configure"
7653
 
#include "confdefs.h"
 
8631
/* confdefs.h.  */
 
8632
_ACEOF
 
8633
cat confdefs.h >>conftest.$ac_ext
 
8634
cat >>conftest.$ac_ext <<_ACEOF
 
8635
/* end confdefs.h.  */
7654
8636
 
7655
8637
#include <sys/types.h>
7656
8638
#include <regex.h>
7673
8655
else
7674
8656
  echo "$as_me: program exited with status $ac_status" >&5
7675
8657
echo "$as_me: failed program was:" >&5
7676
 
cat conftest.$ac_ext >&5
 
8658
sed 's/^/| /' conftest.$ac_ext >&5
 
8659
 
7677
8660
( exit $ac_status )
7678
8661
ac_cv_func_regcomp=no
7679
8662
fi
7680
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
8663
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7681
8664
fi
7682
8665
fi
7683
8666
 
7702
8685
  echo $ECHO_N "(cached) $ECHO_C" >&6
7703
8686
else
7704
8687
  cat >conftest.$ac_ext <<_ACEOF
7705
 
#line $LINENO "configure"
7706
 
#include "confdefs.h"
 
8688
/* confdefs.h.  */
 
8689
_ACEOF
 
8690
cat confdefs.h >>conftest.$ac_ext
 
8691
cat >>conftest.$ac_ext <<_ACEOF
 
8692
/* end confdefs.h.  */
 
8693
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
8694
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
8695
#define $ac_func innocuous_$ac_func
 
8696
 
7707
8697
/* System header to define __stub macros and hopefully few prototypes,
7708
 
    which can conflict with char $ac_func (); below.  */
7709
 
#include <assert.h>
 
8698
    which can conflict with char $ac_func (); below.
 
8699
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
8700
    <limits.h> exists even on freestanding compilers.  */
 
8701
 
 
8702
#ifdef __STDC__
 
8703
# include <limits.h>
 
8704
#else
 
8705
# include <assert.h>
 
8706
#endif
 
8707
 
 
8708
#undef $ac_func
 
8709
 
7710
8710
/* Override any gcc2 internal prototype to avoid an error.  */
7711
8711
#ifdef __cplusplus
7712
8712
extern "C"
 
8713
{
7713
8714
#endif
7714
8715
/* We use char because int might match the return type of a gcc2
7715
8716
   builtin and then its argument prototype would still apply.  */
7716
8717
char $ac_func ();
7717
 
char (*f) ();
7718
 
 
7719
 
#ifdef F77_DUMMY_MAIN
7720
 
#  ifdef __cplusplus
7721
 
     extern "C"
7722
 
#  endif
7723
 
   int F77_DUMMY_MAIN() { return 1; }
7724
 
#endif
7725
 
int
7726
 
main ()
7727
 
{
7728
8718
/* The GNU C library defines this for functions which it implements
7729
8719
    to always fail with ENOSYS.  Some functions are actually named
7730
8720
    something starting with __ and the normal name is an alias.  */
7731
8721
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7732
8722
choke me
7733
8723
#else
7734
 
f = $ac_func;
 
8724
char (*f) () = $ac_func;
 
8725
#endif
 
8726
#ifdef __cplusplus
 
8727
}
7735
8728
#endif
7736
8729
 
 
8730
int
 
8731
main ()
 
8732
{
 
8733
return f != $ac_func;
7737
8734
  ;
7738
8735
  return 0;
7739
8736
}
7740
8737
_ACEOF
7741
8738
rm -f conftest.$ac_objext conftest$ac_exeext
7742
8739
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7743
 
  (eval $ac_link) 2>&5
 
8740
  (eval $ac_link) 2>conftest.er1
7744
8741
  ac_status=$?
 
8742
  grep -v '^ *+' conftest.er1 >conftest.err
 
8743
  rm -f conftest.er1
 
8744
  cat conftest.err >&5
7745
8745
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746
8746
  (exit $ac_status); } &&
7747
 
         { ac_try='test -s conftest$ac_exeext'
 
8747
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8748
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8749
  (eval $ac_try) 2>&5
 
8750
  ac_status=$?
 
8751
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8752
  (exit $ac_status); }; } &&
 
8753
         { ac_try='test -s conftest$ac_exeext'
7748
8754
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7749
8755
  (eval $ac_try) 2>&5
7750
8756
  ac_status=$?
7753
8759
  eval "$as_ac_var=yes"
7754
8760
else
7755
8761
  echo "$as_me: failed program was:" >&5
7756
 
cat conftest.$ac_ext >&5
 
8762
sed 's/^/| /' conftest.$ac_ext >&5
 
8763
 
7757
8764
eval "$as_ac_var=no"
7758
8765
fi
7759
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8766
rm -f conftest.err conftest.$ac_objext \
 
8767
      conftest$ac_exeext conftest.$ac_ext
7760
8768
fi
7761
8769
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7762
8770
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7777
8785
  ac_check_lib_save_LIBS=$LIBS
7778
8786
LIBS="-lgen  $LIBS"
7779
8787
cat >conftest.$ac_ext <<_ACEOF
7780
 
#line $LINENO "configure"
7781
 
#include "confdefs.h"
 
8788
/* confdefs.h.  */
 
8789
_ACEOF
 
8790
cat confdefs.h >>conftest.$ac_ext
 
8791
cat >>conftest.$ac_ext <<_ACEOF
 
8792
/* end confdefs.h.  */
7782
8793
 
7783
8794
/* Override any gcc2 internal prototype to avoid an error.  */
7784
8795
#ifdef __cplusplus
7787
8798
/* We use char because int might match the return type of a gcc2
7788
8799
   builtin and then its argument prototype would still apply.  */
7789
8800
char compile ();
7790
 
#ifdef F77_DUMMY_MAIN
7791
 
#  ifdef __cplusplus
7792
 
     extern "C"
7793
 
#  endif
7794
 
   int F77_DUMMY_MAIN() { return 1; }
7795
 
#endif
7796
8801
int
7797
8802
main ()
7798
8803
{
7803
8808
_ACEOF
7804
8809
rm -f conftest.$ac_objext conftest$ac_exeext
7805
8810
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7806
 
  (eval $ac_link) 2>&5
 
8811
  (eval $ac_link) 2>conftest.er1
7807
8812
  ac_status=$?
 
8813
  grep -v '^ *+' conftest.er1 >conftest.err
 
8814
  rm -f conftest.er1
 
8815
  cat conftest.err >&5
7808
8816
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809
8817
  (exit $ac_status); } &&
7810
 
         { ac_try='test -s conftest$ac_exeext'
 
8818
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8819
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8820
  (eval $ac_try) 2>&5
 
8821
  ac_status=$?
 
8822
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8823
  (exit $ac_status); }; } &&
 
8824
         { ac_try='test -s conftest$ac_exeext'
7811
8825
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7812
8826
  (eval $ac_try) 2>&5
7813
8827
  ac_status=$?
7816
8830
  ac_cv_lib_gen_compile=yes
7817
8831
else
7818
8832
  echo "$as_me: failed program was:" >&5
7819
 
cat conftest.$ac_ext >&5
 
8833
sed 's/^/| /' conftest.$ac_ext >&5
 
8834
 
7820
8835
ac_cv_lib_gen_compile=no
7821
8836
fi
7822
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8837
rm -f conftest.err conftest.$ac_objext \
 
8838
      conftest$ac_exeext conftest.$ac_ext
7823
8839
LIBS=$ac_check_lib_save_LIBS
7824
8840
fi
7825
8841
echo "$as_me:$LINENO: result: $ac_cv_lib_gen_compile" >&5
7837
8853
 
7838
8854
 
7839
8855
 
7840
 
 ac_config_files="$ac_config_files ./Makefile:$krb5_pre_in:./Makefile.in:$krb5_post_in"
7841
 
 ac_config_files="$ac_config_files ftp/Makefile:$krb5_pre_in:ftp/Makefile.in:$krb5_post_in"
7842
 
 ac_config_files="$ac_config_files ftpd/Makefile:$krb5_pre_in:ftpd/Makefile.in:$krb5_post_in"
 
8856
           ac_config_files="$ac_config_files ./Makefile:$krb5_pre_in:./Makefile.in:$krb5_post_in"
 
8857
           ac_config_files="$ac_config_files ftp/Makefile:$krb5_pre_in:ftp/Makefile.in:$krb5_post_in"
 
8858
           ac_config_files="$ac_config_files ftpd/Makefile:$krb5_pre_in:ftpd/Makefile.in:$krb5_post_in"
7843
8859
 
7844
 
ac_config_commands="$ac_config_commands krb5_config_prefix"
 
8860
          ac_config_commands="$ac_config_commands krb5_config_prefix"
7845
8861
 
7846
8862
cat >confcache <<\_ACEOF
7847
8863
# This file is a shell script that caches the results of configure
7853
8869
# config.status only pays attention to the cache file if you give it
7854
8870
# the --recheck option to rerun configure.
7855
8871
#
7856
 
# `ac_cv_env_foo' variables (set or unset) will be overriden when
 
8872
# `ac_cv_env_foo' variables (set or unset) will be overridden when
7857
8873
# loading this file, other *unset* `ac_cv_foo' will be assigned the
7858
8874
# following values.
7859
8875
 
7871
8887
      # `set' does not quote correctly, so add quotes (double-quote
7872
8888
      # substitution turns \\\\ into \\, and sed turns \\ into \).
7873
8889
      sed -n \
7874
 
        "s/'/'\\\\''/g;
7875
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
8890
        "s/'/'\\\\''/g;
 
8891
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7876
8892
      ;;
7877
8893
    *)
7878
8894
      # `set' quotes correctly as required by POSIX, so do not add quotes.
7879
8895
      sed -n \
7880
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
8896
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7881
8897
      ;;
7882
8898
    esac;
7883
8899
} |
7888
8904
     t end
7889
8905
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7890
8906
     : end' >>confcache
7891
 
if cmp -s $cache_file confcache; then :; else
 
8907
if diff $cache_file confcache >/dev/null 2>&1; then :; else
7892
8908
  if test -w $cache_file; then
7893
8909
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7894
8910
    cat confcache >$cache_file
7907
8923
# trailing colons and then remove the whole line if VPATH becomes empty
7908
8924
# (actually we leave an empty line to preserve line numbers).
7909
8925
if test "x$srcdir" = x.; then
7910
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
8926
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
7911
8927
s/:*\$(srcdir):*/:/;
7912
8928
s/:*\${srcdir}:*/:/;
7913
8929
s/:*@srcdir@:*/:/;
7914
 
s/^\([^=]*=[    ]*\):*/\1/;
 
8930
s/^\([^=]*=[     ]*\):*/\1/;
7915
8931
s/:*$//;
7916
 
s/^[^=]*=[      ]*$//;
 
8932
s/^[^=]*=[       ]*$//;
7917
8933
}'
7918
8934
fi
7919
8935
 
7927
8943
cat >confdef2opt.sed <<\_ACEOF
7928
8944
t clear
7929
8945
: clear
7930
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
 
8946
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
7931
8947
t quote
7932
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
 
8948
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
7933
8949
t quote
7934
8950
d
7935
8951
: quote
7936
 
s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
 
8952
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
7937
8953
s,\[,\\&,g
7938
8954
s,\],\\&,g
7939
8955
s,\$,$$,g
7950
8966
rm -f confdef2opt.sed
7951
8967
 
7952
8968
 
 
8969
ac_libobjs=
 
8970
ac_ltlibobjs=
 
8971
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
8972
  # 1. Remove the extension, and $U if already installed.
 
8973
  ac_i=`echo "$ac_i" |
 
8974
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
8975
  # 2. Add them.
 
8976
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
8977
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
8978
done
 
8979
LIBOBJS=$ac_libobjs
 
8980
 
 
8981
LTLIBOBJS=$ac_ltlibobjs
 
8982
 
 
8983
 
7953
8984
 
7954
8985
: ${CONFIG_STATUS=./config.status}
7955
8986
ac_clean_files_save=$ac_clean_files
7964
8995
# configure, is in config.log if it exists.
7965
8996
 
7966
8997
debug=false
 
8998
ac_cs_recheck=false
 
8999
ac_cs_silent=false
7967
9000
SHELL=\${CONFIG_SHELL-$SHELL}
7968
9001
_ACEOF
7969
9002
 
7970
9003
cat >>$CONFIG_STATUS <<\_ACEOF
7971
 
 
7972
9004
## --------------------- ##
7973
9005
## M4sh Initialization.  ##
7974
9006
## --------------------- ##
7977
9009
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7978
9010
  emulate sh
7979
9011
  NULLCMD=:
 
9012
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
9013
  # is contrary to our usage.  Disable this feature.
 
9014
  alias -g '${1+"$@"}'='"$@"'
7980
9015
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7981
9016
  set -o posix
7982
9017
fi
 
9018
DUALCASE=1; export DUALCASE # for MKS sh
7983
9019
 
7984
 
# NLS nuisances.
7985
9020
# Support unset when possible.
7986
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
9021
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7987
9022
  as_unset=unset
7988
9023
else
7989
9024
  as_unset=false
7990
9025
fi
7991
9026
 
7992
 
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
7993
 
    { $as_unset LANG || test "${LANG+set}" != set; } ||
7994
 
      { LANG=C; export LANG; }
7995
 
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
7996
 
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
7997
 
      { LC_ALL=C; export LC_ALL; }
7998
 
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
7999
 
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
8000
 
      { LC_TIME=C; export LC_TIME; }
8001
 
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
8002
 
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
8003
 
      { LC_CTYPE=C; export LC_CTYPE; }
8004
 
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
8005
 
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
8006
 
      { LANGUAGE=C; export LANGUAGE; }
8007
 
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
8008
 
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
8009
 
      { LC_COLLATE=C; export LC_COLLATE; }
8010
 
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
8011
 
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
8012
 
      { LC_NUMERIC=C; export LC_NUMERIC; }
8013
 
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
8014
 
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
8015
 
      { LC_MESSAGES=C; export LC_MESSAGES; }
 
9027
 
 
9028
# Work around bugs in pre-3.0 UWIN ksh.
 
9029
$as_unset ENV MAIL MAILPATH
 
9030
PS1='$ '
 
9031
PS2='> '
 
9032
PS4='+ '
 
9033
 
 
9034
# NLS nuisances.
 
9035
for as_var in \
 
9036
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
9037
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
9038
  LC_TELEPHONE LC_TIME
 
9039
do
 
9040
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
9041
    eval $as_var=C; export $as_var
 
9042
  else
 
9043
    $as_unset $as_var
 
9044
  fi
 
9045
done
 
9046
 
 
9047
# Required to use basename.
 
9048
if expr a : '\(a\)' >/dev/null 2>&1; then
 
9049
  as_expr=expr
 
9050
else
 
9051
  as_expr=false
 
9052
fi
 
9053
 
 
9054
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
9055
  as_basename=basename
 
9056
else
 
9057
  as_basename=false
 
9058
fi
8016
9059
 
8017
9060
 
8018
9061
# Name of the executable.
8019
 
as_me=`(basename "$0") 2>/dev/null ||
 
9062
as_me=`$as_basename "$0" ||
8020
9063
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8021
9064
         X"$0" : 'X\(//\)$' \| \
8022
9065
         X"$0" : 'X\(/\)$' \| \
8027
9070
          /^X\/\(\/\).*/{ s//\1/; q; }
8028
9071
          s/.*/./; q'`
8029
9072
 
 
9073
 
8030
9074
# PATH needs CR, and LINENO needs CR and PATH.
8031
9075
# Avoid depending upon Character Ranges.
8032
9076
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8037
9081
 
8038
9082
# The user is always right.
8039
9083
if test "${PATH_SEPARATOR+set}" != set; then
8040
 
  echo "#! /bin/sh" >conftest.sh
8041
 
  echo  "exit 0"   >>conftest.sh
8042
 
  chmod +x conftest.sh
8043
 
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
 
9084
  echo "#! /bin/sh" >conf$$.sh
 
9085
  echo  "exit 0"   >>conf$$.sh
 
9086
  chmod +x conf$$.sh
 
9087
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8044
9088
    PATH_SEPARATOR=';'
8045
9089
  else
8046
9090
    PATH_SEPARATOR=:
8047
9091
  fi
8048
 
  rm -f conftest.sh
 
9092
  rm -f conf$$.sh
8049
9093
fi
8050
9094
 
8051
9095
 
8094
9138
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8095
9139
  test "x$as_lineno_1" != "x$as_lineno_2" &&
8096
9140
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
9141
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
9142
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8097
9143
             CONFIG_SHELL=$as_dir/$as_base
8098
9144
             export CONFIG_SHELL
8099
9145
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8167
9213
fi
8168
9214
rm -f conf$$ conf$$.exe conf$$.file
8169
9215
 
 
9216
if mkdir -p . 2>/dev/null; then
 
9217
  as_mkdir_p=:
 
9218
else
 
9219
  test -d ./-p && rmdir ./-p
 
9220
  as_mkdir_p=false
 
9221
fi
 
9222
 
8170
9223
as_executable_p="test -f"
8171
9224
 
8172
9225
# Sed expression to map a string onto a valid CPP name.
8173
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
9226
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8174
9227
 
8175
9228
# Sed expression to map a string onto a valid variable name.
8176
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
9229
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8177
9230
 
8178
9231
 
8179
9232
# IFS
8183
9236
IFS="   $as_nl"
8184
9237
 
8185
9238
# CDPATH.
8186
 
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
 
9239
$as_unset CDPATH
8187
9240
 
8188
9241
exec 6>&1
8189
9242
 
8200
9253
cat >&5 <<_CSEOF
8201
9254
 
8202
9255
This file was extended by $as_me, which was
8203
 
generated by GNU Autoconf 2.53.  Invocation command line was
 
9256
generated by GNU Autoconf 2.59.  Invocation command line was
8204
9257
 
8205
9258
  CONFIG_FILES    = $CONFIG_FILES
8206
9259
  CONFIG_HEADERS  = $CONFIG_HEADERS
8240
9293
 
8241
9294
  -h, --help       print this help, then exit
8242
9295
  -V, --version    print version number, then exit
 
9296
  -q, --quiet      do not print progress messages
8243
9297
  -d, --debug      don't remove temporary files
8244
9298
      --recheck    update $as_me by reconfiguring in the same conditions
8245
9299
  --file=FILE[:TEMPLATE]
8246
 
                   instantiate the configuration file FILE
 
9300
                   instantiate the configuration file FILE
8247
9301
 
8248
9302
Configuration files:
8249
9303
$config_files
8257
9311
cat >>$CONFIG_STATUS <<_ACEOF
8258
9312
ac_cs_version="\\
8259
9313
config.status
8260
 
configured by $0, generated by GNU Autoconf 2.53,
 
9314
configured by $0, generated by GNU Autoconf 2.59,
8261
9315
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8262
9316
 
8263
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8264
 
Free Software Foundation, Inc.
 
9317
Copyright (C) 2003 Free Software Foundation, Inc.
8265
9318
This config.status script is free software; the Free Software Foundation
8266
9319
gives unlimited permission to copy, distribute and modify it."
8267
9320
srcdir=$srcdir
8278
9331
  --*=*)
8279
9332
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
8280
9333
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8281
 
    shift
8282
 
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
8283
 
    shift
8284
 
    ;;
8285
 
  -*);;
 
9334
    ac_shift=:
 
9335
    ;;
 
9336
  -*)
 
9337
    ac_option=$1
 
9338
    ac_optarg=$2
 
9339
    ac_shift=shift
 
9340
    ;;
8286
9341
  *) # This is not an option, so the user has probably given explicit
8287
9342
     # arguments.
 
9343
     ac_option=$1
8288
9344
     ac_need_defaults=false;;
8289
9345
  esac
8290
9346
 
8291
 
  case $1 in
 
9347
  case $ac_option in
8292
9348
  # Handling of the options.
8293
9349
_ACEOF
8294
 
cat >>$CONFIG_STATUS <<_ACEOF
 
9350
cat >>$CONFIG_STATUS <<\_ACEOF
8295
9351
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8296
 
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
8297
 
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
8298
 
_ACEOF
8299
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
9352
    ac_cs_recheck=: ;;
8300
9353
  --version | --vers* | -V )
8301
9354
    echo "$ac_cs_version"; exit 0 ;;
8302
9355
  --he | --h)
8311
9364
  --debug | --d* | -d )
8312
9365
    debug=: ;;
8313
9366
  --file | --fil | --fi | --f )
8314
 
    shift
8315
 
    CONFIG_FILES="$CONFIG_FILES $1"
 
9367
    $ac_shift
 
9368
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8316
9369
    ac_need_defaults=false;;
8317
9370
  --header | --heade | --head | --hea )
8318
 
    shift
8319
 
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
 
9371
    $ac_shift
 
9372
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8320
9373
    ac_need_defaults=false;;
 
9374
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
9375
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
9376
    ac_cs_silent=: ;;
8321
9377
 
8322
9378
  # This is an error.
8323
9379
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8332
9388
  shift
8333
9389
done
8334
9390
 
 
9391
ac_configure_extra_args=
 
9392
 
 
9393
if $ac_cs_silent; then
 
9394
  exec 6>/dev/null
 
9395
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
9396
fi
 
9397
 
 
9398
_ACEOF
 
9399
cat >>$CONFIG_STATUS <<_ACEOF
 
9400
if \$ac_cs_recheck; then
 
9401
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
9402
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
9403
fi
 
9404
 
8335
9405
_ACEOF
8336
9406
 
8337
9407
cat >>$CONFIG_STATUS <<_ACEOF
8371
9441
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8372
9442
fi
8373
9443
 
 
9444
# Have a temporary directory for convenience.  Make it in the build tree
 
9445
# simply because there is no reason to put it here, and in addition,
 
9446
# creating and moving files from /tmp can sometimes cause problems.
8374
9447
# Create a temporary directory, and hook for its removal unless debugging.
8375
9448
$debug ||
8376
9449
{
8379
9452
}
8380
9453
 
8381
9454
# Create a (secure) tmp directory for tmp files.
8382
 
: ${TMPDIR=/tmp}
 
9455
 
8383
9456
{
8384
 
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
 
9457
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8385
9458
  test -n "$tmp" && test -d "$tmp"
8386
9459
}  ||
8387
9460
{
8388
 
  tmp=$TMPDIR/cs$$-$RANDOM
 
9461
  tmp=./confstat$$-$RANDOM
8389
9462
  (umask 077 && mkdir $tmp)
8390
9463
} ||
8391
9464
{
8392
 
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
 
9465
   echo "$me: cannot create a temporary directory in ." >&2
8393
9466
   { (exit 1); exit 1; }
8394
9467
}
8395
9468
 
8473
9546
s,@AUTOHEADERFLAGS@,$AUTOHEADERFLAGS,;t t
8474
9547
s,@CONFIG_RELTOPDIR@,$CONFIG_RELTOPDIR,;t t
8475
9548
s,@subdirs@,$subdirs,;t t
8476
 
/@lib_frag@/r $lib_frag
8477
 
s,@lib_frag@,,;t t
8478
 
/@libobj_frag@/r $libobj_frag
8479
 
s,@libobj_frag@,,;t t
8480
9549
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8481
9550
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8482
9551
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8483
9552
s,@YACC@,$YACC,;t t
 
9553
s,@EGREP@,$EGREP,;t t
8484
9554
s,@LIBOBJS@,$LIBOBJS,;t t
8485
9555
s,@SETENVSRC@,$SETENVSRC,;t t
8486
9556
s,@SETENVOBJ@,$SETENVOBJ,;t t
8498
9568
s,@CC_LINK@,$CC_LINK,;t t
8499
9569
s,@RPATH_FLAG@,$RPATH_FLAG,;t t
8500
9570
s,@DEPLIBEXT@,$DEPLIBEXT,;t t
 
9571
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 
9572
/@lib_frag@/r $lib_frag
 
9573
s,@lib_frag@,,;t t
 
9574
/@libobj_frag@/r $libobj_frag
 
9575
s,@libobj_frag@,,;t t
8501
9576
CEOF
8502
9577
 
8503
9578
_ACEOF
8527
9602
      (echo ':t
8528
9603
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8529
9604
      if test -z "$ac_sed_cmds"; then
8530
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
9605
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8531
9606
      else
8532
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
9607
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8533
9608
      fi
8534
9609
      ac_sed_frag=`expr $ac_sed_frag + 1`
8535
9610
      ac_beg=$ac_end
8547
9622
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8548
9623
  case $ac_file in
8549
9624
  - | *:- | *:-:* ) # input from stdin
8550
 
        cat >$tmp/stdin
8551
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8552
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
9625
        cat >$tmp/stdin
 
9626
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
9627
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8553
9628
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8554
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
9629
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8555
9630
  * )   ac_file_in=$ac_file.in ;;
8556
9631
  esac
8557
9632
 
8558
9633
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8559
9634
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8560
9635
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8561
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
8562
 
         X"$ac_file" : 'X\(//\)$' \| \
8563
 
         X"$ac_file" : 'X\(/\)' \| \
8564
 
         .     : '\(.\)' 2>/dev/null ||
 
9636
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
9637
         X"$ac_file" : 'X\(//\)$' \| \
 
9638
         X"$ac_file" : 'X\(/\)' \| \
 
9639
         .     : '\(.\)' 2>/dev/null ||
8565
9640
echo X"$ac_file" |
8566
9641
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8567
9642
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8568
9643
          /^X\(\/\/\)$/{ s//\1/; q; }
8569
9644
          /^X\(\/\).*/{ s//\1/; q; }
8570
9645
          s/.*/./; q'`
8571
 
  { case "$ac_dir" in
8572
 
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
8573
 
  *)                      as_incr_dir=.;;
8574
 
esac
8575
 
as_dummy="$ac_dir"
8576
 
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
8577
 
  case $as_mkdir_dir in
8578
 
    # Skip DOS drivespec
8579
 
    ?:) as_incr_dir=$as_mkdir_dir ;;
8580
 
    *)
8581
 
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
8582
 
      test -d "$as_incr_dir" ||
8583
 
        mkdir "$as_incr_dir" ||
8584
 
        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
8585
 
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
8586
 
   { (exit 1); exit 1; }; }
8587
 
    ;;
8588
 
  esac
8589
 
done; }
 
9646
  { if $as_mkdir_p; then
 
9647
    mkdir -p "$ac_dir"
 
9648
  else
 
9649
    as_dir="$ac_dir"
 
9650
    as_dirs=
 
9651
    while test ! -d "$as_dir"; do
 
9652
      as_dirs="$as_dir $as_dirs"
 
9653
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
9654
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
9655
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
9656
         X"$as_dir" : 'X\(//\)$' \| \
 
9657
         X"$as_dir" : 'X\(/\)' \| \
 
9658
         .     : '\(.\)' 2>/dev/null ||
 
9659
echo X"$as_dir" |
 
9660
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
9661
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
9662
          /^X\(\/\/\)$/{ s//\1/; q; }
 
9663
          /^X\(\/\).*/{ s//\1/; q; }
 
9664
          s/.*/./; q'`
 
9665
    done
 
9666
    test ! -n "$as_dirs" || mkdir $as_dirs
 
9667
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
9668
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
9669
   { (exit 1); exit 1; }; }; }
8590
9670
 
8591
9671
  ac_builddir=.
8592
9672
 
8613
9693
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8614
9694
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
8615
9695
esac
8616
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8617
 
# absolute.
8618
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
8619
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
8620
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8621
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
9696
 
 
9697
# Do not use `cd foo && pwd` to compute absolute paths, because
 
9698
# the directories may not exist.
 
9699
case `pwd` in
 
9700
.) ac_abs_builddir="$ac_dir";;
 
9701
*)
 
9702
  case "$ac_dir" in
 
9703
  .) ac_abs_builddir=`pwd`;;
 
9704
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
9705
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
9706
  esac;;
 
9707
esac
 
9708
case $ac_abs_builddir in
 
9709
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
9710
*)
 
9711
  case ${ac_top_builddir}. in
 
9712
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
9713
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
9714
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
9715
  esac;;
 
9716
esac
 
9717
case $ac_abs_builddir in
 
9718
.) ac_abs_srcdir=$ac_srcdir;;
 
9719
*)
 
9720
  case $ac_srcdir in
 
9721
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
9722
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
9723
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
9724
  esac;;
 
9725
esac
 
9726
case $ac_abs_builddir in
 
9727
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
9728
*)
 
9729
  case $ac_top_srcdir in
 
9730
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
9731
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
9732
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
9733
  esac;;
 
9734
esac
8622
9735
 
8623
9736
 
8624
9737
  case $INSTALL in
8626
9739
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8627
9740
  esac
8628
9741
 
8629
 
  if test x"$ac_file" != x-; then
8630
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
8631
 
echo "$as_me: creating $ac_file" >&6;}
8632
 
    rm -f "$ac_file"
8633
 
  fi
8634
9742
  # Let's still pretend it is `configure' which instantiates (i.e., don't
8635
9743
  # use $as_me), people would be surprised to read:
8636
9744
  #    /* config.h.  Generated by config.status.  */
8640
9748
    configure_input="$ac_file.  "
8641
9749
  fi
8642
9750
  configure_input=$configure_input"Generated from `echo $ac_file_in |
8643
 
                                     sed 's,.*/,,'` by configure."
 
9751
                                     sed 's,.*/,,'` by configure."
8644
9752
 
8645
9753
  # First look for the input files in the build tree, otherwise in the
8646
9754
  # src tree.
8649
9757
      case $f in
8650
9758
      -) echo $tmp/stdin ;;
8651
9759
      [\\/$]*)
8652
 
         # Absolute (can't be DOS-style, as IFS=:)
8653
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
9760
         # Absolute (can't be DOS-style, as IFS=:)
 
9761
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8654
9762
echo "$as_me: error: cannot find input file: $f" >&2;}
8655
9763
   { (exit 1); exit 1; }; }
8656
 
         echo $f;;
 
9764
         echo "$f";;
8657
9765
      *) # Relative
8658
 
         if test -f "$f"; then
8659
 
           # Build tree
8660
 
           echo $f
8661
 
         elif test -f "$srcdir/$f"; then
8662
 
           # Source tree
8663
 
           echo $srcdir/$f
8664
 
         else
8665
 
           # /dev/null tree
8666
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
9766
         if test -f "$f"; then
 
9767
           # Build tree
 
9768
           echo "$f"
 
9769
         elif test -f "$srcdir/$f"; then
 
9770
           # Source tree
 
9771
           echo "$srcdir/$f"
 
9772
         else
 
9773
           # /dev/null tree
 
9774
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8667
9775
echo "$as_me: error: cannot find input file: $f" >&2;}
8668
9776
   { (exit 1); exit 1; }; }
8669
 
         fi;;
 
9777
         fi;;
8670
9778
      esac
8671
9779
    done` || { (exit 1); exit 1; }
 
9780
 
 
9781
  if test x"$ac_file" != x-; then
 
9782
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
9783
echo "$as_me: creating $ac_file" >&6;}
 
9784
    rm -f "$ac_file"
 
9785
  fi
8672
9786
_ACEOF
8673
9787
cat >>$CONFIG_STATUS <<_ACEOF
8674
9788
  sed "$ac_vpsub
8708
9822
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
8709
9823
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
8710
9824
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8711
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
8712
 
         X"$ac_dest" : 'X\(//\)$' \| \
8713
 
         X"$ac_dest" : 'X\(/\)' \| \
8714
 
         .     : '\(.\)' 2>/dev/null ||
 
9825
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
9826
         X"$ac_dest" : 'X\(//\)$' \| \
 
9827
         X"$ac_dest" : 'X\(/\)' \| \
 
9828
         .     : '\(.\)' 2>/dev/null ||
8715
9829
echo X"$ac_dest" |
8716
9830
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8717
9831
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8718
9832
          /^X\(\/\/\)$/{ s//\1/; q; }
8719
9833
          /^X\(\/\).*/{ s//\1/; q; }
8720
9834
          s/.*/./; q'`
 
9835
  { if $as_mkdir_p; then
 
9836
    mkdir -p "$ac_dir"
 
9837
  else
 
9838
    as_dir="$ac_dir"
 
9839
    as_dirs=
 
9840
    while test ! -d "$as_dir"; do
 
9841
      as_dirs="$as_dir $as_dirs"
 
9842
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
9843
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
9844
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
9845
         X"$as_dir" : 'X\(//\)$' \| \
 
9846
         X"$as_dir" : 'X\(/\)' \| \
 
9847
         .     : '\(.\)' 2>/dev/null ||
 
9848
echo X"$as_dir" |
 
9849
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
9850
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
9851
          /^X\(\/\/\)$/{ s//\1/; q; }
 
9852
          /^X\(\/\).*/{ s//\1/; q; }
 
9853
          s/.*/./; q'`
 
9854
    done
 
9855
    test ! -n "$as_dirs" || mkdir $as_dirs
 
9856
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
9857
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
9858
   { (exit 1); exit 1; }; }; }
 
9859
 
8721
9860
  ac_builddir=.
8722
9861
 
8723
9862
if test "$ac_dir" != .; then
8743
9882
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8744
9883
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
8745
9884
esac
8746
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8747
 
# absolute.
8748
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
8749
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
8750
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8751
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
9885
 
 
9886
# Do not use `cd foo && pwd` to compute absolute paths, because
 
9887
# the directories may not exist.
 
9888
case `pwd` in
 
9889
.) ac_abs_builddir="$ac_dir";;
 
9890
*)
 
9891
  case "$ac_dir" in
 
9892
  .) ac_abs_builddir=`pwd`;;
 
9893
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
9894
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
9895
  esac;;
 
9896
esac
 
9897
case $ac_abs_builddir in
 
9898
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
9899
*)
 
9900
  case ${ac_top_builddir}. in
 
9901
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
9902
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
9903
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
9904
  esac;;
 
9905
esac
 
9906
case $ac_abs_builddir in
 
9907
.) ac_abs_srcdir=$ac_srcdir;;
 
9908
*)
 
9909
  case $ac_srcdir in
 
9910
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
9911
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
9912
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
9913
  esac;;
 
9914
esac
 
9915
case $ac_abs_builddir in
 
9916
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
9917
*)
 
9918
  case $ac_top_srcdir in
 
9919
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
9920
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
9921
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
9922
  esac;;
 
9923
esac
8752
9924
 
8753
9925
 
8754
9926
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8774
9946
# need to make the FD available again.
8775
9947
if test "$no_create" != yes; then
8776
9948
  ac_cs_success=:
 
9949
  ac_config_status_args=
 
9950
  test "$silent" = yes &&
 
9951
    ac_config_status_args="$ac_config_status_args --quiet"
8777
9952
  exec 5>/dev/null
8778
 
  $SHELL $CONFIG_STATUS || ac_cs_success=false
 
9953
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8779
9954
  exec 5>>config.log
8780
9955
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8781
9956
  # would make configure fail if this is the last instruction.