2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.62 for squid_kerb_auth 1.0.5.
5
# Report bugs to <markus_moeller@compuserve.com>.
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
# is contrary to our usage. Disable this feature.
22
alias -g '${1+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83
# Support unset when possible.
84
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92
# We need space, tab and new line, in precisely that order. Quoting is
93
# there to prevent editors from complaining about space-tab.
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95
# splitting by setting IFS to empty value.)
98
# Find who we are. Look in the path if we contain no directory separator.
100
*[\\/]* ) as_myself=$0 ;;
101
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105
test -z "$as_dir" && as_dir=.
106
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112
# We did not find ourselves, most probably we were run as `sh COMMAND'
113
# in which case we are not to be found in the path.
114
if test "x$as_myself" = x; then
117
if test ! -f "$as_myself"; then
118
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
{ (exit 1); exit 1; }
122
# Work around bugs in pre-3.0 UWIN ksh.
123
for as_var in ENV MAIL MAILPATH
124
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136
# Required to use basename.
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
test "X`expr 00001 : '.*\(...\)'`" = X001; then
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151
# Name of the executable.
152
as_me=`$as_basename -- "$0" ||
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
X"$0" : 'X\(//\)$' \| \
155
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157
sed '/^.*\/\([^/][^/]*\)\/*$/{
175
if test "x$CONFIG_SHELL" = x; then
176
if (eval ":") 2>/dev/null; then
182
if test $as_have_required = yes && (eval ":
192
as_func_ret_success () {
195
as_func_ret_failure () {
200
if as_func_success; then
204
echo as_func_success failed.
207
if as_func_failure; then
209
echo as_func_failure succeeded.
212
if as_func_ret_success; then
216
echo as_func_ret_success failed.
219
if as_func_ret_failure; then
221
echo as_func_ret_failure succeeded.
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228
echo positional parameters were not saved.
231
test \$exitcode = 0) || { (exit 1); exit 1; }
236
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
") 2> /dev/null; then
242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246
test -z "$as_dir" && as_dir=.
249
for as_base in sh bash ksh sh5; do
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257
for as_shell in $as_candidate_shells $SHELL; do
258
# Try only shells that exist, to save several forks.
259
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
{ ("$as_shell") 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
279
CONFIG_SHELL=$as_shell
281
if { "$as_shell" 2> /dev/null <<\_ASEOF
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
# is contrary to our usage. Disable this feature.
287
alias -g '${1+"$@"}'='"$@"'
290
case `(set -o) 2>/dev/null` in
291
*posix*) set -o posix ;;
307
as_func_ret_success () {
310
as_func_ret_failure () {
315
if as_func_success; then
319
echo as_func_success failed.
322
if as_func_failure; then
324
echo as_func_failure succeeded.
327
if as_func_ret_success; then
331
echo as_func_ret_success failed.
334
if as_func_ret_failure; then
336
echo as_func_ret_failure succeeded.
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
343
echo positional parameters were not saved.
346
test $exitcode = 0) || { (exit 1); exit 1; }
351
test "x$as_lineno_1" != "x$as_lineno_2" &&
352
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363
if test "x$CONFIG_SHELL" != x; then
364
for as_var in BASH_ENV ENV
365
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372
if test $as_have_required = no; then
373
echo This script requires a shell more modern than all the
374
echo shells that I found on your system. Please install a
375
echo modern shell, or manually run the script under such a
376
echo shell if you do have one.
377
{ (exit 1); exit 1; }
387
(eval "as_func_return () {
396
as_func_ret_success () {
399
as_func_ret_failure () {
404
if as_func_success; then
408
echo as_func_success failed.
411
if as_func_failure; then
413
echo as_func_failure succeeded.
416
if as_func_ret_success; then
420
echo as_func_ret_success failed.
423
if as_func_ret_failure; then
425
echo as_func_ret_failure succeeded.
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432
echo positional parameters were not saved.
435
test \$exitcode = 0") || {
436
echo No shell found that supports shell functions.
437
echo Please tell bug-autoconf@gnu.org about your system,
438
echo including any error possibly output before this message.
439
echo This can help us improve future autoconf versions.
440
echo Configuration will now proceed without shell functions.
447
test "x$as_lineno_1" != "x$as_lineno_2" &&
448
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
# uniformly replaced by the line number. The first 'sed' inserts a
452
# line-number line after each line using $LINENO; the second 'sed'
453
# does the real work. The second script uses 'N' to pair each
454
# line-number line with the line containing $LINENO, and appends
455
# trailing '-' during substitution so that $LINENO is not a special
457
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
# scripts with optimization help from Paolo Bonzini. Blame Lee
459
# E. McMahon (1931-1989) for sed's syntax. :-)
471
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475
chmod +x "$as_me.lineno" ||
476
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
{ (exit 1); exit 1; }; }
479
# Don't try to exec as it changes $[0], causing all sort of problems
480
# (the dirname of $[0] is not the place where we might find the
481
# original and so on. Autoconf is especially sensitive to this).
483
# Exit status is that of the last command.
488
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494
ECHO_C= ECHO_N= ECHO_T=
498
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
test "X`expr 00001 : '.*\(...\)'`" = X001; then
511
rm -f conf$$ conf$$.exe conf$$.file
512
if test -d conf$$.dir; then
513
rm -f conf$$.dir/conf$$.file
516
mkdir conf$$.dir 2>/dev/null
518
if (echo >conf$$.file) 2>/dev/null; then
519
if ln -s conf$$.file conf$$ 2>/dev/null; then
521
# ... but there are two gotchas:
522
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524
# In both cases, we have to default to `cp -p'.
525
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527
elif ln conf$$.file conf$$ 2>/dev/null; then
535
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536
rmdir conf$$.dir 2>/dev/null
538
if mkdir -p . 2>/dev/null; then
541
test -d ./-p && rmdir ./-p
545
if test -x / >/dev/null 2>&1; then
548
if ls -dL / >/dev/null 2>&1; then
555
if test -d "$1"; then
561
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562
???[sx]*):;;*)false;;esac;fi
566
as_executable_p=$as_test_x
568
# Sed expression to map a string onto a valid CPP name.
569
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571
# Sed expression to map a string onto a valid variable name.
572
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576
exec 7<&0 </dev/null 6>&1
579
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580
# so uname gets run too.
581
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
586
ac_default_prefix=/usr/local
588
ac_config_libobj_dir=.
594
SHELL=${CONFIG_SHELL-/bin/sh}
596
# Identity of this package.
597
PACKAGE_NAME='squid_kerb_auth'
598
PACKAGE_TARNAME='squid_kerb_auth'
599
PACKAGE_VERSION='1.0.5'
600
PACKAGE_STRING='squid_kerb_auth 1.0.5'
601
PACKAGE_BUGREPORT='markus_moeller@compuserve.com'
603
ac_unique_file="squid_kerb_auth.c"
604
# Factoring default headers for most tests.
605
ac_includes_default="\
607
#ifdef HAVE_SYS_TYPES_H
608
# include <sys/types.h>
610
#ifdef HAVE_SYS_STAT_H
611
# include <sys/stat.h>
617
# ifdef HAVE_STDLIB_H
622
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
627
#ifdef HAVE_STRINGS_H
628
# include <strings.h>
630
#ifdef HAVE_INTTYPES_H
631
# include <inttypes.h>
649
program_transform_name
691
INSTALL_STRIP_PROGRAM
726
enable_option_checking
727
enable_dependency_tracking
735
ac_precious_vars='build_alias
746
# Initialize some variables set by options.
748
ac_init_version=false
749
ac_unrecognized_opts=
751
# The variables have the same names as the options, with
752
# dashes changed to underlines.
760
program_transform_name=s,x,x,
768
# Installation directory options.
769
# These are left unexpanded so users can "make install exec_prefix=/foo"
770
# and all the variables that are supposed to be based on exec_prefix
771
# by default will actually change.
772
# Use braces instead of parens because sh, perl, etc. also accept them.
773
# (The list follows the same order as the GNU Coding Standards.)
774
bindir='${exec_prefix}/bin'
775
sbindir='${exec_prefix}/sbin'
776
libexecdir='${exec_prefix}/libexec'
777
datarootdir='${prefix}/share'
778
datadir='${datarootdir}'
779
sysconfdir='${prefix}/etc'
780
sharedstatedir='${prefix}/com'
781
localstatedir='${prefix}/var'
782
includedir='${prefix}/include'
783
oldincludedir='/usr/include'
784
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
785
infodir='${datarootdir}/info'
790
libdir='${exec_prefix}/lib'
791
localedir='${datarootdir}/locale'
792
mandir='${datarootdir}/man'
798
# If the previous option needs an argument, assign it.
799
if test -n "$ac_prev"; then
800
eval $ac_prev=\$ac_option
806
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
810
# Accept the important Cygnus configure options, so we can diagnose typos.
812
case $ac_dashdash$ac_option in
816
-bindir | --bindir | --bindi | --bind | --bin | --bi)
818
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
821
-build | --build | --buil | --bui | --bu)
822
ac_prev=build_alias ;;
823
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
824
build_alias=$ac_optarg ;;
826
-cache-file | --cache-file | --cache-fil | --cache-fi \
827
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
828
ac_prev=cache_file ;;
829
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
830
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
831
cache_file=$ac_optarg ;;
834
cache_file=config.cache ;;
836
-datadir | --datadir | --datadi | --datad)
838
-datadir=* | --datadir=* | --datadi=* | --datad=*)
839
datadir=$ac_optarg ;;
841
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
842
| --dataroo | --dataro | --datar)
843
ac_prev=datarootdir ;;
844
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
845
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
846
datarootdir=$ac_optarg ;;
848
-disable-* | --disable-*)
849
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
850
# Reject names that are not valid shell variable names.
851
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
853
{ (exit 1); exit 1; }; }
854
ac_useropt_orig=$ac_useropt
855
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
856
case $ac_user_opts in
860
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
861
ac_unrecognized_sep=', ';;
863
eval enable_$ac_useropt=no ;;
865
-docdir | --docdir | --docdi | --doc | --do)
867
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
870
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
872
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
875
-enable-* | --enable-*)
876
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
877
# Reject names that are not valid shell variable names.
878
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
879
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
880
{ (exit 1); exit 1; }; }
881
ac_useropt_orig=$ac_useropt
882
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
883
case $ac_user_opts in
887
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
888
ac_unrecognized_sep=', ';;
890
eval enable_$ac_useropt=\$ac_optarg ;;
892
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
893
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
894
| --exec | --exe | --ex)
895
ac_prev=exec_prefix ;;
896
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
897
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
898
| --exec=* | --exe=* | --ex=*)
899
exec_prefix=$ac_optarg ;;
901
-gas | --gas | --ga | --g)
902
# Obsolete; use --with-gas.
905
-help | --help | --hel | --he | -h)
907
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
908
ac_init_help=recursive ;;
909
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
910
ac_init_help=short ;;
912
-host | --host | --hos | --ho)
913
ac_prev=host_alias ;;
914
-host=* | --host=* | --hos=* | --ho=*)
915
host_alias=$ac_optarg ;;
917
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
919
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
921
htmldir=$ac_optarg ;;
923
-includedir | --includedir | --includedi | --included | --include \
924
| --includ | --inclu | --incl | --inc)
925
ac_prev=includedir ;;
926
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
927
| --includ=* | --inclu=* | --incl=* | --inc=*)
928
includedir=$ac_optarg ;;
930
-infodir | --infodir | --infodi | --infod | --info | --inf)
932
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
933
infodir=$ac_optarg ;;
935
-libdir | --libdir | --libdi | --libd)
937
-libdir=* | --libdir=* | --libdi=* | --libd=*)
940
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
941
| --libexe | --libex | --libe)
942
ac_prev=libexecdir ;;
943
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
944
| --libexe=* | --libex=* | --libe=*)
945
libexecdir=$ac_optarg ;;
947
-localedir | --localedir | --localedi | --localed | --locale)
949
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
950
localedir=$ac_optarg ;;
952
-localstatedir | --localstatedir | --localstatedi | --localstated \
953
| --localstate | --localstat | --localsta | --localst | --locals)
954
ac_prev=localstatedir ;;
955
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
956
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
957
localstatedir=$ac_optarg ;;
959
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
961
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
965
# Obsolete; use --without-fp.
968
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
969
| --no-cr | --no-c | -n)
972
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
973
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
976
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
977
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
978
| --oldin | --oldi | --old | --ol | --o)
979
ac_prev=oldincludedir ;;
980
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
981
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
982
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
983
oldincludedir=$ac_optarg ;;
985
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
987
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
990
-program-prefix | --program-prefix | --program-prefi | --program-pref \
991
| --program-pre | --program-pr | --program-p)
992
ac_prev=program_prefix ;;
993
-program-prefix=* | --program-prefix=* | --program-prefi=* \
994
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
995
program_prefix=$ac_optarg ;;
997
-program-suffix | --program-suffix | --program-suffi | --program-suff \
998
| --program-suf | --program-su | --program-s)
999
ac_prev=program_suffix ;;
1000
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1001
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1002
program_suffix=$ac_optarg ;;
1004
-program-transform-name | --program-transform-name \
1005
| --program-transform-nam | --program-transform-na \
1006
| --program-transform-n | --program-transform- \
1007
| --program-transform | --program-transfor \
1008
| --program-transfo | --program-transf \
1009
| --program-trans | --program-tran \
1010
| --progr-tra | --program-tr | --program-t)
1011
ac_prev=program_transform_name ;;
1012
-program-transform-name=* | --program-transform-name=* \
1013
| --program-transform-nam=* | --program-transform-na=* \
1014
| --program-transform-n=* | --program-transform-=* \
1015
| --program-transform=* | --program-transfor=* \
1016
| --program-transfo=* | --program-transf=* \
1017
| --program-trans=* | --program-tran=* \
1018
| --progr-tra=* | --program-tr=* | --program-t=*)
1019
program_transform_name=$ac_optarg ;;
1021
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1023
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1024
pdfdir=$ac_optarg ;;
1026
-psdir | --psdir | --psdi | --psd | --ps)
1028
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1031
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1032
| -silent | --silent | --silen | --sile | --sil)
1035
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1037
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1039
sbindir=$ac_optarg ;;
1041
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1042
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1043
| --sharedst | --shareds | --shared | --share | --shar \
1045
ac_prev=sharedstatedir ;;
1046
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1047
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1048
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1050
sharedstatedir=$ac_optarg ;;
1052
-site | --site | --sit)
1054
-site=* | --site=* | --sit=*)
1057
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1059
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1060
srcdir=$ac_optarg ;;
1062
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1063
| --syscon | --sysco | --sysc | --sys | --sy)
1064
ac_prev=sysconfdir ;;
1065
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1066
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1067
sysconfdir=$ac_optarg ;;
1069
-target | --target | --targe | --targ | --tar | --ta | --t)
1070
ac_prev=target_alias ;;
1071
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1072
target_alias=$ac_optarg ;;
1074
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1077
-version | --version | --versio | --versi | --vers | -V)
1078
ac_init_version=: ;;
1081
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1082
# Reject names that are not valid shell variable names.
1083
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1084
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1085
{ (exit 1); exit 1; }; }
1086
ac_useropt_orig=$ac_useropt
1087
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1088
case $ac_user_opts in
1092
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1093
ac_unrecognized_sep=', ';;
1095
eval with_$ac_useropt=\$ac_optarg ;;
1097
-without-* | --without-*)
1098
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1099
# Reject names that are not valid shell variable names.
1100
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1101
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1102
{ (exit 1); exit 1; }; }
1103
ac_useropt_orig=$ac_useropt
1104
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105
case $ac_user_opts in
1109
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1110
ac_unrecognized_sep=', ';;
1112
eval with_$ac_useropt=no ;;
1115
# Obsolete; use --with-x.
1118
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1119
| --x-incl | --x-inc | --x-in | --x-i)
1120
ac_prev=x_includes ;;
1121
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1122
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1123
x_includes=$ac_optarg ;;
1125
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1126
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1127
ac_prev=x_libraries ;;
1128
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1129
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1130
x_libraries=$ac_optarg ;;
1132
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1133
Try \`$0 --help' for more information." >&2
1134
{ (exit 1); exit 1; }; }
1138
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1139
# Reject names that are not valid shell variable names.
1140
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1141
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1142
{ (exit 1); exit 1; }; }
1143
eval $ac_envvar=\$ac_optarg
1144
export $ac_envvar ;;
1147
# FIXME: should be removed in autoconf 3.0.
1148
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1150
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1157
if test -n "$ac_prev"; then
1158
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1159
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
1160
{ (exit 1); exit 1; }; }
1163
if test -n "$ac_unrecognized_opts"; then
1164
case $enable_option_checking in
1166
fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1167
{ (exit 1); exit 1; }; } ;;
1168
*) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1172
# Check all directory arguments for consistency.
1173
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1174
datadir sysconfdir sharedstatedir localstatedir includedir \
1175
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1176
libdir localedir mandir
1178
eval ac_val=\$$ac_var
1179
# Remove trailing slashes.
1182
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1183
eval $ac_var=\$ac_val;;
1185
# Be sure to have absolute directory names.
1187
[\\/$]* | ?:[\\/]* ) continue;;
1188
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1190
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191
{ (exit 1); exit 1; }; }
1194
# There might be people who depend on the old broken behavior: `$host'
1195
# used to hold the argument of --host etc.
1196
# FIXME: To remove some day.
1199
target=$target_alias
1201
# FIXME: To remove some day.
1202
if test "x$host_alias" != x; then
1203
if test "x$build_alias" = x; then
1204
cross_compiling=maybe
1205
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206
If a cross compiler is detected then cross compile mode will be used." >&2
1207
elif test "x$build_alias" != "x$host_alias"; then
1213
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215
test "$silent" = yes && exec 6>/dev/null
1218
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219
ac_ls_di=`ls -di .` &&
1220
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221
{ $as_echo "$as_me: error: Working directory cannot be determined" >&2
1222
{ (exit 1); exit 1; }; }
1223
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1225
{ (exit 1); exit 1; }; }
1228
# Find the source files, if location was not specified.
1229
if test -z "$srcdir"; then
1230
ac_srcdir_defaulted=yes
1231
# Try the directory containing this script, then the parent directory.
1232
ac_confdir=`$as_dirname -- "$as_myself" ||
1233
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234
X"$as_myself" : 'X\(//\)[^/]' \| \
1235
X"$as_myself" : 'X\(//\)$' \| \
1236
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1237
$as_echo X"$as_myself" |
1238
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1256
if test ! -r "$srcdir/$ac_unique_file"; then
1260
ac_srcdir_defaulted=no
1262
if test ! -r "$srcdir/$ac_unique_file"; then
1263
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265
{ (exit 1); exit 1; }; }
1267
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1269
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1270
{ (exit 1); exit 1; }; }
1272
# When building in place, set srcdir=.
1273
if test "$ac_abs_confdir" = "$ac_pwd"; then
1276
# Remove unnecessary trailing slashes from srcdir.
1277
# Double slashes in file names in object file debugging info
1278
# mess up M-x gdb in Emacs.
1280
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282
for ac_var in $ac_precious_vars; do
1283
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284
eval ac_env_${ac_var}_value=\$${ac_var}
1285
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1290
# Report the --help message.
1292
if test "$ac_init_help" = "long"; then
1293
# Omit some internal or obsolete options to make the list less imposing.
1294
# This message is too long to be a string in the A/UX 3.1 sh.
1296
\`configure' configures squid_kerb_auth 1.0.5 to adapt to many kinds of systems.
1298
Usage: $0 [OPTION]... [VAR=VALUE]...
1300
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301
VAR=VALUE. See below for descriptions of some of the useful variables.
1303
Defaults for the options are specified in brackets.
1306
-h, --help display this help and exit
1307
--help=short display options specific to this package
1308
--help=recursive display the short help of all the included packages
1309
-V, --version display version information and exit
1310
-q, --quiet, --silent do not print \`checking...' messages
1311
--cache-file=FILE cache test results in FILE [disabled]
1312
-C, --config-cache alias for \`--cache-file=config.cache'
1313
-n, --no-create do not create output files
1314
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1316
Installation directories:
1317
--prefix=PREFIX install architecture-independent files in PREFIX
1318
[$ac_default_prefix]
1319
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322
By default, \`make install' will install all the files in
1323
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325
for instance \`--prefix=\$HOME'.
1327
For better control, use the options below.
1329
Fine tuning of the installation directories:
1330
--bindir=DIR user executables [EPREFIX/bin]
1331
--sbindir=DIR system admin executables [EPREFIX/sbin]
1332
--libexecdir=DIR program executables [EPREFIX/libexec]
1333
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336
--libdir=DIR object code libraries [EPREFIX/lib]
1337
--includedir=DIR C header files [PREFIX/include]
1338
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1339
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341
--infodir=DIR info documentation [DATAROOTDIR/info]
1342
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343
--mandir=DIR man documentation [DATAROOTDIR/man]
1344
--docdir=DIR documentation root [DATAROOTDIR/doc/squid_kerb_auth]
1345
--htmldir=DIR html documentation [DOCDIR]
1346
--dvidir=DIR dvi documentation [DOCDIR]
1347
--pdfdir=DIR pdf documentation [DOCDIR]
1348
--psdir=DIR ps documentation [DOCDIR]
1354
--program-prefix=PREFIX prepend PREFIX to installed program names
1355
--program-suffix=SUFFIX append SUFFIX to installed program names
1356
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1360
if test -n "$ac_init_help"; then
1361
case $ac_init_help in
1362
short | recursive ) echo "Configuration of squid_kerb_auth 1.0.5:";;
1367
--disable-option-checking ignore unrecognized --enable/--with options
1368
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1369
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1370
--disable-dependency-tracking speeds up one-time build
1371
--enable-dependency-tracking do not reject slow dependency extractors
1372
--enable-mit=DIR enable use of MIT package (default=yes)
1373
--enable-heimdal=DIR enable use of Heimdal package (default=no)
1374
--enable-nas enable use of NAS(AIX) package (default=no)
1375
--enable-seam=SRC enable use of SEAM(Solaris) package (default=no)
1376
--enable-seam-64=SRC enable use of 64bit SEAM(Solaris) package (default=no)
1379
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381
--with-squid=PATH Special option for building bundled inside Squid. Do
1382
not define manually.
1384
Some influential environment variables:
1385
CC C compiler command
1386
CFLAGS C compiler flags
1387
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1388
nonstandard directory <lib dir>
1389
LIBS libraries to pass to the linker, e.g. -l<library>
1390
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1391
you have headers in a nonstandard directory <include dir>
1394
Use these variables to override the choices made by `configure' or to help
1395
it to find libraries and programs with nonstandard names/locations.
1397
Report bugs to <markus_moeller@compuserve.com>.
1402
if test "$ac_init_help" = "recursive"; then
1403
# If there are subdirs, report their specific --help.
1404
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405
test -d "$ac_dir" ||
1406
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1411
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1414
# A ".." for each directory in $ac_dir_suffix.
1415
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1416
case $ac_top_builddir_sub in
1417
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1418
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1421
ac_abs_top_builddir=$ac_pwd
1422
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1423
# for backward compatibility:
1424
ac_top_builddir=$ac_top_build_prefix
1427
.) # We are building in place.
1429
ac_top_srcdir=$ac_top_builddir_sub
1430
ac_abs_top_srcdir=$ac_pwd ;;
1431
[\\/]* | ?:[\\/]* ) # Absolute name.
1432
ac_srcdir=$srcdir$ac_dir_suffix;
1433
ac_top_srcdir=$srcdir
1434
ac_abs_top_srcdir=$srcdir ;;
1436
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1437
ac_top_srcdir=$ac_top_build_prefix$srcdir
1438
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1440
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1442
cd "$ac_dir" || { ac_status=$?; continue; }
1443
# Check for guested configure.
1444
if test -f "$ac_srcdir/configure.gnu"; then
1446
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1447
elif test -f "$ac_srcdir/configure"; then
1449
$SHELL "$ac_srcdir/configure" --help=recursive
1451
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1453
cd "$ac_pwd" || { ac_status=$?; break; }
1457
test -n "$ac_init_help" && exit $ac_status
1458
if $ac_init_version; then
1460
squid_kerb_auth configure 1.0.5
1461
generated by GNU Autoconf 2.62
1463
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1464
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1465
This configure script is free software; the Free Software Foundation
1466
gives unlimited permission to copy, distribute and modify it.
1470
cat >config.log <<_ACEOF
1471
This file contains any messages produced by compilers while
1472
running configure, to aid debugging if configure makes a mistake.
1474
It was created by squid_kerb_auth $as_me 1.0.5, which was
1475
generated by GNU Autoconf 2.62. Invocation command line was
1487
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1488
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1489
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1490
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1491
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1493
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1494
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1496
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1497
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1498
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1499
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1500
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1501
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1502
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1506
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1510
test -z "$as_dir" && as_dir=.
1511
$as_echo "PATH: $as_dir"
1527
# Keep a trace of the command line.
1528
# Strip out --no-create and --no-recursion so they do not pile up.
1529
# Strip out --silent because we don't want to record it for future runs.
1530
# Also quote any args containing shell meta-characters.
1531
# Make two passes to allow for proper duplicate-argument suppression.
1535
ac_must_keep_next=false
1541
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1542
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1543
| -silent | --silent | --silen | --sile | --sil)
1546
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1549
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1551
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1552
if test $ac_must_keep_next = true; then
1553
ac_must_keep_next=false # Got value, back to normal.
1556
*=* | --config-cache | -C | -disable-* | --disable-* \
1557
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1558
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1559
| -with-* | --with-* | -without-* | --without-* | --x)
1560
case "$ac_configure_args0 " in
1561
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1564
-* ) ac_must_keep_next=true ;;
1567
ac_configure_args="$ac_configure_args '$ac_arg'"
1572
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1573
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1575
# When interrupted or exit'd, cleanup temporary files, and complete
1576
# config.log. We remove comments because anyway the quotes in there
1577
# would cause problems or look ugly.
1578
# WARNING: Use '\'' to represent an apostrophe within the trap.
1579
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1580
trap 'exit_status=$?
1581
# Save into config.log some information that might help in debugging.
1586
## ---------------- ##
1587
## Cache variables. ##
1588
## ---------------- ##
1591
# The following way of writing the cache mishandles newlines in values,
1593
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1594
eval ac_val=\$$ac_var
1598
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1599
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1602
_ | IFS | as_nl) ;; #(
1603
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1604
*) $as_unset $ac_var ;;
1609
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1610
*${as_nl}ac_space=\ *)
1612
"s/'\''/'\''\\\\'\'''\''/g;
1613
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1616
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1624
## ----------------- ##
1625
## Output variables. ##
1626
## ----------------- ##
1629
for ac_var in $ac_subst_vars
1631
eval ac_val=\$$ac_var
1633
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1635
$as_echo "$ac_var='\''$ac_val'\''"
1639
if test -n "$ac_subst_files"; then
1641
## ------------------- ##
1642
## File substitutions. ##
1643
## ------------------- ##
1646
for ac_var in $ac_subst_files
1648
eval ac_val=\$$ac_var
1650
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1652
$as_echo "$ac_var='\''$ac_val'\''"
1657
if test -s confdefs.h; then
1667
test "$ac_signal" != 0 &&
1668
$as_echo "$as_me: caught signal $ac_signal"
1669
$as_echo "$as_me: exit $exit_status"
1671
rm -f core *.core core.conftest.* &&
1672
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1675
for ac_signal in 1 2 13 15; do
1676
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1680
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1681
rm -f -r conftest* confdefs.h
1683
# Predefined preprocessor variables.
1685
cat >>confdefs.h <<_ACEOF
1686
#define PACKAGE_NAME "$PACKAGE_NAME"
1690
cat >>confdefs.h <<_ACEOF
1691
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1695
cat >>confdefs.h <<_ACEOF
1696
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1700
cat >>confdefs.h <<_ACEOF
1701
#define PACKAGE_STRING "$PACKAGE_STRING"
1705
cat >>confdefs.h <<_ACEOF
1706
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1710
# Let the site file select an alternate cache file if it wants to.
1711
# Prefer an explicitly selected file to automatically selected ones.
1714
if test -n "$CONFIG_SITE"; then
1715
ac_site_file1=$CONFIG_SITE
1716
elif test "x$prefix" != xNONE; then
1717
ac_site_file1=$prefix/share/config.site
1718
ac_site_file2=$prefix/etc/config.site
1720
ac_site_file1=$ac_default_prefix/share/config.site
1721
ac_site_file2=$ac_default_prefix/etc/config.site
1723
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1725
test "x$ac_site_file" = xNONE && continue
1726
if test -r "$ac_site_file"; then
1727
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1728
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1729
sed 's/^/| /' "$ac_site_file" >&5
1734
if test -r "$cache_file"; then
1735
# Some versions of bash will fail to source /dev/null (special
1736
# files actually), so we avoid doing that.
1737
if test -f "$cache_file"; then
1738
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1739
$as_echo "$as_me: loading cache $cache_file" >&6;}
1741
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1742
*) . "./$cache_file";;
1746
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1747
$as_echo "$as_me: creating cache $cache_file" >&6;}
1751
# Check that the precious variables saved in the cache have kept the same
1753
ac_cache_corrupted=false
1754
for ac_var in $ac_precious_vars; do
1755
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1756
eval ac_new_set=\$ac_env_${ac_var}_set
1757
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1758
eval ac_new_val=\$ac_env_${ac_var}_value
1759
case $ac_old_set,$ac_new_set in
1761
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1762
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1763
ac_cache_corrupted=: ;;
1765
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1766
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1767
ac_cache_corrupted=: ;;
1770
if test "x$ac_old_val" != "x$ac_new_val"; then
1771
# differences in whitespace do not lead to failure.
1772
ac_old_val_w=`echo x $ac_old_val`
1773
ac_new_val_w=`echo x $ac_new_val`
1774
if test "$ac_old_val_w" != "$ac_new_val_w"; then
1775
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1776
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1777
ac_cache_corrupted=:
1779
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1780
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1781
eval $ac_var=\$ac_old_val
1783
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1784
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1785
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1786
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1789
# Pass precious variables to config.status.
1790
if test "$ac_new_set" = set; then
1792
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1793
*) ac_arg=$ac_var=$ac_new_val ;;
1795
case " $ac_configure_args " in
1796
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1797
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1801
if $ac_cache_corrupted; then
1802
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1803
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1804
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1805
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1806
{ (exit 1); exit 1; }; }
1834
ac_cpp='$CPP $CPPFLAGS'
1835
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1836
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1837
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1840
am__api_version='1.10'
1843
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1844
if test -f "$ac_dir/install-sh"; then
1846
ac_install_sh="$ac_aux_dir/install-sh -c"
1848
elif test -f "$ac_dir/install.sh"; then
1850
ac_install_sh="$ac_aux_dir/install.sh -c"
1852
elif test -f "$ac_dir/shtool"; then
1854
ac_install_sh="$ac_aux_dir/shtool install -c"
1858
if test -z "$ac_aux_dir"; then
1859
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1860
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1861
{ (exit 1); exit 1; }; }
1864
# These three variables are undocumented and unsupported,
1865
# and are intended to be withdrawn in a future Autoconf release.
1866
# They can cause serious problems if a builder's source tree is in a directory
1867
# whose full name contains unusual characters.
1868
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1869
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1870
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1873
# Find a good install program. We prefer a C program (faster),
1874
# so one script is as good as another. But avoid the broken or
1875
# incompatible versions:
1876
# SysV /etc/install, /usr/sbin/install
1877
# SunOS /usr/etc/install
1878
# IRIX /sbin/install
1880
# AmigaOS /C/install, which installs bootblocks on floppy discs
1881
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1882
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1883
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1884
# OS/2's system install, which has a completely different semantic
1885
# ./install, which can be erroneously created by make from ./install.sh.
1886
# Reject install programs that cannot install multiple files.
1887
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1888
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1889
if test -z "$INSTALL"; then
1890
if test "${ac_cv_path_install+set}" = set; then
1891
$as_echo_n "(cached) " >&6
1893
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1897
test -z "$as_dir" && as_dir=.
1898
# Account for people who put trailing slashes in PATH elements.
1900
./ | .// | /cC/* | \
1901
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1902
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1905
# OSF1 and SCO ODT 3.0 have their own names for install.
1906
# Don't use installbsd from OSF since it installs stuff as root
1908
for ac_prog in ginstall scoinst install; do
1909
for ac_exec_ext in '' $ac_executable_extensions; do
1910
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1911
if test $ac_prog = install &&
1912
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1913
# AIX install. It has an incompatible calling convention.
1915
elif test $ac_prog = install &&
1916
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1917
# program-specific install script used by HP pwplus--don't use.
1920
rm -rf conftest.one conftest.two conftest.dir
1921
echo one > conftest.one
1922
echo two > conftest.two
1924
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1925
test -s conftest.one && test -s conftest.two &&
1926
test -s conftest.dir/conftest.one &&
1927
test -s conftest.dir/conftest.two
1929
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1942
rm -rf conftest.one conftest.two conftest.dir
1945
if test "${ac_cv_path_install+set}" = set; then
1946
INSTALL=$ac_cv_path_install
1948
# As a last resort, use the slow shell script. Don't cache a
1949
# value for INSTALL within a source directory, because that will
1950
# break other packages using the cache if that directory is
1951
# removed, or if the value is a relative name.
1952
INSTALL=$ac_install_sh
1955
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1956
$as_echo "$INSTALL" >&6; }
1958
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1959
# It thinks the first close brace ends the variable substitution.
1960
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1962
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1964
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1966
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1967
$as_echo_n "checking whether build environment is sane... " >&6; }
1970
echo timestamp > conftest.file
1971
# Do `set' in a subshell so we don't clobber the current shell's
1972
# arguments. Must try -L first in case configure is actually a
1973
# symlink; some systems play weird games with the mod time of symlinks
1974
# (eg FreeBSD returns the mod time of the symlink's containing
1977
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1978
if test "$*" = "X"; then
1980
set X `ls -t $srcdir/configure conftest.file`
1983
if test "$*" != "X $srcdir/configure conftest.file" \
1984
&& test "$*" != "X conftest.file $srcdir/configure"; then
1986
# If neither matched, then we have a broken ls. This can happen
1987
# if, for instance, CONFIG_SHELL is bash and it inherits a
1988
# broken ls alias from the environment. This has actually
1989
# happened. Such a system could not be considered "sane".
1990
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1991
alias in your environment" >&5
1992
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1993
alias in your environment" >&2;}
1994
{ (exit 1); exit 1; }; }
1997
test "$2" = conftest.file
2003
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2004
Check your system clock" >&5
2005
$as_echo "$as_me: error: newly created file is older than distributed files!
2006
Check your system clock" >&2;}
2007
{ (exit 1); exit 1; }; }
2009
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2010
$as_echo "yes" >&6; }
2011
test "$program_prefix" != NONE &&
2012
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2013
# Use a double $ so make ignores it.
2014
test "$program_suffix" != NONE &&
2015
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2016
# Double any \ or $.
2017
# By default was `s,x,x', remove it if useless.
2018
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2019
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2021
# expand $ac_aux_dir to an absolute path
2022
am_aux_dir=`cd $ac_aux_dir && pwd`
2024
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2025
# Use eval to expand $SHELL
2026
if eval "$MISSING --run true"; then
2027
am_missing_run="$MISSING --run "
2030
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2031
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2034
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2035
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2036
if test -z "$MKDIR_P"; then
2037
if test "${ac_cv_path_mkdir+set}" = set; then
2038
$as_echo_n "(cached) " >&6
2040
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2041
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2044
test -z "$as_dir" && as_dir=.
2045
for ac_prog in mkdir gmkdir; do
2046
for ac_exec_ext in '' $ac_executable_extensions; do
2047
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2048
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2049
'mkdir (GNU coreutils) '* | \
2050
'mkdir (coreutils) '* | \
2051
'mkdir (fileutils) '4.1*)
2052
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2062
if test "${ac_cv_path_mkdir+set}" = set; then
2063
MKDIR_P="$ac_cv_path_mkdir -p"
2065
# As a last resort, use the slow shell script. Don't cache a
2066
# value for MKDIR_P within a source directory, because that will
2067
# break other packages using the cache if that directory is
2068
# removed, or if the value is a relative name.
2069
test -d ./--version && rmdir ./--version
2070
MKDIR_P="$ac_install_sh -d"
2073
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2074
$as_echo "$MKDIR_P" >&6; }
2078
[\\/$]* | ?:[\\/]*) ;;
2079
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2082
for ac_prog in gawk mawk nawk awk
2084
# Extract the first word of "$ac_prog", so it can be a program name with args.
2085
set dummy $ac_prog; ac_word=$2
2086
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2087
$as_echo_n "checking for $ac_word... " >&6; }
2088
if test "${ac_cv_prog_AWK+set}" = set; then
2089
$as_echo_n "(cached) " >&6
2091
if test -n "$AWK"; then
2092
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2094
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098
test -z "$as_dir" && as_dir=.
2099
for ac_exec_ext in '' $ac_executable_extensions; do
2100
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2101
ac_cv_prog_AWK="$ac_prog"
2102
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2112
if test -n "$AWK"; then
2113
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5
2114
$as_echo "$AWK" >&6; }
2116
{ $as_echo "$as_me:$LINENO: result: no" >&5
2117
$as_echo "no" >&6; }
2121
test -n "$AWK" && break
2124
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2125
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2127
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2128
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2129
$as_echo_n "(cached) " >&6
2131
cat >conftest.make <<\_ACEOF
2134
@echo '@@@%%%=$(MAKE)=@@@%%%'
2136
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2137
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2139
eval ac_cv_prog_make_${ac_make}_set=yes;;
2141
eval ac_cv_prog_make_${ac_make}_set=no;;
2145
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2146
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2147
$as_echo "yes" >&6; }
2150
{ $as_echo "$as_me:$LINENO: result: no" >&5
2151
$as_echo "no" >&6; }
2152
SET_MAKE="MAKE=${MAKE-make}"
2155
rm -rf .tst 2>/dev/null
2156
mkdir .tst 2>/dev/null
2157
if test -d .tst; then
2162
rmdir .tst 2>/dev/null
2164
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2165
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2166
# is not polluted with repeated "-I."
2167
am__isrc=' -I$(srcdir)'
2168
# test to see if srcdir already configured
2169
if test -f $srcdir/config.status; then
2170
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2171
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2172
{ (exit 1); exit 1; }; }
2176
# test whether we have cygpath
2177
if test -z "$CYGPATH_W"; then
2178
if (cygpath --version) >/dev/null 2>/dev/null; then
2179
CYGPATH_W='cygpath -w'
2186
# Define the identity of the package.
2187
PACKAGE=squid_kerb_auth
2191
cat >>confdefs.h <<_ACEOF
2192
#define PACKAGE "$PACKAGE"
2196
cat >>confdefs.h <<_ACEOF
2197
#define VERSION "$VERSION"
2200
# Some tools Automake needs.
2202
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2205
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2208
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2211
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2214
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2216
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2218
# Installed binaries are usually stripped using `strip' when the user
2219
# run `make install-strip'. However `strip' might not be the right
2220
# tool to use in cross-compilation environments, therefore Automake
2221
# will honor the `STRIP' environment variable to overrule this program.
2222
if test "$cross_compiling" != no; then
2223
if test -n "$ac_tool_prefix"; then
2224
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2225
set dummy ${ac_tool_prefix}strip; ac_word=$2
2226
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2227
$as_echo_n "checking for $ac_word... " >&6; }
2228
if test "${ac_cv_prog_STRIP+set}" = set; then
2229
$as_echo_n "(cached) " >&6
2231
if test -n "$STRIP"; then
2232
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2234
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238
test -z "$as_dir" && as_dir=.
2239
for ac_exec_ext in '' $ac_executable_extensions; do
2240
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2241
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2242
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2251
STRIP=$ac_cv_prog_STRIP
2252
if test -n "$STRIP"; then
2253
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2254
$as_echo "$STRIP" >&6; }
2256
{ $as_echo "$as_me:$LINENO: result: no" >&5
2257
$as_echo "no" >&6; }
2262
if test -z "$ac_cv_prog_STRIP"; then
2264
# Extract the first word of "strip", so it can be a program name with args.
2265
set dummy strip; ac_word=$2
2266
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2267
$as_echo_n "checking for $ac_word... " >&6; }
2268
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2269
$as_echo_n "(cached) " >&6
2271
if test -n "$ac_ct_STRIP"; then
2272
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2274
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278
test -z "$as_dir" && as_dir=.
2279
for ac_exec_ext in '' $ac_executable_extensions; do
2280
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2281
ac_cv_prog_ac_ct_STRIP="strip"
2282
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2291
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2292
if test -n "$ac_ct_STRIP"; then
2293
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2294
$as_echo "$ac_ct_STRIP" >&6; }
2296
{ $as_echo "$as_me:$LINENO: result: no" >&5
2297
$as_echo "no" >&6; }
2300
if test "x$ac_ct_STRIP" = x; then
2303
case $cross_compiling:$ac_tool_warned in
2305
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2306
whose name does not start with the host triplet. If you think this
2307
configuration is useful to you, please write to autoconf@gnu.org." >&5
2308
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2309
whose name does not start with the host triplet. If you think this
2310
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2311
ac_tool_warned=yes ;;
2316
STRIP="$ac_cv_prog_STRIP"
2320
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2322
# We need awk for the "check" target. The system "awk" is bad on
2324
# Always define AMTAR for backward compatibility.
2326
AMTAR=${AMTAR-"${am_missing_run}tar"}
2328
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2337
ac_cpp='$CPP $CPPFLAGS'
2338
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2339
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2340
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2341
if test -n "$ac_tool_prefix"; then
2342
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2343
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2344
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2345
$as_echo_n "checking for $ac_word... " >&6; }
2346
if test "${ac_cv_prog_CC+set}" = set; then
2347
$as_echo_n "(cached) " >&6
2349
if test -n "$CC"; then
2350
ac_cv_prog_CC="$CC" # Let the user override the test.
2352
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356
test -z "$as_dir" && as_dir=.
2357
for ac_exec_ext in '' $ac_executable_extensions; do
2358
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2359
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2360
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2370
if test -n "$CC"; then
2371
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2372
$as_echo "$CC" >&6; }
2374
{ $as_echo "$as_me:$LINENO: result: no" >&5
2375
$as_echo "no" >&6; }
2380
if test -z "$ac_cv_prog_CC"; then
2382
# Extract the first word of "gcc", so it can be a program name with args.
2383
set dummy gcc; ac_word=$2
2384
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2385
$as_echo_n "checking for $ac_word... " >&6; }
2386
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2387
$as_echo_n "(cached) " >&6
2389
if test -n "$ac_ct_CC"; then
2390
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2392
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396
test -z "$as_dir" && as_dir=.
2397
for ac_exec_ext in '' $ac_executable_extensions; do
2398
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2399
ac_cv_prog_ac_ct_CC="gcc"
2400
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2409
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2410
if test -n "$ac_ct_CC"; then
2411
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2412
$as_echo "$ac_ct_CC" >&6; }
2414
{ $as_echo "$as_me:$LINENO: result: no" >&5
2415
$as_echo "no" >&6; }
2418
if test "x$ac_ct_CC" = x; then
2421
case $cross_compiling:$ac_tool_warned in
2423
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2424
whose name does not start with the host triplet. If you think this
2425
configuration is useful to you, please write to autoconf@gnu.org." >&5
2426
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2427
whose name does not start with the host triplet. If you think this
2428
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2429
ac_tool_warned=yes ;;
2437
if test -z "$CC"; then
2438
if test -n "$ac_tool_prefix"; then
2439
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2440
set dummy ${ac_tool_prefix}cc; ac_word=$2
2441
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2442
$as_echo_n "checking for $ac_word... " >&6; }
2443
if test "${ac_cv_prog_CC+set}" = set; then
2444
$as_echo_n "(cached) " >&6
2446
if test -n "$CC"; then
2447
ac_cv_prog_CC="$CC" # Let the user override the test.
2449
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453
test -z "$as_dir" && as_dir=.
2454
for ac_exec_ext in '' $ac_executable_extensions; do
2455
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2456
ac_cv_prog_CC="${ac_tool_prefix}cc"
2457
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2467
if test -n "$CC"; then
2468
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2469
$as_echo "$CC" >&6; }
2471
{ $as_echo "$as_me:$LINENO: result: no" >&5
2472
$as_echo "no" >&6; }
2478
if test -z "$CC"; then
2479
# Extract the first word of "cc", so it can be a program name with args.
2480
set dummy cc; ac_word=$2
2481
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2482
$as_echo_n "checking for $ac_word... " >&6; }
2483
if test "${ac_cv_prog_CC+set}" = set; then
2484
$as_echo_n "(cached) " >&6
2486
if test -n "$CC"; then
2487
ac_cv_prog_CC="$CC" # Let the user override the test.
2490
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494
test -z "$as_dir" && as_dir=.
2495
for ac_exec_ext in '' $ac_executable_extensions; do
2496
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2497
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2498
ac_prog_rejected=yes
2502
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2509
if test $ac_prog_rejected = yes; then
2510
# We found a bogon in the path, so make sure we never use it.
2511
set dummy $ac_cv_prog_CC
2513
if test $# != 0; then
2514
# We chose a different compiler from the bogus one.
2515
# However, it has the same basename, so the bogon will be chosen
2516
# first if we set CC to just the basename; use the full file name.
2518
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2524
if test -n "$CC"; then
2525
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2526
$as_echo "$CC" >&6; }
2528
{ $as_echo "$as_me:$LINENO: result: no" >&5
2529
$as_echo "no" >&6; }
2534
if test -z "$CC"; then
2535
if test -n "$ac_tool_prefix"; then
2536
for ac_prog in cl.exe
2538
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2539
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2540
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2541
$as_echo_n "checking for $ac_word... " >&6; }
2542
if test "${ac_cv_prog_CC+set}" = set; then
2543
$as_echo_n "(cached) " >&6
2545
if test -n "$CC"; then
2546
ac_cv_prog_CC="$CC" # Let the user override the test.
2548
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2552
test -z "$as_dir" && as_dir=.
2553
for ac_exec_ext in '' $ac_executable_extensions; do
2554
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2555
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2556
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2566
if test -n "$CC"; then
2567
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2568
$as_echo "$CC" >&6; }
2570
{ $as_echo "$as_me:$LINENO: result: no" >&5
2571
$as_echo "no" >&6; }
2575
test -n "$CC" && break
2578
if test -z "$CC"; then
2580
for ac_prog in cl.exe
2582
# Extract the first word of "$ac_prog", so it can be a program name with args.
2583
set dummy $ac_prog; ac_word=$2
2584
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2585
$as_echo_n "checking for $ac_word... " >&6; }
2586
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2587
$as_echo_n "(cached) " >&6
2589
if test -n "$ac_ct_CC"; then
2590
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2592
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596
test -z "$as_dir" && as_dir=.
2597
for ac_exec_ext in '' $ac_executable_extensions; do
2598
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2599
ac_cv_prog_ac_ct_CC="$ac_prog"
2600
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2609
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2610
if test -n "$ac_ct_CC"; then
2611
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2612
$as_echo "$ac_ct_CC" >&6; }
2614
{ $as_echo "$as_me:$LINENO: result: no" >&5
2615
$as_echo "no" >&6; }
2619
test -n "$ac_ct_CC" && break
2622
if test "x$ac_ct_CC" = x; then
2625
case $cross_compiling:$ac_tool_warned in
2627
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2628
whose name does not start with the host triplet. If you think this
2629
configuration is useful to you, please write to autoconf@gnu.org." >&5
2630
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2631
whose name does not start with the host triplet. If you think this
2632
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2633
ac_tool_warned=yes ;;
2642
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2643
See \`config.log' for more details." >&5
2644
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2645
See \`config.log' for more details." >&2;}
2646
{ (exit 1); exit 1; }; }
2648
# Provide some information about the compiler.
2649
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2652
{ (ac_try="$ac_compiler --version >&5"
2654
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655
*) ac_try_echo=$ac_try;;
2657
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2658
$as_echo "$ac_try_echo") >&5
2659
(eval "$ac_compiler --version >&5") 2>&5
2661
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662
(exit $ac_status); }
2663
{ (ac_try="$ac_compiler -v >&5"
2665
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2666
*) ac_try_echo=$ac_try;;
2668
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2669
$as_echo "$ac_try_echo") >&5
2670
(eval "$ac_compiler -v >&5") 2>&5
2672
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2673
(exit $ac_status); }
2674
{ (ac_try="$ac_compiler -V >&5"
2676
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677
*) ac_try_echo=$ac_try;;
2679
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2680
$as_echo "$ac_try_echo") >&5
2681
(eval "$ac_compiler -V >&5") 2>&5
2683
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684
(exit $ac_status); }
2686
cat >conftest.$ac_ext <<_ACEOF
2689
cat confdefs.h >>conftest.$ac_ext
2690
cat >>conftest.$ac_ext <<_ACEOF
2691
/* end confdefs.h. */
2701
ac_clean_files_save=$ac_clean_files
2702
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2703
# Try to create an executable without -o first, disregard a.out.
2704
# It will help us diagnose broken compilers, and finding out an intuition
2706
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2707
$as_echo_n "checking for C compiler default output file name... " >&6; }
2708
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2710
# The possible output files:
2711
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2714
for ac_file in $ac_files
2717
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2718
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2723
if { (ac_try="$ac_link_default"
2725
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726
*) ac_try_echo=$ac_try;;
2728
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2729
$as_echo "$ac_try_echo") >&5
2730
(eval "$ac_link_default") 2>&5
2732
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733
(exit $ac_status); }; then
2734
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2735
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2736
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2737
# so that the user can short-circuit this test for compilers unknown to
2739
for ac_file in $ac_files ''
2741
test -f "$ac_file" || continue
2743
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2746
# We found the default executable, but exeext='' is most
2750
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2752
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2754
# We set ac_cv_exeext here because the later test for it is not
2755
# safe: cross compilers may not add the suffix if given an `-o'
2756
# argument, so we may need to know it at that point already.
2757
# Even if this section looks crufty: it has the advantage of
2764
test "$ac_cv_exeext" = no && ac_cv_exeext=
2770
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2771
$as_echo "$ac_file" >&6; }
2772
if test -z "$ac_file"; then
2773
$as_echo "$as_me: failed program was:" >&5
2774
sed 's/^/| /' conftest.$ac_ext >&5
2776
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2777
See \`config.log' for more details." >&5
2778
$as_echo "$as_me: error: C compiler cannot create executables
2779
See \`config.log' for more details." >&2;}
2780
{ (exit 77); exit 77; }; }
2783
ac_exeext=$ac_cv_exeext
2785
# Check that the compiler produces executables we can run. If not, either
2786
# the compiler is broken, or we cross compile.
2787
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2788
$as_echo_n "checking whether the C compiler works... " >&6; }
2789
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2790
# If not cross compiling, check that we can run a simple program.
2791
if test "$cross_compiling" != yes; then
2792
if { ac_try='./$ac_file'
2793
{ (case "(($ac_try" in
2794
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795
*) ac_try_echo=$ac_try;;
2797
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2798
$as_echo "$ac_try_echo") >&5
2799
(eval "$ac_try") 2>&5
2801
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802
(exit $ac_status); }; }; then
2805
if test "$cross_compiling" = maybe; then
2808
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2809
If you meant to cross compile, use \`--host'.
2810
See \`config.log' for more details." >&5
2811
$as_echo "$as_me: error: cannot run C compiled programs.
2812
If you meant to cross compile, use \`--host'.
2813
See \`config.log' for more details." >&2;}
2814
{ (exit 1); exit 1; }; }
2818
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2819
$as_echo "yes" >&6; }
2821
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2822
ac_clean_files=$ac_clean_files_save
2823
# Check that the compiler produces executables we can run. If not, either
2824
# the compiler is broken, or we cross compile.
2825
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2826
$as_echo_n "checking whether we are cross compiling... " >&6; }
2827
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2828
$as_echo "$cross_compiling" >&6; }
2830
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2831
$as_echo_n "checking for suffix of executables... " >&6; }
2832
if { (ac_try="$ac_link"
2834
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2835
*) ac_try_echo=$ac_try;;
2837
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2838
$as_echo "$ac_try_echo") >&5
2839
(eval "$ac_link") 2>&5
2841
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842
(exit $ac_status); }; then
2843
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2844
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2845
# work properly (i.e., refer to `conftest.exe'), while it won't with
2847
for ac_file in conftest.exe conftest conftest.*; do
2848
test -f "$ac_file" || continue
2850
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2851
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2857
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2858
See \`config.log' for more details." >&5
2859
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2860
See \`config.log' for more details." >&2;}
2861
{ (exit 1); exit 1; }; }
2864
rm -f conftest$ac_cv_exeext
2865
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2866
$as_echo "$ac_cv_exeext" >&6; }
2868
rm -f conftest.$ac_ext
2869
EXEEXT=$ac_cv_exeext
2871
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2872
$as_echo_n "checking for suffix of object files... " >&6; }
2873
if test "${ac_cv_objext+set}" = set; then
2874
$as_echo_n "(cached) " >&6
2876
cat >conftest.$ac_ext <<_ACEOF
2879
cat confdefs.h >>conftest.$ac_ext
2880
cat >>conftest.$ac_ext <<_ACEOF
2881
/* end confdefs.h. */
2891
rm -f conftest.o conftest.obj
2892
if { (ac_try="$ac_compile"
2894
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895
*) ac_try_echo=$ac_try;;
2897
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2898
$as_echo "$ac_try_echo") >&5
2899
(eval "$ac_compile") 2>&5
2901
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902
(exit $ac_status); }; then
2903
for ac_file in conftest.o conftest.obj conftest.*; do
2904
test -f "$ac_file" || continue;
2906
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2907
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2912
$as_echo "$as_me: failed program was:" >&5
2913
sed 's/^/| /' conftest.$ac_ext >&5
2915
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2916
See \`config.log' for more details." >&5
2917
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2918
See \`config.log' for more details." >&2;}
2919
{ (exit 1); exit 1; }; }
2922
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2924
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2925
$as_echo "$ac_cv_objext" >&6; }
2926
OBJEXT=$ac_cv_objext
2928
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2929
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2930
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2931
$as_echo_n "(cached) " >&6
2933
cat >conftest.$ac_ext <<_ACEOF
2936
cat confdefs.h >>conftest.$ac_ext
2937
cat >>conftest.$ac_ext <<_ACEOF
2938
/* end confdefs.h. */
2951
rm -f conftest.$ac_objext
2952
if { (ac_try="$ac_compile"
2954
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955
*) ac_try_echo=$ac_try;;
2957
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2958
$as_echo "$ac_try_echo") >&5
2959
(eval "$ac_compile") 2>conftest.er1
2961
grep -v '^ *+' conftest.er1 >conftest.err
2963
cat conftest.err >&5
2964
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965
(exit $ac_status); } && {
2966
test -z "$ac_c_werror_flag" ||
2967
test ! -s conftest.err
2968
} && test -s conftest.$ac_objext; then
2971
$as_echo "$as_me: failed program was:" >&5
2972
sed 's/^/| /' conftest.$ac_ext >&5
2977
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2981
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2982
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2983
if test $ac_compiler_gnu = yes; then
2988
ac_test_CFLAGS=${CFLAGS+set}
2989
ac_save_CFLAGS=$CFLAGS
2990
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2991
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2992
if test "${ac_cv_prog_cc_g+set}" = set; then
2993
$as_echo_n "(cached) " >&6
2995
ac_save_c_werror_flag=$ac_c_werror_flag
2996
ac_c_werror_flag=yes
2999
cat >conftest.$ac_ext <<_ACEOF
3002
cat confdefs.h >>conftest.$ac_ext
3003
cat >>conftest.$ac_ext <<_ACEOF
3004
/* end confdefs.h. */
3014
rm -f conftest.$ac_objext
3015
if { (ac_try="$ac_compile"
3017
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018
*) ac_try_echo=$ac_try;;
3020
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3021
$as_echo "$ac_try_echo") >&5
3022
(eval "$ac_compile") 2>conftest.er1
3024
grep -v '^ *+' conftest.er1 >conftest.err
3026
cat conftest.err >&5
3027
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028
(exit $ac_status); } && {
3029
test -z "$ac_c_werror_flag" ||
3030
test ! -s conftest.err
3031
} && test -s conftest.$ac_objext; then
3034
$as_echo "$as_me: failed program was:" >&5
3035
sed 's/^/| /' conftest.$ac_ext >&5
3038
cat >conftest.$ac_ext <<_ACEOF
3041
cat confdefs.h >>conftest.$ac_ext
3042
cat >>conftest.$ac_ext <<_ACEOF
3043
/* end confdefs.h. */
3053
rm -f conftest.$ac_objext
3054
if { (ac_try="$ac_compile"
3056
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057
*) ac_try_echo=$ac_try;;
3059
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3060
$as_echo "$ac_try_echo") >&5
3061
(eval "$ac_compile") 2>conftest.er1
3063
grep -v '^ *+' conftest.er1 >conftest.err
3065
cat conftest.err >&5
3066
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067
(exit $ac_status); } && {
3068
test -z "$ac_c_werror_flag" ||
3069
test ! -s conftest.err
3070
} && test -s conftest.$ac_objext; then
3073
$as_echo "$as_me: failed program was:" >&5
3074
sed 's/^/| /' conftest.$ac_ext >&5
3076
ac_c_werror_flag=$ac_save_c_werror_flag
3078
cat >conftest.$ac_ext <<_ACEOF
3081
cat confdefs.h >>conftest.$ac_ext
3082
cat >>conftest.$ac_ext <<_ACEOF
3083
/* end confdefs.h. */
3093
rm -f conftest.$ac_objext
3094
if { (ac_try="$ac_compile"
3096
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3097
*) ac_try_echo=$ac_try;;
3099
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3100
$as_echo "$ac_try_echo") >&5
3101
(eval "$ac_compile") 2>conftest.er1
3103
grep -v '^ *+' conftest.er1 >conftest.err
3105
cat conftest.err >&5
3106
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107
(exit $ac_status); } && {
3108
test -z "$ac_c_werror_flag" ||
3109
test ! -s conftest.err
3110
} && test -s conftest.$ac_objext; then
3113
$as_echo "$as_me: failed program was:" >&5
3114
sed 's/^/| /' conftest.$ac_ext >&5
3119
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3122
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3125
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3126
ac_c_werror_flag=$ac_save_c_werror_flag
3128
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3129
$as_echo "$ac_cv_prog_cc_g" >&6; }
3130
if test "$ac_test_CFLAGS" = set; then
3131
CFLAGS=$ac_save_CFLAGS
3132
elif test $ac_cv_prog_cc_g = yes; then
3133
if test "$GCC" = yes; then
3139
if test "$GCC" = yes; then
3145
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3146
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3147
if test "${ac_cv_prog_cc_c89+set}" = set; then
3148
$as_echo_n "(cached) " >&6
3150
ac_cv_prog_cc_c89=no
3152
cat >conftest.$ac_ext <<_ACEOF
3155
cat confdefs.h >>conftest.$ac_ext
3156
cat >>conftest.$ac_ext <<_ACEOF
3157
/* end confdefs.h. */
3160
#include <sys/types.h>
3161
#include <sys/stat.h>
3162
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3163
struct buf { int x; };
3164
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3165
static char *e (p, i)
3171
static char *f (char * (*g) (char **, int), char **p, ...)
3176
s = g (p, va_arg (v,int));
3181
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3182
function prototypes and stuff, but not '\xHH' hex character constants.
3183
These don't provoke an error unfortunately, instead are silently treated
3184
as 'x'. The following induces an error, until -std is added to get
3185
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3186
array size at least. It's necessary to write '\x00'==0 to get something
3187
that's true only with -std. */
3188
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3190
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3191
inside strings and character constants. */
3193
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3195
int test (int i, double x);
3196
struct s1 {int (*f) (int a);};
3197
struct s2 {int (*f) (double a);};
3198
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3204
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3209
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3210
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3212
CC="$ac_save_CC $ac_arg"
3213
rm -f conftest.$ac_objext
3214
if { (ac_try="$ac_compile"
3216
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217
*) ac_try_echo=$ac_try;;
3219
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3220
$as_echo "$ac_try_echo") >&5
3221
(eval "$ac_compile") 2>conftest.er1
3223
grep -v '^ *+' conftest.er1 >conftest.err
3225
cat conftest.err >&5
3226
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227
(exit $ac_status); } && {
3228
test -z "$ac_c_werror_flag" ||
3229
test ! -s conftest.err
3230
} && test -s conftest.$ac_objext; then
3231
ac_cv_prog_cc_c89=$ac_arg
3233
$as_echo "$as_me: failed program was:" >&5
3234
sed 's/^/| /' conftest.$ac_ext >&5
3239
rm -f core conftest.err conftest.$ac_objext
3240
test "x$ac_cv_prog_cc_c89" != "xno" && break
3242
rm -f conftest.$ac_ext
3247
case "x$ac_cv_prog_cc_c89" in
3249
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
3250
$as_echo "none needed" >&6; } ;;
3252
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
3253
$as_echo "unsupported" >&6; } ;;
3255
CC="$CC $ac_cv_prog_cc_c89"
3256
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3257
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3262
ac_cpp='$CPP $CPPFLAGS'
3263
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3264
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3265
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3266
DEPDIR="${am__leading_dot}deps"
3268
ac_config_commands="$ac_config_commands depfiles"
3271
am_make=${MAKE-make}
3272
cat > confinc << 'END'
3277
# If we don't find an include directive, just comment out the code.
3278
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3279
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3283
# First try GNU make style include.
3284
echo "include confinc" > confmf
3285
# We grep out `Entering directory' and `Leaving directory'
3286
# messages which can occur if `w' ends up in MAKEFLAGS.
3287
# In particular we don't look at `^make:' because GNU make might
3288
# be invoked under some other name (usually "gmake"), in which
3289
# case it prints its new name instead of `make'.
3290
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3295
# Now try BSD make style include.
3296
if test "$am__include" = "#"; then
3297
echo '.include "confinc"' > confmf
3298
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3299
am__include=.include
3306
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3307
$as_echo "$_am_result" >&6; }
3308
rm -f confinc confmf
3310
# Check whether --enable-dependency-tracking was given.
3311
if test "${enable_dependency_tracking+set}" = set; then
3312
enableval=$enable_dependency_tracking;
3315
if test "x$enable_dependency_tracking" != xno; then
3316
am_depcomp="$ac_aux_dir/depcomp"
3319
if test "x$enable_dependency_tracking" != xno; then
3329
depcc="$CC" am_compiler_list=
3331
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3332
$as_echo_n "checking dependency style of $depcc... " >&6; }
3333
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3334
$as_echo_n "(cached) " >&6
3336
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3337
# We make a subdir and do the tests there. Otherwise we can end up
3338
# making bogus files that we don't know about and never remove. For
3339
# instance it was reported that on HP-UX the gcc test will end up
3340
# making a dummy file named `D' -- because `-MD' means `put the output
3343
# Copy depcomp to subdir because otherwise we won't find it if we're
3344
# using a relative directory.
3345
cp "$am_depcomp" conftest.dir
3347
# We will build objects and dependencies in a subdirectory because
3348
# it helps to detect inapplicable dependency modes. For instance
3349
# both Tru64's cc and ICC support -MD to output dependencies as a
3350
# side effect of compilation, but ICC will put the dependencies in
3351
# the current directory while Tru64 will put them in the object
3355
am_cv_CC_dependencies_compiler_type=none
3356
if test "$am_compiler_list" = ""; then
3357
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3359
for depmode in $am_compiler_list; do
3360
# Setup a source with many dependencies, because some compilers
3361
# like to wrap large dependency lists on column 80 (with \), and
3362
# we should not choose a depcomp mode which is confused by this.
3364
# We need to recreate these files for each test, as the compiler may
3365
# overwrite some of them when testing with obscure command lines.
3366
# This happens at least with the AIX C compiler.
3368
for i in 1 2 3 4 5 6; do
3369
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3370
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3371
# Solaris 8's {/usr,}/bin/sh.
3372
touch sub/conftst$i.h
3374
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3378
# after this tag, mechanisms are not by side-effect, so they'll
3379
# only be used when explicitly requested
3380
if test "x$enable_dependency_tracking" = xyes; then
3388
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3389
# mode. It turns out that the SunPro C++ compiler does not properly
3390
# handle `-M -o', and we need to detect this.
3391
if depmode=$depmode \
3392
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3393
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3394
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3395
>/dev/null 2>conftest.err &&
3396
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3397
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3398
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3399
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3400
# icc doesn't choke on unknown options, it will just issue warnings
3401
# or remarks (even with -Werror). So we grep stderr for any message
3402
# that says an option was ignored or not supported.
3403
# When given -MP, icc 7.0 and 7.1 complain thusly:
3404
# icc: Command line warning: ignoring option '-M'; no argument required
3405
# The diagnosis changed in icc 8.0:
3406
# icc: Command line remark: option '-MP' not supported
3407
if (grep 'ignoring option' conftest.err ||
3408
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3409
am_cv_CC_dependencies_compiler_type=$depmode
3418
am_cv_CC_dependencies_compiler_type=none
3422
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3423
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3424
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3427
test "x$enable_dependency_tracking" != xno \
3428
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3430
am__fastdepCC_FALSE='#'
3432
am__fastdepCC_TRUE='#'
3433
am__fastdepCC_FALSE=
3438
ac_cpp='$CPP $CPPFLAGS'
3439
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3440
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3441
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3442
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3443
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3444
# On Suns, sometimes $CPP names a directory.
3445
if test -n "$CPP" && test -d "$CPP"; then
3448
if test -z "$CPP"; then
3449
if test "${ac_cv_prog_CPP+set}" = set; then
3450
$as_echo_n "(cached) " >&6
3452
# Double quotes because CPP needs to be expanded
3453
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3456
for ac_c_preproc_warn_flag in '' yes
3458
# Use a header file that comes with gcc, so configuring glibc
3459
# with a fresh cross-compiler works.
3460
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3461
# <limits.h> exists even on freestanding compilers.
3462
# On the NeXT, cc -E runs the code through the compiler's parser,
3463
# not just through cpp. "Syntax error" is here to catch this case.
3464
cat >conftest.$ac_ext <<_ACEOF
3467
cat confdefs.h >>conftest.$ac_ext
3468
cat >>conftest.$ac_ext <<_ACEOF
3469
/* end confdefs.h. */
3471
# include <limits.h>
3473
# include <assert.h>
3477
if { (ac_try="$ac_cpp conftest.$ac_ext"
3479
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480
*) ac_try_echo=$ac_try;;
3482
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3483
$as_echo "$ac_try_echo") >&5
3484
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3486
grep -v '^ *+' conftest.er1 >conftest.err
3488
cat conftest.err >&5
3489
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490
(exit $ac_status); } >/dev/null && {
3491
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3492
test ! -s conftest.err
3496
$as_echo "$as_me: failed program was:" >&5
3497
sed 's/^/| /' conftest.$ac_ext >&5
3499
# Broken: fails on valid input.
3503
rm -f conftest.err conftest.$ac_ext
3505
# OK, works on sane cases. Now check whether nonexistent headers
3506
# can be detected and how.
3507
cat >conftest.$ac_ext <<_ACEOF
3510
cat confdefs.h >>conftest.$ac_ext
3511
cat >>conftest.$ac_ext <<_ACEOF
3512
/* end confdefs.h. */
3513
#include <ac_nonexistent.h>
3515
if { (ac_try="$ac_cpp conftest.$ac_ext"
3517
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3518
*) ac_try_echo=$ac_try;;
3520
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3521
$as_echo "$ac_try_echo") >&5
3522
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3524
grep -v '^ *+' conftest.er1 >conftest.err
3526
cat conftest.err >&5
3527
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528
(exit $ac_status); } >/dev/null && {
3529
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3530
test ! -s conftest.err
3532
# Broken: success on invalid input.
3535
$as_echo "$as_me: failed program was:" >&5
3536
sed 's/^/| /' conftest.$ac_ext >&5
3538
# Passes both tests.
3543
rm -f conftest.err conftest.$ac_ext
3546
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3547
rm -f conftest.err conftest.$ac_ext
3548
if $ac_preproc_ok; then
3560
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3561
$as_echo "$CPP" >&6; }
3563
for ac_c_preproc_warn_flag in '' yes
3565
# Use a header file that comes with gcc, so configuring glibc
3566
# with a fresh cross-compiler works.
3567
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3568
# <limits.h> exists even on freestanding compilers.
3569
# On the NeXT, cc -E runs the code through the compiler's parser,
3570
# not just through cpp. "Syntax error" is here to catch this case.
3571
cat >conftest.$ac_ext <<_ACEOF
3574
cat confdefs.h >>conftest.$ac_ext
3575
cat >>conftest.$ac_ext <<_ACEOF
3576
/* end confdefs.h. */
3578
# include <limits.h>
3580
# include <assert.h>
3584
if { (ac_try="$ac_cpp conftest.$ac_ext"
3586
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3587
*) ac_try_echo=$ac_try;;
3589
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3590
$as_echo "$ac_try_echo") >&5
3591
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3593
grep -v '^ *+' conftest.er1 >conftest.err
3595
cat conftest.err >&5
3596
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597
(exit $ac_status); } >/dev/null && {
3598
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3599
test ! -s conftest.err
3603
$as_echo "$as_me: failed program was:" >&5
3604
sed 's/^/| /' conftest.$ac_ext >&5
3606
# Broken: fails on valid input.
3610
rm -f conftest.err conftest.$ac_ext
3612
# OK, works on sane cases. Now check whether nonexistent headers
3613
# can be detected and how.
3614
cat >conftest.$ac_ext <<_ACEOF
3617
cat confdefs.h >>conftest.$ac_ext
3618
cat >>conftest.$ac_ext <<_ACEOF
3619
/* end confdefs.h. */
3620
#include <ac_nonexistent.h>
3622
if { (ac_try="$ac_cpp conftest.$ac_ext"
3624
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3625
*) ac_try_echo=$ac_try;;
3627
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3628
$as_echo "$ac_try_echo") >&5
3629
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3631
grep -v '^ *+' conftest.er1 >conftest.err
3633
cat conftest.err >&5
3634
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635
(exit $ac_status); } >/dev/null && {
3636
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3637
test ! -s conftest.err
3639
# Broken: success on invalid input.
3642
$as_echo "$as_me: failed program was:" >&5
3643
sed 's/^/| /' conftest.$ac_ext >&5
3645
# Passes both tests.
3650
rm -f conftest.err conftest.$ac_ext
3653
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3654
rm -f conftest.err conftest.$ac_ext
3655
if $ac_preproc_ok; then
3658
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3659
See \`config.log' for more details." >&5
3660
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3661
See \`config.log' for more details." >&2;}
3662
{ (exit 1); exit 1; }; }
3666
ac_cpp='$CPP $CPPFLAGS'
3667
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3668
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3669
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3673
cat >conftest.$ac_ext <<_ACEOF
3676
cat confdefs.h >>conftest.$ac_ext
3677
cat >>conftest.$ac_ext <<_ACEOF
3678
/* end confdefs.h. */
3692
rm -f conftest.$ac_objext
3693
if { (ac_try="$ac_compile"
3695
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3696
*) ac_try_echo=$ac_try;;
3698
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3699
$as_echo "$ac_try_echo") >&5
3700
(eval "$ac_compile") 2>conftest.er1
3702
grep -v '^ *+' conftest.er1 >conftest.err
3704
cat conftest.err >&5
3705
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706
(exit $ac_status); } && {
3707
test -z "$ac_c_werror_flag" ||
3708
test ! -s conftest.err
3709
} && test -s conftest.$ac_objext; then
3712
$as_echo "$as_me: failed program was:" >&5
3713
sed 's/^/| /' conftest.$ac_ext >&5
3718
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723
Linux) w_flag="-Wl,-R"
3726
AIX) w_flag="-Wl,-blibpath:"
3727
w_flag_2=":/usr/lib:/lib"
3734
cat >>confdefs.h <<\_ACEOF
3735
#define HAVE_NEW_SEAM_KERBEROS 1
3742
FreeBSD) w_flag="-Wl,-R"
3745
*) w_flag="-Wl,-rpath"
3753
if test "x$ac_krb5_config" = "xyes" ; then
3754
ac_heimdal=`krb5-config --version 2>/dev/null | grep heimdal`
3755
if test "x$ac_heimdal" != "x" ; then
3761
cat >>confdefs.h <<\_ACEOF
3762
#define HAVE_MIT_KERBEROS 1
3765
ac_gss_libs="resolv com_err des425 k5crypto krb5 gssapi_krb5"
3769
Linux) if test "x$enableval" != "xyes" -a "x$enableval" != "x" ; then
3770
ac_libdir=$enableval/lib
3771
ac_includedir=$enableval/include
3773
ac_libdir=`rpm -q -l krb5 2>/dev/null | grep "/libgssapi_krb5" | sed -e 's/\/libgssapi_krb5.*//' | head -1`
3774
ac_includedir=`rpm -q -l krb5-devel 2>/dev/null | grep /krb5.h$ | sed -e 's/\/krb5.h//' | head -1`
3776
if test "x$ac_includedir" != "x" ; then
3777
CPPFLAGS="$CPPFLAGS -I$ac_includedir"
3779
ac_gssapi_cflags=`krb5-config --cflags gssapi 2>/dev/null`
3780
if test "x$ac_gssapi_cflags" != "x" ; then
3781
CPPFLAGS="$CPPFLAGS $ac_gssapi_cflags"
3785
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3786
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3787
if test "${ac_cv_path_GREP+set}" = set; then
3788
$as_echo_n "(cached) " >&6
3790
if test -z "$GREP"; then
3791
ac_path_GREP_found=false
3792
# Loop through the user's path and test for each of PROGNAME-LIST
3793
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3794
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3797
test -z "$as_dir" && as_dir=.
3798
for ac_prog in grep ggrep; do
3799
for ac_exec_ext in '' $ac_executable_extensions; do
3800
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3801
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3802
# Check for GNU ac_path_GREP and select it if it is found.
3803
# Check for GNU $ac_path_GREP
3804
case `"$ac_path_GREP" --version 2>&1` in
3806
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3809
$as_echo_n 0123456789 >"conftest.in"
3812
cat "conftest.in" "conftest.in" >"conftest.tmp"
3813
mv "conftest.tmp" "conftest.in"
3814
cp "conftest.in" "conftest.nl"
3815
$as_echo 'GREP' >> "conftest.nl"
3816
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3817
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3818
ac_count=`expr $ac_count + 1`
3819
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3820
# Best one so far, save it but keep looking for a better one
3821
ac_cv_path_GREP="$ac_path_GREP"
3822
ac_path_GREP_max=$ac_count
3824
# 10*(2^10) chars as input seems more than enough
3825
test $ac_count -gt 10 && break
3827
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3830
$ac_path_GREP_found && break 3
3835
if test -z "$ac_cv_path_GREP"; then
3836
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3837
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3838
{ (exit 1); exit 1; }; }
3841
ac_cv_path_GREP=$GREP
3845
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3846
$as_echo "$ac_cv_path_GREP" >&6; }
3847
GREP="$ac_cv_path_GREP"
3850
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3851
$as_echo_n "checking for egrep... " >&6; }
3852
if test "${ac_cv_path_EGREP+set}" = set; then
3853
$as_echo_n "(cached) " >&6
3855
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3856
then ac_cv_path_EGREP="$GREP -E"
3858
if test -z "$EGREP"; then
3859
ac_path_EGREP_found=false
3860
# Loop through the user's path and test for each of PROGNAME-LIST
3861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3862
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3865
test -z "$as_dir" && as_dir=.
3866
for ac_prog in egrep; do
3867
for ac_exec_ext in '' $ac_executable_extensions; do
3868
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3869
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3870
# Check for GNU ac_path_EGREP and select it if it is found.
3871
# Check for GNU $ac_path_EGREP
3872
case `"$ac_path_EGREP" --version 2>&1` in
3874
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3877
$as_echo_n 0123456789 >"conftest.in"
3880
cat "conftest.in" "conftest.in" >"conftest.tmp"
3881
mv "conftest.tmp" "conftest.in"
3882
cp "conftest.in" "conftest.nl"
3883
$as_echo 'EGREP' >> "conftest.nl"
3884
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3885
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3886
ac_count=`expr $ac_count + 1`
3887
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3888
# Best one so far, save it but keep looking for a better one
3889
ac_cv_path_EGREP="$ac_path_EGREP"
3890
ac_path_EGREP_max=$ac_count
3892
# 10*(2^10) chars as input seems more than enough
3893
test $ac_count -gt 10 && break
3895
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3898
$ac_path_EGREP_found && break 3
3903
if test -z "$ac_cv_path_EGREP"; then
3904
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3905
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3906
{ (exit 1); exit 1; }; }
3909
ac_cv_path_EGREP=$EGREP
3914
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3915
$as_echo "$ac_cv_path_EGREP" >&6; }
3916
EGREP="$ac_cv_path_EGREP"
3919
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3920
$as_echo_n "checking for ANSI C header files... " >&6; }
3921
if test "${ac_cv_header_stdc+set}" = set; then
3922
$as_echo_n "(cached) " >&6
3924
cat >conftest.$ac_ext <<_ACEOF
3927
cat confdefs.h >>conftest.$ac_ext
3928
cat >>conftest.$ac_ext <<_ACEOF
3929
/* end confdefs.h. */
3943
rm -f conftest.$ac_objext
3944
if { (ac_try="$ac_compile"
3946
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3947
*) ac_try_echo=$ac_try;;
3949
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3950
$as_echo "$ac_try_echo") >&5
3951
(eval "$ac_compile") 2>conftest.er1
3953
grep -v '^ *+' conftest.er1 >conftest.err
3955
cat conftest.err >&5
3956
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957
(exit $ac_status); } && {
3958
test -z "$ac_c_werror_flag" ||
3959
test ! -s conftest.err
3960
} && test -s conftest.$ac_objext; then
3961
ac_cv_header_stdc=yes
3963
$as_echo "$as_me: failed program was:" >&5
3964
sed 's/^/| /' conftest.$ac_ext >&5
3966
ac_cv_header_stdc=no
3969
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971
if test $ac_cv_header_stdc = yes; then
3972
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3973
cat >conftest.$ac_ext <<_ACEOF
3976
cat confdefs.h >>conftest.$ac_ext
3977
cat >>conftest.$ac_ext <<_ACEOF
3978
/* end confdefs.h. */
3982
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3983
$EGREP "memchr" >/dev/null 2>&1; then
3986
ac_cv_header_stdc=no
3992
if test $ac_cv_header_stdc = yes; then
3993
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3994
cat >conftest.$ac_ext <<_ACEOF
3997
cat confdefs.h >>conftest.$ac_ext
3998
cat >>conftest.$ac_ext <<_ACEOF
3999
/* end confdefs.h. */
4003
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4004
$EGREP "free" >/dev/null 2>&1; then
4007
ac_cv_header_stdc=no
4013
if test $ac_cv_header_stdc = yes; then
4014
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4015
if test "$cross_compiling" = yes; then
4018
cat >conftest.$ac_ext <<_ACEOF
4021
cat confdefs.h >>conftest.$ac_ext
4022
cat >>conftest.$ac_ext <<_ACEOF
4023
/* end confdefs.h. */
4026
#if ((' ' & 0x0FF) == 0x020)
4027
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4028
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4030
# define ISLOWER(c) \
4031
(('a' <= (c) && (c) <= 'i') \
4032
|| ('j' <= (c) && (c) <= 'r') \
4033
|| ('s' <= (c) && (c) <= 'z'))
4034
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4037
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4042
for (i = 0; i < 256; i++)
4043
if (XOR (islower (i), ISLOWER (i))
4044
|| toupper (i) != TOUPPER (i))
4049
rm -f conftest$ac_exeext
4050
if { (ac_try="$ac_link"
4052
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4053
*) ac_try_echo=$ac_try;;
4055
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4056
$as_echo "$ac_try_echo") >&5
4057
(eval "$ac_link") 2>&5
4059
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4061
{ (case "(($ac_try" in
4062
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4063
*) ac_try_echo=$ac_try;;
4065
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4066
$as_echo "$ac_try_echo") >&5
4067
(eval "$ac_try") 2>&5
4069
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070
(exit $ac_status); }; }; then
4073
$as_echo "$as_me: program exited with status $ac_status" >&5
4074
$as_echo "$as_me: failed program was:" >&5
4075
sed 's/^/| /' conftest.$ac_ext >&5
4078
ac_cv_header_stdc=no
4080
rm -rf conftest.dSYM
4081
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4087
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4088
$as_echo "$ac_cv_header_stdc" >&6; }
4089
if test $ac_cv_header_stdc = yes; then
4091
cat >>confdefs.h <<\_ACEOF
4092
#define STDC_HEADERS 1
4097
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4107
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4108
inttypes.h stdint.h unistd.h
4110
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4111
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4112
$as_echo_n "checking for $ac_header... " >&6; }
4113
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4114
$as_echo_n "(cached) " >&6
4116
cat >conftest.$ac_ext <<_ACEOF
4119
cat confdefs.h >>conftest.$ac_ext
4120
cat >>conftest.$ac_ext <<_ACEOF
4121
/* end confdefs.h. */
4122
$ac_includes_default
4124
#include <$ac_header>
4126
rm -f conftest.$ac_objext
4127
if { (ac_try="$ac_compile"
4129
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4130
*) ac_try_echo=$ac_try;;
4132
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4133
$as_echo "$ac_try_echo") >&5
4134
(eval "$ac_compile") 2>conftest.er1
4136
grep -v '^ *+' conftest.er1 >conftest.err
4138
cat conftest.err >&5
4139
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4140
(exit $ac_status); } && {
4141
test -z "$ac_c_werror_flag" ||
4142
test ! -s conftest.err
4143
} && test -s conftest.$ac_objext; then
4144
eval "$as_ac_Header=yes"
4146
$as_echo "$as_me: failed program was:" >&5
4147
sed 's/^/| /' conftest.$ac_ext >&5
4149
eval "$as_ac_Header=no"
4152
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4154
ac_res=`eval 'as_val=${'$as_ac_Header'}
4155
$as_echo "$as_val"'`
4156
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4157
$as_echo "$ac_res" >&6; }
4158
if test `eval 'as_val=${'$as_ac_Header'}
4159
$as_echo "$as_val"'` = yes; then
4160
cat >>confdefs.h <<_ACEOF
4161
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4173
for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
4175
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4176
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4177
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4178
$as_echo_n "checking for $ac_header... " >&6; }
4179
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4180
$as_echo_n "(cached) " >&6
4182
ac_res=`eval 'as_val=${'$as_ac_Header'}
4183
$as_echo "$as_val"'`
4184
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4185
$as_echo "$ac_res" >&6; }
4187
# Is the header compilable?
4188
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4189
$as_echo_n "checking $ac_header usability... " >&6; }
4190
cat >conftest.$ac_ext <<_ACEOF
4193
cat confdefs.h >>conftest.$ac_ext
4194
cat >>conftest.$ac_ext <<_ACEOF
4195
/* end confdefs.h. */
4196
$ac_includes_default
4197
#include <$ac_header>
4199
rm -f conftest.$ac_objext
4200
if { (ac_try="$ac_compile"
4202
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4203
*) ac_try_echo=$ac_try;;
4205
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4206
$as_echo "$ac_try_echo") >&5
4207
(eval "$ac_compile") 2>conftest.er1
4209
grep -v '^ *+' conftest.er1 >conftest.err
4211
cat conftest.err >&5
4212
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213
(exit $ac_status); } && {
4214
test -z "$ac_c_werror_flag" ||
4215
test ! -s conftest.err
4216
} && test -s conftest.$ac_objext; then
4217
ac_header_compiler=yes
4219
$as_echo "$as_me: failed program was:" >&5
4220
sed 's/^/| /' conftest.$ac_ext >&5
4222
ac_header_compiler=no
4225
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4227
$as_echo "$ac_header_compiler" >&6; }
4229
# Is the header present?
4230
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4231
$as_echo_n "checking $ac_header presence... " >&6; }
4232
cat >conftest.$ac_ext <<_ACEOF
4235
cat confdefs.h >>conftest.$ac_ext
4236
cat >>conftest.$ac_ext <<_ACEOF
4237
/* end confdefs.h. */
4238
#include <$ac_header>
4240
if { (ac_try="$ac_cpp conftest.$ac_ext"
4242
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4243
*) ac_try_echo=$ac_try;;
4245
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4246
$as_echo "$ac_try_echo") >&5
4247
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4249
grep -v '^ *+' conftest.er1 >conftest.err
4251
cat conftest.err >&5
4252
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253
(exit $ac_status); } >/dev/null && {
4254
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4255
test ! -s conftest.err
4257
ac_header_preproc=yes
4259
$as_echo "$as_me: failed program was:" >&5
4260
sed 's/^/| /' conftest.$ac_ext >&5
4262
ac_header_preproc=no
4265
rm -f conftest.err conftest.$ac_ext
4266
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4267
$as_echo "$ac_header_preproc" >&6; }
4269
# So? What about this header?
4270
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4272
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4273
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4274
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4275
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4276
ac_header_preproc=yes
4279
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4280
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4281
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4282
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4283
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4284
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4285
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4286
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4287
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4288
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4289
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4290
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4292
## -------------------------------------------- ##
4293
## Report this to markus_moeller@compuserve.com ##
4294
## -------------------------------------------- ##
4296
) | sed "s/^/$as_me: WARNING: /" >&2
4299
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4300
$as_echo_n "checking for $ac_header... " >&6; }
4301
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4302
$as_echo_n "(cached) " >&6
4304
eval "$as_ac_Header=\$ac_header_preproc"
4306
ac_res=`eval 'as_val=${'$as_ac_Header'}
4307
$as_echo "$as_val"'`
4308
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4309
$as_echo "$ac_res" >&6; }
4312
if test `eval 'as_val=${'$as_ac_Header'}
4313
$as_echo "$as_val"'` = yes; then
4314
cat >>confdefs.h <<_ACEOF
4315
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4322
if test "x$ac_libdir" != "x" ; then
4323
LDFLAGS="$LDFLAGS -L$ac_libdir $w_flag$ac_libdir$w_flag_2"
4324
for lib in $ac_gss_libs; do
4326
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
4327
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
4328
$as_echo_n "checking for main in -l$lib... " >&6; }
4329
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
4330
$as_echo_n "(cached) " >&6
4332
ac_check_lib_save_LIBS=$LIBS
4334
cat >conftest.$ac_ext <<_ACEOF
4337
cat confdefs.h >>conftest.$ac_ext
4338
cat >>conftest.$ac_ext <<_ACEOF
4339
/* end confdefs.h. */
4350
rm -f conftest.$ac_objext conftest$ac_exeext
4351
if { (ac_try="$ac_link"
4353
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354
*) ac_try_echo=$ac_try;;
4356
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4357
$as_echo "$ac_try_echo") >&5
4358
(eval "$ac_link") 2>conftest.er1
4360
grep -v '^ *+' conftest.er1 >conftest.err
4362
cat conftest.err >&5
4363
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364
(exit $ac_status); } && {
4365
test -z "$ac_c_werror_flag" ||
4366
test ! -s conftest.err
4367
} && test -s conftest$ac_exeext && {
4368
test "$cross_compiling" = yes ||
4369
$as_test_x conftest$ac_exeext
4371
eval "$as_ac_Lib=yes"
4373
$as_echo "$as_me: failed program was:" >&5
4374
sed 's/^/| /' conftest.$ac_ext >&5
4376
eval "$as_ac_Lib=no"
4379
rm -rf conftest.dSYM
4380
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4381
conftest$ac_exeext conftest.$ac_ext
4382
LIBS=$ac_check_lib_save_LIBS
4384
ac_res=`eval 'as_val=${'$as_ac_Lib'}
4385
$as_echo "$as_val"'`
4386
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4387
$as_echo "$ac_res" >&6; }
4388
if test `eval 'as_val=${'$as_ac_Lib'}
4389
$as_echo "$as_val"'` = yes; then
4390
cat >>confdefs.h <<_ACEOF
4391
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
4400
ac_gssapi_libs=`krb5-config --libs gssapi 2>/dev/null`
4401
if test "x$ac_gssapi_libs" != "x" ; then
4402
LDFLAGS="$LDFLAGS $ac_gssapi_libs"
4404
for lib in $ac_gss_libs; do
4406
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
4407
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
4408
$as_echo_n "checking for main in -l$lib... " >&6; }
4409
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
4410
$as_echo_n "(cached) " >&6
4412
ac_check_lib_save_LIBS=$LIBS
4414
cat >conftest.$ac_ext <<_ACEOF
4417
cat confdefs.h >>conftest.$ac_ext
4418
cat >>conftest.$ac_ext <<_ACEOF
4419
/* end confdefs.h. */
4430
rm -f conftest.$ac_objext conftest$ac_exeext
4431
if { (ac_try="$ac_link"
4433
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4434
*) ac_try_echo=$ac_try;;
4436
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4437
$as_echo "$ac_try_echo") >&5
4438
(eval "$ac_link") 2>conftest.er1
4440
grep -v '^ *+' conftest.er1 >conftest.err
4442
cat conftest.err >&5
4443
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4444
(exit $ac_status); } && {
4445
test -z "$ac_c_werror_flag" ||
4446
test ! -s conftest.err
4447
} && test -s conftest$ac_exeext && {
4448
test "$cross_compiling" = yes ||
4449
$as_test_x conftest$ac_exeext
4451
eval "$as_ac_Lib=yes"
4453
$as_echo "$as_me: failed program was:" >&5
4454
sed 's/^/| /' conftest.$ac_ext >&5
4456
eval "$as_ac_Lib=no"
4459
rm -rf conftest.dSYM
4460
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4461
conftest$ac_exeext conftest.$ac_ext
4462
LIBS=$ac_check_lib_save_LIBS
4464
ac_res=`eval 'as_val=${'$as_ac_Lib'}
4465
$as_echo "$as_val"'`
4466
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4467
$as_echo "$ac_res" >&6; }
4468
if test `eval 'as_val=${'$as_ac_Lib'}
4469
$as_echo "$as_val"'` = yes; then
4470
cat >>confdefs.h <<_ACEOF
4471
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
4482
*) if test "x$enableval" != "xyes" -a "x$enableval" != "x" ; then
4483
ac_libdir=$enableval/lib
4484
ac_includedir=$enableval/include
4485
CPPFLAGS="$CPPFLAGS -I$ac_includedir"
4490
for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
4492
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4493
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4494
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4495
$as_echo_n "checking for $ac_header... " >&6; }
4496
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4497
$as_echo_n "(cached) " >&6
4499
ac_res=`eval 'as_val=${'$as_ac_Header'}
4500
$as_echo "$as_val"'`
4501
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4502
$as_echo "$ac_res" >&6; }
4504
# Is the header compilable?
4505
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4506
$as_echo_n "checking $ac_header usability... " >&6; }
4507
cat >conftest.$ac_ext <<_ACEOF
4510
cat confdefs.h >>conftest.$ac_ext
4511
cat >>conftest.$ac_ext <<_ACEOF
4512
/* end confdefs.h. */
4513
$ac_includes_default
4514
#include <$ac_header>
4516
rm -f conftest.$ac_objext
4517
if { (ac_try="$ac_compile"
4519
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4520
*) ac_try_echo=$ac_try;;
4522
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4523
$as_echo "$ac_try_echo") >&5
4524
(eval "$ac_compile") 2>conftest.er1
4526
grep -v '^ *+' conftest.er1 >conftest.err
4528
cat conftest.err >&5
4529
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530
(exit $ac_status); } && {
4531
test -z "$ac_c_werror_flag" ||
4532
test ! -s conftest.err
4533
} && test -s conftest.$ac_objext; then
4534
ac_header_compiler=yes
4536
$as_echo "$as_me: failed program was:" >&5
4537
sed 's/^/| /' conftest.$ac_ext >&5
4539
ac_header_compiler=no
4542
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4543
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4544
$as_echo "$ac_header_compiler" >&6; }
4546
# Is the header present?
4547
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4548
$as_echo_n "checking $ac_header presence... " >&6; }
4549
cat >conftest.$ac_ext <<_ACEOF
4552
cat confdefs.h >>conftest.$ac_ext
4553
cat >>conftest.$ac_ext <<_ACEOF
4554
/* end confdefs.h. */
4555
#include <$ac_header>
4557
if { (ac_try="$ac_cpp conftest.$ac_ext"
4559
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4560
*) ac_try_echo=$ac_try;;
4562
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4563
$as_echo "$ac_try_echo") >&5
4564
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4566
grep -v '^ *+' conftest.er1 >conftest.err
4568
cat conftest.err >&5
4569
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570
(exit $ac_status); } >/dev/null && {
4571
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4572
test ! -s conftest.err
4574
ac_header_preproc=yes
4576
$as_echo "$as_me: failed program was:" >&5
4577
sed 's/^/| /' conftest.$ac_ext >&5
4579
ac_header_preproc=no
4582
rm -f conftest.err conftest.$ac_ext
4583
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4584
$as_echo "$ac_header_preproc" >&6; }
4586
# So? What about this header?
4587
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4589
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4590
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4591
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4592
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4593
ac_header_preproc=yes
4596
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4597
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4598
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4599
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4600
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4601
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4602
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4603
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4604
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4605
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4606
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4607
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4609
## -------------------------------------------- ##
4610
## Report this to markus_moeller@compuserve.com ##
4611
## -------------------------------------------- ##
4613
) | sed "s/^/$as_me: WARNING: /" >&2
4616
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4617
$as_echo_n "checking for $ac_header... " >&6; }
4618
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4619
$as_echo_n "(cached) " >&6
4621
eval "$as_ac_Header=\$ac_header_preproc"
4623
ac_res=`eval 'as_val=${'$as_ac_Header'}
4624
$as_echo "$as_val"'`
4625
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4626
$as_echo "$ac_res" >&6; }
4629
if test `eval 'as_val=${'$as_ac_Header'}
4630
$as_echo "$as_val"'` = yes; then
4631
cat >>confdefs.h <<_ACEOF
4632
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4639
LDFLAGS="$LDFLAGS -L$ac_libdir $w_flag$ac_libdir$w_flag_2"
4640
for lib in $ac_gss_libs; do
4642
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
4643
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
4644
$as_echo_n "checking for main in -l$lib... " >&6; }
4645
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
4646
$as_echo_n "(cached) " >&6
4648
ac_check_lib_save_LIBS=$LIBS
4650
cat >conftest.$ac_ext <<_ACEOF
4653
cat confdefs.h >>conftest.$ac_ext
4654
cat >>conftest.$ac_ext <<_ACEOF
4655
/* end confdefs.h. */
4666
rm -f conftest.$ac_objext conftest$ac_exeext
4667
if { (ac_try="$ac_link"
4669
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4670
*) ac_try_echo=$ac_try;;
4672
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4673
$as_echo "$ac_try_echo") >&5
4674
(eval "$ac_link") 2>conftest.er1
4676
grep -v '^ *+' conftest.er1 >conftest.err
4678
cat conftest.err >&5
4679
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680
(exit $ac_status); } && {
4681
test -z "$ac_c_werror_flag" ||
4682
test ! -s conftest.err
4683
} && test -s conftest$ac_exeext && {
4684
test "$cross_compiling" = yes ||
4685
$as_test_x conftest$ac_exeext
4687
eval "$as_ac_Lib=yes"
4689
$as_echo "$as_me: failed program was:" >&5
4690
sed 's/^/| /' conftest.$ac_ext >&5
4692
eval "$as_ac_Lib=no"
4695
rm -rf conftest.dSYM
4696
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4697
conftest$ac_exeext conftest.$ac_ext
4698
LIBS=$ac_check_lib_save_LIBS
4700
ac_res=`eval 'as_val=${'$as_ac_Lib'}
4701
$as_echo "$as_val"'`
4702
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4703
$as_echo "$ac_res" >&6; }
4704
if test `eval 'as_val=${'$as_ac_Lib'}
4705
$as_echo "$as_val"'` = yes; then
4706
cat >>confdefs.h <<_ACEOF
4707
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
4716
ac_gssapi_cflags=`krb5-config --cflags gssapi 2>/dev/null`
4717
if test "x$ac_gssapi_cflags" != "x" ; then
4718
CPPFLAGS="$CPPFLAGS $ac_gssapi_cflags"
4720
ac_gssapi_libs=`krb5-config --libs gssapi 2>/dev/null`
4721
if test "x$ac_gssapi_libs" != "x" ; then
4722
LDFLAGS="$LDFLAGS $ac_gssapi_libs"
4724
for lib in $ac_gss_libs; do
4726
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
4727
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
4728
$as_echo_n "checking for main in -l$lib... " >&6; }
4729
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
4730
$as_echo_n "(cached) " >&6
4732
ac_check_lib_save_LIBS=$LIBS
4734
cat >conftest.$ac_ext <<_ACEOF
4737
cat confdefs.h >>conftest.$ac_ext
4738
cat >>conftest.$ac_ext <<_ACEOF
4739
/* end confdefs.h. */
4750
rm -f conftest.$ac_objext conftest$ac_exeext
4751
if { (ac_try="$ac_link"
4753
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4754
*) ac_try_echo=$ac_try;;
4756
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4757
$as_echo "$ac_try_echo") >&5
4758
(eval "$ac_link") 2>conftest.er1
4760
grep -v '^ *+' conftest.er1 >conftest.err
4762
cat conftest.err >&5
4763
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764
(exit $ac_status); } && {
4765
test -z "$ac_c_werror_flag" ||
4766
test ! -s conftest.err
4767
} && test -s conftest$ac_exeext && {
4768
test "$cross_compiling" = yes ||
4769
$as_test_x conftest$ac_exeext
4771
eval "$as_ac_Lib=yes"
4773
$as_echo "$as_me: failed program was:" >&5
4774
sed 's/^/| /' conftest.$ac_ext >&5
4776
eval "$as_ac_Lib=no"
4779
rm -rf conftest.dSYM
4780
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4781
conftest$ac_exeext conftest.$ac_ext
4782
LIBS=$ac_check_lib_save_LIBS
4784
ac_res=`eval 'as_val=${'$as_ac_Lib'}
4785
$as_echo "$as_val"'`
4786
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4787
$as_echo "$ac_res" >&6; }
4788
if test `eval 'as_val=${'$as_ac_Lib'}
4789
$as_echo "$as_val"'` = yes; then
4790
cat >>confdefs.h <<_ACEOF
4791
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
4804
for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
4806
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4807
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4808
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4809
$as_echo_n "checking for $ac_header... " >&6; }
4810
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4811
$as_echo_n "(cached) " >&6
4813
ac_res=`eval 'as_val=${'$as_ac_Header'}
4814
$as_echo "$as_val"'`
4815
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4816
$as_echo "$ac_res" >&6; }
4818
# Is the header compilable?
4819
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4820
$as_echo_n "checking $ac_header usability... " >&6; }
4821
cat >conftest.$ac_ext <<_ACEOF
4824
cat confdefs.h >>conftest.$ac_ext
4825
cat >>conftest.$ac_ext <<_ACEOF
4826
/* end confdefs.h. */
4827
$ac_includes_default
4828
#include <$ac_header>
4830
rm -f conftest.$ac_objext
4831
if { (ac_try="$ac_compile"
4833
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4834
*) ac_try_echo=$ac_try;;
4836
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4837
$as_echo "$ac_try_echo") >&5
4838
(eval "$ac_compile") 2>conftest.er1
4840
grep -v '^ *+' conftest.er1 >conftest.err
4842
cat conftest.err >&5
4843
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844
(exit $ac_status); } && {
4845
test -z "$ac_c_werror_flag" ||
4846
test ! -s conftest.err
4847
} && test -s conftest.$ac_objext; then
4848
ac_header_compiler=yes
4850
$as_echo "$as_me: failed program was:" >&5
4851
sed 's/^/| /' conftest.$ac_ext >&5
4853
ac_header_compiler=no
4856
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4857
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4858
$as_echo "$ac_header_compiler" >&6; }
4860
# Is the header present?
4861
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4862
$as_echo_n "checking $ac_header presence... " >&6; }
4863
cat >conftest.$ac_ext <<_ACEOF
4866
cat confdefs.h >>conftest.$ac_ext
4867
cat >>conftest.$ac_ext <<_ACEOF
4868
/* end confdefs.h. */
4869
#include <$ac_header>
4871
if { (ac_try="$ac_cpp conftest.$ac_ext"
4873
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4874
*) ac_try_echo=$ac_try;;
4876
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4877
$as_echo "$ac_try_echo") >&5
4878
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4880
grep -v '^ *+' conftest.er1 >conftest.err
4882
cat conftest.err >&5
4883
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884
(exit $ac_status); } >/dev/null && {
4885
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4886
test ! -s conftest.err
4888
ac_header_preproc=yes
4890
$as_echo "$as_me: failed program was:" >&5
4891
sed 's/^/| /' conftest.$ac_ext >&5
4893
ac_header_preproc=no
4896
rm -f conftest.err conftest.$ac_ext
4897
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4898
$as_echo "$ac_header_preproc" >&6; }
4900
# So? What about this header?
4901
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4903
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4904
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4905
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4906
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4907
ac_header_preproc=yes
4910
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4911
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4912
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4913
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4914
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4915
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4916
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4917
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4918
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4919
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4920
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4921
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4923
## -------------------------------------------- ##
4924
## Report this to markus_moeller@compuserve.com ##
4925
## -------------------------------------------- ##
4927
) | sed "s/^/$as_me: WARNING: /" >&2
4930
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4931
$as_echo_n "checking for $ac_header... " >&6; }
4932
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4933
$as_echo_n "(cached) " >&6
4935
eval "$as_ac_Header=\$ac_header_preproc"
4937
ac_res=`eval 'as_val=${'$as_ac_Header'}
4938
$as_echo "$as_val"'`
4939
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4940
$as_echo "$ac_res" >&6; }
4943
if test `eval 'as_val=${'$as_ac_Header'}
4944
$as_echo "$as_val"'` = yes; then
4945
cat >>confdefs.h <<_ACEOF
4946
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4959
if test "x$ac_krb5_config" = "xyes" ; then
4960
ac_heimdal=`krb5-config --version 2>/dev/null | grep heimdal`
4961
if test "x$ac_heimdal" = "x" ; then
4967
cat >>confdefs.h <<\_ACEOF
4968
#define HAVE_HEIMDAL_KERBEROS 1
4971
ac_gss_libs="resolv crypto des crypt roken com_err asn1 krb5 gssapi"
4975
Linux) if test "x$enableval" != "xyes" -a "x$enableval" != "x" ; then
4976
ac_libdir=$enableval/lib
4977
ac_includedir=$enableval/include
4979
ac_libdir=`rpm -q -l heimdal-devel 2>/dev/null | grep "/libroken" | sed -e 's/\/libroken.*//' | head -1`
4980
ac_includedir=`rpm -q -l heimdal-devel 2>/dev/null | grep /krb5.h$ | sed -e 's/\/krb5.h//' | head -1`
4982
if test "x$ac_includedir" != "x" ; then
4983
CPPFLAGS="$CPPFLAGS -I$ac_includedir"
4985
ac_gssapi_cflags=`krb5-config --cflags gssapi 2>/dev/null`
4986
if test "x$ac_gssapi_cflags" != "x" ; then
4987
CPPFLAGS="$CPPFLAGS $ac_gssapi_cflags"
4992
for ac_header in gssapi.h gssapi/gssapi.h
4994
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4995
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4996
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4997
$as_echo_n "checking for $ac_header... " >&6; }
4998
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4999
$as_echo_n "(cached) " >&6
5001
ac_res=`eval 'as_val=${'$as_ac_Header'}
5002
$as_echo "$as_val"'`
5003
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5004
$as_echo "$ac_res" >&6; }
5006
# Is the header compilable?
5007
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5008
$as_echo_n "checking $ac_header usability... " >&6; }
5009
cat >conftest.$ac_ext <<_ACEOF
5012
cat confdefs.h >>conftest.$ac_ext
5013
cat >>conftest.$ac_ext <<_ACEOF
5014
/* end confdefs.h. */
5015
$ac_includes_default
5016
#include <$ac_header>
5018
rm -f conftest.$ac_objext
5019
if { (ac_try="$ac_compile"
5021
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5022
*) ac_try_echo=$ac_try;;
5024
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5025
$as_echo "$ac_try_echo") >&5
5026
(eval "$ac_compile") 2>conftest.er1
5028
grep -v '^ *+' conftest.er1 >conftest.err
5030
cat conftest.err >&5
5031
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032
(exit $ac_status); } && {
5033
test -z "$ac_c_werror_flag" ||
5034
test ! -s conftest.err
5035
} && test -s conftest.$ac_objext; then
5036
ac_header_compiler=yes
5038
$as_echo "$as_me: failed program was:" >&5
5039
sed 's/^/| /' conftest.$ac_ext >&5
5041
ac_header_compiler=no
5044
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5046
$as_echo "$ac_header_compiler" >&6; }
5048
# Is the header present?
5049
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5050
$as_echo_n "checking $ac_header presence... " >&6; }
5051
cat >conftest.$ac_ext <<_ACEOF
5054
cat confdefs.h >>conftest.$ac_ext
5055
cat >>conftest.$ac_ext <<_ACEOF
5056
/* end confdefs.h. */
5057
#include <$ac_header>
5059
if { (ac_try="$ac_cpp conftest.$ac_ext"
5061
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5062
*) ac_try_echo=$ac_try;;
5064
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5065
$as_echo "$ac_try_echo") >&5
5066
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5068
grep -v '^ *+' conftest.er1 >conftest.err
5070
cat conftest.err >&5
5071
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072
(exit $ac_status); } >/dev/null && {
5073
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5074
test ! -s conftest.err
5076
ac_header_preproc=yes
5078
$as_echo "$as_me: failed program was:" >&5
5079
sed 's/^/| /' conftest.$ac_ext >&5
5081
ac_header_preproc=no
5084
rm -f conftest.err conftest.$ac_ext
5085
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5086
$as_echo "$ac_header_preproc" >&6; }
5088
# So? What about this header?
5089
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5091
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5092
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5093
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5094
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5095
ac_header_preproc=yes
5098
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5099
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5100
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5101
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5102
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5103
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5104
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5105
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5106
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5107
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5108
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5109
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5111
## -------------------------------------------- ##
5112
## Report this to markus_moeller@compuserve.com ##
5113
## -------------------------------------------- ##
5115
) | sed "s/^/$as_me: WARNING: /" >&2
5118
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5119
$as_echo_n "checking for $ac_header... " >&6; }
5120
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5121
$as_echo_n "(cached) " >&6
5123
eval "$as_ac_Header=\$ac_header_preproc"
5125
ac_res=`eval 'as_val=${'$as_ac_Header'}
5126
$as_echo "$as_val"'`
5127
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5128
$as_echo "$ac_res" >&6; }
5131
if test `eval 'as_val=${'$as_ac_Header'}
5132
$as_echo "$as_val"'` = yes; then
5133
cat >>confdefs.h <<_ACEOF
5134
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5141
if test "x$ac_libdir" != "x" ; then
5142
LDFLAGS="$LDFLAGS -L$ac_libdir $w_flag$ac_libdir$w_flag_2"
5143
for lib in $ac_gss_libs; do
5145
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
5146
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
5147
$as_echo_n "checking for main in -l$lib... " >&6; }
5148
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
5149
$as_echo_n "(cached) " >&6
5151
ac_check_lib_save_LIBS=$LIBS
5153
cat >conftest.$ac_ext <<_ACEOF
5156
cat confdefs.h >>conftest.$ac_ext
5157
cat >>conftest.$ac_ext <<_ACEOF
5158
/* end confdefs.h. */
5169
rm -f conftest.$ac_objext conftest$ac_exeext
5170
if { (ac_try="$ac_link"
5172
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5173
*) ac_try_echo=$ac_try;;
5175
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5176
$as_echo "$ac_try_echo") >&5
5177
(eval "$ac_link") 2>conftest.er1
5179
grep -v '^ *+' conftest.er1 >conftest.err
5181
cat conftest.err >&5
5182
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183
(exit $ac_status); } && {
5184
test -z "$ac_c_werror_flag" ||
5185
test ! -s conftest.err
5186
} && test -s conftest$ac_exeext && {
5187
test "$cross_compiling" = yes ||
5188
$as_test_x conftest$ac_exeext
5190
eval "$as_ac_Lib=yes"
5192
$as_echo "$as_me: failed program was:" >&5
5193
sed 's/^/| /' conftest.$ac_ext >&5
5195
eval "$as_ac_Lib=no"
5198
rm -rf conftest.dSYM
5199
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5200
conftest$ac_exeext conftest.$ac_ext
5201
LIBS=$ac_check_lib_save_LIBS
5203
ac_res=`eval 'as_val=${'$as_ac_Lib'}
5204
$as_echo "$as_val"'`
5205
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5206
$as_echo "$ac_res" >&6; }
5207
if test `eval 'as_val=${'$as_ac_Lib'}
5208
$as_echo "$as_val"'` = yes; then
5209
cat >>confdefs.h <<_ACEOF
5210
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
5219
ac_gssapi_libs=`krb5-config --libs gssapi 2>/dev/null`
5220
if test "x$ac_gssapi_libs" != "x" ; then
5221
ac_libdir=`echo $ac_gssapi_libs | grep "\-L"`
5222
if test "x$ac_libdir" != "x" ; then
5223
ac_libdir=`echo $ac_gssapi_libs | sed -e 's/.*-L//' | sed -e 's/ .*//'`
5224
LDFLAGS="$LDFLAGS $w_flag$ac_libdir$w_flag_2"
5226
LDFLAGS="$LDFLAGS $ac_gssapi_libs"
5228
for lib in $ac_gss_libs; do
5230
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
5231
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
5232
$as_echo_n "checking for main in -l$lib... " >&6; }
5233
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
5234
$as_echo_n "(cached) " >&6
5236
ac_check_lib_save_LIBS=$LIBS
5238
cat >conftest.$ac_ext <<_ACEOF
5241
cat confdefs.h >>conftest.$ac_ext
5242
cat >>conftest.$ac_ext <<_ACEOF
5243
/* end confdefs.h. */
5254
rm -f conftest.$ac_objext conftest$ac_exeext
5255
if { (ac_try="$ac_link"
5257
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5258
*) ac_try_echo=$ac_try;;
5260
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5261
$as_echo "$ac_try_echo") >&5
5262
(eval "$ac_link") 2>conftest.er1
5264
grep -v '^ *+' conftest.er1 >conftest.err
5266
cat conftest.err >&5
5267
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268
(exit $ac_status); } && {
5269
test -z "$ac_c_werror_flag" ||
5270
test ! -s conftest.err
5271
} && test -s conftest$ac_exeext && {
5272
test "$cross_compiling" = yes ||
5273
$as_test_x conftest$ac_exeext
5275
eval "$as_ac_Lib=yes"
5277
$as_echo "$as_me: failed program was:" >&5
5278
sed 's/^/| /' conftest.$ac_ext >&5
5280
eval "$as_ac_Lib=no"
5283
rm -rf conftest.dSYM
5284
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5285
conftest$ac_exeext conftest.$ac_ext
5286
LIBS=$ac_check_lib_save_LIBS
5288
ac_res=`eval 'as_val=${'$as_ac_Lib'}
5289
$as_echo "$as_val"'`
5290
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5291
$as_echo "$ac_res" >&6; }
5292
if test `eval 'as_val=${'$as_ac_Lib'}
5293
$as_echo "$as_val"'` = yes; then
5294
cat >>confdefs.h <<_ACEOF
5295
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
5306
*) if test "x$enableval" != "xyes" -a "x$enableval" != "x" ; then
5307
ac_libdir=$enableval/lib
5308
ac_includedir=$enableval/include
5309
CPPFLAGS="$CPPFLAGS -I$ac_includedir"
5312
for ac_header in gssapi.h gssapi/gssapi.h
5314
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5315
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5316
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5317
$as_echo_n "checking for $ac_header... " >&6; }
5318
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5319
$as_echo_n "(cached) " >&6
5321
ac_res=`eval 'as_val=${'$as_ac_Header'}
5322
$as_echo "$as_val"'`
5323
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5324
$as_echo "$ac_res" >&6; }
5326
# Is the header compilable?
5327
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5328
$as_echo_n "checking $ac_header usability... " >&6; }
5329
cat >conftest.$ac_ext <<_ACEOF
5332
cat confdefs.h >>conftest.$ac_ext
5333
cat >>conftest.$ac_ext <<_ACEOF
5334
/* end confdefs.h. */
5335
$ac_includes_default
5336
#include <$ac_header>
5338
rm -f conftest.$ac_objext
5339
if { (ac_try="$ac_compile"
5341
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5342
*) ac_try_echo=$ac_try;;
5344
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5345
$as_echo "$ac_try_echo") >&5
5346
(eval "$ac_compile") 2>conftest.er1
5348
grep -v '^ *+' conftest.er1 >conftest.err
5350
cat conftest.err >&5
5351
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352
(exit $ac_status); } && {
5353
test -z "$ac_c_werror_flag" ||
5354
test ! -s conftest.err
5355
} && test -s conftest.$ac_objext; then
5356
ac_header_compiler=yes
5358
$as_echo "$as_me: failed program was:" >&5
5359
sed 's/^/| /' conftest.$ac_ext >&5
5361
ac_header_compiler=no
5364
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5365
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5366
$as_echo "$ac_header_compiler" >&6; }
5368
# Is the header present?
5369
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5370
$as_echo_n "checking $ac_header presence... " >&6; }
5371
cat >conftest.$ac_ext <<_ACEOF
5374
cat confdefs.h >>conftest.$ac_ext
5375
cat >>conftest.$ac_ext <<_ACEOF
5376
/* end confdefs.h. */
5377
#include <$ac_header>
5379
if { (ac_try="$ac_cpp conftest.$ac_ext"
5381
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5382
*) ac_try_echo=$ac_try;;
5384
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5385
$as_echo "$ac_try_echo") >&5
5386
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5388
grep -v '^ *+' conftest.er1 >conftest.err
5390
cat conftest.err >&5
5391
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392
(exit $ac_status); } >/dev/null && {
5393
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5394
test ! -s conftest.err
5396
ac_header_preproc=yes
5398
$as_echo "$as_me: failed program was:" >&5
5399
sed 's/^/| /' conftest.$ac_ext >&5
5401
ac_header_preproc=no
5404
rm -f conftest.err conftest.$ac_ext
5405
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5406
$as_echo "$ac_header_preproc" >&6; }
5408
# So? What about this header?
5409
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5411
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5412
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5413
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5414
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5415
ac_header_preproc=yes
5418
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5419
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5420
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5421
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5422
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5423
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5424
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5425
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5426
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5427
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5428
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5429
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5431
## -------------------------------------------- ##
5432
## Report this to markus_moeller@compuserve.com ##
5433
## -------------------------------------------- ##
5435
) | sed "s/^/$as_me: WARNING: /" >&2
5438
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5439
$as_echo_n "checking for $ac_header... " >&6; }
5440
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5441
$as_echo_n "(cached) " >&6
5443
eval "$as_ac_Header=\$ac_header_preproc"
5445
ac_res=`eval 'as_val=${'$as_ac_Header'}
5446
$as_echo "$as_val"'`
5447
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5448
$as_echo "$ac_res" >&6; }
5451
if test `eval 'as_val=${'$as_ac_Header'}
5452
$as_echo "$as_val"'` = yes; then
5453
cat >>confdefs.h <<_ACEOF
5454
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5461
LDFLAGS="$LDFLAGS -L$ac_libdir $w_flag$ac_libdir$w_flag_2"
5462
for lib in $ac_gss_libs; do
5464
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
5465
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
5466
$as_echo_n "checking for main in -l$lib... " >&6; }
5467
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
5468
$as_echo_n "(cached) " >&6
5470
ac_check_lib_save_LIBS=$LIBS
5472
cat >conftest.$ac_ext <<_ACEOF
5475
cat confdefs.h >>conftest.$ac_ext
5476
cat >>conftest.$ac_ext <<_ACEOF
5477
/* end confdefs.h. */
5488
rm -f conftest.$ac_objext conftest$ac_exeext
5489
if { (ac_try="$ac_link"
5491
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5492
*) ac_try_echo=$ac_try;;
5494
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5495
$as_echo "$ac_try_echo") >&5
5496
(eval "$ac_link") 2>conftest.er1
5498
grep -v '^ *+' conftest.er1 >conftest.err
5500
cat conftest.err >&5
5501
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502
(exit $ac_status); } && {
5503
test -z "$ac_c_werror_flag" ||
5504
test ! -s conftest.err
5505
} && test -s conftest$ac_exeext && {
5506
test "$cross_compiling" = yes ||
5507
$as_test_x conftest$ac_exeext
5509
eval "$as_ac_Lib=yes"
5511
$as_echo "$as_me: failed program was:" >&5
5512
sed 's/^/| /' conftest.$ac_ext >&5
5514
eval "$as_ac_Lib=no"
5517
rm -rf conftest.dSYM
5518
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5519
conftest$ac_exeext conftest.$ac_ext
5520
LIBS=$ac_check_lib_save_LIBS
5522
ac_res=`eval 'as_val=${'$as_ac_Lib'}
5523
$as_echo "$as_val"'`
5524
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5525
$as_echo "$ac_res" >&6; }
5526
if test `eval 'as_val=${'$as_ac_Lib'}
5527
$as_echo "$as_val"'` = yes; then
5528
cat >>confdefs.h <<_ACEOF
5529
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
5538
ac_gssapi_cflags=`krb5-config --cflags gssapi 2>/dev/null`
5539
if test "x$ac_gssapi_cflags" != "x" ; then
5540
CPPFLAGS="$CPPFLAGS $ac_gssapi_cflags"
5542
ac_gssapi_libs=`krb5-config --libs gssapi 2>/dev/null`
5543
if test "x$ac_gssapi_libs" != "x" ; then
5544
ac_libdir=`echo $ac_gssapi_libs | grep "\-L"`
5545
if test "x$ac_libdir" != "x" ; then
5546
ac_libdir=`echo $ac_gssapi_libs | sed -e 's/.*-L//' | sed -e 's/ .*//'`
5547
LDFLAGS="$LDFLAGS $w_flag$ac_libdir$w_flag_2"
5549
LDFLAGS="$LDFLAGS $ac_gssapi_libs"
5551
for lib in $ac_gss_libs; do
5553
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
5554
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
5555
$as_echo_n "checking for main in -l$lib... " >&6; }
5556
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
5557
$as_echo_n "(cached) " >&6
5559
ac_check_lib_save_LIBS=$LIBS
5561
cat >conftest.$ac_ext <<_ACEOF
5564
cat confdefs.h >>conftest.$ac_ext
5565
cat >>conftest.$ac_ext <<_ACEOF
5566
/* end confdefs.h. */
5577
rm -f conftest.$ac_objext conftest$ac_exeext
5578
if { (ac_try="$ac_link"
5580
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5581
*) ac_try_echo=$ac_try;;
5583
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5584
$as_echo "$ac_try_echo") >&5
5585
(eval "$ac_link") 2>conftest.er1
5587
grep -v '^ *+' conftest.er1 >conftest.err
5589
cat conftest.err >&5
5590
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591
(exit $ac_status); } && {
5592
test -z "$ac_c_werror_flag" ||
5593
test ! -s conftest.err
5594
} && test -s conftest$ac_exeext && {
5595
test "$cross_compiling" = yes ||
5596
$as_test_x conftest$ac_exeext
5598
eval "$as_ac_Lib=yes"
5600
$as_echo "$as_me: failed program was:" >&5
5601
sed 's/^/| /' conftest.$ac_ext >&5
5603
eval "$as_ac_Lib=no"
5606
rm -rf conftest.dSYM
5607
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5608
conftest$ac_exeext conftest.$ac_ext
5609
LIBS=$ac_check_lib_save_LIBS
5611
ac_res=`eval 'as_val=${'$as_ac_Lib'}
5612
$as_echo "$as_val"'`
5613
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5614
$as_echo "$ac_res" >&6; }
5615
if test `eval 'as_val=${'$as_ac_Lib'}
5616
$as_echo "$as_val"'` = yes; then
5617
cat >>confdefs.h <<_ACEOF
5618
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
5629
for ac_header in gssapi.h gssapi/gssapi.h
5631
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5632
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5633
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5634
$as_echo_n "checking for $ac_header... " >&6; }
5635
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5636
$as_echo_n "(cached) " >&6
5638
ac_res=`eval 'as_val=${'$as_ac_Header'}
5639
$as_echo "$as_val"'`
5640
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5641
$as_echo "$ac_res" >&6; }
5643
# Is the header compilable?
5644
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5645
$as_echo_n "checking $ac_header usability... " >&6; }
5646
cat >conftest.$ac_ext <<_ACEOF
5649
cat confdefs.h >>conftest.$ac_ext
5650
cat >>conftest.$ac_ext <<_ACEOF
5651
/* end confdefs.h. */
5652
$ac_includes_default
5653
#include <$ac_header>
5655
rm -f conftest.$ac_objext
5656
if { (ac_try="$ac_compile"
5658
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5659
*) ac_try_echo=$ac_try;;
5661
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5662
$as_echo "$ac_try_echo") >&5
5663
(eval "$ac_compile") 2>conftest.er1
5665
grep -v '^ *+' conftest.er1 >conftest.err
5667
cat conftest.err >&5
5668
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669
(exit $ac_status); } && {
5670
test -z "$ac_c_werror_flag" ||
5671
test ! -s conftest.err
5672
} && test -s conftest.$ac_objext; then
5673
ac_header_compiler=yes
5675
$as_echo "$as_me: failed program was:" >&5
5676
sed 's/^/| /' conftest.$ac_ext >&5
5678
ac_header_compiler=no
5681
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5682
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5683
$as_echo "$ac_header_compiler" >&6; }
5685
# Is the header present?
5686
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5687
$as_echo_n "checking $ac_header presence... " >&6; }
5688
cat >conftest.$ac_ext <<_ACEOF
5691
cat confdefs.h >>conftest.$ac_ext
5692
cat >>conftest.$ac_ext <<_ACEOF
5693
/* end confdefs.h. */
5694
#include <$ac_header>
5696
if { (ac_try="$ac_cpp conftest.$ac_ext"
5698
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5699
*) ac_try_echo=$ac_try;;
5701
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5702
$as_echo "$ac_try_echo") >&5
5703
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5705
grep -v '^ *+' conftest.er1 >conftest.err
5707
cat conftest.err >&5
5708
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709
(exit $ac_status); } >/dev/null && {
5710
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5711
test ! -s conftest.err
5713
ac_header_preproc=yes
5715
$as_echo "$as_me: failed program was:" >&5
5716
sed 's/^/| /' conftest.$ac_ext >&5
5718
ac_header_preproc=no
5721
rm -f conftest.err conftest.$ac_ext
5722
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5723
$as_echo "$ac_header_preproc" >&6; }
5725
# So? What about this header?
5726
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5728
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5729
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5730
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5731
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5732
ac_header_preproc=yes
5735
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5736
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5737
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5738
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5739
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5740
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5741
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5742
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5743
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5744
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5745
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5746
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5748
## -------------------------------------------- ##
5749
## Report this to markus_moeller@compuserve.com ##
5750
## -------------------------------------------- ##
5752
) | sed "s/^/$as_me: WARNING: /" >&2
5755
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5756
$as_echo_n "checking for $ac_header... " >&6; }
5757
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5758
$as_echo_n "(cached) " >&6
5760
eval "$as_ac_Header=\$ac_header_preproc"
5762
ac_res=`eval 'as_val=${'$as_ac_Header'}
5763
$as_echo "$as_val"'`
5764
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5765
$as_echo "$ac_res" >&6; }
5768
if test `eval 'as_val=${'$as_ac_Header'}
5769
$as_echo "$as_val"'` = yes; then
5770
cat >>confdefs.h <<_ACEOF
5771
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5781
enable_arg="heimdal"
5785
cat >>confdefs.h <<\_ACEOF
5786
#define HAVE_NAS_KERBEROS 1
5793
for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
5795
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5796
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5797
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5798
$as_echo_n "checking for $ac_header... " >&6; }
5799
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5800
$as_echo_n "(cached) " >&6
5802
ac_res=`eval 'as_val=${'$as_ac_Header'}
5803
$as_echo "$as_val"'`
5804
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5805
$as_echo "$ac_res" >&6; }
5807
# Is the header compilable?
5808
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5809
$as_echo_n "checking $ac_header usability... " >&6; }
5810
cat >conftest.$ac_ext <<_ACEOF
5813
cat confdefs.h >>conftest.$ac_ext
5814
cat >>conftest.$ac_ext <<_ACEOF
5815
/* end confdefs.h. */
5816
$ac_includes_default
5817
#include <$ac_header>
5819
rm -f conftest.$ac_objext
5820
if { (ac_try="$ac_compile"
5822
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5823
*) ac_try_echo=$ac_try;;
5825
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5826
$as_echo "$ac_try_echo") >&5
5827
(eval "$ac_compile") 2>conftest.er1
5829
grep -v '^ *+' conftest.er1 >conftest.err
5831
cat conftest.err >&5
5832
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833
(exit $ac_status); } && {
5834
test -z "$ac_c_werror_flag" ||
5835
test ! -s conftest.err
5836
} && test -s conftest.$ac_objext; then
5837
ac_header_compiler=yes
5839
$as_echo "$as_me: failed program was:" >&5
5840
sed 's/^/| /' conftest.$ac_ext >&5
5842
ac_header_compiler=no
5845
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5846
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5847
$as_echo "$ac_header_compiler" >&6; }
5849
# Is the header present?
5850
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5851
$as_echo_n "checking $ac_header presence... " >&6; }
5852
cat >conftest.$ac_ext <<_ACEOF
5855
cat confdefs.h >>conftest.$ac_ext
5856
cat >>conftest.$ac_ext <<_ACEOF
5857
/* end confdefs.h. */
5858
#include <$ac_header>
5860
if { (ac_try="$ac_cpp conftest.$ac_ext"
5862
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5863
*) ac_try_echo=$ac_try;;
5865
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5866
$as_echo "$ac_try_echo") >&5
5867
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5869
grep -v '^ *+' conftest.er1 >conftest.err
5871
cat conftest.err >&5
5872
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873
(exit $ac_status); } >/dev/null && {
5874
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5875
test ! -s conftest.err
5877
ac_header_preproc=yes
5879
$as_echo "$as_me: failed program was:" >&5
5880
sed 's/^/| /' conftest.$ac_ext >&5
5882
ac_header_preproc=no
5885
rm -f conftest.err conftest.$ac_ext
5886
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5887
$as_echo "$ac_header_preproc" >&6; }
5889
# So? What about this header?
5890
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5892
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5893
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5894
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5895
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5896
ac_header_preproc=yes
5899
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5900
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5901
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5902
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5903
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5904
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5905
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5906
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5907
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5908
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5909
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5910
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5912
## -------------------------------------------- ##
5913
## Report this to markus_moeller@compuserve.com ##
5914
## -------------------------------------------- ##
5916
) | sed "s/^/$as_me: WARNING: /" >&2
5919
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5920
$as_echo_n "checking for $ac_header... " >&6; }
5921
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5922
$as_echo_n "(cached) " >&6
5924
eval "$as_ac_Header=\$ac_header_preproc"
5926
ac_res=`eval 'as_val=${'$as_ac_Header'}
5927
$as_echo "$as_val"'`
5928
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5929
$as_echo "$ac_res" >&6; }
5932
if test `eval 'as_val=${'$as_ac_Header'}
5933
$as_echo "$as_val"'` = yes; then
5934
cat >>confdefs.h <<_ACEOF
5935
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5942
LDFLAGS="$LDFLAGS -L/usr/lib"
5943
ac_gss_libs="krb5 gssapi_krb5 ksvc";
5944
for lib in $ac_gss_libs; do
5946
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
5947
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
5948
$as_echo_n "checking for main in -l$lib... " >&6; }
5949
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
5950
$as_echo_n "(cached) " >&6
5952
ac_check_lib_save_LIBS=$LIBS
5954
cat >conftest.$ac_ext <<_ACEOF
5957
cat confdefs.h >>conftest.$ac_ext
5958
cat >>conftest.$ac_ext <<_ACEOF
5959
/* end confdefs.h. */
5970
rm -f conftest.$ac_objext conftest$ac_exeext
5971
if { (ac_try="$ac_link"
5973
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5974
*) ac_try_echo=$ac_try;;
5976
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5977
$as_echo "$ac_try_echo") >&5
5978
(eval "$ac_link") 2>conftest.er1
5980
grep -v '^ *+' conftest.er1 >conftest.err
5982
cat conftest.err >&5
5983
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5984
(exit $ac_status); } && {
5985
test -z "$ac_c_werror_flag" ||
5986
test ! -s conftest.err
5987
} && test -s conftest$ac_exeext && {
5988
test "$cross_compiling" = yes ||
5989
$as_test_x conftest$ac_exeext
5991
eval "$as_ac_Lib=yes"
5993
$as_echo "$as_me: failed program was:" >&5
5994
sed 's/^/| /' conftest.$ac_ext >&5
5996
eval "$as_ac_Lib=no"
5999
rm -rf conftest.dSYM
6000
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6001
conftest$ac_exeext conftest.$ac_ext
6002
LIBS=$ac_check_lib_save_LIBS
6004
ac_res=`eval 'as_val=${'$as_ac_Lib'}
6005
$as_echo "$as_val"'`
6006
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6007
$as_echo "$ac_res" >&6; }
6008
if test `eval 'as_val=${'$as_ac_Lib'}
6009
$as_echo "$as_val"'` = yes; then
6010
cat >>confdefs.h <<_ACEOF
6011
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
6030
cat >>confdefs.h <<\_ACEOF
6031
#define HAVE_SEAM_KERBEROS 1
6037
for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_ext.h
6039
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6040
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6041
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6042
$as_echo_n "checking for $ac_header... " >&6; }
6043
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6044
$as_echo_n "(cached) " >&6
6046
ac_res=`eval 'as_val=${'$as_ac_Header'}
6047
$as_echo "$as_val"'`
6048
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6049
$as_echo "$ac_res" >&6; }
6051
# Is the header compilable?
6052
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6053
$as_echo_n "checking $ac_header usability... " >&6; }
6054
cat >conftest.$ac_ext <<_ACEOF
6057
cat confdefs.h >>conftest.$ac_ext
6058
cat >>conftest.$ac_ext <<_ACEOF
6059
/* end confdefs.h. */
6060
$ac_includes_default
6061
#include <$ac_header>
6063
rm -f conftest.$ac_objext
6064
if { (ac_try="$ac_compile"
6066
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6067
*) ac_try_echo=$ac_try;;
6069
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6070
$as_echo "$ac_try_echo") >&5
6071
(eval "$ac_compile") 2>conftest.er1
6073
grep -v '^ *+' conftest.er1 >conftest.err
6075
cat conftest.err >&5
6076
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077
(exit $ac_status); } && {
6078
test -z "$ac_c_werror_flag" ||
6079
test ! -s conftest.err
6080
} && test -s conftest.$ac_objext; then
6081
ac_header_compiler=yes
6083
$as_echo "$as_me: failed program was:" >&5
6084
sed 's/^/| /' conftest.$ac_ext >&5
6086
ac_header_compiler=no
6089
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6090
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6091
$as_echo "$ac_header_compiler" >&6; }
6093
# Is the header present?
6094
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6095
$as_echo_n "checking $ac_header presence... " >&6; }
6096
cat >conftest.$ac_ext <<_ACEOF
6099
cat confdefs.h >>conftest.$ac_ext
6100
cat >>conftest.$ac_ext <<_ACEOF
6101
/* end confdefs.h. */
6102
#include <$ac_header>
6104
if { (ac_try="$ac_cpp conftest.$ac_ext"
6106
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6107
*) ac_try_echo=$ac_try;;
6109
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6110
$as_echo "$ac_try_echo") >&5
6111
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6113
grep -v '^ *+' conftest.er1 >conftest.err
6115
cat conftest.err >&5
6116
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117
(exit $ac_status); } >/dev/null && {
6118
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6119
test ! -s conftest.err
6121
ac_header_preproc=yes
6123
$as_echo "$as_me: failed program was:" >&5
6124
sed 's/^/| /' conftest.$ac_ext >&5
6126
ac_header_preproc=no
6129
rm -f conftest.err conftest.$ac_ext
6130
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6131
$as_echo "$ac_header_preproc" >&6; }
6133
# So? What about this header?
6134
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6136
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6137
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6138
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6139
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6140
ac_header_preproc=yes
6143
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6144
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6145
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6146
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6147
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6148
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6149
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6150
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6151
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6152
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6153
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6154
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6156
## -------------------------------------------- ##
6157
## Report this to markus_moeller@compuserve.com ##
6158
## -------------------------------------------- ##
6160
) | sed "s/^/$as_me: WARNING: /" >&2
6163
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6164
$as_echo_n "checking for $ac_header... " >&6; }
6165
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6166
$as_echo_n "(cached) " >&6
6168
eval "$as_ac_Header=\$ac_header_preproc"
6170
ac_res=`eval 'as_val=${'$as_ac_Header'}
6171
$as_echo "$as_val"'`
6172
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6173
$as_echo "$ac_res" >&6; }
6176
if test `eval 'as_val=${'$as_ac_Header'}
6177
$as_echo "$as_val"'` = yes; then
6178
cat >>confdefs.h <<_ACEOF
6179
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6186
ac_sol_libs="nsl socket resolv gss"
6187
for lib in $ac_sol_libs; do
6189
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_main" | $as_tr_sh`
6190
{ $as_echo "$as_me:$LINENO: checking for main in -l$lib" >&5
6191
$as_echo_n "checking for main in -l$lib... " >&6; }
6192
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
6193
$as_echo_n "(cached) " >&6
6195
ac_check_lib_save_LIBS=$LIBS
6197
cat >conftest.$ac_ext <<_ACEOF
6200
cat confdefs.h >>conftest.$ac_ext
6201
cat >>conftest.$ac_ext <<_ACEOF
6202
/* end confdefs.h. */
6213
rm -f conftest.$ac_objext conftest$ac_exeext
6214
if { (ac_try="$ac_link"
6216
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6217
*) ac_try_echo=$ac_try;;
6219
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6220
$as_echo "$ac_try_echo") >&5
6221
(eval "$ac_link") 2>conftest.er1
6223
grep -v '^ *+' conftest.er1 >conftest.err
6225
cat conftest.err >&5
6226
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227
(exit $ac_status); } && {
6228
test -z "$ac_c_werror_flag" ||
6229
test ! -s conftest.err
6230
} && test -s conftest$ac_exeext && {
6231
test "$cross_compiling" = yes ||
6232
$as_test_x conftest$ac_exeext
6234
eval "$as_ac_Lib=yes"
6236
$as_echo "$as_me: failed program was:" >&5
6237
sed 's/^/| /' conftest.$ac_ext >&5
6239
eval "$as_ac_Lib=no"
6242
rm -rf conftest.dSYM
6243
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6244
conftest$ac_exeext conftest.$ac_ext
6245
LIBS=$ac_check_lib_save_LIBS
6247
ac_res=`eval 'as_val=${'$as_ac_Lib'}
6248
$as_echo "$as_val"'`
6249
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6250
$as_echo "$ac_res" >&6; }
6251
if test `eval 'as_val=${'$as_ac_Lib'}
6252
$as_echo "$as_val"'` = yes; then
6253
cat >>confdefs.h <<_ACEOF
6254
#define `$as_echo "HAVE_LIB$lib" | $as_tr_cpp` 1
6265
# Check whether --enable-mit was given.
6266
if test "${enable_mit+set}" = set; then
6267
enableval=$enable_mit;
6268
if test "x$enableval" != "xno" ; then
6274
# Check whether --enable-heimdal was given.
6275
if test "${enable_heimdal+set}" = set; then
6276
enableval=$enable_heimdal;
6277
if test "x$enableval" != "xno" ; then
6283
# Check whether --enable-nas was given.
6284
if test "${enable_nas+set}" = set; then
6285
enableval=$enable_nas;
6286
if test "x$enableval" != "xno" ; then
6292
# Check whether --enable-seam was given.
6293
if test "${enable_seam+set}" = set; then
6294
enableval=$enable_seam;
6295
if test "x$enableval" != "xno" ; then
6301
# Check whether --enable-seam-64 was given.
6302
if test "${enable_seam_64+set}" = set; then
6303
enableval=$enable_seam_64;
6304
if test "x$enableval" != "xno" ; then
6310
if test "$enable_arg" = "no"; then
6311
# Extract the first word of "krb5-config", so it can be a program name with args.
6312
set dummy krb5-config; ac_word=$2
6313
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6314
$as_echo_n "checking for $ac_word... " >&6; }
6315
if test "${ac_cv_prog_ac_krb5_config+set}" = set; then
6316
$as_echo_n "(cached) " >&6
6318
if test -n "$ac_krb5_config"; then
6319
ac_cv_prog_ac_krb5_config="$ac_krb5_config" # Let the user override the test.
6321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6325
test -z "$as_dir" && as_dir=.
6326
for ac_exec_ext in '' $ac_executable_extensions; do
6327
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6328
ac_cv_prog_ac_krb5_config="yes"
6329
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6336
test -z "$ac_cv_prog_ac_krb5_config" && ac_cv_prog_ac_krb5_config="no"
6339
ac_krb5_config=$ac_cv_prog_ac_krb5_config
6340
if test -n "$ac_krb5_config"; then
6341
{ $as_echo "$as_me:$LINENO: result: $ac_krb5_config" >&5
6342
$as_echo "$ac_krb5_config" >&6; }
6344
{ $as_echo "$as_me:$LINENO: result: no" >&5
6345
$as_echo "no" >&6; }
6350
Linux) rpm -q heimdal-lib >/dev/null 2>&1
6351
if test $? = 0 ; then
6357
AIX) lslpp -L krb5.client.rte >/dev/null 2>&1
6358
if test $? = 0 ; then
6364
SunOS) pkginfo SUNWgss >/dev/null 2>&1
6365
if test $? = 0 ; then
6371
FreeBSD) check_heimdal
6379
{ $as_echo "$as_me:$LINENO: checking for SPNEGO support" >&5
6380
$as_echo_n "checking for SPNEGO support... " >&6; }
6381
if test "${ac_cv_have_spnego+set}" = set; then
6382
$as_echo_n "(cached) " >&6
6385
if test "$cross_compiling" = yes; then
6386
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6387
See \`config.log' for more details." >&5
6388
$as_echo "$as_me: error: cannot run test program while cross compiling
6389
See \`config.log' for more details." >&2;}
6390
{ (exit 1); exit 1; }; }
6392
cat >conftest.$ac_ext <<_ACEOF
6395
cat confdefs.h >>conftest.$ac_ext
6396
cat >>conftest.$ac_ext <<_ACEOF
6397
/* end confdefs.h. */
6399
#ifdef HAVE_HEIMDAL_KERBEROS
6400
#ifdef HAVE_GSSAPI_GSSAPI_H
6401
#include <gssapi/gssapi.h>
6402
#elif defined(HAVE_GSSAPI_H)
6406
#ifdef HAVE_SEAM_KERBEROS
6407
#ifdef HAVE_GSSAPI_GSSAPI_H
6408
#include <gssapi/gssapi.h>
6409
#elif defined(HAVE_GSSAPI_H)
6412
#ifdef HAVE_GSSAPI_GSSAPI_EXT_H
6413
#include <gssapi/gssapi_ext.h>
6416
#ifdef HAVE_GSSAPI_GSSAPI_H
6417
#include <gssapi/gssapi.h>
6418
#elif defined(HAVE_GSSAPI_H)
6421
#ifdef HAVE_GSSAPI_GSSAPI_KRB5_H
6422
#include <gssapi/gssapi_krb5.h>
6424
#ifdef HAVE_GSSAPI_GSSAPI_GENERIC_H
6425
#include <gssapi/gssapi_generic.h>
6430
int main(int argc, char *argv[]) {
6431
OM_uint32 major_status,minor_status;
6432
gss_OID_set gss_mech_set;
6435
static gss_OID_desc _gss_mech_spnego = {6, (void *)"\x2b\x06\x01\x05\x05\x02"};
6436
gss_OID gss_mech_spnego = &_gss_mech_spnego;
6438
major_status = gss_indicate_mechs( &minor_status, &gss_mech_set);
6440
for (i=0;i<gss_mech_set->count;i++) {
6441
if (!memcmp(gss_mech_set->elements[i].elements,gss_mech_spnego->elements,gss_mech_set->elements[i].length)) {
6449
rm -f conftest$ac_exeext
6450
if { (ac_try="$ac_link"
6452
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6453
*) ac_try_echo=$ac_try;;
6455
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6456
$as_echo "$ac_try_echo") >&5
6457
(eval "$ac_link") 2>&5
6459
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6461
{ (case "(($ac_try" in
6462
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6463
*) ac_try_echo=$ac_try;;
6465
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6466
$as_echo "$ac_try_echo") >&5
6467
(eval "$ac_try") 2>&5
6469
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470
(exit $ac_status); }; }; then
6471
ac_cv_have_spnego=yes
6473
$as_echo "$as_me: program exited with status $ac_status" >&5
6474
$as_echo "$as_me: failed program was:" >&5
6475
sed 's/^/| /' conftest.$ac_ext >&5
6478
ac_cv_have_spnego=no
6480
rm -rf conftest.dSYM
6481
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6486
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_spnego" >&5
6487
$as_echo "$ac_cv_have_spnego" >&6; }
6488
if test x"$ac_cv_have_spnego" = x"yes"; then
6490
cat >>confdefs.h <<\_ACEOF
6491
#define HAVE_SPNEGO 1
6498
{ $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
6499
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
6500
if test "${ac_cv_c_bigendian+set}" = set; then
6501
$as_echo_n "(cached) " >&6
6503
ac_cv_c_bigendian=unknown
6505
if test $ac_cv_c_bigendian = unknown; then
6506
# See if sys/param.h defines the BYTE_ORDER macro.
6507
cat >conftest.$ac_ext <<_ACEOF
6510
cat confdefs.h >>conftest.$ac_ext
6511
cat >>conftest.$ac_ext <<_ACEOF
6512
/* end confdefs.h. */
6513
#include <sys/types.h>
6514
#include <sys/param.h>
6519
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6520
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6529
rm -f conftest.$ac_objext
6530
if { (ac_try="$ac_compile"
6532
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6533
*) ac_try_echo=$ac_try;;
6535
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6536
$as_echo "$ac_try_echo") >&5
6537
(eval "$ac_compile") 2>conftest.er1
6539
grep -v '^ *+' conftest.er1 >conftest.err
6541
cat conftest.err >&5
6542
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543
(exit $ac_status); } && {
6544
test -z "$ac_c_werror_flag" ||
6545
test ! -s conftest.err
6546
} && test -s conftest.$ac_objext; then
6547
# It does; now see whether it defined to BIG_ENDIAN or not.
6548
cat >conftest.$ac_ext <<_ACEOF
6551
cat confdefs.h >>conftest.$ac_ext
6552
cat >>conftest.$ac_ext <<_ACEOF
6553
/* end confdefs.h. */
6554
#include <sys/types.h>
6555
#include <sys/param.h>
6560
#if BYTE_ORDER != BIG_ENDIAN
6568
rm -f conftest.$ac_objext
6569
if { (ac_try="$ac_compile"
6571
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6572
*) ac_try_echo=$ac_try;;
6574
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6575
$as_echo "$ac_try_echo") >&5
6576
(eval "$ac_compile") 2>conftest.er1
6578
grep -v '^ *+' conftest.er1 >conftest.err
6580
cat conftest.err >&5
6581
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582
(exit $ac_status); } && {
6583
test -z "$ac_c_werror_flag" ||
6584
test ! -s conftest.err
6585
} && test -s conftest.$ac_objext; then
6586
ac_cv_c_bigendian=yes
6588
$as_echo "$as_me: failed program was:" >&5
6589
sed 's/^/| /' conftest.$ac_ext >&5
6591
ac_cv_c_bigendian=no
6594
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6596
$as_echo "$as_me: failed program was:" >&5
6597
sed 's/^/| /' conftest.$ac_ext >&5
6602
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6604
if test $ac_cv_c_bigendian = unknown; then
6605
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6606
cat >conftest.$ac_ext <<_ACEOF
6609
cat confdefs.h >>conftest.$ac_ext
6610
cat >>conftest.$ac_ext <<_ACEOF
6611
/* end confdefs.h. */
6617
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6625
rm -f conftest.$ac_objext
6626
if { (ac_try="$ac_compile"
6628
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6629
*) ac_try_echo=$ac_try;;
6631
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6632
$as_echo "$ac_try_echo") >&5
6633
(eval "$ac_compile") 2>conftest.er1
6635
grep -v '^ *+' conftest.er1 >conftest.err
6637
cat conftest.err >&5
6638
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6639
(exit $ac_status); } && {
6640
test -z "$ac_c_werror_flag" ||
6641
test ! -s conftest.err
6642
} && test -s conftest.$ac_objext; then
6643
# It does; now see whether it defined to _BIG_ENDIAN or not.
6644
cat >conftest.$ac_ext <<_ACEOF
6647
cat confdefs.h >>conftest.$ac_ext
6648
cat >>conftest.$ac_ext <<_ACEOF
6649
/* end confdefs.h. */
6663
rm -f conftest.$ac_objext
6664
if { (ac_try="$ac_compile"
6666
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6667
*) ac_try_echo=$ac_try;;
6669
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6670
$as_echo "$ac_try_echo") >&5
6671
(eval "$ac_compile") 2>conftest.er1
6673
grep -v '^ *+' conftest.er1 >conftest.err
6675
cat conftest.err >&5
6676
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677
(exit $ac_status); } && {
6678
test -z "$ac_c_werror_flag" ||
6679
test ! -s conftest.err
6680
} && test -s conftest.$ac_objext; then
6681
ac_cv_c_bigendian=yes
6683
$as_echo "$as_me: failed program was:" >&5
6684
sed 's/^/| /' conftest.$ac_ext >&5
6686
ac_cv_c_bigendian=no
6689
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6691
$as_echo "$as_me: failed program was:" >&5
6692
sed 's/^/| /' conftest.$ac_ext >&5
6697
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6699
if test $ac_cv_c_bigendian = unknown; then
6700
# Compile a test program.
6701
if test "$cross_compiling" = yes; then
6702
# Try to guess by grepping values from an object file.
6703
cat >conftest.$ac_ext <<_ACEOF
6706
cat confdefs.h >>conftest.$ac_ext
6707
cat >>conftest.$ac_ext <<_ACEOF
6708
/* end confdefs.h. */
6709
short int ascii_mm[] =
6710
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6711
short int ascii_ii[] =
6712
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6713
int use_ascii (int i) {
6714
return ascii_mm[i] + ascii_ii[i];
6716
short int ebcdic_ii[] =
6717
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6718
short int ebcdic_mm[] =
6719
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6720
int use_ebcdic (int i) {
6721
return ebcdic_mm[i] + ebcdic_ii[i];
6728
return use_ascii (foo) == use_ebcdic (foo);
6733
rm -f conftest.$ac_objext
6734
if { (ac_try="$ac_compile"
6736
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6737
*) ac_try_echo=$ac_try;;
6739
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6740
$as_echo "$ac_try_echo") >&5
6741
(eval "$ac_compile") 2>conftest.er1
6743
grep -v '^ *+' conftest.er1 >conftest.err
6745
cat conftest.err >&5
6746
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6747
(exit $ac_status); } && {
6748
test -z "$ac_c_werror_flag" ||
6749
test ! -s conftest.err
6750
} && test -s conftest.$ac_objext; then
6751
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
6752
ac_cv_c_bigendian=yes
6754
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6755
if test "$ac_cv_c_bigendian" = unknown; then
6756
ac_cv_c_bigendian=no
6758
# finding both strings is unlikely to happen, but who knows?
6759
ac_cv_c_bigendian=unknown
6763
$as_echo "$as_me: failed program was:" >&5
6764
sed 's/^/| /' conftest.$ac_ext >&5
6769
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6771
cat >conftest.$ac_ext <<_ACEOF
6774
cat confdefs.h >>conftest.$ac_ext
6775
cat >>conftest.$ac_ext <<_ACEOF
6776
/* end confdefs.h. */
6777
$ac_includes_default
6782
/* Are we little or big endian? From Harbison&Steele. */
6786
char c[sizeof (long int)];
6789
return u.c[sizeof (long int) - 1] == 1;
6795
rm -f conftest$ac_exeext
6796
if { (ac_try="$ac_link"
6798
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6799
*) ac_try_echo=$ac_try;;
6801
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6802
$as_echo "$ac_try_echo") >&5
6803
(eval "$ac_link") 2>&5
6805
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6807
{ (case "(($ac_try" in
6808
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6809
*) ac_try_echo=$ac_try;;
6811
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6812
$as_echo "$ac_try_echo") >&5
6813
(eval "$ac_try") 2>&5
6815
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816
(exit $ac_status); }; }; then
6817
ac_cv_c_bigendian=no
6819
$as_echo "$as_me: program exited with status $ac_status" >&5
6820
$as_echo "$as_me: failed program was:" >&5
6821
sed 's/^/| /' conftest.$ac_ext >&5
6824
ac_cv_c_bigendian=yes
6826
rm -rf conftest.dSYM
6827
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6833
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
6834
$as_echo "$ac_cv_c_bigendian" >&6; }
6835
case $ac_cv_c_bigendian in #(
6837
cat >>confdefs.h <<\_ACEOF
6838
#define WORDS_BIGENDIAN 1
6846
{ { $as_echo "$as_me:$LINENO: error: unknown endianness
6847
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
6848
$as_echo "$as_me: error: unknown endianness
6849
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
6850
{ (exit 1); exit 1; }; } ;;
6873
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6874
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6875
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6876
$as_echo_n "checking for $ac_header... " >&6; }
6877
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6878
$as_echo_n "(cached) " >&6
6880
ac_res=`eval 'as_val=${'$as_ac_Header'}
6881
$as_echo "$as_val"'`
6882
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6883
$as_echo "$ac_res" >&6; }
6885
# Is the header compilable?
6886
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6887
$as_echo_n "checking $ac_header usability... " >&6; }
6888
cat >conftest.$ac_ext <<_ACEOF
6891
cat confdefs.h >>conftest.$ac_ext
6892
cat >>conftest.$ac_ext <<_ACEOF
6893
/* end confdefs.h. */
6894
$ac_includes_default
6895
#include <$ac_header>
6897
rm -f conftest.$ac_objext
6898
if { (ac_try="$ac_compile"
6900
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6901
*) ac_try_echo=$ac_try;;
6903
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6904
$as_echo "$ac_try_echo") >&5
6905
(eval "$ac_compile") 2>conftest.er1
6907
grep -v '^ *+' conftest.er1 >conftest.err
6909
cat conftest.err >&5
6910
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911
(exit $ac_status); } && {
6912
test -z "$ac_c_werror_flag" ||
6913
test ! -s conftest.err
6914
} && test -s conftest.$ac_objext; then
6915
ac_header_compiler=yes
6917
$as_echo "$as_me: failed program was:" >&5
6918
sed 's/^/| /' conftest.$ac_ext >&5
6920
ac_header_compiler=no
6923
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6924
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6925
$as_echo "$ac_header_compiler" >&6; }
6927
# Is the header present?
6928
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6929
$as_echo_n "checking $ac_header presence... " >&6; }
6930
cat >conftest.$ac_ext <<_ACEOF
6933
cat confdefs.h >>conftest.$ac_ext
6934
cat >>conftest.$ac_ext <<_ACEOF
6935
/* end confdefs.h. */
6936
#include <$ac_header>
6938
if { (ac_try="$ac_cpp conftest.$ac_ext"
6940
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6941
*) ac_try_echo=$ac_try;;
6943
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6944
$as_echo "$ac_try_echo") >&5
6945
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6947
grep -v '^ *+' conftest.er1 >conftest.err
6949
cat conftest.err >&5
6950
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951
(exit $ac_status); } >/dev/null && {
6952
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6953
test ! -s conftest.err
6955
ac_header_preproc=yes
6957
$as_echo "$as_me: failed program was:" >&5
6958
sed 's/^/| /' conftest.$ac_ext >&5
6960
ac_header_preproc=no
6963
rm -f conftest.err conftest.$ac_ext
6964
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6965
$as_echo "$ac_header_preproc" >&6; }
6967
# So? What about this header?
6968
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6970
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6971
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6972
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6973
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6974
ac_header_preproc=yes
6977
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6978
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6979
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6980
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6981
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6982
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6983
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6984
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6985
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6986
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6987
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6988
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6990
## -------------------------------------------- ##
6991
## Report this to markus_moeller@compuserve.com ##
6992
## -------------------------------------------- ##
6994
) | sed "s/^/$as_me: WARNING: /" >&2
6997
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6998
$as_echo_n "checking for $ac_header... " >&6; }
6999
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7000
$as_echo_n "(cached) " >&6
7002
eval "$as_ac_Header=\$ac_header_preproc"
7004
ac_res=`eval 'as_val=${'$as_ac_Header'}
7005
$as_echo "$as_val"'`
7006
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7007
$as_echo "$ac_res" >&6; }
7010
if test `eval 'as_val=${'$as_ac_Header'}
7011
$as_echo "$as_val"'` = yes; then
7012
cat >>confdefs.h <<_ACEOF
7013
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7021
ac_config_headers="$ac_config_headers ska_config.h"
7029
# Check whether --with-squid was given.
7030
if test "${with_squid+set}" = set; then
7031
withval=$with_squid; squid_dir=$withval
7036
eval ac_p_include=$includedir
7037
CPPFLAGS="$CPPFLAGS -I$ac_p_include -I../../../ -I../../../include/ -I$squid_dir/include -I$squid_dir/src -I$squid_dir"
7038
{ $as_echo "$as_me:$LINENO: checking for SQUID at '$squid_dir' " >&5
7039
$as_echo_n "checking for SQUID at '$squid_dir' ... " >&6; }
7040
if test "${ac_cv_have_squid+set}" = set; then
7041
$as_echo_n "(cached) " >&6
7044
if test "$cross_compiling" = yes; then
7045
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7046
See \`config.log' for more details." >&5
7047
$as_echo "$as_me: error: cannot run test program while cross compiling
7048
See \`config.log' for more details." >&2;}
7049
{ (exit 1); exit 1; }; }
7051
cat >conftest.$ac_ext <<_ACEOF
7054
cat confdefs.h >>conftest.$ac_ext
7055
cat >>conftest.$ac_ext <<_ACEOF
7056
/* end confdefs.h. */
7059
int main(int argc, char *argv[]) {
7060
#ifdef SQUID_CONFIG_H
7067
rm -f conftest$ac_exeext
7068
if { (ac_try="$ac_link"
7070
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7071
*) ac_try_echo=$ac_try;;
7073
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7074
$as_echo "$ac_try_echo") >&5
7075
(eval "$ac_link") 2>&5
7077
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7079
{ (case "(($ac_try" in
7080
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7081
*) ac_try_echo=$ac_try;;
7083
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7084
$as_echo "$ac_try_echo") >&5
7085
(eval "$ac_try") 2>&5
7087
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088
(exit $ac_status); }; }; then
7089
ac_cv_have_squid=yes
7091
$as_echo "$as_me: program exited with status $ac_status" >&5
7092
$as_echo "$as_me: failed program was:" >&5
7093
sed 's/^/| /' conftest.$ac_ext >&5
7098
rm -rf conftest.dSYM
7099
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7105
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_squid" >&5
7106
$as_echo "$ac_cv_have_squid" >&6; }
7107
eval ac_p_lib=$libdir
7108
LDFLAGS="$LDFLAGS -L../../../lib -L$ac_p_lib $w_flag$ac_p_lib$w_flag_2"
7109
if test "x$ac_cv_have_squid" = "xyes"; then
7111
cat >>confdefs.h <<\_ACEOF
7112
#define HAVE_SQUID 1
7118
for ac_header in getaddrinfo.h getnameinfo.h util.h
7120
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7121
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7122
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7123
$as_echo_n "checking for $ac_header... " >&6; }
7124
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7125
$as_echo_n "(cached) " >&6
7127
ac_res=`eval 'as_val=${'$as_ac_Header'}
7128
$as_echo "$as_val"'`
7129
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7130
$as_echo "$ac_res" >&6; }
7132
# Is the header compilable?
7133
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7134
$as_echo_n "checking $ac_header usability... " >&6; }
7135
cat >conftest.$ac_ext <<_ACEOF
7138
cat confdefs.h >>conftest.$ac_ext
7139
cat >>conftest.$ac_ext <<_ACEOF
7140
/* end confdefs.h. */
7141
$ac_includes_default
7142
#include <$ac_header>
7144
rm -f conftest.$ac_objext
7145
if { (ac_try="$ac_compile"
7147
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7148
*) ac_try_echo=$ac_try;;
7150
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7151
$as_echo "$ac_try_echo") >&5
7152
(eval "$ac_compile") 2>conftest.er1
7154
grep -v '^ *+' conftest.er1 >conftest.err
7156
cat conftest.err >&5
7157
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7158
(exit $ac_status); } && {
7159
test -z "$ac_c_werror_flag" ||
7160
test ! -s conftest.err
7161
} && test -s conftest.$ac_objext; then
7162
ac_header_compiler=yes
7164
$as_echo "$as_me: failed program was:" >&5
7165
sed 's/^/| /' conftest.$ac_ext >&5
7167
ac_header_compiler=no
7170
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7171
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7172
$as_echo "$ac_header_compiler" >&6; }
7174
# Is the header present?
7175
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7176
$as_echo_n "checking $ac_header presence... " >&6; }
7177
cat >conftest.$ac_ext <<_ACEOF
7180
cat confdefs.h >>conftest.$ac_ext
7181
cat >>conftest.$ac_ext <<_ACEOF
7182
/* end confdefs.h. */
7183
#include <$ac_header>
7185
if { (ac_try="$ac_cpp conftest.$ac_ext"
7187
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7188
*) ac_try_echo=$ac_try;;
7190
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7191
$as_echo "$ac_try_echo") >&5
7192
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7194
grep -v '^ *+' conftest.er1 >conftest.err
7196
cat conftest.err >&5
7197
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198
(exit $ac_status); } >/dev/null && {
7199
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7200
test ! -s conftest.err
7202
ac_header_preproc=yes
7204
$as_echo "$as_me: failed program was:" >&5
7205
sed 's/^/| /' conftest.$ac_ext >&5
7207
ac_header_preproc=no
7210
rm -f conftest.err conftest.$ac_ext
7211
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7212
$as_echo "$ac_header_preproc" >&6; }
7214
# So? What about this header?
7215
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7217
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7218
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7219
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7220
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7221
ac_header_preproc=yes
7224
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7225
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7226
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7227
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7228
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7229
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7230
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7231
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7232
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7233
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7234
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7235
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7237
## -------------------------------------------- ##
7238
## Report this to markus_moeller@compuserve.com ##
7239
## -------------------------------------------- ##
7241
) | sed "s/^/$as_me: WARNING: /" >&2
7244
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7245
$as_echo_n "checking for $ac_header... " >&6; }
7246
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7247
$as_echo_n "(cached) " >&6
7249
eval "$as_ac_Header=\$ac_header_preproc"
7251
ac_res=`eval 'as_val=${'$as_ac_Header'}
7252
$as_echo "$as_val"'`
7253
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7254
$as_echo "$ac_res" >&6; }
7257
if test `eval 'as_val=${'$as_ac_Header'}
7258
$as_echo "$as_val"'` = yes; then
7259
cat >>confdefs.h <<_ACEOF
7260
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7267
{ $as_echo "$as_me:$LINENO: checking whether xgetaddrinfo is declared" >&5
7268
$as_echo_n "checking whether xgetaddrinfo is declared... " >&6; }
7269
if test "${ac_cv_have_decl_xgetaddrinfo+set}" = set; then
7270
$as_echo_n "(cached) " >&6
7272
cat >conftest.$ac_ext <<_ACEOF
7275
cat confdefs.h >>conftest.$ac_ext
7276
cat >>conftest.$ac_ext <<_ACEOF
7277
/* end confdefs.h. */
7278
#include <getaddrinfo.h>
7283
#ifndef xgetaddrinfo
7284
(void) xgetaddrinfo;
7291
rm -f conftest.$ac_objext
7292
if { (ac_try="$ac_compile"
7294
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7295
*) ac_try_echo=$ac_try;;
7297
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7298
$as_echo "$ac_try_echo") >&5
7299
(eval "$ac_compile") 2>conftest.er1
7301
grep -v '^ *+' conftest.er1 >conftest.err
7303
cat conftest.err >&5
7304
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7305
(exit $ac_status); } && {
7306
test -z "$ac_c_werror_flag" ||
7307
test ! -s conftest.err
7308
} && test -s conftest.$ac_objext; then
7309
ac_cv_have_decl_xgetaddrinfo=yes
7311
$as_echo "$as_me: failed program was:" >&5
7312
sed 's/^/| /' conftest.$ac_ext >&5
7314
ac_cv_have_decl_xgetaddrinfo=no
7317
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7319
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xgetaddrinfo" >&5
7320
$as_echo "$ac_cv_have_decl_xgetaddrinfo" >&6; }
7321
if test $ac_cv_have_decl_xgetaddrinfo = yes; then
7323
cat >>confdefs.h <<_ACEOF
7324
#define HAVE_DECL_XGETADDRINFO 1
7329
cat >>confdefs.h <<_ACEOF
7330
#define HAVE_DECL_XGETADDRINFO 0
7337
{ $as_echo "$as_me:$LINENO: checking whether xfreeaddrinfo is declared" >&5
7338
$as_echo_n "checking whether xfreeaddrinfo is declared... " >&6; }
7339
if test "${ac_cv_have_decl_xfreeaddrinfo+set}" = set; then
7340
$as_echo_n "(cached) " >&6
7342
cat >conftest.$ac_ext <<_ACEOF
7345
cat confdefs.h >>conftest.$ac_ext
7346
cat >>conftest.$ac_ext <<_ACEOF
7347
/* end confdefs.h. */
7348
#include <getaddrinfo.h>
7353
#ifndef xfreeaddrinfo
7354
(void) xfreeaddrinfo;
7361
rm -f conftest.$ac_objext
7362
if { (ac_try="$ac_compile"
7364
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7365
*) ac_try_echo=$ac_try;;
7367
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7368
$as_echo "$ac_try_echo") >&5
7369
(eval "$ac_compile") 2>conftest.er1
7371
grep -v '^ *+' conftest.er1 >conftest.err
7373
cat conftest.err >&5
7374
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7375
(exit $ac_status); } && {
7376
test -z "$ac_c_werror_flag" ||
7377
test ! -s conftest.err
7378
} && test -s conftest.$ac_objext; then
7379
ac_cv_have_decl_xfreeaddrinfo=yes
7381
$as_echo "$as_me: failed program was:" >&5
7382
sed 's/^/| /' conftest.$ac_ext >&5
7384
ac_cv_have_decl_xfreeaddrinfo=no
7387
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7389
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xfreeaddrinfo" >&5
7390
$as_echo "$ac_cv_have_decl_xfreeaddrinfo" >&6; }
7391
if test $ac_cv_have_decl_xfreeaddrinfo = yes; then
7393
cat >>confdefs.h <<_ACEOF
7394
#define HAVE_DECL_XFREEADDRINFO 1
7399
cat >>confdefs.h <<_ACEOF
7400
#define HAVE_DECL_XFREEADDRINFO 0
7407
{ $as_echo "$as_me:$LINENO: checking whether xgai_strerror is declared" >&5
7408
$as_echo_n "checking whether xgai_strerror is declared... " >&6; }
7409
if test "${ac_cv_have_decl_xgai_strerror+set}" = set; then
7410
$as_echo_n "(cached) " >&6
7412
cat >conftest.$ac_ext <<_ACEOF
7415
cat confdefs.h >>conftest.$ac_ext
7416
cat >>conftest.$ac_ext <<_ACEOF
7417
/* end confdefs.h. */
7418
#include <getaddrinfo.h>
7423
#ifndef xgai_strerror
7424
(void) xgai_strerror;
7431
rm -f conftest.$ac_objext
7432
if { (ac_try="$ac_compile"
7434
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7435
*) ac_try_echo=$ac_try;;
7437
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7438
$as_echo "$ac_try_echo") >&5
7439
(eval "$ac_compile") 2>conftest.er1
7441
grep -v '^ *+' conftest.er1 >conftest.err
7443
cat conftest.err >&5
7444
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445
(exit $ac_status); } && {
7446
test -z "$ac_c_werror_flag" ||
7447
test ! -s conftest.err
7448
} && test -s conftest.$ac_objext; then
7449
ac_cv_have_decl_xgai_strerror=yes
7451
$as_echo "$as_me: failed program was:" >&5
7452
sed 's/^/| /' conftest.$ac_ext >&5
7454
ac_cv_have_decl_xgai_strerror=no
7457
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7459
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xgai_strerror" >&5
7460
$as_echo "$ac_cv_have_decl_xgai_strerror" >&6; }
7461
if test $ac_cv_have_decl_xgai_strerror = yes; then
7463
cat >>confdefs.h <<_ACEOF
7464
#define HAVE_DECL_XGAI_STRERROR 1
7469
cat >>confdefs.h <<_ACEOF
7470
#define HAVE_DECL_XGAI_STRERROR 0
7477
{ $as_echo "$as_me:$LINENO: checking whether xgetnameinfo is declared" >&5
7478
$as_echo_n "checking whether xgetnameinfo is declared... " >&6; }
7479
if test "${ac_cv_have_decl_xgetnameinfo+set}" = set; then
7480
$as_echo_n "(cached) " >&6
7482
cat >conftest.$ac_ext <<_ACEOF
7485
cat confdefs.h >>conftest.$ac_ext
7486
cat >>conftest.$ac_ext <<_ACEOF
7487
/* end confdefs.h. */
7488
#include <getnameinfo.h>
7493
#ifndef xgetnameinfo
7494
(void) xgetnameinfo;
7501
rm -f conftest.$ac_objext
7502
if { (ac_try="$ac_compile"
7504
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7505
*) ac_try_echo=$ac_try;;
7507
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7508
$as_echo "$ac_try_echo") >&5
7509
(eval "$ac_compile") 2>conftest.er1
7511
grep -v '^ *+' conftest.er1 >conftest.err
7513
cat conftest.err >&5
7514
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515
(exit $ac_status); } && {
7516
test -z "$ac_c_werror_flag" ||
7517
test ! -s conftest.err
7518
} && test -s conftest.$ac_objext; then
7519
ac_cv_have_decl_xgetnameinfo=yes
7521
$as_echo "$as_me: failed program was:" >&5
7522
sed 's/^/| /' conftest.$ac_ext >&5
7524
ac_cv_have_decl_xgetnameinfo=no
7527
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7529
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xgetnameinfo" >&5
7530
$as_echo "$ac_cv_have_decl_xgetnameinfo" >&6; }
7531
if test $ac_cv_have_decl_xgetnameinfo = yes; then
7533
cat >>confdefs.h <<_ACEOF
7534
#define HAVE_DECL_XGETNAMEINFO 1
7539
cat >>confdefs.h <<_ACEOF
7540
#define HAVE_DECL_XGETNAMEINFO 0
7547
{ $as_echo "$as_me:$LINENO: checking whether xstrdup is declared" >&5
7548
$as_echo_n "checking whether xstrdup is declared... " >&6; }
7549
if test "${ac_cv_have_decl_xstrdup+set}" = set; then
7550
$as_echo_n "(cached) " >&6
7552
cat >conftest.$ac_ext <<_ACEOF
7555
cat confdefs.h >>conftest.$ac_ext
7556
cat >>conftest.$ac_ext <<_ACEOF
7557
/* end confdefs.h. */
7571
rm -f conftest.$ac_objext
7572
if { (ac_try="$ac_compile"
7574
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7575
*) ac_try_echo=$ac_try;;
7577
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7578
$as_echo "$ac_try_echo") >&5
7579
(eval "$ac_compile") 2>conftest.er1
7581
grep -v '^ *+' conftest.er1 >conftest.err
7583
cat conftest.err >&5
7584
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585
(exit $ac_status); } && {
7586
test -z "$ac_c_werror_flag" ||
7587
test ! -s conftest.err
7588
} && test -s conftest.$ac_objext; then
7589
ac_cv_have_decl_xstrdup=yes
7591
$as_echo "$as_me: failed program was:" >&5
7592
sed 's/^/| /' conftest.$ac_ext >&5
7594
ac_cv_have_decl_xstrdup=no
7597
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7599
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xstrdup" >&5
7600
$as_echo "$ac_cv_have_decl_xstrdup" >&6; }
7601
if test $ac_cv_have_decl_xstrdup = yes; then
7603
cat >>confdefs.h <<_ACEOF
7604
#define HAVE_DECL_XSTRDUP 1
7609
cat >>confdefs.h <<_ACEOF
7610
#define HAVE_DECL_XSTRDUP 0
7617
{ $as_echo "$as_me:$LINENO: checking whether xmalloc is declared" >&5
7618
$as_echo_n "checking whether xmalloc is declared... " >&6; }
7619
if test "${ac_cv_have_decl_xmalloc+set}" = set; then
7620
$as_echo_n "(cached) " >&6
7622
cat >conftest.$ac_ext <<_ACEOF
7625
cat confdefs.h >>conftest.$ac_ext
7626
cat >>conftest.$ac_ext <<_ACEOF
7627
/* end confdefs.h. */
7641
rm -f conftest.$ac_objext
7642
if { (ac_try="$ac_compile"
7644
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7645
*) ac_try_echo=$ac_try;;
7647
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7648
$as_echo "$ac_try_echo") >&5
7649
(eval "$ac_compile") 2>conftest.er1
7651
grep -v '^ *+' conftest.er1 >conftest.err
7653
cat conftest.err >&5
7654
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655
(exit $ac_status); } && {
7656
test -z "$ac_c_werror_flag" ||
7657
test ! -s conftest.err
7658
} && test -s conftest.$ac_objext; then
7659
ac_cv_have_decl_xmalloc=yes
7661
$as_echo "$as_me: failed program was:" >&5
7662
sed 's/^/| /' conftest.$ac_ext >&5
7664
ac_cv_have_decl_xmalloc=no
7667
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7669
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xmalloc" >&5
7670
$as_echo "$ac_cv_have_decl_xmalloc" >&6; }
7671
if test $ac_cv_have_decl_xmalloc = yes; then
7673
cat >>confdefs.h <<_ACEOF
7674
#define HAVE_DECL_XMALLOC 1
7679
cat >>confdefs.h <<_ACEOF
7680
#define HAVE_DECL_XMALLOC 0
7687
{ $as_echo "$as_me:$LINENO: checking whether xfree is declared" >&5
7688
$as_echo_n "checking whether xfree is declared... " >&6; }
7689
if test "${ac_cv_have_decl_xfree+set}" = set; then
7690
$as_echo_n "(cached) " >&6
7692
cat >conftest.$ac_ext <<_ACEOF
7695
cat confdefs.h >>conftest.$ac_ext
7696
cat >>conftest.$ac_ext <<_ACEOF
7697
/* end confdefs.h. */
7711
rm -f conftest.$ac_objext
7712
if { (ac_try="$ac_compile"
7714
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7715
*) ac_try_echo=$ac_try;;
7717
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7718
$as_echo "$ac_try_echo") >&5
7719
(eval "$ac_compile") 2>conftest.er1
7721
grep -v '^ *+' conftest.er1 >conftest.err
7723
cat conftest.err >&5
7724
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725
(exit $ac_status); } && {
7726
test -z "$ac_c_werror_flag" ||
7727
test ! -s conftest.err
7728
} && test -s conftest.$ac_objext; then
7729
ac_cv_have_decl_xfree=yes
7731
$as_echo "$as_me: failed program was:" >&5
7732
sed 's/^/| /' conftest.$ac_ext >&5
7734
ac_cv_have_decl_xfree=no
7737
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7739
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xfree" >&5
7740
$as_echo "$ac_cv_have_decl_xfree" >&6; }
7741
if test $ac_cv_have_decl_xfree = yes; then
7743
cat >>confdefs.h <<_ACEOF
7744
#define HAVE_DECL_XFREE 1
7749
cat >>confdefs.h <<_ACEOF
7750
#define HAVE_DECL_XFREE 0
7758
{ $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
7759
$as_echo_n "checking for main in -lm... " >&6; }
7760
if test "${ac_cv_lib_m_main+set}" = set; then
7761
$as_echo_n "(cached) " >&6
7763
ac_check_lib_save_LIBS=$LIBS
7765
cat >conftest.$ac_ext <<_ACEOF
7768
cat confdefs.h >>conftest.$ac_ext
7769
cat >>conftest.$ac_ext <<_ACEOF
7770
/* end confdefs.h. */
7781
rm -f conftest.$ac_objext conftest$ac_exeext
7782
if { (ac_try="$ac_link"
7784
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7785
*) ac_try_echo=$ac_try;;
7787
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7788
$as_echo "$ac_try_echo") >&5
7789
(eval "$ac_link") 2>conftest.er1
7791
grep -v '^ *+' conftest.er1 >conftest.err
7793
cat conftest.err >&5
7794
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795
(exit $ac_status); } && {
7796
test -z "$ac_c_werror_flag" ||
7797
test ! -s conftest.err
7798
} && test -s conftest$ac_exeext && {
7799
test "$cross_compiling" = yes ||
7800
$as_test_x conftest$ac_exeext
7802
ac_cv_lib_m_main=yes
7804
$as_echo "$as_me: failed program was:" >&5
7805
sed 's/^/| /' conftest.$ac_ext >&5
7810
rm -rf conftest.dSYM
7811
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7812
conftest$ac_exeext conftest.$ac_ext
7813
LIBS=$ac_check_lib_save_LIBS
7815
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
7816
$as_echo "$ac_cv_lib_m_main" >&6; }
7817
if test $ac_cv_lib_m_main = yes; then
7818
cat >>confdefs.h <<_ACEOF
7827
{ $as_echo "$as_me:$LINENO: checking for main in -lmw" >&5
7828
$as_echo_n "checking for main in -lmw... " >&6; }
7829
if test "${ac_cv_lib_mw_main+set}" = set; then
7830
$as_echo_n "(cached) " >&6
7832
ac_check_lib_save_LIBS=$LIBS
7834
cat >conftest.$ac_ext <<_ACEOF
7837
cat confdefs.h >>conftest.$ac_ext
7838
cat >>conftest.$ac_ext <<_ACEOF
7839
/* end confdefs.h. */
7850
rm -f conftest.$ac_objext conftest$ac_exeext
7851
if { (ac_try="$ac_link"
7853
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7854
*) ac_try_echo=$ac_try;;
7856
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7857
$as_echo "$ac_try_echo") >&5
7858
(eval "$ac_link") 2>conftest.er1
7860
grep -v '^ *+' conftest.er1 >conftest.err
7862
cat conftest.err >&5
7863
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864
(exit $ac_status); } && {
7865
test -z "$ac_c_werror_flag" ||
7866
test ! -s conftest.err
7867
} && test -s conftest$ac_exeext && {
7868
test "$cross_compiling" = yes ||
7869
$as_test_x conftest$ac_exeext
7871
ac_cv_lib_mw_main=yes
7873
$as_echo "$as_me: failed program was:" >&5
7874
sed 's/^/| /' conftest.$ac_ext >&5
7876
ac_cv_lib_mw_main=no
7879
rm -rf conftest.dSYM
7880
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7881
conftest$ac_exeext conftest.$ac_ext
7882
LIBS=$ac_check_lib_save_LIBS
7884
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mw_main" >&5
7885
$as_echo "$ac_cv_lib_mw_main" >&6; }
7886
if test $ac_cv_lib_mw_main = yes; then
7887
cat >>confdefs.h <<_ACEOF
7888
#define HAVE_LIBMW 1
7895
LIBS="-lmiscutil $LIBS"
7907
echo "configure: ## -----------------------------##"
7908
echo "configure: ##"
7909
echo "configure: ## $enable_arg has been selected"
7910
echo "configure: ##"
7911
echo "configure: ## -----------------------------##"
7913
if test x"$ac_cv_have_spnego" = x"yes" ; then
7915
HAVE_SPNEGO_FALSE='#'
7917
HAVE_SPNEGO_TRUE='#'
7922
MY_CFLAGS="-Wall -Wextra -Werror -Wcomment -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wshadow"
7923
for ac_cv_my_cflag in $MY_CFLAGS; do
7928
${CC} $ac_cv_my_cflag -c conftest.c 2>/dev/null
7931
if test "$res" = "0"; then
7932
CFLAGS="$CFLAGS $ac_cv_my_cflag"
7936
ac_config_files="$ac_config_files Makefile"
7938
cat >confcache <<\_ACEOF
7939
# This file is a shell script that caches the results of configure
7940
# tests run on this system so they can be shared between configure
7941
# scripts and configure runs, see configure's option --config-cache.
7942
# It is not useful on other systems. If it contains results you don't
7943
# want to keep, you may remove or edit it.
7945
# config.status only pays attention to the cache file if you give it
7946
# the --recheck option to rerun configure.
7948
# `ac_cv_env_foo' variables (set or unset) will be overridden when
7949
# loading this file, other *unset* `ac_cv_foo' will be assigned the
7954
# The following way of writing the cache mishandles newlines in values,
7955
# but we know of no workaround that is simple, portable, and efficient.
7956
# So, we kill variables containing newlines.
7957
# Ultrix sh set writes to stderr and can't be redirected directly,
7958
# and sets the high bit in the cache file unless we assign to the vars.
7960
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7961
eval ac_val=\$$ac_var
7965
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7966
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7969
_ | IFS | as_nl) ;; #(
7970
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7971
*) $as_unset $ac_var ;;
7977
case $as_nl`(ac_space=' '; set) 2>&1` in #(
7978
*${as_nl}ac_space=\ *)
7979
# `set' does not quote correctly, so add quotes (double-quote
7980
# substitution turns \\\\ into \\, and sed turns \\ into \).
7983
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7986
# `set' quotes correctly as required by POSIX, so do not add quotes.
7987
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7996
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7998
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8000
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8001
if test -w "$cache_file"; then
8002
test "x$cache_file" != "x/dev/null" &&
8003
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
8004
$as_echo "$as_me: updating cache $cache_file" >&6;}
8005
cat confcache >$cache_file
8007
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8008
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8013
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8014
# Let make expand exec_prefix.
8015
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8017
DEFS=-DHAVE_CONFIG_H
8021
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8022
# 1. Remove the extension, and $U if already installed.
8023
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8024
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8025
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8026
# will be set to the directory where LIBOBJS objects are built.
8027
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8028
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8032
LTLIBOBJS=$ac_ltlibobjs
8035
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8036
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8037
Usually this means the macro was only invoked conditionally." >&5
8038
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
8039
Usually this means the macro was only invoked conditionally." >&2;}
8040
{ (exit 1); exit 1; }; }
8042
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8043
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8044
Usually this means the macro was only invoked conditionally." >&5
8045
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8046
Usually this means the macro was only invoked conditionally." >&2;}
8047
{ (exit 1); exit 1; }; }
8049
if test -z "${HAVE_SPNEGO_TRUE}" && test -z "${HAVE_SPNEGO_FALSE}"; then
8050
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SPNEGO\" was never defined.
8051
Usually this means the macro was only invoked conditionally." >&5
8052
$as_echo "$as_me: error: conditional \"HAVE_SPNEGO\" was never defined.
8053
Usually this means the macro was only invoked conditionally." >&2;}
8054
{ (exit 1); exit 1; }; }
8057
: ${CONFIG_STATUS=./config.status}
8059
ac_clean_files_save=$ac_clean_files
8060
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8061
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8062
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8063
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8065
# Generated by $as_me.
8066
# Run this file to recreate the current configuration.
8067
# Compiler output produced by configure, useful for debugging
8068
# configure, is in config.log if it exists.
8073
SHELL=\${CONFIG_SHELL-$SHELL}
8076
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8077
## --------------------- ##
8078
## M4sh Initialization. ##
8079
## --------------------- ##
8081
# Be more Bourne compatible
8082
DUALCASE=1; export DUALCASE # for MKS sh
8083
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8086
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8087
# is contrary to our usage. Disable this feature.
8088
alias -g '${1+"$@"}'='"$@"'
8089
setopt NO_GLOB_SUBST
8091
case `(set -o) 2>/dev/null` in
8092
*posix*) set -o posix ;;
8101
# Avoid depending upon Character Ranges.
8102
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8103
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8104
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8105
as_cr_digits='0123456789'
8106
as_cr_alnum=$as_cr_Letters$as_cr_digits
8111
# Printing a long string crashes Solaris 7 /usr/bin/printf.
8112
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8113
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8114
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8115
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8116
as_echo='printf %s\n'
8117
as_echo_n='printf %s'
8119
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8120
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8121
as_echo_n='/usr/ucb/echo -n'
8123
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8124
as_echo_n_body='eval
8128
expr "X$arg" : "X\\(.*\\)$as_nl";
8129
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8131
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8133
export as_echo_n_body
8134
as_echo_n='sh -c $as_echo_n_body as_echo'
8137
as_echo='sh -c $as_echo_body as_echo'
8140
# The user is always right.
8141
if test "${PATH_SEPARATOR+set}" != set; then
8143
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8144
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8149
# Support unset when possible.
8150
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8158
# We need space, tab and new line, in precisely that order. Quoting is
8159
# there to prevent editors from complaining about space-tab.
8160
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8161
# splitting by setting IFS to empty value.)
8164
# Find who we are. Look in the path if we contain no directory separator.
8166
*[\\/]* ) as_myself=$0 ;;
8167
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8171
test -z "$as_dir" && as_dir=.
8172
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8178
# We did not find ourselves, most probably we were run as `sh COMMAND'
8179
# in which case we are not to be found in the path.
8180
if test "x$as_myself" = x; then
8183
if test ! -f "$as_myself"; then
8184
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8185
{ (exit 1); exit 1; }
8188
# Work around bugs in pre-3.0 UWIN ksh.
8189
for as_var in ENV MAIL MAILPATH
8190
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8202
# Required to use basename.
8203
if expr a : '\(a\)' >/dev/null 2>&1 &&
8204
test "X`expr 00001 : '.*\(...\)'`" = X001; then
8210
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8211
as_basename=basename
8217
# Name of the executable.
8218
as_me=`$as_basename -- "$0" ||
8219
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8220
X"$0" : 'X\(//\)$' \| \
8221
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8223
sed '/^.*\/\([^/][^/]*\)\/*$/{
8244
test "x$as_lineno_1" != "x$as_lineno_2" &&
8245
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8247
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8248
# uniformly replaced by the line number. The first 'sed' inserts a
8249
# line-number line after each line using $LINENO; the second 'sed'
8250
# does the real work. The second script uses 'N' to pair each
8251
# line-number line with the line containing $LINENO, and appends
8252
# trailing '-' during substitution so that $LINENO is not a special
8254
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8255
# scripts with optimization help from Paolo Bonzini. Blame Lee
8256
# E. McMahon (1931-1989) for sed's syntax. :-)
8268
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8272
chmod +x "$as_me.lineno" ||
8273
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8274
{ (exit 1); exit 1; }; }
8276
# Don't try to exec as it changes $[0], causing all sort of problems
8277
# (the dirname of $[0] is not the place where we might find the
8278
# original and so on. Autoconf is especially sensitive to this).
8280
# Exit status is that of the last command.
8285
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8291
ECHO_C= ECHO_N= ECHO_T=
8294
case `echo 'x\c'` in
8295
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
8301
if expr a : '\(a\)' >/dev/null 2>&1 &&
8302
test "X`expr 00001 : '.*\(...\)'`" = X001; then
8308
rm -f conf$$ conf$$.exe conf$$.file
8309
if test -d conf$$.dir; then
8310
rm -f conf$$.dir/conf$$.file
8313
mkdir conf$$.dir 2>/dev/null
8315
if (echo >conf$$.file) 2>/dev/null; then
8316
if ln -s conf$$.file conf$$ 2>/dev/null; then
8318
# ... but there are two gotchas:
8319
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8320
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8321
# In both cases, we have to default to `cp -p'.
8322
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8324
elif ln conf$$.file conf$$ 2>/dev/null; then
8332
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8333
rmdir conf$$.dir 2>/dev/null
8335
if mkdir -p . 2>/dev/null; then
8338
test -d ./-p && rmdir ./-p
8342
if test -x / >/dev/null 2>&1; then
8345
if ls -dL / >/dev/null 2>&1; then
8352
if test -d "$1"; then
8358
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8359
???[sx]*):;;*)false;;esac;fi
8363
as_executable_p=$as_test_x
8365
# Sed expression to map a string onto a valid CPP name.
8366
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8368
# Sed expression to map a string onto a valid variable name.
8369
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8374
# Save the log message, to keep $[0] and so on meaningful, and to
8375
# report actual input values of CONFIG_FILES etc. instead of their
8376
# values after options handling.
8378
This file was extended by squid_kerb_auth $as_me 1.0.5, which was
8379
generated by GNU Autoconf 2.62. Invocation command line was
8381
CONFIG_FILES = $CONFIG_FILES
8382
CONFIG_HEADERS = $CONFIG_HEADERS
8383
CONFIG_LINKS = $CONFIG_LINKS
8384
CONFIG_COMMANDS = $CONFIG_COMMANDS
8387
on `(hostname || uname -n) 2>/dev/null | sed 1q`
8392
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8393
# Files that config.status was made for.
8394
config_files="$ac_config_files"
8395
config_headers="$ac_config_headers"
8396
config_commands="$ac_config_commands"
8400
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8402
\`$as_me' instantiates files from templates according to the
8403
current configuration.
8405
Usage: $0 [OPTIONS] [FILE]...
8407
-h, --help print this help, then exit
8408
-V, --version print version number and configuration settings, then exit
8409
-q, --quiet do not print progress messages
8410
-d, --debug don't remove temporary files
8411
--recheck update $as_me by reconfiguring in the same conditions
8412
--file=FILE[:TEMPLATE]
8413
instantiate the configuration file FILE
8414
--header=FILE[:TEMPLATE]
8415
instantiate the configuration header FILE
8417
Configuration files:
8420
Configuration headers:
8423
Configuration commands:
8426
Report bugs to <bug-autoconf@gnu.org>."
8429
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8431
squid_kerb_auth config.status 1.0.5
8432
configured by $0, generated by GNU Autoconf 2.62,
8433
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8435
Copyright (C) 2008 Free Software Foundation, Inc.
8436
This config.status script is free software; the Free Software Foundation
8437
gives unlimited permission to copy, distribute and modify it."
8444
test -n "\$AWK" || AWK=awk
8447
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8448
# The default lists apply if the user does not specify any file.
8454
ac_option=`expr "X$1" : 'X\([^=]*\)='`
8455
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8466
# Handling of the options.
8467
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8469
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8470
$as_echo "$ac_cs_version"; exit ;;
8471
--debug | --debu | --deb | --de | --d | -d )
8473
--file | --fil | --fi | --f )
8476
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8478
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
8479
ac_need_defaults=false;;
8480
--header | --heade | --head | --hea )
8483
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8485
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
8486
ac_need_defaults=false;;
8488
# Conflict between --help and --header
8489
{ $as_echo "$as_me: error: ambiguous option: $1
8490
Try \`$0 --help' for more information." >&2
8491
{ (exit 1); exit 1; }; };;
8492
--help | --hel | -h )
8493
$as_echo "$ac_cs_usage"; exit ;;
8494
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
8495
| -silent | --silent | --silen | --sile | --sil | --si | --s)
8499
-*) { $as_echo "$as_me: error: unrecognized option: $1
8500
Try \`$0 --help' for more information." >&2
8501
{ (exit 1); exit 1; }; } ;;
8503
*) ac_config_targets="$ac_config_targets $1"
8504
ac_need_defaults=false ;;
8510
ac_configure_extra_args=
8512
if $ac_cs_silent; then
8514
ac_configure_extra_args="$ac_configure_extra_args --silent"
8518
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8519
if \$ac_cs_recheck; then
8520
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8522
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8523
CONFIG_SHELL='$SHELL'
8529
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8533
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8534
## Running $as_me. ##
8540
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8544
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8548
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8550
# Handling of arguments.
8551
for ac_config_target in $ac_config_targets
8553
case $ac_config_target in
8554
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8555
"ska_config.h") CONFIG_HEADERS="$CONFIG_HEADERS ska_config.h" ;;
8556
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8558
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8559
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8560
{ (exit 1); exit 1; }; };;
8565
# If the user did not use the arguments to specify the items to instantiate,
8566
# then the envvar interface is used. Set only those that are not.
8567
# We use the long form for the default assignment because of an extremely
8568
# bizarre bug on SunOS 4.1.3.
8569
if $ac_need_defaults; then
8570
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8571
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8572
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8575
# Have a temporary directory for convenience. Make it in the build tree
8576
# simply because there is no reason against having it here, and in addition,
8577
# creating and moving files from /tmp can sometimes cause problems.
8578
# Hook for its removal unless debugging.
8579
# Note that there is a small window in which the directory will not be cleaned:
8580
# after its creation but before its name has been assigned to `$tmp'.
8584
trap 'exit_status=$?
8585
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8587
trap '{ (exit 1); exit 1; }' 1 2 13 15
8589
# Create a (secure) tmp directory for tmp files.
8592
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8593
test -n "$tmp" && test -d "$tmp"
8596
tmp=./conf$$-$RANDOM
8597
(umask 077 && mkdir "$tmp")
8600
$as_echo "$as_me: cannot create a temporary directory in ." >&2
8601
{ (exit 1); exit 1; }
8604
# Set up the scripts for CONFIG_FILES section.
8605
# No need to generate them if there are no CONFIG_FILES.
8606
# This happens for instance with `./config.status config.h'.
8607
if test -n "$CONFIG_FILES"; then
8611
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8612
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8618
echo 'BEGIN {' >"$tmp/subs1.awk" &&
8623
echo "cat >conf$$subs.awk <<_ACEOF" &&
8624
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8627
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8628
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8629
{ (exit 1); exit 1; }; }
8630
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8632
for ac_last_try in false false false false false :; do
8633
. ./conf$$subs.sh ||
8634
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8635
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8636
{ (exit 1); exit 1; }; }
8638
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
8640
elif $ac_last_try; then
8641
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8642
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8643
{ (exit 1); exit 1; }; }
8645
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8650
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8651
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
8655
s/^/S["/; s/!.*/"]=/
8665
s/\(.\{148\}\).*/\1/
8667
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8672
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8679
s/\(.\{148\}\).*/\1/
8681
s/["\\]/\\&/g; s/^/"/; s/$/"/
8685
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8690
' <conf$$subs.awk | sed '
8695
' >>$CONFIG_STATUS || ac_write_fail=1
8696
rm -f conf$$subs.awk
8697
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8699
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8700
for (key in S) S_is_set[key] = 1
8706
nfields = split(line, field, "@")
8708
len = length(field[1])
8709
for (i = 2; i < nfields; i++) {
8711
keylen = length(key)
8712
if (S_is_set[key]) {
8714
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8715
len += length(value) + length(field[++i])
8726
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8727
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8728
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8731
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8732
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
8733
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
8734
{ (exit 1); exit 1; }; }
8737
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8738
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8739
# trailing colons and then remove the whole line if VPATH becomes empty
8740
# (actually we leave an empty line to preserve line numbers).
8741
if test "x$srcdir" = x.; then
8742
ac_vpsub='/^[ ]*VPATH[ ]*=/{
8746
s/^\([^=]*=[ ]*\):*/\1/
8752
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8753
fi # test -n "$CONFIG_FILES"
8755
# Set up the scripts for CONFIG_HEADERS section.
8756
# No need to generate them if there are no CONFIG_HEADERS.
8757
# This happens for instance with `./config.status Makefile'.
8758
if test -n "$CONFIG_HEADERS"; then
8759
cat >"$tmp/defines.awk" <<\_ACAWK ||
8763
# Transform confdefs.h into an awk script `defines.awk', embedded as
8764
# here-document in config.status, that substitutes the proper values into
8765
# config.h.in to produce config.h.
8767
# Create a delimiter string that does not exist in confdefs.h, to ease
8768
# handling of long lines.
8770
for ac_last_try in false false :; do
8771
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
8772
if test -z "$ac_t"; then
8774
elif $ac_last_try; then
8775
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
8776
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
8777
{ (exit 1); exit 1; }; }
8779
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8783
# For the awk script, D is an array of macro values keyed by name,
8784
# likewise P contains macro parameters if any. Preserve backslash
8785
# newline sequences.
8787
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8789
s/.\{148\}/&'"$ac_delim"'/g
8792
s/^[ ]*#[ ]*define[ ][ ]*/ /
8799
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8801
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8805
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8806
D["\1"]=" \3\\\\\\n"\\/p
8808
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8813
s/.\{148\}/&'"$ac_delim"'/g
8818
s/["\\]/\\&/g; s/^/"/; s/$/"/p
8821
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8823
' <confdefs.h | sed '
8824
s/'"$ac_delim"'/"\\\
8825
"/g' >>$CONFIG_STATUS || ac_write_fail=1
8827
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8828
for (key in D) D_is_set[key] = 1
8831
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8833
split(line, arg, " ")
8834
if (arg[1] == "#") {
8838
defundef = substr(arg[1], 2)
8841
split(mac1, mac2, "(") #)
8843
if (D_is_set[macro]) {
8844
# Preserve the white space surrounding the "#".
8845
prefix = substr(line, 1, index(line, defundef) - 1)
8846
print prefix "define", macro P[macro] D[macro]
8849
# Replace #undef with comments. This is necessary, for example,
8850
# in the case of _POSIX_SOURCE, which is predefined and required
8851
# on some systems where configure will not decide to define it.
8852
if (defundef == "undef") {
8853
print "/*", line, "*/"
8861
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8862
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
8863
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
8864
{ (exit 1); exit 1; }; }
8865
fi # test -n "$CONFIG_HEADERS"
8868
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8873
:[FHLC]) ac_mode=$ac_tag; continue;;
8875
case $ac_mode$ac_tag in
8877
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8878
$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8879
{ (exit 1); exit 1; }; };;
8880
:[FH]-) ac_tag=-:-;;
8881
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8898
-) ac_f="$tmp/stdin";;
8899
*) # Look for the file first in the build tree, then in the source tree
8900
# (if the path is not absolute). The absolute path cannot be DOS-style,
8901
# because $ac_f cannot contain `:'.
8905
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8907
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8908
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8909
{ (exit 1); exit 1; }; };;
8911
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8912
ac_file_inputs="$ac_file_inputs '$ac_f'"
8915
# Let's still pretend it is `configure' which instantiates (i.e., don't
8916
# use $as_me), people would be surprised to read:
8917
# /* config.h. Generated by config.status. */
8918
configure_input='Generated from '`
8919
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8921
if test x"$ac_file" != x-; then
8922
configure_input="$ac_file. $configure_input"
8923
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
8924
$as_echo "$as_me: creating $ac_file" >&6;}
8926
# Neutralize special characters interpreted by sed in replacement strings.
8927
case $configure_input in #(
8928
*\&* | *\|* | *\\* )
8929
ac_sed_conf_input=`$as_echo "$configure_input" |
8930
sed 's/[\\\\&|]/\\\\&/g'`;; #(
8931
*) ac_sed_conf_input=$configure_input;;
8935
*:-:* | *:-) cat >"$tmp/stdin" \
8936
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8937
$as_echo "$as_me: error: could not create $ac_file" >&2;}
8938
{ (exit 1); exit 1; }; } ;;
8943
ac_dir=`$as_dirname -- "$ac_file" ||
8944
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8945
X"$ac_file" : 'X\(//\)[^/]' \| \
8946
X"$ac_file" : 'X\(//\)$' \| \
8947
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8948
$as_echo X"$ac_file" |
8949
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8968
-*) as_dir=./$as_dir;;
8970
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8974
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8975
*) as_qdir=$as_dir;;
8977
as_dirs="'$as_qdir' $as_dirs"
8978
as_dir=`$as_dirname -- "$as_dir" ||
8979
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8980
X"$as_dir" : 'X\(//\)[^/]' \| \
8981
X"$as_dir" : 'X\(//\)$' \| \
8982
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8983
$as_echo X"$as_dir" |
8984
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9001
test -d "$as_dir" && break
9003
test -z "$as_dirs" || eval "mkdir $as_dirs"
9004
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9005
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9006
{ (exit 1); exit 1; }; }; }
9010
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9012
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9013
# A ".." for each directory in $ac_dir_suffix.
9014
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9015
case $ac_top_builddir_sub in
9016
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9017
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9020
ac_abs_top_builddir=$ac_pwd
9021
ac_abs_builddir=$ac_pwd$ac_dir_suffix
9022
# for backward compatibility:
9023
ac_top_builddir=$ac_top_build_prefix
9026
.) # We are building in place.
9028
ac_top_srcdir=$ac_top_builddir_sub
9029
ac_abs_top_srcdir=$ac_pwd ;;
9030
[\\/]* | ?:[\\/]* ) # Absolute name.
9031
ac_srcdir=$srcdir$ac_dir_suffix;
9032
ac_top_srcdir=$srcdir
9033
ac_abs_top_srcdir=$srcdir ;;
9035
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9036
ac_top_srcdir=$ac_top_build_prefix$srcdir
9037
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9039
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9049
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9050
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9054
[\\/$]* | ?:[\\/]* ) ;;
9055
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9059
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9060
# If the template does not know about datarootdir, expand it.
9061
# FIXME: This hack should be removed a few years after 2.60.
9062
ac_datarootdir_hack=; ac_datarootdir_seen=
9075
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9076
*datarootdir*) ac_datarootdir_seen=yes;;
9077
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9078
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9079
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9081
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9082
ac_datarootdir_hack='
9083
s&@datadir@&$datadir&g
9084
s&@docdir@&$docdir&g
9085
s&@infodir@&$infodir&g
9086
s&@localedir@&$localedir&g
9087
s&@mandir@&$mandir&g
9088
s&\\\${datarootdir}&$datarootdir&g' ;;
9092
# Neutralize VPATH when `$srcdir' = `.'.
9093
# Shell code in configure.ac might set extrasub.
9094
# FIXME: do we really want to maintain this feature?
9095
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9096
ac_sed_extra="$ac_vpsub
9099
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9101
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9102
s|@configure_input@|$ac_sed_conf_input|;t t
9103
s&@top_builddir@&$ac_top_builddir_sub&;t t
9104
s&@top_build_prefix@&$ac_top_build_prefix&;t t
9105
s&@srcdir@&$ac_srcdir&;t t
9106
s&@abs_srcdir@&$ac_abs_srcdir&;t t
9107
s&@top_srcdir@&$ac_top_srcdir&;t t
9108
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9109
s&@builddir@&$ac_builddir&;t t
9110
s&@abs_builddir@&$ac_abs_builddir&;t t
9111
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9112
s&@INSTALL@&$ac_INSTALL&;t t
9113
s&@MKDIR_P@&$ac_MKDIR_P&;t t
9114
$ac_datarootdir_hack
9116
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9117
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9118
$as_echo "$as_me: error: could not create $ac_file" >&2;}
9119
{ (exit 1); exit 1; }; }
9121
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9122
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9123
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9124
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9125
which seems to be undefined. Please make sure it is defined." >&5
9126
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9127
which seems to be undefined. Please make sure it is defined." >&2;}
9131
-) cat "$tmp/out" && rm -f "$tmp/out";;
9132
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9134
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9135
$as_echo "$as_me: error: could not create $ac_file" >&2;}
9136
{ (exit 1); exit 1; }; }
9142
if test x"$ac_file" != x-; then
9144
$as_echo "/* $configure_input */" \
9145
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9146
} >"$tmp/config.h" \
9147
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9148
$as_echo "$as_me: error: could not create $ac_file" >&2;}
9149
{ (exit 1); exit 1; }; }
9150
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9151
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9152
$as_echo "$as_me: $ac_file is unchanged" >&6;}
9155
mv "$tmp/config.h" "$ac_file" \
9156
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9157
$as_echo "$as_me: error: could not create $ac_file" >&2;}
9158
{ (exit 1); exit 1; }; }
9161
$as_echo "/* $configure_input */" \
9162
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9163
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
9164
$as_echo "$as_me: error: could not create -" >&2;}
9165
{ (exit 1); exit 1; }; }
9167
# Compute "$ac_file"'s index in $config_headers.
9170
for _am_header in $config_headers :; do
9172
$_am_arg | $_am_arg:* )
9175
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
9178
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9179
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9180
X"$_am_arg" : 'X\(//\)[^/]' \| \
9181
X"$_am_arg" : 'X\(//\)$' \| \
9182
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9183
$as_echo X"$_am_arg" |
9184
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9200
s/.*/./; q'`/stamp-h$_am_stamp_count
9203
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
9204
$as_echo "$as_me: executing $ac_file commands" >&6;}
9209
case $ac_file$ac_mode in
9210
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9211
# Strip MF so we end up with the name of the file.
9212
mf=`echo "$mf" | sed -e 's/:.*$//'`
9213
# Check whether this is an Automake generated Makefile or not.
9214
# We used to match only the files named `Makefile.in', but
9215
# some people rename them; so instead we look at the file content.
9216
# Grep'ing the first line is not enough: some people post-process
9217
# each Makefile.in and add a new line on top of each file to say so.
9218
# Grep'ing the whole file is not good either: AIX grep has a line
9219
# limit of 2048, but all sed's we know have understand at least 4000.
9220
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9221
dirpart=`$as_dirname -- "$mf" ||
9222
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9223
X"$mf" : 'X\(//\)[^/]' \| \
9224
X"$mf" : 'X\(//\)$' \| \
9225
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9227
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9247
# Extract the definition of DEPDIR, am__include, and am__quote
9248
# from the Makefile without running `make'.
9249
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9250
test -z "$DEPDIR" && continue
9251
am__include=`sed -n 's/^am__include = //p' < "$mf"`
9252
test -z "am__include" && continue
9253
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9254
# When using ansi2knr, U may be empty or an underscore; expand it
9255
U=`sed -n 's/^U = //p' < "$mf"`
9256
# Find all dependency output files, they are included files with
9257
# $(DEPDIR) in their names. We invoke sed twice because it is the
9258
# simplest approach to changing $(DEPDIR) to its actual value in the
9260
for file in `sed -n "
9261
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9262
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9263
# Make sure the directory exists.
9264
test -f "$dirpart/$file" && continue
9265
fdir=`$as_dirname -- "$file" ||
9266
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9267
X"$file" : 'X\(//\)[^/]' \| \
9268
X"$file" : 'X\(//\)$' \| \
9269
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9271
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9288
{ as_dir=$dirpart/$fdir
9290
-*) as_dir=./$as_dir;;
9292
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9296
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9297
*) as_qdir=$as_dir;;
9299
as_dirs="'$as_qdir' $as_dirs"
9300
as_dir=`$as_dirname -- "$as_dir" ||
9301
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9302
X"$as_dir" : 'X\(//\)[^/]' \| \
9303
X"$as_dir" : 'X\(//\)$' \| \
9304
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9305
$as_echo X"$as_dir" |
9306
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9323
test -d "$as_dir" && break
9325
test -z "$as_dirs" || eval "mkdir $as_dirs"
9326
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9327
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9328
{ (exit 1); exit 1; }; }; }
9329
# echo "creating $dirpart/$file"
9330
echo '# dummy' > "$dirpart/$file"
9339
{ (exit 0); exit 0; }
9341
chmod +x $CONFIG_STATUS
9342
ac_clean_files=$ac_clean_files_save
9344
test $ac_write_fail = 0 ||
9345
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
9346
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
9347
{ (exit 1); exit 1; }; }
9350
# configure is writing to config.log, and then calls config.status.
9351
# config.status does its own redirection, appending to config.log.
9352
# Unfortunately, on DOS this fails, as config.log is still kept open
9353
# by configure, so config.status won't be able to write to it; its
9354
# output is simply discarded. So we exec the FD to /dev/null,
9355
# effectively closing config.log, so it can be properly (re)opened and
9356
# appended to by config.status. When coming back to configure, we
9357
# need to make the FD available again.
9358
if test "$no_create" != yes; then
9360
ac_config_status_args=
9361
test "$silent" = yes &&
9362
ac_config_status_args="$ac_config_status_args --quiet"
9364
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9366
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
9367
# would make configure fail if this is the last instruction.
9368
$ac_cs_success || { (exit 1); exit 1; }
9370
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9371
{ $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
9372
$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
9376
echo "configure: updating ska_config.h"
9377
sed -e "s/|MAIL|/"$PACKAGE_BUGREPORT"/" ska_config.h > .ska_config.h.tmp
9378
mv .ska_config.h.tmp ska_config.h