~ubuntu-branches/ubuntu/maverick/krb5/maverick

« back to all changes in this revision

Viewing changes to src/appl/gssftp/configure

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-10-30 10:28:53 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20061030102853-x7v876vw4af46v0m
Tags: 1.4.4-3ubuntu1
* Merge with Debian; only Ubuntu change:
  - src/include/k5-thread.h: Define__USE_GNU when #include'ing pthread.h to
    fix FTBFS (from 1.4.3-9ubuntu1).

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 EXTRA_FILES 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 HESIOD_DEFS HESIOD_LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CONFIG_RELTOPDIR subdirs build build_cpu build_vendor build_os host host_cpu host_vendor host_os krb5_cv_host acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA YACC EGREP LIBOBJS UTIL_LIB SETENVSRC SETENVOBJ FTPD_LIBS 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
929
947
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
930
948
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
931
949
esac
932
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
933
 
# absolute.
934
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
935
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
936
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
937
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
950
 
 
951
# Do not use `cd foo && pwd` to compute absolute paths, because
 
952
# the directories may not exist.
 
953
case `pwd` in
 
954
.) ac_abs_builddir="$ac_dir";;
 
955
*)
 
956
  case "$ac_dir" in
 
957
  .) ac_abs_builddir=`pwd`;;
 
958
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
959
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
960
  esac;;
 
961
esac
 
962
case $ac_abs_builddir in
 
963
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
964
*)
 
965
  case ${ac_top_builddir}. in
 
966
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
967
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
968
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
969
  esac;;
 
970
esac
 
971
case $ac_abs_builddir in
 
972
.) ac_abs_srcdir=$ac_srcdir;;
 
973
*)
 
974
  case $ac_srcdir in
 
975
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
976
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
977
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
978
  esac;;
 
979
esac
 
980
case $ac_abs_builddir in
 
981
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
982
*)
 
983
  case $ac_top_srcdir in
 
984
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
985
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
986
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
987
  esac;;
 
988
esac
938
989
 
939
990
    cd $ac_dir
940
991
    # Check for guested configure; otherwise get Cygnus style configure.
945
996
      echo
946
997
      $SHELL $ac_srcdir/configure  --help=recursive
947
998
    elif test -f $ac_srcdir/configure.ac ||
948
 
           test -f $ac_srcdir/configure.in; then
 
999
           test -f $ac_srcdir/configure.in; then
949
1000
      echo
950
1001
      $ac_configure --help
951
1002
    else
959
1010
if $ac_init_version; then
960
1011
  cat <<\_ACEOF
961
1012
 
962
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
963
 
Free Software Foundation, Inc.
 
1013
Copyright (C) 2003 Free Software Foundation, Inc.
964
1014
This configure script is free software; the Free Software Foundation
965
1015
gives unlimited permission to copy, distribute and modify it.
966
1016
 
976
1026
running configure, to aid debugging if configure makes a mistake.
977
1027
 
978
1028
It was created by $as_me, which was
979
 
generated by GNU Autoconf 2.53.  Invocation command line was
 
1029
generated by GNU Autoconf 2.59.  Invocation command line was
980
1030
 
981
1031
  $ $0 $@
982
1032
 
1028
1078
 
1029
1079
# Keep a trace of the command line.
1030
1080
# Strip out --no-create and --no-recursion so they do not pile up.
 
1081
# Strip out --silent because we don't want to record it for future runs.
1031
1082
# Also quote any args containing shell meta-characters.
 
1083
# Make two passes to allow for proper duplicate-argument suppression.
1032
1084
ac_configure_args=
 
1085
ac_configure_args0=
 
1086
ac_configure_args1=
1033
1087
ac_sep=
1034
 
for ac_arg
 
1088
ac_must_keep_next=false
 
1089
for ac_pass in 1 2
1035
1090
do
1036
 
  case $ac_arg in
1037
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1038
 
  | --no-cr | --no-c | -n ) continue ;;
1039
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1040
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1041
 
    continue ;;
1042
 
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1043
 
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1044
 
  esac
1045
 
  case " $ac_configure_args " in
1046
 
    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1047
 
    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1048
 
       ac_sep=" " ;;
1049
 
  esac
1050
 
  # Get rid of the leading space.
 
1091
  for ac_arg
 
1092
  do
 
1093
    case $ac_arg in
 
1094
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1095
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1096
    | -silent | --silent | --silen | --sile | --sil)
 
1097
      continue ;;
 
1098
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1099
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1100
    esac
 
1101
    case $ac_pass in
 
1102
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1103
    2)
 
1104
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1105
      if test $ac_must_keep_next = true; then
 
1106
        ac_must_keep_next=false # Got value, back to normal.
 
1107
      else
 
1108
        case $ac_arg in
 
1109
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1110
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1111
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1112
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1113
            case "$ac_configure_args0 " in
 
1114
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1115
            esac
 
1116
            ;;
 
1117
          -* ) ac_must_keep_next=true ;;
 
1118
        esac
 
1119
      fi
 
1120
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1121
      # Get rid of the leading space.
 
1122
      ac_sep=" "
 
1123
      ;;
 
1124
    esac
 
1125
  done
1051
1126
done
 
1127
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1128
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1052
1129
 
1053
1130
# When interrupted or exit'd, cleanup temporary files, and complete
1054
1131
# config.log.  We remove comments because anyway the quotes in there
1059
1136
  # Save into config.log some information that might help in debugging.
1060
1137
  {
1061
1138
    echo
 
1139
 
1062
1140
    cat <<\_ASBOX
1063
1141
## ---------------- ##
1064
1142
## Cache variables. ##
1071
1149
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1072
1150
    *ac_space=\ *)
1073
1151
      sed -n \
1074
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1075
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1152
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1153
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1076
1154
      ;;
1077
1155
    *)
1078
1156
      sed -n \
1079
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1157
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1080
1158
      ;;
1081
1159
    esac;
1082
1160
}
1083
1161
    echo
 
1162
 
 
1163
    cat <<\_ASBOX
 
1164
## ----------------- ##
 
1165
## Output variables. ##
 
1166
## ----------------- ##
 
1167
_ASBOX
 
1168
    echo
 
1169
    for ac_var in $ac_subst_vars
 
1170
    do
 
1171
      eval ac_val=$`echo $ac_var`
 
1172
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1173
    done | sort
 
1174
    echo
 
1175
 
 
1176
    if test -n "$ac_subst_files"; then
 
1177
      cat <<\_ASBOX
 
1178
## ------------- ##
 
1179
## Output files. ##
 
1180
## ------------- ##
 
1181
_ASBOX
 
1182
      echo
 
1183
      for ac_var in $ac_subst_files
 
1184
      do
 
1185
        eval ac_val=$`echo $ac_var`
 
1186
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1187
      done | sort
 
1188
      echo
 
1189
    fi
 
1190
 
1084
1191
    if test -s confdefs.h; then
1085
1192
      cat <<\_ASBOX
1086
1193
## ----------- ##
1088
1195
## ----------- ##
1089
1196
_ASBOX
1090
1197
      echo
1091
 
      sed "/^$/d" confdefs.h
 
1198
      sed "/^$/d" confdefs.h | sort
1092
1199
      echo
1093
1200
    fi
1094
1201
    test "$ac_signal" != 0 &&
1095
1202
      echo "$as_me: caught signal $ac_signal"
1096
1203
    echo "$as_me: exit $exit_status"
1097
1204
  } >&5
1098
 
  rm -f core core.* *.core &&
 
1205
  rm -f core *.core &&
1099
1206
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1100
1207
    exit $exit_status
1101
1208
     ' 0
1175
1282
# value.
1176
1283
ac_cache_corrupted=false
1177
1284
for ac_var in `(set) 2>&1 |
1178
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1285
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1179
1286
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1180
1287
  eval ac_new_set=\$ac_env_${ac_var}_set
1181
1288
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1192
1299
    ,);;
1193
1300
    *)
1194
1301
      if test "x$ac_old_val" != "x$ac_new_val"; then
1195
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1302
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1196
1303
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1197
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1304
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1198
1305
echo "$as_me:   former value:  $ac_old_val" >&2;}
1199
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1306
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1200
1307
echo "$as_me:   current value: $ac_new_val" >&2;}
1201
 
        ac_cache_corrupted=:
 
1308
        ac_cache_corrupted=:
1202
1309
      fi;;
1203
1310
  esac
1204
1311
  # Pass precious variables to config.status.
1246
1353
 
1247
1354
 
1248
1355
 
 
1356
 
1249
1357
ac_reltopdir=
1250
1358
for x in . .. ../.. ../../.. ../../../..; do
1251
1359
        if test "x$ac_reltopdir" = "x" -a -r "$srcdir/$x/aclocal.m4" ; then
1502
1610
    # However, it has the same basename, so the bogon will be chosen
1503
1611
    # first if we set CC to just the basename; use the full file name.
1504
1612
    shift
1505
 
    set dummy "$as_dir/$ac_word" ${1+"$@"}
1506
 
    shift
1507
 
    ac_cv_prog_CC="$@"
 
1613
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1508
1614
  fi
1509
1615
fi
1510
1616
fi
1609
1715
fi
1610
1716
 
1611
1717
 
1612
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1613
 
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
 
1718
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
1719
See \`config.log' for more details." >&5
 
1720
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
1721
See \`config.log' for more details." >&2;}
1614
1722
   { (exit 1); exit 1; }; }
1615
1723
 
1616
1724
# Provide some information about the compiler.
1634
1742
  (exit $ac_status); }
1635
1743
 
1636
1744
cat >conftest.$ac_ext <<_ACEOF
1637
 
#line $LINENO "configure"
1638
 
#include "confdefs.h"
 
1745
/* confdefs.h.  */
 
1746
_ACEOF
 
1747
cat confdefs.h >>conftest.$ac_ext
 
1748
cat >>conftest.$ac_ext <<_ACEOF
 
1749
/* end confdefs.h.  */
1639
1750
 
1640
 
#ifdef F77_DUMMY_MAIN
1641
 
#  ifdef __cplusplus
1642
 
     extern "C"
1643
 
#  endif
1644
 
   int F77_DUMMY_MAIN() { return 1; }
1645
 
#endif
1646
1751
int
1647
1752
main ()
1648
1753
{
1652
1757
}
1653
1758
_ACEOF
1654
1759
ac_clean_files_save=$ac_clean_files
1655
 
ac_clean_files="$ac_clean_files a.out a.exe"
 
1760
ac_clean_files="$ac_clean_files a.out a.exe b.out"
1656
1761
# Try to create an executable without -o first, disregard a.out.
1657
1762
# It will help us diagnose broken compilers, and finding out an intuition
1658
1763
# of exeext.
1659
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
1660
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
1764
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
1765
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1661
1766
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1662
1767
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1663
1768
  (eval $ac_link_default) 2>&5
1671
1776
# Be careful to initialize this variable, since it used to be cached.
1672
1777
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1673
1778
ac_cv_exeext=
1674
 
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1675
 
                ls a.out conftest 2>/dev/null;
1676
 
                ls a.* conftest.* 2>/dev/null`; do
 
1779
# b.out is created by i960 compilers.
 
1780
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
1781
do
 
1782
  test -f "$ac_file" || continue
1677
1783
  case $ac_file in
1678
 
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1679
 
    a.out ) # We found the default executable, but exeext='' is most
1680
 
            # certainly right.
1681
 
            break;;
1682
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1683
 
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1684
 
          export ac_cv_exeext
1685
 
          break;;
1686
 
    * ) break;;
 
1784
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 
1785
        ;;
 
1786
    conftest.$ac_ext )
 
1787
        # This is the source file.
 
1788
        ;;
 
1789
    [ab].out )
 
1790
        # We found the default executable, but exeext='' is most
 
1791
        # certainly right.
 
1792
        break;;
 
1793
    *.* )
 
1794
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
1795
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
1796
        # but it would be cool to find out if it's true.  Does anybody
 
1797
        # maintain Libtool? --akim.
 
1798
        export ac_cv_exeext
 
1799
        break;;
 
1800
    * )
 
1801
        break;;
1687
1802
  esac
1688
1803
done
1689
1804
else
1690
1805
  echo "$as_me: failed program was:" >&5
1691
 
cat conftest.$ac_ext >&5
1692
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1693
 
echo "$as_me: error: C compiler cannot create executables" >&2;}
 
1806
sed 's/^/| /' conftest.$ac_ext >&5
 
1807
 
 
1808
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
1809
See \`config.log' for more details." >&5
 
1810
echo "$as_me: error: C compiler cannot create executables
 
1811
See \`config.log' for more details." >&2;}
1694
1812
   { (exit 77); exit 77; }; }
1695
1813
fi
1696
1814
 
1717
1835
        cross_compiling=yes
1718
1836
    else
1719
1837
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1720
 
If you meant to cross compile, use \`--host'." >&5
 
1838
If you meant to cross compile, use \`--host'.
 
1839
See \`config.log' for more details." >&5
1721
1840
echo "$as_me: error: cannot run C compiled programs.
1722
 
If you meant to cross compile, use \`--host'." >&2;}
 
1841
If you meant to cross compile, use \`--host'.
 
1842
See \`config.log' for more details." >&2;}
1723
1843
   { (exit 1); exit 1; }; }
1724
1844
    fi
1725
1845
  fi
1727
1847
echo "$as_me:$LINENO: result: yes" >&5
1728
1848
echo "${ECHO_T}yes" >&6
1729
1849
 
1730
 
rm -f a.out a.exe conftest$ac_cv_exeext
 
1850
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1731
1851
ac_clean_files=$ac_clean_files_save
1732
1852
# Check the compiler produces executables we can run.  If not, either
1733
1853
# the compiler is broken, or we cross compile.
1747
1867
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1748
1868
# work properly (i.e., refer to `conftest.exe'), while it won't with
1749
1869
# `rm'.
1750
 
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
 
1870
for ac_file in conftest.exe conftest conftest.*; do
 
1871
  test -f "$ac_file" || continue
1751
1872
  case $ac_file in
1752
 
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
 
1873
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1753
1874
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1754
 
          export ac_cv_exeext
1755
 
          break;;
 
1875
          export ac_cv_exeext
 
1876
          break;;
1756
1877
    * ) break;;
1757
1878
  esac
1758
1879
done
1759
1880
else
1760
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1761
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
 
1881
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
1882
See \`config.log' for more details." >&5
 
1883
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
1884
See \`config.log' for more details." >&2;}
1762
1885
   { (exit 1); exit 1; }; }
1763
1886
fi
1764
1887
 
1775
1898
  echo $ECHO_N "(cached) $ECHO_C" >&6
1776
1899
else
1777
1900
  cat >conftest.$ac_ext <<_ACEOF
1778
 
#line $LINENO "configure"
1779
 
#include "confdefs.h"
 
1901
/* confdefs.h.  */
 
1902
_ACEOF
 
1903
cat confdefs.h >>conftest.$ac_ext
 
1904
cat >>conftest.$ac_ext <<_ACEOF
 
1905
/* end confdefs.h.  */
1780
1906
 
1781
 
#ifdef F77_DUMMY_MAIN
1782
 
#  ifdef __cplusplus
1783
 
     extern "C"
1784
 
#  endif
1785
 
   int F77_DUMMY_MAIN() { return 1; }
1786
 
#endif
1787
1907
int
1788
1908
main ()
1789
1909
{
1800
1920
  (exit $ac_status); }; then
1801
1921
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1802
1922
  case $ac_file in
1803
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
 
1923
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1804
1924
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1805
1925
       break;;
1806
1926
  esac
1807
1927
done
1808
1928
else
1809
1929
  echo "$as_me: failed program was:" >&5
1810
 
cat conftest.$ac_ext >&5
1811
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1812
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
 
1930
sed 's/^/| /' conftest.$ac_ext >&5
 
1931
 
 
1932
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
1933
See \`config.log' for more details." >&5
 
1934
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
1935
See \`config.log' for more details." >&2;}
1813
1936
   { (exit 1); exit 1; }; }
1814
1937
fi
1815
1938
 
1825
1948
  echo $ECHO_N "(cached) $ECHO_C" >&6
1826
1949
else
1827
1950
  cat >conftest.$ac_ext <<_ACEOF
1828
 
#line $LINENO "configure"
1829
 
#include "confdefs.h"
 
1951
/* confdefs.h.  */
 
1952
_ACEOF
 
1953
cat confdefs.h >>conftest.$ac_ext
 
1954
cat >>conftest.$ac_ext <<_ACEOF
 
1955
/* end confdefs.h.  */
1830
1956
 
1831
 
#ifdef F77_DUMMY_MAIN
1832
 
#  ifdef __cplusplus
1833
 
     extern "C"
1834
 
#  endif
1835
 
   int F77_DUMMY_MAIN() { return 1; }
1836
 
#endif
1837
1957
int
1838
1958
main ()
1839
1959
{
1847
1967
_ACEOF
1848
1968
rm -f conftest.$ac_objext
1849
1969
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1850
 
  (eval $ac_compile) 2>&5
 
1970
  (eval $ac_compile) 2>conftest.er1
1851
1971
  ac_status=$?
 
1972
  grep -v '^ *+' conftest.er1 >conftest.err
 
1973
  rm -f conftest.er1
 
1974
  cat conftest.err >&5
1852
1975
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1853
1976
  (exit $ac_status); } &&
1854
 
         { ac_try='test -s conftest.$ac_objext'
 
1977
         { ac_try='test -z "$ac_c_werror_flag"
 
1978
                         || test ! -s conftest.err'
 
1979
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
1980
  (eval $ac_try) 2>&5
 
1981
  ac_status=$?
 
1982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1983
  (exit $ac_status); }; } &&
 
1984
         { ac_try='test -s conftest.$ac_objext'
1855
1985
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1856
1986
  (eval $ac_try) 2>&5
1857
1987
  ac_status=$?
1860
1990
  ac_compiler_gnu=yes
1861
1991
else
1862
1992
  echo "$as_me: failed program was:" >&5
1863
 
cat conftest.$ac_ext >&5
 
1993
sed 's/^/| /' conftest.$ac_ext >&5
 
1994
 
1864
1995
ac_compiler_gnu=no
1865
1996
fi
1866
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
1997
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1867
1998
ac_cv_c_compiler_gnu=$ac_compiler_gnu
1868
1999
 
1869
2000
fi
1879
2010
  echo $ECHO_N "(cached) $ECHO_C" >&6
1880
2011
else
1881
2012
  cat >conftest.$ac_ext <<_ACEOF
1882
 
#line $LINENO "configure"
1883
 
#include "confdefs.h"
 
2013
/* confdefs.h.  */
 
2014
_ACEOF
 
2015
cat confdefs.h >>conftest.$ac_ext
 
2016
cat >>conftest.$ac_ext <<_ACEOF
 
2017
/* end confdefs.h.  */
1884
2018
 
1885
 
#ifdef F77_DUMMY_MAIN
1886
 
#  ifdef __cplusplus
1887
 
     extern "C"
1888
 
#  endif
1889
 
   int F77_DUMMY_MAIN() { return 1; }
1890
 
#endif
1891
2019
int
1892
2020
main ()
1893
2021
{
1898
2026
_ACEOF
1899
2027
rm -f conftest.$ac_objext
1900
2028
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1901
 
  (eval $ac_compile) 2>&5
 
2029
  (eval $ac_compile) 2>conftest.er1
1902
2030
  ac_status=$?
 
2031
  grep -v '^ *+' conftest.er1 >conftest.err
 
2032
  rm -f conftest.er1
 
2033
  cat conftest.err >&5
1903
2034
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1904
2035
  (exit $ac_status); } &&
1905
 
         { ac_try='test -s conftest.$ac_objext'
 
2036
         { ac_try='test -z "$ac_c_werror_flag"
 
2037
                         || test ! -s conftest.err'
 
2038
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2039
  (eval $ac_try) 2>&5
 
2040
  ac_status=$?
 
2041
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2042
  (exit $ac_status); }; } &&
 
2043
         { ac_try='test -s conftest.$ac_objext'
1906
2044
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1907
2045
  (eval $ac_try) 2>&5
1908
2046
  ac_status=$?
1911
2049
  ac_cv_prog_cc_g=yes
1912
2050
else
1913
2051
  echo "$as_me: failed program was:" >&5
1914
 
cat conftest.$ac_ext >&5
 
2052
sed 's/^/| /' conftest.$ac_ext >&5
 
2053
 
1915
2054
ac_cv_prog_cc_g=no
1916
2055
fi
1917
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2056
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1918
2057
fi
1919
2058
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1920
2059
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1933
2072
    CFLAGS=
1934
2073
  fi
1935
2074
fi
1936
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
1937
 
# in C++ we need to declare it.  In case someone uses the same compiler
1938
 
# for both compiling C and C++ we need to have the C++ compiler decide
1939
 
# the declaration of exit, since it's the most demanding environment.
1940
 
cat >conftest.$ac_ext <<_ACEOF
1941
 
#ifndef __cplusplus
1942
 
  choke me
1943
 
#endif
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
 
  for ac_declaration in \
1958
 
   ''\
1959
 
   '#include <stdlib.h>' \
1960
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
1961
 
   'extern "C" void std::exit (int); using std::exit;' \
1962
 
   'extern "C" void exit (int) throw ();' \
1963
 
   'extern "C" void exit (int);' \
1964
 
   'void exit (int);'
1965
 
do
1966
 
  cat >conftest.$ac_ext <<_ACEOF
1967
 
#line $LINENO "configure"
1968
 
#include "confdefs.h"
1969
 
#include <stdlib.h>
1970
 
$ac_declaration
1971
 
#ifdef F77_DUMMY_MAIN
1972
 
#  ifdef __cplusplus
1973
 
     extern "C"
1974
 
#  endif
1975
 
   int F77_DUMMY_MAIN() { return 1; }
1976
 
#endif
1977
 
int
1978
 
main ()
1979
 
{
1980
 
exit (42);
1981
 
  ;
1982
 
  return 0;
1983
 
}
1984
 
_ACEOF
1985
 
rm -f conftest.$ac_objext
1986
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1987
 
  (eval $ac_compile) 2>&5
1988
 
  ac_status=$?
1989
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1990
 
  (exit $ac_status); } &&
1991
 
         { ac_try='test -s conftest.$ac_objext'
1992
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1993
 
  (eval $ac_try) 2>&5
1994
 
  ac_status=$?
1995
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1996
 
  (exit $ac_status); }; }; then
1997
 
  :
1998
 
else
1999
 
  echo "$as_me: failed program was:" >&5
2000
 
cat conftest.$ac_ext >&5
2001
 
continue
2002
 
fi
2003
 
rm -f conftest.$ac_objext conftest.$ac_ext
2004
 
  cat >conftest.$ac_ext <<_ACEOF
2005
 
#line $LINENO "configure"
2006
 
#include "confdefs.h"
2007
 
$ac_declaration
2008
 
#ifdef F77_DUMMY_MAIN
2009
 
#  ifdef __cplusplus
2010
 
     extern "C"
2011
 
#  endif
2012
 
   int F77_DUMMY_MAIN() { return 1; }
2013
 
#endif
2014
 
int
2015
 
main ()
2016
 
{
2017
 
exit (42);
2018
 
  ;
2019
 
  return 0;
2020
 
}
2021
 
_ACEOF
2022
 
rm -f conftest.$ac_objext
2023
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2024
 
  (eval $ac_compile) 2>&5
2025
 
  ac_status=$?
2026
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2027
 
  (exit $ac_status); } &&
2028
 
         { ac_try='test -s conftest.$ac_objext'
2029
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2030
 
  (eval $ac_try) 2>&5
2031
 
  ac_status=$?
2032
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2033
 
  (exit $ac_status); }; }; then
2034
 
  break
2035
 
else
2036
 
  echo "$as_me: failed program was:" >&5
2037
 
cat conftest.$ac_ext >&5
2038
 
fi
2039
 
rm -f conftest.$ac_objext conftest.$ac_ext
2040
 
done
2041
 
rm -f conftest*
2042
 
if test -n "$ac_declaration"; then
2043
 
  echo '#ifdef __cplusplus' >>confdefs.h
2044
 
  echo $ac_declaration      >>confdefs.h
2045
 
  echo '#endif'             >>confdefs.h
2046
 
fi
2047
 
 
2048
 
else
2049
 
  echo "$as_me: failed program was:" >&5
2050
 
cat conftest.$ac_ext >&5
2051
 
fi
2052
 
rm -f conftest.$ac_objext conftest.$ac_ext
2053
 
ac_ext=c
2054
 
ac_cpp='$CPP $CPPFLAGS'
2055
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2056
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2057
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2058
 
 
2059
 
 
2060
 
ac_ext=c
2061
 
ac_cpp='$CPP $CPPFLAGS'
2062
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2063
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2064
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2065
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2066
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2067
 
# On Suns, sometimes $CPP names a directory.
2068
 
if test -n "$CPP" && test -d "$CPP"; then
2069
 
  CPP=
2070
 
fi
2071
 
if test -z "$CPP"; then
2072
 
  if test "${ac_cv_prog_CPP+set}" = set; then
2073
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2074
 
else
2075
 
      # Double quotes because CPP needs to be expanded
2076
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2077
 
    do
2078
 
      ac_preproc_ok=false
2079
 
for ac_c_preproc_warn_flag in '' yes
2080
 
do
2081
 
  # Use a header file that comes with gcc, so configuring glibc
2082
 
  # with a fresh cross-compiler works.
2083
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
2084
 
  # not just through cpp. "Syntax error" is here to catch this case.
2085
 
  cat >conftest.$ac_ext <<_ACEOF
2086
 
#line $LINENO "configure"
2087
 
#include "confdefs.h"
2088
 
#include <assert.h>
2089
 
                     Syntax error
2090
 
_ACEOF
2091
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2092
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2093
 
  ac_status=$?
2094
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2095
 
  rm -f conftest.er1
2096
 
  cat conftest.err >&5
2097
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098
 
  (exit $ac_status); } >/dev/null; then
2099
 
  if test -s conftest.err; then
2100
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2101
 
  else
2102
 
    ac_cpp_err=
2103
 
  fi
2104
 
else
2105
 
  ac_cpp_err=yes
2106
 
fi
2107
 
if test -z "$ac_cpp_err"; then
2108
 
  :
2109
 
else
2110
 
  echo "$as_me: failed program was:" >&5
2111
 
  cat conftest.$ac_ext >&5
2112
 
  # Broken: fails on valid input.
2113
 
continue
2114
 
fi
2115
 
rm -f conftest.err conftest.$ac_ext
2116
 
 
2117
 
  # OK, works on sane cases.  Now check whether non-existent headers
2118
 
  # can be detected and how.
2119
 
  cat >conftest.$ac_ext <<_ACEOF
2120
 
#line $LINENO "configure"
2121
 
#include "confdefs.h"
2122
 
#include <ac_nonexistent.h>
2123
 
_ACEOF
2124
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2125
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2126
 
  ac_status=$?
2127
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2128
 
  rm -f conftest.er1
2129
 
  cat conftest.err >&5
2130
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131
 
  (exit $ac_status); } >/dev/null; then
2132
 
  if test -s conftest.err; then
2133
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2134
 
  else
2135
 
    ac_cpp_err=
2136
 
  fi
2137
 
else
2138
 
  ac_cpp_err=yes
2139
 
fi
2140
 
if test -z "$ac_cpp_err"; then
2141
 
  # Broken: success on invalid input.
2142
 
continue
2143
 
else
2144
 
  echo "$as_me: failed program was:" >&5
2145
 
  cat conftest.$ac_ext >&5
2146
 
  # Passes both tests.
2147
 
ac_preproc_ok=:
2148
 
break
2149
 
fi
2150
 
rm -f conftest.err conftest.$ac_ext
2151
 
 
2152
 
done
2153
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2154
 
rm -f conftest.err conftest.$ac_ext
2155
 
if $ac_preproc_ok; then
2156
 
  break
2157
 
fi
2158
 
 
2159
 
    done
2160
 
    ac_cv_prog_CPP=$CPP
2161
 
 
2162
 
fi
2163
 
  CPP=$ac_cv_prog_CPP
2164
 
else
2165
 
  ac_cv_prog_CPP=$CPP
2166
 
fi
2167
 
echo "$as_me:$LINENO: result: $CPP" >&5
2168
 
echo "${ECHO_T}$CPP" >&6
2169
 
ac_preproc_ok=false
2170
 
for ac_c_preproc_warn_flag in '' yes
2171
 
do
2172
 
  # Use a header file that comes with gcc, so configuring glibc
2173
 
  # with a fresh cross-compiler works.
2174
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
2175
 
  # not just through cpp. "Syntax error" is here to catch this case.
2176
 
  cat >conftest.$ac_ext <<_ACEOF
2177
 
#line $LINENO "configure"
2178
 
#include "confdefs.h"
2179
 
#include <assert.h>
2180
 
                     Syntax error
2181
 
_ACEOF
2182
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2183
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2184
 
  ac_status=$?
2185
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2186
 
  rm -f conftest.er1
2187
 
  cat conftest.err >&5
2188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189
 
  (exit $ac_status); } >/dev/null; then
2190
 
  if test -s conftest.err; then
2191
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2192
 
  else
2193
 
    ac_cpp_err=
2194
 
  fi
2195
 
else
2196
 
  ac_cpp_err=yes
2197
 
fi
2198
 
if test -z "$ac_cpp_err"; then
2199
 
  :
2200
 
else
2201
 
  echo "$as_me: failed program was:" >&5
2202
 
  cat conftest.$ac_ext >&5
2203
 
  # Broken: fails on valid input.
2204
 
continue
2205
 
fi
2206
 
rm -f conftest.err conftest.$ac_ext
2207
 
 
2208
 
  # OK, works on sane cases.  Now check whether non-existent headers
2209
 
  # can be detected and how.
2210
 
  cat >conftest.$ac_ext <<_ACEOF
2211
 
#line $LINENO "configure"
2212
 
#include "confdefs.h"
2213
 
#include <ac_nonexistent.h>
2214
 
_ACEOF
2215
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2216
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2217
 
  ac_status=$?
2218
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2219
 
  rm -f conftest.er1
2220
 
  cat conftest.err >&5
2221
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2222
 
  (exit $ac_status); } >/dev/null; then
2223
 
  if test -s conftest.err; then
2224
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2225
 
  else
2226
 
    ac_cpp_err=
2227
 
  fi
2228
 
else
2229
 
  ac_cpp_err=yes
2230
 
fi
2231
 
if test -z "$ac_cpp_err"; then
2232
 
  # Broken: success on invalid input.
2233
 
continue
2234
 
else
2235
 
  echo "$as_me: failed program was:" >&5
2236
 
  cat conftest.$ac_ext >&5
2237
 
  # Passes both tests.
2238
 
ac_preproc_ok=:
2239
 
break
2240
 
fi
2241
 
rm -f conftest.err conftest.$ac_ext
2242
 
 
2243
 
done
2244
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2245
 
rm -f conftest.err conftest.$ac_ext
2246
 
if $ac_preproc_ok; then
2247
 
  :
2248
 
else
2249
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2250
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2251
 
   { (exit 1); exit 1; }; }
2252
 
fi
2253
 
 
2254
 
ac_ext=c
2255
 
ac_cpp='$CPP $CPPFLAGS'
2256
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2257
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2258
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2259
 
 
2260
 
 
2261
2075
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2262
2076
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2263
2077
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2266
2080
  ac_cv_prog_cc_stdc=no
2267
2081
ac_save_CC=$CC
2268
2082
cat >conftest.$ac_ext <<_ACEOF
2269
 
#line $LINENO "configure"
2270
 
#include "confdefs.h"
 
2083
/* confdefs.h.  */
 
2084
_ACEOF
 
2085
cat confdefs.h >>conftest.$ac_ext
 
2086
cat >>conftest.$ac_ext <<_ACEOF
 
2087
/* end confdefs.h.  */
2271
2088
#include <stdarg.h>
2272
2089
#include <stdio.h>
2273
2090
#include <sys/types.h>
2290
2107
  va_end (v);
2291
2108
  return s;
2292
2109
}
 
2110
 
 
2111
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2112
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2113
   These don't provoke an error unfortunately, instead are silently treated
 
2114
   as 'x'.  The following induces an error, until -std1 is added to get
 
2115
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2116
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2117
   that's true only with -std1.  */
 
2118
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2119
 
2293
2120
int test (int i, double x);
2294
2121
struct s1 {int (*f) (int a);};
2295
2122
struct s2 {int (*f) (double a);};
2296
2123
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2297
2124
int argc;
2298
2125
char **argv;
2299
 
#ifdef F77_DUMMY_MAIN
2300
 
#  ifdef __cplusplus
2301
 
     extern "C"
2302
 
#  endif
2303
 
   int F77_DUMMY_MAIN() { return 1; }
2304
 
#endif
2305
2126
int
2306
2127
main ()
2307
2128
{
2322
2143
  CC="$ac_save_CC $ac_arg"
2323
2144
  rm -f conftest.$ac_objext
2324
2145
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2325
 
  (eval $ac_compile) 2>&5
 
2146
  (eval $ac_compile) 2>conftest.er1
2326
2147
  ac_status=$?
 
2148
  grep -v '^ *+' conftest.er1 >conftest.err
 
2149
  rm -f conftest.er1
 
2150
  cat conftest.err >&5
2327
2151
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328
2152
  (exit $ac_status); } &&
2329
 
         { ac_try='test -s conftest.$ac_objext'
 
2153
         { ac_try='test -z "$ac_c_werror_flag"
 
2154
                         || test ! -s conftest.err'
 
2155
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2156
  (eval $ac_try) 2>&5
 
2157
  ac_status=$?
 
2158
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2159
  (exit $ac_status); }; } &&
 
2160
         { ac_try='test -s conftest.$ac_objext'
2330
2161
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2331
2162
  (eval $ac_try) 2>&5
2332
2163
  ac_status=$?
2336
2167
break
2337
2168
else
2338
2169
  echo "$as_me: failed program was:" >&5
2339
 
cat conftest.$ac_ext >&5
 
2170
sed 's/^/| /' conftest.$ac_ext >&5
 
2171
 
2340
2172
fi
2341
 
rm -f conftest.$ac_objext
 
2173
rm -f conftest.err conftest.$ac_objext
2342
2174
done
2343
2175
rm -f conftest.$ac_ext conftest.$ac_objext
2344
2176
CC=$ac_save_CC
2355
2187
    CC="$CC $ac_cv_prog_cc_stdc" ;;
2356
2188
esac
2357
2189
 
 
2190
# Some people use a C++ compiler to compile C.  Since we use `exit',
 
2191
# in C++ we need to declare it.  In case someone uses the same compiler
 
2192
# for both compiling C and C++ we need to have the C++ compiler decide
 
2193
# the declaration of exit, since it's the most demanding environment.
 
2194
cat >conftest.$ac_ext <<_ACEOF
 
2195
#ifndef __cplusplus
 
2196
  choke me
 
2197
#endif
 
2198
_ACEOF
 
2199
rm -f conftest.$ac_objext
 
2200
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2201
  (eval $ac_compile) 2>conftest.er1
 
2202
  ac_status=$?
 
2203
  grep -v '^ *+' conftest.er1 >conftest.err
 
2204
  rm -f conftest.er1
 
2205
  cat conftest.err >&5
 
2206
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2207
  (exit $ac_status); } &&
 
2208
         { ac_try='test -z "$ac_c_werror_flag"
 
2209
                         || test ! -s conftest.err'
 
2210
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2211
  (eval $ac_try) 2>&5
 
2212
  ac_status=$?
 
2213
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2214
  (exit $ac_status); }; } &&
 
2215
         { ac_try='test -s conftest.$ac_objext'
 
2216
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2217
  (eval $ac_try) 2>&5
 
2218
  ac_status=$?
 
2219
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2220
  (exit $ac_status); }; }; then
 
2221
  for ac_declaration in \
 
2222
   '' \
 
2223
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
2224
   'extern "C" void std::exit (int); using std::exit;' \
 
2225
   'extern "C" void exit (int) throw ();' \
 
2226
   'extern "C" void exit (int);' \
 
2227
   'void exit (int);'
 
2228
do
 
2229
  cat >conftest.$ac_ext <<_ACEOF
 
2230
/* confdefs.h.  */
 
2231
_ACEOF
 
2232
cat confdefs.h >>conftest.$ac_ext
 
2233
cat >>conftest.$ac_ext <<_ACEOF
 
2234
/* end confdefs.h.  */
 
2235
$ac_declaration
 
2236
#include <stdlib.h>
 
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"
 
2255
                         || test ! -s conftest.err'
 
2256
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2257
  (eval $ac_try) 2>&5
 
2258
  ac_status=$?
 
2259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2260
  (exit $ac_status); }; } &&
 
2261
         { ac_try='test -s conftest.$ac_objext'
 
2262
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2263
  (eval $ac_try) 2>&5
 
2264
  ac_status=$?
 
2265
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2266
  (exit $ac_status); }; }; then
 
2267
  :
 
2268
else
 
2269
  echo "$as_me: failed program was:" >&5
 
2270
sed 's/^/| /' conftest.$ac_ext >&5
 
2271
 
 
2272
continue
 
2273
fi
 
2274
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2275
  cat >conftest.$ac_ext <<_ACEOF
 
2276
/* confdefs.h.  */
 
2277
_ACEOF
 
2278
cat confdefs.h >>conftest.$ac_ext
 
2279
cat >>conftest.$ac_ext <<_ACEOF
 
2280
/* end confdefs.h.  */
 
2281
$ac_declaration
 
2282
int
 
2283
main ()
 
2284
{
 
2285
exit (42);
 
2286
  ;
 
2287
  return 0;
 
2288
}
 
2289
_ACEOF
 
2290
rm -f conftest.$ac_objext
 
2291
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2292
  (eval $ac_compile) 2>conftest.er1
 
2293
  ac_status=$?
 
2294
  grep -v '^ *+' conftest.er1 >conftest.err
 
2295
  rm -f conftest.er1
 
2296
  cat conftest.err >&5
 
2297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2298
  (exit $ac_status); } &&
 
2299
         { ac_try='test -z "$ac_c_werror_flag"
 
2300
                         || test ! -s conftest.err'
 
2301
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2302
  (eval $ac_try) 2>&5
 
2303
  ac_status=$?
 
2304
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2305
  (exit $ac_status); }; } &&
 
2306
         { ac_try='test -s conftest.$ac_objext'
 
2307
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2308
  (eval $ac_try) 2>&5
 
2309
  ac_status=$?
 
2310
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2311
  (exit $ac_status); }; }; then
 
2312
  break
 
2313
else
 
2314
  echo "$as_me: failed program was:" >&5
 
2315
sed 's/^/| /' conftest.$ac_ext >&5
 
2316
 
 
2317
fi
 
2318
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2319
done
 
2320
rm -f conftest*
 
2321
if test -n "$ac_declaration"; then
 
2322
  echo '#ifdef __cplusplus' >>confdefs.h
 
2323
  echo $ac_declaration      >>confdefs.h
 
2324
  echo '#endif'             >>confdefs.h
 
2325
fi
 
2326
 
 
2327
else
 
2328
  echo "$as_me: failed program was:" >&5
 
2329
sed 's/^/| /' conftest.$ac_ext >&5
 
2330
 
 
2331
fi
 
2332
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2333
ac_ext=c
 
2334
ac_cpp='$CPP $CPPFLAGS'
 
2335
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2336
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2337
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2338
 
 
2339
 
 
2340
ac_ext=c
 
2341
ac_cpp='$CPP $CPPFLAGS'
 
2342
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2343
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2344
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2345
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
2346
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
2347
# On Suns, sometimes $CPP names a directory.
 
2348
if test -n "$CPP" && test -d "$CPP"; then
 
2349
  CPP=
 
2350
fi
 
2351
if test -z "$CPP"; then
 
2352
  if test "${ac_cv_prog_CPP+set}" = set; then
 
2353
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2354
else
 
2355
      # Double quotes because CPP needs to be expanded
 
2356
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
2357
    do
 
2358
      ac_preproc_ok=false
 
2359
for ac_c_preproc_warn_flag in '' yes
 
2360
do
 
2361
  # Use a header file that comes with gcc, so configuring glibc
 
2362
  # with a fresh cross-compiler works.
 
2363
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2364
  # <limits.h> exists even on freestanding compilers.
 
2365
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
2366
  # not just through cpp. "Syntax error" is here to catch this case.
 
2367
  cat >conftest.$ac_ext <<_ACEOF
 
2368
/* confdefs.h.  */
 
2369
_ACEOF
 
2370
cat confdefs.h >>conftest.$ac_ext
 
2371
cat >>conftest.$ac_ext <<_ACEOF
 
2372
/* end confdefs.h.  */
 
2373
#ifdef __STDC__
 
2374
# include <limits.h>
 
2375
#else
 
2376
# include <assert.h>
 
2377
#endif
 
2378
                     Syntax error
 
2379
_ACEOF
 
2380
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2381
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2382
  ac_status=$?
 
2383
  grep -v '^ *+' conftest.er1 >conftest.err
 
2384
  rm -f conftest.er1
 
2385
  cat conftest.err >&5
 
2386
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2387
  (exit $ac_status); } >/dev/null; then
 
2388
  if test -s conftest.err; then
 
2389
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2390
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
2391
  else
 
2392
    ac_cpp_err=
 
2393
  fi
 
2394
else
 
2395
  ac_cpp_err=yes
 
2396
fi
 
2397
if test -z "$ac_cpp_err"; then
 
2398
  :
 
2399
else
 
2400
  echo "$as_me: failed program was:" >&5
 
2401
sed 's/^/| /' conftest.$ac_ext >&5
 
2402
 
 
2403
  # Broken: fails on valid input.
 
2404
continue
 
2405
fi
 
2406
rm -f conftest.err conftest.$ac_ext
 
2407
 
 
2408
  # OK, works on sane cases.  Now check whether non-existent headers
 
2409
  # can be detected and how.
 
2410
  cat >conftest.$ac_ext <<_ACEOF
 
2411
/* confdefs.h.  */
 
2412
_ACEOF
 
2413
cat confdefs.h >>conftest.$ac_ext
 
2414
cat >>conftest.$ac_ext <<_ACEOF
 
2415
/* end confdefs.h.  */
 
2416
#include <ac_nonexistent.h>
 
2417
_ACEOF
 
2418
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2419
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2420
  ac_status=$?
 
2421
  grep -v '^ *+' conftest.er1 >conftest.err
 
2422
  rm -f conftest.er1
 
2423
  cat conftest.err >&5
 
2424
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2425
  (exit $ac_status); } >/dev/null; then
 
2426
  if test -s conftest.err; then
 
2427
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2428
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
2429
  else
 
2430
    ac_cpp_err=
 
2431
  fi
 
2432
else
 
2433
  ac_cpp_err=yes
 
2434
fi
 
2435
if test -z "$ac_cpp_err"; then
 
2436
  # Broken: success on invalid input.
 
2437
continue
 
2438
else
 
2439
  echo "$as_me: failed program was:" >&5
 
2440
sed 's/^/| /' conftest.$ac_ext >&5
 
2441
 
 
2442
  # Passes both tests.
 
2443
ac_preproc_ok=:
 
2444
break
 
2445
fi
 
2446
rm -f conftest.err conftest.$ac_ext
 
2447
 
 
2448
done
 
2449
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
2450
rm -f conftest.err conftest.$ac_ext
 
2451
if $ac_preproc_ok; then
 
2452
  break
 
2453
fi
 
2454
 
 
2455
    done
 
2456
    ac_cv_prog_CPP=$CPP
 
2457
 
 
2458
fi
 
2459
  CPP=$ac_cv_prog_CPP
 
2460
else
 
2461
  ac_cv_prog_CPP=$CPP
 
2462
fi
 
2463
echo "$as_me:$LINENO: result: $CPP" >&5
 
2464
echo "${ECHO_T}$CPP" >&6
 
2465
ac_preproc_ok=false
 
2466
for ac_c_preproc_warn_flag in '' yes
 
2467
do
 
2468
  # Use a header file that comes with gcc, so configuring glibc
 
2469
  # with a fresh cross-compiler works.
 
2470
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2471
  # <limits.h> exists even on freestanding compilers.
 
2472
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
2473
  # not just through cpp. "Syntax error" is here to catch this case.
 
2474
  cat >conftest.$ac_ext <<_ACEOF
 
2475
/* confdefs.h.  */
 
2476
_ACEOF
 
2477
cat confdefs.h >>conftest.$ac_ext
 
2478
cat >>conftest.$ac_ext <<_ACEOF
 
2479
/* end confdefs.h.  */
 
2480
#ifdef __STDC__
 
2481
# include <limits.h>
 
2482
#else
 
2483
# include <assert.h>
 
2484
#endif
 
2485
                     Syntax error
 
2486
_ACEOF
 
2487
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2488
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2489
  ac_status=$?
 
2490
  grep -v '^ *+' conftest.er1 >conftest.err
 
2491
  rm -f conftest.er1
 
2492
  cat conftest.err >&5
 
2493
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2494
  (exit $ac_status); } >/dev/null; then
 
2495
  if test -s conftest.err; then
 
2496
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2497
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
2498
  else
 
2499
    ac_cpp_err=
 
2500
  fi
 
2501
else
 
2502
  ac_cpp_err=yes
 
2503
fi
 
2504
if test -z "$ac_cpp_err"; then
 
2505
  :
 
2506
else
 
2507
  echo "$as_me: failed program was:" >&5
 
2508
sed 's/^/| /' conftest.$ac_ext >&5
 
2509
 
 
2510
  # Broken: fails on valid input.
 
2511
continue
 
2512
fi
 
2513
rm -f conftest.err conftest.$ac_ext
 
2514
 
 
2515
  # OK, works on sane cases.  Now check whether non-existent headers
 
2516
  # can be detected and how.
 
2517
  cat >conftest.$ac_ext <<_ACEOF
 
2518
/* confdefs.h.  */
 
2519
_ACEOF
 
2520
cat confdefs.h >>conftest.$ac_ext
 
2521
cat >>conftest.$ac_ext <<_ACEOF
 
2522
/* end confdefs.h.  */
 
2523
#include <ac_nonexistent.h>
 
2524
_ACEOF
 
2525
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2526
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2527
  ac_status=$?
 
2528
  grep -v '^ *+' conftest.er1 >conftest.err
 
2529
  rm -f conftest.er1
 
2530
  cat conftest.err >&5
 
2531
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2532
  (exit $ac_status); } >/dev/null; then
 
2533
  if test -s conftest.err; then
 
2534
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2535
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
2536
  else
 
2537
    ac_cpp_err=
 
2538
  fi
 
2539
else
 
2540
  ac_cpp_err=yes
 
2541
fi
 
2542
if test -z "$ac_cpp_err"; then
 
2543
  # Broken: success on invalid input.
 
2544
continue
 
2545
else
 
2546
  echo "$as_me: failed program was:" >&5
 
2547
sed 's/^/| /' conftest.$ac_ext >&5
 
2548
 
 
2549
  # Passes both tests.
 
2550
ac_preproc_ok=:
 
2551
break
 
2552
fi
 
2553
rm -f conftest.err conftest.$ac_ext
 
2554
 
 
2555
done
 
2556
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
2557
rm -f conftest.err conftest.$ac_ext
 
2558
if $ac_preproc_ok; then
 
2559
  :
 
2560
else
 
2561
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
2562
See \`config.log' for more details." >&5
 
2563
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
2564
See \`config.log' for more details." >&2;}
 
2565
   { (exit 1); exit 1; }; }
 
2566
fi
 
2567
 
 
2568
ac_ext=c
 
2569
ac_cpp='$CPP $CPPFLAGS'
 
2570
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2571
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2572
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2573
 
 
2574
 
2358
2575
# Make sure we can run config.sub.
2359
2576
$ac_config_sub sun4 >/dev/null 2>&1 ||
2360
2577
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2591
2808
  ac_check_lib_save_LIBS=$LIBS
2592
2809
LIBS="-lcom_err  $LIBS"
2593
2810
cat >conftest.$ac_ext <<_ACEOF
2594
 
#line $LINENO "configure"
2595
 
#include "confdefs.h"
 
2811
/* confdefs.h.  */
 
2812
_ACEOF
 
2813
cat confdefs.h >>conftest.$ac_ext
 
2814
cat >>conftest.$ac_ext <<_ACEOF
 
2815
/* end confdefs.h.  */
2596
2816
 
2597
2817
/* Override any gcc2 internal prototype to avoid an error.  */
2598
2818
#ifdef __cplusplus
2601
2821
/* We use char because int might match the return type of a gcc2
2602
2822
   builtin and then its argument prototype would still apply.  */
2603
2823
char add_error_table ();
2604
 
#ifdef F77_DUMMY_MAIN
2605
 
#  ifdef __cplusplus
2606
 
     extern "C"
2607
 
#  endif
2608
 
   int F77_DUMMY_MAIN() { return 1; }
2609
 
#endif
2610
2824
int
2611
2825
main ()
2612
2826
{
2617
2831
_ACEOF
2618
2832
rm -f conftest.$ac_objext conftest$ac_exeext
2619
2833
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2620
 
  (eval $ac_link) 2>&5
 
2834
  (eval $ac_link) 2>conftest.er1
2621
2835
  ac_status=$?
 
2836
  grep -v '^ *+' conftest.er1 >conftest.err
 
2837
  rm -f conftest.er1
 
2838
  cat conftest.err >&5
2622
2839
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623
2840
  (exit $ac_status); } &&
2624
 
         { ac_try='test -s conftest$ac_exeext'
 
2841
         { ac_try='test -z "$ac_c_werror_flag"
 
2842
                         || test ! -s conftest.err'
 
2843
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2844
  (eval $ac_try) 2>&5
 
2845
  ac_status=$?
 
2846
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2847
  (exit $ac_status); }; } &&
 
2848
         { ac_try='test -s conftest$ac_exeext'
2625
2849
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2626
2850
  (eval $ac_try) 2>&5
2627
2851
  ac_status=$?
2630
2854
  ac_cv_lib_com_err_add_error_table=yes
2631
2855
else
2632
2856
  echo "$as_me: failed program was:" >&5
2633
 
cat conftest.$ac_ext >&5
 
2857
sed 's/^/| /' conftest.$ac_ext >&5
 
2858
 
2634
2859
ac_cv_lib_com_err_add_error_table=no
2635
2860
fi
2636
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
2861
rm -f conftest.err conftest.$ac_objext \
 
2862
      conftest$ac_exeext conftest.$ac_ext
2637
2863
LIBS=$ac_check_lib_save_LIBS
2638
2864
fi
2639
2865
echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_add_error_table" >&5
2654
2880
  ac_check_lib_save_LIBS=$LIBS
2655
2881
LIBS="-lcom_err  $LIBS"
2656
2882
cat >conftest.$ac_ext <<_ACEOF
2657
 
#line $LINENO "configure"
2658
 
#include "confdefs.h"
 
2883
/* confdefs.h.  */
 
2884
_ACEOF
 
2885
cat confdefs.h >>conftest.$ac_ext
 
2886
cat >>conftest.$ac_ext <<_ACEOF
 
2887
/* end confdefs.h.  */
2659
2888
 
2660
2889
/* Override any gcc2 internal prototype to avoid an error.  */
2661
2890
#ifdef __cplusplus
2664
2893
/* We use char because int might match the return type of a gcc2
2665
2894
   builtin and then its argument prototype would still apply.  */
2666
2895
char remove_error_table ();
2667
 
#ifdef F77_DUMMY_MAIN
2668
 
#  ifdef __cplusplus
2669
 
     extern "C"
2670
 
#  endif
2671
 
   int F77_DUMMY_MAIN() { return 1; }
2672
 
#endif
2673
2896
int
2674
2897
main ()
2675
2898
{
2680
2903
_ACEOF
2681
2904
rm -f conftest.$ac_objext conftest$ac_exeext
2682
2905
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2683
 
  (eval $ac_link) 2>&5
 
2906
  (eval $ac_link) 2>conftest.er1
2684
2907
  ac_status=$?
 
2908
  grep -v '^ *+' conftest.er1 >conftest.err
 
2909
  rm -f conftest.er1
 
2910
  cat conftest.err >&5
2685
2911
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686
2912
  (exit $ac_status); } &&
2687
 
         { ac_try='test -s conftest$ac_exeext'
 
2913
         { ac_try='test -z "$ac_c_werror_flag"
 
2914
                         || test ! -s conftest.err'
 
2915
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2916
  (eval $ac_try) 2>&5
 
2917
  ac_status=$?
 
2918
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2919
  (exit $ac_status); }; } &&
 
2920
         { ac_try='test -s conftest$ac_exeext'
2688
2921
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2689
2922
  (eval $ac_try) 2>&5
2690
2923
  ac_status=$?
2693
2926
  ac_cv_lib_com_err_remove_error_table=yes
2694
2927
else
2695
2928
  echo "$as_me: failed program was:" >&5
2696
 
cat conftest.$ac_ext >&5
 
2929
sed 's/^/| /' conftest.$ac_ext >&5
 
2930
 
2697
2931
ac_cv_lib_com_err_remove_error_table=no
2698
2932
fi
2699
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
2933
rm -f conftest.err conftest.$ac_objext \
 
2934
      conftest$ac_exeext conftest.$ac_ext
2700
2935
LIBS=$ac_check_lib_save_LIBS
2701
2936
fi
2702
2937
echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_remove_error_table" >&5
2773
3008
   { (exit 1); exit 1; }; }
2774
3009
  fi
2775
3010
  cat >conftest.$ac_ext <<_ACEOF
2776
 
#line $LINENO "configure"
2777
 
#include "confdefs.h"
 
3011
/* confdefs.h.  */
 
3012
_ACEOF
 
3013
cat confdefs.h >>conftest.$ac_ext
 
3014
cat >>conftest.$ac_ext <<_ACEOF
 
3015
/* end confdefs.h.  */
2778
3016
#include "conf$$e.h"
2779
3017
 
2780
 
#ifdef F77_DUMMY_MAIN
2781
 
#  ifdef __cplusplus
2782
 
     extern "C"
2783
 
#  endif
2784
 
   int F77_DUMMY_MAIN() { return 1; }
2785
 
#endif
2786
3018
int
2787
3019
main ()
2788
3020
{
2793
3025
_ACEOF
2794
3026
rm -f conftest.$ac_objext
2795
3027
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2796
 
  (eval $ac_compile) 2>&5
 
3028
  (eval $ac_compile) 2>conftest.er1
2797
3029
  ac_status=$?
 
3030
  grep -v '^ *+' conftest.er1 >conftest.err
 
3031
  rm -f conftest.er1
 
3032
  cat conftest.err >&5
2798
3033
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799
3034
  (exit $ac_status); } &&
2800
 
         { ac_try='test -s conftest.$ac_objext'
 
3035
         { ac_try='test -z "$ac_c_werror_flag"
 
3036
                         || test ! -s conftest.err'
 
3037
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3038
  (eval $ac_try) 2>&5
 
3039
  ac_status=$?
 
3040
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3041
  (exit $ac_status); }; } &&
 
3042
         { ac_try='test -s conftest.$ac_objext'
2801
3043
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2802
3044
  (eval $ac_try) 2>&5
2803
3045
  ac_status=$?
2806
3048
  :
2807
3049
else
2808
3050
  echo "$as_me: failed program was:" >&5
2809
 
cat conftest.$ac_ext >&5
 
3051
sed 's/^/| /' conftest.$ac_ext >&5
 
3052
 
2810
3053
{ { echo "$as_me:$LINENO: error: cannot use et_foo_error_table" >&5
2811
3054
echo "$as_me: error: cannot use et_foo_error_table" >&2;}
2812
3055
   { (exit 1); exit 1; }; }
2813
3056
fi
2814
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3057
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2815
3058
  # Anything else we need to test for?
2816
3059
  rm -f conf$$e.et conf$$e.c conf$$e.h
2817
3060
  krb5_cv_compile_et_useful=yes
2850
3093
  krb5_cv_system_ss_okay="assumed"
2851
3094
else
2852
3095
  cat >conftest.$ac_ext <<_ACEOF
2853
 
#line $LINENO "configure"
2854
 
#include "confdefs.h"
 
3096
/* confdefs.h.  */
 
3097
_ACEOF
 
3098
cat confdefs.h >>conftest.$ac_ext
 
3099
cat >>conftest.$ac_ext <<_ACEOF
 
3100
/* end confdefs.h.  */
2855
3101
 
2856
3102
#include <ss/ss.h>
2857
3103
int main(int argc, char *argv[]) {
2878
3124
else
2879
3125
  echo "$as_me: program exited with status $ac_status" >&5
2880
3126
echo "$as_me: failed program was:" >&5
2881
 
cat conftest.$ac_ext >&5
 
3127
sed 's/^/| /' conftest.$ac_ext >&5
 
3128
 
2882
3129
( exit $ac_status )
2883
3130
{ { echo "$as_me:$LINENO: error: cannot run test program" >&5
2884
3131
echo "$as_me: error: cannot run test program" >&2;}
2885
3132
   { (exit 1); exit 1; }; }
2886
3133
fi
2887
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3134
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2888
3135
fi
2889
3136
fi
2890
3137
echo "$as_me:$LINENO: result: $krb5_cv_system_ss_okay" >&5
2958
3205
  echo $ECHO_N "(cached) $ECHO_C" >&6
2959
3206
else
2960
3207
  cat >conftest.$ac_ext <<_ACEOF
2961
 
#line $LINENO "configure"
2962
 
#include "confdefs.h"
 
3208
/* confdefs.h.  */
 
3209
_ACEOF
 
3210
cat confdefs.h >>conftest.$ac_ext
 
3211
cat >>conftest.$ac_ext <<_ACEOF
 
3212
/* end confdefs.h.  */
2963
3213
 
2964
 
#ifdef F77_DUMMY_MAIN
2965
 
#  ifdef __cplusplus
2966
 
     extern "C"
2967
 
#  endif
2968
 
   int F77_DUMMY_MAIN() { return 1; }
2969
 
#endif
2970
3214
int
2971
3215
main ()
2972
3216
{
3023
3267
_ACEOF
3024
3268
rm -f conftest.$ac_objext
3025
3269
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3026
 
  (eval $ac_compile) 2>&5
 
3270
  (eval $ac_compile) 2>conftest.er1
3027
3271
  ac_status=$?
 
3272
  grep -v '^ *+' conftest.er1 >conftest.err
 
3273
  rm -f conftest.er1
 
3274
  cat conftest.err >&5
3028
3275
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029
3276
  (exit $ac_status); } &&
3030
 
         { ac_try='test -s conftest.$ac_objext'
 
3277
         { ac_try='test -z "$ac_c_werror_flag"
 
3278
                         || test ! -s conftest.err'
 
3279
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3280
  (eval $ac_try) 2>&5
 
3281
  ac_status=$?
 
3282
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3283
  (exit $ac_status); }; } &&
 
3284
         { ac_try='test -s conftest.$ac_objext'
3031
3285
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3032
3286
  (eval $ac_try) 2>&5
3033
3287
  ac_status=$?
3036
3290
  ac_cv_c_const=yes
3037
3291
else
3038
3292
  echo "$as_me: failed program was:" >&5
3039
 
cat conftest.$ac_ext >&5
 
3293
sed 's/^/| /' conftest.$ac_ext >&5
 
3294
 
3040
3295
ac_cv_c_const=no
3041
3296
fi
3042
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3297
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3043
3298
fi
3044
3299
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3045
3300
echo "${ECHO_T}$ac_cv_c_const" >&6
3074
3329
  echo $ECHO_N "(cached) $ECHO_C" >&6
3075
3330
else
3076
3331
  cat >conftest.$ac_ext <<_ACEOF
3077
 
#line $LINENO "configure"
3078
 
#include "confdefs.h"
 
3332
/* confdefs.h.  */
 
3333
_ACEOF
 
3334
cat confdefs.h >>conftest.$ac_ext
 
3335
cat >>conftest.$ac_ext <<_ACEOF
 
3336
/* end confdefs.h.  */
 
3337
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
 
3338
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
3339
#define gethostbyname innocuous_gethostbyname
 
3340
 
3079
3341
/* System header to define __stub macros and hopefully few prototypes,
3080
 
    which can conflict with char gethostbyname (); below.  */
3081
 
#include <assert.h>
 
3342
    which can conflict with char gethostbyname (); below.
 
3343
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3344
    <limits.h> exists even on freestanding compilers.  */
 
3345
 
 
3346
#ifdef __STDC__
 
3347
# include <limits.h>
 
3348
#else
 
3349
# include <assert.h>
 
3350
#endif
 
3351
 
 
3352
#undef gethostbyname
 
3353
 
3082
3354
/* Override any gcc2 internal prototype to avoid an error.  */
3083
3355
#ifdef __cplusplus
3084
3356
extern "C"
 
3357
{
3085
3358
#endif
3086
3359
/* We use char because int might match the return type of a gcc2
3087
3360
   builtin and then its argument prototype would still apply.  */
3088
3361
char gethostbyname ();
3089
 
char (*f) ();
3090
 
 
3091
 
#ifdef F77_DUMMY_MAIN
3092
 
#  ifdef __cplusplus
3093
 
     extern "C"
3094
 
#  endif
3095
 
   int F77_DUMMY_MAIN() { return 1; }
3096
 
#endif
3097
 
int
3098
 
main ()
3099
 
{
3100
3362
/* The GNU C library defines this for functions which it implements
3101
3363
    to always fail with ENOSYS.  Some functions are actually named
3102
3364
    something starting with __ and the normal name is an alias.  */
3103
3365
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3104
3366
choke me
3105
3367
#else
3106
 
f = gethostbyname;
 
3368
char (*f) () = gethostbyname;
 
3369
#endif
 
3370
#ifdef __cplusplus
 
3371
}
3107
3372
#endif
3108
3373
 
 
3374
int
 
3375
main ()
 
3376
{
 
3377
return f != gethostbyname;
3109
3378
  ;
3110
3379
  return 0;
3111
3380
}
3112
3381
_ACEOF
3113
3382
rm -f conftest.$ac_objext conftest$ac_exeext
3114
3383
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3115
 
  (eval $ac_link) 2>&5
 
3384
  (eval $ac_link) 2>conftest.er1
3116
3385
  ac_status=$?
 
3386
  grep -v '^ *+' conftest.er1 >conftest.err
 
3387
  rm -f conftest.er1
 
3388
  cat conftest.err >&5
3117
3389
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118
3390
  (exit $ac_status); } &&
3119
 
         { ac_try='test -s conftest$ac_exeext'
 
3391
         { ac_try='test -z "$ac_c_werror_flag"
 
3392
                         || test ! -s conftest.err'
 
3393
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3394
  (eval $ac_try) 2>&5
 
3395
  ac_status=$?
 
3396
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3397
  (exit $ac_status); }; } &&
 
3398
         { ac_try='test -s conftest$ac_exeext'
3120
3399
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3121
3400
  (eval $ac_try) 2>&5
3122
3401
  ac_status=$?
3125
3404
  ac_cv_func_gethostbyname=yes
3126
3405
else
3127
3406
  echo "$as_me: failed program was:" >&5
3128
 
cat conftest.$ac_ext >&5
 
3407
sed 's/^/| /' conftest.$ac_ext >&5
 
3408
 
3129
3409
ac_cv_func_gethostbyname=no
3130
3410
fi
3131
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3411
rm -f conftest.err conftest.$ac_objext \
 
3412
      conftest$ac_exeext conftest.$ac_ext
3132
3413
fi
3133
3414
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3134
3415
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3146
3427
  ac_check_lib_save_LIBS=$LIBS
3147
3428
LIBS="-lnsl  $LIBS"
3148
3429
cat >conftest.$ac_ext <<_ACEOF
3149
 
#line $LINENO "configure"
3150
 
#include "confdefs.h"
 
3430
/* confdefs.h.  */
 
3431
_ACEOF
 
3432
cat confdefs.h >>conftest.$ac_ext
 
3433
cat >>conftest.$ac_ext <<_ACEOF
 
3434
/* end confdefs.h.  */
3151
3435
 
3152
3436
/* Override any gcc2 internal prototype to avoid an error.  */
3153
3437
#ifdef __cplusplus
3156
3440
/* We use char because int might match the return type of a gcc2
3157
3441
   builtin and then its argument prototype would still apply.  */
3158
3442
char gethostbyname ();
3159
 
#ifdef F77_DUMMY_MAIN
3160
 
#  ifdef __cplusplus
3161
 
     extern "C"
3162
 
#  endif
3163
 
   int F77_DUMMY_MAIN() { return 1; }
3164
 
#endif
3165
3443
int
3166
3444
main ()
3167
3445
{
3172
3450
_ACEOF
3173
3451
rm -f conftest.$ac_objext conftest$ac_exeext
3174
3452
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3175
 
  (eval $ac_link) 2>&5
 
3453
  (eval $ac_link) 2>conftest.er1
3176
3454
  ac_status=$?
 
3455
  grep -v '^ *+' conftest.er1 >conftest.err
 
3456
  rm -f conftest.er1
 
3457
  cat conftest.err >&5
3177
3458
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178
3459
  (exit $ac_status); } &&
3179
 
         { ac_try='test -s conftest$ac_exeext'
 
3460
         { ac_try='test -z "$ac_c_werror_flag"
 
3461
                         || test ! -s conftest.err'
 
3462
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3463
  (eval $ac_try) 2>&5
 
3464
  ac_status=$?
 
3465
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3466
  (exit $ac_status); }; } &&
 
3467
         { ac_try='test -s conftest$ac_exeext'
3180
3468
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181
3469
  (eval $ac_try) 2>&5
3182
3470
  ac_status=$?
3185
3473
  ac_cv_lib_nsl_gethostbyname=yes
3186
3474
else
3187
3475
  echo "$as_me: failed program was:" >&5
3188
 
cat conftest.$ac_ext >&5
 
3476
sed 's/^/| /' conftest.$ac_ext >&5
 
3477
 
3189
3478
ac_cv_lib_nsl_gethostbyname=no
3190
3479
fi
3191
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3480
rm -f conftest.err conftest.$ac_objext \
 
3481
      conftest$ac_exeext conftest.$ac_ext
3192
3482
LIBS=$ac_check_lib_save_LIBS
3193
3483
fi
3194
3484
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3212
3502
  ac_check_lib_save_LIBS=$LIBS
3213
3503
LIBS="-lsocket  $LIBS"
3214
3504
cat >conftest.$ac_ext <<_ACEOF
3215
 
#line $LINENO "configure"
3216
 
#include "confdefs.h"
 
3505
/* confdefs.h.  */
 
3506
_ACEOF
 
3507
cat confdefs.h >>conftest.$ac_ext
 
3508
cat >>conftest.$ac_ext <<_ACEOF
 
3509
/* end confdefs.h.  */
3217
3510
 
3218
3511
/* Override any gcc2 internal prototype to avoid an error.  */
3219
3512
#ifdef __cplusplus
3222
3515
/* We use char because int might match the return type of a gcc2
3223
3516
   builtin and then its argument prototype would still apply.  */
3224
3517
char gethostbyname ();
3225
 
#ifdef F77_DUMMY_MAIN
3226
 
#  ifdef __cplusplus
3227
 
     extern "C"
3228
 
#  endif
3229
 
   int F77_DUMMY_MAIN() { return 1; }
3230
 
#endif
3231
3518
int
3232
3519
main ()
3233
3520
{
3238
3525
_ACEOF
3239
3526
rm -f conftest.$ac_objext conftest$ac_exeext
3240
3527
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3241
 
  (eval $ac_link) 2>&5
 
3528
  (eval $ac_link) 2>conftest.er1
3242
3529
  ac_status=$?
 
3530
  grep -v '^ *+' conftest.er1 >conftest.err
 
3531
  rm -f conftest.er1
 
3532
  cat conftest.err >&5
3243
3533
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244
3534
  (exit $ac_status); } &&
3245
 
         { ac_try='test -s conftest$ac_exeext'
 
3535
         { ac_try='test -z "$ac_c_werror_flag"
 
3536
                         || test ! -s conftest.err'
 
3537
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3538
  (eval $ac_try) 2>&5
 
3539
  ac_status=$?
 
3540
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3541
  (exit $ac_status); }; } &&
 
3542
         { ac_try='test -s conftest$ac_exeext'
3246
3543
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3247
3544
  (eval $ac_try) 2>&5
3248
3545
  ac_status=$?
3251
3548
  ac_cv_lib_socket_gethostbyname=yes
3252
3549
else
3253
3550
  echo "$as_me: failed program was:" >&5
3254
 
cat conftest.$ac_ext >&5
 
3551
sed 's/^/| /' conftest.$ac_ext >&5
 
3552
 
3255
3553
ac_cv_lib_socket_gethostbyname=no
3256
3554
fi
3257
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3555
rm -f conftest.err conftest.$ac_objext \
 
3556
      conftest$ac_exeext conftest.$ac_ext
3258
3557
LIBS=$ac_check_lib_save_LIBS
3259
3558
fi
3260
3559
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
3279
3578
  ac_check_lib_save_LIBS=$LIBS
3280
3579
LIBS="-lsocket -lnsl $LIBS"
3281
3580
cat >conftest.$ac_ext <<_ACEOF
3282
 
#line $LINENO "configure"
3283
 
#include "confdefs.h"
 
3581
/* confdefs.h.  */
 
3582
_ACEOF
 
3583
cat confdefs.h >>conftest.$ac_ext
 
3584
cat >>conftest.$ac_ext <<_ACEOF
 
3585
/* end confdefs.h.  */
3284
3586
 
3285
3587
/* Override any gcc2 internal prototype to avoid an error.  */
3286
3588
#ifdef __cplusplus
3289
3591
/* We use char because int might match the return type of a gcc2
3290
3592
   builtin and then its argument prototype would still apply.  */
3291
3593
char gethostbyname ();
3292
 
#ifdef F77_DUMMY_MAIN
3293
 
#  ifdef __cplusplus
3294
 
     extern "C"
3295
 
#  endif
3296
 
   int F77_DUMMY_MAIN() { return 1; }
3297
 
#endif
3298
3594
int
3299
3595
main ()
3300
3596
{
3305
3601
_ACEOF
3306
3602
rm -f conftest.$ac_objext conftest$ac_exeext
3307
3603
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3308
 
  (eval $ac_link) 2>&5
 
3604
  (eval $ac_link) 2>conftest.er1
3309
3605
  ac_status=$?
 
3606
  grep -v '^ *+' conftest.er1 >conftest.err
 
3607
  rm -f conftest.er1
 
3608
  cat conftest.err >&5
3310
3609
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311
3610
  (exit $ac_status); } &&
3312
 
         { ac_try='test -s conftest$ac_exeext'
 
3611
         { ac_try='test -z "$ac_c_werror_flag"
 
3612
                         || test ! -s conftest.err'
 
3613
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3614
  (eval $ac_try) 2>&5
 
3615
  ac_status=$?
 
3616
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3617
  (exit $ac_status); }; } &&
 
3618
         { ac_try='test -s conftest$ac_exeext'
3313
3619
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3314
3620
  (eval $ac_try) 2>&5
3315
3621
  ac_status=$?
3318
3624
  ac_cv_lib_socket_gethostbyname=yes
3319
3625
else
3320
3626
  echo "$as_me: failed program was:" >&5
3321
 
cat conftest.$ac_ext >&5
 
3627
sed 's/^/| /' conftest.$ac_ext >&5
 
3628
 
3322
3629
ac_cv_lib_socket_gethostbyname=no
3323
3630
fi
3324
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3631
rm -f conftest.err conftest.$ac_objext \
 
3632
      conftest$ac_exeext conftest.$ac_ext
3325
3633
LIBS=$ac_check_lib_save_LIBS
3326
3634
fi
3327
3635
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
3337
3645
  ac_check_lib_save_LIBS=$LIBS
3338
3646
LIBS="-lresolv  $LIBS"
3339
3647
cat >conftest.$ac_ext <<_ACEOF
3340
 
#line $LINENO "configure"
3341
 
#include "confdefs.h"
 
3648
/* confdefs.h.  */
 
3649
_ACEOF
 
3650
cat confdefs.h >>conftest.$ac_ext
 
3651
cat >>conftest.$ac_ext <<_ACEOF
 
3652
/* end confdefs.h.  */
3342
3653
 
3343
3654
/* Override any gcc2 internal prototype to avoid an error.  */
3344
3655
#ifdef __cplusplus
3347
3658
/* We use char because int might match the return type of a gcc2
3348
3659
   builtin and then its argument prototype would still apply.  */
3349
3660
char gethostbyname ();
3350
 
#ifdef F77_DUMMY_MAIN
3351
 
#  ifdef __cplusplus
3352
 
     extern "C"
3353
 
#  endif
3354
 
   int F77_DUMMY_MAIN() { return 1; }
3355
 
#endif
3356
3661
int
3357
3662
main ()
3358
3663
{
3363
3668
_ACEOF
3364
3669
rm -f conftest.$ac_objext conftest$ac_exeext
3365
3670
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3366
 
  (eval $ac_link) 2>&5
 
3671
  (eval $ac_link) 2>conftest.er1
3367
3672
  ac_status=$?
 
3673
  grep -v '^ *+' conftest.er1 >conftest.err
 
3674
  rm -f conftest.er1
 
3675
  cat conftest.err >&5
3368
3676
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369
3677
  (exit $ac_status); } &&
3370
 
         { ac_try='test -s conftest$ac_exeext'
 
3678
         { ac_try='test -z "$ac_c_werror_flag"
 
3679
                         || test ! -s conftest.err'
 
3680
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3681
  (eval $ac_try) 2>&5
 
3682
  ac_status=$?
 
3683
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3684
  (exit $ac_status); }; } &&
 
3685
         { ac_try='test -s conftest$ac_exeext'
3371
3686
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3372
3687
  (eval $ac_try) 2>&5
3373
3688
  ac_status=$?
3376
3691
  ac_cv_lib_resolv_gethostbyname=yes
3377
3692
else
3378
3693
  echo "$as_me: failed program was:" >&5
3379
 
cat conftest.$ac_ext >&5
 
3694
sed 's/^/| /' conftest.$ac_ext >&5
 
3695
 
3380
3696
ac_cv_lib_resolv_gethostbyname=no
3381
3697
fi
3382
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3698
rm -f conftest.err conftest.$ac_objext \
 
3699
      conftest$ac_exeext conftest.$ac_ext
3383
3700
LIBS=$ac_check_lib_save_LIBS
3384
3701
fi
3385
3702
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5
3405
3722
  echo $ECHO_N "(cached) $ECHO_C" >&6
3406
3723
else
3407
3724
  cat >conftest.$ac_ext <<_ACEOF
3408
 
#line $LINENO "configure"
3409
 
#include "confdefs.h"
 
3725
/* confdefs.h.  */
 
3726
_ACEOF
 
3727
cat confdefs.h >>conftest.$ac_ext
 
3728
cat >>conftest.$ac_ext <<_ACEOF
 
3729
/* end confdefs.h.  */
 
3730
/* Define socket to an innocuous variant, in case <limits.h> declares socket.
 
3731
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
3732
#define socket innocuous_socket
 
3733
 
3410
3734
/* System header to define __stub macros and hopefully few prototypes,
3411
 
    which can conflict with char socket (); below.  */
3412
 
#include <assert.h>
 
3735
    which can conflict with char socket (); below.
 
3736
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3737
    <limits.h> exists even on freestanding compilers.  */
 
3738
 
 
3739
#ifdef __STDC__
 
3740
# include <limits.h>
 
3741
#else
 
3742
# include <assert.h>
 
3743
#endif
 
3744
 
 
3745
#undef socket
 
3746
 
3413
3747
/* Override any gcc2 internal prototype to avoid an error.  */
3414
3748
#ifdef __cplusplus
3415
3749
extern "C"
 
3750
{
3416
3751
#endif
3417
3752
/* We use char because int might match the return type of a gcc2
3418
3753
   builtin and then its argument prototype would still apply.  */
3419
3754
char socket ();
3420
 
char (*f) ();
3421
 
 
3422
 
#ifdef F77_DUMMY_MAIN
3423
 
#  ifdef __cplusplus
3424
 
     extern "C"
3425
 
#  endif
3426
 
   int F77_DUMMY_MAIN() { return 1; }
3427
 
#endif
3428
 
int
3429
 
main ()
3430
 
{
3431
3755
/* The GNU C library defines this for functions which it implements
3432
3756
    to always fail with ENOSYS.  Some functions are actually named
3433
3757
    something starting with __ and the normal name is an alias.  */
3434
3758
#if defined (__stub_socket) || defined (__stub___socket)
3435
3759
choke me
3436
3760
#else
3437
 
f = socket;
 
3761
char (*f) () = socket;
 
3762
#endif
 
3763
#ifdef __cplusplus
 
3764
}
3438
3765
#endif
3439
3766
 
 
3767
int
 
3768
main ()
 
3769
{
 
3770
return f != socket;
3440
3771
  ;
3441
3772
  return 0;
3442
3773
}
3443
3774
_ACEOF
3444
3775
rm -f conftest.$ac_objext conftest$ac_exeext
3445
3776
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3446
 
  (eval $ac_link) 2>&5
 
3777
  (eval $ac_link) 2>conftest.er1
3447
3778
  ac_status=$?
 
3779
  grep -v '^ *+' conftest.er1 >conftest.err
 
3780
  rm -f conftest.er1
 
3781
  cat conftest.err >&5
3448
3782
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449
3783
  (exit $ac_status); } &&
3450
 
         { ac_try='test -s conftest$ac_exeext'
 
3784
         { ac_try='test -z "$ac_c_werror_flag"
 
3785
                         || test ! -s conftest.err'
 
3786
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3787
  (eval $ac_try) 2>&5
 
3788
  ac_status=$?
 
3789
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3790
  (exit $ac_status); }; } &&
 
3791
         { ac_try='test -s conftest$ac_exeext'
3451
3792
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3452
3793
  (eval $ac_try) 2>&5
3453
3794
  ac_status=$?
3456
3797
  ac_cv_func_socket=yes
3457
3798
else
3458
3799
  echo "$as_me: failed program was:" >&5
3459
 
cat conftest.$ac_ext >&5
 
3800
sed 's/^/| /' conftest.$ac_ext >&5
 
3801
 
3460
3802
ac_cv_func_socket=no
3461
3803
fi
3462
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3804
rm -f conftest.err conftest.$ac_objext \
 
3805
      conftest$ac_exeext conftest.$ac_ext
3463
3806
fi
3464
3807
echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
3465
3808
echo "${ECHO_T}$ac_cv_func_socket" >&6
3475
3818
  ac_check_lib_save_LIBS=$LIBS
3476
3819
LIBS="-lsocket  $LIBS"
3477
3820
cat >conftest.$ac_ext <<_ACEOF
3478
 
#line $LINENO "configure"
3479
 
#include "confdefs.h"
 
3821
/* confdefs.h.  */
 
3822
_ACEOF
 
3823
cat confdefs.h >>conftest.$ac_ext
 
3824
cat >>conftest.$ac_ext <<_ACEOF
 
3825
/* end confdefs.h.  */
3480
3826
 
3481
3827
/* Override any gcc2 internal prototype to avoid an error.  */
3482
3828
#ifdef __cplusplus
3485
3831
/* We use char because int might match the return type of a gcc2
3486
3832
   builtin and then its argument prototype would still apply.  */
3487
3833
char socket ();
3488
 
#ifdef F77_DUMMY_MAIN
3489
 
#  ifdef __cplusplus
3490
 
     extern "C"
3491
 
#  endif
3492
 
   int F77_DUMMY_MAIN() { return 1; }
3493
 
#endif
3494
3834
int
3495
3835
main ()
3496
3836
{
3501
3841
_ACEOF
3502
3842
rm -f conftest.$ac_objext conftest$ac_exeext
3503
3843
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3504
 
  (eval $ac_link) 2>&5
 
3844
  (eval $ac_link) 2>conftest.er1
3505
3845
  ac_status=$?
 
3846
  grep -v '^ *+' conftest.er1 >conftest.err
 
3847
  rm -f conftest.er1
 
3848
  cat conftest.err >&5
3506
3849
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507
3850
  (exit $ac_status); } &&
3508
 
         { ac_try='test -s conftest$ac_exeext'
 
3851
         { ac_try='test -z "$ac_c_werror_flag"
 
3852
                         || test ! -s conftest.err'
 
3853
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3854
  (eval $ac_try) 2>&5
 
3855
  ac_status=$?
 
3856
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3857
  (exit $ac_status); }; } &&
 
3858
         { ac_try='test -s conftest$ac_exeext'
3509
3859
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3510
3860
  (eval $ac_try) 2>&5
3511
3861
  ac_status=$?
3514
3864
  ac_cv_lib_socket_socket=yes
3515
3865
else
3516
3866
  echo "$as_me: failed program was:" >&5
3517
 
cat conftest.$ac_ext >&5
 
3867
sed 's/^/| /' conftest.$ac_ext >&5
 
3868
 
3518
3869
ac_cv_lib_socket_socket=no
3519
3870
fi
3520
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3871
rm -f conftest.err conftest.$ac_objext \
 
3872
      conftest$ac_exeext conftest.$ac_ext
3521
3873
LIBS=$ac_check_lib_save_LIBS
3522
3874
fi
3523
3875
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3538
3890
  ac_check_lib_save_LIBS=$LIBS
3539
3891
LIBS="-lsocket -lnsl $LIBS"
3540
3892
cat >conftest.$ac_ext <<_ACEOF
3541
 
#line $LINENO "configure"
3542
 
#include "confdefs.h"
 
3893
/* confdefs.h.  */
 
3894
_ACEOF
 
3895
cat confdefs.h >>conftest.$ac_ext
 
3896
cat >>conftest.$ac_ext <<_ACEOF
 
3897
/* end confdefs.h.  */
3543
3898
 
3544
3899
/* Override any gcc2 internal prototype to avoid an error.  */
3545
3900
#ifdef __cplusplus
3548
3903
/* We use char because int might match the return type of a gcc2
3549
3904
   builtin and then its argument prototype would still apply.  */
3550
3905
char socket ();
3551
 
#ifdef F77_DUMMY_MAIN
3552
 
#  ifdef __cplusplus
3553
 
     extern "C"
3554
 
#  endif
3555
 
   int F77_DUMMY_MAIN() { return 1; }
3556
 
#endif
3557
3906
int
3558
3907
main ()
3559
3908
{
3564
3913
_ACEOF
3565
3914
rm -f conftest.$ac_objext conftest$ac_exeext
3566
3915
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3567
 
  (eval $ac_link) 2>&5
 
3916
  (eval $ac_link) 2>conftest.er1
3568
3917
  ac_status=$?
 
3918
  grep -v '^ *+' conftest.er1 >conftest.err
 
3919
  rm -f conftest.er1
 
3920
  cat conftest.err >&5
3569
3921
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570
3922
  (exit $ac_status); } &&
3571
 
         { ac_try='test -s conftest$ac_exeext'
 
3923
         { ac_try='test -z "$ac_c_werror_flag"
 
3924
                         || test ! -s conftest.err'
 
3925
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3926
  (eval $ac_try) 2>&5
 
3927
  ac_status=$?
 
3928
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3929
  (exit $ac_status); }; } &&
 
3930
         { ac_try='test -s conftest$ac_exeext'
3572
3931
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3573
3932
  (eval $ac_try) 2>&5
3574
3933
  ac_status=$?
3577
3936
  ac_cv_lib_socket_socket=yes
3578
3937
else
3579
3938
  echo "$as_me: failed program was:" >&5
3580
 
cat conftest.$ac_ext >&5
 
3939
sed 's/^/| /' conftest.$ac_ext >&5
 
3940
 
3581
3941
ac_cv_lib_socket_socket=no
3582
3942
fi
3583
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3943
rm -f conftest.err conftest.$ac_objext \
 
3944
      conftest$ac_exeext conftest.$ac_ext
3584
3945
LIBS=$ac_check_lib_save_LIBS
3585
3946
fi
3586
3947
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3636
3997
  ac_check_lib_save_LIBS=$LIBS
3637
3998
LIBS="-lresolv  $LIBS"
3638
3999
cat >conftest.$ac_ext <<_ACEOF
3639
 
#line $LINENO "configure"
3640
 
#include "confdefs.h"
3641
 
 
3642
 
 
3643
 
#ifdef F77_DUMMY_MAIN
3644
 
#  ifdef __cplusplus
3645
 
     extern "C"
3646
 
#  endif
3647
 
   int F77_DUMMY_MAIN() { return 1; }
3648
 
#endif
 
4000
/* confdefs.h.  */
 
4001
_ACEOF
 
4002
cat confdefs.h >>conftest.$ac_ext
 
4003
cat >>conftest.$ac_ext <<_ACEOF
 
4004
/* end confdefs.h.  */
 
4005
 
 
4006
 
3649
4007
int
3650
4008
main ()
3651
4009
{
3656
4014
_ACEOF
3657
4015
rm -f conftest.$ac_objext conftest$ac_exeext
3658
4016
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3659
 
  (eval $ac_link) 2>&5
 
4017
  (eval $ac_link) 2>conftest.er1
3660
4018
  ac_status=$?
 
4019
  grep -v '^ *+' conftest.er1 >conftest.err
 
4020
  rm -f conftest.er1
 
4021
  cat conftest.err >&5
3661
4022
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662
4023
  (exit $ac_status); } &&
3663
 
         { ac_try='test -s conftest$ac_exeext'
 
4024
         { ac_try='test -z "$ac_c_werror_flag"
 
4025
                         || test ! -s conftest.err'
 
4026
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4027
  (eval $ac_try) 2>&5
 
4028
  ac_status=$?
 
4029
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4030
  (exit $ac_status); }; } &&
 
4031
         { ac_try='test -s conftest$ac_exeext'
3664
4032
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3665
4033
  (eval $ac_try) 2>&5
3666
4034
  ac_status=$?
3669
4037
  ac_cv_lib_resolv_main=yes
3670
4038
else
3671
4039
  echo "$as_me: failed program was:" >&5
3672
 
cat conftest.$ac_ext >&5
 
4040
sed 's/^/| /' conftest.$ac_ext >&5
 
4041
 
3673
4042
ac_cv_lib_resolv_main=no
3674
4043
fi
3675
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4044
rm -f conftest.err conftest.$ac_objext \
 
4045
      conftest$ac_exeext conftest.$ac_ext
3676
4046
LIBS=$ac_check_lib_save_LIBS
3677
4047
fi
3678
4048
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5
3707
4077
  echo $ECHO_N "(cached) $ECHO_C" >&6
3708
4078
else
3709
4079
  cat >conftest.$ac_ext <<_ACEOF
3710
 
#line $LINENO "configure"
3711
 
#include "confdefs.h"
 
4080
/* confdefs.h.  */
 
4081
_ACEOF
 
4082
cat confdefs.h >>conftest.$ac_ext
 
4083
cat >>conftest.$ac_ext <<_ACEOF
 
4084
/* end confdefs.h.  */
3712
4085
#include <sys/types.h>
3713
4086
#include <netinet/in.h>
3714
4087
#include <arpa/nameser.h>
3715
4088
#include <resolv.h>
3716
 
#ifdef F77_DUMMY_MAIN
3717
 
#  ifdef __cplusplus
3718
 
     extern "C"
3719
 
#  endif
3720
 
   int F77_DUMMY_MAIN() { return 1; }
3721
 
#endif
3722
4089
int
3723
4090
main ()
3724
4091
{
3732
4099
_ACEOF
3733
4100
rm -f conftest.$ac_objext conftest$ac_exeext
3734
4101
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3735
 
  (eval $ac_link) 2>&5
 
4102
  (eval $ac_link) 2>conftest.er1
3736
4103
  ac_status=$?
 
4104
  grep -v '^ *+' conftest.er1 >conftest.err
 
4105
  rm -f conftest.er1
 
4106
  cat conftest.err >&5
3737
4107
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738
4108
  (exit $ac_status); } &&
3739
 
         { ac_try='test -s conftest$ac_exeext'
 
4109
         { ac_try='test -z "$ac_c_werror_flag"
 
4110
                         || test ! -s conftest.err'
 
4111
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4112
  (eval $ac_try) 2>&5
 
4113
  ac_status=$?
 
4114
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4115
  (exit $ac_status); }; } &&
 
4116
         { ac_try='test -s conftest$ac_exeext'
3740
4117
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3741
4118
  (eval $ac_try) 2>&5
3742
4119
  ac_status=$?
3745
4122
  eval "krb5_cv_func_$krb5_func=yes"
3746
4123
else
3747
4124
  echo "$as_me: failed program was:" >&5
3748
 
cat conftest.$ac_ext >&5
 
4125
sed 's/^/| /' conftest.$ac_ext >&5
 
4126
 
3749
4127
eval "krb5_cv_func_$krb5_func=no"
3750
4128
fi
3751
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4129
rm -f conftest.err conftest.$ac_objext \
 
4130
      conftest$ac_exeext conftest.$ac_ext
3752
4131
fi
3753
4132
echo "$as_me:$LINENO: result: `eval echo '${'krb5_cv_func_$krb5_func'}'`" >&5
3754
4133
echo "${ECHO_T}`eval echo '${'krb5_cv_func_$krb5_func'}'`" >&6
3771
4150
  echo $ECHO_N "(cached) $ECHO_C" >&6
3772
4151
else
3773
4152
  cat >conftest.$ac_ext <<_ACEOF
3774
 
#line $LINENO "configure"
3775
 
#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.  */
 
4158
/* Define res_search to an innocuous variant, in case <limits.h> declares res_search.
 
4159
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4160
#define res_search innocuous_res_search
 
4161
 
3776
4162
/* System header to define __stub macros and hopefully few prototypes,
3777
 
    which can conflict with char res_search (); below.  */
3778
 
#include <assert.h>
 
4163
    which can conflict with char res_search (); below.
 
4164
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4165
    <limits.h> exists even on freestanding compilers.  */
 
4166
 
 
4167
#ifdef __STDC__
 
4168
# include <limits.h>
 
4169
#else
 
4170
# include <assert.h>
 
4171
#endif
 
4172
 
 
4173
#undef res_search
 
4174
 
3779
4175
/* Override any gcc2 internal prototype to avoid an error.  */
3780
4176
#ifdef __cplusplus
3781
4177
extern "C"
 
4178
{
3782
4179
#endif
3783
4180
/* We use char because int might match the return type of a gcc2
3784
4181
   builtin and then its argument prototype would still apply.  */
3785
4182
char res_search ();
3786
 
char (*f) ();
3787
 
 
3788
 
#ifdef F77_DUMMY_MAIN
3789
 
#  ifdef __cplusplus
3790
 
     extern "C"
3791
 
#  endif
3792
 
   int F77_DUMMY_MAIN() { return 1; }
3793
 
#endif
3794
 
int
3795
 
main ()
3796
 
{
3797
4183
/* The GNU C library defines this for functions which it implements
3798
4184
    to always fail with ENOSYS.  Some functions are actually named
3799
4185
    something starting with __ and the normal name is an alias.  */
3800
4186
#if defined (__stub_res_search) || defined (__stub___res_search)
3801
4187
choke me
3802
4188
#else
3803
 
f = res_search;
 
4189
char (*f) () = res_search;
 
4190
#endif
 
4191
#ifdef __cplusplus
 
4192
}
3804
4193
#endif
3805
4194
 
 
4195
int
 
4196
main ()
 
4197
{
 
4198
return f != res_search;
3806
4199
  ;
3807
4200
  return 0;
3808
4201
}
3809
4202
_ACEOF
3810
4203
rm -f conftest.$ac_objext conftest$ac_exeext
3811
4204
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3812
 
  (eval $ac_link) 2>&5
 
4205
  (eval $ac_link) 2>conftest.er1
3813
4206
  ac_status=$?
 
4207
  grep -v '^ *+' conftest.er1 >conftest.err
 
4208
  rm -f conftest.er1
 
4209
  cat conftest.err >&5
3814
4210
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815
4211
  (exit $ac_status); } &&
3816
 
         { ac_try='test -s conftest$ac_exeext'
 
4212
         { ac_try='test -z "$ac_c_werror_flag"
 
4213
                         || test ! -s conftest.err'
 
4214
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4215
  (eval $ac_try) 2>&5
 
4216
  ac_status=$?
 
4217
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4218
  (exit $ac_status); }; } &&
 
4219
         { ac_try='test -s conftest$ac_exeext'
3817
4220
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3818
4221
  (eval $ac_try) 2>&5
3819
4222
  ac_status=$?
3822
4225
  ac_cv_func_res_search=yes
3823
4226
else
3824
4227
  echo "$as_me: failed program was:" >&5
3825
 
cat conftest.$ac_ext >&5
 
4228
sed 's/^/| /' conftest.$ac_ext >&5
 
4229
 
3826
4230
ac_cv_func_res_search=no
3827
4231
fi
3828
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4232
rm -f conftest.err conftest.$ac_objext \
 
4233
      conftest$ac_exeext conftest.$ac_ext
3829
4234
fi
3830
4235
echo "$as_me:$LINENO: result: $ac_cv_func_res_search" >&5
3831
4236
echo "${ECHO_T}$ac_cv_func_res_search" >&6
3863
4268
  ac_check_lib_save_LIBS=$LIBS
3864
4269
LIBS="-lresolv  $LIBS"
3865
4270
cat >conftest.$ac_ext <<_ACEOF
3866
 
#line $LINENO "configure"
3867
 
#include "confdefs.h"
 
4271
/* confdefs.h.  */
 
4272
_ACEOF
 
4273
cat confdefs.h >>conftest.$ac_ext
 
4274
cat >>conftest.$ac_ext <<_ACEOF
 
4275
/* end confdefs.h.  */
3868
4276
 
3869
4277
/* Override any gcc2 internal prototype to avoid an error.  */
3870
4278
#ifdef __cplusplus
3873
4281
/* We use char because int might match the return type of a gcc2
3874
4282
   builtin and then its argument prototype would still apply.  */
3875
4283
char res_send ();
3876
 
#ifdef F77_DUMMY_MAIN
3877
 
#  ifdef __cplusplus
3878
 
     extern "C"
3879
 
#  endif
3880
 
   int F77_DUMMY_MAIN() { return 1; }
3881
 
#endif
3882
4284
int
3883
4285
main ()
3884
4286
{
3889
4291
_ACEOF
3890
4292
rm -f conftest.$ac_objext conftest$ac_exeext
3891
4293
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3892
 
  (eval $ac_link) 2>&5
 
4294
  (eval $ac_link) 2>conftest.er1
3893
4295
  ac_status=$?
 
4296
  grep -v '^ *+' conftest.er1 >conftest.err
 
4297
  rm -f conftest.er1
 
4298
  cat conftest.err >&5
3894
4299
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895
4300
  (exit $ac_status); } &&
3896
 
         { ac_try='test -s conftest$ac_exeext'
 
4301
         { ac_try='test -z "$ac_c_werror_flag"
 
4302
                         || test ! -s conftest.err'
 
4303
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4304
  (eval $ac_try) 2>&5
 
4305
  ac_status=$?
 
4306
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4307
  (exit $ac_status); }; } &&
 
4308
         { ac_try='test -s conftest$ac_exeext'
3897
4309
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3898
4310
  (eval $ac_try) 2>&5
3899
4311
  ac_status=$?
3902
4314
  ac_cv_lib_resolv_res_send=yes
3903
4315
else
3904
4316
  echo "$as_me: failed program was:" >&5
3905
 
cat conftest.$ac_ext >&5
 
4317
sed 's/^/| /' conftest.$ac_ext >&5
 
4318
 
3906
4319
ac_cv_lib_resolv_res_send=no
3907
4320
fi
3908
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4321
rm -f conftest.err conftest.$ac_objext \
 
4322
      conftest$ac_exeext conftest.$ac_ext
3909
4323
LIBS=$ac_check_lib_save_LIBS
3910
4324
fi
3911
4325
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
3969
4383
  echo $ECHO_N "(cached) $ECHO_C" >&6
3970
4384
else
3971
4385
  cat >conftest.$ac_ext <<_ACEOF
3972
 
#line $LINENO "configure"
3973
 
#include "confdefs.h"
 
4386
/* confdefs.h.  */
 
4387
_ACEOF
 
4388
cat confdefs.h >>conftest.$ac_ext
 
4389
cat >>conftest.$ac_ext <<_ACEOF
 
4390
/* end confdefs.h.  */
3974
4391
#pragma weak flurbl
3975
4392
extern int flurbl(void);
3976
 
#ifdef F77_DUMMY_MAIN
3977
 
#  ifdef __cplusplus
3978
 
     extern "C"
3979
 
#  endif
3980
 
   int F77_DUMMY_MAIN() { return 1; }
3981
 
#endif
3982
4393
int
3983
4394
main ()
3984
4395
{
3989
4400
_ACEOF
3990
4401
rm -f conftest.$ac_objext conftest$ac_exeext
3991
4402
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3992
 
  (eval $ac_link) 2>&5
 
4403
  (eval $ac_link) 2>conftest.er1
3993
4404
  ac_status=$?
 
4405
  grep -v '^ *+' conftest.er1 >conftest.err
 
4406
  rm -f conftest.er1
 
4407
  cat conftest.err >&5
3994
4408
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995
4409
  (exit $ac_status); } &&
3996
 
         { ac_try='test -s conftest$ac_exeext'
 
4410
         { ac_try='test -z "$ac_c_werror_flag"
 
4411
                         || test ! -s conftest.err'
 
4412
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4413
  (eval $ac_try) 2>&5
 
4414
  ac_status=$?
 
4415
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4416
  (exit $ac_status); }; } &&
 
4417
         { ac_try='test -s conftest$ac_exeext'
3997
4418
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3998
4419
  (eval $ac_try) 2>&5
3999
4420
  ac_status=$?
4002
4423
  krb5_cv_pragma_weak_ref=yes
4003
4424
else
4004
4425
  echo "$as_me: failed program was:" >&5
4005
 
cat conftest.$ac_ext >&5
 
4426
sed 's/^/| /' conftest.$ac_ext >&5
 
4427
 
4006
4428
krb5_cv_pragma_weak_ref=no
4007
4429
fi
4008
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4430
rm -f conftest.err conftest.$ac_objext \
 
4431
      conftest$ac_exeext conftest.$ac_ext
4009
4432
fi
4010
4433
echo "$as_me:$LINENO: result: $krb5_cv_pragma_weak_ref" >&5
4011
4434
echo "${ECHO_T}$krb5_cv_pragma_weak_ref" >&6
4066
4489
   { (exit 1); exit 1; }; }
4067
4490
else
4068
4491
  cat >conftest.$ac_ext <<_ACEOF
4069
 
#line $LINENO "configure"
4070
 
#include "confdefs.h"
 
4492
/* confdefs.h.  */
 
4493
_ACEOF
 
4494
cat confdefs.h >>conftest.$ac_ext
 
4495
cat >>conftest.$ac_ext <<_ACEOF
 
4496
/* end confdefs.h.  */
4071
4497
void foo1() __attribute__((constructor));
4072
4498
void foo1() { unlink("conftest.1"); }
4073
4499
void foo2() __attribute__((destructor));
4090
4516
else
4091
4517
  echo "$as_me: program exited with status $ac_status" >&5
4092
4518
echo "$as_me: failed program was:" >&5
4093
 
cat conftest.$ac_ext >&5
 
4519
sed 's/^/| /' conftest.$ac_ext >&5
 
4520
 
4094
4521
fi
4095
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4522
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4096
4523
fi
4097
4524
case $krb5_cv_host in
4098
4525
*-*-aix4.*)
4195
4622
        echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
4196
4623
echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6
4197
4624
        cat >conftest.$ac_ext <<_ACEOF
4198
 
#line $LINENO "configure"
4199
 
#include "confdefs.h"
 
4625
/* confdefs.h.  */
 
4626
_ACEOF
 
4627
cat confdefs.h >>conftest.$ac_ext
 
4628
cat >>conftest.$ac_ext <<_ACEOF
 
4629
/* end confdefs.h.  */
4200
4630
 
4201
4631
/* Override any gcc2 internal prototype to avoid an error.  */
4202
4632
#ifdef __cplusplus
4205
4635
/* We use char because int might match the return type of a gcc2
4206
4636
   builtin and then its argument prototype would still apply.  */
4207
4637
char pthread_join ();
4208
 
#ifdef F77_DUMMY_MAIN
4209
 
#  ifdef __cplusplus
4210
 
     extern "C"
4211
 
#  endif
4212
 
   int F77_DUMMY_MAIN() { return 1; }
4213
 
#endif
4214
4638
int
4215
4639
main ()
4216
4640
{
4221
4645
_ACEOF
4222
4646
rm -f conftest.$ac_objext conftest$ac_exeext
4223
4647
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4224
 
  (eval $ac_link) 2>&5
 
4648
  (eval $ac_link) 2>conftest.er1
4225
4649
  ac_status=$?
 
4650
  grep -v '^ *+' conftest.er1 >conftest.err
 
4651
  rm -f conftest.er1
 
4652
  cat conftest.err >&5
4226
4653
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227
4654
  (exit $ac_status); } &&
4228
 
         { ac_try='test -s conftest$ac_exeext'
 
4655
         { ac_try='test -z "$ac_c_werror_flag"
 
4656
                         || test ! -s conftest.err'
 
4657
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4658
  (eval $ac_try) 2>&5
 
4659
  ac_status=$?
 
4660
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4661
  (exit $ac_status); }; } &&
 
4662
         { ac_try='test -s conftest$ac_exeext'
4229
4663
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4230
4664
  (eval $ac_try) 2>&5
4231
4665
  ac_status=$?
4234
4668
  acx_pthread_ok=yes
4235
4669
else
4236
4670
  echo "$as_me: failed program was:" >&5
4237
 
cat conftest.$ac_ext >&5
 
4671
sed 's/^/| /' conftest.$ac_ext >&5
 
4672
 
4238
4673
fi
4239
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4674
rm -f conftest.err conftest.$ac_objext \
 
4675
      conftest$ac_exeext conftest.$ac_ext
4240
4676
        echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
4241
4677
echo "${ECHO_T}$acx_pthread_ok" >&6
4242
4678
        if test x"$acx_pthread_ok" = xno; then
4372
4808
        # functions on Solaris that doesn't have a non-functional libc stub.
4373
4809
        # We try pthread_create on general principles.
4374
4810
        cat >conftest.$ac_ext <<_ACEOF
4375
 
#line $LINENO "configure"
4376
 
#include "confdefs.h"
 
4811
/* confdefs.h.  */
 
4812
_ACEOF
 
4813
cat confdefs.h >>conftest.$ac_ext
 
4814
cat >>conftest.$ac_ext <<_ACEOF
 
4815
/* end confdefs.h.  */
4377
4816
#include <pthread.h>
4378
 
#ifdef F77_DUMMY_MAIN
4379
 
#  ifdef __cplusplus
4380
 
     extern "C"
4381
 
#  endif
4382
 
   int F77_DUMMY_MAIN() { return 1; }
4383
 
#endif
4384
4817
int
4385
4818
main ()
4386
4819
{
4393
4826
_ACEOF
4394
4827
rm -f conftest.$ac_objext conftest$ac_exeext
4395
4828
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4396
 
  (eval $ac_link) 2>&5
 
4829
  (eval $ac_link) 2>conftest.er1
4397
4830
  ac_status=$?
 
4831
  grep -v '^ *+' conftest.er1 >conftest.err
 
4832
  rm -f conftest.er1
 
4833
  cat conftest.err >&5
4398
4834
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399
4835
  (exit $ac_status); } &&
4400
 
         { ac_try='test -s conftest$ac_exeext'
 
4836
         { ac_try='test -z "$ac_c_werror_flag"
 
4837
                         || test ! -s conftest.err'
 
4838
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4839
  (eval $ac_try) 2>&5
 
4840
  ac_status=$?
 
4841
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4842
  (exit $ac_status); }; } &&
 
4843
         { ac_try='test -s conftest$ac_exeext'
4401
4844
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4402
4845
  (eval $ac_try) 2>&5
4403
4846
  ac_status=$?
4406
4849
  acx_pthread_ok=yes
4407
4850
else
4408
4851
  echo "$as_me: failed program was:" >&5
4409
 
cat conftest.$ac_ext >&5
 
4852
sed 's/^/| /' conftest.$ac_ext >&5
 
4853
 
4410
4854
fi
4411
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4855
rm -f conftest.err conftest.$ac_objext \
 
4856
      conftest$ac_exeext conftest.$ac_ext
4412
4857
 
4413
4858
        LIBS="$save_LIBS"
4414
4859
        CFLAGS="$save_CFLAGS"
4436
4881
        echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
4437
4882
echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6
4438
4883
        cat >conftest.$ac_ext <<_ACEOF
4439
 
#line $LINENO "configure"
4440
 
#include "confdefs.h"
 
4884
/* confdefs.h.  */
 
4885
_ACEOF
 
4886
cat confdefs.h >>conftest.$ac_ext
 
4887
cat >>conftest.$ac_ext <<_ACEOF
 
4888
/* end confdefs.h.  */
4441
4889
#include <pthread.h>
4442
 
#ifdef F77_DUMMY_MAIN
4443
 
#  ifdef __cplusplus
4444
 
     extern "C"
4445
 
#  endif
4446
 
   int F77_DUMMY_MAIN() { return 1; }
4447
 
#endif
4448
4890
int
4449
4891
main ()
4450
4892
{
4455
4897
_ACEOF
4456
4898
rm -f conftest.$ac_objext conftest$ac_exeext
4457
4899
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4458
 
  (eval $ac_link) 2>&5
 
4900
  (eval $ac_link) 2>conftest.er1
4459
4901
  ac_status=$?
 
4902
  grep -v '^ *+' conftest.er1 >conftest.err
 
4903
  rm -f conftest.er1
 
4904
  cat conftest.err >&5
4460
4905
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461
4906
  (exit $ac_status); } &&
4462
 
         { ac_try='test -s conftest$ac_exeext'
 
4907
         { ac_try='test -z "$ac_c_werror_flag"
 
4908
                         || test ! -s conftest.err'
 
4909
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4910
  (eval $ac_try) 2>&5
 
4911
  ac_status=$?
 
4912
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4913
  (exit $ac_status); }; } &&
 
4914
         { ac_try='test -s conftest$ac_exeext'
4463
4915
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4464
4916
  (eval $ac_try) 2>&5
4465
4917
  ac_status=$?
4468
4920
  ok=PTHREAD_CREATE_JOINABLE
4469
4921
else
4470
4922
  echo "$as_me: failed program was:" >&5
4471
 
cat conftest.$ac_ext >&5
 
4923
sed 's/^/| /' conftest.$ac_ext >&5
 
4924
 
4472
4925
ok=unknown
4473
4926
fi
4474
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4927
rm -f conftest.err conftest.$ac_objext \
 
4928
      conftest$ac_exeext conftest.$ac_ext
4475
4929
        if test x"$ok" = xunknown; then
4476
4930
                cat >conftest.$ac_ext <<_ACEOF
4477
 
#line $LINENO "configure"
4478
 
#include "confdefs.h"
 
4931
/* confdefs.h.  */
 
4932
_ACEOF
 
4933
cat confdefs.h >>conftest.$ac_ext
 
4934
cat >>conftest.$ac_ext <<_ACEOF
 
4935
/* end confdefs.h.  */
4479
4936
#include <pthread.h>
4480
 
#ifdef F77_DUMMY_MAIN
4481
 
#  ifdef __cplusplus
4482
 
     extern "C"
4483
 
#  endif
4484
 
   int F77_DUMMY_MAIN() { return 1; }
4485
 
#endif
4486
4937
int
4487
4938
main ()
4488
4939
{
4493
4944
_ACEOF
4494
4945
rm -f conftest.$ac_objext conftest$ac_exeext
4495
4946
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4496
 
  (eval $ac_link) 2>&5
 
4947
  (eval $ac_link) 2>conftest.er1
4497
4948
  ac_status=$?
 
4949
  grep -v '^ *+' conftest.er1 >conftest.err
 
4950
  rm -f conftest.er1
 
4951
  cat conftest.err >&5
4498
4952
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499
4953
  (exit $ac_status); } &&
4500
 
         { ac_try='test -s conftest$ac_exeext'
 
4954
         { ac_try='test -z "$ac_c_werror_flag"
 
4955
                         || test ! -s conftest.err'
 
4956
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4957
  (eval $ac_try) 2>&5
 
4958
  ac_status=$?
 
4959
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4960
  (exit $ac_status); }; } &&
 
4961
         { ac_try='test -s conftest$ac_exeext'
4501
4962
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4502
4963
  (eval $ac_try) 2>&5
4503
4964
  ac_status=$?
4506
4967
  ok=PTHREAD_CREATE_UNDETACHED
4507
4968
else
4508
4969
  echo "$as_me: failed program was:" >&5
4509
 
cat conftest.$ac_ext >&5
 
4970
sed 's/^/| /' conftest.$ac_ext >&5
 
4971
 
4510
4972
ok=unknown
4511
4973
fi
4512
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4974
rm -f conftest.err conftest.$ac_objext \
 
4975
      conftest$ac_exeext conftest.$ac_ext
4513
4976
        fi
4514
4977
        if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then
4515
4978
 
4644
5107
  echo $ECHO_N "(cached) $ECHO_C" >&6
4645
5108
else
4646
5109
  cat >conftest.$ac_ext <<_ACEOF
4647
 
#line $LINENO "configure"
4648
 
#include "confdefs.h"
 
5110
/* confdefs.h.  */
 
5111
_ACEOF
 
5112
cat confdefs.h >>conftest.$ac_ext
 
5113
cat >>conftest.$ac_ext <<_ACEOF
 
5114
/* end confdefs.h.  */
 
5115
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
5116
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
5117
#define $ac_func innocuous_$ac_func
 
5118
 
4649
5119
/* System header to define __stub macros and hopefully few prototypes,
4650
 
    which can conflict with char $ac_func (); below.  */
4651
 
#include <assert.h>
 
5120
    which can conflict with char $ac_func (); below.
 
5121
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
5122
    <limits.h> exists even on freestanding compilers.  */
 
5123
 
 
5124
#ifdef __STDC__
 
5125
# include <limits.h>
 
5126
#else
 
5127
# include <assert.h>
 
5128
#endif
 
5129
 
 
5130
#undef $ac_func
 
5131
 
4652
5132
/* Override any gcc2 internal prototype to avoid an error.  */
4653
5133
#ifdef __cplusplus
4654
5134
extern "C"
 
5135
{
4655
5136
#endif
4656
5137
/* We use char because int might match the return type of a gcc2
4657
5138
   builtin and then its argument prototype would still apply.  */
4658
5139
char $ac_func ();
4659
 
char (*f) ();
4660
 
 
4661
 
#ifdef F77_DUMMY_MAIN
4662
 
#  ifdef __cplusplus
4663
 
     extern "C"
4664
 
#  endif
4665
 
   int F77_DUMMY_MAIN() { return 1; }
4666
 
#endif
4667
 
int
4668
 
main ()
4669
 
{
4670
5140
/* The GNU C library defines this for functions which it implements
4671
5141
    to always fail with ENOSYS.  Some functions are actually named
4672
5142
    something starting with __ and the normal name is an alias.  */
4673
5143
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4674
5144
choke me
4675
5145
#else
4676
 
f = $ac_func;
 
5146
char (*f) () = $ac_func;
 
5147
#endif
 
5148
#ifdef __cplusplus
 
5149
}
4677
5150
#endif
4678
5151
 
 
5152
int
 
5153
main ()
 
5154
{
 
5155
return f != $ac_func;
4679
5156
  ;
4680
5157
  return 0;
4681
5158
}
4682
5159
_ACEOF
4683
5160
rm -f conftest.$ac_objext conftest$ac_exeext
4684
5161
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4685
 
  (eval $ac_link) 2>&5
 
5162
  (eval $ac_link) 2>conftest.er1
4686
5163
  ac_status=$?
 
5164
  grep -v '^ *+' conftest.er1 >conftest.err
 
5165
  rm -f conftest.er1
 
5166
  cat conftest.err >&5
4687
5167
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688
5168
  (exit $ac_status); } &&
4689
 
         { ac_try='test -s conftest$ac_exeext'
 
5169
         { ac_try='test -z "$ac_c_werror_flag"
 
5170
                         || test ! -s conftest.err'
 
5171
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5172
  (eval $ac_try) 2>&5
 
5173
  ac_status=$?
 
5174
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5175
  (exit $ac_status); }; } &&
 
5176
         { ac_try='test -s conftest$ac_exeext'
4690
5177
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4691
5178
  (eval $ac_try) 2>&5
4692
5179
  ac_status=$?
4695
5182
  eval "$as_ac_var=yes"
4696
5183
else
4697
5184
  echo "$as_me: failed program was:" >&5
4698
 
cat conftest.$ac_ext >&5
 
5185
sed 's/^/| /' conftest.$ac_ext >&5
 
5186
 
4699
5187
eval "$as_ac_var=no"
4700
5188
fi
4701
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
5189
rm -f conftest.err conftest.$ac_objext \
 
5190
      conftest$ac_exeext conftest.$ac_ext
4702
5191
fi
4703
5192
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4704
5193
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4728
5217
  ac_check_lib_save_LIBS=$LIBS
4729
5218
LIBS="-lc  $LIBS"
4730
5219
cat >conftest.$ac_ext <<_ACEOF
4731
 
#line $LINENO "configure"
4732
 
#include "confdefs.h"
 
5220
/* confdefs.h.  */
 
5221
_ACEOF
 
5222
cat confdefs.h >>conftest.$ac_ext
 
5223
cat >>conftest.$ac_ext <<_ACEOF
 
5224
/* end confdefs.h.  */
4733
5225
 
4734
5226
/* Override any gcc2 internal prototype to avoid an error.  */
4735
5227
#ifdef __cplusplus
4738
5230
/* We use char because int might match the return type of a gcc2
4739
5231
   builtin and then its argument prototype would still apply.  */
4740
5232
char pthread_mutexattr_setrobust_np ();
4741
 
#ifdef F77_DUMMY_MAIN
4742
 
#  ifdef __cplusplus
4743
 
     extern "C"
4744
 
#  endif
4745
 
   int F77_DUMMY_MAIN() { return 1; }
4746
 
#endif
4747
5233
int
4748
5234
main ()
4749
5235
{
4754
5240
_ACEOF
4755
5241
rm -f conftest.$ac_objext conftest$ac_exeext
4756
5242
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4757
 
  (eval $ac_link) 2>&5
 
5243
  (eval $ac_link) 2>conftest.er1
4758
5244
  ac_status=$?
 
5245
  grep -v '^ *+' conftest.er1 >conftest.err
 
5246
  rm -f conftest.er1
 
5247
  cat conftest.err >&5
4759
5248
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760
5249
  (exit $ac_status); } &&
4761
 
         { ac_try='test -s conftest$ac_exeext'
 
5250
         { ac_try='test -z "$ac_c_werror_flag"
 
5251
                         || test ! -s conftest.err'
 
5252
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5253
  (eval $ac_try) 2>&5
 
5254
  ac_status=$?
 
5255
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5256
  (exit $ac_status); }; } &&
 
5257
         { ac_try='test -s conftest$ac_exeext'
4762
5258
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4763
5259
  (eval $ac_try) 2>&5
4764
5260
  ac_status=$?
4767
5263
  ac_cv_lib_c_pthread_mutexattr_setrobust_np=yes
4768
5264
else
4769
5265
  echo "$as_me: failed program was:" >&5
4770
 
cat conftest.$ac_ext >&5
 
5266
sed 's/^/| /' conftest.$ac_ext >&5
 
5267
 
4771
5268
ac_cv_lib_c_pthread_mutexattr_setrobust_np=no
4772
5269
fi
4773
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
5270
rm -f conftest.err conftest.$ac_objext \
 
5271
      conftest$ac_exeext conftest.$ac_ext
4774
5272
LIBS=$ac_check_lib_save_LIBS
4775
5273
fi
4776
5274
echo "$as_me:$LINENO: result: $ac_cv_lib_c_pthread_mutexattr_setrobust_np" >&5
4791
5289
  ac_check_lib_save_LIBS=$LIBS
4792
5290
LIBS="-lc  $LIBS"
4793
5291
cat >conftest.$ac_ext <<_ACEOF
4794
 
#line $LINENO "configure"
4795
 
#include "confdefs.h"
 
5292
/* confdefs.h.  */
 
5293
_ACEOF
 
5294
cat confdefs.h >>conftest.$ac_ext
 
5295
cat >>conftest.$ac_ext <<_ACEOF
 
5296
/* end confdefs.h.  */
4796
5297
 
4797
5298
/* Override any gcc2 internal prototype to avoid an error.  */
4798
5299
#ifdef __cplusplus
4801
5302
/* We use char because int might match the return type of a gcc2
4802
5303
   builtin and then its argument prototype would still apply.  */
4803
5304
char pthread_rwlock_init ();
4804
 
#ifdef F77_DUMMY_MAIN
4805
 
#  ifdef __cplusplus
4806
 
     extern "C"
4807
 
#  endif
4808
 
   int F77_DUMMY_MAIN() { return 1; }
4809
 
#endif
4810
5305
int
4811
5306
main ()
4812
5307
{
4817
5312
_ACEOF
4818
5313
rm -f conftest.$ac_objext conftest$ac_exeext
4819
5314
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4820
 
  (eval $ac_link) 2>&5
 
5315
  (eval $ac_link) 2>conftest.er1
4821
5316
  ac_status=$?
 
5317
  grep -v '^ *+' conftest.er1 >conftest.err
 
5318
  rm -f conftest.er1
 
5319
  cat conftest.err >&5
4822
5320
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823
5321
  (exit $ac_status); } &&
4824
 
         { ac_try='test -s conftest$ac_exeext'
 
5322
         { ac_try='test -z "$ac_c_werror_flag"
 
5323
                         || test ! -s conftest.err'
 
5324
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5325
  (eval $ac_try) 2>&5
 
5326
  ac_status=$?
 
5327
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5328
  (exit $ac_status); }; } &&
 
5329
         { ac_try='test -s conftest$ac_exeext'
4825
5330
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826
5331
  (eval $ac_try) 2>&5
4827
5332
  ac_status=$?
4830
5335
  ac_cv_lib_c_pthread_rwlock_init=yes
4831
5336
else
4832
5337
  echo "$as_me: failed program was:" >&5
4833
 
cat conftest.$ac_ext >&5
 
5338
sed 's/^/| /' conftest.$ac_ext >&5
 
5339
 
4834
5340
ac_cv_lib_c_pthread_rwlock_init=no
4835
5341
fi
4836
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
5342
rm -f conftest.err conftest.$ac_objext \
 
5343
      conftest$ac_exeext conftest.$ac_ext
4837
5344
LIBS=$ac_check_lib_save_LIBS
4838
5345
fi
4839
5346
echo "$as_me:$LINENO: result: $ac_cv_lib_c_pthread_rwlock_init" >&5
4857
5364
  echo $ECHO_N "(cached) $ECHO_C" >&6
4858
5365
else
4859
5366
  cat >conftest.$ac_ext <<_ACEOF
4860
 
#line $LINENO "configure"
4861
 
#include "confdefs.h"
 
5367
/* confdefs.h.  */
 
5368
_ACEOF
 
5369
cat confdefs.h >>conftest.$ac_ext
 
5370
cat >>conftest.$ac_ext <<_ACEOF
 
5371
/* end confdefs.h.  */
4862
5372
 
4863
 
#ifdef F77_DUMMY_MAIN
4864
 
#  ifdef __cplusplus
4865
 
     extern "C"
4866
 
#  endif
4867
 
   int F77_DUMMY_MAIN() { return 1; }
4868
 
#endif
4869
5373
int
4870
5374
main ()
4871
5375
{
4922
5426
_ACEOF
4923
5427
rm -f conftest.$ac_objext
4924
5428
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4925
 
  (eval $ac_compile) 2>&5
 
5429
  (eval $ac_compile) 2>conftest.er1
4926
5430
  ac_status=$?
 
5431
  grep -v '^ *+' conftest.er1 >conftest.err
 
5432
  rm -f conftest.er1
 
5433
  cat conftest.err >&5
4927
5434
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928
5435
  (exit $ac_status); } &&
4929
 
         { ac_try='test -s conftest.$ac_objext'
 
5436
         { ac_try='test -z "$ac_c_werror_flag"
 
5437
                         || test ! -s conftest.err'
 
5438
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5439
  (eval $ac_try) 2>&5
 
5440
  ac_status=$?
 
5441
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5442
  (exit $ac_status); }; } &&
 
5443
         { ac_try='test -s conftest.$ac_objext'
4930
5444
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931
5445
  (eval $ac_try) 2>&5
4932
5446
  ac_status=$?
4935
5449
  ac_cv_c_const=yes
4936
5450
else
4937
5451
  echo "$as_me: failed program was:" >&5
4938
 
cat conftest.$ac_ext >&5
 
5452
sed 's/^/| /' conftest.$ac_ext >&5
 
5453
 
4939
5454
ac_cv_c_const=no
4940
5455
fi
4941
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5456
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4942
5457
fi
4943
5458
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4944
5459
echo "${ECHO_T}$ac_cv_c_const" >&6
4961
5476
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4962
5477
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4963
5478
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
5479
# OS/2's system install, which has a completely different semantic
4964
5480
# ./install, which can be erroneously created by make from ./install.sh.
4965
5481
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4966
5482
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4977
5493
case $as_dir/ in
4978
5494
  ./ | .// | /cC/* | \
4979
5495
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
5496
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4980
5497
  /usr/ucb/* ) ;;
4981
5498
  *)
4982
5499
    # OSF1 and SCO ODT 3.0 have their own names for install.
4984
5501
    # by default.
4985
5502
    for ac_prog in ginstall scoinst install; do
4986
5503
      for ac_exec_ext in '' $ac_executable_extensions; do
4987
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4988
 
          if test $ac_prog = install &&
4989
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4990
 
            # AIX install.  It has an incompatible calling convention.
4991
 
            :
4992
 
          elif test $ac_prog = install &&
4993
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4994
 
            # program-specific install script used by HP pwplus--don't use.
4995
 
            :
4996
 
          else
4997
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4998
 
            break 3
4999
 
          fi
5000
 
        fi
 
5504
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
5505
          if test $ac_prog = install &&
 
5506
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
5507
            # AIX install.  It has an incompatible calling convention.
 
5508
            :
 
5509
          elif test $ac_prog = install &&
 
5510
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
5511
            # program-specific install script used by HP pwplus--don't use.
 
5512
            :
 
5513
          else
 
5514
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
5515
            break 3
 
5516
          fi
 
5517
        fi
5001
5518
      done
5002
5519
    done
5003
5520
    ;;
5075
5592
  echo $ECHO_N "(cached) $ECHO_C" >&6
5076
5593
else
5077
5594
  cat >conftest.$ac_ext <<_ACEOF
5078
 
#line $LINENO "configure"
5079
 
#include "confdefs.h"
 
5595
/* confdefs.h.  */
 
5596
_ACEOF
 
5597
cat confdefs.h >>conftest.$ac_ext
 
5598
cat >>conftest.$ac_ext <<_ACEOF
 
5599
/* end confdefs.h.  */
5080
5600
#include <sys/types.h>
5081
5601
#include <signal.h>
5082
5602
#ifdef signal
5083
5603
#undef signal
5084
5604
#endif
5085
5605
extern void (*signal ()) ();
5086
 
#ifdef F77_DUMMY_MAIN
5087
 
#  ifdef __cplusplus
5088
 
     extern "C"
5089
 
#  endif
5090
 
   int F77_DUMMY_MAIN() { return 1; }
5091
 
#endif
5092
5606
int
5093
5607
main ()
5094
5608
{
5099
5613
_ACEOF
5100
5614
rm -f conftest.$ac_objext
5101
5615
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5102
 
  (eval $ac_compile) 2>&5
 
5616
  (eval $ac_compile) 2>conftest.er1
5103
5617
  ac_status=$?
 
5618
  grep -v '^ *+' conftest.er1 >conftest.err
 
5619
  rm -f conftest.er1
 
5620
  cat conftest.err >&5
5104
5621
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105
5622
  (exit $ac_status); } &&
5106
 
         { ac_try='test -s conftest.$ac_objext'
 
5623
         { ac_try='test -z "$ac_c_werror_flag"
 
5624
                         || test ! -s conftest.err'
 
5625
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5626
  (eval $ac_try) 2>&5
 
5627
  ac_status=$?
 
5628
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5629
  (exit $ac_status); }; } &&
 
5630
         { ac_try='test -s conftest.$ac_objext'
5107
5631
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5108
5632
  (eval $ac_try) 2>&5
5109
5633
  ac_status=$?
5112
5636
  krb5_cv_has_posix_signals=yes
5113
5637
else
5114
5638
  echo "$as_me: failed program was:" >&5
5115
 
cat conftest.$ac_ext >&5
 
5639
sed 's/^/| /' conftest.$ac_ext >&5
 
5640
 
5116
5641
krb5_cv_has_posix_signals=no
5117
5642
fi
5118
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5643
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5119
5644
fi
5120
5645
 
5121
5646
echo "$as_me:$LINENO: result: $krb5_cv_has_posix_signals" >&5
5146
5671
  echo $ECHO_N "(cached) $ECHO_C" >&6
5147
5672
else
5148
5673
  cat >conftest.$ac_ext <<_ACEOF
5149
 
#line $LINENO "configure"
5150
 
#include "confdefs.h"
 
5674
/* confdefs.h.  */
 
5675
_ACEOF
 
5676
cat confdefs.h >>conftest.$ac_ext
 
5677
cat >>conftest.$ac_ext <<_ACEOF
 
5678
/* end confdefs.h.  */
 
5679
/* Define sigprocmask to an innocuous variant, in case <limits.h> declares sigprocmask.
 
5680
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
5681
#define sigprocmask innocuous_sigprocmask
 
5682
 
5151
5683
/* System header to define __stub macros and hopefully few prototypes,
5152
 
    which can conflict with char sigprocmask (); below.  */
5153
 
#include <assert.h>
 
5684
    which can conflict with char sigprocmask (); below.
 
5685
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
5686
    <limits.h> exists even on freestanding compilers.  */
 
5687
 
 
5688
#ifdef __STDC__
 
5689
# include <limits.h>
 
5690
#else
 
5691
# include <assert.h>
 
5692
#endif
 
5693
 
 
5694
#undef sigprocmask
 
5695
 
5154
5696
/* Override any gcc2 internal prototype to avoid an error.  */
5155
5697
#ifdef __cplusplus
5156
5698
extern "C"
 
5699
{
5157
5700
#endif
5158
5701
/* We use char because int might match the return type of a gcc2
5159
5702
   builtin and then its argument prototype would still apply.  */
5160
5703
char sigprocmask ();
5161
 
char (*f) ();
5162
 
 
5163
 
#ifdef F77_DUMMY_MAIN
5164
 
#  ifdef __cplusplus
5165
 
     extern "C"
5166
 
#  endif
5167
 
   int F77_DUMMY_MAIN() { return 1; }
5168
 
#endif
5169
 
int
5170
 
main ()
5171
 
{
5172
5704
/* The GNU C library defines this for functions which it implements
5173
5705
    to always fail with ENOSYS.  Some functions are actually named
5174
5706
    something starting with __ and the normal name is an alias.  */
5175
5707
#if defined (__stub_sigprocmask) || defined (__stub___sigprocmask)
5176
5708
choke me
5177
5709
#else
5178
 
f = sigprocmask;
 
5710
char (*f) () = sigprocmask;
 
5711
#endif
 
5712
#ifdef __cplusplus
 
5713
}
5179
5714
#endif
5180
5715
 
 
5716
int
 
5717
main ()
 
5718
{
 
5719
return f != sigprocmask;
5181
5720
  ;
5182
5721
  return 0;
5183
5722
}
5184
5723
_ACEOF
5185
5724
rm -f conftest.$ac_objext conftest$ac_exeext
5186
5725
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5187
 
  (eval $ac_link) 2>&5
 
5726
  (eval $ac_link) 2>conftest.er1
5188
5727
  ac_status=$?
 
5728
  grep -v '^ *+' conftest.er1 >conftest.err
 
5729
  rm -f conftest.er1
 
5730
  cat conftest.err >&5
5189
5731
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190
5732
  (exit $ac_status); } &&
5191
 
         { ac_try='test -s conftest$ac_exeext'
 
5733
         { ac_try='test -z "$ac_c_werror_flag"
 
5734
                         || test ! -s conftest.err'
 
5735
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5736
  (eval $ac_try) 2>&5
 
5737
  ac_status=$?
 
5738
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5739
  (exit $ac_status); }; } &&
 
5740
         { ac_try='test -s conftest$ac_exeext'
5192
5741
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5193
5742
  (eval $ac_try) 2>&5
5194
5743
  ac_status=$?
5197
5746
  ac_cv_func_sigprocmask=yes
5198
5747
else
5199
5748
  echo "$as_me: failed program was:" >&5
5200
 
cat conftest.$ac_ext >&5
 
5749
sed 's/^/| /' conftest.$ac_ext >&5
 
5750
 
5201
5751
ac_cv_func_sigprocmask=no
5202
5752
fi
5203
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
5753
rm -f conftest.err conftest.$ac_objext \
 
5754
      conftest$ac_exeext conftest.$ac_ext
5204
5755
fi
5205
5756
echo "$as_me:$LINENO: result: $ac_cv_func_sigprocmask" >&5
5206
5757
echo "${ECHO_T}$ac_cv_func_sigprocmask" >&6
5211
5762
  echo $ECHO_N "(cached) $ECHO_C" >&6
5212
5763
else
5213
5764
  cat >conftest.$ac_ext <<_ACEOF
5214
 
#line $LINENO "configure"
5215
 
#include "confdefs.h"
 
5765
/* confdefs.h.  */
 
5766
_ACEOF
 
5767
cat confdefs.h >>conftest.$ac_ext
 
5768
cat >>conftest.$ac_ext <<_ACEOF
 
5769
/* end confdefs.h.  */
5216
5770
#include <signal.h>
5217
 
#ifdef F77_DUMMY_MAIN
5218
 
#  ifdef __cplusplus
5219
 
     extern "C"
5220
 
#  endif
5221
 
   int F77_DUMMY_MAIN() { return 1; }
5222
 
#endif
5223
5771
int
5224
5772
main ()
5225
5773
{
5230
5778
_ACEOF
5231
5779
rm -f conftest.$ac_objext
5232
5780
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5233
 
  (eval $ac_compile) 2>&5
 
5781
  (eval $ac_compile) 2>conftest.er1
5234
5782
  ac_status=$?
 
5783
  grep -v '^ *+' conftest.er1 >conftest.err
 
5784
  rm -f conftest.er1
 
5785
  cat conftest.err >&5
5235
5786
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236
5787
  (exit $ac_status); } &&
5237
 
         { ac_try='test -s conftest.$ac_objext'
 
5788
         { ac_try='test -z "$ac_c_werror_flag"
 
5789
                         || test ! -s conftest.err'
 
5790
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5791
  (eval $ac_try) 2>&5
 
5792
  ac_status=$?
 
5793
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5794
  (exit $ac_status); }; } &&
 
5795
         { ac_try='test -s conftest.$ac_objext'
5238
5796
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5239
5797
  (eval $ac_try) 2>&5
5240
5798
  ac_status=$?
5243
5801
  krb5_cv_type_sigset_t=yes
5244
5802
else
5245
5803
  echo "$as_me: failed program was:" >&5
5246
 
cat conftest.$ac_ext >&5
 
5804
sed 's/^/| /' conftest.$ac_ext >&5
 
5805
 
5247
5806
krb5_cv_type_sigset_t=no
5248
5807
fi
5249
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5808
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5250
5809
fi
5251
5810
 
5252
5811
echo "$as_me:$LINENO: result: $krb5_cv_type_sigset_t" >&5
5268
5827
  echo $ECHO_N "(cached) $ECHO_C" >&6
5269
5828
else
5270
5829
  cat >conftest.$ac_ext <<_ACEOF
5271
 
#line $LINENO "configure"
5272
 
#include "confdefs.h"
 
5830
/* confdefs.h.  */
 
5831
_ACEOF
 
5832
cat confdefs.h >>conftest.$ac_ext
 
5833
cat >>conftest.$ac_ext <<_ACEOF
 
5834
/* end confdefs.h.  */
5273
5835
#include <signal.h>
5274
 
#ifdef F77_DUMMY_MAIN
5275
 
#  ifdef __cplusplus
5276
 
     extern "C"
5277
 
#  endif
5278
 
   int F77_DUMMY_MAIN() { return 1; }
5279
 
#endif
5280
5836
int
5281
5837
main ()
5282
5838
{
5287
5843
_ACEOF
5288
5844
rm -f conftest.$ac_objext conftest$ac_exeext
5289
5845
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5290
 
  (eval $ac_link) 2>&5
 
5846
  (eval $ac_link) 2>conftest.er1
5291
5847
  ac_status=$?
 
5848
  grep -v '^ *+' conftest.er1 >conftest.err
 
5849
  rm -f conftest.er1
 
5850
  cat conftest.err >&5
5292
5851
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293
5852
  (exit $ac_status); } &&
5294
 
         { ac_try='test -s conftest$ac_exeext'
 
5853
         { ac_try='test -z "$ac_c_werror_flag"
 
5854
                         || test ! -s conftest.err'
 
5855
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5856
  (eval $ac_try) 2>&5
 
5857
  ac_status=$?
 
5858
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5859
  (exit $ac_status); }; } &&
 
5860
         { ac_try='test -s conftest$ac_exeext'
5295
5861
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5296
5862
  (eval $ac_try) 2>&5
5297
5863
  ac_status=$?
5300
5866
  krb5_cv_func_sigprocmask_use=yes
5301
5867
else
5302
5868
  echo "$as_me: failed program was:" >&5
5303
 
cat conftest.$ac_ext >&5
 
5869
sed 's/^/| /' conftest.$ac_ext >&5
 
5870
 
5304
5871
cat >conftest.$ac_ext <<_ACEOF
5305
 
#line $LINENO "configure"
5306
 
#include "confdefs.h"
 
5872
/* confdefs.h.  */
 
5873
_ACEOF
 
5874
cat confdefs.h >>conftest.$ac_ext
 
5875
cat >>conftest.$ac_ext <<_ACEOF
 
5876
/* end confdefs.h.  */
5307
5877
#include <signal.h>
5308
 
#ifdef F77_DUMMY_MAIN
5309
 
#  ifdef __cplusplus
5310
 
     extern "C"
5311
 
#  endif
5312
 
   int F77_DUMMY_MAIN() { return 1; }
5313
 
#endif
5314
5878
int
5315
5879
main ()
5316
5880
{
5321
5885
_ACEOF
5322
5886
rm -f conftest.$ac_objext conftest$ac_exeext
5323
5887
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5324
 
  (eval $ac_link) 2>&5
 
5888
  (eval $ac_link) 2>conftest.er1
5325
5889
  ac_status=$?
 
5890
  grep -v '^ *+' conftest.er1 >conftest.err
 
5891
  rm -f conftest.er1
 
5892
  cat conftest.err >&5
5326
5893
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327
5894
  (exit $ac_status); } &&
5328
 
         { ac_try='test -s conftest$ac_exeext'
 
5895
         { ac_try='test -z "$ac_c_werror_flag"
 
5896
                         || test ! -s conftest.err'
 
5897
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5898
  (eval $ac_try) 2>&5
 
5899
  ac_status=$?
 
5900
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5901
  (exit $ac_status); }; } &&
 
5902
         { ac_try='test -s conftest$ac_exeext'
5329
5903
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5330
5904
  (eval $ac_try) 2>&5
5331
5905
  ac_status=$?
5334
5908
  krb5_cv_func_sigprocmask_use=no
5335
5909
else
5336
5910
  echo "$as_me: failed program was:" >&5
5337
 
cat conftest.$ac_ext >&5
 
5911
sed 's/^/| /' conftest.$ac_ext >&5
 
5912
 
5338
5913
krb5_cv_func_sigprocmask_use=yes
5339
5914
fi
5340
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
5915
rm -f conftest.err conftest.$ac_objext \
 
5916
      conftest$ac_exeext conftest.$ac_ext
5341
5917
fi
5342
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
5918
rm -f conftest.err conftest.$ac_objext \
 
5919
      conftest$ac_exeext conftest.$ac_ext
5343
5920
fi
5344
5921
 
5345
5922
echo "$as_me:$LINENO: result: $krb5_cv_func_sigprocmask_use" >&5
5358
5935
  echo $ECHO_N "(cached) $ECHO_C" >&6
5359
5936
else
5360
5937
  cat >conftest.$ac_ext <<_ACEOF
5361
 
#line $LINENO "configure"
5362
 
#include "confdefs.h"
 
5938
/* confdefs.h.  */
 
5939
_ACEOF
 
5940
cat confdefs.h >>conftest.$ac_ext
 
5941
cat >>conftest.$ac_ext <<_ACEOF
 
5942
/* end confdefs.h.  */
 
5943
/* Define sigsetjmp to an innocuous variant, in case <limits.h> declares sigsetjmp.
 
5944
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
5945
#define sigsetjmp innocuous_sigsetjmp
 
5946
 
5363
5947
/* System header to define __stub macros and hopefully few prototypes,
5364
 
    which can conflict with char sigsetjmp (); below.  */
5365
 
#include <assert.h>
 
5948
    which can conflict with char sigsetjmp (); below.
 
5949
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
5950
    <limits.h> exists even on freestanding compilers.  */
 
5951
 
 
5952
#ifdef __STDC__
 
5953
# include <limits.h>
 
5954
#else
 
5955
# include <assert.h>
 
5956
#endif
 
5957
 
 
5958
#undef sigsetjmp
 
5959
 
5366
5960
/* Override any gcc2 internal prototype to avoid an error.  */
5367
5961
#ifdef __cplusplus
5368
5962
extern "C"
 
5963
{
5369
5964
#endif
5370
5965
/* We use char because int might match the return type of a gcc2
5371
5966
   builtin and then its argument prototype would still apply.  */
5372
5967
char sigsetjmp ();
5373
 
char (*f) ();
5374
 
 
5375
 
#ifdef F77_DUMMY_MAIN
5376
 
#  ifdef __cplusplus
5377
 
     extern "C"
5378
 
#  endif
5379
 
   int F77_DUMMY_MAIN() { return 1; }
5380
 
#endif
5381
 
int
5382
 
main ()
5383
 
{
5384
5968
/* The GNU C library defines this for functions which it implements
5385
5969
    to always fail with ENOSYS.  Some functions are actually named
5386
5970
    something starting with __ and the normal name is an alias.  */
5387
5971
#if defined (__stub_sigsetjmp) || defined (__stub___sigsetjmp)
5388
5972
choke me
5389
5973
#else
5390
 
f = sigsetjmp;
 
5974
char (*f) () = sigsetjmp;
 
5975
#endif
 
5976
#ifdef __cplusplus
 
5977
}
5391
5978
#endif
5392
5979
 
 
5980
int
 
5981
main ()
 
5982
{
 
5983
return f != sigsetjmp;
5393
5984
  ;
5394
5985
  return 0;
5395
5986
}
5396
5987
_ACEOF
5397
5988
rm -f conftest.$ac_objext conftest$ac_exeext
5398
5989
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5399
 
  (eval $ac_link) 2>&5
 
5990
  (eval $ac_link) 2>conftest.er1
5400
5991
  ac_status=$?
 
5992
  grep -v '^ *+' conftest.er1 >conftest.err
 
5993
  rm -f conftest.er1
 
5994
  cat conftest.err >&5
5401
5995
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402
5996
  (exit $ac_status); } &&
5403
 
         { ac_try='test -s conftest$ac_exeext'
 
5997
         { ac_try='test -z "$ac_c_werror_flag"
 
5998
                         || test ! -s conftest.err'
 
5999
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6000
  (eval $ac_try) 2>&5
 
6001
  ac_status=$?
 
6002
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6003
  (exit $ac_status); }; } &&
 
6004
         { ac_try='test -s conftest$ac_exeext'
5404
6005
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5405
6006
  (eval $ac_try) 2>&5
5406
6007
  ac_status=$?
5409
6010
  ac_cv_func_sigsetjmp=yes
5410
6011
else
5411
6012
  echo "$as_me: failed program was:" >&5
5412
 
cat conftest.$ac_ext >&5
 
6013
sed 's/^/| /' conftest.$ac_ext >&5
 
6014
 
5413
6015
ac_cv_func_sigsetjmp=no
5414
6016
fi
5415
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
6017
rm -f conftest.err conftest.$ac_objext \
 
6018
      conftest$ac_exeext conftest.$ac_ext
5416
6019
fi
5417
6020
echo "$as_me:$LINENO: result: $ac_cv_func_sigsetjmp" >&5
5418
6021
echo "${ECHO_T}$ac_cv_func_sigsetjmp" >&6
5423
6026
  echo $ECHO_N "(cached) $ECHO_C" >&6
5424
6027
else
5425
6028
  cat >conftest.$ac_ext <<_ACEOF
5426
 
#line $LINENO "configure"
5427
 
#include "confdefs.h"
 
6029
/* confdefs.h.  */
 
6030
_ACEOF
 
6031
cat confdefs.h >>conftest.$ac_ext
 
6032
cat >>conftest.$ac_ext <<_ACEOF
 
6033
/* end confdefs.h.  */
5428
6034
#include <setjmp.h>
5429
 
#ifdef F77_DUMMY_MAIN
5430
 
#  ifdef __cplusplus
5431
 
     extern "C"
5432
 
#  endif
5433
 
   int F77_DUMMY_MAIN() { return 1; }
5434
 
#endif
5435
6035
int
5436
6036
main ()
5437
6037
{
5442
6042
_ACEOF
5443
6043
rm -f conftest.$ac_objext
5444
6044
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5445
 
  (eval $ac_compile) 2>&5
 
6045
  (eval $ac_compile) 2>conftest.er1
5446
6046
  ac_status=$?
 
6047
  grep -v '^ *+' conftest.er1 >conftest.err
 
6048
  rm -f conftest.er1
 
6049
  cat conftest.err >&5
5447
6050
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448
6051
  (exit $ac_status); } &&
5449
 
         { ac_try='test -s conftest.$ac_objext'
 
6052
         { ac_try='test -z "$ac_c_werror_flag"
 
6053
                         || test ! -s conftest.err'
 
6054
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6055
  (eval $ac_try) 2>&5
 
6056
  ac_status=$?
 
6057
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6058
  (exit $ac_status); }; } &&
 
6059
         { ac_try='test -s conftest.$ac_objext'
5450
6060
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5451
6061
  (eval $ac_try) 2>&5
5452
6062
  ac_status=$?
5455
6065
  krb5_cv_struct_sigjmp_buf=yes
5456
6066
else
5457
6067
  echo "$as_me: failed program was:" >&5
5458
 
cat conftest.$ac_ext >&5
 
6068
sed 's/^/| /' conftest.$ac_ext >&5
 
6069
 
5459
6070
krb5_cv_struct_sigjmp_buf=no
5460
6071
fi
5461
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6072
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5462
6073
fi
5463
6074
 
5464
6075
echo "$as_me:$LINENO: result: $krb5_cv_struct_sigjmp_buf" >&5
5479
6090
  echo $ECHO_N "(cached) $ECHO_C" >&6
5480
6091
else
5481
6092
  cat >conftest.$ac_ext <<_ACEOF
5482
 
#line $LINENO "configure"
5483
 
#include "confdefs.h"
 
6093
/* confdefs.h.  */
 
6094
_ACEOF
 
6095
cat confdefs.h >>conftest.$ac_ext
 
6096
cat >>conftest.$ac_ext <<_ACEOF
 
6097
/* end confdefs.h.  */
5484
6098
#include <sys/types.h>
5485
6099
#include <sys/wait.h>
5486
6100
extern pid_t wait(int *);
5487
 
#ifdef F77_DUMMY_MAIN
5488
 
#  ifdef __cplusplus
5489
 
     extern "C"
5490
 
#  endif
5491
 
   int F77_DUMMY_MAIN() { return 1; }
5492
 
#endif
5493
6101
int
5494
6102
main ()
5495
6103
{
5500
6108
_ACEOF
5501
6109
rm -f conftest.$ac_objext
5502
6110
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5503
 
  (eval $ac_compile) 2>&5
 
6111
  (eval $ac_compile) 2>conftest.er1
5504
6112
  ac_status=$?
 
6113
  grep -v '^ *+' conftest.er1 >conftest.err
 
6114
  rm -f conftest.er1
 
6115
  cat conftest.err >&5
5505
6116
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506
6117
  (exit $ac_status); } &&
5507
 
         { ac_try='test -s conftest.$ac_objext'
 
6118
         { ac_try='test -z "$ac_c_werror_flag"
 
6119
                         || test ! -s conftest.err'
 
6120
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6121
  (eval $ac_try) 2>&5
 
6122
  ac_status=$?
 
6123
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6124
  (exit $ac_status); }; } &&
 
6125
         { ac_try='test -s conftest.$ac_objext'
5508
6126
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5509
6127
  (eval $ac_try) 2>&5
5510
6128
  ac_status=$?
5513
6131
  krb5_cv_struct_wait=no
5514
6132
else
5515
6133
  echo "$as_me: failed program was:" >&5
5516
 
cat conftest.$ac_ext >&5
 
6134
sed 's/^/| /' conftest.$ac_ext >&5
 
6135
 
5517
6136
cat >conftest.$ac_ext <<_ACEOF
5518
 
#line $LINENO "configure"
5519
 
#include "confdefs.h"
 
6137
/* confdefs.h.  */
 
6138
_ACEOF
 
6139
cat confdefs.h >>conftest.$ac_ext
 
6140
cat >>conftest.$ac_ext <<_ACEOF
 
6141
/* end confdefs.h.  */
5520
6142
#include <sys/wait.h>
5521
 
#ifdef F77_DUMMY_MAIN
5522
 
#  ifdef __cplusplus
5523
 
     extern "C"
5524
 
#  endif
5525
 
   int F77_DUMMY_MAIN() { return 1; }
5526
 
#endif
5527
6143
int
5528
6144
main ()
5529
6145
{
5538
6154
_ACEOF
5539
6155
rm -f conftest.$ac_objext
5540
6156
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5541
 
  (eval $ac_compile) 2>&5
 
6157
  (eval $ac_compile) 2>conftest.er1
5542
6158
  ac_status=$?
 
6159
  grep -v '^ *+' conftest.er1 >conftest.err
 
6160
  rm -f conftest.er1
 
6161
  cat conftest.err >&5
5543
6162
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544
6163
  (exit $ac_status); } &&
5545
 
         { ac_try='test -s conftest.$ac_objext'
 
6164
         { ac_try='test -z "$ac_c_werror_flag"
 
6165
                         || test ! -s conftest.err'
 
6166
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6167
  (eval $ac_try) 2>&5
 
6168
  ac_status=$?
 
6169
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6170
  (exit $ac_status); }; } &&
 
6171
         { ac_try='test -s conftest.$ac_objext'
5546
6172
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5547
6173
  (eval $ac_try) 2>&5
5548
6174
  ac_status=$?
5551
6177
  krb5_cv_struct_wait=yes
5552
6178
else
5553
6179
  echo "$as_me: failed program was:" >&5
5554
 
cat conftest.$ac_ext >&5
 
6180
sed 's/^/| /' conftest.$ac_ext >&5
 
6181
 
5555
6182
krb5_cv_struct_wait=no
5556
6183
fi
5557
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6184
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5558
6185
fi
5559
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6186
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5560
6187
fi
5561
6188
 
5562
6189
echo "$as_me:$LINENO: result: $krb5_cv_struct_wait" >&5
5575
6202
  echo $ECHO_N "(cached) $ECHO_C" >&6
5576
6203
else
5577
6204
  cat >conftest.$ac_ext <<_ACEOF
5578
 
#line $LINENO "configure"
5579
 
#include "confdefs.h"
 
6205
/* confdefs.h.  */
 
6206
_ACEOF
 
6207
cat confdefs.h >>conftest.$ac_ext
 
6208
cat >>conftest.$ac_ext <<_ACEOF
 
6209
/* end confdefs.h.  */
5580
6210
#include <stdio.h>
5581
6211
#include <errno.h>
5582
 
#ifdef F77_DUMMY_MAIN
5583
 
#  ifdef __cplusplus
5584
 
     extern "C"
5585
 
#  endif
5586
 
   int F77_DUMMY_MAIN() { return 1; }
5587
 
#endif
5588
6212
int
5589
6213
main ()
5590
6214
{
5595
6219
_ACEOF
5596
6220
rm -f conftest.$ac_objext
5597
6221
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5598
 
  (eval $ac_compile) 2>&5
 
6222
  (eval $ac_compile) 2>conftest.er1
5599
6223
  ac_status=$?
 
6224
  grep -v '^ *+' conftest.er1 >conftest.err
 
6225
  rm -f conftest.er1
 
6226
  cat conftest.err >&5
5600
6227
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601
6228
  (exit $ac_status); } &&
5602
 
         { ac_try='test -s conftest.$ac_objext'
 
6229
         { ac_try='test -z "$ac_c_werror_flag"
 
6230
                         || test ! -s conftest.err'
 
6231
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6232
  (eval $ac_try) 2>&5
 
6233
  ac_status=$?
 
6234
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6235
  (exit $ac_status); }; } &&
 
6236
         { ac_try='test -s conftest.$ac_objext'
5603
6237
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604
6238
  (eval $ac_try) 2>&5
5605
6239
  ac_status=$?
5608
6242
  krb5_cv_decl_sys_errlist=yes
5609
6243
else
5610
6244
  echo "$as_me: failed program was:" >&5
5611
 
cat conftest.$ac_ext >&5
 
6245
sed 's/^/| /' conftest.$ac_ext >&5
 
6246
 
5612
6247
krb5_cv_decl_sys_errlist=no
5613
6248
fi
5614
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6249
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5615
6250
fi
5616
6251
echo "$as_me:$LINENO: result: $krb5_cv_decl_sys_errlist" >&5
5617
6252
echo "${ECHO_T}$krb5_cv_decl_sys_errlist" >&6
5636
6271
  echo $ECHO_N "(cached) $ECHO_C" >&6
5637
6272
else
5638
6273
  cat >conftest.$ac_ext <<_ACEOF
5639
 
#line $LINENO "configure"
5640
 
#include "confdefs.h"
 
6274
/* confdefs.h.  */
 
6275
_ACEOF
 
6276
cat confdefs.h >>conftest.$ac_ext
 
6277
cat >>conftest.$ac_ext <<_ACEOF
 
6278
/* end confdefs.h.  */
5641
6279
extern int sys_nerr;
5642
 
#ifdef F77_DUMMY_MAIN
5643
 
#  ifdef __cplusplus
5644
 
     extern "C"
5645
 
#  endif
5646
 
   int F77_DUMMY_MAIN() { return 1; }
5647
 
#endif
5648
6280
int
5649
6281
main ()
5650
6282
{
5655
6287
_ACEOF
5656
6288
rm -f conftest.$ac_objext conftest$ac_exeext
5657
6289
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5658
 
  (eval $ac_link) 2>&5
 
6290
  (eval $ac_link) 2>conftest.er1
5659
6291
  ac_status=$?
 
6292
  grep -v '^ *+' conftest.er1 >conftest.err
 
6293
  rm -f conftest.er1
 
6294
  cat conftest.err >&5
5660
6295
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661
6296
  (exit $ac_status); } &&
5662
 
         { ac_try='test -s conftest$ac_exeext'
 
6297
         { ac_try='test -z "$ac_c_werror_flag"
 
6298
                         || test ! -s conftest.err'
 
6299
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6300
  (eval $ac_try) 2>&5
 
6301
  ac_status=$?
 
6302
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6303
  (exit $ac_status); }; } &&
 
6304
         { ac_try='test -s conftest$ac_exeext'
5663
6305
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5664
6306
  (eval $ac_try) 2>&5
5665
6307
  ac_status=$?
5668
6310
  krb5_cv_var_sys_errlist=yes
5669
6311
else
5670
6312
  echo "$as_me: failed program was:" >&5
5671
 
cat conftest.$ac_ext >&5
 
6313
sed 's/^/| /' conftest.$ac_ext >&5
 
6314
 
5672
6315
krb5_cv_var_sys_errlist=no;
5673
6316
fi
5674
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
6317
rm -f conftest.err conftest.$ac_objext \
 
6318
      conftest$ac_exeext conftest.$ac_ext
5675
6319
fi
5676
6320
echo "$as_me:$LINENO: result: $krb5_cv_var_sys_errlist" >&5
5677
6321
echo "${ECHO_T}$krb5_cv_var_sys_errlist" >&6
5692
6336
echo "$as_me: WARNING: sys_errlist is neither in errno.h nor in libc" >&2;}
5693
6337
  fi
5694
6338
fi
 
6339
echo "$as_me:$LINENO: checking for egrep" >&5
 
6340
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 
6341
if test "${ac_cv_prog_egrep+set}" = set; then
 
6342
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6343
else
 
6344
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 
6345
    then ac_cv_prog_egrep='grep -E'
 
6346
    else ac_cv_prog_egrep='egrep'
 
6347
    fi
 
6348
fi
 
6349
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 
6350
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 
6351
 EGREP=$ac_cv_prog_egrep
 
6352
 
 
6353
 
5695
6354
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5696
6355
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5697
6356
if test "${ac_cv_header_stdc+set}" = set; then
5698
6357
  echo $ECHO_N "(cached) $ECHO_C" >&6
5699
6358
else
5700
6359
  cat >conftest.$ac_ext <<_ACEOF
5701
 
#line $LINENO "configure"
5702
 
#include "confdefs.h"
 
6360
/* confdefs.h.  */
 
6361
_ACEOF
 
6362
cat confdefs.h >>conftest.$ac_ext
 
6363
cat >>conftest.$ac_ext <<_ACEOF
 
6364
/* end confdefs.h.  */
5703
6365
#include <stdlib.h>
5704
6366
#include <stdarg.h>
5705
6367
#include <string.h>
5706
6368
#include <float.h>
5707
6369
 
 
6370
int
 
6371
main ()
 
6372
{
 
6373
 
 
6374
  ;
 
6375
  return 0;
 
6376
}
5708
6377
_ACEOF
5709
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5710
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6378
rm -f conftest.$ac_objext
 
6379
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6380
  (eval $ac_compile) 2>conftest.er1
5711
6381
  ac_status=$?
5712
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
6382
  grep -v '^ *+' conftest.er1 >conftest.err
5713
6383
  rm -f conftest.er1
5714
6384
  cat conftest.err >&5
5715
6385
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716
 
  (exit $ac_status); } >/dev/null; then
5717
 
  if test -s conftest.err; then
5718
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5719
 
  else
5720
 
    ac_cpp_err=
5721
 
  fi
5722
 
else
5723
 
  ac_cpp_err=yes
5724
 
fi
5725
 
if test -z "$ac_cpp_err"; then
 
6386
  (exit $ac_status); } &&
 
6387
         { ac_try='test -z "$ac_c_werror_flag"
 
6388
                         || test ! -s conftest.err'
 
6389
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6390
  (eval $ac_try) 2>&5
 
6391
  ac_status=$?
 
6392
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6393
  (exit $ac_status); }; } &&
 
6394
         { ac_try='test -s conftest.$ac_objext'
 
6395
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6396
  (eval $ac_try) 2>&5
 
6397
  ac_status=$?
 
6398
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6399
  (exit $ac_status); }; }; then
5726
6400
  ac_cv_header_stdc=yes
5727
6401
else
5728
6402
  echo "$as_me: failed program was:" >&5
5729
 
  cat conftest.$ac_ext >&5
5730
 
  ac_cv_header_stdc=no
 
6403
sed 's/^/| /' conftest.$ac_ext >&5
 
6404
 
 
6405
ac_cv_header_stdc=no
5731
6406
fi
5732
 
rm -f conftest.err conftest.$ac_ext
 
6407
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5733
6408
 
5734
6409
if test $ac_cv_header_stdc = yes; then
5735
6410
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5736
6411
  cat >conftest.$ac_ext <<_ACEOF
5737
 
#line $LINENO "configure"
5738
 
#include "confdefs.h"
 
6412
/* confdefs.h.  */
 
6413
_ACEOF
 
6414
cat confdefs.h >>conftest.$ac_ext
 
6415
cat >>conftest.$ac_ext <<_ACEOF
 
6416
/* end confdefs.h.  */
5739
6417
#include <string.h>
5740
6418
 
5741
6419
_ACEOF
5742
6420
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5743
 
  egrep "memchr" >/dev/null 2>&1; then
 
6421
  $EGREP "memchr" >/dev/null 2>&1; then
5744
6422
  :
5745
6423
else
5746
6424
  ac_cv_header_stdc=no
5752
6430
if test $ac_cv_header_stdc = yes; then
5753
6431
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5754
6432
  cat >conftest.$ac_ext <<_ACEOF
5755
 
#line $LINENO "configure"
5756
 
#include "confdefs.h"
 
6433
/* confdefs.h.  */
 
6434
_ACEOF
 
6435
cat confdefs.h >>conftest.$ac_ext
 
6436
cat >>conftest.$ac_ext <<_ACEOF
 
6437
/* end confdefs.h.  */
5757
6438
#include <stdlib.h>
5758
6439
 
5759
6440
_ACEOF
5760
6441
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5761
 
  egrep "free" >/dev/null 2>&1; then
 
6442
  $EGREP "free" >/dev/null 2>&1; then
5762
6443
  :
5763
6444
else
5764
6445
  ac_cv_header_stdc=no
5773
6454
  :
5774
6455
else
5775
6456
  cat >conftest.$ac_ext <<_ACEOF
5776
 
#line $LINENO "configure"
5777
 
#include "confdefs.h"
 
6457
/* confdefs.h.  */
 
6458
_ACEOF
 
6459
cat confdefs.h >>conftest.$ac_ext
 
6460
cat >>conftest.$ac_ext <<_ACEOF
 
6461
/* end confdefs.h.  */
5778
6462
#include <ctype.h>
5779
6463
#if ((' ' & 0x0FF) == 0x020)
5780
6464
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5781
6465
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5782
6466
#else
5783
 
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5784
 
                     || ('j' <= (c) && (c) <= 'r') \
5785
 
                     || ('s' <= (c) && (c) <= 'z'))
 
6467
# define ISLOWER(c) \
 
6468
                   (('a' <= (c) && (c) <= 'i') \
 
6469
                     || ('j' <= (c) && (c) <= 'r') \
 
6470
                     || ('s' <= (c) && (c) <= 'z'))
5786
6471
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5787
6472
#endif
5788
6473
 
5793
6478
  int i;
5794
6479
  for (i = 0; i < 256; i++)
5795
6480
    if (XOR (islower (i), ISLOWER (i))
5796
 
        || toupper (i) != TOUPPER (i))
 
6481
        || toupper (i) != TOUPPER (i))
5797
6482
      exit(2);
5798
6483
  exit (0);
5799
6484
}
5813
6498
else
5814
6499
  echo "$as_me: program exited with status $ac_status" >&5
5815
6500
echo "$as_me: failed program was:" >&5
5816
 
cat conftest.$ac_ext >&5
 
6501
sed 's/^/| /' conftest.$ac_ext >&5
 
6502
 
5817
6503
( exit $ac_status )
5818
6504
ac_cv_header_stdc=no
5819
6505
fi
5820
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6506
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5821
6507
fi
5822
6508
fi
5823
6509
fi
5842
6528
 
5843
6529
 
5844
6530
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5845
 
                  inttypes.h stdint.h unistd.h
 
6531
                  inttypes.h stdint.h unistd.h
5846
6532
do
5847
6533
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5848
6534
echo "$as_me:$LINENO: checking for $ac_header" >&5
5851
6537
  echo $ECHO_N "(cached) $ECHO_C" >&6
5852
6538
else
5853
6539
  cat >conftest.$ac_ext <<_ACEOF
5854
 
#line $LINENO "configure"
5855
 
#include "confdefs.h"
 
6540
/* confdefs.h.  */
 
6541
_ACEOF
 
6542
cat confdefs.h >>conftest.$ac_ext
 
6543
cat >>conftest.$ac_ext <<_ACEOF
 
6544
/* end confdefs.h.  */
5856
6545
$ac_includes_default
5857
6546
 
5858
6547
#include <$ac_header>
5859
6548
_ACEOF
5860
6549
rm -f conftest.$ac_objext
5861
6550
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5862
 
  (eval $ac_compile) 2>&5
 
6551
  (eval $ac_compile) 2>conftest.er1
5863
6552
  ac_status=$?
 
6553
  grep -v '^ *+' conftest.er1 >conftest.err
 
6554
  rm -f conftest.er1
 
6555
  cat conftest.err >&5
5864
6556
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865
6557
  (exit $ac_status); } &&
5866
 
         { ac_try='test -s conftest.$ac_objext'
 
6558
         { ac_try='test -z "$ac_c_werror_flag"
 
6559
                         || test ! -s conftest.err'
 
6560
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6561
  (eval $ac_try) 2>&5
 
6562
  ac_status=$?
 
6563
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6564
  (exit $ac_status); }; } &&
 
6565
         { ac_try='test -s conftest.$ac_objext'
5867
6566
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5868
6567
  (eval $ac_try) 2>&5
5869
6568
  ac_status=$?
5872
6571
  eval "$as_ac_Header=yes"
5873
6572
else
5874
6573
  echo "$as_me: failed program was:" >&5
5875
 
cat conftest.$ac_ext >&5
 
6574
sed 's/^/| /' conftest.$ac_ext >&5
 
6575
 
5876
6576
eval "$as_ac_Header=no"
5877
6577
fi
5878
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6578
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5879
6579
fi
5880
6580
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5881
6581
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5895
6595
  echo $ECHO_N "(cached) $ECHO_C" >&6
5896
6596
else
5897
6597
  cat >conftest.$ac_ext <<_ACEOF
5898
 
#line $LINENO "configure"
5899
 
#include "confdefs.h"
 
6598
/* confdefs.h.  */
 
6599
_ACEOF
 
6600
cat confdefs.h >>conftest.$ac_ext
 
6601
cat >>conftest.$ac_ext <<_ACEOF
 
6602
/* end confdefs.h.  */
5900
6603
$ac_includes_default
5901
 
#ifdef F77_DUMMY_MAIN
5902
 
#  ifdef __cplusplus
5903
 
     extern "C"
5904
 
#  endif
5905
 
   int F77_DUMMY_MAIN() { return 1; }
5906
 
#endif
5907
6604
int
5908
6605
main ()
5909
6606
{
5917
6614
_ACEOF
5918
6615
rm -f conftest.$ac_objext
5919
6616
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5920
 
  (eval $ac_compile) 2>&5
 
6617
  (eval $ac_compile) 2>conftest.er1
5921
6618
  ac_status=$?
 
6619
  grep -v '^ *+' conftest.er1 >conftest.err
 
6620
  rm -f conftest.er1
 
6621
  cat conftest.err >&5
5922
6622
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5923
6623
  (exit $ac_status); } &&
5924
 
         { ac_try='test -s conftest.$ac_objext'
 
6624
         { ac_try='test -z "$ac_c_werror_flag"
 
6625
                         || test ! -s conftest.err'
 
6626
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6627
  (eval $ac_try) 2>&5
 
6628
  ac_status=$?
 
6629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6630
  (exit $ac_status); }; } &&
 
6631
         { ac_try='test -s conftest.$ac_objext'
5925
6632
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5926
6633
  (eval $ac_try) 2>&5
5927
6634
  ac_status=$?
5930
6637
  ac_cv_type_short=yes
5931
6638
else
5932
6639
  echo "$as_me: failed program was:" >&5
5933
 
cat conftest.$ac_ext >&5
 
6640
sed 's/^/| /' conftest.$ac_ext >&5
 
6641
 
5934
6642
ac_cv_type_short=no
5935
6643
fi
5936
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6644
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5937
6645
fi
5938
6646
echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
5939
6647
echo "${ECHO_T}$ac_cv_type_short" >&6
5951
6659
  if test "$cross_compiling" = yes; then
5952
6660
  # Depending upon the size, compute the lo and hi bounds.
5953
6661
cat >conftest.$ac_ext <<_ACEOF
5954
 
#line $LINENO "configure"
5955
 
#include "confdefs.h"
 
6662
/* confdefs.h.  */
 
6663
_ACEOF
 
6664
cat confdefs.h >>conftest.$ac_ext
 
6665
cat >>conftest.$ac_ext <<_ACEOF
 
6666
/* end confdefs.h.  */
5956
6667
$ac_includes_default
5957
 
#ifdef F77_DUMMY_MAIN
5958
 
#  ifdef __cplusplus
5959
 
     extern "C"
5960
 
#  endif
5961
 
   int F77_DUMMY_MAIN() { return 1; }
5962
 
#endif
5963
6668
int
5964
6669
main ()
5965
6670
{
5972
6677
_ACEOF
5973
6678
rm -f conftest.$ac_objext
5974
6679
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5975
 
  (eval $ac_compile) 2>&5
 
6680
  (eval $ac_compile) 2>conftest.er1
5976
6681
  ac_status=$?
 
6682
  grep -v '^ *+' conftest.er1 >conftest.err
 
6683
  rm -f conftest.er1
 
6684
  cat conftest.err >&5
5977
6685
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978
6686
  (exit $ac_status); } &&
5979
 
         { ac_try='test -s conftest.$ac_objext'
 
6687
         { ac_try='test -z "$ac_c_werror_flag"
 
6688
                         || test ! -s conftest.err'
 
6689
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6690
  (eval $ac_try) 2>&5
 
6691
  ac_status=$?
 
6692
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6693
  (exit $ac_status); }; } &&
 
6694
         { ac_try='test -s conftest.$ac_objext'
5980
6695
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5981
6696
  (eval $ac_try) 2>&5
5982
6697
  ac_status=$?
5985
6700
  ac_lo=0 ac_mid=0
5986
6701
  while :; do
5987
6702
    cat >conftest.$ac_ext <<_ACEOF
5988
 
#line $LINENO "configure"
5989
 
#include "confdefs.h"
 
6703
/* confdefs.h.  */
 
6704
_ACEOF
 
6705
cat confdefs.h >>conftest.$ac_ext
 
6706
cat >>conftest.$ac_ext <<_ACEOF
 
6707
/* end confdefs.h.  */
5990
6708
$ac_includes_default
5991
 
#ifdef F77_DUMMY_MAIN
5992
 
#  ifdef __cplusplus
5993
 
     extern "C"
5994
 
#  endif
5995
 
   int F77_DUMMY_MAIN() { return 1; }
5996
 
#endif
5997
6709
int
5998
6710
main ()
5999
6711
{
6006
6718
_ACEOF
6007
6719
rm -f conftest.$ac_objext
6008
6720
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6009
 
  (eval $ac_compile) 2>&5
 
6721
  (eval $ac_compile) 2>conftest.er1
6010
6722
  ac_status=$?
 
6723
  grep -v '^ *+' conftest.er1 >conftest.err
 
6724
  rm -f conftest.er1
 
6725
  cat conftest.err >&5
6011
6726
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012
6727
  (exit $ac_status); } &&
6013
 
         { ac_try='test -s conftest.$ac_objext'
 
6728
         { ac_try='test -z "$ac_c_werror_flag"
 
6729
                         || test ! -s conftest.err'
 
6730
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6731
  (eval $ac_try) 2>&5
 
6732
  ac_status=$?
 
6733
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6734
  (exit $ac_status); }; } &&
 
6735
         { ac_try='test -s conftest.$ac_objext'
6014
6736
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6015
6737
  (eval $ac_try) 2>&5
6016
6738
  ac_status=$?
6019
6741
  ac_hi=$ac_mid; break
6020
6742
else
6021
6743
  echo "$as_me: failed program was:" >&5
6022
 
cat conftest.$ac_ext >&5
 
6744
sed 's/^/| /' conftest.$ac_ext >&5
 
6745
 
6023
6746
ac_lo=`expr $ac_mid + 1`
6024
 
                    if test $ac_lo -le $ac_mid; then
6025
 
                      ac_lo= ac_hi=
6026
 
                      break
6027
 
                    fi
6028
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
6747
                    if test $ac_lo -le $ac_mid; then
 
6748
                      ac_lo= ac_hi=
 
6749
                      break
 
6750
                    fi
 
6751
                    ac_mid=`expr 2 '*' $ac_mid + 1`
6029
6752
fi
6030
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6753
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6031
6754
  done
6032
6755
else
6033
6756
  echo "$as_me: failed program was:" >&5
6034
 
cat conftest.$ac_ext >&5
 
6757
sed 's/^/| /' conftest.$ac_ext >&5
 
6758
 
6035
6759
cat >conftest.$ac_ext <<_ACEOF
6036
 
#line $LINENO "configure"
6037
 
#include "confdefs.h"
 
6760
/* confdefs.h.  */
 
6761
_ACEOF
 
6762
cat confdefs.h >>conftest.$ac_ext
 
6763
cat >>conftest.$ac_ext <<_ACEOF
 
6764
/* end confdefs.h.  */
6038
6765
$ac_includes_default
6039
 
#ifdef F77_DUMMY_MAIN
6040
 
#  ifdef __cplusplus
6041
 
     extern "C"
6042
 
#  endif
6043
 
   int F77_DUMMY_MAIN() { return 1; }
6044
 
#endif
6045
6766
int
6046
6767
main ()
6047
6768
{
6054
6775
_ACEOF
6055
6776
rm -f conftest.$ac_objext
6056
6777
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6057
 
  (eval $ac_compile) 2>&5
 
6778
  (eval $ac_compile) 2>conftest.er1
6058
6779
  ac_status=$?
 
6780
  grep -v '^ *+' conftest.er1 >conftest.err
 
6781
  rm -f conftest.er1
 
6782
  cat conftest.err >&5
6059
6783
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6060
6784
  (exit $ac_status); } &&
6061
 
         { ac_try='test -s conftest.$ac_objext'
 
6785
         { ac_try='test -z "$ac_c_werror_flag"
 
6786
                         || test ! -s conftest.err'
 
6787
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6788
  (eval $ac_try) 2>&5
 
6789
  ac_status=$?
 
6790
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6791
  (exit $ac_status); }; } &&
 
6792
         { ac_try='test -s conftest.$ac_objext'
6062
6793
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6063
6794
  (eval $ac_try) 2>&5
6064
6795
  ac_status=$?
6067
6798
  ac_hi=-1 ac_mid=-1
6068
6799
  while :; do
6069
6800
    cat >conftest.$ac_ext <<_ACEOF
6070
 
#line $LINENO "configure"
6071
 
#include "confdefs.h"
 
6801
/* confdefs.h.  */
 
6802
_ACEOF
 
6803
cat confdefs.h >>conftest.$ac_ext
 
6804
cat >>conftest.$ac_ext <<_ACEOF
 
6805
/* end confdefs.h.  */
6072
6806
$ac_includes_default
6073
 
#ifdef F77_DUMMY_MAIN
6074
 
#  ifdef __cplusplus
6075
 
     extern "C"
6076
 
#  endif
6077
 
   int F77_DUMMY_MAIN() { return 1; }
6078
 
#endif
6079
6807
int
6080
6808
main ()
6081
6809
{
6088
6816
_ACEOF
6089
6817
rm -f conftest.$ac_objext
6090
6818
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6091
 
  (eval $ac_compile) 2>&5
 
6819
  (eval $ac_compile) 2>conftest.er1
6092
6820
  ac_status=$?
 
6821
  grep -v '^ *+' conftest.er1 >conftest.err
 
6822
  rm -f conftest.er1
 
6823
  cat conftest.err >&5
6093
6824
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094
6825
  (exit $ac_status); } &&
6095
 
         { ac_try='test -s conftest.$ac_objext'
 
6826
         { ac_try='test -z "$ac_c_werror_flag"
 
6827
                         || test ! -s conftest.err'
 
6828
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6829
  (eval $ac_try) 2>&5
 
6830
  ac_status=$?
 
6831
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6832
  (exit $ac_status); }; } &&
 
6833
         { ac_try='test -s conftest.$ac_objext'
6096
6834
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6097
6835
  (eval $ac_try) 2>&5
6098
6836
  ac_status=$?
6101
6839
  ac_lo=$ac_mid; break
6102
6840
else
6103
6841
  echo "$as_me: failed program was:" >&5
6104
 
cat conftest.$ac_ext >&5
 
6842
sed 's/^/| /' conftest.$ac_ext >&5
 
6843
 
6105
6844
ac_hi=`expr '(' $ac_mid ')' - 1`
6106
 
                       if test $ac_mid -le $ac_hi; then
6107
 
                         ac_lo= ac_hi=
6108
 
                         break
6109
 
                       fi
6110
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
6845
                       if test $ac_mid -le $ac_hi; then
 
6846
                         ac_lo= ac_hi=
 
6847
                         break
 
6848
                       fi
 
6849
                       ac_mid=`expr 2 '*' $ac_mid`
6111
6850
fi
6112
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6851
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6113
6852
  done
6114
6853
else
6115
6854
  echo "$as_me: failed program was:" >&5
6116
 
cat conftest.$ac_ext >&5
 
6855
sed 's/^/| /' conftest.$ac_ext >&5
 
6856
 
6117
6857
ac_lo= ac_hi=
6118
6858
fi
6119
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6859
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6120
6860
fi
6121
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6861
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6122
6862
# Binary search between lo and hi bounds.
6123
6863
while test "x$ac_lo" != "x$ac_hi"; do
6124
6864
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6125
6865
  cat >conftest.$ac_ext <<_ACEOF
6126
 
#line $LINENO "configure"
6127
 
#include "confdefs.h"
 
6866
/* confdefs.h.  */
 
6867
_ACEOF
 
6868
cat confdefs.h >>conftest.$ac_ext
 
6869
cat >>conftest.$ac_ext <<_ACEOF
 
6870
/* end confdefs.h.  */
6128
6871
$ac_includes_default
6129
 
#ifdef F77_DUMMY_MAIN
6130
 
#  ifdef __cplusplus
6131
 
     extern "C"
6132
 
#  endif
6133
 
   int F77_DUMMY_MAIN() { return 1; }
6134
 
#endif
6135
6872
int
6136
6873
main ()
6137
6874
{
6144
6881
_ACEOF
6145
6882
rm -f conftest.$ac_objext
6146
6883
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6147
 
  (eval $ac_compile) 2>&5
 
6884
  (eval $ac_compile) 2>conftest.er1
6148
6885
  ac_status=$?
 
6886
  grep -v '^ *+' conftest.er1 >conftest.err
 
6887
  rm -f conftest.er1
 
6888
  cat conftest.err >&5
6149
6889
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150
6890
  (exit $ac_status); } &&
6151
 
         { ac_try='test -s conftest.$ac_objext'
 
6891
         { ac_try='test -z "$ac_c_werror_flag"
 
6892
                         || test ! -s conftest.err'
 
6893
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6894
  (eval $ac_try) 2>&5
 
6895
  ac_status=$?
 
6896
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6897
  (exit $ac_status); }; } &&
 
6898
         { ac_try='test -s conftest.$ac_objext'
6152
6899
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6153
6900
  (eval $ac_try) 2>&5
6154
6901
  ac_status=$?
6157
6904
  ac_hi=$ac_mid
6158
6905
else
6159
6906
  echo "$as_me: failed program was:" >&5
6160
 
cat conftest.$ac_ext >&5
 
6907
sed 's/^/| /' conftest.$ac_ext >&5
 
6908
 
6161
6909
ac_lo=`expr '(' $ac_mid ')' + 1`
6162
6910
fi
6163
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6911
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6164
6912
done
6165
6913
case $ac_lo in
6166
6914
?*) ac_cv_sizeof_short=$ac_lo;;
6167
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5
6168
 
echo "$as_me: error: cannot compute sizeof (short), 77" >&2;}
 
6915
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 
6916
See \`config.log' for more details." >&5
 
6917
echo "$as_me: error: cannot compute sizeof (short), 77
 
6918
See \`config.log' for more details." >&2;}
6169
6919
   { (exit 1); exit 1; }; } ;;
6170
6920
esac
6171
6921
else
6172
6922
  if test "$cross_compiling" = yes; then
6173
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
6174
 
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
 
6923
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 
6924
See \`config.log' for more details." >&5
 
6925
echo "$as_me: error: cannot run test program while cross compiling
 
6926
See \`config.log' for more details." >&2;}
6175
6927
   { (exit 1); exit 1; }; }
6176
6928
else
6177
6929
  cat >conftest.$ac_ext <<_ACEOF
6178
 
#line $LINENO "configure"
6179
 
#include "confdefs.h"
 
6930
/* confdefs.h.  */
 
6931
_ACEOF
 
6932
cat confdefs.h >>conftest.$ac_ext
 
6933
cat >>conftest.$ac_ext <<_ACEOF
 
6934
/* end confdefs.h.  */
6180
6935
$ac_includes_default
6181
6936
long longval () { return (long) (sizeof (short)); }
6182
6937
unsigned long ulongval () { return (long) (sizeof (short)); }
6183
6938
#include <stdio.h>
6184
6939
#include <stdlib.h>
6185
 
#ifdef F77_DUMMY_MAIN
6186
 
#  ifdef __cplusplus
6187
 
     extern "C"
6188
 
#  endif
6189
 
   int F77_DUMMY_MAIN() { return 1; }
6190
 
#endif
6191
6940
int
6192
6941
main ()
6193
6942
{
6230
6979
else
6231
6980
  echo "$as_me: program exited with status $ac_status" >&5
6232
6981
echo "$as_me: failed program was:" >&5
6233
 
cat conftest.$ac_ext >&5
 
6982
sed 's/^/| /' conftest.$ac_ext >&5
 
6983
 
6234
6984
( exit $ac_status )
6235
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5
6236
 
echo "$as_me: error: cannot compute sizeof (short), 77" >&2;}
 
6985
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 
6986
See \`config.log' for more details." >&5
 
6987
echo "$as_me: error: cannot compute sizeof (short), 77
 
6988
See \`config.log' for more details." >&2;}
6237
6989
   { (exit 1); exit 1; }; }
6238
6990
fi
6239
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6991
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6240
6992
fi
6241
6993
fi
6242
6994
rm -f conftest.val
6257
7009
  echo $ECHO_N "(cached) $ECHO_C" >&6
6258
7010
else
6259
7011
  cat >conftest.$ac_ext <<_ACEOF
6260
 
#line $LINENO "configure"
6261
 
#include "confdefs.h"
 
7012
/* confdefs.h.  */
 
7013
_ACEOF
 
7014
cat confdefs.h >>conftest.$ac_ext
 
7015
cat >>conftest.$ac_ext <<_ACEOF
 
7016
/* end confdefs.h.  */
6262
7017
$ac_includes_default
6263
 
#ifdef F77_DUMMY_MAIN
6264
 
#  ifdef __cplusplus
6265
 
     extern "C"
6266
 
#  endif
6267
 
   int F77_DUMMY_MAIN() { return 1; }
6268
 
#endif
6269
7018
int
6270
7019
main ()
6271
7020
{
6279
7028
_ACEOF
6280
7029
rm -f conftest.$ac_objext
6281
7030
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6282
 
  (eval $ac_compile) 2>&5
 
7031
  (eval $ac_compile) 2>conftest.er1
6283
7032
  ac_status=$?
 
7033
  grep -v '^ *+' conftest.er1 >conftest.err
 
7034
  rm -f conftest.er1
 
7035
  cat conftest.err >&5
6284
7036
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285
7037
  (exit $ac_status); } &&
6286
 
         { ac_try='test -s conftest.$ac_objext'
 
7038
         { ac_try='test -z "$ac_c_werror_flag"
 
7039
                         || test ! -s conftest.err'
 
7040
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7041
  (eval $ac_try) 2>&5
 
7042
  ac_status=$?
 
7043
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7044
  (exit $ac_status); }; } &&
 
7045
         { ac_try='test -s conftest.$ac_objext'
6287
7046
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6288
7047
  (eval $ac_try) 2>&5
6289
7048
  ac_status=$?
6292
7051
  ac_cv_type_int=yes
6293
7052
else
6294
7053
  echo "$as_me: failed program was:" >&5
6295
 
cat conftest.$ac_ext >&5
 
7054
sed 's/^/| /' conftest.$ac_ext >&5
 
7055
 
6296
7056
ac_cv_type_int=no
6297
7057
fi
6298
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7058
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6299
7059
fi
6300
7060
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
6301
7061
echo "${ECHO_T}$ac_cv_type_int" >&6
6313
7073
  if test "$cross_compiling" = yes; then
6314
7074
  # Depending upon the size, compute the lo and hi bounds.
6315
7075
cat >conftest.$ac_ext <<_ACEOF
6316
 
#line $LINENO "configure"
6317
 
#include "confdefs.h"
 
7076
/* confdefs.h.  */
 
7077
_ACEOF
 
7078
cat confdefs.h >>conftest.$ac_ext
 
7079
cat >>conftest.$ac_ext <<_ACEOF
 
7080
/* end confdefs.h.  */
6318
7081
$ac_includes_default
6319
 
#ifdef F77_DUMMY_MAIN
6320
 
#  ifdef __cplusplus
6321
 
     extern "C"
6322
 
#  endif
6323
 
   int F77_DUMMY_MAIN() { return 1; }
6324
 
#endif
6325
7082
int
6326
7083
main ()
6327
7084
{
6334
7091
_ACEOF
6335
7092
rm -f conftest.$ac_objext
6336
7093
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6337
 
  (eval $ac_compile) 2>&5
 
7094
  (eval $ac_compile) 2>conftest.er1
6338
7095
  ac_status=$?
 
7096
  grep -v '^ *+' conftest.er1 >conftest.err
 
7097
  rm -f conftest.er1
 
7098
  cat conftest.err >&5
6339
7099
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340
7100
  (exit $ac_status); } &&
6341
 
         { ac_try='test -s conftest.$ac_objext'
 
7101
         { ac_try='test -z "$ac_c_werror_flag"
 
7102
                         || test ! -s conftest.err'
 
7103
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7104
  (eval $ac_try) 2>&5
 
7105
  ac_status=$?
 
7106
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7107
  (exit $ac_status); }; } &&
 
7108
         { ac_try='test -s conftest.$ac_objext'
6342
7109
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6343
7110
  (eval $ac_try) 2>&5
6344
7111
  ac_status=$?
6347
7114
  ac_lo=0 ac_mid=0
6348
7115
  while :; do
6349
7116
    cat >conftest.$ac_ext <<_ACEOF
6350
 
#line $LINENO "configure"
6351
 
#include "confdefs.h"
 
7117
/* confdefs.h.  */
 
7118
_ACEOF
 
7119
cat confdefs.h >>conftest.$ac_ext
 
7120
cat >>conftest.$ac_ext <<_ACEOF
 
7121
/* end confdefs.h.  */
6352
7122
$ac_includes_default
6353
 
#ifdef F77_DUMMY_MAIN
6354
 
#  ifdef __cplusplus
6355
 
     extern "C"
6356
 
#  endif
6357
 
   int F77_DUMMY_MAIN() { return 1; }
6358
 
#endif
6359
7123
int
6360
7124
main ()
6361
7125
{
6368
7132
_ACEOF
6369
7133
rm -f conftest.$ac_objext
6370
7134
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6371
 
  (eval $ac_compile) 2>&5
 
7135
  (eval $ac_compile) 2>conftest.er1
6372
7136
  ac_status=$?
 
7137
  grep -v '^ *+' conftest.er1 >conftest.err
 
7138
  rm -f conftest.er1
 
7139
  cat conftest.err >&5
6373
7140
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374
7141
  (exit $ac_status); } &&
6375
 
         { ac_try='test -s conftest.$ac_objext'
 
7142
         { ac_try='test -z "$ac_c_werror_flag"
 
7143
                         || test ! -s conftest.err'
 
7144
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7145
  (eval $ac_try) 2>&5
 
7146
  ac_status=$?
 
7147
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7148
  (exit $ac_status); }; } &&
 
7149
         { ac_try='test -s conftest.$ac_objext'
6376
7150
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6377
7151
  (eval $ac_try) 2>&5
6378
7152
  ac_status=$?
6381
7155
  ac_hi=$ac_mid; break
6382
7156
else
6383
7157
  echo "$as_me: failed program was:" >&5
6384
 
cat conftest.$ac_ext >&5
 
7158
sed 's/^/| /' conftest.$ac_ext >&5
 
7159
 
6385
7160
ac_lo=`expr $ac_mid + 1`
6386
 
                    if test $ac_lo -le $ac_mid; then
6387
 
                      ac_lo= ac_hi=
6388
 
                      break
6389
 
                    fi
6390
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
7161
                    if test $ac_lo -le $ac_mid; then
 
7162
                      ac_lo= ac_hi=
 
7163
                      break
 
7164
                    fi
 
7165
                    ac_mid=`expr 2 '*' $ac_mid + 1`
6391
7166
fi
6392
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7167
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6393
7168
  done
6394
7169
else
6395
7170
  echo "$as_me: failed program was:" >&5
6396
 
cat conftest.$ac_ext >&5
 
7171
sed 's/^/| /' conftest.$ac_ext >&5
 
7172
 
6397
7173
cat >conftest.$ac_ext <<_ACEOF
6398
 
#line $LINENO "configure"
6399
 
#include "confdefs.h"
 
7174
/* confdefs.h.  */
 
7175
_ACEOF
 
7176
cat confdefs.h >>conftest.$ac_ext
 
7177
cat >>conftest.$ac_ext <<_ACEOF
 
7178
/* end confdefs.h.  */
6400
7179
$ac_includes_default
6401
 
#ifdef F77_DUMMY_MAIN
6402
 
#  ifdef __cplusplus
6403
 
     extern "C"
6404
 
#  endif
6405
 
   int F77_DUMMY_MAIN() { return 1; }
6406
 
#endif
6407
7180
int
6408
7181
main ()
6409
7182
{
6416
7189
_ACEOF
6417
7190
rm -f conftest.$ac_objext
6418
7191
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6419
 
  (eval $ac_compile) 2>&5
 
7192
  (eval $ac_compile) 2>conftest.er1
6420
7193
  ac_status=$?
 
7194
  grep -v '^ *+' conftest.er1 >conftest.err
 
7195
  rm -f conftest.er1
 
7196
  cat conftest.err >&5
6421
7197
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422
7198
  (exit $ac_status); } &&
6423
 
         { ac_try='test -s conftest.$ac_objext'
 
7199
         { ac_try='test -z "$ac_c_werror_flag"
 
7200
                         || test ! -s conftest.err'
 
7201
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7202
  (eval $ac_try) 2>&5
 
7203
  ac_status=$?
 
7204
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7205
  (exit $ac_status); }; } &&
 
7206
         { ac_try='test -s conftest.$ac_objext'
6424
7207
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6425
7208
  (eval $ac_try) 2>&5
6426
7209
  ac_status=$?
6429
7212
  ac_hi=-1 ac_mid=-1
6430
7213
  while :; do
6431
7214
    cat >conftest.$ac_ext <<_ACEOF
6432
 
#line $LINENO "configure"
6433
 
#include "confdefs.h"
 
7215
/* confdefs.h.  */
 
7216
_ACEOF
 
7217
cat confdefs.h >>conftest.$ac_ext
 
7218
cat >>conftest.$ac_ext <<_ACEOF
 
7219
/* end confdefs.h.  */
6434
7220
$ac_includes_default
6435
 
#ifdef F77_DUMMY_MAIN
6436
 
#  ifdef __cplusplus
6437
 
     extern "C"
6438
 
#  endif
6439
 
   int F77_DUMMY_MAIN() { return 1; }
6440
 
#endif
6441
7221
int
6442
7222
main ()
6443
7223
{
6450
7230
_ACEOF
6451
7231
rm -f conftest.$ac_objext
6452
7232
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6453
 
  (eval $ac_compile) 2>&5
 
7233
  (eval $ac_compile) 2>conftest.er1
6454
7234
  ac_status=$?
 
7235
  grep -v '^ *+' conftest.er1 >conftest.err
 
7236
  rm -f conftest.er1
 
7237
  cat conftest.err >&5
6455
7238
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456
7239
  (exit $ac_status); } &&
6457
 
         { ac_try='test -s conftest.$ac_objext'
 
7240
         { ac_try='test -z "$ac_c_werror_flag"
 
7241
                         || test ! -s conftest.err'
 
7242
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7243
  (eval $ac_try) 2>&5
 
7244
  ac_status=$?
 
7245
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7246
  (exit $ac_status); }; } &&
 
7247
         { ac_try='test -s conftest.$ac_objext'
6458
7248
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6459
7249
  (eval $ac_try) 2>&5
6460
7250
  ac_status=$?
6463
7253
  ac_lo=$ac_mid; break
6464
7254
else
6465
7255
  echo "$as_me: failed program was:" >&5
6466
 
cat conftest.$ac_ext >&5
 
7256
sed 's/^/| /' conftest.$ac_ext >&5
 
7257
 
6467
7258
ac_hi=`expr '(' $ac_mid ')' - 1`
6468
 
                       if test $ac_mid -le $ac_hi; then
6469
 
                         ac_lo= ac_hi=
6470
 
                         break
6471
 
                       fi
6472
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
7259
                       if test $ac_mid -le $ac_hi; then
 
7260
                         ac_lo= ac_hi=
 
7261
                         break
 
7262
                       fi
 
7263
                       ac_mid=`expr 2 '*' $ac_mid`
6473
7264
fi
6474
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7265
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6475
7266
  done
6476
7267
else
6477
7268
  echo "$as_me: failed program was:" >&5
6478
 
cat conftest.$ac_ext >&5
 
7269
sed 's/^/| /' conftest.$ac_ext >&5
 
7270
 
6479
7271
ac_lo= ac_hi=
6480
7272
fi
6481
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7273
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6482
7274
fi
6483
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7275
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6484
7276
# Binary search between lo and hi bounds.
6485
7277
while test "x$ac_lo" != "x$ac_hi"; do
6486
7278
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6487
7279
  cat >conftest.$ac_ext <<_ACEOF
6488
 
#line $LINENO "configure"
6489
 
#include "confdefs.h"
 
7280
/* confdefs.h.  */
 
7281
_ACEOF
 
7282
cat confdefs.h >>conftest.$ac_ext
 
7283
cat >>conftest.$ac_ext <<_ACEOF
 
7284
/* end confdefs.h.  */
6490
7285
$ac_includes_default
6491
 
#ifdef F77_DUMMY_MAIN
6492
 
#  ifdef __cplusplus
6493
 
     extern "C"
6494
 
#  endif
6495
 
   int F77_DUMMY_MAIN() { return 1; }
6496
 
#endif
6497
7286
int
6498
7287
main ()
6499
7288
{
6506
7295
_ACEOF
6507
7296
rm -f conftest.$ac_objext
6508
7297
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6509
 
  (eval $ac_compile) 2>&5
 
7298
  (eval $ac_compile) 2>conftest.er1
6510
7299
  ac_status=$?
 
7300
  grep -v '^ *+' conftest.er1 >conftest.err
 
7301
  rm -f conftest.er1
 
7302
  cat conftest.err >&5
6511
7303
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512
7304
  (exit $ac_status); } &&
6513
 
         { ac_try='test -s conftest.$ac_objext'
 
7305
         { ac_try='test -z "$ac_c_werror_flag"
 
7306
                         || test ! -s conftest.err'
 
7307
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7308
  (eval $ac_try) 2>&5
 
7309
  ac_status=$?
 
7310
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7311
  (exit $ac_status); }; } &&
 
7312
         { ac_try='test -s conftest.$ac_objext'
6514
7313
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6515
7314
  (eval $ac_try) 2>&5
6516
7315
  ac_status=$?
6519
7318
  ac_hi=$ac_mid
6520
7319
else
6521
7320
  echo "$as_me: failed program was:" >&5
6522
 
cat conftest.$ac_ext >&5
 
7321
sed 's/^/| /' conftest.$ac_ext >&5
 
7322
 
6523
7323
ac_lo=`expr '(' $ac_mid ')' + 1`
6524
7324
fi
6525
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7325
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6526
7326
done
6527
7327
case $ac_lo in
6528
7328
?*) ac_cv_sizeof_int=$ac_lo;;
6529
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
6530
 
echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
 
7329
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 
7330
See \`config.log' for more details." >&5
 
7331
echo "$as_me: error: cannot compute sizeof (int), 77
 
7332
See \`config.log' for more details." >&2;}
6531
7333
   { (exit 1); exit 1; }; } ;;
6532
7334
esac
6533
7335
else
6534
7336
  if test "$cross_compiling" = yes; then
6535
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
6536
 
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
 
7337
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 
7338
See \`config.log' for more details." >&5
 
7339
echo "$as_me: error: cannot run test program while cross compiling
 
7340
See \`config.log' for more details." >&2;}
6537
7341
   { (exit 1); exit 1; }; }
6538
7342
else
6539
7343
  cat >conftest.$ac_ext <<_ACEOF
6540
 
#line $LINENO "configure"
6541
 
#include "confdefs.h"
 
7344
/* confdefs.h.  */
 
7345
_ACEOF
 
7346
cat confdefs.h >>conftest.$ac_ext
 
7347
cat >>conftest.$ac_ext <<_ACEOF
 
7348
/* end confdefs.h.  */
6542
7349
$ac_includes_default
6543
7350
long longval () { return (long) (sizeof (int)); }
6544
7351
unsigned long ulongval () { return (long) (sizeof (int)); }
6545
7352
#include <stdio.h>
6546
7353
#include <stdlib.h>
6547
 
#ifdef F77_DUMMY_MAIN
6548
 
#  ifdef __cplusplus
6549
 
     extern "C"
6550
 
#  endif
6551
 
   int F77_DUMMY_MAIN() { return 1; }
6552
 
#endif
6553
7354
int
6554
7355
main ()
6555
7356
{
6592
7393
else
6593
7394
  echo "$as_me: program exited with status $ac_status" >&5
6594
7395
echo "$as_me: failed program was:" >&5
6595
 
cat conftest.$ac_ext >&5
 
7396
sed 's/^/| /' conftest.$ac_ext >&5
 
7397
 
6596
7398
( exit $ac_status )
6597
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
6598
 
echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
 
7399
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 
7400
See \`config.log' for more details." >&5
 
7401
echo "$as_me: error: cannot compute sizeof (int), 77
 
7402
See \`config.log' for more details." >&2;}
6599
7403
   { (exit 1); exit 1; }; }
6600
7404
fi
6601
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
7405
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6602
7406
fi
6603
7407
fi
6604
7408
rm -f conftest.val
6619
7423
  echo $ECHO_N "(cached) $ECHO_C" >&6
6620
7424
else
6621
7425
  cat >conftest.$ac_ext <<_ACEOF
6622
 
#line $LINENO "configure"
6623
 
#include "confdefs.h"
 
7426
/* confdefs.h.  */
 
7427
_ACEOF
 
7428
cat confdefs.h >>conftest.$ac_ext
 
7429
cat >>conftest.$ac_ext <<_ACEOF
 
7430
/* end confdefs.h.  */
6624
7431
$ac_includes_default
6625
 
#ifdef F77_DUMMY_MAIN
6626
 
#  ifdef __cplusplus
6627
 
     extern "C"
6628
 
#  endif
6629
 
   int F77_DUMMY_MAIN() { return 1; }
6630
 
#endif
6631
7432
int
6632
7433
main ()
6633
7434
{
6641
7442
_ACEOF
6642
7443
rm -f conftest.$ac_objext
6643
7444
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6644
 
  (eval $ac_compile) 2>&5
 
7445
  (eval $ac_compile) 2>conftest.er1
6645
7446
  ac_status=$?
 
7447
  grep -v '^ *+' conftest.er1 >conftest.err
 
7448
  rm -f conftest.er1
 
7449
  cat conftest.err >&5
6646
7450
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647
7451
  (exit $ac_status); } &&
6648
 
         { ac_try='test -s conftest.$ac_objext'
 
7452
         { ac_try='test -z "$ac_c_werror_flag"
 
7453
                         || test ! -s conftest.err'
 
7454
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7455
  (eval $ac_try) 2>&5
 
7456
  ac_status=$?
 
7457
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7458
  (exit $ac_status); }; } &&
 
7459
         { ac_try='test -s conftest.$ac_objext'
6649
7460
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6650
7461
  (eval $ac_try) 2>&5
6651
7462
  ac_status=$?
6654
7465
  ac_cv_type_long=yes
6655
7466
else
6656
7467
  echo "$as_me: failed program was:" >&5
6657
 
cat conftest.$ac_ext >&5
 
7468
sed 's/^/| /' conftest.$ac_ext >&5
 
7469
 
6658
7470
ac_cv_type_long=no
6659
7471
fi
6660
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7472
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6661
7473
fi
6662
7474
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6663
7475
echo "${ECHO_T}$ac_cv_type_long" >&6
6675
7487
  if test "$cross_compiling" = yes; then
6676
7488
  # Depending upon the size, compute the lo and hi bounds.
6677
7489
cat >conftest.$ac_ext <<_ACEOF
6678
 
#line $LINENO "configure"
6679
 
#include "confdefs.h"
 
7490
/* confdefs.h.  */
 
7491
_ACEOF
 
7492
cat confdefs.h >>conftest.$ac_ext
 
7493
cat >>conftest.$ac_ext <<_ACEOF
 
7494
/* end confdefs.h.  */
6680
7495
$ac_includes_default
6681
 
#ifdef F77_DUMMY_MAIN
6682
 
#  ifdef __cplusplus
6683
 
     extern "C"
6684
 
#  endif
6685
 
   int F77_DUMMY_MAIN() { return 1; }
6686
 
#endif
6687
7496
int
6688
7497
main ()
6689
7498
{
6696
7505
_ACEOF
6697
7506
rm -f conftest.$ac_objext
6698
7507
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6699
 
  (eval $ac_compile) 2>&5
 
7508
  (eval $ac_compile) 2>conftest.er1
6700
7509
  ac_status=$?
 
7510
  grep -v '^ *+' conftest.er1 >conftest.err
 
7511
  rm -f conftest.er1
 
7512
  cat conftest.err >&5
6701
7513
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702
7514
  (exit $ac_status); } &&
6703
 
         { ac_try='test -s conftest.$ac_objext'
 
7515
         { ac_try='test -z "$ac_c_werror_flag"
 
7516
                         || test ! -s conftest.err'
 
7517
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7518
  (eval $ac_try) 2>&5
 
7519
  ac_status=$?
 
7520
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7521
  (exit $ac_status); }; } &&
 
7522
         { ac_try='test -s conftest.$ac_objext'
6704
7523
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6705
7524
  (eval $ac_try) 2>&5
6706
7525
  ac_status=$?
6709
7528
  ac_lo=0 ac_mid=0
6710
7529
  while :; do
6711
7530
    cat >conftest.$ac_ext <<_ACEOF
6712
 
#line $LINENO "configure"
6713
 
#include "confdefs.h"
 
7531
/* confdefs.h.  */
 
7532
_ACEOF
 
7533
cat confdefs.h >>conftest.$ac_ext
 
7534
cat >>conftest.$ac_ext <<_ACEOF
 
7535
/* end confdefs.h.  */
6714
7536
$ac_includes_default
6715
 
#ifdef F77_DUMMY_MAIN
6716
 
#  ifdef __cplusplus
6717
 
     extern "C"
6718
 
#  endif
6719
 
   int F77_DUMMY_MAIN() { return 1; }
6720
 
#endif
6721
7537
int
6722
7538
main ()
6723
7539
{
6730
7546
_ACEOF
6731
7547
rm -f conftest.$ac_objext
6732
7548
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6733
 
  (eval $ac_compile) 2>&5
 
7549
  (eval $ac_compile) 2>conftest.er1
6734
7550
  ac_status=$?
 
7551
  grep -v '^ *+' conftest.er1 >conftest.err
 
7552
  rm -f conftest.er1
 
7553
  cat conftest.err >&5
6735
7554
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736
7555
  (exit $ac_status); } &&
6737
 
         { ac_try='test -s conftest.$ac_objext'
 
7556
         { ac_try='test -z "$ac_c_werror_flag"
 
7557
                         || test ! -s conftest.err'
 
7558
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7559
  (eval $ac_try) 2>&5
 
7560
  ac_status=$?
 
7561
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7562
  (exit $ac_status); }; } &&
 
7563
         { ac_try='test -s conftest.$ac_objext'
6738
7564
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6739
7565
  (eval $ac_try) 2>&5
6740
7566
  ac_status=$?
6743
7569
  ac_hi=$ac_mid; break
6744
7570
else
6745
7571
  echo "$as_me: failed program was:" >&5
6746
 
cat conftest.$ac_ext >&5
 
7572
sed 's/^/| /' conftest.$ac_ext >&5
 
7573
 
6747
7574
ac_lo=`expr $ac_mid + 1`
6748
 
                    if test $ac_lo -le $ac_mid; then
6749
 
                      ac_lo= ac_hi=
6750
 
                      break
6751
 
                    fi
6752
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
7575
                    if test $ac_lo -le $ac_mid; then
 
7576
                      ac_lo= ac_hi=
 
7577
                      break
 
7578
                    fi
 
7579
                    ac_mid=`expr 2 '*' $ac_mid + 1`
6753
7580
fi
6754
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7581
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6755
7582
  done
6756
7583
else
6757
7584
  echo "$as_me: failed program was:" >&5
6758
 
cat conftest.$ac_ext >&5
 
7585
sed 's/^/| /' conftest.$ac_ext >&5
 
7586
 
6759
7587
cat >conftest.$ac_ext <<_ACEOF
6760
 
#line $LINENO "configure"
6761
 
#include "confdefs.h"
 
7588
/* confdefs.h.  */
 
7589
_ACEOF
 
7590
cat confdefs.h >>conftest.$ac_ext
 
7591
cat >>conftest.$ac_ext <<_ACEOF
 
7592
/* end confdefs.h.  */
6762
7593
$ac_includes_default
6763
 
#ifdef F77_DUMMY_MAIN
6764
 
#  ifdef __cplusplus
6765
 
     extern "C"
6766
 
#  endif
6767
 
   int F77_DUMMY_MAIN() { return 1; }
6768
 
#endif
6769
7594
int
6770
7595
main ()
6771
7596
{
6778
7603
_ACEOF
6779
7604
rm -f conftest.$ac_objext
6780
7605
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6781
 
  (eval $ac_compile) 2>&5
 
7606
  (eval $ac_compile) 2>conftest.er1
6782
7607
  ac_status=$?
 
7608
  grep -v '^ *+' conftest.er1 >conftest.err
 
7609
  rm -f conftest.er1
 
7610
  cat conftest.err >&5
6783
7611
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784
7612
  (exit $ac_status); } &&
6785
 
         { ac_try='test -s conftest.$ac_objext'
 
7613
         { ac_try='test -z "$ac_c_werror_flag"
 
7614
                         || 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_objext'
6786
7621
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6787
7622
  (eval $ac_try) 2>&5
6788
7623
  ac_status=$?
6791
7626
  ac_hi=-1 ac_mid=-1
6792
7627
  while :; do
6793
7628
    cat >conftest.$ac_ext <<_ACEOF
6794
 
#line $LINENO "configure"
6795
 
#include "confdefs.h"
 
7629
/* confdefs.h.  */
 
7630
_ACEOF
 
7631
cat confdefs.h >>conftest.$ac_ext
 
7632
cat >>conftest.$ac_ext <<_ACEOF
 
7633
/* end confdefs.h.  */
6796
7634
$ac_includes_default
6797
 
#ifdef F77_DUMMY_MAIN
6798
 
#  ifdef __cplusplus
6799
 
     extern "C"
6800
 
#  endif
6801
 
   int F77_DUMMY_MAIN() { return 1; }
6802
 
#endif
6803
7635
int
6804
7636
main ()
6805
7637
{
6812
7644
_ACEOF
6813
7645
rm -f conftest.$ac_objext
6814
7646
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6815
 
  (eval $ac_compile) 2>&5
 
7647
  (eval $ac_compile) 2>conftest.er1
6816
7648
  ac_status=$?
 
7649
  grep -v '^ *+' conftest.er1 >conftest.err
 
7650
  rm -f conftest.er1
 
7651
  cat conftest.err >&5
6817
7652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6818
7653
  (exit $ac_status); } &&
6819
 
         { ac_try='test -s conftest.$ac_objext'
 
7654
         { ac_try='test -z "$ac_c_werror_flag"
 
7655
                         || test ! -s conftest.err'
 
7656
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7657
  (eval $ac_try) 2>&5
 
7658
  ac_status=$?
 
7659
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7660
  (exit $ac_status); }; } &&
 
7661
         { ac_try='test -s conftest.$ac_objext'
6820
7662
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6821
7663
  (eval $ac_try) 2>&5
6822
7664
  ac_status=$?
6825
7667
  ac_lo=$ac_mid; break
6826
7668
else
6827
7669
  echo "$as_me: failed program was:" >&5
6828
 
cat conftest.$ac_ext >&5
 
7670
sed 's/^/| /' conftest.$ac_ext >&5
 
7671
 
6829
7672
ac_hi=`expr '(' $ac_mid ')' - 1`
6830
 
                       if test $ac_mid -le $ac_hi; then
6831
 
                         ac_lo= ac_hi=
6832
 
                         break
6833
 
                       fi
6834
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
7673
                       if test $ac_mid -le $ac_hi; then
 
7674
                         ac_lo= ac_hi=
 
7675
                         break
 
7676
                       fi
 
7677
                       ac_mid=`expr 2 '*' $ac_mid`
6835
7678
fi
6836
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7679
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6837
7680
  done
6838
7681
else
6839
7682
  echo "$as_me: failed program was:" >&5
6840
 
cat conftest.$ac_ext >&5
 
7683
sed 's/^/| /' conftest.$ac_ext >&5
 
7684
 
6841
7685
ac_lo= ac_hi=
6842
7686
fi
6843
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7687
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6844
7688
fi
6845
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7689
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6846
7690
# Binary search between lo and hi bounds.
6847
7691
while test "x$ac_lo" != "x$ac_hi"; do
6848
7692
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6849
7693
  cat >conftest.$ac_ext <<_ACEOF
6850
 
#line $LINENO "configure"
6851
 
#include "confdefs.h"
 
7694
/* confdefs.h.  */
 
7695
_ACEOF
 
7696
cat confdefs.h >>conftest.$ac_ext
 
7697
cat >>conftest.$ac_ext <<_ACEOF
 
7698
/* end confdefs.h.  */
6852
7699
$ac_includes_default
6853
 
#ifdef F77_DUMMY_MAIN
6854
 
#  ifdef __cplusplus
6855
 
     extern "C"
6856
 
#  endif
6857
 
   int F77_DUMMY_MAIN() { return 1; }
6858
 
#endif
6859
7700
int
6860
7701
main ()
6861
7702
{
6868
7709
_ACEOF
6869
7710
rm -f conftest.$ac_objext
6870
7711
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6871
 
  (eval $ac_compile) 2>&5
 
7712
  (eval $ac_compile) 2>conftest.er1
6872
7713
  ac_status=$?
 
7714
  grep -v '^ *+' conftest.er1 >conftest.err
 
7715
  rm -f conftest.er1
 
7716
  cat conftest.err >&5
6873
7717
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874
7718
  (exit $ac_status); } &&
6875
 
         { ac_try='test -s conftest.$ac_objext'
 
7719
         { ac_try='test -z "$ac_c_werror_flag"
 
7720
                         || test ! -s conftest.err'
 
7721
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7722
  (eval $ac_try) 2>&5
 
7723
  ac_status=$?
 
7724
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7725
  (exit $ac_status); }; } &&
 
7726
         { ac_try='test -s conftest.$ac_objext'
6876
7727
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6877
7728
  (eval $ac_try) 2>&5
6878
7729
  ac_status=$?
6881
7732
  ac_hi=$ac_mid
6882
7733
else
6883
7734
  echo "$as_me: failed program was:" >&5
6884
 
cat conftest.$ac_ext >&5
 
7735
sed 's/^/| /' conftest.$ac_ext >&5
 
7736
 
6885
7737
ac_lo=`expr '(' $ac_mid ')' + 1`
6886
7738
fi
6887
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7739
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6888
7740
done
6889
7741
case $ac_lo in
6890
7742
?*) ac_cv_sizeof_long=$ac_lo;;
6891
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
6892
 
echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
 
7743
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
7744
See \`config.log' for more details." >&5
 
7745
echo "$as_me: error: cannot compute sizeof (long), 77
 
7746
See \`config.log' for more details." >&2;}
6893
7747
   { (exit 1); exit 1; }; } ;;
6894
7748
esac
6895
7749
else
6896
7750
  if test "$cross_compiling" = yes; then
6897
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
6898
 
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
 
7751
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 
7752
See \`config.log' for more details." >&5
 
7753
echo "$as_me: error: cannot run test program while cross compiling
 
7754
See \`config.log' for more details." >&2;}
6899
7755
   { (exit 1); exit 1; }; }
6900
7756
else
6901
7757
  cat >conftest.$ac_ext <<_ACEOF
6902
 
#line $LINENO "configure"
6903
 
#include "confdefs.h"
 
7758
/* confdefs.h.  */
 
7759
_ACEOF
 
7760
cat confdefs.h >>conftest.$ac_ext
 
7761
cat >>conftest.$ac_ext <<_ACEOF
 
7762
/* end confdefs.h.  */
6904
7763
$ac_includes_default
6905
7764
long longval () { return (long) (sizeof (long)); }
6906
7765
unsigned long ulongval () { return (long) (sizeof (long)); }
6907
7766
#include <stdio.h>
6908
7767
#include <stdlib.h>
6909
 
#ifdef F77_DUMMY_MAIN
6910
 
#  ifdef __cplusplus
6911
 
     extern "C"
6912
 
#  endif
6913
 
   int F77_DUMMY_MAIN() { return 1; }
6914
 
#endif
6915
7768
int
6916
7769
main ()
6917
7770
{
6954
7807
else
6955
7808
  echo "$as_me: program exited with status $ac_status" >&5
6956
7809
echo "$as_me: failed program was:" >&5
6957
 
cat conftest.$ac_ext >&5
 
7810
sed 's/^/| /' conftest.$ac_ext >&5
 
7811
 
6958
7812
( exit $ac_status )
6959
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
6960
 
echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
 
7813
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
7814
See \`config.log' for more details." >&5
 
7815
echo "$as_me: error: cannot compute sizeof (long), 77
 
7816
See \`config.log' for more details." >&2;}
6961
7817
   { (exit 1); exit 1; }; }
6962
7818
fi
6963
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
7819
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6964
7820
fi
6965
7821
fi
6966
7822
rm -f conftest.val
6983
7839
  echo $ECHO_N "(cached) $ECHO_C" >&6
6984
7840
else
6985
7841
  cat >conftest.$ac_ext <<_ACEOF
6986
 
#line $LINENO "configure"
6987
 
#include "confdefs.h"
 
7842
/* confdefs.h.  */
 
7843
_ACEOF
 
7844
cat confdefs.h >>conftest.$ac_ext
 
7845
cat >>conftest.$ac_ext <<_ACEOF
 
7846
/* end confdefs.h.  */
6988
7847
#include <stdarg.h>
6989
 
#ifdef F77_DUMMY_MAIN
6990
 
#  ifdef __cplusplus
6991
 
     extern "C"
6992
 
#  endif
6993
 
   int F77_DUMMY_MAIN() { return 1; }
6994
 
#endif
6995
7848
int
6996
7849
main ()
6997
7850
{
7010
7863
_ACEOF
7011
7864
rm -f conftest.$ac_objext
7012
7865
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7013
 
  (eval $ac_compile) 2>&5
 
7866
  (eval $ac_compile) 2>conftest.er1
7014
7867
  ac_status=$?
 
7868
  grep -v '^ *+' conftest.er1 >conftest.err
 
7869
  rm -f conftest.er1
 
7870
  cat conftest.err >&5
7015
7871
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016
7872
  (exit $ac_status); } &&
7017
 
         { ac_try='test -s conftest.$ac_objext'
 
7873
         { ac_try='test -z "$ac_c_werror_flag"
 
7874
                         || test ! -s conftest.err'
 
7875
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7876
  (eval $ac_try) 2>&5
 
7877
  ac_status=$?
 
7878
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7879
  (exit $ac_status); }; } &&
 
7880
         { ac_try='test -s conftest.$ac_objext'
7018
7881
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7019
7882
  (eval $ac_try) 2>&5
7020
7883
  ac_status=$?
7023
7886
  ac_cv_header_stdarg_h=yes
7024
7887
else
7025
7888
  echo "$as_me: failed program was:" >&5
7026
 
cat conftest.$ac_ext >&5
 
7889
sed 's/^/| /' conftest.$ac_ext >&5
 
7890
 
7027
7891
ac_cv_header_stdarg_h=no
7028
7892
fi
7029
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7893
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7030
7894
fi
7031
7895
echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5
7032
7896
echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6
7044
7908
  echo $ECHO_N "(cached) $ECHO_C" >&6
7045
7909
else
7046
7910
  cat >conftest.$ac_ext <<_ACEOF
7047
 
#line $LINENO "configure"
7048
 
#include "confdefs.h"
 
7911
/* confdefs.h.  */
 
7912
_ACEOF
 
7913
cat confdefs.h >>conftest.$ac_ext
 
7914
cat >>conftest.$ac_ext <<_ACEOF
 
7915
/* end confdefs.h.  */
7049
7916
#include <varargs.h>
7050
 
#ifdef F77_DUMMY_MAIN
7051
 
#  ifdef __cplusplus
7052
 
     extern "C"
7053
 
#  endif
7054
 
   int F77_DUMMY_MAIN() { return 1; }
7055
 
#endif
7056
7917
int
7057
7918
main ()
7058
7919
{
7071
7932
_ACEOF
7072
7933
rm -f conftest.$ac_objext
7073
7934
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7074
 
  (eval $ac_compile) 2>&5
 
7935
  (eval $ac_compile) 2>conftest.er1
7075
7936
  ac_status=$?
 
7937
  grep -v '^ *+' conftest.er1 >conftest.err
 
7938
  rm -f conftest.er1
 
7939
  cat conftest.err >&5
7076
7940
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7077
7941
  (exit $ac_status); } &&
7078
 
         { ac_try='test -s conftest.$ac_objext'
 
7942
         { ac_try='test -z "$ac_c_werror_flag"
 
7943
                         || test ! -s conftest.err'
 
7944
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7945
  (eval $ac_try) 2>&5
 
7946
  ac_status=$?
 
7947
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7948
  (exit $ac_status); }; } &&
 
7949
         { ac_try='test -s conftest.$ac_objext'
7079
7950
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7080
7951
  (eval $ac_try) 2>&5
7081
7952
  ac_status=$?
7084
7955
  ac_cv_header_varargs_h=yes
7085
7956
else
7086
7957
  echo "$as_me: failed program was:" >&5
7087
 
cat conftest.$ac_ext >&5
 
7958
sed 's/^/| /' conftest.$ac_ext >&5
 
7959
 
7088
7960
ac_cv_header_varargs_h=no
7089
7961
fi
7090
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
7962
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7091
7963
fi
7092
7964
echo "$as_me:$LINENO: result: $ac_cv_header_varargs_h" >&5
7093
7965
echo "${ECHO_T}$ac_cv_header_varargs_h" >&6
7118
7990
echo "$as_me:$LINENO: checking termios.h usability" >&5
7119
7991
echo $ECHO_N "checking termios.h usability... $ECHO_C" >&6
7120
7992
cat >conftest.$ac_ext <<_ACEOF
7121
 
#line $LINENO "configure"
7122
 
#include "confdefs.h"
 
7993
/* confdefs.h.  */
 
7994
_ACEOF
 
7995
cat confdefs.h >>conftest.$ac_ext
 
7996
cat >>conftest.$ac_ext <<_ACEOF
 
7997
/* end confdefs.h.  */
7123
7998
$ac_includes_default
7124
7999
#include <termios.h>
7125
8000
_ACEOF
7126
8001
rm -f conftest.$ac_objext
7127
8002
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7128
 
  (eval $ac_compile) 2>&5
 
8003
  (eval $ac_compile) 2>conftest.er1
7129
8004
  ac_status=$?
 
8005
  grep -v '^ *+' conftest.er1 >conftest.err
 
8006
  rm -f conftest.er1
 
8007
  cat conftest.err >&5
7130
8008
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131
8009
  (exit $ac_status); } &&
7132
 
         { ac_try='test -s conftest.$ac_objext'
 
8010
         { ac_try='test -z "$ac_c_werror_flag"
 
8011
                         || test ! -s conftest.err'
 
8012
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8013
  (eval $ac_try) 2>&5
 
8014
  ac_status=$?
 
8015
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8016
  (exit $ac_status); }; } &&
 
8017
         { ac_try='test -s conftest.$ac_objext'
7133
8018
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7134
8019
  (eval $ac_try) 2>&5
7135
8020
  ac_status=$?
7138
8023
  ac_header_compiler=yes
7139
8024
else
7140
8025
  echo "$as_me: failed program was:" >&5
7141
 
cat conftest.$ac_ext >&5
 
8026
sed 's/^/| /' conftest.$ac_ext >&5
 
8027
 
7142
8028
ac_header_compiler=no
7143
8029
fi
7144
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
8030
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7145
8031
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7146
8032
echo "${ECHO_T}$ac_header_compiler" >&6
7147
8033
 
7149
8035
echo "$as_me:$LINENO: checking termios.h presence" >&5
7150
8036
echo $ECHO_N "checking termios.h presence... $ECHO_C" >&6
7151
8037
cat >conftest.$ac_ext <<_ACEOF
7152
 
#line $LINENO "configure"
7153
 
#include "confdefs.h"
 
8038
/* confdefs.h.  */
 
8039
_ACEOF
 
8040
cat confdefs.h >>conftest.$ac_ext
 
8041
cat >>conftest.$ac_ext <<_ACEOF
 
8042
/* end confdefs.h.  */
7154
8043
#include <termios.h>
7155
8044
_ACEOF
7156
8045
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7157
8046
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7158
8047
  ac_status=$?
7159
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
8048
  grep -v '^ *+' conftest.er1 >conftest.err
7160
8049
  rm -f conftest.er1
7161
8050
  cat conftest.err >&5
7162
8051
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163
8052
  (exit $ac_status); } >/dev/null; then
7164
8053
  if test -s conftest.err; then
7165
8054
    ac_cpp_err=$ac_c_preproc_warn_flag
 
8055
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7166
8056
  else
7167
8057
    ac_cpp_err=
7168
8058
  fi
7173
8063
  ac_header_preproc=yes
7174
8064
else
7175
8065
  echo "$as_me: failed program was:" >&5
7176
 
  cat conftest.$ac_ext >&5
 
8066
sed 's/^/| /' conftest.$ac_ext >&5
 
8067
 
7177
8068
  ac_header_preproc=no
7178
8069
fi
7179
8070
rm -f conftest.err conftest.$ac_ext
7181
8072
echo "${ECHO_T}$ac_header_preproc" >&6
7182
8073
 
7183
8074
# So?  What about this header?
7184
 
case $ac_header_compiler:$ac_header_preproc in
7185
 
  yes:no )
 
8075
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
8076
  yes:no: )
7186
8077
    { echo "$as_me:$LINENO: WARNING: termios.h: accepted by the compiler, rejected by the preprocessor!" >&5
7187
8078
echo "$as_me: WARNING: termios.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7188
 
    { echo "$as_me:$LINENO: WARNING: termios.h: proceeding with the preprocessor's result" >&5
7189
 
echo "$as_me: WARNING: termios.h: proceeding with the preprocessor's result" >&2;};;
7190
 
  no:yes )
 
8079
    { echo "$as_me:$LINENO: WARNING: termios.h: proceeding with the compiler's result" >&5
 
8080
echo "$as_me: WARNING: termios.h: proceeding with the compiler's result" >&2;}
 
8081
    ac_header_preproc=yes
 
8082
    ;;
 
8083
  no:yes:* )
7191
8084
    { echo "$as_me:$LINENO: WARNING: termios.h: present but cannot be compiled" >&5
7192
8085
echo "$as_me: WARNING: termios.h: present but cannot be compiled" >&2;}
7193
 
    { echo "$as_me:$LINENO: WARNING: termios.h: check for missing prerequisite headers?" >&5
7194
 
echo "$as_me: WARNING: termios.h: check for missing prerequisite headers?" >&2;}
 
8086
    { echo "$as_me:$LINENO: WARNING: termios.h:     check for missing prerequisite headers?" >&5
 
8087
echo "$as_me: WARNING: termios.h:     check for missing prerequisite headers?" >&2;}
 
8088
    { echo "$as_me:$LINENO: WARNING: termios.h: see the Autoconf documentation" >&5
 
8089
echo "$as_me: WARNING: termios.h: see the Autoconf documentation" >&2;}
 
8090
    { echo "$as_me:$LINENO: WARNING: termios.h:     section \"Present But Cannot Be Compiled\"" >&5
 
8091
echo "$as_me: WARNING: termios.h:     section \"Present But Cannot Be Compiled\"" >&2;}
7195
8092
    { echo "$as_me:$LINENO: WARNING: termios.h: proceeding with the preprocessor's result" >&5
7196
 
echo "$as_me: WARNING: termios.h: proceeding with the preprocessor's result" >&2;};;
 
8093
echo "$as_me: WARNING: termios.h: proceeding with the preprocessor's result" >&2;}
 
8094
    { echo "$as_me:$LINENO: WARNING: termios.h: in the future, the compiler will take precedence" >&5
 
8095
echo "$as_me: WARNING: termios.h: in the future, the compiler will take precedence" >&2;}
 
8096
    (
 
8097
      cat <<\_ASBOX
 
8098
## ------------------------------------------ ##
 
8099
## Report this to the AC_PACKAGE_NAME lists.  ##
 
8100
## ------------------------------------------ ##
 
8101
_ASBOX
 
8102
    ) |
 
8103
      sed "s/^/$as_me: WARNING:     /" >&2
 
8104
    ;;
7197
8105
esac
7198
8106
echo "$as_me:$LINENO: checking for termios.h" >&5
7199
8107
echo $ECHO_N "checking for termios.h... $ECHO_C" >&6
7213
8121
  echo $ECHO_N "(cached) $ECHO_C" >&6
7214
8122
else
7215
8123
  cat >conftest.$ac_ext <<_ACEOF
7216
 
#line $LINENO "configure"
7217
 
#include "confdefs.h"
 
8124
/* confdefs.h.  */
 
8125
_ACEOF
 
8126
cat confdefs.h >>conftest.$ac_ext
 
8127
cat >>conftest.$ac_ext <<_ACEOF
 
8128
/* end confdefs.h.  */
 
8129
/* Define cfsetispeed to an innocuous variant, in case <limits.h> declares cfsetispeed.
 
8130
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
8131
#define cfsetispeed innocuous_cfsetispeed
 
8132
 
7218
8133
/* System header to define __stub macros and hopefully few prototypes,
7219
 
    which can conflict with char cfsetispeed (); below.  */
7220
 
#include <assert.h>
 
8134
    which can conflict with char cfsetispeed (); below.
 
8135
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
8136
    <limits.h> exists even on freestanding compilers.  */
 
8137
 
 
8138
#ifdef __STDC__
 
8139
# include <limits.h>
 
8140
#else
 
8141
# include <assert.h>
 
8142
#endif
 
8143
 
 
8144
#undef cfsetispeed
 
8145
 
7221
8146
/* Override any gcc2 internal prototype to avoid an error.  */
7222
8147
#ifdef __cplusplus
7223
8148
extern "C"
 
8149
{
7224
8150
#endif
7225
8151
/* We use char because int might match the return type of a gcc2
7226
8152
   builtin and then its argument prototype would still apply.  */
7227
8153
char cfsetispeed ();
7228
 
char (*f) ();
7229
 
 
7230
 
#ifdef F77_DUMMY_MAIN
7231
 
#  ifdef __cplusplus
7232
 
     extern "C"
7233
 
#  endif
7234
 
   int F77_DUMMY_MAIN() { return 1; }
7235
 
#endif
7236
 
int
7237
 
main ()
7238
 
{
7239
8154
/* The GNU C library defines this for functions which it implements
7240
8155
    to always fail with ENOSYS.  Some functions are actually named
7241
8156
    something starting with __ and the normal name is an alias.  */
7242
8157
#if defined (__stub_cfsetispeed) || defined (__stub___cfsetispeed)
7243
8158
choke me
7244
8159
#else
7245
 
f = cfsetispeed;
 
8160
char (*f) () = cfsetispeed;
 
8161
#endif
 
8162
#ifdef __cplusplus
 
8163
}
7246
8164
#endif
7247
8165
 
 
8166
int
 
8167
main ()
 
8168
{
 
8169
return f != cfsetispeed;
7248
8170
  ;
7249
8171
  return 0;
7250
8172
}
7251
8173
_ACEOF
7252
8174
rm -f conftest.$ac_objext conftest$ac_exeext
7253
8175
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7254
 
  (eval $ac_link) 2>&5
 
8176
  (eval $ac_link) 2>conftest.er1
7255
8177
  ac_status=$?
 
8178
  grep -v '^ *+' conftest.er1 >conftest.err
 
8179
  rm -f conftest.er1
 
8180
  cat conftest.err >&5
7256
8181
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257
8182
  (exit $ac_status); } &&
7258
 
         { ac_try='test -s conftest$ac_exeext'
 
8183
         { ac_try='test -z "$ac_c_werror_flag"
 
8184
                         || test ! -s conftest.err'
 
8185
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8186
  (eval $ac_try) 2>&5
 
8187
  ac_status=$?
 
8188
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8189
  (exit $ac_status); }; } &&
 
8190
         { ac_try='test -s conftest$ac_exeext'
7259
8191
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7260
8192
  (eval $ac_try) 2>&5
7261
8193
  ac_status=$?
7264
8196
  ac_cv_func_cfsetispeed=yes
7265
8197
else
7266
8198
  echo "$as_me: failed program was:" >&5
7267
 
cat conftest.$ac_ext >&5
 
8199
sed 's/^/| /' conftest.$ac_ext >&5
 
8200
 
7268
8201
ac_cv_func_cfsetispeed=no
7269
8202
fi
7270
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8203
rm -f conftest.err conftest.$ac_objext \
 
8204
      conftest$ac_exeext conftest.$ac_ext
7271
8205
fi
7272
8206
echo "$as_me:$LINENO: result: $ac_cv_func_cfsetispeed" >&5
7273
8207
echo "${ECHO_T}$ac_cv_func_cfsetispeed" >&6
7303
8237
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7304
8238
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7305
8239
cat >conftest.$ac_ext <<_ACEOF
7306
 
#line $LINENO "configure"
7307
 
#include "confdefs.h"
 
8240
/* confdefs.h.  */
 
8241
_ACEOF
 
8242
cat confdefs.h >>conftest.$ac_ext
 
8243
cat >>conftest.$ac_ext <<_ACEOF
 
8244
/* end confdefs.h.  */
7308
8245
$ac_includes_default
7309
8246
#include <$ac_header>
7310
8247
_ACEOF
7311
8248
rm -f conftest.$ac_objext
7312
8249
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7313
 
  (eval $ac_compile) 2>&5
 
8250
  (eval $ac_compile) 2>conftest.er1
7314
8251
  ac_status=$?
 
8252
  grep -v '^ *+' conftest.er1 >conftest.err
 
8253
  rm -f conftest.er1
 
8254
  cat conftest.err >&5
7315
8255
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316
8256
  (exit $ac_status); } &&
7317
 
         { ac_try='test -s conftest.$ac_objext'
 
8257
         { ac_try='test -z "$ac_c_werror_flag"
 
8258
                         || test ! -s conftest.err'
 
8259
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8260
  (eval $ac_try) 2>&5
 
8261
  ac_status=$?
 
8262
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8263
  (exit $ac_status); }; } &&
 
8264
         { ac_try='test -s conftest.$ac_objext'
7318
8265
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7319
8266
  (eval $ac_try) 2>&5
7320
8267
  ac_status=$?
7323
8270
  ac_header_compiler=yes
7324
8271
else
7325
8272
  echo "$as_me: failed program was:" >&5
7326
 
cat conftest.$ac_ext >&5
 
8273
sed 's/^/| /' conftest.$ac_ext >&5
 
8274
 
7327
8275
ac_header_compiler=no
7328
8276
fi
7329
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
8277
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7330
8278
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7331
8279
echo "${ECHO_T}$ac_header_compiler" >&6
7332
8280
 
7334
8282
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7335
8283
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7336
8284
cat >conftest.$ac_ext <<_ACEOF
7337
 
#line $LINENO "configure"
7338
 
#include "confdefs.h"
 
8285
/* confdefs.h.  */
 
8286
_ACEOF
 
8287
cat confdefs.h >>conftest.$ac_ext
 
8288
cat >>conftest.$ac_ext <<_ACEOF
 
8289
/* end confdefs.h.  */
7339
8290
#include <$ac_header>
7340
8291
_ACEOF
7341
8292
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7342
8293
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7343
8294
  ac_status=$?
7344
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
8295
  grep -v '^ *+' conftest.er1 >conftest.err
7345
8296
  rm -f conftest.er1
7346
8297
  cat conftest.err >&5
7347
8298
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348
8299
  (exit $ac_status); } >/dev/null; then
7349
8300
  if test -s conftest.err; then
7350
8301
    ac_cpp_err=$ac_c_preproc_warn_flag
 
8302
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7351
8303
  else
7352
8304
    ac_cpp_err=
7353
8305
  fi
7358
8310
  ac_header_preproc=yes
7359
8311
else
7360
8312
  echo "$as_me: failed program was:" >&5
7361
 
  cat conftest.$ac_ext >&5
 
8313
sed 's/^/| /' conftest.$ac_ext >&5
 
8314
 
7362
8315
  ac_header_preproc=no
7363
8316
fi
7364
8317
rm -f conftest.err conftest.$ac_ext
7366
8319
echo "${ECHO_T}$ac_header_preproc" >&6
7367
8320
 
7368
8321
# So?  What about this header?
7369
 
case $ac_header_compiler:$ac_header_preproc in
7370
 
  yes:no )
 
8322
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
8323
  yes:no: )
7371
8324
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7372
8325
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7373
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7374
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7375
 
  no:yes )
 
8326
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
8327
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
8328
    ac_header_preproc=yes
 
8329
    ;;
 
8330
  no:yes:* )
7376
8331
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7377
8332
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7378
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7379
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
8333
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
8334
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
8335
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
8336
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
8337
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
8338
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7380
8339
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7381
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
8340
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
8341
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
8342
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
8343
    (
 
8344
      cat <<\_ASBOX
 
8345
## ------------------------------------------ ##
 
8346
## Report this to the AC_PACKAGE_NAME lists.  ##
 
8347
## ------------------------------------------ ##
 
8348
_ASBOX
 
8349
    ) |
 
8350
      sed "s/^/$as_me: WARNING:     /" >&2
 
8351
    ;;
7382
8352
esac
7383
8353
echo "$as_me:$LINENO: checking for $ac_header" >&5
7384
8354
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7385
8355
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7386
8356
  echo $ECHO_N "(cached) $ECHO_C" >&6
7387
8357
else
7388
 
  eval "$as_ac_Header=$ac_header_preproc"
 
8358
  eval "$as_ac_Header=\$ac_header_preproc"
7389
8359
fi
7390
8360
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7391
8361
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7407
8377
  echo $ECHO_N "(cached) $ECHO_C" >&6
7408
8378
else
7409
8379
  cat >conftest.$ac_ext <<_ACEOF
7410
 
#line $LINENO "configure"
7411
 
#include "confdefs.h"
 
8380
/* confdefs.h.  */
 
8381
_ACEOF
 
8382
cat confdefs.h >>conftest.$ac_ext
 
8383
cat >>conftest.$ac_ext <<_ACEOF
 
8384
/* end confdefs.h.  */
7412
8385
#include <sys/types.h>
7413
8386
#include <utmp.h>
7414
 
#ifdef F77_DUMMY_MAIN
7415
 
#  ifdef __cplusplus
7416
 
     extern "C"
7417
 
#  endif
7418
 
   int F77_DUMMY_MAIN() { return 1; }
7419
 
#endif
7420
8387
int
7421
8388
main ()
7422
8389
{
7427
8394
_ACEOF
7428
8395
rm -f conftest.$ac_objext
7429
8396
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7430
 
  (eval $ac_compile) 2>&5
 
8397
  (eval $ac_compile) 2>conftest.er1
7431
8398
  ac_status=$?
 
8399
  grep -v '^ *+' conftest.er1 >conftest.err
 
8400
  rm -f conftest.er1
 
8401
  cat conftest.err >&5
7432
8402
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433
8403
  (exit $ac_status); } &&
7434
 
         { ac_try='test -s conftest.$ac_objext'
 
8404
         { ac_try='test -z "$ac_c_werror_flag"
 
8405
                         || test ! -s conftest.err'
 
8406
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8407
  (eval $ac_try) 2>&5
 
8408
  ac_status=$?
 
8409
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8410
  (exit $ac_status); }; } &&
 
8411
         { ac_try='test -s conftest.$ac_objext'
7435
8412
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7436
8413
  (eval $ac_try) 2>&5
7437
8414
  ac_status=$?
7440
8417
  krb5_cv_struct_ut_pid=yes
7441
8418
else
7442
8419
  echo "$as_me: failed program was:" >&5
7443
 
cat conftest.$ac_ext >&5
 
8420
sed 's/^/| /' conftest.$ac_ext >&5
 
8421
 
7444
8422
krb5_cv_struct_ut_pid=no
7445
8423
fi
7446
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
8424
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7447
8425
fi
7448
8426
 
7449
8427
echo "$as_me:$LINENO: result: $krb5_cv_struct_ut_pid" >&5
7460
8438
  echo $ECHO_N "(cached) $ECHO_C" >&6
7461
8439
else
7462
8440
  cat >conftest.$ac_ext <<_ACEOF
7463
 
#line $LINENO "configure"
7464
 
#include "confdefs.h"
 
8441
/* confdefs.h.  */
 
8442
_ACEOF
 
8443
cat confdefs.h >>conftest.$ac_ext
 
8444
cat >>conftest.$ac_ext <<_ACEOF
 
8445
/* end confdefs.h.  */
7465
8446
#include <sys/types.h>
7466
8447
#include <utmp.h>
7467
 
#ifdef F77_DUMMY_MAIN
7468
 
#  ifdef __cplusplus
7469
 
     extern "C"
7470
 
#  endif
7471
 
   int F77_DUMMY_MAIN() { return 1; }
7472
 
#endif
7473
8448
int
7474
8449
main ()
7475
8450
{
7480
8455
_ACEOF
7481
8456
rm -f conftest.$ac_objext
7482
8457
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7483
 
  (eval $ac_compile) 2>&5
 
8458
  (eval $ac_compile) 2>conftest.er1
7484
8459
  ac_status=$?
 
8460
  grep -v '^ *+' conftest.er1 >conftest.err
 
8461
  rm -f conftest.er1
 
8462
  cat conftest.err >&5
7485
8463
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486
8464
  (exit $ac_status); } &&
7487
 
         { ac_try='test -s conftest.$ac_objext'
 
8465
         { ac_try='test -z "$ac_c_werror_flag"
 
8466
                         || test ! -s conftest.err'
 
8467
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8468
  (eval $ac_try) 2>&5
 
8469
  ac_status=$?
 
8470
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8471
  (exit $ac_status); }; } &&
 
8472
         { ac_try='test -s conftest.$ac_objext'
7488
8473
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7489
8474
  (eval $ac_try) 2>&5
7490
8475
  ac_status=$?
7493
8478
  krb5_cv_struct_ut_type=yes
7494
8479
else
7495
8480
  echo "$as_me: failed program was:" >&5
7496
 
cat conftest.$ac_ext >&5
 
8481
sed 's/^/| /' conftest.$ac_ext >&5
 
8482
 
7497
8483
krb5_cv_struct_ut_type=no
7498
8484
fi
7499
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
8485
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7500
8486
fi
7501
8487
 
7502
8488
echo "$as_me:$LINENO: result: $krb5_cv_struct_ut_type" >&5
7513
8499
  echo $ECHO_N "(cached) $ECHO_C" >&6
7514
8500
else
7515
8501
  cat >conftest.$ac_ext <<_ACEOF
7516
 
#line $LINENO "configure"
7517
 
#include "confdefs.h"
 
8502
/* confdefs.h.  */
 
8503
_ACEOF
 
8504
cat confdefs.h >>conftest.$ac_ext
 
8505
cat >>conftest.$ac_ext <<_ACEOF
 
8506
/* end confdefs.h.  */
7518
8507
#include <sys/types.h>
7519
8508
#include <utmp.h>
7520
 
#ifdef F77_DUMMY_MAIN
7521
 
#  ifdef __cplusplus
7522
 
     extern "C"
7523
 
#  endif
7524
 
   int F77_DUMMY_MAIN() { return 1; }
7525
 
#endif
7526
8509
int
7527
8510
main ()
7528
8511
{
7533
8516
_ACEOF
7534
8517
rm -f conftest.$ac_objext
7535
8518
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7536
 
  (eval $ac_compile) 2>&5
 
8519
  (eval $ac_compile) 2>conftest.er1
7537
8520
  ac_status=$?
 
8521
  grep -v '^ *+' conftest.er1 >conftest.err
 
8522
  rm -f conftest.er1
 
8523
  cat conftest.err >&5
7538
8524
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539
8525
  (exit $ac_status); } &&
7540
 
         { ac_try='test -s conftest.$ac_objext'
 
8526
         { ac_try='test -z "$ac_c_werror_flag"
 
8527
                         || test ! -s conftest.err'
 
8528
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8529
  (eval $ac_try) 2>&5
 
8530
  ac_status=$?
 
8531
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8532
  (exit $ac_status); }; } &&
 
8533
         { ac_try='test -s conftest.$ac_objext'
7541
8534
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7542
8535
  (eval $ac_try) 2>&5
7543
8536
  ac_status=$?
7546
8539
  krb5_cv_struct_ut_host=yes
7547
8540
else
7548
8541
  echo "$as_me: failed program was:" >&5
7549
 
cat conftest.$ac_ext >&5
 
8542
sed 's/^/| /' conftest.$ac_ext >&5
 
8543
 
7550
8544
krb5_cv_struct_ut_host=no
7551
8545
fi
7552
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
8546
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7553
8547
fi
7554
8548
 
7555
8549
echo "$as_me:$LINENO: result: $krb5_cv_struct_ut_host" >&5
7566
8560
  echo $ECHO_N "(cached) $ECHO_C" >&6
7567
8561
else
7568
8562
  cat >conftest.$ac_ext <<_ACEOF
7569
 
#line $LINENO "configure"
7570
 
#include "confdefs.h"
 
8563
/* confdefs.h.  */
 
8564
_ACEOF
 
8565
cat confdefs.h >>conftest.$ac_ext
 
8566
cat >>conftest.$ac_ext <<_ACEOF
 
8567
/* end confdefs.h.  */
7571
8568
#include <sys/types.h>
7572
8569
#include <utmp.h>
7573
 
#ifdef F77_DUMMY_MAIN
7574
 
#  ifdef __cplusplus
7575
 
     extern "C"
7576
 
#  endif
7577
 
   int F77_DUMMY_MAIN() { return 1; }
7578
 
#endif
7579
8570
int
7580
8571
main ()
7581
8572
{
7586
8577
_ACEOF
7587
8578
rm -f conftest.$ac_objext
7588
8579
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7589
 
  (eval $ac_compile) 2>&5
 
8580
  (eval $ac_compile) 2>conftest.er1
7590
8581
  ac_status=$?
 
8582
  grep -v '^ *+' conftest.er1 >conftest.err
 
8583
  rm -f conftest.er1
 
8584
  cat conftest.err >&5
7591
8585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592
8586
  (exit $ac_status); } &&
7593
 
         { ac_try='test -s conftest.$ac_objext'
 
8587
         { ac_try='test -z "$ac_c_werror_flag"
 
8588
                         || test ! -s conftest.err'
 
8589
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8590
  (eval $ac_try) 2>&5
 
8591
  ac_status=$?
 
8592
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8593
  (exit $ac_status); }; } &&
 
8594
         { ac_try='test -s conftest.$ac_objext'
7594
8595
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7595
8596
  (eval $ac_try) 2>&5
7596
8597
  ac_status=$?
7599
8600
  krb5_cv_struct_ut_exit=yes
7600
8601
else
7601
8602
  echo "$as_me: failed program was:" >&5
7602
 
cat conftest.$ac_ext >&5
 
8603
sed 's/^/| /' conftest.$ac_ext >&5
 
8604
 
7603
8605
krb5_cv_struct_ut_exit=no
7604
8606
fi
7605
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
8607
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7606
8608
fi
7607
8609
 
7608
8610
echo "$as_me:$LINENO: result: $krb5_cv_struct_ut_exit" >&5
7619
8621
  echo $ECHO_N "(cached) $ECHO_C" >&6
7620
8622
else
7621
8623
  cat >conftest.$ac_ext <<_ACEOF
7622
 
#line $LINENO "configure"
7623
 
#include "confdefs.h"
 
8624
/* confdefs.h.  */
 
8625
_ACEOF
 
8626
cat confdefs.h >>conftest.$ac_ext
 
8627
cat >>conftest.$ac_ext <<_ACEOF
 
8628
/* end confdefs.h.  */
 
8629
/* Define setutent to an innocuous variant, in case <limits.h> declares setutent.
 
8630
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
8631
#define setutent innocuous_setutent
 
8632
 
7624
8633
/* System header to define __stub macros and hopefully few prototypes,
7625
 
    which can conflict with char setutent (); below.  */
7626
 
#include <assert.h>
 
8634
    which can conflict with char setutent (); below.
 
8635
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
8636
    <limits.h> exists even on freestanding compilers.  */
 
8637
 
 
8638
#ifdef __STDC__
 
8639
# include <limits.h>
 
8640
#else
 
8641
# include <assert.h>
 
8642
#endif
 
8643
 
 
8644
#undef setutent
 
8645
 
7627
8646
/* Override any gcc2 internal prototype to avoid an error.  */
7628
8647
#ifdef __cplusplus
7629
8648
extern "C"
 
8649
{
7630
8650
#endif
7631
8651
/* We use char because int might match the return type of a gcc2
7632
8652
   builtin and then its argument prototype would still apply.  */
7633
8653
char setutent ();
7634
 
char (*f) ();
7635
 
 
7636
 
#ifdef F77_DUMMY_MAIN
7637
 
#  ifdef __cplusplus
7638
 
     extern "C"
7639
 
#  endif
7640
 
   int F77_DUMMY_MAIN() { return 1; }
7641
 
#endif
7642
 
int
7643
 
main ()
7644
 
{
7645
8654
/* The GNU C library defines this for functions which it implements
7646
8655
    to always fail with ENOSYS.  Some functions are actually named
7647
8656
    something starting with __ and the normal name is an alias.  */
7648
8657
#if defined (__stub_setutent) || defined (__stub___setutent)
7649
8658
choke me
7650
8659
#else
7651
 
f = setutent;
 
8660
char (*f) () = setutent;
 
8661
#endif
 
8662
#ifdef __cplusplus
 
8663
}
7652
8664
#endif
7653
8665
 
 
8666
int
 
8667
main ()
 
8668
{
 
8669
return f != setutent;
7654
8670
  ;
7655
8671
  return 0;
7656
8672
}
7657
8673
_ACEOF
7658
8674
rm -f conftest.$ac_objext conftest$ac_exeext
7659
8675
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7660
 
  (eval $ac_link) 2>&5
 
8676
  (eval $ac_link) 2>conftest.er1
7661
8677
  ac_status=$?
 
8678
  grep -v '^ *+' conftest.er1 >conftest.err
 
8679
  rm -f conftest.er1
 
8680
  cat conftest.err >&5
7662
8681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663
8682
  (exit $ac_status); } &&
7664
 
         { ac_try='test -s conftest$ac_exeext'
 
8683
         { ac_try='test -z "$ac_c_werror_flag"
 
8684
                         || test ! -s conftest.err'
 
8685
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8686
  (eval $ac_try) 2>&5
 
8687
  ac_status=$?
 
8688
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8689
  (exit $ac_status); }; } &&
 
8690
         { ac_try='test -s conftest$ac_exeext'
7665
8691
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7666
8692
  (eval $ac_try) 2>&5
7667
8693
  ac_status=$?
7670
8696
  ac_cv_func_setutent=yes
7671
8697
else
7672
8698
  echo "$as_me: failed program was:" >&5
7673
 
cat conftest.$ac_ext >&5
 
8699
sed 's/^/| /' conftest.$ac_ext >&5
 
8700
 
7674
8701
ac_cv_func_setutent=no
7675
8702
fi
7676
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8703
rm -f conftest.err conftest.$ac_objext \
 
8704
      conftest$ac_exeext conftest.$ac_ext
7677
8705
fi
7678
8706
echo "$as_me:$LINENO: result: $ac_cv_func_setutent" >&5
7679
8707
echo "${ECHO_T}$ac_cv_func_setutent" >&6
7690
8718
  echo $ECHO_N "(cached) $ECHO_C" >&6
7691
8719
else
7692
8720
  cat >conftest.$ac_ext <<_ACEOF
7693
 
#line $LINENO "configure"
7694
 
#include "confdefs.h"
 
8721
/* confdefs.h.  */
 
8722
_ACEOF
 
8723
cat confdefs.h >>conftest.$ac_ext
 
8724
cat >>conftest.$ac_ext <<_ACEOF
 
8725
/* end confdefs.h.  */
 
8726
/* Define setutxent to an innocuous variant, in case <limits.h> declares setutxent.
 
8727
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
8728
#define setutxent innocuous_setutxent
 
8729
 
7695
8730
/* System header to define __stub macros and hopefully few prototypes,
7696
 
    which can conflict with char setutxent (); below.  */
7697
 
#include <assert.h>
 
8731
    which can conflict with char setutxent (); below.
 
8732
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
8733
    <limits.h> exists even on freestanding compilers.  */
 
8734
 
 
8735
#ifdef __STDC__
 
8736
# include <limits.h>
 
8737
#else
 
8738
# include <assert.h>
 
8739
#endif
 
8740
 
 
8741
#undef setutxent
 
8742
 
7698
8743
/* Override any gcc2 internal prototype to avoid an error.  */
7699
8744
#ifdef __cplusplus
7700
8745
extern "C"
 
8746
{
7701
8747
#endif
7702
8748
/* We use char because int might match the return type of a gcc2
7703
8749
   builtin and then its argument prototype would still apply.  */
7704
8750
char setutxent ();
7705
 
char (*f) ();
7706
 
 
7707
 
#ifdef F77_DUMMY_MAIN
7708
 
#  ifdef __cplusplus
7709
 
     extern "C"
7710
 
#  endif
7711
 
   int F77_DUMMY_MAIN() { return 1; }
7712
 
#endif
7713
 
int
7714
 
main ()
7715
 
{
7716
8751
/* The GNU C library defines this for functions which it implements
7717
8752
    to always fail with ENOSYS.  Some functions are actually named
7718
8753
    something starting with __ and the normal name is an alias.  */
7719
8754
#if defined (__stub_setutxent) || defined (__stub___setutxent)
7720
8755
choke me
7721
8756
#else
7722
 
f = setutxent;
 
8757
char (*f) () = setutxent;
 
8758
#endif
 
8759
#ifdef __cplusplus
 
8760
}
7723
8761
#endif
7724
8762
 
 
8763
int
 
8764
main ()
 
8765
{
 
8766
return f != setutxent;
7725
8767
  ;
7726
8768
  return 0;
7727
8769
}
7728
8770
_ACEOF
7729
8771
rm -f conftest.$ac_objext conftest$ac_exeext
7730
8772
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7731
 
  (eval $ac_link) 2>&5
 
8773
  (eval $ac_link) 2>conftest.er1
7732
8774
  ac_status=$?
 
8775
  grep -v '^ *+' conftest.er1 >conftest.err
 
8776
  rm -f conftest.er1
 
8777
  cat conftest.err >&5
7733
8778
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7734
8779
  (exit $ac_status); } &&
7735
 
         { ac_try='test -s conftest$ac_exeext'
 
8780
         { ac_try='test -z "$ac_c_werror_flag"
 
8781
                         || test ! -s conftest.err'
 
8782
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8783
  (eval $ac_try) 2>&5
 
8784
  ac_status=$?
 
8785
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8786
  (exit $ac_status); }; } &&
 
8787
         { ac_try='test -s conftest$ac_exeext'
7736
8788
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7737
8789
  (eval $ac_try) 2>&5
7738
8790
  ac_status=$?
7741
8793
  ac_cv_func_setutxent=yes
7742
8794
else
7743
8795
  echo "$as_me: failed program was:" >&5
7744
 
cat conftest.$ac_ext >&5
 
8796
sed 's/^/| /' conftest.$ac_ext >&5
 
8797
 
7745
8798
ac_cv_func_setutxent=no
7746
8799
fi
7747
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8800
rm -f conftest.err conftest.$ac_objext \
 
8801
      conftest$ac_exeext conftest.$ac_ext
7748
8802
fi
7749
8803
echo "$as_me:$LINENO: result: $ac_cv_func_setutxent" >&5
7750
8804
echo "${ECHO_T}$ac_cv_func_setutxent" >&6
7761
8815
  echo $ECHO_N "(cached) $ECHO_C" >&6
7762
8816
else
7763
8817
  cat >conftest.$ac_ext <<_ACEOF
7764
 
#line $LINENO "configure"
7765
 
#include "confdefs.h"
 
8818
/* confdefs.h.  */
 
8819
_ACEOF
 
8820
cat confdefs.h >>conftest.$ac_ext
 
8821
cat >>conftest.$ac_ext <<_ACEOF
 
8822
/* end confdefs.h.  */
 
8823
/* Define updwtmp to an innocuous variant, in case <limits.h> declares updwtmp.
 
8824
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
8825
#define updwtmp innocuous_updwtmp
 
8826
 
7766
8827
/* System header to define __stub macros and hopefully few prototypes,
7767
 
    which can conflict with char updwtmp (); below.  */
7768
 
#include <assert.h>
 
8828
    which can conflict with char updwtmp (); below.
 
8829
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
8830
    <limits.h> exists even on freestanding compilers.  */
 
8831
 
 
8832
#ifdef __STDC__
 
8833
# include <limits.h>
 
8834
#else
 
8835
# include <assert.h>
 
8836
#endif
 
8837
 
 
8838
#undef updwtmp
 
8839
 
7769
8840
/* Override any gcc2 internal prototype to avoid an error.  */
7770
8841
#ifdef __cplusplus
7771
8842
extern "C"
 
8843
{
7772
8844
#endif
7773
8845
/* We use char because int might match the return type of a gcc2
7774
8846
   builtin and then its argument prototype would still apply.  */
7775
8847
char updwtmp ();
7776
 
char (*f) ();
7777
 
 
7778
 
#ifdef F77_DUMMY_MAIN
7779
 
#  ifdef __cplusplus
7780
 
     extern "C"
7781
 
#  endif
7782
 
   int F77_DUMMY_MAIN() { return 1; }
7783
 
#endif
7784
 
int
7785
 
main ()
7786
 
{
7787
8848
/* The GNU C library defines this for functions which it implements
7788
8849
    to always fail with ENOSYS.  Some functions are actually named
7789
8850
    something starting with __ and the normal name is an alias.  */
7790
8851
#if defined (__stub_updwtmp) || defined (__stub___updwtmp)
7791
8852
choke me
7792
8853
#else
7793
 
f = updwtmp;
 
8854
char (*f) () = updwtmp;
 
8855
#endif
 
8856
#ifdef __cplusplus
 
8857
}
7794
8858
#endif
7795
8859
 
 
8860
int
 
8861
main ()
 
8862
{
 
8863
return f != updwtmp;
7796
8864
  ;
7797
8865
  return 0;
7798
8866
}
7799
8867
_ACEOF
7800
8868
rm -f conftest.$ac_objext conftest$ac_exeext
7801
8869
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7802
 
  (eval $ac_link) 2>&5
 
8870
  (eval $ac_link) 2>conftest.er1
7803
8871
  ac_status=$?
 
8872
  grep -v '^ *+' conftest.er1 >conftest.err
 
8873
  rm -f conftest.er1
 
8874
  cat conftest.err >&5
7804
8875
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805
8876
  (exit $ac_status); } &&
7806
 
         { ac_try='test -s conftest$ac_exeext'
 
8877
         { ac_try='test -z "$ac_c_werror_flag"
 
8878
                         || test ! -s conftest.err'
 
8879
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8880
  (eval $ac_try) 2>&5
 
8881
  ac_status=$?
 
8882
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8883
  (exit $ac_status); }; } &&
 
8884
         { ac_try='test -s conftest$ac_exeext'
7807
8885
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7808
8886
  (eval $ac_try) 2>&5
7809
8887
  ac_status=$?
7812
8890
  ac_cv_func_updwtmp=yes
7813
8891
else
7814
8892
  echo "$as_me: failed program was:" >&5
7815
 
cat conftest.$ac_ext >&5
 
8893
sed 's/^/| /' conftest.$ac_ext >&5
 
8894
 
7816
8895
ac_cv_func_updwtmp=no
7817
8896
fi
7818
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8897
rm -f conftest.err conftest.$ac_objext \
 
8898
      conftest$ac_exeext conftest.$ac_ext
7819
8899
fi
7820
8900
echo "$as_me:$LINENO: result: $ac_cv_func_updwtmp" >&5
7821
8901
echo "${ECHO_T}$ac_cv_func_updwtmp" >&6
7832
8912
  echo $ECHO_N "(cached) $ECHO_C" >&6
7833
8913
else
7834
8914
  cat >conftest.$ac_ext <<_ACEOF
7835
 
#line $LINENO "configure"
7836
 
#include "confdefs.h"
 
8915
/* confdefs.h.  */
 
8916
_ACEOF
 
8917
cat confdefs.h >>conftest.$ac_ext
 
8918
cat >>conftest.$ac_ext <<_ACEOF
 
8919
/* end confdefs.h.  */
 
8920
/* Define updwtmpx to an innocuous variant, in case <limits.h> declares updwtmpx.
 
8921
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
8922
#define updwtmpx innocuous_updwtmpx
 
8923
 
7837
8924
/* System header to define __stub macros and hopefully few prototypes,
7838
 
    which can conflict with char updwtmpx (); below.  */
7839
 
#include <assert.h>
 
8925
    which can conflict with char updwtmpx (); below.
 
8926
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
8927
    <limits.h> exists even on freestanding compilers.  */
 
8928
 
 
8929
#ifdef __STDC__
 
8930
# include <limits.h>
 
8931
#else
 
8932
# include <assert.h>
 
8933
#endif
 
8934
 
 
8935
#undef updwtmpx
 
8936
 
7840
8937
/* Override any gcc2 internal prototype to avoid an error.  */
7841
8938
#ifdef __cplusplus
7842
8939
extern "C"
 
8940
{
7843
8941
#endif
7844
8942
/* We use char because int might match the return type of a gcc2
7845
8943
   builtin and then its argument prototype would still apply.  */
7846
8944
char updwtmpx ();
7847
 
char (*f) ();
7848
 
 
7849
 
#ifdef F77_DUMMY_MAIN
7850
 
#  ifdef __cplusplus
7851
 
     extern "C"
7852
 
#  endif
7853
 
   int F77_DUMMY_MAIN() { return 1; }
7854
 
#endif
7855
 
int
7856
 
main ()
7857
 
{
7858
8945
/* The GNU C library defines this for functions which it implements
7859
8946
    to always fail with ENOSYS.  Some functions are actually named
7860
8947
    something starting with __ and the normal name is an alias.  */
7861
8948
#if defined (__stub_updwtmpx) || defined (__stub___updwtmpx)
7862
8949
choke me
7863
8950
#else
7864
 
f = updwtmpx;
 
8951
char (*f) () = updwtmpx;
 
8952
#endif
 
8953
#ifdef __cplusplus
 
8954
}
7865
8955
#endif
7866
8956
 
 
8957
int
 
8958
main ()
 
8959
{
 
8960
return f != updwtmpx;
7867
8961
  ;
7868
8962
  return 0;
7869
8963
}
7870
8964
_ACEOF
7871
8965
rm -f conftest.$ac_objext conftest$ac_exeext
7872
8966
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7873
 
  (eval $ac_link) 2>&5
 
8967
  (eval $ac_link) 2>conftest.er1
7874
8968
  ac_status=$?
 
8969
  grep -v '^ *+' conftest.er1 >conftest.err
 
8970
  rm -f conftest.er1
 
8971
  cat conftest.err >&5
7875
8972
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7876
8973
  (exit $ac_status); } &&
7877
 
         { ac_try='test -s conftest$ac_exeext'
 
8974
         { ac_try='test -z "$ac_c_werror_flag"
 
8975
                         || test ! -s conftest.err'
 
8976
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8977
  (eval $ac_try) 2>&5
 
8978
  ac_status=$?
 
8979
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8980
  (exit $ac_status); }; } &&
 
8981
         { ac_try='test -s conftest$ac_exeext'
7878
8982
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7879
8983
  (eval $ac_try) 2>&5
7880
8984
  ac_status=$?
7883
8987
  ac_cv_func_updwtmpx=yes
7884
8988
else
7885
8989
  echo "$as_me: failed program was:" >&5
7886
 
cat conftest.$ac_ext >&5
 
8990
sed 's/^/| /' conftest.$ac_ext >&5
 
8991
 
7887
8992
ac_cv_func_updwtmpx=no
7888
8993
fi
7889
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8994
rm -f conftest.err conftest.$ac_objext \
 
8995
      conftest$ac_exeext conftest.$ac_ext
7890
8996
fi
7891
8997
echo "$as_me:$LINENO: result: $ac_cv_func_updwtmpx" >&5
7892
8998
echo "${ECHO_T}$ac_cv_func_updwtmpx" >&6
7904
9010
  echo $ECHO_N "(cached) $ECHO_C" >&6
7905
9011
else
7906
9012
  cat >conftest.$ac_ext <<_ACEOF
7907
 
#line $LINENO "configure"
7908
 
#include "confdefs.h"
 
9013
/* confdefs.h.  */
 
9014
_ACEOF
 
9015
cat confdefs.h >>conftest.$ac_ext
 
9016
cat >>conftest.$ac_ext <<_ACEOF
 
9017
/* end confdefs.h.  */
7909
9018
#include <stdio.h>
7910
9019
#include <errno.h>
7911
 
#ifdef F77_DUMMY_MAIN
7912
 
#  ifdef __cplusplus
7913
 
     extern "C"
7914
 
#  endif
7915
 
   int F77_DUMMY_MAIN() { return 1; }
7916
 
#endif
7917
9020
int
7918
9021
main ()
7919
9022
{
7924
9027
_ACEOF
7925
9028
rm -f conftest.$ac_objext
7926
9029
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7927
 
  (eval $ac_compile) 2>&5
 
9030
  (eval $ac_compile) 2>conftest.er1
7928
9031
  ac_status=$?
 
9032
  grep -v '^ *+' conftest.er1 >conftest.err
 
9033
  rm -f conftest.er1
 
9034
  cat conftest.err >&5
7929
9035
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7930
9036
  (exit $ac_status); } &&
7931
 
         { ac_try='test -s conftest.$ac_objext'
 
9037
         { ac_try='test -z "$ac_c_werror_flag"
 
9038
                         || test ! -s conftest.err'
 
9039
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9040
  (eval $ac_try) 2>&5
 
9041
  ac_status=$?
 
9042
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9043
  (exit $ac_status); }; } &&
 
9044
         { ac_try='test -s conftest.$ac_objext'
7932
9045
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7933
9046
  (eval $ac_try) 2>&5
7934
9047
  ac_status=$?
7937
9050
  krb5_cv_decl_sys_errlist=yes
7938
9051
else
7939
9052
  echo "$as_me: failed program was:" >&5
7940
 
cat conftest.$ac_ext >&5
 
9053
sed 's/^/| /' conftest.$ac_ext >&5
 
9054
 
7941
9055
krb5_cv_decl_sys_errlist=no
7942
9056
fi
7943
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
9057
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7944
9058
fi
7945
9059
echo "$as_me:$LINENO: result: $krb5_cv_decl_sys_errlist" >&5
7946
9060
echo "${ECHO_T}$krb5_cv_decl_sys_errlist" >&6
7965
9079
  echo $ECHO_N "(cached) $ECHO_C" >&6
7966
9080
else
7967
9081
  cat >conftest.$ac_ext <<_ACEOF
7968
 
#line $LINENO "configure"
7969
 
#include "confdefs.h"
 
9082
/* confdefs.h.  */
 
9083
_ACEOF
 
9084
cat confdefs.h >>conftest.$ac_ext
 
9085
cat >>conftest.$ac_ext <<_ACEOF
 
9086
/* end confdefs.h.  */
7970
9087
extern int sys_nerr;
7971
 
#ifdef F77_DUMMY_MAIN
7972
 
#  ifdef __cplusplus
7973
 
     extern "C"
7974
 
#  endif
7975
 
   int F77_DUMMY_MAIN() { return 1; }
7976
 
#endif
7977
9088
int
7978
9089
main ()
7979
9090
{
7984
9095
_ACEOF
7985
9096
rm -f conftest.$ac_objext conftest$ac_exeext
7986
9097
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7987
 
  (eval $ac_link) 2>&5
 
9098
  (eval $ac_link) 2>conftest.er1
7988
9099
  ac_status=$?
 
9100
  grep -v '^ *+' conftest.er1 >conftest.err
 
9101
  rm -f conftest.er1
 
9102
  cat conftest.err >&5
7989
9103
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7990
9104
  (exit $ac_status); } &&
7991
 
         { ac_try='test -s conftest$ac_exeext'
 
9105
         { ac_try='test -z "$ac_c_werror_flag"
 
9106
                         || test ! -s conftest.err'
 
9107
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9108
  (eval $ac_try) 2>&5
 
9109
  ac_status=$?
 
9110
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9111
  (exit $ac_status); }; } &&
 
9112
         { ac_try='test -s conftest$ac_exeext'
7992
9113
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7993
9114
  (eval $ac_try) 2>&5
7994
9115
  ac_status=$?
7997
9118
  krb5_cv_var_sys_errlist=yes
7998
9119
else
7999
9120
  echo "$as_me: failed program was:" >&5
8000
 
cat conftest.$ac_ext >&5
 
9121
sed 's/^/| /' conftest.$ac_ext >&5
 
9122
 
8001
9123
krb5_cv_var_sys_errlist=no;
8002
9124
fi
8003
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
9125
rm -f conftest.err conftest.$ac_objext \
 
9126
      conftest$ac_exeext conftest.$ac_ext
8004
9127
fi
8005
9128
echo "$as_me:$LINENO: result: $krb5_cv_var_sys_errlist" >&5
8006
9129
echo "${ECHO_T}$krb5_cv_var_sys_errlist" >&6
8031
9154
  echo $ECHO_N "(cached) $ECHO_C" >&6
8032
9155
else
8033
9156
  cat >conftest.$ac_ext <<_ACEOF
8034
 
#line $LINENO "configure"
8035
 
#include "confdefs.h"
 
9157
/* confdefs.h.  */
 
9158
_ACEOF
 
9159
cat confdefs.h >>conftest.$ac_ext
 
9160
cat >>conftest.$ac_ext <<_ACEOF
 
9161
/* end confdefs.h.  */
 
9162
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
9163
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
9164
#define $ac_func innocuous_$ac_func
 
9165
 
8036
9166
/* System header to define __stub macros and hopefully few prototypes,
8037
 
    which can conflict with char $ac_func (); below.  */
8038
 
#include <assert.h>
 
9167
    which can conflict with char $ac_func (); below.
 
9168
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
9169
    <limits.h> exists even on freestanding compilers.  */
 
9170
 
 
9171
#ifdef __STDC__
 
9172
# include <limits.h>
 
9173
#else
 
9174
# include <assert.h>
 
9175
#endif
 
9176
 
 
9177
#undef $ac_func
 
9178
 
8039
9179
/* Override any gcc2 internal prototype to avoid an error.  */
8040
9180
#ifdef __cplusplus
8041
9181
extern "C"
 
9182
{
8042
9183
#endif
8043
9184
/* We use char because int might match the return type of a gcc2
8044
9185
   builtin and then its argument prototype would still apply.  */
8045
9186
char $ac_func ();
8046
 
char (*f) ();
8047
 
 
8048
 
#ifdef F77_DUMMY_MAIN
8049
 
#  ifdef __cplusplus
8050
 
     extern "C"
8051
 
#  endif
8052
 
   int F77_DUMMY_MAIN() { return 1; }
8053
 
#endif
8054
 
int
8055
 
main ()
8056
 
{
8057
9187
/* The GNU C library defines this for functions which it implements
8058
9188
    to always fail with ENOSYS.  Some functions are actually named
8059
9189
    something starting with __ and the normal name is an alias.  */
8060
9190
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8061
9191
choke me
8062
9192
#else
8063
 
f = $ac_func;
 
9193
char (*f) () = $ac_func;
 
9194
#endif
 
9195
#ifdef __cplusplus
 
9196
}
8064
9197
#endif
8065
9198
 
 
9199
int
 
9200
main ()
 
9201
{
 
9202
return f != $ac_func;
8066
9203
  ;
8067
9204
  return 0;
8068
9205
}
8069
9206
_ACEOF
8070
9207
rm -f conftest.$ac_objext conftest$ac_exeext
8071
9208
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8072
 
  (eval $ac_link) 2>&5
 
9209
  (eval $ac_link) 2>conftest.er1
8073
9210
  ac_status=$?
 
9211
  grep -v '^ *+' conftest.er1 >conftest.err
 
9212
  rm -f conftest.er1
 
9213
  cat conftest.err >&5
8074
9214
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075
9215
  (exit $ac_status); } &&
8076
 
         { ac_try='test -s conftest$ac_exeext'
 
9216
         { ac_try='test -z "$ac_c_werror_flag"
 
9217
                         || test ! -s conftest.err'
 
9218
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9219
  (eval $ac_try) 2>&5
 
9220
  ac_status=$?
 
9221
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9222
  (exit $ac_status); }; } &&
 
9223
         { ac_try='test -s conftest$ac_exeext'
8077
9224
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8078
9225
  (eval $ac_try) 2>&5
8079
9226
  ac_status=$?
8082
9229
  eval "$as_ac_var=yes"
8083
9230
else
8084
9231
  echo "$as_me: failed program was:" >&5
8085
 
cat conftest.$ac_ext >&5
 
9232
sed 's/^/| /' conftest.$ac_ext >&5
 
9233
 
8086
9234
eval "$as_ac_var=no"
8087
9235
fi
8088
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
9236
rm -f conftest.err conftest.$ac_objext \
 
9237
      conftest$ac_exeext conftest.$ac_ext
8089
9238
fi
8090
9239
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8091
9240
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8095
9244
_ACEOF
8096
9245
 
8097
9246
else
8098
 
  LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 
9247
  case $LIBOBJS in
 
9248
    "$ac_func.$ac_objext"   | \
 
9249
  *" $ac_func.$ac_objext"   | \
 
9250
    "$ac_func.$ac_objext "* | \
 
9251
  *" $ac_func.$ac_objext "* ) ;;
 
9252
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
 
9253
esac
 
9254
 
8099
9255
fi
8100
9256
done
8101
9257
 
8117
9273
  echo $ECHO_N "(cached) $ECHO_C" >&6
8118
9274
else
8119
9275
  cat >conftest.$ac_ext <<_ACEOF
8120
 
#line $LINENO "configure"
8121
 
#include "confdefs.h"
 
9276
/* confdefs.h.  */
 
9277
_ACEOF
 
9278
cat confdefs.h >>conftest.$ac_ext
 
9279
cat >>conftest.$ac_ext <<_ACEOF
 
9280
/* end confdefs.h.  */
 
9281
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
9282
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
9283
#define $ac_func innocuous_$ac_func
 
9284
 
8122
9285
/* System header to define __stub macros and hopefully few prototypes,
8123
 
    which can conflict with char $ac_func (); below.  */
8124
 
#include <assert.h>
 
9286
    which can conflict with char $ac_func (); below.
 
9287
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
9288
    <limits.h> exists even on freestanding compilers.  */
 
9289
 
 
9290
#ifdef __STDC__
 
9291
# include <limits.h>
 
9292
#else
 
9293
# include <assert.h>
 
9294
#endif
 
9295
 
 
9296
#undef $ac_func
 
9297
 
8125
9298
/* Override any gcc2 internal prototype to avoid an error.  */
8126
9299
#ifdef __cplusplus
8127
9300
extern "C"
 
9301
{
8128
9302
#endif
8129
9303
/* We use char because int might match the return type of a gcc2
8130
9304
   builtin and then its argument prototype would still apply.  */
8131
9305
char $ac_func ();
8132
 
char (*f) ();
8133
 
 
8134
 
#ifdef F77_DUMMY_MAIN
8135
 
#  ifdef __cplusplus
8136
 
     extern "C"
8137
 
#  endif
8138
 
   int F77_DUMMY_MAIN() { return 1; }
8139
 
#endif
8140
 
int
8141
 
main ()
8142
 
{
8143
9306
/* The GNU C library defines this for functions which it implements
8144
9307
    to always fail with ENOSYS.  Some functions are actually named
8145
9308
    something starting with __ and the normal name is an alias.  */
8146
9309
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8147
9310
choke me
8148
9311
#else
8149
 
f = $ac_func;
 
9312
char (*f) () = $ac_func;
 
9313
#endif
 
9314
#ifdef __cplusplus
 
9315
}
8150
9316
#endif
8151
9317
 
 
9318
int
 
9319
main ()
 
9320
{
 
9321
return f != $ac_func;
8152
9322
  ;
8153
9323
  return 0;
8154
9324
}
8155
9325
_ACEOF
8156
9326
rm -f conftest.$ac_objext conftest$ac_exeext
8157
9327
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8158
 
  (eval $ac_link) 2>&5
 
9328
  (eval $ac_link) 2>conftest.er1
8159
9329
  ac_status=$?
 
9330
  grep -v '^ *+' conftest.er1 >conftest.err
 
9331
  rm -f conftest.er1
 
9332
  cat conftest.err >&5
8160
9333
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161
9334
  (exit $ac_status); } &&
8162
 
         { ac_try='test -s conftest$ac_exeext'
 
9335
         { ac_try='test -z "$ac_c_werror_flag"
 
9336
                         || test ! -s conftest.err'
 
9337
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9338
  (eval $ac_try) 2>&5
 
9339
  ac_status=$?
 
9340
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9341
  (exit $ac_status); }; } &&
 
9342
         { ac_try='test -s conftest$ac_exeext'
8163
9343
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8164
9344
  (eval $ac_try) 2>&5
8165
9345
  ac_status=$?
8168
9348
  eval "$as_ac_var=yes"
8169
9349
else
8170
9350
  echo "$as_me: failed program was:" >&5
8171
 
cat conftest.$ac_ext >&5
 
9351
sed 's/^/| /' conftest.$ac_ext >&5
 
9352
 
8172
9353
eval "$as_ac_var=no"
8173
9354
fi
8174
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
9355
rm -f conftest.err conftest.$ac_objext \
 
9356
      conftest$ac_exeext conftest.$ac_ext
8175
9357
fi
8176
9358
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8177
9359
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8192
9374
  ac_check_lib_save_LIBS=$LIBS
8193
9375
LIBS="-lcrypt  $LIBS"
8194
9376
cat >conftest.$ac_ext <<_ACEOF
8195
 
#line $LINENO "configure"
8196
 
#include "confdefs.h"
 
9377
/* confdefs.h.  */
 
9378
_ACEOF
 
9379
cat confdefs.h >>conftest.$ac_ext
 
9380
cat >>conftest.$ac_ext <<_ACEOF
 
9381
/* end confdefs.h.  */
8197
9382
 
8198
9383
/* Override any gcc2 internal prototype to avoid an error.  */
8199
9384
#ifdef __cplusplus
8202
9387
/* We use char because int might match the return type of a gcc2
8203
9388
   builtin and then its argument prototype would still apply.  */
8204
9389
char crypt ();
8205
 
#ifdef F77_DUMMY_MAIN
8206
 
#  ifdef __cplusplus
8207
 
     extern "C"
8208
 
#  endif
8209
 
   int F77_DUMMY_MAIN() { return 1; }
8210
 
#endif
8211
9390
int
8212
9391
main ()
8213
9392
{
8218
9397
_ACEOF
8219
9398
rm -f conftest.$ac_objext conftest$ac_exeext
8220
9399
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8221
 
  (eval $ac_link) 2>&5
 
9400
  (eval $ac_link) 2>conftest.er1
8222
9401
  ac_status=$?
 
9402
  grep -v '^ *+' conftest.er1 >conftest.err
 
9403
  rm -f conftest.er1
 
9404
  cat conftest.err >&5
8223
9405
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224
9406
  (exit $ac_status); } &&
8225
 
         { ac_try='test -s conftest$ac_exeext'
 
9407
         { ac_try='test -z "$ac_c_werror_flag"
 
9408
                         || test ! -s conftest.err'
 
9409
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9410
  (eval $ac_try) 2>&5
 
9411
  ac_status=$?
 
9412
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9413
  (exit $ac_status); }; } &&
 
9414
         { ac_try='test -s conftest$ac_exeext'
8226
9415
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8227
9416
  (eval $ac_try) 2>&5
8228
9417
  ac_status=$?
8231
9420
  ac_cv_lib_crypt_crypt=yes
8232
9421
else
8233
9422
  echo "$as_me: failed program was:" >&5
8234
 
cat conftest.$ac_ext >&5
 
9423
sed 's/^/| /' conftest.$ac_ext >&5
 
9424
 
8235
9425
ac_cv_lib_crypt_crypt=no
8236
9426
fi
8237
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
9427
rm -f conftest.err conftest.$ac_objext \
 
9428
      conftest$ac_exeext conftest.$ac_ext
8238
9429
LIBS=$ac_check_lib_save_LIBS
8239
9430
fi
8240
9431
echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
8255
9446
  ac_check_lib_save_LIBS=$LIBS
8256
9447
LIBS="-lutil  $LIBS"
8257
9448
cat >conftest.$ac_ext <<_ACEOF
8258
 
#line $LINENO "configure"
8259
 
#include "confdefs.h"
8260
 
 
8261
 
 
8262
 
#ifdef F77_DUMMY_MAIN
8263
 
#  ifdef __cplusplus
8264
 
     extern "C"
8265
 
#  endif
8266
 
   int F77_DUMMY_MAIN() { return 1; }
8267
 
#endif
 
9449
/* confdefs.h.  */
 
9450
_ACEOF
 
9451
cat confdefs.h >>conftest.$ac_ext
 
9452
cat >>conftest.$ac_ext <<_ACEOF
 
9453
/* end confdefs.h.  */
 
9454
 
 
9455
 
8268
9456
int
8269
9457
main ()
8270
9458
{
8275
9463
_ACEOF
8276
9464
rm -f conftest.$ac_objext conftest$ac_exeext
8277
9465
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8278
 
  (eval $ac_link) 2>&5
 
9466
  (eval $ac_link) 2>conftest.er1
8279
9467
  ac_status=$?
 
9468
  grep -v '^ *+' conftest.er1 >conftest.err
 
9469
  rm -f conftest.er1
 
9470
  cat conftest.err >&5
8280
9471
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281
9472
  (exit $ac_status); } &&
8282
 
         { ac_try='test -s conftest$ac_exeext'
 
9473
         { ac_try='test -z "$ac_c_werror_flag"
 
9474
                         || test ! -s conftest.err'
 
9475
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9476
  (eval $ac_try) 2>&5
 
9477
  ac_status=$?
 
9478
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9479
  (exit $ac_status); }; } &&
 
9480
         { ac_try='test -s conftest$ac_exeext'
8283
9481
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8284
9482
  (eval $ac_try) 2>&5
8285
9483
  ac_status=$?
8288
9486
  ac_cv_lib_util_main=yes
8289
9487
else
8290
9488
  echo "$as_me: failed program was:" >&5
8291
 
cat conftest.$ac_ext >&5
 
9489
sed 's/^/| /' conftest.$ac_ext >&5
 
9490
 
8292
9491
ac_cv_lib_util_main=no
8293
9492
fi
8294
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
9493
rm -f conftest.err conftest.$ac_objext \
 
9494
      conftest$ac_exeext conftest.$ac_ext
8295
9495
LIBS=$ac_check_lib_save_LIBS
8296
9496
fi
8297
9497
echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
8311
9511
  echo $ECHO_N "(cached) $ECHO_C" >&6
8312
9512
else
8313
9513
  cat >conftest.$ac_ext <<_ACEOF
8314
 
#line $LINENO "configure"
8315
 
#include "confdefs.h"
 
9514
/* confdefs.h.  */
 
9515
_ACEOF
 
9516
cat confdefs.h >>conftest.$ac_ext
 
9517
cat >>conftest.$ac_ext <<_ACEOF
 
9518
/* end confdefs.h.  */
8316
9519
 
8317
 
#ifdef F77_DUMMY_MAIN
8318
 
#  ifdef __cplusplus
8319
 
     extern "C"
8320
 
#  endif
8321
 
   int F77_DUMMY_MAIN() { return 1; }
8322
 
#endif
8323
9520
int
8324
9521
main ()
8325
9522
{
8330
9527
_ACEOF
8331
9528
rm -f conftest.$ac_objext conftest$ac_exeext
8332
9529
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8333
 
  (eval $ac_link) 2>&5
 
9530
  (eval $ac_link) 2>conftest.er1
8334
9531
  ac_status=$?
 
9532
  grep -v '^ *+' conftest.er1 >conftest.err
 
9533
  rm -f conftest.er1
 
9534
  cat conftest.err >&5
8335
9535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336
9536
  (exit $ac_status); } &&
8337
 
         { ac_try='test -s conftest$ac_exeext'
 
9537
         { ac_try='test -z "$ac_c_werror_flag"
 
9538
                         || test ! -s conftest.err'
 
9539
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9540
  (eval $ac_try) 2>&5
 
9541
  ac_status=$?
 
9542
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9543
  (exit $ac_status); }; } &&
 
9544
         { ac_try='test -s conftest$ac_exeext'
8338
9545
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8339
9546
  (eval $ac_try) 2>&5
8340
9547
  ac_status=$?
8343
9550
  krb5_cv_setenv=yes
8344
9551
else
8345
9552
  echo "$as_me: failed program was:" >&5
8346
 
cat conftest.$ac_ext >&5
 
9553
sed 's/^/| /' conftest.$ac_ext >&5
 
9554
 
8347
9555
krb5_cv_setenv=no
8348
9556
fi
8349
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
9557
rm -f conftest.err conftest.$ac_objext \
 
9558
      conftest$ac_exeext conftest.$ac_ext
8350
9559
fi
8351
9560
 
8352
9561
echo "$as_me:$LINENO: result: $krb5_cv_setenv" >&5
8367
9576
  echo $ECHO_N "(cached) $ECHO_C" >&6
8368
9577
else
8369
9578
  cat >conftest.$ac_ext <<_ACEOF
8370
 
#line $LINENO "configure"
8371
 
#include "confdefs.h"
 
9579
/* confdefs.h.  */
 
9580
_ACEOF
 
9581
cat confdefs.h >>conftest.$ac_ext
 
9582
cat >>conftest.$ac_ext <<_ACEOF
 
9583
/* end confdefs.h.  */
8372
9584
#include <sys/types.h>
8373
9585
#include <pwd.h>
8374
9586
#include <shadow.h>
8375
 
#ifdef F77_DUMMY_MAIN
8376
 
#  ifdef __cplusplus
8377
 
     extern "C"
8378
 
#  endif
8379
 
   int F77_DUMMY_MAIN() { return 1; }
8380
 
#endif
8381
9587
int
8382
9588
main ()
8383
9589
{
8388
9594
_ACEOF
8389
9595
rm -f conftest.$ac_objext conftest$ac_exeext
8390
9596
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8391
 
  (eval $ac_link) 2>&5
 
9597
  (eval $ac_link) 2>conftest.er1
8392
9598
  ac_status=$?
 
9599
  grep -v '^ *+' conftest.er1 >conftest.err
 
9600
  rm -f conftest.er1
 
9601
  cat conftest.err >&5
8393
9602
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394
9603
  (exit $ac_status); } &&
8395
 
         { ac_try='test -s conftest$ac_exeext'
 
9604
         { ac_try='test -z "$ac_c_werror_flag"
 
9605
                         || test ! -s conftest.err'
 
9606
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9607
  (eval $ac_try) 2>&5
 
9608
  ac_status=$?
 
9609
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9610
  (exit $ac_status); }; } &&
 
9611
         { ac_try='test -s conftest$ac_exeext'
8396
9612
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8397
9613
  (eval $ac_try) 2>&5
8398
9614
  ac_status=$?
8401
9617
  krb5_cv_shadow_pwd=yes
8402
9618
else
8403
9619
  echo "$as_me: failed program was:" >&5
8404
 
cat conftest.$ac_ext >&5
 
9620
sed 's/^/| /' conftest.$ac_ext >&5
 
9621
 
8405
9622
krb5_cv_shadow_pwd=no
8406
9623
fi
8407
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
9624
rm -f conftest.err conftest.$ac_objext \
 
9625
      conftest$ac_exeext conftest.$ac_ext
8408
9626
fi
8409
9627
 
8410
9628
echo "$as_me:$LINENO: result: $krb5_cv_shadow_pwd" >&5
8425
9643
  ac_check_lib_save_LIBS=$LIBS
8426
9644
LIBS="-lsecurity  $LIBS"
8427
9645
cat >conftest.$ac_ext <<_ACEOF
8428
 
#line $LINENO "configure"
8429
 
#include "confdefs.h"
 
9646
/* confdefs.h.  */
 
9647
_ACEOF
 
9648
cat confdefs.h >>conftest.$ac_ext
 
9649
cat >>conftest.$ac_ext <<_ACEOF
 
9650
/* end confdefs.h.  */
8430
9651
 
8431
9652
/* Override any gcc2 internal prototype to avoid an error.  */
8432
9653
#ifdef __cplusplus
8435
9656
/* We use char because int might match the return type of a gcc2
8436
9657
   builtin and then its argument prototype would still apply.  */
8437
9658
char setluid ();
8438
 
#ifdef F77_DUMMY_MAIN
8439
 
#  ifdef __cplusplus
8440
 
     extern "C"
8441
 
#  endif
8442
 
   int F77_DUMMY_MAIN() { return 1; }
8443
 
#endif
8444
9659
int
8445
9660
main ()
8446
9661
{
8451
9666
_ACEOF
8452
9667
rm -f conftest.$ac_objext conftest$ac_exeext
8453
9668
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8454
 
  (eval $ac_link) 2>&5
 
9669
  (eval $ac_link) 2>conftest.er1
8455
9670
  ac_status=$?
 
9671
  grep -v '^ *+' conftest.er1 >conftest.err
 
9672
  rm -f conftest.er1
 
9673
  cat conftest.err >&5
8456
9674
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457
9675
  (exit $ac_status); } &&
8458
 
         { ac_try='test -s conftest$ac_exeext'
 
9676
         { ac_try='test -z "$ac_c_werror_flag"
 
9677
                         || test ! -s conftest.err'
 
9678
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9679
  (eval $ac_try) 2>&5
 
9680
  ac_status=$?
 
9681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9682
  (exit $ac_status); }; } &&
 
9683
         { ac_try='test -s conftest$ac_exeext'
8459
9684
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8460
9685
  (eval $ac_try) 2>&5
8461
9686
  ac_status=$?
8464
9689
  ac_cv_lib_security_setluid=yes
8465
9690
else
8466
9691
  echo "$as_me: failed program was:" >&5
8467
 
cat conftest.$ac_ext >&5
 
9692
sed 's/^/| /' conftest.$ac_ext >&5
 
9693
 
8468
9694
ac_cv_lib_security_setluid=no
8469
9695
fi
8470
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
9696
rm -f conftest.err conftest.$ac_objext \
 
9697
      conftest$ac_exeext conftest.$ac_ext
8471
9698
LIBS=$ac_check_lib_save_LIBS
8472
9699
fi
8473
9700
echo "$as_me:$LINENO: result: $ac_cv_lib_security_setluid" >&5
8611
9838
   { (exit 1); exit 1; }; }
8612
9839
else
8613
9840
  cat >conftest.$ac_ext <<_ACEOF
8614
 
#line $LINENO "configure"
8615
 
#include "confdefs.h"
 
9841
/* confdefs.h.  */
 
9842
_ACEOF
 
9843
cat confdefs.h >>conftest.$ac_ext
 
9844
cat >>conftest.$ac_ext <<_ACEOF
 
9845
/* end confdefs.h.  */
8616
9846
 
8617
9847
#include <sys/types.h>
8618
9848
#include <regex.h>
8635
9865
else
8636
9866
  echo "$as_me: program exited with status $ac_status" >&5
8637
9867
echo "$as_me: failed program was:" >&5
8638
 
cat conftest.$ac_ext >&5
 
9868
sed 's/^/| /' conftest.$ac_ext >&5
 
9869
 
8639
9870
( exit $ac_status )
8640
9871
ac_cv_func_regcomp=no
8641
9872
fi
8642
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
9873
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8643
9874
fi
8644
9875
fi
8645
9876
 
8664
9895
  echo $ECHO_N "(cached) $ECHO_C" >&6
8665
9896
else
8666
9897
  cat >conftest.$ac_ext <<_ACEOF
8667
 
#line $LINENO "configure"
8668
 
#include "confdefs.h"
 
9898
/* confdefs.h.  */
 
9899
_ACEOF
 
9900
cat confdefs.h >>conftest.$ac_ext
 
9901
cat >>conftest.$ac_ext <<_ACEOF
 
9902
/* end confdefs.h.  */
 
9903
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
9904
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
9905
#define $ac_func innocuous_$ac_func
 
9906
 
8669
9907
/* System header to define __stub macros and hopefully few prototypes,
8670
 
    which can conflict with char $ac_func (); below.  */
8671
 
#include <assert.h>
 
9908
    which can conflict with char $ac_func (); below.
 
9909
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
9910
    <limits.h> exists even on freestanding compilers.  */
 
9911
 
 
9912
#ifdef __STDC__
 
9913
# include <limits.h>
 
9914
#else
 
9915
# include <assert.h>
 
9916
#endif
 
9917
 
 
9918
#undef $ac_func
 
9919
 
8672
9920
/* Override any gcc2 internal prototype to avoid an error.  */
8673
9921
#ifdef __cplusplus
8674
9922
extern "C"
 
9923
{
8675
9924
#endif
8676
9925
/* We use char because int might match the return type of a gcc2
8677
9926
   builtin and then its argument prototype would still apply.  */
8678
9927
char $ac_func ();
8679
 
char (*f) ();
8680
 
 
8681
 
#ifdef F77_DUMMY_MAIN
8682
 
#  ifdef __cplusplus
8683
 
     extern "C"
8684
 
#  endif
8685
 
   int F77_DUMMY_MAIN() { return 1; }
8686
 
#endif
8687
 
int
8688
 
main ()
8689
 
{
8690
9928
/* The GNU C library defines this for functions which it implements
8691
9929
    to always fail with ENOSYS.  Some functions are actually named
8692
9930
    something starting with __ and the normal name is an alias.  */
8693
9931
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8694
9932
choke me
8695
9933
#else
8696
 
f = $ac_func;
 
9934
char (*f) () = $ac_func;
 
9935
#endif
 
9936
#ifdef __cplusplus
 
9937
}
8697
9938
#endif
8698
9939
 
 
9940
int
 
9941
main ()
 
9942
{
 
9943
return f != $ac_func;
8699
9944
  ;
8700
9945
  return 0;
8701
9946
}
8702
9947
_ACEOF
8703
9948
rm -f conftest.$ac_objext conftest$ac_exeext
8704
9949
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8705
 
  (eval $ac_link) 2>&5
 
9950
  (eval $ac_link) 2>conftest.er1
8706
9951
  ac_status=$?
 
9952
  grep -v '^ *+' conftest.er1 >conftest.err
 
9953
  rm -f conftest.er1
 
9954
  cat conftest.err >&5
8707
9955
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708
9956
  (exit $ac_status); } &&
8709
 
         { ac_try='test -s conftest$ac_exeext'
 
9957
         { ac_try='test -z "$ac_c_werror_flag"
 
9958
                         || test ! -s conftest.err'
 
9959
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9960
  (eval $ac_try) 2>&5
 
9961
  ac_status=$?
 
9962
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9963
  (exit $ac_status); }; } &&
 
9964
         { ac_try='test -s conftest$ac_exeext'
8710
9965
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8711
9966
  (eval $ac_try) 2>&5
8712
9967
  ac_status=$?
8715
9970
  eval "$as_ac_var=yes"
8716
9971
else
8717
9972
  echo "$as_me: failed program was:" >&5
8718
 
cat conftest.$ac_ext >&5
 
9973
sed 's/^/| /' conftest.$ac_ext >&5
 
9974
 
8719
9975
eval "$as_ac_var=no"
8720
9976
fi
8721
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
9977
rm -f conftest.err conftest.$ac_objext \
 
9978
      conftest$ac_exeext conftest.$ac_ext
8722
9979
fi
8723
9980
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8724
9981
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8739
9996
  ac_check_lib_save_LIBS=$LIBS
8740
9997
LIBS="-lgen  $LIBS"
8741
9998
cat >conftest.$ac_ext <<_ACEOF
8742
 
#line $LINENO "configure"
8743
 
#include "confdefs.h"
 
9999
/* confdefs.h.  */
 
10000
_ACEOF
 
10001
cat confdefs.h >>conftest.$ac_ext
 
10002
cat >>conftest.$ac_ext <<_ACEOF
 
10003
/* end confdefs.h.  */
8744
10004
 
8745
10005
/* Override any gcc2 internal prototype to avoid an error.  */
8746
10006
#ifdef __cplusplus
8749
10009
/* We use char because int might match the return type of a gcc2
8750
10010
   builtin and then its argument prototype would still apply.  */
8751
10011
char compile ();
8752
 
#ifdef F77_DUMMY_MAIN
8753
 
#  ifdef __cplusplus
8754
 
     extern "C"
8755
 
#  endif
8756
 
   int F77_DUMMY_MAIN() { return 1; }
8757
 
#endif
8758
10012
int
8759
10013
main ()
8760
10014
{
8765
10019
_ACEOF
8766
10020
rm -f conftest.$ac_objext conftest$ac_exeext
8767
10021
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8768
 
  (eval $ac_link) 2>&5
 
10022
  (eval $ac_link) 2>conftest.er1
8769
10023
  ac_status=$?
 
10024
  grep -v '^ *+' conftest.er1 >conftest.err
 
10025
  rm -f conftest.er1
 
10026
  cat conftest.err >&5
8770
10027
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771
10028
  (exit $ac_status); } &&
8772
 
         { ac_try='test -s conftest$ac_exeext'
 
10029
         { ac_try='test -z "$ac_c_werror_flag"
 
10030
                         || test ! -s conftest.err'
 
10031
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10032
  (eval $ac_try) 2>&5
 
10033
  ac_status=$?
 
10034
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10035
  (exit $ac_status); }; } &&
 
10036
         { ac_try='test -s conftest$ac_exeext'
8773
10037
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8774
10038
  (eval $ac_try) 2>&5
8775
10039
  ac_status=$?
8778
10042
  ac_cv_lib_gen_compile=yes
8779
10043
else
8780
10044
  echo "$as_me: failed program was:" >&5
8781
 
cat conftest.$ac_ext >&5
 
10045
sed 's/^/| /' conftest.$ac_ext >&5
 
10046
 
8782
10047
ac_cv_lib_gen_compile=no
8783
10048
fi
8784
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
10049
rm -f conftest.err conftest.$ac_objext \
 
10050
      conftest$ac_exeext conftest.$ac_ext
8785
10051
LIBS=$ac_check_lib_save_LIBS
8786
10052
fi
8787
10053
echo "$as_me:$LINENO: result: $ac_cv_lib_gen_compile" >&5
8799
10065
 
8800
10066
 
8801
10067
 
8802
 
 ac_config_files="$ac_config_files ./Makefile:$krb5_pre_in:./Makefile.in:$krb5_post_in"
8803
 
 ac_config_files="$ac_config_files ftp/Makefile:$krb5_pre_in:ftp/Makefile.in:$krb5_post_in"
8804
 
 ac_config_files="$ac_config_files ftpd/Makefile:$krb5_pre_in:ftpd/Makefile.in:$krb5_post_in"
 
10068
           ac_config_files="$ac_config_files ./Makefile:$krb5_pre_in:./Makefile.in:$krb5_post_in"
 
10069
           ac_config_files="$ac_config_files ftp/Makefile:$krb5_pre_in:ftp/Makefile.in:$krb5_post_in"
 
10070
           ac_config_files="$ac_config_files ftpd/Makefile:$krb5_pre_in:ftpd/Makefile.in:$krb5_post_in"
8805
10071
 
8806
 
ac_config_commands="$ac_config_commands krb5_config_prefix"
 
10072
          ac_config_commands="$ac_config_commands krb5_config_prefix"
8807
10073
 
8808
10074
cat >confcache <<\_ACEOF
8809
10075
# This file is a shell script that caches the results of configure
8815
10081
# config.status only pays attention to the cache file if you give it
8816
10082
# the --recheck option to rerun configure.
8817
10083
#
8818
 
# `ac_cv_env_foo' variables (set or unset) will be overriden when
 
10084
# `ac_cv_env_foo' variables (set or unset) will be overridden when
8819
10085
# loading this file, other *unset* `ac_cv_foo' will be assigned the
8820
10086
# following values.
8821
10087
 
8833
10099
      # `set' does not quote correctly, so add quotes (double-quote
8834
10100
      # substitution turns \\\\ into \\, and sed turns \\ into \).
8835
10101
      sed -n \
8836
 
        "s/'/'\\\\''/g;
8837
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
10102
        "s/'/'\\\\''/g;
 
10103
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8838
10104
      ;;
8839
10105
    *)
8840
10106
      # `set' quotes correctly as required by POSIX, so do not add quotes.
8841
10107
      sed -n \
8842
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
10108
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8843
10109
      ;;
8844
10110
    esac;
8845
10111
} |
8850
10116
     t end
8851
10117
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8852
10118
     : end' >>confcache
8853
 
if cmp -s $cache_file confcache; then :; else
 
10119
if diff $cache_file confcache >/dev/null 2>&1; then :; else
8854
10120
  if test -w $cache_file; then
8855
10121
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8856
10122
    cat confcache >$cache_file
8869
10135
# trailing colons and then remove the whole line if VPATH becomes empty
8870
10136
# (actually we leave an empty line to preserve line numbers).
8871
10137
if test "x$srcdir" = x.; then
8872
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
10138
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
8873
10139
s/:*\$(srcdir):*/:/;
8874
10140
s/:*\${srcdir}:*/:/;
8875
10141
s/:*@srcdir@:*/:/;
8876
 
s/^\([^=]*=[    ]*\):*/\1/;
 
10142
s/^\([^=]*=[     ]*\):*/\1/;
8877
10143
s/:*$//;
8878
 
s/^[^=]*=[      ]*$//;
 
10144
s/^[^=]*=[       ]*$//;
8879
10145
}'
8880
10146
fi
8881
10147
 
8889
10155
cat >confdef2opt.sed <<\_ACEOF
8890
10156
t clear
8891
10157
: clear
8892
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
 
10158
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
8893
10159
t quote
8894
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
 
10160
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
8895
10161
t quote
8896
10162
d
8897
10163
: quote
8898
 
s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
 
10164
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
8899
10165
s,\[,\\&,g
8900
10166
s,\],\\&,g
8901
10167
s,\$,$$,g
8912
10178
rm -f confdef2opt.sed
8913
10179
 
8914
10180
 
 
10181
ac_libobjs=
 
10182
ac_ltlibobjs=
 
10183
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
10184
  # 1. Remove the extension, and $U if already installed.
 
10185
  ac_i=`echo "$ac_i" |
 
10186
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
10187
  # 2. Add them.
 
10188
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
10189
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
10190
done
 
10191
LIBOBJS=$ac_libobjs
 
10192
 
 
10193
LTLIBOBJS=$ac_ltlibobjs
 
10194
 
 
10195
 
8915
10196
 
8916
10197
: ${CONFIG_STATUS=./config.status}
8917
10198
ac_clean_files_save=$ac_clean_files
8926
10207
# configure, is in config.log if it exists.
8927
10208
 
8928
10209
debug=false
 
10210
ac_cs_recheck=false
 
10211
ac_cs_silent=false
8929
10212
SHELL=\${CONFIG_SHELL-$SHELL}
8930
10213
_ACEOF
8931
10214
 
8932
10215
cat >>$CONFIG_STATUS <<\_ACEOF
8933
 
 
8934
10216
## --------------------- ##
8935
10217
## M4sh Initialization.  ##
8936
10218
## --------------------- ##
8939
10221
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8940
10222
  emulate sh
8941
10223
  NULLCMD=:
 
10224
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
10225
  # is contrary to our usage.  Disable this feature.
 
10226
  alias -g '${1+"$@"}'='"$@"'
8942
10227
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8943
10228
  set -o posix
8944
10229
fi
 
10230
DUALCASE=1; export DUALCASE # for MKS sh
8945
10231
 
8946
 
# NLS nuisances.
8947
10232
# Support unset when possible.
8948
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
10233
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8949
10234
  as_unset=unset
8950
10235
else
8951
10236
  as_unset=false
8952
10237
fi
8953
10238
 
8954
 
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
8955
 
    { $as_unset LANG || test "${LANG+set}" != set; } ||
8956
 
      { LANG=C; export LANG; }
8957
 
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
8958
 
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
8959
 
      { LC_ALL=C; export LC_ALL; }
8960
 
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
8961
 
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
8962
 
      { LC_TIME=C; export LC_TIME; }
8963
 
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
8964
 
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
8965
 
      { LC_CTYPE=C; export LC_CTYPE; }
8966
 
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
8967
 
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
8968
 
      { LANGUAGE=C; export LANGUAGE; }
8969
 
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
8970
 
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
8971
 
      { LC_COLLATE=C; export LC_COLLATE; }
8972
 
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
8973
 
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
8974
 
      { LC_NUMERIC=C; export LC_NUMERIC; }
8975
 
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
8976
 
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
8977
 
      { LC_MESSAGES=C; export LC_MESSAGES; }
 
10239
 
 
10240
# Work around bugs in pre-3.0 UWIN ksh.
 
10241
$as_unset ENV MAIL MAILPATH
 
10242
PS1='$ '
 
10243
PS2='> '
 
10244
PS4='+ '
 
10245
 
 
10246
# NLS nuisances.
 
10247
for as_var in \
 
10248
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
10249
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
10250
  LC_TELEPHONE LC_TIME
 
10251
do
 
10252
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
10253
    eval $as_var=C; export $as_var
 
10254
  else
 
10255
    $as_unset $as_var
 
10256
  fi
 
10257
done
 
10258
 
 
10259
# Required to use basename.
 
10260
if expr a : '\(a\)' >/dev/null 2>&1; then
 
10261
  as_expr=expr
 
10262
else
 
10263
  as_expr=false
 
10264
fi
 
10265
 
 
10266
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
10267
  as_basename=basename
 
10268
else
 
10269
  as_basename=false
 
10270
fi
8978
10271
 
8979
10272
 
8980
10273
# Name of the executable.
8981
 
as_me=`(basename "$0") 2>/dev/null ||
 
10274
as_me=`$as_basename "$0" ||
8982
10275
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8983
10276
         X"$0" : 'X\(//\)$' \| \
8984
10277
         X"$0" : 'X\(/\)$' \| \
8989
10282
          /^X\/\(\/\).*/{ s//\1/; q; }
8990
10283
          s/.*/./; q'`
8991
10284
 
 
10285
 
8992
10286
# PATH needs CR, and LINENO needs CR and PATH.
8993
10287
# Avoid depending upon Character Ranges.
8994
10288
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8999
10293
 
9000
10294
# The user is always right.
9001
10295
if test "${PATH_SEPARATOR+set}" != set; then
9002
 
  echo "#! /bin/sh" >conftest.sh
9003
 
  echo  "exit 0"   >>conftest.sh
9004
 
  chmod +x conftest.sh
9005
 
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
 
10296
  echo "#! /bin/sh" >conf$$.sh
 
10297
  echo  "exit 0"   >>conf$$.sh
 
10298
  chmod +x conf$$.sh
 
10299
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9006
10300
    PATH_SEPARATOR=';'
9007
10301
  else
9008
10302
    PATH_SEPARATOR=:
9009
10303
  fi
9010
 
  rm -f conftest.sh
 
10304
  rm -f conf$$.sh
9011
10305
fi
9012
10306
 
9013
10307
 
9056
10350
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9057
10351
  test "x$as_lineno_1" != "x$as_lineno_2" &&
9058
10352
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
10353
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
10354
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9059
10355
             CONFIG_SHELL=$as_dir/$as_base
9060
10356
             export CONFIG_SHELL
9061
10357
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9129
10425
fi
9130
10426
rm -f conf$$ conf$$.exe conf$$.file
9131
10427
 
 
10428
if mkdir -p . 2>/dev/null; then
 
10429
  as_mkdir_p=:
 
10430
else
 
10431
  test -d ./-p && rmdir ./-p
 
10432
  as_mkdir_p=false
 
10433
fi
 
10434
 
9132
10435
as_executable_p="test -f"
9133
10436
 
9134
10437
# Sed expression to map a string onto a valid CPP name.
9135
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
10438
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9136
10439
 
9137
10440
# Sed expression to map a string onto a valid variable name.
9138
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
10441
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9139
10442
 
9140
10443
 
9141
10444
# IFS
9145
10448
IFS="   $as_nl"
9146
10449
 
9147
10450
# CDPATH.
9148
 
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
 
10451
$as_unset CDPATH
9149
10452
 
9150
10453
exec 6>&1
9151
10454
 
9162
10465
cat >&5 <<_CSEOF
9163
10466
 
9164
10467
This file was extended by $as_me, which was
9165
 
generated by GNU Autoconf 2.53.  Invocation command line was
 
10468
generated by GNU Autoconf 2.59.  Invocation command line was
9166
10469
 
9167
10470
  CONFIG_FILES    = $CONFIG_FILES
9168
10471
  CONFIG_HEADERS  = $CONFIG_HEADERS
9202
10505
 
9203
10506
  -h, --help       print this help, then exit
9204
10507
  -V, --version    print version number, then exit
 
10508
  -q, --quiet      do not print progress messages
9205
10509
  -d, --debug      don't remove temporary files
9206
10510
      --recheck    update $as_me by reconfiguring in the same conditions
9207
10511
  --file=FILE[:TEMPLATE]
9208
 
                   instantiate the configuration file FILE
 
10512
                   instantiate the configuration file FILE
9209
10513
 
9210
10514
Configuration files:
9211
10515
$config_files
9219
10523
cat >>$CONFIG_STATUS <<_ACEOF
9220
10524
ac_cs_version="\\
9221
10525
config.status
9222
 
configured by $0, generated by GNU Autoconf 2.53,
 
10526
configured by $0, generated by GNU Autoconf 2.59,
9223
10527
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9224
10528
 
9225
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9226
 
Free Software Foundation, Inc.
 
10529
Copyright (C) 2003 Free Software Foundation, Inc.
9227
10530
This config.status script is free software; the Free Software Foundation
9228
10531
gives unlimited permission to copy, distribute and modify it."
9229
10532
srcdir=$srcdir
9240
10543
  --*=*)
9241
10544
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
9242
10545
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9243
 
    shift
9244
 
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
9245
 
    shift
9246
 
    ;;
9247
 
  -*);;
 
10546
    ac_shift=:
 
10547
    ;;
 
10548
  -*)
 
10549
    ac_option=$1
 
10550
    ac_optarg=$2
 
10551
    ac_shift=shift
 
10552
    ;;
9248
10553
  *) # This is not an option, so the user has probably given explicit
9249
10554
     # arguments.
 
10555
     ac_option=$1
9250
10556
     ac_need_defaults=false;;
9251
10557
  esac
9252
10558
 
9253
 
  case $1 in
 
10559
  case $ac_option in
9254
10560
  # Handling of the options.
9255
10561
_ACEOF
9256
 
cat >>$CONFIG_STATUS <<_ACEOF
 
10562
cat >>$CONFIG_STATUS <<\_ACEOF
9257
10563
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9258
 
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
9259
 
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
9260
 
_ACEOF
9261
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
10564
    ac_cs_recheck=: ;;
9262
10565
  --version | --vers* | -V )
9263
10566
    echo "$ac_cs_version"; exit 0 ;;
9264
10567
  --he | --h)
9273
10576
  --debug | --d* | -d )
9274
10577
    debug=: ;;
9275
10578
  --file | --fil | --fi | --f )
9276
 
    shift
9277
 
    CONFIG_FILES="$CONFIG_FILES $1"
 
10579
    $ac_shift
 
10580
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9278
10581
    ac_need_defaults=false;;
9279
10582
  --header | --heade | --head | --hea )
9280
 
    shift
9281
 
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
 
10583
    $ac_shift
 
10584
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9282
10585
    ac_need_defaults=false;;
 
10586
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
10587
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
10588
    ac_cs_silent=: ;;
9283
10589
 
9284
10590
  # This is an error.
9285
10591
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9294
10600
  shift
9295
10601
done
9296
10602
 
 
10603
ac_configure_extra_args=
 
10604
 
 
10605
if $ac_cs_silent; then
 
10606
  exec 6>/dev/null
 
10607
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
10608
fi
 
10609
 
 
10610
_ACEOF
 
10611
cat >>$CONFIG_STATUS <<_ACEOF
 
10612
if \$ac_cs_recheck; then
 
10613
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
10614
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
10615
fi
 
10616
 
9297
10617
_ACEOF
9298
10618
 
9299
10619
cat >>$CONFIG_STATUS <<_ACEOF
9333
10653
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9334
10654
fi
9335
10655
 
 
10656
# Have a temporary directory for convenience.  Make it in the build tree
 
10657
# simply because there is no reason to put it here, and in addition,
 
10658
# creating and moving files from /tmp can sometimes cause problems.
9336
10659
# Create a temporary directory, and hook for its removal unless debugging.
9337
10660
$debug ||
9338
10661
{
9341
10664
}
9342
10665
 
9343
10666
# Create a (secure) tmp directory for tmp files.
9344
 
: ${TMPDIR=/tmp}
 
10667
 
9345
10668
{
9346
 
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
 
10669
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9347
10670
  test -n "$tmp" && test -d "$tmp"
9348
10671
}  ||
9349
10672
{
9350
 
  tmp=$TMPDIR/cs$$-$RANDOM
 
10673
  tmp=./confstat$$-$RANDOM
9351
10674
  (umask 077 && mkdir $tmp)
9352
10675
} ||
9353
10676
{
9354
 
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
 
10677
   echo "$me: cannot create a temporary directory in ." >&2
9355
10678
   { (exit 1); exit 1; }
9356
10679
}
9357
10680
 
9433
10756
s,@MAINT@,$MAINT,;t t
9434
10757
s,@CONFIG_RELTOPDIR@,$CONFIG_RELTOPDIR,;t t
9435
10758
s,@subdirs@,$subdirs,;t t
9436
 
/@lib_frag@/r $lib_frag
9437
 
s,@lib_frag@,,;t t
9438
 
/@libobj_frag@/r $libobj_frag
9439
 
s,@libobj_frag@,,;t t
9440
10759
s,@build@,$build,;t t
9441
10760
s,@build_cpu@,$build_cpu,;t t
9442
10761
s,@build_vendor@,$build_vendor,;t t
9454
10773
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9455
10774
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9456
10775
s,@YACC@,$YACC,;t t
 
10776
s,@EGREP@,$EGREP,;t t
9457
10777
s,@LIBOBJS@,$LIBOBJS,;t t
9458
10778
s,@UTIL_LIB@,$UTIL_LIB,;t t
9459
10779
s,@SETENVSRC@,$SETENVSRC,;t t
9463
10783
s,@CC_LINK@,$CC_LINK,;t t
9464
10784
s,@RPATH_FLAG@,$RPATH_FLAG,;t t
9465
10785
s,@DEPLIBEXT@,$DEPLIBEXT,;t t
 
10786
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 
10787
/@lib_frag@/r $lib_frag
 
10788
s,@lib_frag@,,;t t
 
10789
/@libobj_frag@/r $libobj_frag
 
10790
s,@libobj_frag@,,;t t
9466
10791
CEOF
9467
10792
 
9468
10793
_ACEOF
9492
10817
      (echo ':t
9493
10818
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9494
10819
      if test -z "$ac_sed_cmds"; then
9495
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
10820
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9496
10821
      else
9497
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
10822
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9498
10823
      fi
9499
10824
      ac_sed_frag=`expr $ac_sed_frag + 1`
9500
10825
      ac_beg=$ac_end
9512
10837
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9513
10838
  case $ac_file in
9514
10839
  - | *:- | *:-:* ) # input from stdin
9515
 
        cat >$tmp/stdin
9516
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9517
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
10840
        cat >$tmp/stdin
 
10841
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
10842
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9518
10843
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9519
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
10844
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9520
10845
  * )   ac_file_in=$ac_file.in ;;
9521
10846
  esac
9522
10847
 
9523
10848
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9524
10849
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9525
10850
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9526
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
9527
 
         X"$ac_file" : 'X\(//\)$' \| \
9528
 
         X"$ac_file" : 'X\(/\)' \| \
9529
 
         .     : '\(.\)' 2>/dev/null ||
 
10851
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
10852
         X"$ac_file" : 'X\(//\)$' \| \
 
10853
         X"$ac_file" : 'X\(/\)' \| \
 
10854
         .     : '\(.\)' 2>/dev/null ||
9530
10855
echo X"$ac_file" |
9531
10856
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9532
10857
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9533
10858
          /^X\(\/\/\)$/{ s//\1/; q; }
9534
10859
          /^X\(\/\).*/{ s//\1/; q; }
9535
10860
          s/.*/./; q'`
9536
 
  { case "$ac_dir" in
9537
 
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
9538
 
  *)                      as_incr_dir=.;;
9539
 
esac
9540
 
as_dummy="$ac_dir"
9541
 
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9542
 
  case $as_mkdir_dir in
9543
 
    # Skip DOS drivespec
9544
 
    ?:) as_incr_dir=$as_mkdir_dir ;;
9545
 
    *)
9546
 
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
9547
 
      test -d "$as_incr_dir" ||
9548
 
        mkdir "$as_incr_dir" ||
9549
 
        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
9550
 
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
9551
 
   { (exit 1); exit 1; }; }
9552
 
    ;;
9553
 
  esac
9554
 
done; }
 
10861
  { if $as_mkdir_p; then
 
10862
    mkdir -p "$ac_dir"
 
10863
  else
 
10864
    as_dir="$ac_dir"
 
10865
    as_dirs=
 
10866
    while test ! -d "$as_dir"; do
 
10867
      as_dirs="$as_dir $as_dirs"
 
10868
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
10869
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
10870
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
10871
         X"$as_dir" : 'X\(//\)$' \| \
 
10872
         X"$as_dir" : 'X\(/\)' \| \
 
10873
         .     : '\(.\)' 2>/dev/null ||
 
10874
echo X"$as_dir" |
 
10875
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
10876
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
10877
          /^X\(\/\/\)$/{ s//\1/; q; }
 
10878
          /^X\(\/\).*/{ s//\1/; q; }
 
10879
          s/.*/./; q'`
 
10880
    done
 
10881
    test ! -n "$as_dirs" || mkdir $as_dirs
 
10882
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
10883
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
10884
   { (exit 1); exit 1; }; }; }
9555
10885
 
9556
10886
  ac_builddir=.
9557
10887
 
9578
10908
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9579
10909
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9580
10910
esac
9581
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
9582
 
# absolute.
9583
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
9584
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
9585
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
9586
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
10911
 
 
10912
# Do not use `cd foo && pwd` to compute absolute paths, because
 
10913
# the directories may not exist.
 
10914
case `pwd` in
 
10915
.) ac_abs_builddir="$ac_dir";;
 
10916
*)
 
10917
  case "$ac_dir" in
 
10918
  .) ac_abs_builddir=`pwd`;;
 
10919
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
10920
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
10921
  esac;;
 
10922
esac
 
10923
case $ac_abs_builddir in
 
10924
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
10925
*)
 
10926
  case ${ac_top_builddir}. in
 
10927
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
10928
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
10929
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
10930
  esac;;
 
10931
esac
 
10932
case $ac_abs_builddir in
 
10933
.) ac_abs_srcdir=$ac_srcdir;;
 
10934
*)
 
10935
  case $ac_srcdir in
 
10936
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
10937
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
10938
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
10939
  esac;;
 
10940
esac
 
10941
case $ac_abs_builddir in
 
10942
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
10943
*)
 
10944
  case $ac_top_srcdir in
 
10945
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
10946
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
10947
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
10948
  esac;;
 
10949
esac
9587
10950
 
9588
10951
 
9589
10952
  case $INSTALL in
9605
10968
    configure_input="$ac_file.  "
9606
10969
  fi
9607
10970
  configure_input=$configure_input"Generated from `echo $ac_file_in |
9608
 
                                     sed 's,.*/,,'` by configure."
 
10971
                                     sed 's,.*/,,'` by configure."
9609
10972
 
9610
10973
  # First look for the input files in the build tree, otherwise in the
9611
10974
  # src tree.
9614
10977
      case $f in
9615
10978
      -) echo $tmp/stdin ;;
9616
10979
      [\\/$]*)
9617
 
         # Absolute (can't be DOS-style, as IFS=:)
9618
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
10980
         # Absolute (can't be DOS-style, as IFS=:)
 
10981
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9619
10982
echo "$as_me: error: cannot find input file: $f" >&2;}
9620
10983
   { (exit 1); exit 1; }; }
9621
 
         echo $f;;
 
10984
         echo "$f";;
9622
10985
      *) # Relative
9623
 
         if test -f "$f"; then
9624
 
           # Build tree
9625
 
           echo $f
9626
 
         elif test -f "$srcdir/$f"; then
9627
 
           # Source tree
9628
 
           echo $srcdir/$f
9629
 
         else
9630
 
           # /dev/null tree
9631
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
10986
         if test -f "$f"; then
 
10987
           # Build tree
 
10988
           echo "$f"
 
10989
         elif test -f "$srcdir/$f"; then
 
10990
           # Source tree
 
10991
           echo "$srcdir/$f"
 
10992
         else
 
10993
           # /dev/null tree
 
10994
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9632
10995
echo "$as_me: error: cannot find input file: $f" >&2;}
9633
10996
   { (exit 1); exit 1; }; }
9634
 
         fi;;
 
10997
         fi;;
9635
10998
      esac
9636
10999
    done` || { (exit 1); exit 1; }
9637
11000
_ACEOF
9673
11036
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9674
11037
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
9675
11038
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9676
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
9677
 
         X"$ac_dest" : 'X\(//\)$' \| \
9678
 
         X"$ac_dest" : 'X\(/\)' \| \
9679
 
         .     : '\(.\)' 2>/dev/null ||
 
11039
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
11040
         X"$ac_dest" : 'X\(//\)$' \| \
 
11041
         X"$ac_dest" : 'X\(/\)' \| \
 
11042
         .     : '\(.\)' 2>/dev/null ||
9680
11043
echo X"$ac_dest" |
9681
11044
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9682
11045
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9683
11046
          /^X\(\/\/\)$/{ s//\1/; q; }
9684
11047
          /^X\(\/\).*/{ s//\1/; q; }
9685
11048
          s/.*/./; q'`
 
11049
  { if $as_mkdir_p; then
 
11050
    mkdir -p "$ac_dir"
 
11051
  else
 
11052
    as_dir="$ac_dir"
 
11053
    as_dirs=
 
11054
    while test ! -d "$as_dir"; do
 
11055
      as_dirs="$as_dir $as_dirs"
 
11056
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
11057
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
11058
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
11059
         X"$as_dir" : 'X\(//\)$' \| \
 
11060
         X"$as_dir" : 'X\(/\)' \| \
 
11061
         .     : '\(.\)' 2>/dev/null ||
 
11062
echo X"$as_dir" |
 
11063
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
11064
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
11065
          /^X\(\/\/\)$/{ s//\1/; q; }
 
11066
          /^X\(\/\).*/{ s//\1/; q; }
 
11067
          s/.*/./; q'`
 
11068
    done
 
11069
    test ! -n "$as_dirs" || mkdir $as_dirs
 
11070
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
11071
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
11072
   { (exit 1); exit 1; }; }; }
 
11073
 
9686
11074
  ac_builddir=.
9687
11075
 
9688
11076
if test "$ac_dir" != .; then
9708
11096
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9709
11097
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9710
11098
esac
9711
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
9712
 
# absolute.
9713
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
9714
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
9715
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
9716
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
11099
 
 
11100
# Do not use `cd foo && pwd` to compute absolute paths, because
 
11101
# the directories may not exist.
 
11102
case `pwd` in
 
11103
.) ac_abs_builddir="$ac_dir";;
 
11104
*)
 
11105
  case "$ac_dir" in
 
11106
  .) ac_abs_builddir=`pwd`;;
 
11107
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
11108
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
11109
  esac;;
 
11110
esac
 
11111
case $ac_abs_builddir in
 
11112
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
11113
*)
 
11114
  case ${ac_top_builddir}. in
 
11115
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
11116
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
11117
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
11118
  esac;;
 
11119
esac
 
11120
case $ac_abs_builddir in
 
11121
.) ac_abs_srcdir=$ac_srcdir;;
 
11122
*)
 
11123
  case $ac_srcdir in
 
11124
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
11125
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
11126
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
11127
  esac;;
 
11128
esac
 
11129
case $ac_abs_builddir in
 
11130
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
11131
*)
 
11132
  case $ac_top_srcdir in
 
11133
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
11134
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
11135
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
11136
  esac;;
 
11137
esac
9717
11138
 
9718
11139
 
9719
11140
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9739
11160
# need to make the FD available again.
9740
11161
if test "$no_create" != yes; then
9741
11162
  ac_cs_success=:
 
11163
  ac_config_status_args=
 
11164
  test "$silent" = yes &&
 
11165
    ac_config_status_args="$ac_config_status_args --quiet"
9742
11166
  exec 5>/dev/null
9743
 
  $SHELL $CONFIG_STATUS || ac_cs_success=false
 
11167
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9744
11168
  exec 5>>config.log
9745
11169
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9746
11170
  # would make configure fail if this is the last instruction.