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

« back to all changes in this revision

Viewing changes to src/appl/telnet/libtelnet/configure

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.53.
 
3
# Generated by GNU Autoconf 2.59.
4
4
#
5
5
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
6
6
# Massachusetts Institute of Technology.
7
7
#
8
8
#
9
 
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
10
 
# Free Software Foundation, Inc.
 
9
# Copyright (C) 2003 Free Software Foundation, Inc.
11
10
# This configure script is free software; the Free Software Foundation
12
11
# gives unlimited permission to copy, distribute and modify it.
13
 
 
14
 
if expr a : '\(a\)' >/dev/null 2>&1; then
15
 
  as_expr=expr
16
 
else
17
 
  as_expr=false
18
 
fi
19
 
 
20
 
 
21
12
## --------------------- ##
22
13
## M4sh Initialization.  ##
23
14
## --------------------- ##
26
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27
18
  emulate sh
28
19
  NULLCMD=:
 
20
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
29
23
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30
24
  set -o posix
31
25
fi
 
26
DUALCASE=1; export DUALCASE # for MKS sh
32
27
 
33
 
# NLS nuisances.
34
28
# Support unset when possible.
35
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
29
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
36
30
  as_unset=unset
37
31
else
38
32
  as_unset=false
39
33
fi
40
34
 
41
 
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
42
 
    { $as_unset LANG || test "${LANG+set}" != set; } ||
43
 
      { LANG=C; export LANG; }
44
 
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
45
 
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
46
 
      { LC_ALL=C; export LC_ALL; }
47
 
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
48
 
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
49
 
      { LC_TIME=C; export LC_TIME; }
50
 
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
51
 
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
52
 
      { LC_CTYPE=C; export LC_CTYPE; }
53
 
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
54
 
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
55
 
      { LANGUAGE=C; export LANGUAGE; }
56
 
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
57
 
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
58
 
      { LC_COLLATE=C; export LC_COLLATE; }
59
 
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
60
 
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
61
 
      { LC_NUMERIC=C; export LC_NUMERIC; }
62
 
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
63
 
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
64
 
      { LC_MESSAGES=C; export LC_MESSAGES; }
 
35
 
 
36
# Work around bugs in pre-3.0 UWIN ksh.
 
37
$as_unset ENV MAIL MAILPATH
 
38
PS1='$ '
 
39
PS2='> '
 
40
PS4='+ '
 
41
 
 
42
# NLS nuisances.
 
43
for as_var in \
 
44
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
45
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
46
  LC_TELEPHONE LC_TIME
 
47
do
 
48
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
49
    eval $as_var=C; export $as_var
 
50
  else
 
51
    $as_unset $as_var
 
52
  fi
 
53
done
 
54
 
 
55
# Required to use basename.
 
56
if expr a : '\(a\)' >/dev/null 2>&1; then
 
57
  as_expr=expr
 
58
else
 
59
  as_expr=false
 
60
fi
 
61
 
 
62
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
63
  as_basename=basename
 
64
else
 
65
  as_basename=false
 
66
fi
65
67
 
66
68
 
67
69
# Name of the executable.
68
 
as_me=`(basename "$0") 2>/dev/null ||
 
70
as_me=`$as_basename "$0" ||
69
71
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
72
         X"$0" : 'X\(//\)$' \| \
71
73
         X"$0" : 'X\(/\)$' \| \
76
78
          /^X\/\(\/\).*/{ s//\1/; q; }
77
79
          s/.*/./; q'`
78
80
 
 
81
 
79
82
# PATH needs CR, and LINENO needs CR and PATH.
80
83
# Avoid depending upon Character Ranges.
81
84
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
86
89
 
87
90
# The user is always right.
88
91
if test "${PATH_SEPARATOR+set}" != set; then
89
 
  echo "#! /bin/sh" >conftest.sh
90
 
  echo  "exit 0"   >>conftest.sh
91
 
  chmod +x conftest.sh
92
 
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
 
92
  echo "#! /bin/sh" >conf$$.sh
 
93
  echo  "exit 0"   >>conf$$.sh
 
94
  chmod +x conf$$.sh
 
95
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
93
96
    PATH_SEPARATOR=';'
94
97
  else
95
98
    PATH_SEPARATOR=:
96
99
  fi
97
 
  rm -f conftest.sh
 
100
  rm -f conf$$.sh
98
101
fi
99
102
 
100
103
 
142
145
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143
146
  test "x$as_lineno_1" != "x$as_lineno_2" &&
144
147
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
148
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
149
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
145
150
             CONFIG_SHELL=$as_dir/$as_base
146
151
             export CONFIG_SHELL
147
152
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
214
219
fi
215
220
rm -f conf$$ conf$$.exe conf$$.file
216
221
 
 
222
if mkdir -p . 2>/dev/null; then
 
223
  as_mkdir_p=:
 
224
else
 
225
  test -d ./-p && rmdir ./-p
 
226
  as_mkdir_p=false
 
227
fi
 
228
 
217
229
as_executable_p="test -f"
218
230
 
219
231
# Sed expression to map a string onto a valid CPP name.
220
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
232
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
221
233
 
222
234
# Sed expression to map a string onto a valid variable name.
223
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
235
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
224
236
 
225
237
 
226
238
# IFS
230
242
IFS="   $as_nl"
231
243
 
232
244
# CDPATH.
233
 
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
 
245
$as_unset CDPATH
234
246
 
235
247
 
236
248
# Name of the host.
244
256
# Initializations.
245
257
#
246
258
ac_default_prefix=/usr/local
 
259
ac_config_libobj_dir=.
247
260
cross_compiling=no
248
261
subdirs=
249
262
MFLAGS=
300
313
# include <unistd.h>
301
314
#endif"
302
315
 
 
316
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT HAVE_GCC CPP LD KRB4_INCLUDES KRB4_LIBPATH KRB4_LIB KRB4_DEPLIB KRB_ERR_H_DEP DES425_DEPLIB DES425_LIB compile_et COM_ERR_VERSION SS_LIB SS_VERSION DB_HEADER DB_LIB DB_VERSION DB_HEADER_VERSION KDB5_DB_LIB RESOLV_LIB HESIOD_DEFS HESIOD_LIBS AUTOCONF AUTOCONFFLAGS AUTOCONFINCFLAGS AUTOHEADER AUTOHEADERFLAGS CONFIG_RELTOPDIR subdirs LIBOBJS EGREP SETENVSRC SETENVOBJ build build_cpu build_vendor build_os host host_cpu host_vendor host_os krb5_cv_host LN_S RANLIB ac_ct_RANLIB ARCHIVE ARADD INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR LIBLIST LIBLINKS LDCOMBINE LDCOMBINE_TAIL SHLIB_EXPFLAGS INSTALL_SHLIB STLIBEXT SHLIBEXT SHLIBVEXT SHLIBSEXT DEPLIBEXT PFLIBEXT LIBINSTLIST OBJLISTS STOBJEXT SHOBJEXT PFOBJEXT PICFLAGS SHLIBVERDEP PROFFLAGS LTLIBOBJS'
 
317
ac_subst_files='lib_frag libobj_frag'
303
318
 
304
319
# Initialize some variables set by options.
305
320
ac_init_help=
657
672
 
658
673
# Be sure to have absolute paths.
659
674
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
660
 
              localstatedir libdir includedir oldincludedir infodir mandir
 
675
              localstatedir libdir includedir oldincludedir infodir mandir
661
676
do
662
677
  eval ac_val=$`echo $ac_var`
663
678
  case $ac_val in
697
712
  # Try the directory containing this script, then its parent.
698
713
  ac_confdir=`(dirname "$0") 2>/dev/null ||
699
714
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
700
 
         X"$0" : 'X\(//\)[^/]' \| \
701
 
         X"$0" : 'X\(//\)$' \| \
702
 
         X"$0" : 'X\(/\)' \| \
703
 
         .     : '\(.\)' 2>/dev/null ||
 
715
         X"$0" : 'X\(//\)[^/]' \| \
 
716
         X"$0" : 'X\(//\)$' \| \
 
717
         X"$0" : 'X\(/\)' \| \
 
718
         .     : '\(.\)' 2>/dev/null ||
704
719
echo X"$0" |
705
720
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
706
721
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
723
738
   { (exit 1); exit 1; }; }
724
739
  fi
725
740
fi
 
741
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
 
742
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
 
743
   { (exit 1); exit 1; }; }
726
744
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
727
745
ac_env_build_alias_set=${build_alias+set}
728
746
ac_env_build_alias_value=$build_alias
805
823
  cat <<_ACEOF
806
824
Installation directories:
807
825
  --prefix=PREFIX         install architecture-independent files in PREFIX
808
 
                          [$ac_default_prefix]
 
826
                          [$ac_default_prefix]
809
827
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
810
 
                          [PREFIX]
 
828
                          [PREFIX]
811
829
 
812
830
By default, \`make install' will install all the files in
813
831
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
930
948
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
931
949
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
932
950
esac
933
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
934
 
# absolute.
935
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
936
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
937
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
938
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
951
 
 
952
# Do not use `cd foo && pwd` to compute absolute paths, because
 
953
# the directories may not exist.
 
954
case `pwd` in
 
955
.) ac_abs_builddir="$ac_dir";;
 
956
*)
 
957
  case "$ac_dir" in
 
958
  .) ac_abs_builddir=`pwd`;;
 
959
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
960
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
961
  esac;;
 
962
esac
 
963
case $ac_abs_builddir in
 
964
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
965
*)
 
966
  case ${ac_top_builddir}. in
 
967
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
968
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
969
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
970
  esac;;
 
971
esac
 
972
case $ac_abs_builddir in
 
973
.) ac_abs_srcdir=$ac_srcdir;;
 
974
*)
 
975
  case $ac_srcdir in
 
976
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
977
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
978
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
979
  esac;;
 
980
esac
 
981
case $ac_abs_builddir in
 
982
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
983
*)
 
984
  case $ac_top_srcdir in
 
985
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
986
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
987
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
988
  esac;;
 
989
esac
939
990
 
940
991
    cd $ac_dir
941
992
    # Check for guested configure; otherwise get Cygnus style configure.
946
997
      echo
947
998
      $SHELL $ac_srcdir/configure  --help=recursive
948
999
    elif test -f $ac_srcdir/configure.ac ||
949
 
           test -f $ac_srcdir/configure.in; then
 
1000
           test -f $ac_srcdir/configure.in; then
950
1001
      echo
951
1002
      $ac_configure --help
952
1003
    else
953
1004
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
954
1005
    fi
955
 
    cd $ac_popdir
 
1006
    cd "$ac_popdir"
956
1007
  done
957
1008
fi
958
1009
 
960
1011
if $ac_init_version; then
961
1012
  cat <<\_ACEOF
962
1013
 
963
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
964
 
Free Software Foundation, Inc.
 
1014
Copyright (C) 2003 Free Software Foundation, Inc.
965
1015
This configure script is free software; the Free Software Foundation
966
1016
gives unlimited permission to copy, distribute and modify it.
967
1017
 
977
1027
running configure, to aid debugging if configure makes a mistake.
978
1028
 
979
1029
It was created by $as_me, which was
980
 
generated by GNU Autoconf 2.53.  Invocation command line was
 
1030
generated by GNU Autoconf 2.59.  Invocation command line was
981
1031
 
982
1032
  $ $0 $@
983
1033
 
1029
1079
 
1030
1080
# Keep a trace of the command line.
1031
1081
# Strip out --no-create and --no-recursion so they do not pile up.
 
1082
# Strip out --silent because we don't want to record it for future runs.
1032
1083
# Also quote any args containing shell meta-characters.
 
1084
# Make two passes to allow for proper duplicate-argument suppression.
1033
1085
ac_configure_args=
 
1086
ac_configure_args0=
 
1087
ac_configure_args1=
1034
1088
ac_sep=
1035
 
for ac_arg
 
1089
ac_must_keep_next=false
 
1090
for ac_pass in 1 2
1036
1091
do
1037
 
  case $ac_arg in
1038
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1039
 
  | --no-cr | --no-c | -n ) continue ;;
1040
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1041
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1042
 
    continue ;;
1043
 
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1044
 
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1045
 
  esac
1046
 
  case " $ac_configure_args " in
1047
 
    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1048
 
    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1049
 
       ac_sep=" " ;;
1050
 
  esac
1051
 
  # Get rid of the leading space.
 
1092
  for ac_arg
 
1093
  do
 
1094
    case $ac_arg in
 
1095
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1096
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1097
    | -silent | --silent | --silen | --sile | --sil)
 
1098
      continue ;;
 
1099
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1100
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1101
    esac
 
1102
    case $ac_pass in
 
1103
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1104
    2)
 
1105
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1106
      if test $ac_must_keep_next = true; then
 
1107
        ac_must_keep_next=false # Got value, back to normal.
 
1108
      else
 
1109
        case $ac_arg in
 
1110
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1111
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1112
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1113
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1114
            case "$ac_configure_args0 " in
 
1115
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1116
            esac
 
1117
            ;;
 
1118
          -* ) ac_must_keep_next=true ;;
 
1119
        esac
 
1120
      fi
 
1121
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1122
      # Get rid of the leading space.
 
1123
      ac_sep=" "
 
1124
      ;;
 
1125
    esac
 
1126
  done
1052
1127
done
 
1128
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1129
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1053
1130
 
1054
1131
# When interrupted or exit'd, cleanup temporary files, and complete
1055
1132
# config.log.  We remove comments because anyway the quotes in there
1060
1137
  # Save into config.log some information that might help in debugging.
1061
1138
  {
1062
1139
    echo
 
1140
 
1063
1141
    cat <<\_ASBOX
1064
1142
## ---------------- ##
1065
1143
## Cache variables. ##
1072
1150
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1073
1151
    *ac_space=\ *)
1074
1152
      sed -n \
1075
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1076
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1153
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1154
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1077
1155
      ;;
1078
1156
    *)
1079
1157
      sed -n \
1080
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1158
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1081
1159
      ;;
1082
1160
    esac;
1083
1161
}
1084
1162
    echo
 
1163
 
 
1164
    cat <<\_ASBOX
 
1165
## ----------------- ##
 
1166
## Output variables. ##
 
1167
## ----------------- ##
 
1168
_ASBOX
 
1169
    echo
 
1170
    for ac_var in $ac_subst_vars
 
1171
    do
 
1172
      eval ac_val=$`echo $ac_var`
 
1173
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1174
    done | sort
 
1175
    echo
 
1176
 
 
1177
    if test -n "$ac_subst_files"; then
 
1178
      cat <<\_ASBOX
 
1179
## ------------- ##
 
1180
## Output files. ##
 
1181
## ------------- ##
 
1182
_ASBOX
 
1183
      echo
 
1184
      for ac_var in $ac_subst_files
 
1185
      do
 
1186
        eval ac_val=$`echo $ac_var`
 
1187
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1188
      done | sort
 
1189
      echo
 
1190
    fi
 
1191
 
1085
1192
    if test -s confdefs.h; then
1086
1193
      cat <<\_ASBOX
1087
1194
## ----------- ##
1089
1196
## ----------- ##
1090
1197
_ASBOX
1091
1198
      echo
1092
 
      sed "/^$/d" confdefs.h
 
1199
      sed "/^$/d" confdefs.h | sort
1093
1200
      echo
1094
1201
    fi
1095
1202
    test "$ac_signal" != 0 &&
1096
1203
      echo "$as_me: caught signal $ac_signal"
1097
1204
    echo "$as_me: exit $exit_status"
1098
1205
  } >&5
1099
 
  rm -f core core.* *.core &&
 
1206
  rm -f core *.core &&
1100
1207
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1101
1208
    exit $exit_status
1102
1209
     ' 0
1176
1283
# value.
1177
1284
ac_cache_corrupted=false
1178
1285
for ac_var in `(set) 2>&1 |
1179
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1286
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1180
1287
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1181
1288
  eval ac_new_set=\$ac_env_${ac_var}_set
1182
1289
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1193
1300
    ,);;
1194
1301
    *)
1195
1302
      if test "x$ac_old_val" != "x$ac_new_val"; then
1196
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1303
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1197
1304
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1198
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1305
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1199
1306
echo "$as_me:   former value:  $ac_old_val" >&2;}
1200
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1307
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1201
1308
echo "$as_me:   current value: $ac_new_val" >&2;}
1202
 
        ac_cache_corrupted=:
 
1309
        ac_cache_corrupted=:
1203
1310
      fi;;
1204
1311
  esac
1205
1312
  # Pass precious variables to config.status.
1247
1354
 
1248
1355
 
1249
1356
 
 
1357
# Comment added for Debian by Sam Hartman <hartmans@debian.org>
 
1358
# This script must be modified  in Debian because aclocal.m4 was modified
 
1359
# and we want to get around timestamp lossage.
 
1360
 
1250
1361
 
1251
1362
krb5_ac_cflags_set=${CFLAGS+set}
1252
1363
 
1462
1573
    # However, it has the same basename, so the bogon will be chosen
1463
1574
    # first if we set CC to just the basename; use the full file name.
1464
1575
    shift
1465
 
    set dummy "$as_dir/$ac_word" ${1+"$@"}
1466
 
    shift
1467
 
    ac_cv_prog_CC="$@"
 
1576
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1468
1577
  fi
1469
1578
fi
1470
1579
fi
1569
1678
fi
1570
1679
 
1571
1680
 
1572
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1573
 
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
 
1681
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
1682
See \`config.log' for more details." >&5
 
1683
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
1684
See \`config.log' for more details." >&2;}
1574
1685
   { (exit 1); exit 1; }; }
1575
1686
 
1576
1687
# Provide some information about the compiler.
1594
1705
  (exit $ac_status); }
1595
1706
 
1596
1707
cat >conftest.$ac_ext <<_ACEOF
1597
 
#line $LINENO "configure"
1598
 
#include "confdefs.h"
 
1708
/* confdefs.h.  */
 
1709
_ACEOF
 
1710
cat confdefs.h >>conftest.$ac_ext
 
1711
cat >>conftest.$ac_ext <<_ACEOF
 
1712
/* end confdefs.h.  */
1599
1713
 
1600
 
#ifdef F77_DUMMY_MAIN
1601
 
#  ifdef __cplusplus
1602
 
     extern "C"
1603
 
#  endif
1604
 
   int F77_DUMMY_MAIN() { return 1; }
1605
 
#endif
1606
1714
int
1607
1715
main ()
1608
1716
{
1612
1720
}
1613
1721
_ACEOF
1614
1722
ac_clean_files_save=$ac_clean_files
1615
 
ac_clean_files="$ac_clean_files a.out a.exe"
 
1723
ac_clean_files="$ac_clean_files a.out a.exe b.out"
1616
1724
# Try to create an executable without -o first, disregard a.out.
1617
1725
# It will help us diagnose broken compilers, and finding out an intuition
1618
1726
# of exeext.
1619
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
1620
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
1727
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
1728
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1621
1729
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1622
1730
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1623
1731
  (eval $ac_link_default) 2>&5
1631
1739
# Be careful to initialize this variable, since it used to be cached.
1632
1740
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1633
1741
ac_cv_exeext=
1634
 
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1635
 
                ls a.out conftest 2>/dev/null;
1636
 
                ls a.* conftest.* 2>/dev/null`; do
 
1742
# b.out is created by i960 compilers.
 
1743
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
1744
do
 
1745
  test -f "$ac_file" || continue
1637
1746
  case $ac_file in
1638
 
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1639
 
    a.out ) # We found the default executable, but exeext='' is most
1640
 
            # certainly right.
1641
 
            break;;
1642
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1643
 
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1644
 
          export ac_cv_exeext
1645
 
          break;;
1646
 
    * ) break;;
 
1747
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 
1748
        ;;
 
1749
    conftest.$ac_ext )
 
1750
        # This is the source file.
 
1751
        ;;
 
1752
    [ab].out )
 
1753
        # We found the default executable, but exeext='' is most
 
1754
        # certainly right.
 
1755
        break;;
 
1756
    *.* )
 
1757
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
1758
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
1759
        # but it would be cool to find out if it's true.  Does anybody
 
1760
        # maintain Libtool? --akim.
 
1761
        export ac_cv_exeext
 
1762
        break;;
 
1763
    * )
 
1764
        break;;
1647
1765
  esac
1648
1766
done
1649
1767
else
1650
1768
  echo "$as_me: failed program was:" >&5
1651
 
cat conftest.$ac_ext >&5
1652
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1653
 
echo "$as_me: error: C compiler cannot create executables" >&2;}
 
1769
sed 's/^/| /' conftest.$ac_ext >&5
 
1770
 
 
1771
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
1772
See \`config.log' for more details." >&5
 
1773
echo "$as_me: error: C compiler cannot create executables
 
1774
See \`config.log' for more details." >&2;}
1654
1775
   { (exit 77); exit 77; }; }
1655
1776
fi
1656
1777
 
1677
1798
        cross_compiling=yes
1678
1799
    else
1679
1800
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1680
 
If you meant to cross compile, use \`--host'." >&5
 
1801
If you meant to cross compile, use \`--host'.
 
1802
See \`config.log' for more details." >&5
1681
1803
echo "$as_me: error: cannot run C compiled programs.
1682
 
If you meant to cross compile, use \`--host'." >&2;}
 
1804
If you meant to cross compile, use \`--host'.
 
1805
See \`config.log' for more details." >&2;}
1683
1806
   { (exit 1); exit 1; }; }
1684
1807
    fi
1685
1808
  fi
1687
1810
echo "$as_me:$LINENO: result: yes" >&5
1688
1811
echo "${ECHO_T}yes" >&6
1689
1812
 
1690
 
rm -f a.out a.exe conftest$ac_cv_exeext
 
1813
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1691
1814
ac_clean_files=$ac_clean_files_save
1692
1815
# Check the compiler produces executables we can run.  If not, either
1693
1816
# the compiler is broken, or we cross compile.
1707
1830
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1708
1831
# work properly (i.e., refer to `conftest.exe'), while it won't with
1709
1832
# `rm'.
1710
 
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
 
1833
for ac_file in conftest.exe conftest conftest.*; do
 
1834
  test -f "$ac_file" || continue
1711
1835
  case $ac_file in
1712
 
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
 
1836
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1713
1837
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1714
 
          export ac_cv_exeext
1715
 
          break;;
 
1838
          export ac_cv_exeext
 
1839
          break;;
1716
1840
    * ) break;;
1717
1841
  esac
1718
1842
done
1719
1843
else
1720
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1721
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
 
1844
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
1845
See \`config.log' for more details." >&5
 
1846
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
1847
See \`config.log' for more details." >&2;}
1722
1848
   { (exit 1); exit 1; }; }
1723
1849
fi
1724
1850
 
1735
1861
  echo $ECHO_N "(cached) $ECHO_C" >&6
1736
1862
else
1737
1863
  cat >conftest.$ac_ext <<_ACEOF
1738
 
#line $LINENO "configure"
1739
 
#include "confdefs.h"
 
1864
/* confdefs.h.  */
 
1865
_ACEOF
 
1866
cat confdefs.h >>conftest.$ac_ext
 
1867
cat >>conftest.$ac_ext <<_ACEOF
 
1868
/* end confdefs.h.  */
1740
1869
 
1741
 
#ifdef F77_DUMMY_MAIN
1742
 
#  ifdef __cplusplus
1743
 
     extern "C"
1744
 
#  endif
1745
 
   int F77_DUMMY_MAIN() { return 1; }
1746
 
#endif
1747
1870
int
1748
1871
main ()
1749
1872
{
1760
1883
  (exit $ac_status); }; then
1761
1884
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1762
1885
  case $ac_file in
1763
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
 
1886
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1764
1887
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1765
1888
       break;;
1766
1889
  esac
1767
1890
done
1768
1891
else
1769
1892
  echo "$as_me: failed program was:" >&5
1770
 
cat conftest.$ac_ext >&5
1771
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1772
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
 
1893
sed 's/^/| /' conftest.$ac_ext >&5
 
1894
 
 
1895
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
1896
See \`config.log' for more details." >&5
 
1897
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
1898
See \`config.log' for more details." >&2;}
1773
1899
   { (exit 1); exit 1; }; }
1774
1900
fi
1775
1901
 
1785
1911
  echo $ECHO_N "(cached) $ECHO_C" >&6
1786
1912
else
1787
1913
  cat >conftest.$ac_ext <<_ACEOF
1788
 
#line $LINENO "configure"
1789
 
#include "confdefs.h"
 
1914
/* confdefs.h.  */
 
1915
_ACEOF
 
1916
cat confdefs.h >>conftest.$ac_ext
 
1917
cat >>conftest.$ac_ext <<_ACEOF
 
1918
/* end confdefs.h.  */
1790
1919
 
1791
 
#ifdef F77_DUMMY_MAIN
1792
 
#  ifdef __cplusplus
1793
 
     extern "C"
1794
 
#  endif
1795
 
   int F77_DUMMY_MAIN() { return 1; }
1796
 
#endif
1797
1920
int
1798
1921
main ()
1799
1922
{
1807
1930
_ACEOF
1808
1931
rm -f conftest.$ac_objext
1809
1932
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1810
 
  (eval $ac_compile) 2>&5
 
1933
  (eval $ac_compile) 2>conftest.er1
1811
1934
  ac_status=$?
 
1935
  grep -v '^ *+' conftest.er1 >conftest.err
 
1936
  rm -f conftest.er1
 
1937
  cat conftest.err >&5
1812
1938
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1813
1939
  (exit $ac_status); } &&
1814
 
         { ac_try='test -s conftest.$ac_objext'
 
1940
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
1941
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
1942
  (eval $ac_try) 2>&5
 
1943
  ac_status=$?
 
1944
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1945
  (exit $ac_status); }; } &&
 
1946
         { ac_try='test -s conftest.$ac_objext'
1815
1947
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1816
1948
  (eval $ac_try) 2>&5
1817
1949
  ac_status=$?
1820
1952
  ac_compiler_gnu=yes
1821
1953
else
1822
1954
  echo "$as_me: failed program was:" >&5
1823
 
cat conftest.$ac_ext >&5
 
1955
sed 's/^/| /' conftest.$ac_ext >&5
 
1956
 
1824
1957
ac_compiler_gnu=no
1825
1958
fi
1826
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
1959
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1827
1960
ac_cv_c_compiler_gnu=$ac_compiler_gnu
1828
1961
 
1829
1962
fi
1839
1972
  echo $ECHO_N "(cached) $ECHO_C" >&6
1840
1973
else
1841
1974
  cat >conftest.$ac_ext <<_ACEOF
1842
 
#line $LINENO "configure"
1843
 
#include "confdefs.h"
 
1975
/* confdefs.h.  */
 
1976
_ACEOF
 
1977
cat confdefs.h >>conftest.$ac_ext
 
1978
cat >>conftest.$ac_ext <<_ACEOF
 
1979
/* end confdefs.h.  */
1844
1980
 
1845
 
#ifdef F77_DUMMY_MAIN
1846
 
#  ifdef __cplusplus
1847
 
     extern "C"
1848
 
#  endif
1849
 
   int F77_DUMMY_MAIN() { return 1; }
1850
 
#endif
1851
1981
int
1852
1982
main ()
1853
1983
{
1858
1988
_ACEOF
1859
1989
rm -f conftest.$ac_objext
1860
1990
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1861
 
  (eval $ac_compile) 2>&5
 
1991
  (eval $ac_compile) 2>conftest.er1
1862
1992
  ac_status=$?
 
1993
  grep -v '^ *+' conftest.er1 >conftest.err
 
1994
  rm -f conftest.er1
 
1995
  cat conftest.err >&5
1863
1996
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1864
1997
  (exit $ac_status); } &&
1865
 
         { ac_try='test -s conftest.$ac_objext'
 
1998
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
1999
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2000
  (eval $ac_try) 2>&5
 
2001
  ac_status=$?
 
2002
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2003
  (exit $ac_status); }; } &&
 
2004
         { ac_try='test -s conftest.$ac_objext'
1866
2005
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1867
2006
  (eval $ac_try) 2>&5
1868
2007
  ac_status=$?
1871
2010
  ac_cv_prog_cc_g=yes
1872
2011
else
1873
2012
  echo "$as_me: failed program was:" >&5
1874
 
cat conftest.$ac_ext >&5
 
2013
sed 's/^/| /' conftest.$ac_ext >&5
 
2014
 
1875
2015
ac_cv_prog_cc_g=no
1876
2016
fi
1877
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2017
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1878
2018
fi
1879
2019
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1880
2020
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1893
2033
    CFLAGS=
1894
2034
  fi
1895
2035
fi
1896
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
1897
 
# in C++ we need to declare it.  In case someone uses the same compiler
1898
 
# for both compiling C and C++ we need to have the C++ compiler decide
1899
 
# the declaration of exit, since it's the most demanding environment.
1900
 
cat >conftest.$ac_ext <<_ACEOF
1901
 
#ifndef __cplusplus
1902
 
  choke me
1903
 
#endif
1904
 
_ACEOF
1905
 
rm -f conftest.$ac_objext
1906
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1907
 
  (eval $ac_compile) 2>&5
1908
 
  ac_status=$?
1909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1910
 
  (exit $ac_status); } &&
1911
 
         { ac_try='test -s conftest.$ac_objext'
1912
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1913
 
  (eval $ac_try) 2>&5
1914
 
  ac_status=$?
1915
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1916
 
  (exit $ac_status); }; }; then
1917
 
  for ac_declaration in \
1918
 
   ''\
1919
 
   '#include <stdlib.h>' \
1920
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
1921
 
   'extern "C" void std::exit (int); using std::exit;' \
1922
 
   'extern "C" void exit (int) throw ();' \
1923
 
   'extern "C" void exit (int);' \
1924
 
   'void exit (int);'
1925
 
do
1926
 
  cat >conftest.$ac_ext <<_ACEOF
1927
 
#line $LINENO "configure"
1928
 
#include "confdefs.h"
1929
 
#include <stdlib.h>
1930
 
$ac_declaration
1931
 
#ifdef F77_DUMMY_MAIN
1932
 
#  ifdef __cplusplus
1933
 
     extern "C"
1934
 
#  endif
1935
 
   int F77_DUMMY_MAIN() { return 1; }
1936
 
#endif
1937
 
int
1938
 
main ()
1939
 
{
1940
 
exit (42);
1941
 
  ;
1942
 
  return 0;
1943
 
}
1944
 
_ACEOF
1945
 
rm -f conftest.$ac_objext
1946
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1947
 
  (eval $ac_compile) 2>&5
1948
 
  ac_status=$?
1949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1950
 
  (exit $ac_status); } &&
1951
 
         { ac_try='test -s conftest.$ac_objext'
1952
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1953
 
  (eval $ac_try) 2>&5
1954
 
  ac_status=$?
1955
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956
 
  (exit $ac_status); }; }; then
1957
 
  :
1958
 
else
1959
 
  echo "$as_me: failed program was:" >&5
1960
 
cat conftest.$ac_ext >&5
1961
 
continue
1962
 
fi
1963
 
rm -f conftest.$ac_objext conftest.$ac_ext
1964
 
  cat >conftest.$ac_ext <<_ACEOF
1965
 
#line $LINENO "configure"
1966
 
#include "confdefs.h"
1967
 
$ac_declaration
1968
 
#ifdef F77_DUMMY_MAIN
1969
 
#  ifdef __cplusplus
1970
 
     extern "C"
1971
 
#  endif
1972
 
   int F77_DUMMY_MAIN() { return 1; }
1973
 
#endif
1974
 
int
1975
 
main ()
1976
 
{
1977
 
exit (42);
1978
 
  ;
1979
 
  return 0;
1980
 
}
1981
 
_ACEOF
1982
 
rm -f conftest.$ac_objext
1983
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1984
 
  (eval $ac_compile) 2>&5
1985
 
  ac_status=$?
1986
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1987
 
  (exit $ac_status); } &&
1988
 
         { ac_try='test -s conftest.$ac_objext'
1989
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1990
 
  (eval $ac_try) 2>&5
1991
 
  ac_status=$?
1992
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1993
 
  (exit $ac_status); }; }; then
1994
 
  break
1995
 
else
1996
 
  echo "$as_me: failed program was:" >&5
1997
 
cat conftest.$ac_ext >&5
1998
 
fi
1999
 
rm -f conftest.$ac_objext conftest.$ac_ext
2000
 
done
2001
 
rm -f conftest*
2002
 
if test -n "$ac_declaration"; then
2003
 
  echo '#ifdef __cplusplus' >>confdefs.h
2004
 
  echo $ac_declaration      >>confdefs.h
2005
 
  echo '#endif'             >>confdefs.h
2006
 
fi
2007
 
 
2008
 
else
2009
 
  echo "$as_me: failed program was:" >&5
2010
 
cat conftest.$ac_ext >&5
2011
 
fi
2012
 
rm -f conftest.$ac_objext conftest.$ac_ext
2013
 
ac_ext=c
2014
 
ac_cpp='$CPP $CPPFLAGS'
2015
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2016
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2017
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2018
 
 
2019
 
CCOPTS=
2020
 
 
2021
 
 
2022
 
ac_ext=c
2023
 
ac_cpp='$CPP $CPPFLAGS'
2024
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2025
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2026
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2027
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2028
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2029
 
# On Suns, sometimes $CPP names a directory.
2030
 
if test -n "$CPP" && test -d "$CPP"; then
2031
 
  CPP=
2032
 
fi
2033
 
if test -z "$CPP"; then
2034
 
  if test "${ac_cv_prog_CPP+set}" = set; then
2035
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2036
 
else
2037
 
      # Double quotes because CPP needs to be expanded
2038
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2039
 
    do
2040
 
      ac_preproc_ok=false
2041
 
for ac_c_preproc_warn_flag in '' yes
2042
 
do
2043
 
  # Use a header file that comes with gcc, so configuring glibc
2044
 
  # with a fresh cross-compiler works.
2045
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
2046
 
  # not just through cpp. "Syntax error" is here to catch this case.
2047
 
  cat >conftest.$ac_ext <<_ACEOF
2048
 
#line $LINENO "configure"
2049
 
#include "confdefs.h"
2050
 
#include <assert.h>
2051
 
                     Syntax error
2052
 
_ACEOF
2053
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2054
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2055
 
  ac_status=$?
2056
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2057
 
  rm -f conftest.er1
2058
 
  cat conftest.err >&5
2059
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060
 
  (exit $ac_status); } >/dev/null; then
2061
 
  if test -s conftest.err; then
2062
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2063
 
  else
2064
 
    ac_cpp_err=
2065
 
  fi
2066
 
else
2067
 
  ac_cpp_err=yes
2068
 
fi
2069
 
if test -z "$ac_cpp_err"; then
2070
 
  :
2071
 
else
2072
 
  echo "$as_me: failed program was:" >&5
2073
 
  cat conftest.$ac_ext >&5
2074
 
  # Broken: fails on valid input.
2075
 
continue
2076
 
fi
2077
 
rm -f conftest.err conftest.$ac_ext
2078
 
 
2079
 
  # OK, works on sane cases.  Now check whether non-existent headers
2080
 
  # can be detected and how.
2081
 
  cat >conftest.$ac_ext <<_ACEOF
2082
 
#line $LINENO "configure"
2083
 
#include "confdefs.h"
2084
 
#include <ac_nonexistent.h>
2085
 
_ACEOF
2086
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2087
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2088
 
  ac_status=$?
2089
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2090
 
  rm -f conftest.er1
2091
 
  cat conftest.err >&5
2092
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2093
 
  (exit $ac_status); } >/dev/null; then
2094
 
  if test -s conftest.err; then
2095
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2096
 
  else
2097
 
    ac_cpp_err=
2098
 
  fi
2099
 
else
2100
 
  ac_cpp_err=yes
2101
 
fi
2102
 
if test -z "$ac_cpp_err"; then
2103
 
  # Broken: success on invalid input.
2104
 
continue
2105
 
else
2106
 
  echo "$as_me: failed program was:" >&5
2107
 
  cat conftest.$ac_ext >&5
2108
 
  # Passes both tests.
2109
 
ac_preproc_ok=:
2110
 
break
2111
 
fi
2112
 
rm -f conftest.err conftest.$ac_ext
2113
 
 
2114
 
done
2115
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2116
 
rm -f conftest.err conftest.$ac_ext
2117
 
if $ac_preproc_ok; then
2118
 
  break
2119
 
fi
2120
 
 
2121
 
    done
2122
 
    ac_cv_prog_CPP=$CPP
2123
 
 
2124
 
fi
2125
 
  CPP=$ac_cv_prog_CPP
2126
 
else
2127
 
  ac_cv_prog_CPP=$CPP
2128
 
fi
2129
 
echo "$as_me:$LINENO: result: $CPP" >&5
2130
 
echo "${ECHO_T}$CPP" >&6
2131
 
ac_preproc_ok=false
2132
 
for ac_c_preproc_warn_flag in '' yes
2133
 
do
2134
 
  # Use a header file that comes with gcc, so configuring glibc
2135
 
  # with a fresh cross-compiler works.
2136
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
2137
 
  # not just through cpp. "Syntax error" is here to catch this case.
2138
 
  cat >conftest.$ac_ext <<_ACEOF
2139
 
#line $LINENO "configure"
2140
 
#include "confdefs.h"
2141
 
#include <assert.h>
2142
 
                     Syntax error
2143
 
_ACEOF
2144
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2145
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2146
 
  ac_status=$?
2147
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2148
 
  rm -f conftest.er1
2149
 
  cat conftest.err >&5
2150
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151
 
  (exit $ac_status); } >/dev/null; then
2152
 
  if test -s conftest.err; then
2153
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2154
 
  else
2155
 
    ac_cpp_err=
2156
 
  fi
2157
 
else
2158
 
  ac_cpp_err=yes
2159
 
fi
2160
 
if test -z "$ac_cpp_err"; then
2161
 
  :
2162
 
else
2163
 
  echo "$as_me: failed program was:" >&5
2164
 
  cat conftest.$ac_ext >&5
2165
 
  # Broken: fails on valid input.
2166
 
continue
2167
 
fi
2168
 
rm -f conftest.err conftest.$ac_ext
2169
 
 
2170
 
  # OK, works on sane cases.  Now check whether non-existent headers
2171
 
  # can be detected and how.
2172
 
  cat >conftest.$ac_ext <<_ACEOF
2173
 
#line $LINENO "configure"
2174
 
#include "confdefs.h"
2175
 
#include <ac_nonexistent.h>
2176
 
_ACEOF
2177
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2178
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2179
 
  ac_status=$?
2180
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2181
 
  rm -f conftest.er1
2182
 
  cat conftest.err >&5
2183
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184
 
  (exit $ac_status); } >/dev/null; then
2185
 
  if test -s conftest.err; then
2186
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2187
 
  else
2188
 
    ac_cpp_err=
2189
 
  fi
2190
 
else
2191
 
  ac_cpp_err=yes
2192
 
fi
2193
 
if test -z "$ac_cpp_err"; then
2194
 
  # Broken: success on invalid input.
2195
 
continue
2196
 
else
2197
 
  echo "$as_me: failed program was:" >&5
2198
 
  cat conftest.$ac_ext >&5
2199
 
  # Passes both tests.
2200
 
ac_preproc_ok=:
2201
 
break
2202
 
fi
2203
 
rm -f conftest.err conftest.$ac_ext
2204
 
 
2205
 
done
2206
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2207
 
rm -f conftest.err conftest.$ac_ext
2208
 
if $ac_preproc_ok; then
2209
 
  :
2210
 
else
2211
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2212
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2213
 
   { (exit 1); exit 1; }; }
2214
 
fi
2215
 
 
2216
 
ac_ext=c
2217
 
ac_cpp='$CPP $CPPFLAGS'
2218
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2219
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2220
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2221
 
 
2222
 
 
2223
2036
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2224
2037
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2225
2038
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2228
2041
  ac_cv_prog_cc_stdc=no
2229
2042
ac_save_CC=$CC
2230
2043
cat >conftest.$ac_ext <<_ACEOF
2231
 
#line $LINENO "configure"
2232
 
#include "confdefs.h"
 
2044
/* confdefs.h.  */
 
2045
_ACEOF
 
2046
cat confdefs.h >>conftest.$ac_ext
 
2047
cat >>conftest.$ac_ext <<_ACEOF
 
2048
/* end confdefs.h.  */
2233
2049
#include <stdarg.h>
2234
2050
#include <stdio.h>
2235
2051
#include <sys/types.h>
2252
2068
  va_end (v);
2253
2069
  return s;
2254
2070
}
 
2071
 
 
2072
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2073
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2074
   These don't provoke an error unfortunately, instead are silently treated
 
2075
   as 'x'.  The following induces an error, until -std1 is added to get
 
2076
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2077
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2078
   that's true only with -std1.  */
 
2079
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2080
 
2255
2081
int test (int i, double x);
2256
2082
struct s1 {int (*f) (int a);};
2257
2083
struct s2 {int (*f) (double a);};
2258
2084
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2259
2085
int argc;
2260
2086
char **argv;
2261
 
#ifdef F77_DUMMY_MAIN
2262
 
#  ifdef __cplusplus
2263
 
     extern "C"
2264
 
#  endif
2265
 
   int F77_DUMMY_MAIN() { return 1; }
2266
 
#endif
2267
2087
int
2268
2088
main ()
2269
2089
{
2284
2104
  CC="$ac_save_CC $ac_arg"
2285
2105
  rm -f conftest.$ac_objext
2286
2106
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2287
 
  (eval $ac_compile) 2>&5
 
2107
  (eval $ac_compile) 2>conftest.er1
2288
2108
  ac_status=$?
 
2109
  grep -v '^ *+' conftest.er1 >conftest.err
 
2110
  rm -f conftest.er1
 
2111
  cat conftest.err >&5
2289
2112
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290
2113
  (exit $ac_status); } &&
2291
 
         { ac_try='test -s conftest.$ac_objext'
 
2114
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2115
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2116
  (eval $ac_try) 2>&5
 
2117
  ac_status=$?
 
2118
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2119
  (exit $ac_status); }; } &&
 
2120
         { ac_try='test -s conftest.$ac_objext'
2292
2121
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2293
2122
  (eval $ac_try) 2>&5
2294
2123
  ac_status=$?
2298
2127
break
2299
2128
else
2300
2129
  echo "$as_me: failed program was:" >&5
2301
 
cat conftest.$ac_ext >&5
 
2130
sed 's/^/| /' conftest.$ac_ext >&5
 
2131
 
2302
2132
fi
2303
 
rm -f conftest.$ac_objext
 
2133
rm -f conftest.err conftest.$ac_objext
2304
2134
done
2305
2135
rm -f conftest.$ac_ext conftest.$ac_objext
2306
2136
CC=$ac_save_CC
2317
2147
    CC="$CC $ac_cv_prog_cc_stdc" ;;
2318
2148
esac
2319
2149
 
 
2150
# Some people use a C++ compiler to compile C.  Since we use `exit',
 
2151
# in C++ we need to declare it.  In case someone uses the same compiler
 
2152
# for both compiling C and C++ we need to have the C++ compiler decide
 
2153
# the declaration of exit, since it's the most demanding environment.
 
2154
cat >conftest.$ac_ext <<_ACEOF
 
2155
#ifndef __cplusplus
 
2156
  choke me
 
2157
#endif
 
2158
_ACEOF
 
2159
rm -f conftest.$ac_objext
 
2160
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2161
  (eval $ac_compile) 2>conftest.er1
 
2162
  ac_status=$?
 
2163
  grep -v '^ *+' conftest.er1 >conftest.err
 
2164
  rm -f conftest.er1
 
2165
  cat conftest.err >&5
 
2166
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2167
  (exit $ac_status); } &&
 
2168
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2169
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2170
  (eval $ac_try) 2>&5
 
2171
  ac_status=$?
 
2172
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2173
  (exit $ac_status); }; } &&
 
2174
         { ac_try='test -s conftest.$ac_objext'
 
2175
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2176
  (eval $ac_try) 2>&5
 
2177
  ac_status=$?
 
2178
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2179
  (exit $ac_status); }; }; then
 
2180
  for ac_declaration in \
 
2181
   '' \
 
2182
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
2183
   'extern "C" void std::exit (int); using std::exit;' \
 
2184
   'extern "C" void exit (int) throw ();' \
 
2185
   'extern "C" void exit (int);' \
 
2186
   'void exit (int);'
 
2187
do
 
2188
  cat >conftest.$ac_ext <<_ACEOF
 
2189
/* confdefs.h.  */
 
2190
_ACEOF
 
2191
cat confdefs.h >>conftest.$ac_ext
 
2192
cat >>conftest.$ac_ext <<_ACEOF
 
2193
/* end confdefs.h.  */
 
2194
$ac_declaration
 
2195
#include <stdlib.h>
 
2196
int
 
2197
main ()
 
2198
{
 
2199
exit (42);
 
2200
  ;
 
2201
  return 0;
 
2202
}
 
2203
_ACEOF
 
2204
rm -f conftest.$ac_objext
 
2205
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2206
  (eval $ac_compile) 2>conftest.er1
 
2207
  ac_status=$?
 
2208
  grep -v '^ *+' conftest.er1 >conftest.err
 
2209
  rm -f conftest.er1
 
2210
  cat conftest.err >&5
 
2211
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2212
  (exit $ac_status); } &&
 
2213
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2214
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2215
  (eval $ac_try) 2>&5
 
2216
  ac_status=$?
 
2217
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2218
  (exit $ac_status); }; } &&
 
2219
         { ac_try='test -s conftest.$ac_objext'
 
2220
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2221
  (eval $ac_try) 2>&5
 
2222
  ac_status=$?
 
2223
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2224
  (exit $ac_status); }; }; then
 
2225
  :
 
2226
else
 
2227
  echo "$as_me: failed program was:" >&5
 
2228
sed 's/^/| /' conftest.$ac_ext >&5
 
2229
 
 
2230
continue
 
2231
fi
 
2232
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2233
  cat >conftest.$ac_ext <<_ACEOF
 
2234
/* confdefs.h.  */
 
2235
_ACEOF
 
2236
cat confdefs.h >>conftest.$ac_ext
 
2237
cat >>conftest.$ac_ext <<_ACEOF
 
2238
/* end confdefs.h.  */
 
2239
$ac_declaration
 
2240
int
 
2241
main ()
 
2242
{
 
2243
exit (42);
 
2244
  ;
 
2245
  return 0;
 
2246
}
 
2247
_ACEOF
 
2248
rm -f conftest.$ac_objext
 
2249
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2250
  (eval $ac_compile) 2>conftest.er1
 
2251
  ac_status=$?
 
2252
  grep -v '^ *+' conftest.er1 >conftest.err
 
2253
  rm -f conftest.er1
 
2254
  cat conftest.err >&5
 
2255
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2256
  (exit $ac_status); } &&
 
2257
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2258
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2259
  (eval $ac_try) 2>&5
 
2260
  ac_status=$?
 
2261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2262
  (exit $ac_status); }; } &&
 
2263
         { ac_try='test -s conftest.$ac_objext'
 
2264
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2265
  (eval $ac_try) 2>&5
 
2266
  ac_status=$?
 
2267
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2268
  (exit $ac_status); }; }; then
 
2269
  break
 
2270
else
 
2271
  echo "$as_me: failed program was:" >&5
 
2272
sed 's/^/| /' conftest.$ac_ext >&5
 
2273
 
 
2274
fi
 
2275
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2276
done
 
2277
rm -f conftest*
 
2278
if test -n "$ac_declaration"; then
 
2279
  echo '#ifdef __cplusplus' >>confdefs.h
 
2280
  echo $ac_declaration      >>confdefs.h
 
2281
  echo '#endif'             >>confdefs.h
 
2282
fi
 
2283
 
 
2284
else
 
2285
  echo "$as_me: failed program was:" >&5
 
2286
sed 's/^/| /' conftest.$ac_ext >&5
 
2287
 
 
2288
fi
 
2289
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2290
ac_ext=c
 
2291
ac_cpp='$CPP $CPPFLAGS'
 
2292
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2293
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2294
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2295
 
 
2296
CCOPTS=
 
2297
 
 
2298
 
 
2299
ac_ext=c
 
2300
ac_cpp='$CPP $CPPFLAGS'
 
2301
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2302
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2303
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2304
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
2305
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
2306
# On Suns, sometimes $CPP names a directory.
 
2307
if test -n "$CPP" && test -d "$CPP"; then
 
2308
  CPP=
 
2309
fi
 
2310
if test -z "$CPP"; then
 
2311
  if test "${ac_cv_prog_CPP+set}" = set; then
 
2312
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2313
else
 
2314
      # Double quotes because CPP needs to be expanded
 
2315
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
2316
    do
 
2317
      ac_preproc_ok=false
 
2318
for ac_c_preproc_warn_flag in '' yes
 
2319
do
 
2320
  # Use a header file that comes with gcc, so configuring glibc
 
2321
  # with a fresh cross-compiler works.
 
2322
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2323
  # <limits.h> exists even on freestanding compilers.
 
2324
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
2325
  # not just through cpp. "Syntax error" is here to catch this case.
 
2326
  cat >conftest.$ac_ext <<_ACEOF
 
2327
/* confdefs.h.  */
 
2328
_ACEOF
 
2329
cat confdefs.h >>conftest.$ac_ext
 
2330
cat >>conftest.$ac_ext <<_ACEOF
 
2331
/* end confdefs.h.  */
 
2332
#ifdef __STDC__
 
2333
# include <limits.h>
 
2334
#else
 
2335
# include <assert.h>
 
2336
#endif
 
2337
                     Syntax error
 
2338
_ACEOF
 
2339
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2340
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2341
  ac_status=$?
 
2342
  grep -v '^ *+' conftest.er1 >conftest.err
 
2343
  rm -f conftest.er1
 
2344
  cat conftest.err >&5
 
2345
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2346
  (exit $ac_status); } >/dev/null; then
 
2347
  if test -s conftest.err; then
 
2348
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2349
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
2350
  else
 
2351
    ac_cpp_err=
 
2352
  fi
 
2353
else
 
2354
  ac_cpp_err=yes
 
2355
fi
 
2356
if test -z "$ac_cpp_err"; then
 
2357
  :
 
2358
else
 
2359
  echo "$as_me: failed program was:" >&5
 
2360
sed 's/^/| /' conftest.$ac_ext >&5
 
2361
 
 
2362
  # Broken: fails on valid input.
 
2363
continue
 
2364
fi
 
2365
rm -f conftest.err conftest.$ac_ext
 
2366
 
 
2367
  # OK, works on sane cases.  Now check whether non-existent headers
 
2368
  # can be detected and how.
 
2369
  cat >conftest.$ac_ext <<_ACEOF
 
2370
/* confdefs.h.  */
 
2371
_ACEOF
 
2372
cat confdefs.h >>conftest.$ac_ext
 
2373
cat >>conftest.$ac_ext <<_ACEOF
 
2374
/* end confdefs.h.  */
 
2375
#include <ac_nonexistent.h>
 
2376
_ACEOF
 
2377
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2378
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2379
  ac_status=$?
 
2380
  grep -v '^ *+' conftest.er1 >conftest.err
 
2381
  rm -f conftest.er1
 
2382
  cat conftest.err >&5
 
2383
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2384
  (exit $ac_status); } >/dev/null; then
 
2385
  if test -s conftest.err; then
 
2386
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2387
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
2388
  else
 
2389
    ac_cpp_err=
 
2390
  fi
 
2391
else
 
2392
  ac_cpp_err=yes
 
2393
fi
 
2394
if test -z "$ac_cpp_err"; then
 
2395
  # Broken: success on invalid input.
 
2396
continue
 
2397
else
 
2398
  echo "$as_me: failed program was:" >&5
 
2399
sed 's/^/| /' conftest.$ac_ext >&5
 
2400
 
 
2401
  # Passes both tests.
 
2402
ac_preproc_ok=:
 
2403
break
 
2404
fi
 
2405
rm -f conftest.err conftest.$ac_ext
 
2406
 
 
2407
done
 
2408
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
2409
rm -f conftest.err conftest.$ac_ext
 
2410
if $ac_preproc_ok; then
 
2411
  break
 
2412
fi
 
2413
 
 
2414
    done
 
2415
    ac_cv_prog_CPP=$CPP
 
2416
 
 
2417
fi
 
2418
  CPP=$ac_cv_prog_CPP
 
2419
else
 
2420
  ac_cv_prog_CPP=$CPP
 
2421
fi
 
2422
echo "$as_me:$LINENO: result: $CPP" >&5
 
2423
echo "${ECHO_T}$CPP" >&6
 
2424
ac_preproc_ok=false
 
2425
for ac_c_preproc_warn_flag in '' yes
 
2426
do
 
2427
  # Use a header file that comes with gcc, so configuring glibc
 
2428
  # with a fresh cross-compiler works.
 
2429
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2430
  # <limits.h> exists even on freestanding compilers.
 
2431
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
2432
  # not just through cpp. "Syntax error" is here to catch this case.
 
2433
  cat >conftest.$ac_ext <<_ACEOF
 
2434
/* confdefs.h.  */
 
2435
_ACEOF
 
2436
cat confdefs.h >>conftest.$ac_ext
 
2437
cat >>conftest.$ac_ext <<_ACEOF
 
2438
/* end confdefs.h.  */
 
2439
#ifdef __STDC__
 
2440
# include <limits.h>
 
2441
#else
 
2442
# include <assert.h>
 
2443
#endif
 
2444
                     Syntax error
 
2445
_ACEOF
 
2446
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2447
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2448
  ac_status=$?
 
2449
  grep -v '^ *+' conftest.er1 >conftest.err
 
2450
  rm -f conftest.er1
 
2451
  cat conftest.err >&5
 
2452
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2453
  (exit $ac_status); } >/dev/null; then
 
2454
  if test -s conftest.err; then
 
2455
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2456
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
2457
  else
 
2458
    ac_cpp_err=
 
2459
  fi
 
2460
else
 
2461
  ac_cpp_err=yes
 
2462
fi
 
2463
if test -z "$ac_cpp_err"; then
 
2464
  :
 
2465
else
 
2466
  echo "$as_me: failed program was:" >&5
 
2467
sed 's/^/| /' conftest.$ac_ext >&5
 
2468
 
 
2469
  # Broken: fails on valid input.
 
2470
continue
 
2471
fi
 
2472
rm -f conftest.err conftest.$ac_ext
 
2473
 
 
2474
  # OK, works on sane cases.  Now check whether non-existent headers
 
2475
  # can be detected and how.
 
2476
  cat >conftest.$ac_ext <<_ACEOF
 
2477
/* confdefs.h.  */
 
2478
_ACEOF
 
2479
cat confdefs.h >>conftest.$ac_ext
 
2480
cat >>conftest.$ac_ext <<_ACEOF
 
2481
/* end confdefs.h.  */
 
2482
#include <ac_nonexistent.h>
 
2483
_ACEOF
 
2484
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2485
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2486
  ac_status=$?
 
2487
  grep -v '^ *+' conftest.er1 >conftest.err
 
2488
  rm -f conftest.er1
 
2489
  cat conftest.err >&5
 
2490
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2491
  (exit $ac_status); } >/dev/null; then
 
2492
  if test -s conftest.err; then
 
2493
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2494
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
2495
  else
 
2496
    ac_cpp_err=
 
2497
  fi
 
2498
else
 
2499
  ac_cpp_err=yes
 
2500
fi
 
2501
if test -z "$ac_cpp_err"; then
 
2502
  # Broken: success on invalid input.
 
2503
continue
 
2504
else
 
2505
  echo "$as_me: failed program was:" >&5
 
2506
sed 's/^/| /' conftest.$ac_ext >&5
 
2507
 
 
2508
  # Passes both tests.
 
2509
ac_preproc_ok=:
 
2510
break
 
2511
fi
 
2512
rm -f conftest.err conftest.$ac_ext
 
2513
 
 
2514
done
 
2515
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
2516
rm -f conftest.err conftest.$ac_ext
 
2517
if $ac_preproc_ok; then
 
2518
  :
 
2519
else
 
2520
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
2521
See \`config.log' for more details." >&5
 
2522
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
2523
See \`config.log' for more details." >&2;}
 
2524
   { (exit 1); exit 1; }; }
 
2525
fi
 
2526
 
 
2527
ac_ext=c
 
2528
ac_cpp='$CPP $CPPFLAGS'
 
2529
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2530
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2531
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2532
 
 
2533
 
2320
2534
 
2321
2535
ac_reltopdir=
2322
2536
for x in . .. ../.. ../../.. ../../../..; do
2505
2719
  ac_check_lib_save_LIBS=$LIBS
2506
2720
LIBS="-lcom_err  $LIBS"
2507
2721
cat >conftest.$ac_ext <<_ACEOF
2508
 
#line $LINENO "configure"
2509
 
#include "confdefs.h"
 
2722
/* confdefs.h.  */
 
2723
_ACEOF
 
2724
cat confdefs.h >>conftest.$ac_ext
 
2725
cat >>conftest.$ac_ext <<_ACEOF
 
2726
/* end confdefs.h.  */
2510
2727
 
2511
2728
/* Override any gcc2 internal prototype to avoid an error.  */
2512
2729
#ifdef __cplusplus
2515
2732
/* We use char because int might match the return type of a gcc2
2516
2733
   builtin and then its argument prototype would still apply.  */
2517
2734
char add_error_table ();
2518
 
#ifdef F77_DUMMY_MAIN
2519
 
#  ifdef __cplusplus
2520
 
     extern "C"
2521
 
#  endif
2522
 
   int F77_DUMMY_MAIN() { return 1; }
2523
 
#endif
2524
2735
int
2525
2736
main ()
2526
2737
{
2531
2742
_ACEOF
2532
2743
rm -f conftest.$ac_objext conftest$ac_exeext
2533
2744
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2534
 
  (eval $ac_link) 2>&5
 
2745
  (eval $ac_link) 2>conftest.er1
2535
2746
  ac_status=$?
 
2747
  grep -v '^ *+' conftest.er1 >conftest.err
 
2748
  rm -f conftest.er1
 
2749
  cat conftest.err >&5
2536
2750
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537
2751
  (exit $ac_status); } &&
2538
 
         { ac_try='test -s conftest$ac_exeext'
 
2752
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2753
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2754
  (eval $ac_try) 2>&5
 
2755
  ac_status=$?
 
2756
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2757
  (exit $ac_status); }; } &&
 
2758
         { ac_try='test -s conftest$ac_exeext'
2539
2759
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2540
2760
  (eval $ac_try) 2>&5
2541
2761
  ac_status=$?
2544
2764
  ac_cv_lib_com_err_add_error_table=yes
2545
2765
else
2546
2766
  echo "$as_me: failed program was:" >&5
2547
 
cat conftest.$ac_ext >&5
 
2767
sed 's/^/| /' conftest.$ac_ext >&5
 
2768
 
2548
2769
ac_cv_lib_com_err_add_error_table=no
2549
2770
fi
2550
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
2771
rm -f conftest.err conftest.$ac_objext \
 
2772
      conftest$ac_exeext conftest.$ac_ext
2551
2773
LIBS=$ac_check_lib_save_LIBS
2552
2774
fi
2553
2775
echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_add_error_table" >&5
2568
2790
  ac_check_lib_save_LIBS=$LIBS
2569
2791
LIBS="-lcom_err  $LIBS"
2570
2792
cat >conftest.$ac_ext <<_ACEOF
2571
 
#line $LINENO "configure"
2572
 
#include "confdefs.h"
 
2793
/* confdefs.h.  */
 
2794
_ACEOF
 
2795
cat confdefs.h >>conftest.$ac_ext
 
2796
cat >>conftest.$ac_ext <<_ACEOF
 
2797
/* end confdefs.h.  */
2573
2798
 
2574
2799
/* Override any gcc2 internal prototype to avoid an error.  */
2575
2800
#ifdef __cplusplus
2578
2803
/* We use char because int might match the return type of a gcc2
2579
2804
   builtin and then its argument prototype would still apply.  */
2580
2805
char remove_error_table ();
2581
 
#ifdef F77_DUMMY_MAIN
2582
 
#  ifdef __cplusplus
2583
 
     extern "C"
2584
 
#  endif
2585
 
   int F77_DUMMY_MAIN() { return 1; }
2586
 
#endif
2587
2806
int
2588
2807
main ()
2589
2808
{
2594
2813
_ACEOF
2595
2814
rm -f conftest.$ac_objext conftest$ac_exeext
2596
2815
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2597
 
  (eval $ac_link) 2>&5
 
2816
  (eval $ac_link) 2>conftest.er1
2598
2817
  ac_status=$?
 
2818
  grep -v '^ *+' conftest.er1 >conftest.err
 
2819
  rm -f conftest.er1
 
2820
  cat conftest.err >&5
2599
2821
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600
2822
  (exit $ac_status); } &&
2601
 
         { ac_try='test -s conftest$ac_exeext'
 
2823
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2824
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2825
  (eval $ac_try) 2>&5
 
2826
  ac_status=$?
 
2827
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2828
  (exit $ac_status); }; } &&
 
2829
         { ac_try='test -s conftest$ac_exeext'
2602
2830
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2603
2831
  (eval $ac_try) 2>&5
2604
2832
  ac_status=$?
2607
2835
  ac_cv_lib_com_err_remove_error_table=yes
2608
2836
else
2609
2837
  echo "$as_me: failed program was:" >&5
2610
 
cat conftest.$ac_ext >&5
 
2838
sed 's/^/| /' conftest.$ac_ext >&5
 
2839
 
2611
2840
ac_cv_lib_com_err_remove_error_table=no
2612
2841
fi
2613
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
2842
rm -f conftest.err conftest.$ac_objext \
 
2843
      conftest$ac_exeext conftest.$ac_ext
2614
2844
LIBS=$ac_check_lib_save_LIBS
2615
2845
fi
2616
2846
echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_remove_error_table" >&5
2687
2917
   { (exit 1); exit 1; }; }
2688
2918
  fi
2689
2919
  cat >conftest.$ac_ext <<_ACEOF
2690
 
#line $LINENO "configure"
2691
 
#include "confdefs.h"
 
2920
/* confdefs.h.  */
 
2921
_ACEOF
 
2922
cat confdefs.h >>conftest.$ac_ext
 
2923
cat >>conftest.$ac_ext <<_ACEOF
 
2924
/* end confdefs.h.  */
2692
2925
#include "conf$$e.h"
2693
2926
 
2694
 
#ifdef F77_DUMMY_MAIN
2695
 
#  ifdef __cplusplus
2696
 
     extern "C"
2697
 
#  endif
2698
 
   int F77_DUMMY_MAIN() { return 1; }
2699
 
#endif
2700
2927
int
2701
2928
main ()
2702
2929
{
2707
2934
_ACEOF
2708
2935
rm -f conftest.$ac_objext
2709
2936
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2710
 
  (eval $ac_compile) 2>&5
 
2937
  (eval $ac_compile) 2>conftest.er1
2711
2938
  ac_status=$?
 
2939
  grep -v '^ *+' conftest.er1 >conftest.err
 
2940
  rm -f conftest.er1
 
2941
  cat conftest.err >&5
2712
2942
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713
2943
  (exit $ac_status); } &&
2714
 
         { ac_try='test -s conftest.$ac_objext'
 
2944
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2945
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2946
  (eval $ac_try) 2>&5
 
2947
  ac_status=$?
 
2948
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2949
  (exit $ac_status); }; } &&
 
2950
         { ac_try='test -s conftest.$ac_objext'
2715
2951
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2716
2952
  (eval $ac_try) 2>&5
2717
2953
  ac_status=$?
2720
2956
  :
2721
2957
else
2722
2958
  echo "$as_me: failed program was:" >&5
2723
 
cat conftest.$ac_ext >&5
 
2959
sed 's/^/| /' conftest.$ac_ext >&5
 
2960
 
2724
2961
{ { echo "$as_me:$LINENO: error: cannot use et_foo_error_table" >&5
2725
2962
echo "$as_me: error: cannot use et_foo_error_table" >&2;}
2726
2963
   { (exit 1); exit 1; }; }
2727
2964
fi
2728
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2965
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2729
2966
  # Anything else we need to test for?
2730
2967
  rm -f conf$$e.et conf$$e.c conf$$e.h
2731
2968
  krb5_cv_compile_et_useful=yes
2764
3001
  krb5_cv_system_ss_okay="assumed"
2765
3002
else
2766
3003
  cat >conftest.$ac_ext <<_ACEOF
2767
 
#line $LINENO "configure"
2768
 
#include "confdefs.h"
 
3004
/* confdefs.h.  */
 
3005
_ACEOF
 
3006
cat confdefs.h >>conftest.$ac_ext
 
3007
cat >>conftest.$ac_ext <<_ACEOF
 
3008
/* end confdefs.h.  */
2769
3009
 
2770
3010
#include <ss/ss.h>
2771
3011
int main(int argc, char *argv[]) {
2792
3032
else
2793
3033
  echo "$as_me: program exited with status $ac_status" >&5
2794
3034
echo "$as_me: failed program was:" >&5
2795
 
cat conftest.$ac_ext >&5
 
3035
sed 's/^/| /' conftest.$ac_ext >&5
 
3036
 
2796
3037
( exit $ac_status )
2797
3038
{ { echo "$as_me:$LINENO: error: cannot run test program" >&5
2798
3039
echo "$as_me: error: cannot run test program" >&2;}
2799
3040
   { (exit 1); exit 1; }; }
2800
3041
fi
2801
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3042
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2802
3043
fi
2803
3044
fi
2804
3045
echo "$as_me:$LINENO: result: $krb5_cv_system_ss_okay" >&5
2872
3113
  echo $ECHO_N "(cached) $ECHO_C" >&6
2873
3114
else
2874
3115
  cat >conftest.$ac_ext <<_ACEOF
2875
 
#line $LINENO "configure"
2876
 
#include "confdefs.h"
 
3116
/* confdefs.h.  */
 
3117
_ACEOF
 
3118
cat confdefs.h >>conftest.$ac_ext
 
3119
cat >>conftest.$ac_ext <<_ACEOF
 
3120
/* end confdefs.h.  */
2877
3121
 
2878
 
#ifdef F77_DUMMY_MAIN
2879
 
#  ifdef __cplusplus
2880
 
     extern "C"
2881
 
#  endif
2882
 
   int F77_DUMMY_MAIN() { return 1; }
2883
 
#endif
2884
3122
int
2885
3123
main ()
2886
3124
{
2937
3175
_ACEOF
2938
3176
rm -f conftest.$ac_objext
2939
3177
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2940
 
  (eval $ac_compile) 2>&5
 
3178
  (eval $ac_compile) 2>conftest.er1
2941
3179
  ac_status=$?
 
3180
  grep -v '^ *+' conftest.er1 >conftest.err
 
3181
  rm -f conftest.er1
 
3182
  cat conftest.err >&5
2942
3183
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943
3184
  (exit $ac_status); } &&
2944
 
         { ac_try='test -s conftest.$ac_objext'
 
3185
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3186
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3187
  (eval $ac_try) 2>&5
 
3188
  ac_status=$?
 
3189
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3190
  (exit $ac_status); }; } &&
 
3191
         { ac_try='test -s conftest.$ac_objext'
2945
3192
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2946
3193
  (eval $ac_try) 2>&5
2947
3194
  ac_status=$?
2950
3197
  ac_cv_c_const=yes
2951
3198
else
2952
3199
  echo "$as_me: failed program was:" >&5
2953
 
cat conftest.$ac_ext >&5
 
3200
sed 's/^/| /' conftest.$ac_ext >&5
 
3201
 
2954
3202
ac_cv_c_const=no
2955
3203
fi
2956
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3204
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2957
3205
fi
2958
3206
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
2959
3207
echo "${ECHO_T}$ac_cv_c_const" >&6
2988
3236
  echo $ECHO_N "(cached) $ECHO_C" >&6
2989
3237
else
2990
3238
  cat >conftest.$ac_ext <<_ACEOF
2991
 
#line $LINENO "configure"
2992
 
#include "confdefs.h"
 
3239
/* confdefs.h.  */
 
3240
_ACEOF
 
3241
cat confdefs.h >>conftest.$ac_ext
 
3242
cat >>conftest.$ac_ext <<_ACEOF
 
3243
/* end confdefs.h.  */
 
3244
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
 
3245
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
3246
#define gethostbyname innocuous_gethostbyname
 
3247
 
2993
3248
/* System header to define __stub macros and hopefully few prototypes,
2994
 
    which can conflict with char gethostbyname (); below.  */
2995
 
#include <assert.h>
 
3249
    which can conflict with char gethostbyname (); below.
 
3250
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3251
    <limits.h> exists even on freestanding compilers.  */
 
3252
 
 
3253
#ifdef __STDC__
 
3254
# include <limits.h>
 
3255
#else
 
3256
# include <assert.h>
 
3257
#endif
 
3258
 
 
3259
#undef gethostbyname
 
3260
 
2996
3261
/* Override any gcc2 internal prototype to avoid an error.  */
2997
3262
#ifdef __cplusplus
2998
3263
extern "C"
 
3264
{
2999
3265
#endif
3000
3266
/* We use char because int might match the return type of a gcc2
3001
3267
   builtin and then its argument prototype would still apply.  */
3002
3268
char gethostbyname ();
3003
 
char (*f) ();
3004
 
 
3005
 
#ifdef F77_DUMMY_MAIN
3006
 
#  ifdef __cplusplus
3007
 
     extern "C"
3008
 
#  endif
3009
 
   int F77_DUMMY_MAIN() { return 1; }
3010
 
#endif
3011
 
int
3012
 
main ()
3013
 
{
3014
3269
/* The GNU C library defines this for functions which it implements
3015
3270
    to always fail with ENOSYS.  Some functions are actually named
3016
3271
    something starting with __ and the normal name is an alias.  */
3017
3272
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3018
3273
choke me
3019
3274
#else
3020
 
f = gethostbyname;
 
3275
char (*f) () = gethostbyname;
 
3276
#endif
 
3277
#ifdef __cplusplus
 
3278
}
3021
3279
#endif
3022
3280
 
 
3281
int
 
3282
main ()
 
3283
{
 
3284
return f != gethostbyname;
3023
3285
  ;
3024
3286
  return 0;
3025
3287
}
3026
3288
_ACEOF
3027
3289
rm -f conftest.$ac_objext conftest$ac_exeext
3028
3290
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3029
 
  (eval $ac_link) 2>&5
 
3291
  (eval $ac_link) 2>conftest.er1
3030
3292
  ac_status=$?
 
3293
  grep -v '^ *+' conftest.er1 >conftest.err
 
3294
  rm -f conftest.er1
 
3295
  cat conftest.err >&5
3031
3296
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032
3297
  (exit $ac_status); } &&
3033
 
         { ac_try='test -s conftest$ac_exeext'
 
3298
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3299
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3300
  (eval $ac_try) 2>&5
 
3301
  ac_status=$?
 
3302
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3303
  (exit $ac_status); }; } &&
 
3304
         { ac_try='test -s conftest$ac_exeext'
3034
3305
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3035
3306
  (eval $ac_try) 2>&5
3036
3307
  ac_status=$?
3039
3310
  ac_cv_func_gethostbyname=yes
3040
3311
else
3041
3312
  echo "$as_me: failed program was:" >&5
3042
 
cat conftest.$ac_ext >&5
 
3313
sed 's/^/| /' conftest.$ac_ext >&5
 
3314
 
3043
3315
ac_cv_func_gethostbyname=no
3044
3316
fi
3045
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3317
rm -f conftest.err conftest.$ac_objext \
 
3318
      conftest$ac_exeext conftest.$ac_ext
3046
3319
fi
3047
3320
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3048
3321
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3060
3333
  ac_check_lib_save_LIBS=$LIBS
3061
3334
LIBS="-lnsl  $LIBS"
3062
3335
cat >conftest.$ac_ext <<_ACEOF
3063
 
#line $LINENO "configure"
3064
 
#include "confdefs.h"
 
3336
/* confdefs.h.  */
 
3337
_ACEOF
 
3338
cat confdefs.h >>conftest.$ac_ext
 
3339
cat >>conftest.$ac_ext <<_ACEOF
 
3340
/* end confdefs.h.  */
3065
3341
 
3066
3342
/* Override any gcc2 internal prototype to avoid an error.  */
3067
3343
#ifdef __cplusplus
3070
3346
/* We use char because int might match the return type of a gcc2
3071
3347
   builtin and then its argument prototype would still apply.  */
3072
3348
char gethostbyname ();
3073
 
#ifdef F77_DUMMY_MAIN
3074
 
#  ifdef __cplusplus
3075
 
     extern "C"
3076
 
#  endif
3077
 
   int F77_DUMMY_MAIN() { return 1; }
3078
 
#endif
3079
3349
int
3080
3350
main ()
3081
3351
{
3086
3356
_ACEOF
3087
3357
rm -f conftest.$ac_objext conftest$ac_exeext
3088
3358
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3089
 
  (eval $ac_link) 2>&5
 
3359
  (eval $ac_link) 2>conftest.er1
3090
3360
  ac_status=$?
 
3361
  grep -v '^ *+' conftest.er1 >conftest.err
 
3362
  rm -f conftest.er1
 
3363
  cat conftest.err >&5
3091
3364
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092
3365
  (exit $ac_status); } &&
3093
 
         { ac_try='test -s conftest$ac_exeext'
 
3366
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3367
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3368
  (eval $ac_try) 2>&5
 
3369
  ac_status=$?
 
3370
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3371
  (exit $ac_status); }; } &&
 
3372
         { ac_try='test -s conftest$ac_exeext'
3094
3373
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3095
3374
  (eval $ac_try) 2>&5
3096
3375
  ac_status=$?
3099
3378
  ac_cv_lib_nsl_gethostbyname=yes
3100
3379
else
3101
3380
  echo "$as_me: failed program was:" >&5
3102
 
cat conftest.$ac_ext >&5
 
3381
sed 's/^/| /' conftest.$ac_ext >&5
 
3382
 
3103
3383
ac_cv_lib_nsl_gethostbyname=no
3104
3384
fi
3105
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3385
rm -f conftest.err conftest.$ac_objext \
 
3386
      conftest$ac_exeext conftest.$ac_ext
3106
3387
LIBS=$ac_check_lib_save_LIBS
3107
3388
fi
3108
3389
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3126
3407
  ac_check_lib_save_LIBS=$LIBS
3127
3408
LIBS="-lsocket  $LIBS"
3128
3409
cat >conftest.$ac_ext <<_ACEOF
3129
 
#line $LINENO "configure"
3130
 
#include "confdefs.h"
 
3410
/* confdefs.h.  */
 
3411
_ACEOF
 
3412
cat confdefs.h >>conftest.$ac_ext
 
3413
cat >>conftest.$ac_ext <<_ACEOF
 
3414
/* end confdefs.h.  */
3131
3415
 
3132
3416
/* Override any gcc2 internal prototype to avoid an error.  */
3133
3417
#ifdef __cplusplus
3136
3420
/* We use char because int might match the return type of a gcc2
3137
3421
   builtin and then its argument prototype would still apply.  */
3138
3422
char gethostbyname ();
3139
 
#ifdef F77_DUMMY_MAIN
3140
 
#  ifdef __cplusplus
3141
 
     extern "C"
3142
 
#  endif
3143
 
   int F77_DUMMY_MAIN() { return 1; }
3144
 
#endif
3145
3423
int
3146
3424
main ()
3147
3425
{
3152
3430
_ACEOF
3153
3431
rm -f conftest.$ac_objext conftest$ac_exeext
3154
3432
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3155
 
  (eval $ac_link) 2>&5
 
3433
  (eval $ac_link) 2>conftest.er1
3156
3434
  ac_status=$?
 
3435
  grep -v '^ *+' conftest.er1 >conftest.err
 
3436
  rm -f conftest.er1
 
3437
  cat conftest.err >&5
3157
3438
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158
3439
  (exit $ac_status); } &&
3159
 
         { ac_try='test -s conftest$ac_exeext'
 
3440
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3441
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3442
  (eval $ac_try) 2>&5
 
3443
  ac_status=$?
 
3444
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3445
  (exit $ac_status); }; } &&
 
3446
         { ac_try='test -s conftest$ac_exeext'
3160
3447
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3161
3448
  (eval $ac_try) 2>&5
3162
3449
  ac_status=$?
3165
3452
  ac_cv_lib_socket_gethostbyname=yes
3166
3453
else
3167
3454
  echo "$as_me: failed program was:" >&5
3168
 
cat conftest.$ac_ext >&5
 
3455
sed 's/^/| /' conftest.$ac_ext >&5
 
3456
 
3169
3457
ac_cv_lib_socket_gethostbyname=no
3170
3458
fi
3171
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3459
rm -f conftest.err conftest.$ac_objext \
 
3460
      conftest$ac_exeext conftest.$ac_ext
3172
3461
LIBS=$ac_check_lib_save_LIBS
3173
3462
fi
3174
3463
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
3193
3482
  ac_check_lib_save_LIBS=$LIBS
3194
3483
LIBS="-lsocket -lnsl $LIBS"
3195
3484
cat >conftest.$ac_ext <<_ACEOF
3196
 
#line $LINENO "configure"
3197
 
#include "confdefs.h"
 
3485
/* confdefs.h.  */
 
3486
_ACEOF
 
3487
cat confdefs.h >>conftest.$ac_ext
 
3488
cat >>conftest.$ac_ext <<_ACEOF
 
3489
/* end confdefs.h.  */
3198
3490
 
3199
3491
/* Override any gcc2 internal prototype to avoid an error.  */
3200
3492
#ifdef __cplusplus
3203
3495
/* We use char because int might match the return type of a gcc2
3204
3496
   builtin and then its argument prototype would still apply.  */
3205
3497
char gethostbyname ();
3206
 
#ifdef F77_DUMMY_MAIN
3207
 
#  ifdef __cplusplus
3208
 
     extern "C"
3209
 
#  endif
3210
 
   int F77_DUMMY_MAIN() { return 1; }
3211
 
#endif
3212
3498
int
3213
3499
main ()
3214
3500
{
3219
3505
_ACEOF
3220
3506
rm -f conftest.$ac_objext conftest$ac_exeext
3221
3507
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3222
 
  (eval $ac_link) 2>&5
 
3508
  (eval $ac_link) 2>conftest.er1
3223
3509
  ac_status=$?
 
3510
  grep -v '^ *+' conftest.er1 >conftest.err
 
3511
  rm -f conftest.er1
 
3512
  cat conftest.err >&5
3224
3513
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225
3514
  (exit $ac_status); } &&
3226
 
         { ac_try='test -s conftest$ac_exeext'
 
3515
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3516
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3517
  (eval $ac_try) 2>&5
 
3518
  ac_status=$?
 
3519
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3520
  (exit $ac_status); }; } &&
 
3521
         { ac_try='test -s conftest$ac_exeext'
3227
3522
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3228
3523
  (eval $ac_try) 2>&5
3229
3524
  ac_status=$?
3232
3527
  ac_cv_lib_socket_gethostbyname=yes
3233
3528
else
3234
3529
  echo "$as_me: failed program was:" >&5
3235
 
cat conftest.$ac_ext >&5
 
3530
sed 's/^/| /' conftest.$ac_ext >&5
 
3531
 
3236
3532
ac_cv_lib_socket_gethostbyname=no
3237
3533
fi
3238
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3534
rm -f conftest.err conftest.$ac_objext \
 
3535
      conftest$ac_exeext conftest.$ac_ext
3239
3536
LIBS=$ac_check_lib_save_LIBS
3240
3537
fi
3241
3538
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
3251
3548
  ac_check_lib_save_LIBS=$LIBS
3252
3549
LIBS="-lresolv  $LIBS"
3253
3550
cat >conftest.$ac_ext <<_ACEOF
3254
 
#line $LINENO "configure"
3255
 
#include "confdefs.h"
 
3551
/* confdefs.h.  */
 
3552
_ACEOF
 
3553
cat confdefs.h >>conftest.$ac_ext
 
3554
cat >>conftest.$ac_ext <<_ACEOF
 
3555
/* end confdefs.h.  */
3256
3556
 
3257
3557
/* Override any gcc2 internal prototype to avoid an error.  */
3258
3558
#ifdef __cplusplus
3261
3561
/* We use char because int might match the return type of a gcc2
3262
3562
   builtin and then its argument prototype would still apply.  */
3263
3563
char gethostbyname ();
3264
 
#ifdef F77_DUMMY_MAIN
3265
 
#  ifdef __cplusplus
3266
 
     extern "C"
3267
 
#  endif
3268
 
   int F77_DUMMY_MAIN() { return 1; }
3269
 
#endif
3270
3564
int
3271
3565
main ()
3272
3566
{
3277
3571
_ACEOF
3278
3572
rm -f conftest.$ac_objext conftest$ac_exeext
3279
3573
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3280
 
  (eval $ac_link) 2>&5
 
3574
  (eval $ac_link) 2>conftest.er1
3281
3575
  ac_status=$?
 
3576
  grep -v '^ *+' conftest.er1 >conftest.err
 
3577
  rm -f conftest.er1
 
3578
  cat conftest.err >&5
3282
3579
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283
3580
  (exit $ac_status); } &&
3284
 
         { ac_try='test -s conftest$ac_exeext'
 
3581
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3582
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3583
  (eval $ac_try) 2>&5
 
3584
  ac_status=$?
 
3585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3586
  (exit $ac_status); }; } &&
 
3587
         { ac_try='test -s conftest$ac_exeext'
3285
3588
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3286
3589
  (eval $ac_try) 2>&5
3287
3590
  ac_status=$?
3290
3593
  ac_cv_lib_resolv_gethostbyname=yes
3291
3594
else
3292
3595
  echo "$as_me: failed program was:" >&5
3293
 
cat conftest.$ac_ext >&5
 
3596
sed 's/^/| /' conftest.$ac_ext >&5
 
3597
 
3294
3598
ac_cv_lib_resolv_gethostbyname=no
3295
3599
fi
3296
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3600
rm -f conftest.err conftest.$ac_objext \
 
3601
      conftest$ac_exeext conftest.$ac_ext
3297
3602
LIBS=$ac_check_lib_save_LIBS
3298
3603
fi
3299
3604
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5
3319
3624
  echo $ECHO_N "(cached) $ECHO_C" >&6
3320
3625
else
3321
3626
  cat >conftest.$ac_ext <<_ACEOF
3322
 
#line $LINENO "configure"
3323
 
#include "confdefs.h"
 
3627
/* confdefs.h.  */
 
3628
_ACEOF
 
3629
cat confdefs.h >>conftest.$ac_ext
 
3630
cat >>conftest.$ac_ext <<_ACEOF
 
3631
/* end confdefs.h.  */
 
3632
/* Define socket to an innocuous variant, in case <limits.h> declares socket.
 
3633
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
3634
#define socket innocuous_socket
 
3635
 
3324
3636
/* System header to define __stub macros and hopefully few prototypes,
3325
 
    which can conflict with char socket (); below.  */
3326
 
#include <assert.h>
 
3637
    which can conflict with char socket (); below.
 
3638
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3639
    <limits.h> exists even on freestanding compilers.  */
 
3640
 
 
3641
#ifdef __STDC__
 
3642
# include <limits.h>
 
3643
#else
 
3644
# include <assert.h>
 
3645
#endif
 
3646
 
 
3647
#undef socket
 
3648
 
3327
3649
/* Override any gcc2 internal prototype to avoid an error.  */
3328
3650
#ifdef __cplusplus
3329
3651
extern "C"
 
3652
{
3330
3653
#endif
3331
3654
/* We use char because int might match the return type of a gcc2
3332
3655
   builtin and then its argument prototype would still apply.  */
3333
3656
char socket ();
3334
 
char (*f) ();
3335
 
 
3336
 
#ifdef F77_DUMMY_MAIN
3337
 
#  ifdef __cplusplus
3338
 
     extern "C"
3339
 
#  endif
3340
 
   int F77_DUMMY_MAIN() { return 1; }
3341
 
#endif
3342
 
int
3343
 
main ()
3344
 
{
3345
3657
/* The GNU C library defines this for functions which it implements
3346
3658
    to always fail with ENOSYS.  Some functions are actually named
3347
3659
    something starting with __ and the normal name is an alias.  */
3348
3660
#if defined (__stub_socket) || defined (__stub___socket)
3349
3661
choke me
3350
3662
#else
3351
 
f = socket;
 
3663
char (*f) () = socket;
 
3664
#endif
 
3665
#ifdef __cplusplus
 
3666
}
3352
3667
#endif
3353
3668
 
 
3669
int
 
3670
main ()
 
3671
{
 
3672
return f != socket;
3354
3673
  ;
3355
3674
  return 0;
3356
3675
}
3357
3676
_ACEOF
3358
3677
rm -f conftest.$ac_objext conftest$ac_exeext
3359
3678
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3360
 
  (eval $ac_link) 2>&5
 
3679
  (eval $ac_link) 2>conftest.er1
3361
3680
  ac_status=$?
 
3681
  grep -v '^ *+' conftest.er1 >conftest.err
 
3682
  rm -f conftest.er1
 
3683
  cat conftest.err >&5
3362
3684
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363
3685
  (exit $ac_status); } &&
3364
 
         { ac_try='test -s conftest$ac_exeext'
 
3686
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3687
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3688
  (eval $ac_try) 2>&5
 
3689
  ac_status=$?
 
3690
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3691
  (exit $ac_status); }; } &&
 
3692
         { ac_try='test -s conftest$ac_exeext'
3365
3693
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3366
3694
  (eval $ac_try) 2>&5
3367
3695
  ac_status=$?
3370
3698
  ac_cv_func_socket=yes
3371
3699
else
3372
3700
  echo "$as_me: failed program was:" >&5
3373
 
cat conftest.$ac_ext >&5
 
3701
sed 's/^/| /' conftest.$ac_ext >&5
 
3702
 
3374
3703
ac_cv_func_socket=no
3375
3704
fi
3376
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3705
rm -f conftest.err conftest.$ac_objext \
 
3706
      conftest$ac_exeext conftest.$ac_ext
3377
3707
fi
3378
3708
echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
3379
3709
echo "${ECHO_T}$ac_cv_func_socket" >&6
3389
3719
  ac_check_lib_save_LIBS=$LIBS
3390
3720
LIBS="-lsocket  $LIBS"
3391
3721
cat >conftest.$ac_ext <<_ACEOF
3392
 
#line $LINENO "configure"
3393
 
#include "confdefs.h"
 
3722
/* confdefs.h.  */
 
3723
_ACEOF
 
3724
cat confdefs.h >>conftest.$ac_ext
 
3725
cat >>conftest.$ac_ext <<_ACEOF
 
3726
/* end confdefs.h.  */
3394
3727
 
3395
3728
/* Override any gcc2 internal prototype to avoid an error.  */
3396
3729
#ifdef __cplusplus
3399
3732
/* We use char because int might match the return type of a gcc2
3400
3733
   builtin and then its argument prototype would still apply.  */
3401
3734
char socket ();
3402
 
#ifdef F77_DUMMY_MAIN
3403
 
#  ifdef __cplusplus
3404
 
     extern "C"
3405
 
#  endif
3406
 
   int F77_DUMMY_MAIN() { return 1; }
3407
 
#endif
3408
3735
int
3409
3736
main ()
3410
3737
{
3415
3742
_ACEOF
3416
3743
rm -f conftest.$ac_objext conftest$ac_exeext
3417
3744
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3418
 
  (eval $ac_link) 2>&5
 
3745
  (eval $ac_link) 2>conftest.er1
3419
3746
  ac_status=$?
 
3747
  grep -v '^ *+' conftest.er1 >conftest.err
 
3748
  rm -f conftest.er1
 
3749
  cat conftest.err >&5
3420
3750
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421
3751
  (exit $ac_status); } &&
3422
 
         { ac_try='test -s conftest$ac_exeext'
 
3752
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3753
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3754
  (eval $ac_try) 2>&5
 
3755
  ac_status=$?
 
3756
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3757
  (exit $ac_status); }; } &&
 
3758
         { ac_try='test -s conftest$ac_exeext'
3423
3759
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3424
3760
  (eval $ac_try) 2>&5
3425
3761
  ac_status=$?
3428
3764
  ac_cv_lib_socket_socket=yes
3429
3765
else
3430
3766
  echo "$as_me: failed program was:" >&5
3431
 
cat conftest.$ac_ext >&5
 
3767
sed 's/^/| /' conftest.$ac_ext >&5
 
3768
 
3432
3769
ac_cv_lib_socket_socket=no
3433
3770
fi
3434
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3771
rm -f conftest.err conftest.$ac_objext \
 
3772
      conftest$ac_exeext conftest.$ac_ext
3435
3773
LIBS=$ac_check_lib_save_LIBS
3436
3774
fi
3437
3775
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3452
3790
  ac_check_lib_save_LIBS=$LIBS
3453
3791
LIBS="-lsocket -lnsl $LIBS"
3454
3792
cat >conftest.$ac_ext <<_ACEOF
3455
 
#line $LINENO "configure"
3456
 
#include "confdefs.h"
 
3793
/* confdefs.h.  */
 
3794
_ACEOF
 
3795
cat confdefs.h >>conftest.$ac_ext
 
3796
cat >>conftest.$ac_ext <<_ACEOF
 
3797
/* end confdefs.h.  */
3457
3798
 
3458
3799
/* Override any gcc2 internal prototype to avoid an error.  */
3459
3800
#ifdef __cplusplus
3462
3803
/* We use char because int might match the return type of a gcc2
3463
3804
   builtin and then its argument prototype would still apply.  */
3464
3805
char socket ();
3465
 
#ifdef F77_DUMMY_MAIN
3466
 
#  ifdef __cplusplus
3467
 
     extern "C"
3468
 
#  endif
3469
 
   int F77_DUMMY_MAIN() { return 1; }
3470
 
#endif
3471
3806
int
3472
3807
main ()
3473
3808
{
3478
3813
_ACEOF
3479
3814
rm -f conftest.$ac_objext conftest$ac_exeext
3480
3815
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3481
 
  (eval $ac_link) 2>&5
 
3816
  (eval $ac_link) 2>conftest.er1
3482
3817
  ac_status=$?
 
3818
  grep -v '^ *+' conftest.er1 >conftest.err
 
3819
  rm -f conftest.er1
 
3820
  cat conftest.err >&5
3483
3821
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484
3822
  (exit $ac_status); } &&
3485
 
         { ac_try='test -s conftest$ac_exeext'
 
3823
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3824
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3825
  (eval $ac_try) 2>&5
 
3826
  ac_status=$?
 
3827
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3828
  (exit $ac_status); }; } &&
 
3829
         { ac_try='test -s conftest$ac_exeext'
3486
3830
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487
3831
  (eval $ac_try) 2>&5
3488
3832
  ac_status=$?
3491
3835
  ac_cv_lib_socket_socket=yes
3492
3836
else
3493
3837
  echo "$as_me: failed program was:" >&5
3494
 
cat conftest.$ac_ext >&5
 
3838
sed 's/^/| /' conftest.$ac_ext >&5
 
3839
 
3495
3840
ac_cv_lib_socket_socket=no
3496
3841
fi
3497
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3842
rm -f conftest.err conftest.$ac_objext \
 
3843
      conftest$ac_exeext conftest.$ac_ext
3498
3844
LIBS=$ac_check_lib_save_LIBS
3499
3845
fi
3500
3846
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3579
3925
echo "${ECHO_T}$enable_dns" >&6
3580
3926
 
3581
3927
  if test "$enable_dns" = yes ; then
3582
 
    echo "$as_me:$LINENO: checking for res_search" >&5
 
3928
        echo "$as_me:$LINENO: checking for res_search" >&5
3583
3929
echo $ECHO_N "checking for res_search... $ECHO_C" >&6
3584
 
if test "${ac_cv_func_res_search+set}" = set; then
3585
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3586
 
else
3587
 
  cat >conftest.$ac_ext <<_ACEOF
3588
 
#line $LINENO "configure"
3589
 
#include "confdefs.h"
3590
 
/* System header to define __stub macros and hopefully few prototypes,
3591
 
    which can conflict with char res_search (); below.  */
3592
 
#include <assert.h>
 
3930
        cat >conftest.$ac_ext <<_ACEOF
 
3931
/* confdefs.h.  */
 
3932
_ACEOF
 
3933
cat confdefs.h >>conftest.$ac_ext
 
3934
cat >>conftest.$ac_ext <<_ACEOF
 
3935
/* end confdefs.h.  */
 
3936
 
3593
3937
/* Override any gcc2 internal prototype to avoid an error.  */
3594
3938
#ifdef __cplusplus
3595
3939
extern "C"
3597
3941
/* We use char because int might match the return type of a gcc2
3598
3942
   builtin and then its argument prototype would still apply.  */
3599
3943
char res_search ();
3600
 
char (*f) ();
3601
 
 
3602
 
#ifdef F77_DUMMY_MAIN
3603
 
#  ifdef __cplusplus
3604
 
     extern "C"
3605
 
#  endif
3606
 
   int F77_DUMMY_MAIN() { return 1; }
3607
 
#endif
3608
3944
int
3609
3945
main ()
3610
3946
{
3611
 
/* The GNU C library defines this for functions which it implements
3612
 
    to always fail with ENOSYS.  Some functions are actually named
3613
 
    something starting with __ and the normal name is an alias.  */
3614
 
#if defined (__stub_res_search) || defined (__stub___res_search)
3615
 
choke me
3616
 
#else
3617
 
f = res_search;
3618
 
#endif
3619
 
 
 
3947
res_search ();
3620
3948
  ;
3621
3949
  return 0;
3622
3950
}
3623
3951
_ACEOF
3624
3952
rm -f conftest.$ac_objext conftest$ac_exeext
3625
3953
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3626
 
  (eval $ac_link) 2>&5
 
3954
  (eval $ac_link) 2>conftest.er1
3627
3955
  ac_status=$?
 
3956
  grep -v '^ *+' conftest.er1 >conftest.err
 
3957
  rm -f conftest.er1
 
3958
  cat conftest.err >&5
3628
3959
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629
3960
  (exit $ac_status); } &&
3630
 
         { ac_try='test -s conftest$ac_exeext'
 
3961
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3962
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3963
  (eval $ac_try) 2>&5
 
3964
  ac_status=$?
 
3965
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3966
  (exit $ac_status); }; } &&
 
3967
         { ac_try='test -s conftest$ac_exeext'
3631
3968
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3632
3969
  (eval $ac_try) 2>&5
3633
3970
  ac_status=$?
3634
3971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635
3972
  (exit $ac_status); }; }; then
3636
 
  ac_cv_func_res_search=yes
 
3973
  echo "$as_me:$LINENO: result: yes" >&5
 
3974
echo "${ECHO_T}yes" >&6
3637
3975
else
3638
3976
  echo "$as_me: failed program was:" >&5
3639
 
cat conftest.$ac_ext >&5
3640
 
ac_cv_func_res_search=no
3641
 
fi
3642
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3643
 
fi
3644
 
echo "$as_me:$LINENO: result: $ac_cv_func_res_search" >&5
3645
 
echo "${ECHO_T}$ac_cv_func_res_search" >&6
3646
 
if test $ac_cv_func_res_search = yes; then
3647
 
  :
3648
 
else
3649
 
  echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
 
3977
sed 's/^/| /' conftest.$ac_ext >&5
 
3978
 
 
3979
echo "$as_me:$LINENO: result: no" >&5
 
3980
echo "${ECHO_T}no" >&6
 
3981
fi
 
3982
rm -f conftest.err conftest.$ac_objext \
 
3983
      conftest$ac_exeext conftest.$ac_ext
 
3984
        saved_LIBS="$LIBS"
 
3985
        LIBS="$LIBS -lresolv"
 
3986
        echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
3650
3987
echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6
3651
 
if test "${ac_cv_lib_resolv_res_search+set}" = set; then
3652
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3653
 
else
3654
 
  ac_check_lib_save_LIBS=$LIBS
3655
 
LIBS="-lresolv  $LIBS"
3656
 
cat >conftest.$ac_ext <<_ACEOF
3657
 
#line $LINENO "configure"
3658
 
#include "confdefs.h"
 
3988
        cat >conftest.$ac_ext <<_ACEOF
3659
3989
 
3660
 
/* Override any gcc2 internal prototype to avoid an error.  */
3661
 
#ifdef __cplusplus
3662
 
extern "C"
3663
 
#endif
3664
 
/* We use char because int might match the return type of a gcc2
3665
 
   builtin and then its argument prototype would still apply.  */
3666
 
char res_search ();
3667
 
#ifdef F77_DUMMY_MAIN
3668
 
#  ifdef __cplusplus
3669
 
     extern "C"
3670
 
#  endif
3671
 
   int F77_DUMMY_MAIN() { return 1; }
3672
 
#endif
3673
 
int
3674
 
main ()
 
3990
#include <resolv.h>
 
3991
int main()
3675
3992
{
3676
 
res_search ();
3677
 
  ;
3678
 
  return 0;
 
3993
       res_search (0, 0, 0, 0, 0);
 
3994
       return 0;
3679
3995
}
3680
3996
_ACEOF
3681
3997
rm -f conftest.$ac_objext conftest$ac_exeext
3682
3998
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3683
 
  (eval $ac_link) 2>&5
 
3999
  (eval $ac_link) 2>conftest.er1
3684
4000
  ac_status=$?
 
4001
  grep -v '^ *+' conftest.er1 >conftest.err
 
4002
  rm -f conftest.er1
 
4003
  cat conftest.err >&5
3685
4004
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686
4005
  (exit $ac_status); } &&
3687
 
         { ac_try='test -s conftest$ac_exeext'
 
4006
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4007
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4008
  (eval $ac_try) 2>&5
 
4009
  ac_status=$?
 
4010
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4011
  (exit $ac_status); }; } &&
 
4012
         { ac_try='test -s conftest$ac_exeext'
3688
4013
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3689
4014
  (eval $ac_try) 2>&5
3690
4015
  ac_status=$?
3691
4016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692
4017
  (exit $ac_status); }; }; then
3693
 
  ac_cv_lib_resolv_res_search=yes
 
4018
  LIBS="$LIBS -lresolv"; RESOLV_LIB=-lresolv; echo "$as_me:$LINENO: result: yes" >&5
 
4019
echo "${ECHO_T}yes" >&6
3694
4020
else
3695
4021
  echo "$as_me: failed program was:" >&5
3696
 
cat conftest.$ac_ext >&5
3697
 
ac_cv_lib_resolv_res_search=no
3698
 
fi
3699
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3700
 
LIBS=$ac_check_lib_save_LIBS
3701
 
fi
3702
 
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
3703
 
echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6
3704
 
if test $ac_cv_lib_resolv_res_search = yes; then
3705
 
  LIBS="$LIBS -lresolv" ; RESOLV_LIB=-lresolv
3706
 
else
3707
 
  { { echo "$as_me:$LINENO: error: Cannot find resolver support routine res_search in -lresolv." >&5
3708
 
echo "$as_me: error: Cannot find resolver support routine res_search in -lresolv." >&2;}
3709
 
   { (exit 1); exit 1; }; }
3710
 
 
3711
 
fi
3712
 
 
3713
 
fi
3714
 
 
 
4022
sed 's/^/| /' conftest.$ac_ext >&5
 
4023
 
 
4024
LIBS="$saved_LIBS"; echo "$as_me:$LINENO: result: no" >&5
 
4025
echo "${ECHO_T}no" >&6
 
4026
fi
 
4027
rm -f conftest.err conftest.$ac_objext \
 
4028
      conftest$ac_exeext conftest.$ac_ext
3715
4029
  fi
3716
4030
 
3717
4031
 
3734
4048
  ac_check_lib_save_LIBS=$LIBS
3735
4049
LIBS="-lresolv  $LIBS"
3736
4050
cat >conftest.$ac_ext <<_ACEOF
3737
 
#line $LINENO "configure"
3738
 
#include "confdefs.h"
 
4051
/* confdefs.h.  */
 
4052
_ACEOF
 
4053
cat confdefs.h >>conftest.$ac_ext
 
4054
cat >>conftest.$ac_ext <<_ACEOF
 
4055
/* end confdefs.h.  */
3739
4056
 
3740
4057
/* Override any gcc2 internal prototype to avoid an error.  */
3741
4058
#ifdef __cplusplus
3744
4061
/* We use char because int might match the return type of a gcc2
3745
4062
   builtin and then its argument prototype would still apply.  */
3746
4063
char res_send ();
3747
 
#ifdef F77_DUMMY_MAIN
3748
 
#  ifdef __cplusplus
3749
 
     extern "C"
3750
 
#  endif
3751
 
   int F77_DUMMY_MAIN() { return 1; }
3752
 
#endif
3753
4064
int
3754
4065
main ()
3755
4066
{
3760
4071
_ACEOF
3761
4072
rm -f conftest.$ac_objext conftest$ac_exeext
3762
4073
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3763
 
  (eval $ac_link) 2>&5
 
4074
  (eval $ac_link) 2>conftest.er1
3764
4075
  ac_status=$?
 
4076
  grep -v '^ *+' conftest.er1 >conftest.err
 
4077
  rm -f conftest.er1
 
4078
  cat conftest.err >&5
3765
4079
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766
4080
  (exit $ac_status); } &&
3767
 
         { ac_try='test -s conftest$ac_exeext'
 
4081
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4082
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4083
  (eval $ac_try) 2>&5
 
4084
  ac_status=$?
 
4085
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4086
  (exit $ac_status); }; } &&
 
4087
         { ac_try='test -s conftest$ac_exeext'
3768
4088
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769
4089
  (eval $ac_try) 2>&5
3770
4090
  ac_status=$?
3773
4093
  ac_cv_lib_resolv_res_send=yes
3774
4094
else
3775
4095
  echo "$as_me: failed program was:" >&5
3776
 
cat conftest.$ac_ext >&5
 
4096
sed 's/^/| /' conftest.$ac_ext >&5
 
4097
 
3777
4098
ac_cv_lib_resolv_res_send=no
3778
4099
fi
3779
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4100
rm -f conftest.err conftest.$ac_objext \
 
4101
      conftest$ac_exeext conftest.$ac_ext
3780
4102
LIBS=$ac_check_lib_save_LIBS
3781
4103
fi
3782
4104
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
3842
4164
  echo $ECHO_N "(cached) $ECHO_C" >&6
3843
4165
else
3844
4166
  cat >conftest.$ac_ext <<_ACEOF
3845
 
#line $LINENO "configure"
3846
 
#include "confdefs.h"
 
4167
/* confdefs.h.  */
 
4168
_ACEOF
 
4169
cat confdefs.h >>conftest.$ac_ext
 
4170
cat >>conftest.$ac_ext <<_ACEOF
 
4171
/* end confdefs.h.  */
 
4172
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
4173
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4174
#define $ac_func innocuous_$ac_func
 
4175
 
3847
4176
/* System header to define __stub macros and hopefully few prototypes,
3848
 
    which can conflict with char $ac_func (); below.  */
3849
 
#include <assert.h>
 
4177
    which can conflict with char $ac_func (); below.
 
4178
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4179
    <limits.h> exists even on freestanding compilers.  */
 
4180
 
 
4181
#ifdef __STDC__
 
4182
# include <limits.h>
 
4183
#else
 
4184
# include <assert.h>
 
4185
#endif
 
4186
 
 
4187
#undef $ac_func
 
4188
 
3850
4189
/* Override any gcc2 internal prototype to avoid an error.  */
3851
4190
#ifdef __cplusplus
3852
4191
extern "C"
 
4192
{
3853
4193
#endif
3854
4194
/* We use char because int might match the return type of a gcc2
3855
4195
   builtin and then its argument prototype would still apply.  */
3856
4196
char $ac_func ();
3857
 
char (*f) ();
3858
 
 
3859
 
#ifdef F77_DUMMY_MAIN
3860
 
#  ifdef __cplusplus
3861
 
     extern "C"
3862
 
#  endif
3863
 
   int F77_DUMMY_MAIN() { return 1; }
3864
 
#endif
3865
 
int
3866
 
main ()
3867
 
{
3868
4197
/* The GNU C library defines this for functions which it implements
3869
4198
    to always fail with ENOSYS.  Some functions are actually named
3870
4199
    something starting with __ and the normal name is an alias.  */
3871
4200
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3872
4201
choke me
3873
4202
#else
3874
 
f = $ac_func;
 
4203
char (*f) () = $ac_func;
 
4204
#endif
 
4205
#ifdef __cplusplus
 
4206
}
3875
4207
#endif
3876
4208
 
 
4209
int
 
4210
main ()
 
4211
{
 
4212
return f != $ac_func;
3877
4213
  ;
3878
4214
  return 0;
3879
4215
}
3880
4216
_ACEOF
3881
4217
rm -f conftest.$ac_objext conftest$ac_exeext
3882
4218
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3883
 
  (eval $ac_link) 2>&5
 
4219
  (eval $ac_link) 2>conftest.er1
3884
4220
  ac_status=$?
 
4221
  grep -v '^ *+' conftest.er1 >conftest.err
 
4222
  rm -f conftest.er1
 
4223
  cat conftest.err >&5
3885
4224
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886
4225
  (exit $ac_status); } &&
3887
 
         { ac_try='test -s conftest$ac_exeext'
 
4226
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4227
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4228
  (eval $ac_try) 2>&5
 
4229
  ac_status=$?
 
4230
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4231
  (exit $ac_status); }; } &&
 
4232
         { ac_try='test -s conftest$ac_exeext'
3888
4233
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3889
4234
  (eval $ac_try) 2>&5
3890
4235
  ac_status=$?
3893
4238
  eval "$as_ac_var=yes"
3894
4239
else
3895
4240
  echo "$as_me: failed program was:" >&5
3896
 
cat conftest.$ac_ext >&5
 
4241
sed 's/^/| /' conftest.$ac_ext >&5
 
4242
 
3897
4243
eval "$as_ac_var=no"
3898
4244
fi
3899
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4245
rm -f conftest.err conftest.$ac_objext \
 
4246
      conftest$ac_exeext conftest.$ac_ext
3900
4247
fi
3901
4248
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3902
4249
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3906
4253
_ACEOF
3907
4254
 
3908
4255
else
3909
 
  LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 
4256
  case $LIBOBJS in
 
4257
    "$ac_func.$ac_objext"   | \
 
4258
  *" $ac_func.$ac_objext"   | \
 
4259
    "$ac_func.$ac_objext "* | \
 
4260
  *" $ac_func.$ac_objext "* ) ;;
 
4261
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
 
4262
esac
 
4263
 
3910
4264
fi
3911
4265
done
3912
4266
 
3925
4279
  echo $ECHO_N "(cached) $ECHO_C" >&6
3926
4280
else
3927
4281
  cat >conftest.$ac_ext <<_ACEOF
3928
 
#line $LINENO "configure"
3929
 
#include "confdefs.h"
 
4282
/* confdefs.h.  */
 
4283
_ACEOF
 
4284
cat confdefs.h >>conftest.$ac_ext
 
4285
cat >>conftest.$ac_ext <<_ACEOF
 
4286
/* end confdefs.h.  */
 
4287
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
4288
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4289
#define $ac_func innocuous_$ac_func
 
4290
 
3930
4291
/* System header to define __stub macros and hopefully few prototypes,
3931
 
    which can conflict with char $ac_func (); below.  */
3932
 
#include <assert.h>
 
4292
    which can conflict with char $ac_func (); below.
 
4293
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4294
    <limits.h> exists even on freestanding compilers.  */
 
4295
 
 
4296
#ifdef __STDC__
 
4297
# include <limits.h>
 
4298
#else
 
4299
# include <assert.h>
 
4300
#endif
 
4301
 
 
4302
#undef $ac_func
 
4303
 
3933
4304
/* Override any gcc2 internal prototype to avoid an error.  */
3934
4305
#ifdef __cplusplus
3935
4306
extern "C"
 
4307
{
3936
4308
#endif
3937
4309
/* We use char because int might match the return type of a gcc2
3938
4310
   builtin and then its argument prototype would still apply.  */
3939
4311
char $ac_func ();
3940
 
char (*f) ();
3941
 
 
3942
 
#ifdef F77_DUMMY_MAIN
3943
 
#  ifdef __cplusplus
3944
 
     extern "C"
3945
 
#  endif
3946
 
   int F77_DUMMY_MAIN() { return 1; }
3947
 
#endif
3948
 
int
3949
 
main ()
3950
 
{
3951
4312
/* The GNU C library defines this for functions which it implements
3952
4313
    to always fail with ENOSYS.  Some functions are actually named
3953
4314
    something starting with __ and the normal name is an alias.  */
3954
4315
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3955
4316
choke me
3956
4317
#else
3957
 
f = $ac_func;
 
4318
char (*f) () = $ac_func;
 
4319
#endif
 
4320
#ifdef __cplusplus
 
4321
}
3958
4322
#endif
3959
4323
 
 
4324
int
 
4325
main ()
 
4326
{
 
4327
return f != $ac_func;
3960
4328
  ;
3961
4329
  return 0;
3962
4330
}
3963
4331
_ACEOF
3964
4332
rm -f conftest.$ac_objext conftest$ac_exeext
3965
4333
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3966
 
  (eval $ac_link) 2>&5
 
4334
  (eval $ac_link) 2>conftest.er1
3967
4335
  ac_status=$?
 
4336
  grep -v '^ *+' conftest.er1 >conftest.err
 
4337
  rm -f conftest.er1
 
4338
  cat conftest.err >&5
3968
4339
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969
4340
  (exit $ac_status); } &&
3970
 
         { ac_try='test -s conftest$ac_exeext'
 
4341
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4342
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4343
  (eval $ac_try) 2>&5
 
4344
  ac_status=$?
 
4345
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4346
  (exit $ac_status); }; } &&
 
4347
         { ac_try='test -s conftest$ac_exeext'
3971
4348
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3972
4349
  (eval $ac_try) 2>&5
3973
4350
  ac_status=$?
3976
4353
  eval "$as_ac_var=yes"
3977
4354
else
3978
4355
  echo "$as_me: failed program was:" >&5
3979
 
cat conftest.$ac_ext >&5
 
4356
sed 's/^/| /' conftest.$ac_ext >&5
 
4357
 
3980
4358
eval "$as_ac_var=no"
3981
4359
fi
3982
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4360
rm -f conftest.err conftest.$ac_objext \
 
4361
      conftest$ac_exeext conftest.$ac_ext
3983
4362
fi
3984
4363
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3985
4364
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3991
4370
fi
3992
4371
done
3993
4372
 
 
4373
echo "$as_me:$LINENO: checking for egrep" >&5
 
4374
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 
4375
if test "${ac_cv_prog_egrep+set}" = set; then
 
4376
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4377
else
 
4378
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 
4379
    then ac_cv_prog_egrep='grep -E'
 
4380
    else ac_cv_prog_egrep='egrep'
 
4381
    fi
 
4382
fi
 
4383
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 
4384
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 
4385
 EGREP=$ac_cv_prog_egrep
 
4386
 
 
4387
 
3994
4388
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3995
4389
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3996
4390
if test "${ac_cv_header_stdc+set}" = set; then
3997
4391
  echo $ECHO_N "(cached) $ECHO_C" >&6
3998
4392
else
3999
4393
  cat >conftest.$ac_ext <<_ACEOF
4000
 
#line $LINENO "configure"
4001
 
#include "confdefs.h"
 
4394
/* confdefs.h.  */
 
4395
_ACEOF
 
4396
cat confdefs.h >>conftest.$ac_ext
 
4397
cat >>conftest.$ac_ext <<_ACEOF
 
4398
/* end confdefs.h.  */
4002
4399
#include <stdlib.h>
4003
4400
#include <stdarg.h>
4004
4401
#include <string.h>
4005
4402
#include <float.h>
4006
4403
 
 
4404
int
 
4405
main ()
 
4406
{
 
4407
 
 
4408
  ;
 
4409
  return 0;
 
4410
}
4007
4411
_ACEOF
4008
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4009
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4412
rm -f conftest.$ac_objext
 
4413
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4414
  (eval $ac_compile) 2>conftest.er1
4010
4415
  ac_status=$?
4011
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
4416
  grep -v '^ *+' conftest.er1 >conftest.err
4012
4417
  rm -f conftest.er1
4013
4418
  cat conftest.err >&5
4014
4419
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015
 
  (exit $ac_status); } >/dev/null; then
4016
 
  if test -s conftest.err; then
4017
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4018
 
  else
4019
 
    ac_cpp_err=
4020
 
  fi
4021
 
else
4022
 
  ac_cpp_err=yes
4023
 
fi
4024
 
if test -z "$ac_cpp_err"; then
 
4420
  (exit $ac_status); } &&
 
4421
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4422
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4423
  (eval $ac_try) 2>&5
 
4424
  ac_status=$?
 
4425
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4426
  (exit $ac_status); }; } &&
 
4427
         { ac_try='test -s conftest.$ac_objext'
 
4428
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4429
  (eval $ac_try) 2>&5
 
4430
  ac_status=$?
 
4431
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4432
  (exit $ac_status); }; }; then
4025
4433
  ac_cv_header_stdc=yes
4026
4434
else
4027
4435
  echo "$as_me: failed program was:" >&5
4028
 
  cat conftest.$ac_ext >&5
4029
 
  ac_cv_header_stdc=no
 
4436
sed 's/^/| /' conftest.$ac_ext >&5
 
4437
 
 
4438
ac_cv_header_stdc=no
4030
4439
fi
4031
 
rm -f conftest.err conftest.$ac_ext
 
4440
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4032
4441
 
4033
4442
if test $ac_cv_header_stdc = yes; then
4034
4443
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4035
4444
  cat >conftest.$ac_ext <<_ACEOF
4036
 
#line $LINENO "configure"
4037
 
#include "confdefs.h"
 
4445
/* confdefs.h.  */
 
4446
_ACEOF
 
4447
cat confdefs.h >>conftest.$ac_ext
 
4448
cat >>conftest.$ac_ext <<_ACEOF
 
4449
/* end confdefs.h.  */
4038
4450
#include <string.h>
4039
4451
 
4040
4452
_ACEOF
4041
4453
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4042
 
  egrep "memchr" >/dev/null 2>&1; then
 
4454
  $EGREP "memchr" >/dev/null 2>&1; then
4043
4455
  :
4044
4456
else
4045
4457
  ac_cv_header_stdc=no
4051
4463
if test $ac_cv_header_stdc = yes; then
4052
4464
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4053
4465
  cat >conftest.$ac_ext <<_ACEOF
4054
 
#line $LINENO "configure"
4055
 
#include "confdefs.h"
 
4466
/* confdefs.h.  */
 
4467
_ACEOF
 
4468
cat confdefs.h >>conftest.$ac_ext
 
4469
cat >>conftest.$ac_ext <<_ACEOF
 
4470
/* end confdefs.h.  */
4056
4471
#include <stdlib.h>
4057
4472
 
4058
4473
_ACEOF
4059
4474
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4060
 
  egrep "free" >/dev/null 2>&1; then
 
4475
  $EGREP "free" >/dev/null 2>&1; then
4061
4476
  :
4062
4477
else
4063
4478
  ac_cv_header_stdc=no
4072
4487
  :
4073
4488
else
4074
4489
  cat >conftest.$ac_ext <<_ACEOF
4075
 
#line $LINENO "configure"
4076
 
#include "confdefs.h"
 
4490
/* confdefs.h.  */
 
4491
_ACEOF
 
4492
cat confdefs.h >>conftest.$ac_ext
 
4493
cat >>conftest.$ac_ext <<_ACEOF
 
4494
/* end confdefs.h.  */
4077
4495
#include <ctype.h>
4078
4496
#if ((' ' & 0x0FF) == 0x020)
4079
4497
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4080
4498
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4081
4499
#else
4082
 
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4083
 
                     || ('j' <= (c) && (c) <= 'r') \
4084
 
                     || ('s' <= (c) && (c) <= 'z'))
 
4500
# define ISLOWER(c) \
 
4501
                   (('a' <= (c) && (c) <= 'i') \
 
4502
                     || ('j' <= (c) && (c) <= 'r') \
 
4503
                     || ('s' <= (c) && (c) <= 'z'))
4085
4504
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4086
4505
#endif
4087
4506
 
4092
4511
  int i;
4093
4512
  for (i = 0; i < 256; i++)
4094
4513
    if (XOR (islower (i), ISLOWER (i))
4095
 
        || toupper (i) != TOUPPER (i))
 
4514
        || toupper (i) != TOUPPER (i))
4096
4515
      exit(2);
4097
4516
  exit (0);
4098
4517
}
4112
4531
else
4113
4532
  echo "$as_me: program exited with status $ac_status" >&5
4114
4533
echo "$as_me: failed program was:" >&5
4115
 
cat conftest.$ac_ext >&5
 
4534
sed 's/^/| /' conftest.$ac_ext >&5
 
4535
 
4116
4536
( exit $ac_status )
4117
4537
ac_cv_header_stdc=no
4118
4538
fi
4119
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4539
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4120
4540
fi
4121
4541
fi
4122
4542
fi
4141
4561
 
4142
4562
 
4143
4563
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4144
 
                  inttypes.h stdint.h unistd.h
 
4564
                  inttypes.h stdint.h unistd.h
4145
4565
do
4146
4566
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4147
4567
echo "$as_me:$LINENO: checking for $ac_header" >&5
4150
4570
  echo $ECHO_N "(cached) $ECHO_C" >&6
4151
4571
else
4152
4572
  cat >conftest.$ac_ext <<_ACEOF
4153
 
#line $LINENO "configure"
4154
 
#include "confdefs.h"
 
4573
/* confdefs.h.  */
 
4574
_ACEOF
 
4575
cat confdefs.h >>conftest.$ac_ext
 
4576
cat >>conftest.$ac_ext <<_ACEOF
 
4577
/* end confdefs.h.  */
4155
4578
$ac_includes_default
4156
4579
 
4157
4580
#include <$ac_header>
4158
4581
_ACEOF
4159
4582
rm -f conftest.$ac_objext
4160
4583
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4161
 
  (eval $ac_compile) 2>&5
 
4584
  (eval $ac_compile) 2>conftest.er1
4162
4585
  ac_status=$?
 
4586
  grep -v '^ *+' conftest.er1 >conftest.err
 
4587
  rm -f conftest.er1
 
4588
  cat conftest.err >&5
4163
4589
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164
4590
  (exit $ac_status); } &&
4165
 
         { ac_try='test -s conftest.$ac_objext'
 
4591
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4592
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4593
  (eval $ac_try) 2>&5
 
4594
  ac_status=$?
 
4595
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4596
  (exit $ac_status); }; } &&
 
4597
         { ac_try='test -s conftest.$ac_objext'
4166
4598
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4167
4599
  (eval $ac_try) 2>&5
4168
4600
  ac_status=$?
4171
4603
  eval "$as_ac_Header=yes"
4172
4604
else
4173
4605
  echo "$as_me: failed program was:" >&5
4174
 
cat conftest.$ac_ext >&5
 
4606
sed 's/^/| /' conftest.$ac_ext >&5
 
4607
 
4175
4608
eval "$as_ac_Header=no"
4176
4609
fi
4177
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4610
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4178
4611
fi
4179
4612
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4180
4613
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4207
4640
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4208
4641
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4209
4642
cat >conftest.$ac_ext <<_ACEOF
4210
 
#line $LINENO "configure"
4211
 
#include "confdefs.h"
 
4643
/* confdefs.h.  */
 
4644
_ACEOF
 
4645
cat confdefs.h >>conftest.$ac_ext
 
4646
cat >>conftest.$ac_ext <<_ACEOF
 
4647
/* end confdefs.h.  */
4212
4648
$ac_includes_default
4213
4649
#include <$ac_header>
4214
4650
_ACEOF
4215
4651
rm -f conftest.$ac_objext
4216
4652
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4217
 
  (eval $ac_compile) 2>&5
 
4653
  (eval $ac_compile) 2>conftest.er1
4218
4654
  ac_status=$?
 
4655
  grep -v '^ *+' conftest.er1 >conftest.err
 
4656
  rm -f conftest.er1
 
4657
  cat conftest.err >&5
4219
4658
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220
4659
  (exit $ac_status); } &&
4221
 
         { ac_try='test -s conftest.$ac_objext'
 
4660
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4661
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4662
  (eval $ac_try) 2>&5
 
4663
  ac_status=$?
 
4664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4665
  (exit $ac_status); }; } &&
 
4666
         { ac_try='test -s conftest.$ac_objext'
4222
4667
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4223
4668
  (eval $ac_try) 2>&5
4224
4669
  ac_status=$?
4227
4672
  ac_header_compiler=yes
4228
4673
else
4229
4674
  echo "$as_me: failed program was:" >&5
4230
 
cat conftest.$ac_ext >&5
 
4675
sed 's/^/| /' conftest.$ac_ext >&5
 
4676
 
4231
4677
ac_header_compiler=no
4232
4678
fi
4233
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4679
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4234
4680
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4235
4681
echo "${ECHO_T}$ac_header_compiler" >&6
4236
4682
 
4238
4684
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4239
4685
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4240
4686
cat >conftest.$ac_ext <<_ACEOF
4241
 
#line $LINENO "configure"
4242
 
#include "confdefs.h"
 
4687
/* confdefs.h.  */
 
4688
_ACEOF
 
4689
cat confdefs.h >>conftest.$ac_ext
 
4690
cat >>conftest.$ac_ext <<_ACEOF
 
4691
/* end confdefs.h.  */
4243
4692
#include <$ac_header>
4244
4693
_ACEOF
4245
4694
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4246
4695
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4247
4696
  ac_status=$?
4248
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
4697
  grep -v '^ *+' conftest.er1 >conftest.err
4249
4698
  rm -f conftest.er1
4250
4699
  cat conftest.err >&5
4251
4700
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252
4701
  (exit $ac_status); } >/dev/null; then
4253
4702
  if test -s conftest.err; then
4254
4703
    ac_cpp_err=$ac_c_preproc_warn_flag
 
4704
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4255
4705
  else
4256
4706
    ac_cpp_err=
4257
4707
  fi
4262
4712
  ac_header_preproc=yes
4263
4713
else
4264
4714
  echo "$as_me: failed program was:" >&5
4265
 
  cat conftest.$ac_ext >&5
 
4715
sed 's/^/| /' conftest.$ac_ext >&5
 
4716
 
4266
4717
  ac_header_preproc=no
4267
4718
fi
4268
4719
rm -f conftest.err conftest.$ac_ext
4270
4721
echo "${ECHO_T}$ac_header_preproc" >&6
4271
4722
 
4272
4723
# So?  What about this header?
4273
 
case $ac_header_compiler:$ac_header_preproc in
4274
 
  yes:no )
 
4724
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
4725
  yes:no: )
4275
4726
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4276
4727
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4277
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4278
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4279
 
  no:yes )
 
4728
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4729
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4730
    ac_header_preproc=yes
 
4731
    ;;
 
4732
  no:yes:* )
4280
4733
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4281
4734
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4282
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4283
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
4735
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4736
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4737
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4738
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4739
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4740
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4284
4741
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4285
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
4742
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4743
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4744
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4745
    (
 
4746
      cat <<\_ASBOX
 
4747
## ------------------------------------------ ##
 
4748
## Report this to the AC_PACKAGE_NAME lists.  ##
 
4749
## ------------------------------------------ ##
 
4750
_ASBOX
 
4751
    ) |
 
4752
      sed "s/^/$as_me: WARNING:     /" >&2
 
4753
    ;;
4286
4754
esac
4287
4755
echo "$as_me:$LINENO: checking for $ac_header" >&5
4288
4756
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4289
4757
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4290
4758
  echo $ECHO_N "(cached) $ECHO_C" >&6
4291
4759
else
4292
 
  eval "$as_ac_Header=$ac_header_preproc"
 
4760
  eval "$as_ac_Header=\$ac_header_preproc"
4293
4761
fi
4294
4762
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4295
4763
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4323
4791
  echo $ECHO_N "(cached) $ECHO_C" >&6
4324
4792
else
4325
4793
  cat >conftest.$ac_ext <<_ACEOF
4326
 
#line $LINENO "configure"
4327
 
#include "confdefs.h"
 
4794
/* confdefs.h.  */
 
4795
_ACEOF
 
4796
cat confdefs.h >>conftest.$ac_ext
 
4797
cat >>conftest.$ac_ext <<_ACEOF
 
4798
/* end confdefs.h.  */
4328
4799
#include <stdlib.h>
4329
 
#ifdef F77_DUMMY_MAIN
4330
 
#  ifdef __cplusplus
4331
 
     extern "C"
4332
 
#  endif
4333
 
   int F77_DUMMY_MAIN() { return 1; }
4334
 
#endif
4335
4800
int
4336
4801
main ()
4337
4802
{
4345
4810
_ACEOF
4346
4811
rm -f conftest.$ac_objext
4347
4812
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4348
 
  (eval $ac_compile) 2>&5
 
4813
  (eval $ac_compile) 2>conftest.er1
4349
4814
  ac_status=$?
 
4815
  grep -v '^ *+' conftest.er1 >conftest.err
 
4816
  rm -f conftest.er1
 
4817
  cat conftest.err >&5
4350
4818
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351
4819
  (exit $ac_status); } &&
4352
 
         { ac_try='test -s conftest.$ac_objext'
 
4820
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4821
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4822
  (eval $ac_try) 2>&5
 
4823
  ac_status=$?
 
4824
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4825
  (exit $ac_status); }; } &&
 
4826
         { ac_try='test -s conftest.$ac_objext'
4353
4827
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4354
4828
  (eval $ac_try) 2>&5
4355
4829
  ac_status=$?
4358
4832
  krb5_cv_func_setenv_noproto=yes
4359
4833
else
4360
4834
  echo "$as_me: failed program was:" >&5
4361
 
cat conftest.$ac_ext >&5
 
4835
sed 's/^/| /' conftest.$ac_ext >&5
 
4836
 
4362
4837
krb5_cv_func_setenv_noproto=no
4363
4838
fi
4364
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4839
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4365
4840
fi
4366
4841
echo "$as_me:$LINENO: result: $krb5_cv_func_setenv_noproto" >&5
4367
4842
echo "${ECHO_T}$krb5_cv_func_setenv_noproto" >&6
4380
4855
  echo $ECHO_N "(cached) $ECHO_C" >&6
4381
4856
else
4382
4857
  cat >conftest.$ac_ext <<_ACEOF
4383
 
#line $LINENO "configure"
4384
 
#include "confdefs.h"
 
4858
/* confdefs.h.  */
 
4859
_ACEOF
 
4860
cat confdefs.h >>conftest.$ac_ext
 
4861
cat >>conftest.$ac_ext <<_ACEOF
 
4862
/* end confdefs.h.  */
4385
4863
 
4386
 
#ifdef F77_DUMMY_MAIN
4387
 
#  ifdef __cplusplus
4388
 
     extern "C"
4389
 
#  endif
4390
 
   int F77_DUMMY_MAIN() { return 1; }
4391
 
#endif
4392
4864
int
4393
4865
main ()
4394
4866
{
4445
4917
_ACEOF
4446
4918
rm -f conftest.$ac_objext
4447
4919
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4448
 
  (eval $ac_compile) 2>&5
 
4920
  (eval $ac_compile) 2>conftest.er1
4449
4921
  ac_status=$?
 
4922
  grep -v '^ *+' conftest.er1 >conftest.err
 
4923
  rm -f conftest.er1
 
4924
  cat conftest.err >&5
4450
4925
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451
4926
  (exit $ac_status); } &&
4452
 
         { ac_try='test -s conftest.$ac_objext'
 
4927
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4928
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4929
  (eval $ac_try) 2>&5
 
4930
  ac_status=$?
 
4931
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4932
  (exit $ac_status); }; } &&
 
4933
         { ac_try='test -s conftest.$ac_objext'
4453
4934
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4454
4935
  (eval $ac_try) 2>&5
4455
4936
  ac_status=$?
4458
4939
  ac_cv_c_const=yes
4459
4940
else
4460
4941
  echo "$as_me: failed program was:" >&5
4461
 
cat conftest.$ac_ext >&5
 
4942
sed 's/^/| /' conftest.$ac_ext >&5
 
4943
 
4462
4944
ac_cv_c_const=no
4463
4945
fi
4464
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4946
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4465
4947
fi
4466
4948
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4467
4949
echo "${ECHO_T}$ac_cv_c_const" >&6
4831
5313
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4832
5314
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4833
5315
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
5316
# OS/2's system install, which has a completely different semantic
4834
5317
# ./install, which can be erroneously created by make from ./install.sh.
4835
5318
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4836
5319
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4847
5330
case $as_dir/ in
4848
5331
  ./ | .// | /cC/* | \
4849
5332
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
5333
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4850
5334
  /usr/ucb/* ) ;;
4851
5335
  *)
4852
5336
    # OSF1 and SCO ODT 3.0 have their own names for install.
4854
5338
    # by default.
4855
5339
    for ac_prog in ginstall scoinst install; do
4856
5340
      for ac_exec_ext in '' $ac_executable_extensions; do
4857
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4858
 
          if test $ac_prog = install &&
4859
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4860
 
            # AIX install.  It has an incompatible calling convention.
4861
 
            :
4862
 
          elif test $ac_prog = install &&
4863
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4864
 
            # program-specific install script used by HP pwplus--don't use.
4865
 
            :
4866
 
          else
4867
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4868
 
            break 3
4869
 
          fi
4870
 
        fi
 
5341
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
5342
          if test $ac_prog = install &&
 
5343
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
5344
            # AIX install.  It has an incompatible calling convention.
 
5345
            :
 
5346
          elif test $ac_prog = install &&
 
5347
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
5348
            # program-specific install script used by HP pwplus--don't use.
 
5349
            :
 
5350
          else
 
5351
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
5352
            break 3
 
5353
          fi
 
5354
        fi
4871
5355
      done
4872
5356
    done
4873
5357
    ;;
4958
5442
 
4959
5443
 
4960
5444
 
4961
 
 ac_config_files="$ac_config_files ./Makefile:$krb5_pre_in:./Makefile.in:$krb5_post_in"
4962
 
 
4963
 
ac_config_commands="$ac_config_commands krb5_config_prefix"
 
5445
 
 
5446
           ac_config_files="$ac_config_files ./Makefile:$krb5_pre_in:./Makefile.in:$krb5_post_in"
 
5447
 
 
5448
          ac_config_commands="$ac_config_commands krb5_config_prefix"
4964
5449
 
4965
5450
cat >confcache <<\_ACEOF
4966
5451
# This file is a shell script that caches the results of configure
4972
5457
# config.status only pays attention to the cache file if you give it
4973
5458
# the --recheck option to rerun configure.
4974
5459
#
4975
 
# `ac_cv_env_foo' variables (set or unset) will be overriden when
 
5460
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4976
5461
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4977
5462
# following values.
4978
5463
 
4990
5475
      # `set' does not quote correctly, so add quotes (double-quote
4991
5476
      # substitution turns \\\\ into \\, and sed turns \\ into \).
4992
5477
      sed -n \
4993
 
        "s/'/'\\\\''/g;
4994
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
5478
        "s/'/'\\\\''/g;
 
5479
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4995
5480
      ;;
4996
5481
    *)
4997
5482
      # `set' quotes correctly as required by POSIX, so do not add quotes.
4998
5483
      sed -n \
4999
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
5484
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5000
5485
      ;;
5001
5486
    esac;
5002
5487
} |
5007
5492
     t end
5008
5493
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5009
5494
     : end' >>confcache
5010
 
if cmp -s $cache_file confcache; then :; else
 
5495
if diff $cache_file confcache >/dev/null 2>&1; then :; else
5011
5496
  if test -w $cache_file; then
5012
5497
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5013
5498
    cat confcache >$cache_file
5026
5511
# trailing colons and then remove the whole line if VPATH becomes empty
5027
5512
# (actually we leave an empty line to preserve line numbers).
5028
5513
if test "x$srcdir" = x.; then
5029
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
5514
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
5030
5515
s/:*\$(srcdir):*/:/;
5031
5516
s/:*\${srcdir}:*/:/;
5032
5517
s/:*@srcdir@:*/:/;
5033
 
s/^\([^=]*=[    ]*\):*/\1/;
 
5518
s/^\([^=]*=[     ]*\):*/\1/;
5034
5519
s/:*$//;
5035
 
s/^[^=]*=[      ]*$//;
 
5520
s/^[^=]*=[       ]*$//;
5036
5521
}'
5037
5522
fi
5038
5523
 
5046
5531
cat >confdef2opt.sed <<\_ACEOF
5047
5532
t clear
5048
5533
: clear
5049
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
 
5534
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
5050
5535
t quote
5051
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
 
5536
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
5052
5537
t quote
5053
5538
d
5054
5539
: quote
5055
 
s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
 
5540
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
5056
5541
s,\[,\\&,g
5057
5542
s,\],\\&,g
5058
5543
s,\$,$$,g
5069
5554
rm -f confdef2opt.sed
5070
5555
 
5071
5556
 
 
5557
ac_libobjs=
 
5558
ac_ltlibobjs=
 
5559
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
5560
  # 1. Remove the extension, and $U if already installed.
 
5561
  ac_i=`echo "$ac_i" |
 
5562
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
5563
  # 2. Add them.
 
5564
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
5565
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
5566
done
 
5567
LIBOBJS=$ac_libobjs
 
5568
 
 
5569
LTLIBOBJS=$ac_ltlibobjs
 
5570
 
 
5571
 
5072
5572
 
5073
5573
: ${CONFIG_STATUS=./config.status}
5074
5574
ac_clean_files_save=$ac_clean_files
5083
5583
# configure, is in config.log if it exists.
5084
5584
 
5085
5585
debug=false
 
5586
ac_cs_recheck=false
 
5587
ac_cs_silent=false
5086
5588
SHELL=\${CONFIG_SHELL-$SHELL}
5087
5589
_ACEOF
5088
5590
 
5089
5591
cat >>$CONFIG_STATUS <<\_ACEOF
5090
 
 
5091
5592
## --------------------- ##
5092
5593
## M4sh Initialization.  ##
5093
5594
## --------------------- ##
5096
5597
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5097
5598
  emulate sh
5098
5599
  NULLCMD=:
 
5600
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
5601
  # is contrary to our usage.  Disable this feature.
 
5602
  alias -g '${1+"$@"}'='"$@"'
5099
5603
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5100
5604
  set -o posix
5101
5605
fi
 
5606
DUALCASE=1; export DUALCASE # for MKS sh
5102
5607
 
5103
 
# NLS nuisances.
5104
5608
# Support unset when possible.
5105
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
5609
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5106
5610
  as_unset=unset
5107
5611
else
5108
5612
  as_unset=false
5109
5613
fi
5110
5614
 
5111
 
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
5112
 
    { $as_unset LANG || test "${LANG+set}" != set; } ||
5113
 
      { LANG=C; export LANG; }
5114
 
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
5115
 
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
5116
 
      { LC_ALL=C; export LC_ALL; }
5117
 
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
5118
 
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
5119
 
      { LC_TIME=C; export LC_TIME; }
5120
 
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
5121
 
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
5122
 
      { LC_CTYPE=C; export LC_CTYPE; }
5123
 
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
5124
 
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
5125
 
      { LANGUAGE=C; export LANGUAGE; }
5126
 
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
5127
 
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
5128
 
      { LC_COLLATE=C; export LC_COLLATE; }
5129
 
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
5130
 
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
5131
 
      { LC_NUMERIC=C; export LC_NUMERIC; }
5132
 
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
5133
 
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
5134
 
      { LC_MESSAGES=C; export LC_MESSAGES; }
 
5615
 
 
5616
# Work around bugs in pre-3.0 UWIN ksh.
 
5617
$as_unset ENV MAIL MAILPATH
 
5618
PS1='$ '
 
5619
PS2='> '
 
5620
PS4='+ '
 
5621
 
 
5622
# NLS nuisances.
 
5623
for as_var in \
 
5624
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
5625
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
5626
  LC_TELEPHONE LC_TIME
 
5627
do
 
5628
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
5629
    eval $as_var=C; export $as_var
 
5630
  else
 
5631
    $as_unset $as_var
 
5632
  fi
 
5633
done
 
5634
 
 
5635
# Required to use basename.
 
5636
if expr a : '\(a\)' >/dev/null 2>&1; then
 
5637
  as_expr=expr
 
5638
else
 
5639
  as_expr=false
 
5640
fi
 
5641
 
 
5642
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
5643
  as_basename=basename
 
5644
else
 
5645
  as_basename=false
 
5646
fi
5135
5647
 
5136
5648
 
5137
5649
# Name of the executable.
5138
 
as_me=`(basename "$0") 2>/dev/null ||
 
5650
as_me=`$as_basename "$0" ||
5139
5651
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5140
5652
         X"$0" : 'X\(//\)$' \| \
5141
5653
         X"$0" : 'X\(/\)$' \| \
5146
5658
          /^X\/\(\/\).*/{ s//\1/; q; }
5147
5659
          s/.*/./; q'`
5148
5660
 
 
5661
 
5149
5662
# PATH needs CR, and LINENO needs CR and PATH.
5150
5663
# Avoid depending upon Character Ranges.
5151
5664
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5156
5669
 
5157
5670
# The user is always right.
5158
5671
if test "${PATH_SEPARATOR+set}" != set; then
5159
 
  echo "#! /bin/sh" >conftest.sh
5160
 
  echo  "exit 0"   >>conftest.sh
5161
 
  chmod +x conftest.sh
5162
 
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
 
5672
  echo "#! /bin/sh" >conf$$.sh
 
5673
  echo  "exit 0"   >>conf$$.sh
 
5674
  chmod +x conf$$.sh
 
5675
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5163
5676
    PATH_SEPARATOR=';'
5164
5677
  else
5165
5678
    PATH_SEPARATOR=:
5166
5679
  fi
5167
 
  rm -f conftest.sh
 
5680
  rm -f conf$$.sh
5168
5681
fi
5169
5682
 
5170
5683
 
5213
5726
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5214
5727
  test "x$as_lineno_1" != "x$as_lineno_2" &&
5215
5728
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
5729
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
5730
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5216
5731
             CONFIG_SHELL=$as_dir/$as_base
5217
5732
             export CONFIG_SHELL
5218
5733
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5286
5801
fi
5287
5802
rm -f conf$$ conf$$.exe conf$$.file
5288
5803
 
 
5804
if mkdir -p . 2>/dev/null; then
 
5805
  as_mkdir_p=:
 
5806
else
 
5807
  test -d ./-p && rmdir ./-p
 
5808
  as_mkdir_p=false
 
5809
fi
 
5810
 
5289
5811
as_executable_p="test -f"
5290
5812
 
5291
5813
# Sed expression to map a string onto a valid CPP name.
5292
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
5814
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5293
5815
 
5294
5816
# Sed expression to map a string onto a valid variable name.
5295
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
5817
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5296
5818
 
5297
5819
 
5298
5820
# IFS
5302
5824
IFS="   $as_nl"
5303
5825
 
5304
5826
# CDPATH.
5305
 
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
 
5827
$as_unset CDPATH
5306
5828
 
5307
5829
exec 6>&1
5308
5830
 
5319
5841
cat >&5 <<_CSEOF
5320
5842
 
5321
5843
This file was extended by $as_me, which was
5322
 
generated by GNU Autoconf 2.53.  Invocation command line was
 
5844
generated by GNU Autoconf 2.59.  Invocation command line was
5323
5845
 
5324
5846
  CONFIG_FILES    = $CONFIG_FILES
5325
5847
  CONFIG_HEADERS  = $CONFIG_HEADERS
5359
5881
 
5360
5882
  -h, --help       print this help, then exit
5361
5883
  -V, --version    print version number, then exit
 
5884
  -q, --quiet      do not print progress messages
5362
5885
  -d, --debug      don't remove temporary files
5363
5886
      --recheck    update $as_me by reconfiguring in the same conditions
5364
5887
  --file=FILE[:TEMPLATE]
5365
 
                   instantiate the configuration file FILE
 
5888
                   instantiate the configuration file FILE
5366
5889
 
5367
5890
Configuration files:
5368
5891
$config_files
5376
5899
cat >>$CONFIG_STATUS <<_ACEOF
5377
5900
ac_cs_version="\\
5378
5901
config.status
5379
 
configured by $0, generated by GNU Autoconf 2.53,
 
5902
configured by $0, generated by GNU Autoconf 2.59,
5380
5903
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5381
5904
 
5382
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5383
 
Free Software Foundation, Inc.
 
5905
Copyright (C) 2003 Free Software Foundation, Inc.
5384
5906
This config.status script is free software; the Free Software Foundation
5385
5907
gives unlimited permission to copy, distribute and modify it."
5386
5908
srcdir=$srcdir
5397
5919
  --*=*)
5398
5920
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
5399
5921
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5400
 
    shift
5401
 
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
5402
 
    shift
5403
 
    ;;
5404
 
  -*);;
 
5922
    ac_shift=:
 
5923
    ;;
 
5924
  -*)
 
5925
    ac_option=$1
 
5926
    ac_optarg=$2
 
5927
    ac_shift=shift
 
5928
    ;;
5405
5929
  *) # This is not an option, so the user has probably given explicit
5406
5930
     # arguments.
 
5931
     ac_option=$1
5407
5932
     ac_need_defaults=false;;
5408
5933
  esac
5409
5934
 
5410
 
  case $1 in
 
5935
  case $ac_option in
5411
5936
  # Handling of the options.
5412
5937
_ACEOF
5413
 
cat >>$CONFIG_STATUS <<_ACEOF
 
5938
cat >>$CONFIG_STATUS <<\_ACEOF
5414
5939
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5415
 
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5416
 
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5417
 
_ACEOF
5418
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5940
    ac_cs_recheck=: ;;
5419
5941
  --version | --vers* | -V )
5420
5942
    echo "$ac_cs_version"; exit 0 ;;
5421
5943
  --he | --h)
5430
5952
  --debug | --d* | -d )
5431
5953
    debug=: ;;
5432
5954
  --file | --fil | --fi | --f )
5433
 
    shift
5434
 
    CONFIG_FILES="$CONFIG_FILES $1"
 
5955
    $ac_shift
 
5956
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5435
5957
    ac_need_defaults=false;;
5436
5958
  --header | --heade | --head | --hea )
5437
 
    shift
5438
 
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
 
5959
    $ac_shift
 
5960
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5439
5961
    ac_need_defaults=false;;
 
5962
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
5963
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
5964
    ac_cs_silent=: ;;
5440
5965
 
5441
5966
  # This is an error.
5442
5967
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5451
5976
  shift
5452
5977
done
5453
5978
 
 
5979
ac_configure_extra_args=
 
5980
 
 
5981
if $ac_cs_silent; then
 
5982
  exec 6>/dev/null
 
5983
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
5984
fi
 
5985
 
 
5986
_ACEOF
 
5987
cat >>$CONFIG_STATUS <<_ACEOF
 
5988
if \$ac_cs_recheck; then
 
5989
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
5990
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
5991
fi
 
5992
 
5454
5993
_ACEOF
5455
5994
 
5456
5995
cat >>$CONFIG_STATUS <<_ACEOF
5488
6027
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5489
6028
fi
5490
6029
 
 
6030
# Have a temporary directory for convenience.  Make it in the build tree
 
6031
# simply because there is no reason to put it here, and in addition,
 
6032
# creating and moving files from /tmp can sometimes cause problems.
5491
6033
# Create a temporary directory, and hook for its removal unless debugging.
5492
6034
$debug ||
5493
6035
{
5496
6038
}
5497
6039
 
5498
6040
# Create a (secure) tmp directory for tmp files.
5499
 
: ${TMPDIR=/tmp}
 
6041
 
5500
6042
{
5501
 
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
 
6043
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5502
6044
  test -n "$tmp" && test -d "$tmp"
5503
6045
}  ||
5504
6046
{
5505
 
  tmp=$TMPDIR/cs$$-$RANDOM
 
6047
  tmp=./confstat$$-$RANDOM
5506
6048
  (umask 077 && mkdir $tmp)
5507
6049
} ||
5508
6050
{
5509
 
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
 
6051
   echo "$me: cannot create a temporary directory in ." >&2
5510
6052
   { (exit 1); exit 1; }
5511
6053
}
5512
6054
 
5590
6132
s,@AUTOHEADERFLAGS@,$AUTOHEADERFLAGS,;t t
5591
6133
s,@CONFIG_RELTOPDIR@,$CONFIG_RELTOPDIR,;t t
5592
6134
s,@subdirs@,$subdirs,;t t
5593
 
/@lib_frag@/r $lib_frag
5594
 
s,@lib_frag@,,;t t
5595
 
/@libobj_frag@/r $libobj_frag
5596
 
s,@libobj_frag@,,;t t
5597
6135
s,@LIBOBJS@,$LIBOBJS,;t t
 
6136
s,@EGREP@,$EGREP,;t t
5598
6137
s,@SETENVSRC@,$SETENVSRC,;t t
5599
6138
s,@SETENVOBJ@,$SETENVOBJ,;t t
5600
6139
s,@build@,$build,;t t
5633
6172
s,@SHOBJEXT@,$SHOBJEXT,;t t
5634
6173
s,@PFOBJEXT@,$PFOBJEXT,;t t
5635
6174
s,@PICFLAGS@,$PICFLAGS,;t t
 
6175
s,@SHLIBVERDEP@,$SHLIBVERDEP,;t t
5636
6176
s,@PROFFLAGS@,$PROFFLAGS,;t t
 
6177
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 
6178
/@lib_frag@/r $lib_frag
 
6179
s,@lib_frag@,,;t t
 
6180
/@libobj_frag@/r $libobj_frag
 
6181
s,@libobj_frag@,,;t t
5637
6182
CEOF
5638
6183
 
5639
6184
_ACEOF
5663
6208
      (echo ':t
5664
6209
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5665
6210
      if test -z "$ac_sed_cmds"; then
5666
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
6211
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5667
6212
      else
5668
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
6213
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5669
6214
      fi
5670
6215
      ac_sed_frag=`expr $ac_sed_frag + 1`
5671
6216
      ac_beg=$ac_end
5683
6228
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5684
6229
  case $ac_file in
5685
6230
  - | *:- | *:-:* ) # input from stdin
5686
 
        cat >$tmp/stdin
5687
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5688
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
6231
        cat >$tmp/stdin
 
6232
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
6233
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5689
6234
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5690
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
6235
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5691
6236
  * )   ac_file_in=$ac_file.in ;;
5692
6237
  esac
5693
6238
 
5694
6239
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5695
6240
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5696
6241
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5697
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
5698
 
         X"$ac_file" : 'X\(//\)$' \| \
5699
 
         X"$ac_file" : 'X\(/\)' \| \
5700
 
         .     : '\(.\)' 2>/dev/null ||
 
6242
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
6243
         X"$ac_file" : 'X\(//\)$' \| \
 
6244
         X"$ac_file" : 'X\(/\)' \| \
 
6245
         .     : '\(.\)' 2>/dev/null ||
5701
6246
echo X"$ac_file" |
5702
6247
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5703
6248
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5704
6249
          /^X\(\/\/\)$/{ s//\1/; q; }
5705
6250
          /^X\(\/\).*/{ s//\1/; q; }
5706
6251
          s/.*/./; q'`
5707
 
  { case "$ac_dir" in
5708
 
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5709
 
  *)                      as_incr_dir=.;;
5710
 
esac
5711
 
as_dummy="$ac_dir"
5712
 
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5713
 
  case $as_mkdir_dir in
5714
 
    # Skip DOS drivespec
5715
 
    ?:) as_incr_dir=$as_mkdir_dir ;;
5716
 
    *)
5717
 
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
5718
 
      test -d "$as_incr_dir" ||
5719
 
        mkdir "$as_incr_dir" ||
5720
 
        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5721
 
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5722
 
   { (exit 1); exit 1; }; }
5723
 
    ;;
5724
 
  esac
5725
 
done; }
 
6252
  { if $as_mkdir_p; then
 
6253
    mkdir -p "$ac_dir"
 
6254
  else
 
6255
    as_dir="$ac_dir"
 
6256
    as_dirs=
 
6257
    while test ! -d "$as_dir"; do
 
6258
      as_dirs="$as_dir $as_dirs"
 
6259
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
6260
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6261
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6262
         X"$as_dir" : 'X\(//\)$' \| \
 
6263
         X"$as_dir" : 'X\(/\)' \| \
 
6264
         .     : '\(.\)' 2>/dev/null ||
 
6265
echo X"$as_dir" |
 
6266
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
6267
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
6268
          /^X\(\/\/\)$/{ s//\1/; q; }
 
6269
          /^X\(\/\).*/{ s//\1/; q; }
 
6270
          s/.*/./; q'`
 
6271
    done
 
6272
    test ! -n "$as_dirs" || mkdir $as_dirs
 
6273
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
6274
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
6275
   { (exit 1); exit 1; }; }; }
5726
6276
 
5727
6277
  ac_builddir=.
5728
6278
 
5749
6299
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5750
6300
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5751
6301
esac
5752
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5753
 
# absolute.
5754
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5755
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5756
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5757
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
6302
 
 
6303
# Do not use `cd foo && pwd` to compute absolute paths, because
 
6304
# the directories may not exist.
 
6305
case `pwd` in
 
6306
.) ac_abs_builddir="$ac_dir";;
 
6307
*)
 
6308
  case "$ac_dir" in
 
6309
  .) ac_abs_builddir=`pwd`;;
 
6310
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
6311
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
6312
  esac;;
 
6313
esac
 
6314
case $ac_abs_builddir in
 
6315
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6316
*)
 
6317
  case ${ac_top_builddir}. in
 
6318
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
6319
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6320
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
6321
  esac;;
 
6322
esac
 
6323
case $ac_abs_builddir in
 
6324
.) ac_abs_srcdir=$ac_srcdir;;
 
6325
*)
 
6326
  case $ac_srcdir in
 
6327
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
6328
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
6329
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
6330
  esac;;
 
6331
esac
 
6332
case $ac_abs_builddir in
 
6333
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6334
*)
 
6335
  case $ac_top_srcdir in
 
6336
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
6337
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6338
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
6339
  esac;;
 
6340
esac
5758
6341
 
5759
6342
 
5760
6343
  case $INSTALL in
5762
6345
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5763
6346
  esac
5764
6347
 
5765
 
  if test x"$ac_file" != x-; then
5766
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
5767
 
echo "$as_me: creating $ac_file" >&6;}
5768
 
    rm -f "$ac_file"
5769
 
  fi
5770
6348
  # Let's still pretend it is `configure' which instantiates (i.e., don't
5771
6349
  # use $as_me), people would be surprised to read:
5772
6350
  #    /* config.h.  Generated by config.status.  */
5776
6354
    configure_input="$ac_file.  "
5777
6355
  fi
5778
6356
  configure_input=$configure_input"Generated from `echo $ac_file_in |
5779
 
                                     sed 's,.*/,,'` by configure."
 
6357
                                     sed 's,.*/,,'` by configure."
5780
6358
 
5781
6359
  # First look for the input files in the build tree, otherwise in the
5782
6360
  # src tree.
5785
6363
      case $f in
5786
6364
      -) echo $tmp/stdin ;;
5787
6365
      [\\/$]*)
5788
 
         # Absolute (can't be DOS-style, as IFS=:)
5789
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
6366
         # Absolute (can't be DOS-style, as IFS=:)
 
6367
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5790
6368
echo "$as_me: error: cannot find input file: $f" >&2;}
5791
6369
   { (exit 1); exit 1; }; }
5792
 
         echo $f;;
 
6370
         echo "$f";;
5793
6371
      *) # Relative
5794
 
         if test -f "$f"; then
5795
 
           # Build tree
5796
 
           echo $f
5797
 
         elif test -f "$srcdir/$f"; then
5798
 
           # Source tree
5799
 
           echo $srcdir/$f
5800
 
         else
5801
 
           # /dev/null tree
5802
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
6372
         if test -f "$f"; then
 
6373
           # Build tree
 
6374
           echo "$f"
 
6375
         elif test -f "$srcdir/$f"; then
 
6376
           # Source tree
 
6377
           echo "$srcdir/$f"
 
6378
         else
 
6379
           # /dev/null tree
 
6380
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5803
6381
echo "$as_me: error: cannot find input file: $f" >&2;}
5804
6382
   { (exit 1); exit 1; }; }
5805
 
         fi;;
 
6383
         fi;;
5806
6384
      esac
5807
6385
    done` || { (exit 1); exit 1; }
 
6386
 
 
6387
  if test x"$ac_file" != x-; then
 
6388
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
6389
echo "$as_me: creating $ac_file" >&6;}
 
6390
    rm -f "$ac_file"
 
6391
  fi
5808
6392
_ACEOF
5809
6393
cat >>$CONFIG_STATUS <<_ACEOF
5810
6394
  sed "$ac_vpsub
5844
6428
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5845
6429
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5846
6430
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5847
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
5848
 
         X"$ac_dest" : 'X\(//\)$' \| \
5849
 
         X"$ac_dest" : 'X\(/\)' \| \
5850
 
         .     : '\(.\)' 2>/dev/null ||
 
6431
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
6432
         X"$ac_dest" : 'X\(//\)$' \| \
 
6433
         X"$ac_dest" : 'X\(/\)' \| \
 
6434
         .     : '\(.\)' 2>/dev/null ||
5851
6435
echo X"$ac_dest" |
5852
6436
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5853
6437
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5854
6438
          /^X\(\/\/\)$/{ s//\1/; q; }
5855
6439
          /^X\(\/\).*/{ s//\1/; q; }
5856
6440
          s/.*/./; q'`
 
6441
  { if $as_mkdir_p; then
 
6442
    mkdir -p "$ac_dir"
 
6443
  else
 
6444
    as_dir="$ac_dir"
 
6445
    as_dirs=
 
6446
    while test ! -d "$as_dir"; do
 
6447
      as_dirs="$as_dir $as_dirs"
 
6448
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
6449
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6450
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6451
         X"$as_dir" : 'X\(//\)$' \| \
 
6452
         X"$as_dir" : 'X\(/\)' \| \
 
6453
         .     : '\(.\)' 2>/dev/null ||
 
6454
echo X"$as_dir" |
 
6455
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
6456
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
6457
          /^X\(\/\/\)$/{ s//\1/; q; }
 
6458
          /^X\(\/\).*/{ s//\1/; q; }
 
6459
          s/.*/./; q'`
 
6460
    done
 
6461
    test ! -n "$as_dirs" || mkdir $as_dirs
 
6462
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
6463
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
6464
   { (exit 1); exit 1; }; }; }
 
6465
 
5857
6466
  ac_builddir=.
5858
6467
 
5859
6468
if test "$ac_dir" != .; then
5879
6488
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5880
6489
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5881
6490
esac
5882
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5883
 
# absolute.
5884
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5885
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5886
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5887
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
6491
 
 
6492
# Do not use `cd foo && pwd` to compute absolute paths, because
 
6493
# the directories may not exist.
 
6494
case `pwd` in
 
6495
.) ac_abs_builddir="$ac_dir";;
 
6496
*)
 
6497
  case "$ac_dir" in
 
6498
  .) ac_abs_builddir=`pwd`;;
 
6499
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
6500
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
6501
  esac;;
 
6502
esac
 
6503
case $ac_abs_builddir in
 
6504
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6505
*)
 
6506
  case ${ac_top_builddir}. in
 
6507
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
6508
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6509
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
6510
  esac;;
 
6511
esac
 
6512
case $ac_abs_builddir in
 
6513
.) ac_abs_srcdir=$ac_srcdir;;
 
6514
*)
 
6515
  case $ac_srcdir in
 
6516
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
6517
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
6518
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
6519
  esac;;
 
6520
esac
 
6521
case $ac_abs_builddir in
 
6522
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6523
*)
 
6524
  case $ac_top_srcdir in
 
6525
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
6526
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6527
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
6528
  esac;;
 
6529
esac
5888
6530
 
5889
6531
 
5890
6532
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5910
6552
# need to make the FD available again.
5911
6553
if test "$no_create" != yes; then
5912
6554
  ac_cs_success=:
 
6555
  ac_config_status_args=
 
6556
  test "$silent" = yes &&
 
6557
    ac_config_status_args="$ac_config_status_args --quiet"
5913
6558
  exec 5>/dev/null
5914
 
  $SHELL $CONFIG_STATUS || ac_cs_success=false
 
6559
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5915
6560
  exec 5>>config.log
5916
6561
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5917
6562
  # would make configure fail if this is the last instruction.