Lines Matching +full:non +full:- +full:secure +full:- +full:otp
2 # Guess values for system-dependent variables and create Makefiles.
5 # Report bugs to <krb5-bugs@mit.edu>.
12 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
18 ## -------------------- ##
20 ## -------------------- ##
29 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31 alias -g '${1+"$@"}'='"$@"'
34 case `(set -o) 2>/dev/null` in #(
36 set -o posix ;; #(
50 # Quoting is to prevent editors from complaining about space-tab.
60 # Ensure predictable behavior from utilities with locale-dependent output.
67 # to be unset--not just set to an empty or harmless value--now, to
68 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
84 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
85 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
104 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
115 if test ! -f "$as_myself"; then
122 # into an infinite loop, continuously re-executing ourselves.
128 # Preserve -v and -x to the replacement shell.
132 case $- in # ((((
133 *v*x* | *x*v* ) as_opts=-vx ;;
134 *v* ) as_opts=-v ;;
135 *x* ) as_opts=-x ;;
141 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
152 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
154 alias -g '\${1+\"\$@\"}'='\"\$@\"'
157 case \`(set -o) 2>/dev/null\` in #(
159 set -o posix ;; #(
185 test -x / || exit 1"
217 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
218 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
221 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
235 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
236 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
249 # Preserve -v and -x to the replacement shell.
253 case $- in # ((((
254 *v*x* | *x*v* ) as_opts=-vx ;;
255 *v* ) as_opts=-v ;;
256 *x* ) as_opts=-x ;;
262 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
274 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and krb5-bugs@mit.edu
284 SHELL=${CONFIG_SHELL-/bin/sh}
290 ## --------------------- ##
292 ## --------------------- ##
294 # ---------------
304 # -----------------------
312 # -----------------
313 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
321 # ---------
330 # -------------
336 -*) as_dir=./$as_dir;;
338 test -d "$as_dir" || eval $as_mkdir_p || {
346 as_dir=`$as_dirname -- "$as_dir" ||
369 test -d "$as_dir" && break
371 test -z "$as_dirs" || eval "mkdir $as_dirs"
372 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
378 # -----------------------
382 test -f "$1" && test -x "$1"
385 # ----------------------
404 # ------------------
417 as_val=`expr "$@" || test $? -eq 1`
422 # ---------
431 # ----------------------------------------
437 as_status=$1; test $as_status -eq 0 && as_status=1
439 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
440 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
453 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
459 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
465 as_me=`$as_basename -- "$0" ||
496 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
497 sed -n '
502 s/[$]LINENO.*/&-/
510 s/-\n.*//
515 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
532 case `echo -n x` in #(((((
533 -n*)
541 ECHO_N='-n';;
544 # For backward compatibility with old third-party macros, we provide
551 rm -f conf$$ conf$$.exe conf$$.file
552 if test -d conf$$.dir; then
553 rm -f conf$$.dir/conf$$.file
555 rm -f conf$$.dir
559 if ln -s conf$$.file conf$$ 2>/dev/null; then
560 as_ln_s='ln -s'
562 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
563 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
564 # In both cases, we have to default to `cp -pR'.
565 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
566 as_ln_s='cp -pR'
570 as_ln_s='cp -pR'
573 as_ln_s='cp -pR'
575 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
578 if mkdir -p . 2>/dev/null; then
579 as_mkdir_p='mkdir -p "$as_dir"'
581 test -d ./-p && rmdir ./-p
585 as_test_x='test -x'
595 test -n "$DJDIR" || exec 7<&0 </dev/null
601 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
620 PACKAGE_BUGREPORT='krb5-bugs@mit.edu'
1017 if test -n "$ac_prev"; then
1030 --)
1033 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1035 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1038 -build | --build | --buil | --bui | --bu)
1040 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1043 -cache-file | --cache-file | --cache-fil | --cache-fi \
1044 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1046 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1047 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1050 --config-cache | -C)
1053 -datadir | --datadir | --datadi | --datad)
1055 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1058 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1059 | --dataroo | --dataro | --datar)
1061 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1062 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1065 -disable-* | --disable-*)
1066 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1071 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1076 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1081 -docdir | --docdir | --docdi | --doc | --do)
1083 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1086 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1088 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1091 -enable-* | --enable-*)
1092 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1107 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1108 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1109 | --exec | --exe | --ex)
1111 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1112 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1113 | --exec=* | --exe=* | --ex=*)
1116 -gas | --gas | --ga | --g)
1117 # Obsolete; use --with-gas.
1120 -help | --help | --hel | --he | -h)
1122 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1124 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1127 -host | --host | --hos | --ho)
1129 -host=* | --host=* | --hos=* | --ho=*)
1132 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1134 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1135 | --ht=*)
1138 -includedir | --includedir | --includedi | --included | --include \
1139 | --includ | --inclu | --incl | --inc)
1141 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1142 | --includ=* | --inclu=* | --incl=* | --inc=*)
1145 -infodir | --infodir | --infodi | --infod | --info | --inf)
1147 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1150 -libdir | --libdir | --libdi | --libd)
1152 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1155 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1156 | --libexe | --libex | --libe)
1158 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1159 | --libexe=* | --libex=* | --libe=*)
1162 -localedir | --localedir | --localedi | --localed | --locale)
1164 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1167 -localstatedir | --localstatedir | --localstatedi | --localstated \
1168 | --localstate | --localstat | --localsta | --localst | --locals)
1170 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1171 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1174 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1176 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1179 -nfp | --nfp | --nf)
1180 # Obsolete; use --without-fp.
1183 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1184 | --no-cr | --no-c | -n)
1187 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1188 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1191 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1192 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1193 | --oldin | --oldi | --old | --ol | --o)
1195 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1196 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1197 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1200 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1202 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1205 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1206 | --program-pre | --program-pr | --program-p)
1208 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1209 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1212 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1213 | --program-suf | --program-su | --program-s)
1215 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1216 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1219 -program-transform-name | --program-transform-name \
1220 | --program-transform-nam | --program-transform-na \
1221 | --program-transform-n | --program-transform- \
1222 | --program-transform | --program-transfor \
1223 | --program-transfo | --program-transf \
1224 | --program-trans | --program-tran \
1225 | --progr-tra | --program-tr | --program-t)
1227 -program-transform-name=* | --program-transform-name=* \
1228 | --program-transform-nam=* | --program-transform-na=* \
1229 | --program-transform-n=* | --program-transform-=* \
1230 | --program-transform=* | --program-transfor=* \
1231 | --program-transfo=* | --program-transf=* \
1232 | --program-trans=* | --program-tran=* \
1233 | --progr-tra=* | --program-tr=* | --program-t=*)
1236 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1238 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1241 -psdir | --psdir | --psdi | --psd | --ps)
1243 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1246 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1247 | -silent | --silent | --silen | --sile | --sil)
1250 -runstatedir | --runstatedir | --runstatedi | --runstated \
1251 | --runstate | --runstat | --runsta | --runst | --runs \
1252 | --run | --ru | --r)
1254 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1255 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1256 | --run=* | --ru=* | --r=*)
1259 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1261 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1262 | --sbi=* | --sb=*)
1265 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1266 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1267 | --sharedst | --shareds | --shared | --share | --shar \
1268 | --sha | --sh)
1270 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1271 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1272 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1273 | --sha=* | --sh=*)
1276 -site | --site | --sit)
1278 -site=* | --site=* | --sit=*)
1281 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1283 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1286 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1287 | --syscon | --sysco | --sysc | --sys | --sy)
1289 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1290 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1293 -target | --target | --targe | --targ | --tar | --ta | --t)
1295 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1298 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1301 -version | --version | --versio | --versi | --vers | -V)
1304 -with-* | --with-*)
1305 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1307 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1310 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1315 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1320 -without-* | --without-*)
1321 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1323 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1326 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1331 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1336 --x)
1337 # Obsolete; use --with-x.
1340 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1341 | --x-incl | --x-inc | --x-in | --x-i)
1343 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1344 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1347 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1348 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1350 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1351 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1354 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1355 Try \`$0 --help' for more information"
1362 '' | [0-9]* | *[!_$as_cr_alnum]* )
1370 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1371 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 if test -n "$ac_prev"; then
1380 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1384 if test -n "$ac_unrecognized_opts"; then
1410 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1414 # used to hold the argument of --host etc.
1430 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1435 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1436 ac_ls_di=`ls -di .` &&
1437 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1444 if test -z "$srcdir"; then
1447 ac_confdir=`$as_dirname -- "$as_myself" ||
1471 if test ! -r "$srcdir/$ac_unique_file"; then
1477 if test ! -r "$srcdir/$ac_unique_file"; then
1483 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1491 # mess up M-x gdb in Emacs.
1503 # Report the --help message.
1519 -h, --help display this help and exit
1520 --help=short display options specific to this package
1521 --help=recursive display the short help of all the included packages
1522 -V, --version display version information and exit
1523 -q, --quiet, --silent do not print \`checking ...' messages
1524 --cache-file=FILE cache test results in FILE [disabled]
1525 -C, --config-cache alias for \`--cache-file=config.cache'
1526 -n, --no-create do not create output files
1527 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1530 --prefix=PREFIX install architecture-independent files in PREFIX
1532 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1537 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1538 for instance \`--prefix=\$HOME'.
1543 --bindir=DIR user executables [EPREFIX/bin]
1544 --sbindir=DIR system admin executables [EPREFIX/sbin]
1545 --libexecdir=DIR program executables [EPREFIX/libexec]
1546 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1547 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1548 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1549 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1550 --libdir=DIR object code libraries [EPREFIX/lib]
1551 --includedir=DIR C header files [PREFIX/include]
1552 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1553 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1554 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1555 --infodir=DIR info documentation [DATAROOTDIR/info]
1556 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1557 --mandir=DIR man documentation [DATAROOTDIR/man]
1558 --docdir=DIR documentation root [DATAROOTDIR/doc/krb5]
1559 --htmldir=DIR html documentation [DOCDIR]
1560 --dvidir=DIR dvi documentation [DOCDIR]
1561 --pdfdir=DIR pdf documentation [DOCDIR]
1562 --psdir=DIR ps documentation [DOCDIR]
1568 --program-prefix=PREFIX prepend PREFIX to installed program names
1569 --program-suffix=SUFFIX append SUFFIX to installed program names
1570 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1573 --build=BUILD configure for building on BUILD [guessed]
1574 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1578 if test -n "$ac_init_help"; then
1585 --disable-option-checking ignore unrecognized --enable/--with options
1586 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1587 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1588 --enable-dns-for-realm enable DNS lookups of Kerberos realm names
1589 --enable-maintainer-mode
1591 --disable-delayed-initialization
1594 --disable-thread-support
1597 --disable-rpath suppress run path flags in link lines
1598 --enable-athena build with MIT Project Athena configuration
1599 --disable-nls disable native language support
1600 --enable-audit-plugin=IMPL
1602 --disable-aesni Do not build with AES-NI support
1603 --disable-kdc-lookaside-cache
1605 --enable-asan Build with asan memory checking
1606 --enable-ossfuzz Build with fuzzing targets
1607 --disable-pkinit disable PKINIT plugin support
1610 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1611 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1612 --with-size-optimizations enable a few optimizations to reduce code size
1613 possibly at some run-time cost
1614 --with-system-et use system compile_et and -lcom_err [default: build
1616 --with-system-ss use system -lss and mk_cmds [private version]
1617 --with-system-db use system Berkeley db [private version]
1618 --with-netlib=LIBS use user defined resolver library
1619 --with-hesiod=path compile with hesiod support [omitted]
1620 --with-ldap compile OpenLDAP database backend module
1621 --with-vague-errors Do not [do] send helpful errors to client
1622 --with-crypto-impl=IMPL use specified crypto implementation [builtin]
1623 --with-tls-impl=IMPL use specified TLS implementation [auto]
1624 --without-keyutils do not link with libkeyutils
1625 --with-spake-openssl use OpenSSL for SPAKE preauth [auto]
1626 --with-lmdb compile LMDB database backend module [auto]
1627 --without-libedit do not compile with libedit
1628 --with-readline compile with GNU Readline
1629 --with-system-verto always use system verto library
1630 --with-krb5-config=PATH path to existing krb5-config program for defaults
1635 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1637 LIBS libraries to pass to the linker, e.g. -l<library>
1638 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1644 PKG_CONFIG path to pkg-config utility
1646 directories to add to pkg-config's search path
1648 path overriding pkg-config's built-in search path
1650 C compiler flags for COM_ERR, overriding pkg-config
1652 linker flags for COM_ERR, overriding pkg-config
1653 SS_LIB system libraries for 'ss' package [-lss]
1655 DB_LIB library for system Berkeley db package [-ldb]
1657 Defaults to the first program found out of: `bison -y', `byacc',
1661 default value of `-d' given by some make applications.
1663 C compiler flags for LIBEDIT, overriding pkg-config
1665 linker flags for LIBEDIT, overriding pkg-config
1667 C compiler flags for VERTO, overriding pkg-config
1668 VERTO_LIBS linker flags for VERTO, overriding pkg-config
1678 Report bugs to <krb5-bugs@mit.edu>.
1684 # If there are subdirs, report their specific --help.
1686 test -d "$ac_dir" ||
1687 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1725 # Metaconfig's "Configure" on case-insensitive file systems.
1726 if test -f "$ac_srcdir/configure.gnu"; then
1728 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1729 elif test -f "$ac_srcdir/configure"; then
1731 $SHELL "$ac_srcdir/configure" --help=recursive
1739 test -n "$ac_init_help" && exit $ac_status
1756 ## ------------------------ ##
1758 ## ------------------------ ##
1761 # --------------------------
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 rm -f conftest.$ac_objext conftest.beam
1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 if test -s conftest.err; then
1777 grep -v '^ *+' conftest.err >conftest.er1
1779 mv -f conftest.er1 conftest.err
1781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783 test -z "$ac_c_werror_flag" ||
1784 test ! -s conftest.err
1785 } && test -s conftest.$ac_objext
1800 # ----------------------------
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 rm -f conftest.$ac_objext conftest.beam
1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1815 if test -s conftest.err; then
1816 grep -v '^ *+' conftest.err >conftest.er1
1818 mv -f conftest.er1 conftest.err
1820 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test -z "$ac_cxx_werror_flag" ||
1823 test ! -s conftest.err
1824 } && test -s conftest.$ac_objext
1839 # ----------------------
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 if test -s conftest.err; then
1854 grep -v '^ *+' conftest.err >conftest.er1
1856 mv -f conftest.er1 conftest.err
1858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1861 test ! -s conftest.err
1877 # -----------------------
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 if test -s conftest.err; then
1893 grep -v '^ *+' conftest.err >conftest.er1
1895 mv -f conftest.er1 conftest.err
1897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899 test -z "$ac_c_werror_flag" ||
1900 test ! -s conftest.err
1901 } && test -s conftest$ac_exeext && {
1903 test -x conftest$ac_exeext
1917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1924 # ----------------------
1929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1939 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1967 # ----------------------------------
1971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2029 # -------------------------------------------------------
2034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2062 # -------------------------------------------
2067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2119 # ----------------------------------------------------
2124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2169 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2179 # ------------------------------------------------------------------
2181 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2184 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2192 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2219 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2231 # --------------------------------------------
2232 # Tries to find the compile-time value of EXPR in a program that includes
2237 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2246 static int test_array [1 - 2 * !(($2) >= 0)];
2258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2264 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2277 if test $ac_lo -le $ac_mid; then
2283 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2292 static int test_array [1 - 2 * !(($2) < 0)];
2302 ac_hi=-1 ac_mid=-1
2304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2322 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2323 if test $ac_mid -le $ac_hi; then
2329 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2339 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2360 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2411 rm -f conftest.val
2451 ## --------- ##
2453 ## --------- ##
2455 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2456 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2457 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2458 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2459 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2461 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2462 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2465 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2492 ## ----------- ##
2494 ## ----------- ##
2500 # Strip out --no-create and --no-recursion so they do not pile up.
2501 # Strip out --silent because we don't want to record it for future runs.
2502 # Also quote any args containing shell meta-characters.
2503 # Make two passes to allow for proper duplicate-argument suppression.
2513 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2514 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2515 | -silent | --silent | --silen | --sile | --sil)
2528 *=* | --config-cache | -C | -disable-* | --disable-* \
2529 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2530 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2531 | -with-* | --with-* | -without-* | --without-* | --x)
2536 -* ) ac_must_keep_next=true ;;
2559 printf "%s\n" "## ---------------- ##
2561 ## ---------------- ##"
2565 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2570 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
2583 sed -n \
2588 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2595 printf "%s\n" "## ----------------- ##
2597 ## ----------------- ##"
2609 if test -n "$ac_subst_files"; then
2610 printf "%s\n" "## ------------------- ##
2612 ## ------------------- ##"
2625 if test -s confdefs.h; then
2626 printf "%s\n" "## ----------- ##
2628 ## ----------- ##"
2637 rm -f core *.core core.conftest.* &&
2638 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2647 rm -f -r conftest* confdefs.h
2668 if test -n "$CONFIG_SITE"; then
2684 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2689 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2696 if test -r "$cache_file"; then
2699 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2744 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2747 as an "x". The following induces an error, until -std is added to get
2750 that is true only with -std. */
2751 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2753 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2756 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2810 static long long int bignum = -9223372036854775807LL;
2830 // See if C++-style comments work.
2893 ia->datasize = 10;
2894 for (int i = 0; i < ia->datasize; ++i)
2895 ia->data[i] = i * 1.234;
2908 dynamic_array[ni.number - 1] = 543;
2912 || dynamic_array[ni.number - 1] != 543);
2935 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2949 // Check UTF-8 literals.
2958 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3101 virtual int getval() { return this->n; };
3110 virtual int getval() override final { return this->n * 2; }
3131 template <typename V> auto sum(V first) -> V
3135 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3164 // Test range-based for
3206 char const *utf8 = u8"UTF-8 string \u2500";
3207 char16_t const *utf16 = u"UTF-8 string \u2500";
3208 char32_t const *utf32 = U"UTF-32 string \u2500";
3248 ac_aux_files="install-sh config.guess config.sub"
3254 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3278 # As a special case, if "install-sh" is required, that requirement
3279 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3281 if test x"$ac_aux" = x"install-sh"
3283 if test -f "${as_dir}install-sh"; then
3284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3285 ac_install_sh="${as_dir}install-sh -c"
3286 elif test -f "${as_dir}install.sh"; then
3287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3288 ac_install_sh="${as_dir}install.sh -c"
3289 elif test -f "${as_dir}shtool"; then
3290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3291 ac_install_sh="${as_dir}shtool install -c"
3295 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3301 if test -f "${as_dir}${ac_aux}"; then
3302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3334 if test -f "${ac_aux_dir}config.guess"; then
3337 if test -f "${ac_aux_dir}config.sub"; then
3340 if test -f "$ac_aux_dir/configure"; then
3354 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the p…
3358 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >…
3368 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run…
3372 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' s…
3376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3397 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the…
3399 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3402 ## -------------------- ##
3404 ## -------------------- ##
3408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3432 if test ! -r "$srcdir/./aclocal.m4"; then
3459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3462 if test -n "$ac_tool_prefix"; then
3465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3471 if test -n "$CC"; then
3486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3496 if test -n "$CC"; then
3497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3506 if test -z "$ac_cv_prog_CC"; then
3510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3516 if test -n "$ac_ct_CC"; then
3531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3541 if test -n "$ac_ct_CC"; then
3542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
3564 if test -z "$CC"; then
3565 if test -n "$ac_tool_prefix"; then
3568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3574 if test -n "$CC"; then
3589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3599 if test -n "$CC"; then
3600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 if test -z "$CC"; then
3613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 if test -n "$CC"; then
3639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3661 if test -n "$CC"; then
3662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3671 if test -z "$CC"; then
3672 if test -n "$ac_tool_prefix"; then
3677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3683 if test -n "$CC"; then
3698 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3708 if test -n "$CC"; then
3709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3717 test -n "$CC" && break
3720 if test -z "$CC"; then
3726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732 if test -n "$ac_ct_CC"; then
3747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3757 if test -n "$ac_ct_CC"; then
3758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766 test -n "$ac_ct_CC" && break
3774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
3783 if test -z "$CC"; then
3784 if test -n "$ac_tool_prefix"; then
3787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3793 if test -n "$CC"; then
3808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3818 if test -n "$CC"; then
3819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 if test -z "$ac_cv_prog_CC"; then
3832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3838 if test -n "$ac_ct_CC"; then
3853 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3863 if test -n "$ac_ct_CC"; then
3864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
3889 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3895 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3898 for ac_option in --version -v -V -qversion -version; do
3904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3908 if test -s conftest.err; then
3914 rm -f conftest.er1 conftest.err
3915 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3932 # Try to create an executable without -o first, disregard a.out.
3935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3937 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3950 rm -f $ac_rmfiles
3957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3964 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3967 # so that the user can short-circuit this test for compilers unknown to
3971 test -f "$ac_file" || continue
3985 # safe: cross compilers may not add the suffix if given an `-o'
3999 if test -z "$ac_file"
4001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4020 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4041 test -f "$ac_file" || continue
4050 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4055 rm -f conftest conftest$ac_cv_exeext
4056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4059 rm -f conftest.$ac_ext
4062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4108 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4111 If you meant to cross compile, use \`--host'.
4116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4119 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 rm -f conftest.o conftest.obj
4144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4152 test -f "$ac_file" || continue;
4163 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4168 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4216 printf %s "checking whether $CC accepts -g... " >&6; }
4224 CFLAGS="-g"
4225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 CFLAGS="-g"
4258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4286 CFLAGS="-g -O2"
4288 CFLAGS="-g"
4292 CFLAGS="-O2"
4300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4312 for ac_arg in '' -std=gnu11
4319 rm -f core conftest.err conftest.$ac_objext conftest.beam
4322 rm -f conftest.$ac_ext
4328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4358 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4365 rm -f core conftest.err conftest.$ac_objext conftest.beam
4368 rm -f conftest.$ac_ext
4374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS_…
4411 rm -f core conftest.err conftest.$ac_objext conftest.beam
4414 rm -f conftest.$ac_ext
4420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4454 if test -z "$CXX"; then
4455 if test -n "$CCC"; then
4458 if test -n "$ac_tool_prefix"; then
4463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4469 if test -n "$CXX"; then
4484 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4494 if test -n "$CXX"; then
4495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503 test -n "$CXX" && break
4506 if test -z "$CXX"; then
4512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4518 if test -n "$ac_ct_CXX"; then
4533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4543 if test -n "$ac_ct_CXX"; then
4544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4552 test -n "$ac_ct_CXX" && break
4560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4574 for ac_option in --version -v -V -qversion; do
4580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4584 if test -s conftest.err; then
4590 rm -f conftest.er1 conftest.err
4591 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
4601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4637 printf %s "checking whether $CXX accepts -g... " >&6; }
4645 CXXFLAGS="-g"
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678 CXXFLAGS="-g"
4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4707 CXXFLAGS="-g -O2"
4709 CXXFLAGS="-g"
4713 CXXFLAGS="-O2"
4721 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >…
4729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
4740 rm -f core conftest.err conftest.$ac_objext conftest.beam
4743 rm -f conftest.$ac_ext
4749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
4767 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >…
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
4786 rm -f core conftest.err conftest.$ac_objext conftest.beam
4789 rm -f conftest.$ac_ext
4795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
4814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4820 …cachevar=`echo "krb5_cv_cc_flag_-Werror=unknown-warning-option" | sed -e s/=/_eq_/g -e s/-/_dash_/…
4821 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C compiler supports -Werror=unknown-warn…
4822 printf %s "checking if C compiler supports -Werror=unknown-warning-option... " >&6; }
4828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4842 CFLAGS="$CFLAGS $cflags_warning_test_flags -Werror=unknown-warning-option"
4843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4871 WARN_CFLAGS="$WARN_CFLAGS -Werror=unknown-warning-option"
4876 cflags_warning_test_flags=-Werror=unknown-warning-option
4881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4887 if test -n "$CPP" && test -d "$CPP"; then
4890 if test -z "$CPP"; then
4896 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
4902 # with a fresh cross-compiler works.
4903 # On the NeXT, cc -E runs the code through the compiler's parser,
4905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4917 rm -f conftest.err conftest.i conftest.$ac_ext
4921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4934 rm -f conftest.err conftest.i conftest.$ac_ext
4938 rm -f conftest.i conftest.err conftest.$ac_ext
4952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4958 # with a fresh cross-compiler works.
4959 # On the NeXT, cc -E runs the code through the compiler's parser,
4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4973 rm -f conftest.err conftest.i conftest.$ac_ext
4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4990 rm -f conftest.err conftest.i conftest.$ac_ext
4994 rm -f conftest.i conftest.err conftest.$ac_ext
4999 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5020 if test -n "$ac_tool_prefix"; then
5021 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5022 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5057 if test -n "$PKG_CONFIG"; then
5058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 if test -z "$ac_cv_path_PKG_CONFIG"; then
5069 # Extract the first word of "pkg-config", so it can be a program name with args.
5070 set dummy pkg-config; ac_word=$2
5071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5105 if test -n "$ac_pt_PKG_CONFIG"; then
5106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
5129 if test -n "$PKG_CONFIG"; then
5131 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_ve…
5132 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5133 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5177 *-*-*) ;;
5181 ac_save_IFS=$IFS; IFS='-'
5191 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5211 *-*-*) ;;
5215 ac_save_IFS=$IFS; IFS='-'
5225 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5240 if test -z "$SED"; then
5242 # Loop through the user's path and test for each of PROGNAME-LIST
5259 case `"$ac_path_SED" --version 2>&1` in
5271 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5274 if test $ac_count -gt ${ac_path_SED_max-0}; then
5280 test $ac_count -gt 10 && break
5282 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5290 if test -z "$ac_cv_path_SED"; then
5298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5301 rm -f conftest.sed
5303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5304 printf %s "checking for grep that handles long lines and -e... " >&6; }
5309 if test -z "$GREP"; then
5311 # Loop through the user's path and test for each of PROGNAME-LIST
5328 case `"$ac_path_GREP" --version 2>&1` in
5340 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
5343 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5349 test $ac_count -gt 10 && break
5351 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5359 if test -z "$ac_cv_path_GREP"; then
5367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5378 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5379 then ac_cv_path_EGREP="$GREP -E"
5381 if test -z "$EGREP"; then
5383 # Loop through the user's path and test for each of PROGNAME-LIST
5400 case `"$ac_path_EGREP" --version 2>&1` in
5415 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5421 test $ac_count -gt 10 && break
5423 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5431 if test -z "$ac_cv_path_EGREP"; then
5440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU linker" >&5
5467 if { ac_try='$CC -Wl,-v 2>&1 | grep "GNU ld" > /dev/null'
5468 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_prog_gnu_ld" >&5
5480 # Check whether --with-size-optimizations was given.
5493 # -Wno-long-long, if needed, for k5-platform.h without inttypes.h etc.
5494 extra_gcc_warn_opts="-Wall -Wcast-align -Wshadow"
5495 # -Wmissing-prototypes
5497 # Putting this here means we get -Os after -O2, which works.
5499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: adding -Os optimization option" >&5
5500 printf "%s\n" "$as_me: adding -Os optimization option" >&6;}
5502 "-g -O2") CFLAGS="-g -Os" ;;
5503 "-O2") CFLAGS="-Os" ;;
5504 *) CFLAGS="$CFLAGS -Os" ;;
5508 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: not adding extra gcc warning flags because WARN_CFLA…
5511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: adding extra warning flags for gcc" >&5
5513 WARN_CFLAGS="$WARN_CFLAGS $extra_gcc_warn_opts -Wmissing-prototypes"
5514 if test "`uname -s`" = Darwin ; then
5515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: skipping pedantic warnings on Darwin" >&5
5517 elif test "`uname -s`" = Linux ; then
5518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: skipping pedantic warnings on Linux" >&5
5521 WARN_CFLAGS="$WARN_CFLAGS -pedantic"
5525 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: not adding extra g++ warnings because WARN_CXXFLAGS …
5528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: adding extra warning flags for g++" >&5
5533 # Currently, G++ does not support -Wno-format-zero-length.
5534 …cachevar=`echo "krb5_cv_cc_flag_-Wno-format-zero-length" | sed -e s/=/_eq_/g -e s/-/_dash_/g -e s/…
5535 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C compiler supports -Wno-format-zero-len…
5536 printf %s "checking if C compiler supports -Wno-format-zero-length... " >&6; }
5542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5556 CFLAGS="$CFLAGS $cflags_warning_test_flags -Wno-format-zero-length"
5557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5574 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5579 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5585 WARN_CFLAGS="$WARN_CFLAGS -Wno-format-zero-length"
5591 …-overflow missing-format-attribute missing-prototypes return-type missing-braces parentheses switc…
5592 …cachevar=`echo "krb5_cv_cc_flag_-W$flag" | sed -e s/=/_eq_/g -e s/-/_dash_/g -e s/[^a-zA-Z0-9_]/_/…
5593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C compiler supports -W$flag" >&5
5594 printf %s "checking if C compiler supports -W$flag... " >&6; }
5600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5614 CFLAGS="$CFLAGS $cflags_warning_test_flags -W$flag"
5615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5643 WARN_CFLAGS="$WARN_CFLAGS -W$flag"
5648 # old-style-definition? generates many, many warnings
5653 # is added after the -Werror=foo feature, you can just put
5655 # warning-only form.) At least in some versions, -Werror= doesn't
5661 for flag in declaration-after-statement ; do
5662 …cachevar=`echo "krb5_cv_cc_flag_-Werror=$flag" | sed -e s/=/_eq_/g -e s/-/_dash_/g -e s/[^a-zA-Z0-…
5663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C compiler supports -Werror=$flag" >&5
5664 printf %s "checking if C compiler supports -Werror=$flag... " >&6; }
5670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5684 CFLAGS="$CFLAGS $cflags_warning_test_flags -Werror=$flag"
5685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5713 WARN_CFLAGS="$WARN_CFLAGS -Werror=$flag"
5718 …cachevar=`echo "krb5_cv_cc_flag_-W$flag" | sed -e s/=/_eq_/g -e s/-/_dash_/g -e s/[^a-zA-Z0-9_]/_/…
5719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C compiler supports -W$flag" >&5
5720 printf %s "checking if C compiler supports -W$flag... " >&6; }
5726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5740 CFLAGS="$CFLAGS $cflags_warning_test_flags -W$flag"
5741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5769 WARN_CFLAGS="$WARN_CFLAGS -W$flag"
5777 # In some compiler versions -- e.g., "gcc version 4.2.1 (Apple
5778 # Inc. build 5664)" -- the -Werror- option works, but the -Werror=
5780 # flagged as errors. If neither works, -Wall implies
5781 # -Wimplicit-function-declaration so don't bother.
5782 …achevar=`echo "krb5_cv_cc_flag_-Werror-implicit-function-declaration" | sed -e s/=/_eq_/g -e s/-/_…
5783 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C compiler supports -Werror-implicit-fun…
5784 printf %s "checking if C compiler supports -Werror-implicit-function-declaration... " >&6; }
5790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5804 CFLAGS="$CFLAGS $cflags_warning_test_flags -Werror-implicit-function-declaration"
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5833 WARN_CFLAGS="$WARN_CFLAGS -Werror-implicit-function-declaration"
5837 if test "implicit-function-declaration_supported" = no; then
5838 …achevar=`echo "krb5_cv_cc_flag_-Werror=implicit-function-declaration" | sed -e s/=/_eq_/g -e s/-/_…
5839 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C compiler supports -Werror=implicit-fun…
5840 printf %s "checking if C compiler supports -Werror=implicit-function-declaration... " >&6; }
5846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5860 CFLAGS="$CFLAGS $cflags_warning_test_flags -Werror=implicit-function-declaration"
5861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5889 WARN_CFLAGS="$WARN_CFLAGS -Werror=implicit-function-declaration"
5896 if test "`uname -s`" = Darwin ; then
5904 *-fcommon*) ;; # why someone would do this, I don't know
5905 *-fno-common*) ;; # okay, they're already doing the right thing
5907 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: disabling the use of common storage on Darwin" >&5
5909 CFLAGS="$CFLAGS -fno-common"
5914 if test "`uname -s`" = AIX ; then
5918 # in function calls. Let's try to fix that with -qhalt=e.
5920 *-qhalt=*) ;;
5922 CFLAGS="$CFLAGS -qhalt=e"
5923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: adding -qhalt=e for better error reporting" >&5
5924 printf "%s\n" "$as_me: adding -qhalt=e for better error reporting" >&6;}
5930 # includes k5-int.h whether it uses threads or not.
5932 *-O*) ;;
5934 CFLAGS="$CFLAGS -O"
5935 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: adding -O for inline thread-support function elimina…
5936 printf "%s\n" "$as_me: adding -O for inline thread-support function elimination" >&6;}
5940 if test "`uname -s`" = SunOS ; then
5942 # We have some error-out-on-warning options available.
5943 # Sunsoft 12 compiler defaults to -xc99=all, it appears, so "inline"
5944 # works, but it also means that declaration-in-code warnings won't
5946 # -v -fd -errwarn=E_DECLARATION_IN_CODE ...
5948 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: not adding extra warning flags because WARN_CFLAGS w…
5951 …WARN_CFLAGS="-errtags=yes -errwarn=E_BAD_PTR_INT_COMBINATION,E_BAD_PTR_INT_COMB_ARG,E_PTR_TO_VOID_…
5954 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: not adding extra warning flags because WARN_CXXFLAGS…
5957 WARN_CXXFLAGS="-errtags=yes +w +w2 -xport64"
5964 if test -z "$LD" ; then LD=$CC; fi
5968 # Check whether --with-system-et was given.
5974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which version of com_err to use" >&5
5979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: system" >&5
5983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: krb5" >&5
5987 COM_ERR_LIB=-lcom_err
5991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for com_err" >&5
5994 if test -n "$COM_ERR_CFLAGS"; then
5996 elif test -n "$PKG_CONFIG"; then
5997 if test -n "$PKG_CONFIG" && \
5998 …{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"com_err\"";…
5999 ($PKG_CONFIG --exists --print-errors "com_err") 2>&5
6001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6003 pkg_cv_COM_ERR_CFLAGS=`$PKG_CONFIG --cflags "com_err" 2>/dev/null`
6011 if test -n "$COM_ERR_LIBS"; then
6013 elif test -n "$PKG_CONFIG"; then
6014 if test -n "$PKG_CONFIG" && \
6015 …{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"com_err\"";…
6016 ($PKG_CONFIG --exists --print-errors "com_err") 2>&5
6018 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6020 pkg_cv_COM_ERR_LIBS=`$PKG_CONFIG --libs "com_err" 2>/dev/null`
6032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6041 … COM_ERR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "com_err" 2>&1`
6043 COM_ERR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "com_err" 2>&1`
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for add_error_table in -lcom_err" >&5
6066 printf %s "checking for add_error_table in -lcom_err... " >&6; }
6072 LIBS="-lcom_err $LIBS"
6073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_add_error_table" >&5
6107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove_error_table in -lcom_err" >&5
6108 printf %s "checking for remove_error_table in -lcom_err... " >&6; }
6114 LIBS="-lcom_err $LIBS"
6115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_remove_error_table" >&5
6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 if test -n "$compile_et"; then
6180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6190 if test -n "$compile_et"; then
6191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $compile_et" >&5
6194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 test -n "$compile_et" && break
6201 test -n "$compile_et" || compile_et="false"
6206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compile_et is useful" >&5
6216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6236 rm -f conf$$e.c conf$$e.h
6240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_compile_et_useful" >&5
6242 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compile_et supports --textdomain" >…
6243 printf %s "checking whether compile_et supports --textdomain... " >&6; }
6250 if compile_et --textdomain=xyzw conf$$e.et >/dev/null 2>&1 ; then
6251 if grep -q xyzw conf$$e.c; then
6255 rm -f conf$$e.c conf$$e.h
6258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_compile_et_textdomain" >&5
6263 rm -f conf$$e.et
6268 if test "$COM_ERR_VERSION" = k5 -o "$COM_ERR_VERSION" = intlsys; then
6275 # Check whether --with-system-ss was given.
6282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which version of subsystem package to use" >…
6286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: system" >&5
6290 test "x${SS_LIB+set}" = xset || SS_LIB=-lss
6293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether system ss package works" >&5
6303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_system_ss_okay" >&5
6331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ss_execute_command needs a prototype prov…
6337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6357 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_func_ss_execute_command_noproto" >&5
6370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: krb5" >&5
6377 # Check whether --with-system-db was given.
6394 test "x${DB_LIB+set}" = xset || DB_LIB=-ldb
6412 DB_LIB=-ldb
6419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6420 printf %s "checking for an ANSI C-conforming const... " >&6; }
6425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6444 an arm of an if-expression whose if-part is not a constant
6447 pcpcc = &g + (g ? g-g : 0);
6460 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6465 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6471 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6473 struct s *b = &bx; b->j = 5;
6475 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6503 # Check whether --with-netlib was given.
6506 withval=$with_netlib; if test "$withval" = yes -o "$withval" = no ; then
6507 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: \"netlib will link with C library resolver o…
6511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: \"netlib will use \'$withval\'\"" >&5
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
6527 printf %s "checking for gethostbyname in -lnsl... " >&6; }
6533 LIBS="-lnsl $LIBS"
6534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
6565 LIBS="-lnsl $LIBS"
6570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5
6571 printf %s "checking for gethostbyname in -lsocket... " >&6; }
6577 LIBS="-lsocket $LIBS"
6578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5
6609 LIBS="-lsocket $LIBS"
6616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5
6617 printf %s "checking for gethostbyname in -lsocket... " >&6; }
6623 LIBS="-lsocket -lnsl $LIBS"
6624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5
6653 LIBS="-lsocket -lnsl $LIBS"
6655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lresolv" >&5
6656 printf %s "checking for gethostbyname in -lresolv... " >&6; }
6662 LIBS="-lresolv $LIBS"
6663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_gethostbyname" >&5
6692 LIBS="-lresolv $LIBS"
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
6712 printf %s "checking for socket in -lsocket... " >&6; }
6718 LIBS="-lsocket $LIBS"
6719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
6750 LIBS="-lsocket $LIBS"
6753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
6754 printf %s "checking for socket in -lsocket... " >&6; }
6760 LIBS="-lsocket -lnsl $LIBS"
6761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
6790 LIBS="-lsocket -lnsl $LIBS"
6799 # Check whether --enable-dns-for-realm was given.
6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lresolv" >&5
6822 printf %s "checking for main in -lresolv... " >&6; }
6828 LIBS="-lresolv $LIBS"
6829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_main" >&5
6857 LIBS="-lresolv $LIBS"
6868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $krb5_func" >&5
6874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6933 # Check whether --with-hesiod was given.
6942 HESIOD_DEFS=-DHESIOD
6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5
6944 printf %s "checking for res_send in -lresolv... " >&6; }
6950 LIBS="-lresolv $LIBS"
6951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5
6980 res_lib=-lresolv
6984 HESIOD_LIBS="-L${hesiod}/lib -lhesiod $res_lib"
6986 HESIOD_LIBS="-lhesiod $res_lib"
6993 # Check whether --enable-maintainer-mode was given.
7004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: enabling maintainer mode" >&5
7026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pragma weak references are supported…
7032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7050 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_pragma_weak_ref" >&5
7062 # Check whether --with-ldap was given.
7068 *) as_fn_error $? "Invalid option value --with-ldap=\"$withval\"" "$LINENO" 5 ;;
7075 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: enabling OpenLDAP database backend module support" >…
7084 # Check whether --enable-delayed-initialization was given.
7098 …*) as_fn_error $? "invalid option $enable_delayed_initialization for delayed-initialization" "$LI…
7100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for constructor/destructor attribute support…
7106 rm -f conftest.1 conftest.2
7107 if test -r conftest.1 || test -r conftest.2 ; then
7112 if test -r conftest.1 && test -r conftest.2 ; then true ; else
7122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7133 test -r conftest.1 || a=yes
7134 test -r conftest.2 || b=yes
7136 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7141 *-*-aix4.*)
7156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_attr_constructor_destructor" >&5
7172 if test -z "$use_linker_init_option" ; then
7192 # Check whether --enable-thread-support was given.
7201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: enabling thread support" >&5
7214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7241 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS …
7243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
7277 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
7278 # libraries is broken (non-POSIX).
7282 # starting with a "-" are C compiler flags, and remaining items are
7284 # any flags at all, and "pthread-config" which is a program returning
7287 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pth…
7292 # pthreads: AIX (must check this before -lpthread)
7293 # none: in case threads are in libc; should be tried before -Kthread and
7295 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
7296 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
7297 # (Note: HP C rejects this with "bad form for `-t' option")
7298 # -pthreads: Solaris/gcc (Note: HP C also rejects)
7299 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
7301 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
7302 # is present but should not be used directly; and before -mthreads,
7303 # because the compiler interprets this as "-mt" + "-hreads")
7304 # -mthreads: Mingw32/gcc, Lynx/gcc
7306 # --thread-safe: KAI C++
7307 # pthread-config: use pthread-config program (for GNU Pth library)
7313 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
7314 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
7316 ax_pthread_flags="-kthread lthread $ax_pthread_flags"
7321 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
7322 # multi-threading and also sets -lpthread."
7324 ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
7329 # IBM z/OS requires a feature-test macro to be defined in order to
7334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7345 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNI…
7346 printf "%s\n" "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pt…
7348 rm -rf conftest*
7355 # (non-functional) versions of the pthreads routines, so link-based
7360 # standard Solaris way of linking pthreads (-mt -lpthread).
7362 ax_pthread_flags="-mt,-lpthread pthread $ax_pthread_flags"
7368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
7377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7379 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
7390 rm -rf conftest*
7395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
7400 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
7402 # Note that for GCC and Clang -pthread generally implies -lpthread,
7403 # except when -nostdlib is passed.
7407 # [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468555
7408 # To solve this, first try -pthread together with -lpthread for GCC
7412 ax_pthread_flags="-pthread,-lpthread -pthread -pthreads $ax_pthread_flags"
7415 # Clang takes -pthread (never supported any other flag), but we'll try with -lpthread first
7419 ax_pthread_flags="-pthread,-lpthread -pthread"
7423 # The presence of a feature test macro requesting re-entrant function
7437 ax_pthread_check_macro="--"
7440 if test "x$ax_pthread_check_macro" = "x--"
7453 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
7460 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with \"$PTHREAD_CFLAG…
7464 -*)
7465 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_…
7470 pthread-config)
7471 # Extract the first word of "pthread-config", so it can be a program name with args.
7472 set dummy pthread-config; ac_word=$2
7473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7479 if test -n "$ax_pthread_config"; then
7494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7501 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
7505 if test -n "$ax_pthread_config"; then
7506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
7509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7518 PTHREAD_CFLAGS="`pthread-config --cflags`"
7519 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
7523 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_…
7524 printf %s "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
7525 PTHREAD_LIBS="-l$ax_pthread_try_flag"
7536 # need a special flag -Kthread to make this header compile.)
7537 # We check for pthread_join because it is in -lpthread on IRIX
7539 # due to DEC craziness with -lpthreads. We check for
7541 # functions on Solaris that doesn't have a non-functional libc stub.
7544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7553 /* To avoid any unused-parameter or
7554 unused-but-set-parameter warning. */
7575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
7594 # Clang needs special handling, because older versions handle the -pthread
7599 # Clang takes -pthread; it has never supported any other flag
7605 # (Note 2: On some systems, notably Darwin, -pthread is not needed
7608 # -pthread does define _REENTRANT, and while the Darwin headers
7609 # ignore this macro, third-party headers might not.)
7613 # taking place, the -pthread option has no effect ("argument unused
7614 # during compilation"). They expect -pthread to be passed in only
7625 # Even though use of the -pthread flag in linking would only print
7626 # a warning, this can be a nuisance for well-run software projects
7627 # that build with -Werror. So if the active version of Clang has
7630 …%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused…
7631 …ther Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
7638 # links in two steps (.c -> .o, .o -> exe) instead of one
7639 # (.c -> exe), because the warning occurs only in the second
7646 … for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
7651 … CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
7653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
7704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
7712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
7745 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for…
7754 ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
7759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
7768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
7774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
7839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7845 if test -n "$PTHREAD_CC"; then
7860 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7870 if test -n "$PTHREAD_CC"; then
7871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
7874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 test -n "$PTHREAD_CC" && break
7881 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
7889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7895 if test -n "$PTHREAD_CXX"; then
7910 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7920 if test -n "$PTHREAD_CXX"; then
7921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CXX" >&5
7924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7929 test -n "$PTHREAD_CXX" && break
7931 test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
7946 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
7947 test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
7954 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
7962 …as_fn_error $? "cannot determine options for enabling thread support; try --disable-thread-support…
7966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: PTHREAD_CC = $PTHREAD_CC" >&5
7973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: PTHREAD_CFLAGS = $PTHREAD_CFLAGS" >&5
7975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: PTHREAD_LIBS = $PTHREAD_LIBS" >&5
7989 # These are the flags that "gcc -pthread" adds. But we don't
7990 # want "-pthread" because that has link-time effects, and we
7992 PTHREAD_CFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_C_SOURCE=199506L"
7994 solaris2.[1-9])
7998 PTHREAD_CFLAGS="-D_REENTRANT -pthreads"
8005 PTHREAD_CFLAGS="-D_REENTRANT -pthreads"
8037 # On Solaris, -pthreads is added to CFLAGS, no extra explicit libraries.
8042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: rechecking with PTHREAD_... options" >&5
8044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_init in -lc" >&5
8045 printf %s "checking for pthread_rwlock_init in -lc... " >&6; }
8051 LIBS="-lc $LIBS"
8052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_rwlock_init" >&5
8093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
8100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8117 if test -z "$ac_lib"; then
8120 ac_res=-l$ac_lib
8121 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
8176 if test -n "$ac_tool_prefix"; then
8177 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8178 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8213 if test -n "$PKG_CONFIG"; then
8214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8223 if test -z "$ac_cv_path_PKG_CONFIG"; then
8225 # Extract the first word of "pkg-config", so it can be a program name with args.
8226 set dummy pkg-config; ac_word=$2
8227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8261 if test -n "$ac_pt_PKG_CONFIG"; then
8262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
8285 if test -n "$PKG_CONFIG"; then
8287 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_ve…
8288 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8289 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether integers are two's complement" >&5
8343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8350 static int test_array [1 - 2 * !(/* Basic two's complement check */
8351 ~(-1) == 0 && ~(-1L) == 0L &&
8353 -(INT_MIN + 1) == INT_MAX && -(LONG_MIN + 1) == LONG_MAX &&
8354 /* Check that unsigned-to-signed conversions preserve bit patterns */
8370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_ints_twos_compl" >&5
8379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CHAR_BIT is 8" >&5
8385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8399 rm -f conftest.err conftest.i conftest.$ac_ext
8401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_char_bit_8" >&5
8408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if va_copy is available" >&5
8414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_va_copy" >&5
8450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if va_list objects can be copied by assignme…
8456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_va_simple_copy" >&5
8481 # The following lines are so that configure --help gives some global
8485 # Check whether --enable-static was given.
8493 # Check whether --enable-shared was given.
8503 as_fn_error $? "--enable-static must be specified with --disable-shared" "$LINENO" 5
8506 # Check whether --enable-rpath was given.
8522 if test "$SHLIBEXT" = ".so-nobuild"; then
8529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using static libraries" >&5
8535 PLUGININST=install-static
8537 LIBINSTLIST=install-static
8544 KDB5_PLUGIN_LIBS='-lkrb5_db2'
8547 KDB5_PLUGIN_LIBS=$KDB5_PLUGIN_LIBS' -lkrb5_kldap -lkdb_ldap $(LDAP_LIBS)'
8552 KDB5_PLUGIN_LIBS=$KDB5_PLUGIN_LIBS' -lkadm5srv_mit'
8555 SHLIBEXT=.so-nobuild
8556 SHLIBVEXT=.so.v-nobuild
8557 SHLIBSEXT=.so.s-nobuild
8559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using shared libraries" >&5
8564 STLIBEXT=.a-nobuild
8567 .so.s-nobuild)
8570 LIBINSTLIST="install-shared"
8575 LIBINSTLIST="install-shlib-soname"
8581 PLUGININST=install-plugin
8588 if test -z "$LIBLIST"; then
8593 # Check whether --enable-profiled was given.
8601 # Check whether --enable-athena was given.
8608 # Begin autoconf tests for the Makefiles generated out of the top-level
8617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
8618 printf %s "checking whether ln -s works... " >&6; }
8620 if test "$LN_S" = "ln -s"; then
8621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
8628 if test -n "$ac_tool_prefix"; then
8631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8637 if test -n "$RANLIB"; then
8652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8662 if test -n "$RANLIB"; then
8663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8672 if test -z "$ac_cv_prog_RANLIB"; then
8676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8682 if test -n "$ac_ct_RANLIB"; then
8697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8707 if test -n "$ac_ct_RANLIB"; then
8708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
8739 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
8746 printf %s "checking for a BSD-compatible install... " >&6; }
8747 if test -z "$INSTALL"; then
8780 # program-specific install script used by HP pwplus--don't use.
8783 rm -rf conftest.one conftest.two conftest.dir
8787 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
8788 test -s conftest.one && test -s conftest.two &&
8789 test -s conftest.dir/conftest.one &&
8790 test -s conftest.dir/conftest.two
8792 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
8805 rm -rf conftest.one conftest.two conftest.dir
8818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
8821 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8823 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8825 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
8827 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8829 if test -n "$ac_tool_prefix"; then
8832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8838 if test -n "$AR"; then
8853 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8863 if test -n "$AR"; then
8864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8873 if test -z "$ac_cv_prog_AR"; then
8877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8883 if test -n "$ac_ct_AR"; then
8898 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8908 if test -n "$ac_ct_AR"; then
8909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
8936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8942 if test -n "$PERL"; then
8957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8964 test -z "$ac_cv_prog_PERL" && ac_cv_prog_PERL="false"
8968 if test -n "$PERL"; then
8969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
8972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if daemon needs a prototype provided" >&5
9031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_func_daemon_noproto" >&5
9072 krb5_lib_var=`echo "$sock_arg1 $sock_arg2" | sed 'y% ./+-*%___p_p%'`
9073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname() takes arguments $sock_arg1 …
9079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9107 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: assuming struct sockaddr and socklen_t for getsockna…
9112 res1=`echo "$res1" | tr -d '*' | sed -e 's/ *$//'`
9113 res2=`echo "$res2" | tr -d '*' | sed -e 's/ *$//'`
9124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lutil" >&5
9125 printf %s "checking for main in -lutil... " >&6; }
9131 LIBS="-lutil $LIBS"
9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_main" >&5
9161 LIBUTIL=-lutil
9169 # Check whether --enable-nls was given.
9182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dgettext" >&5
9189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9206 if test -z "$ac_lib"; then
9209 ac_res=-l$ac_lib
9210 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dgettext" >&5
9250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9256 if test -n "$MSGFMT"; then
9271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9281 if test -n "$MSGFMT"; then
9282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
9285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9298 # Error out if --enable-nls was explicitly requested but can't be enabled.
9300 if test "$nls_enabled" != yes -o "x$po" = x; then
9449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if vasprintf needs a prototype provided" >&5
9455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_func_vasprintf_noproto" >&5
9490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if swab needs a prototype provided" >&5
9496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9522 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_func_swab_noproto" >&5
9555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9561 if test -n "$AWK"; then
9576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9586 if test -n "$AWK"; then
9587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9595 test -n "$AWK" && break
9654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
9660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getaddrinfo" >&5
9692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv6 compile-time support without -DINET…
9693 printf %s "checking for IPv6 compile-time support without -DINET6... " >&6; }
9702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_inet6" >&5
9734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv6 compile-time support with -DINET6" …
9735 printf %s "checking for IPv6 compile-time support with -DINET6... " >&6; }
9742 CC="$CC -DINET6"
9743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_inet6_with_dinet6" >&5
9798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigset_t and POSIX_SIGNALS" >&5
9804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_type_sigset_t" >&5
9836 # --with-vague-errors disables useful error messages.
9839 # Check whether --with-vague-errors was given.
9848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Supplying vague error messages to KDC clients" >&5
9857 # Check whether --enable-audit-plugin was given.
9870 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_message in -laudit" >&5
9871 printf %s "checking for audit_log_user_message in -laudit... " >&6; }
9877 LIBS="-laudit $LIBS"
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_message" >&5
9907 AUDIT_IMPL_LIBS=-laudit
9930 # Check whether --with-crypto-impl was given.
9934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: k5crypto will use '$withval'" >&5
9945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PKCS7_get_signer_info in -lcrypto" >&5
9946 printf %s "checking for PKCS7_get_signer_info in -lcrypto... " >&6; }
9952 LIBS="-lcrypto $LIBS"
9953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_PKCS7_get_signer_info" >&5
9984 LIBS="-lcrypto $LIBS"
10003 # Check whether --with-tls-impl was given.
10013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_CTX_new in -lssl" >&5
10014 printf %s "checking for SSL_CTX_new in -lssl... " >&6; }
10020 LIBS="-lssl -lcrypto $LIBS"
10021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_CTX_new" >&5
10055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
10061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10063 TLS_IMPL_LIBS="-lssl -lcrypto"
10065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: TLS module will use OpenSSL" >&5
10071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL not found!" >&5
10075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: building without TLS support" >&5
10080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: building without TLS support" >&5
10099 # Check whether --with-keyutils was given.
10115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for add_key in -lkeyutils" >&5
10116 printf %s "checking for add_key in -lkeyutils... " >&6; }
10122 LIBS="-lkeyutils $LIBS"
10123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_keyutils_add_key" >&5
10162 LIBS="-lkeyutils $LIBS"
10164 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for keyctl_get_persistent in -lkeyutils" >&5
10165 printf %s "checking for keyctl_get_persistent in -lkeyutils... " >&6; }
10171 LIBS="-lkeyutils $LIBS"
10172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_keyutils_keyctl_get_persistent" >&5
10216 # Check whether --with-spake-openssl was given.
10224 if test "$withval" = auto -o "$withval" = yes; then
10225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EC_POINT_new in -lcrypto" >&5
10226 printf %s "checking for EC_POINT_new in -lcrypto... " >&6; }
10232 LIBS="-lcrypto $LIBS"
10233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EC_POINT_new" >&5
10271 SPAKE_OPENSSL_LIBS=-lcrypto
10280 # Check whether --enable-aesni was given.
10288 if test "$CRYPTO_IMPL" = builtin -a "x$enable_aesni" != xno; then
10290 i686-*)
10294 x86_64-*)
10300 *-*-linux* | *-*-gnu* | *-*-*bsd* | *-*-solaris*)
10301 # All Unix-like platforms need -D__linux__ for iaesx64.s to
10302 # use the System V x86-64 calling convention.
10303 aesni_flags="-D__linux__ -f elf -m $aesni_machine"
10309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10315 if test -n "$YASM"; then
10330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10340 if test -n "$YASM"; then
10341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YASM" >&5
10344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10356 if test x"$YASM" != x -a "x$ac_cv_header_cpuid_h" = xyes; then
10362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Building with AES-NI support" >&5
10363 printf "%s\n" "$as_me: Building with AES-NI support" >&6;}
10366 if test "x$enable_aesni" = xyes -a "x$AESNI_OBJ" = x; then
10367 as_fn_error $? "AES-NI support requested but cannot be built" "$LINENO" 5
10373 # Check whether --enable-kdc-lookaside-cache was given.
10393 # -fsanitize=address, and set ASAN=yes to suppress the undefined
10395 # Check whether --enable-asan was given.
10407 ASAN_FLAGS="$DEFS -fsanitize=$enable_asan"
10417 # Build using OSS-Fuzz build processes for compiling fuzzing targets.
10421 # Check whether --enable-ossfuzz was given.
10431 if test -z "$LIB_FUZZING_ENGINE"; then
10449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
10450 printf %s "checking for an ANSI C-conforming const... " >&6; }
10455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10474 an arm of an if-expression whose if-part is not a constant
10477 pcpcc = &g + (g ? g-g : 0);
10490 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10495 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10501 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10503 struct s *b = &bx; b->j = 5;
10505 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10522 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
10535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
10541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10561 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10576 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
10578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
10585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10602 if test -z "$ac_lib"; then
10605 ac_res=-l$ac_lib
10606 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
10638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
10645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10662 if test -z "$ac_lib"; then
10665 ac_res=-l$ac_lib
10666 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
10699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undecla…
10707 for ac_arg in '' -fno-builtin; do
10710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10728 # declaration. Include always-available headers on the
10730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
10769 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
10807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
11097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sys_errlist declaration" >&5
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_decl_sys_errlist" >&5
11137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sys_errlist in libc" >&5
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_var_sys_errlist" >&5
11174 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: sys_errlist is neither in errno.h nor in li…
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for perror declaration" >&5
11330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 rm -rf conftest*
11346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_decl_perror" >&5
11356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strptime needs a prototype provided" >&5
11362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_func_strptime_noproto" >&5
11394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if argument to wait is int *" >&5
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_struct_wait" >&5
11446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for use of sigprocmask" >&5
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_func_sigprocmask_use" >&5
11501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
11507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 rm -rf conftest*
11522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
11533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
11543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11558 val.lval = -1;
11561 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
11563 /* Exit non-zero if getgroups seems to require an array of ints. This
11575 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11592 rm -rf conftest*
11596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
11606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigjmp_buf" >&5
11612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_struct_sigjmp_buf" >&5
11646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of setrpcent" >&5
11652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $k5_cv_type_setrpcent" >&5
11672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of endrpcent" >&5
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11689 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $k5_cv_type_endrpcent" >&5
11700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap_16" >&5
11706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_bswap_16" >&5
11737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap_64" >&5
11743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_bswap_64" >&5
11778 alpha*-dec-osf*)
11779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for setluid in -lsecurity" >&5
11780 printf %s "checking for setluid in -lsecurity... " >&6; }
11786 LIBS="-lsecurity $LIBS"
11787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_security_setluid" >&5
11819 KSU_LIBS="-lsecurity"
11843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r returns an int" >&5
11849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_gethostbyname_r_returns_int" >&5
11866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r returns a pointer" >&5
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_gethostbyname_r_returns_ptr" >&5
11890 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine return type of gethostbyna…
11891 printf "%s\n" "$as_me: WARNING: cannot determine return type of gethostbyname_r -- disabling" >&2;}
11937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of getpwnam_r" >&5
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11954 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_getpwnam_r_return_type" >&5
11981 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot determine getpwnam_r return type, di…
11987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking number of arguments to getpwnam_r" >&5
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_getpwnam_r_args" >&5
12042 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot determine number of arguments to get…
12062 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: getpwnam_r not useful, so disabling getpwuid_r too" …
12079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gmtime_r returns int" >&5
12085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unknown -- ignoring gmtime_r" >&5
12120 printf "%s\n" "unknown -- ignoring gmtime_r" >&6; }
12122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_gmtime_r_returns_int" >&5
12138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getservbyname_r returns an int" >&5
12144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_getservbyname_r_returns_int" >&5
12161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getservbyname_r returns a pointer" >&5
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_getservbyname_r_returns_ptr" >&5
12185 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine return type of getservbyna…
12186 printf "%s\n" "$as_me: WARNING: cannot determine return type of getservbyname_r -- disabling" >&2;}
12219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
12225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12237 rm -rf conftest*
12240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
12367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for in6addr_any definition in library" >&5
12373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_var_in6addr_any" >&5
12424 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
12438 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
12461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for replay cache directory" >&5
12472 test -d $t_dir || continue
12479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_sys_rcdir" >&5
12485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
12491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12510 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_has_type_socklen_t" >&5
12521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct lifconf" >&5
12527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_has_struct_lifconf" >&5
12556 # HP-UX 11 uses stuct if_laddrconf
12557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrconf" >&5
12563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_has_struct_if_laddrconf" >&5
12595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for h_errno in netdb.h" >&5
12601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_header_netdb_h_h_errno" >&5
12630 # Check whether --enable-athena was given.
12640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12755 # Tests for 64-bit edwards25519 code.
12757 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
12771 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
12895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12918 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12925 test -z "$ac_cv_path_SH" && ac_cv_path_SH="false"
12930 if test -n "$SH"; then
12931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SH" >&5
12934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12964 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12971 test -z "$ac_cv_path_SH5" && ac_cv_path_SH5="false"
12976 if test -n "$SH5"; then
12977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SH5" >&5
12980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13017 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH="false"
13022 if test -n "$BASH"; then
13023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BASH" >&5
13026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $prog supports functions" >&5
13034 if $prog -c 'foo() { true; }; foo' >/dev/null 2>&1; then
13035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for POSIX printf positional specification su…
13059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_printf_positional" >&5
13097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13127 test -z "$ac_cv_path_DIG" && ac_cv_path_DIG="false"
13132 if test -n "$DIG"; then
13133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DIG" >&5
13136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13173 test -z "$ac_cv_path_NSLOOKUP" && ac_cv_path_NSLOOKUP="false"
13178 if test -n "$NSLOOKUP"; then
13179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NSLOOKUP" >&5
13182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13190 for ac_prog in 'bison -y' byacc
13194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13200 if test -n "$YACC"; then
13215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13225 if test -n "$YACC"; then
13226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
13229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13234 test -n "$YACC" && break
13236 test -n "$YACC" || YACC="yacc"
13239 # Check whether --enable-athena was given.
13246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use priocntl hack" >&5
13253 *-*-solaris2.9*)
13257 # Solaris patch 117171-11 (sparc) or 117172-11 (x86)
13260 if showrev -p | $AWK 'BEGIN { e = 1 }
13261 /Patch: 11717[12]/ { x = index($2, "-");
13262 if (substr($2, x + 1, length($2) - x) >= 11)
13276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_priocntl_hack" >&5
13287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13293 if test -n "$PERL"; then
13308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13318 if test -n "$PERL"; then
13319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
13322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where struct rpcent is declared" >&5
13360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: rpc/netdb.h" >&5
13408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: netdb.h" >&5
13412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: nowhere" >&5
13456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MAXHOSTNAMELEN in sys/param.h" >&5
13462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13480 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_header_sys_param_h_maxhostnamelen" >…
13484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MAXHOSTNAMELEN in netdb.h" >&5
13490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_header_netdb_h_maxhostnamelen" >&5
13521 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: can't find MAXHOSTNAMELEN definition; fakin…
13528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD type aliases" >&5
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13557 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $krb5_cv_type_bsdaliases" >&5
13568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of setrpcent" >&5
13574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $k5_cv_type_setrpcent" >&5
13594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of endrpcent" >&5
13600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $k5_cv_type_endrpcent" >&5
13623 # Check whether --enable-pkinit was given.
13632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a recent enough OpenSSL" >&5
13638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $k5_cv_openssl_version_okay" >&5
13658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PKCS7_get_signer_info in -lcrypto" >&5
13659 printf %s "checking for PKCS7_get_signer_info in -lcrypto... " >&6; }
13665 LIBS="-lcrypto $LIBS"
13666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_PKCS7_get_signer_info" >&5
13697 LIBS="-lcrypto $LIBS"
13722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Disabling PKINIT support." >&5
13750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13756 if test -n "$PYTHON"; then
13771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13781 if test -n "$PYTHON"; then
13782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13799 if test -n "$PYTHON"; then
13814 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13824 if test -n "$PYTHON"; then
13825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13837 if "$PYTHON" -c "import sys; sys.exit(not $wantver and 1 or 0)"; then
13860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _cmocka_run_group_tests in -lcmocka" >&5
13861 printf %s "checking for _cmocka_run_group_tests in -lcmocka... " >&6; }
13867 LIBS="-lcmocka $LIBS"
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cmocka__cmocka_run_group_tests" >&5
13902 CMOCKA_LIBS='-lcmocka'
13913 if test -n "$PKG_CONFIG" && \
13914 …{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"resolv_wrap…
13915 ($PKG_CONFIG --exists --print-errors "resolv_wrapper >= 1.1.5") 2>&5
13917 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13929 *-*-aix*)
13930 DB_EXTRA_LIBS=-ldb
13954 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Some functions that are needed for library …
13956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: safety appear to be missing." >&5
13959 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: missing thread-safe function: $ts" >&5
13960 printf "%s\n" "$as_me: WARNING: missing thread-safe function: $ts" >&2;}
13962 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Without these functions, the installed libr…
13964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: may not be thread-safe." >&5
13965 printf "%s\n" "$as_me: WARNING: may not be thread-safe." >&2;}
13975 *-*-darwin* | *-*-rhapsody*) SUPPORTLIB_MAJOR=1 ;;
13997 if test -n "$OPENLDAP_PLUGIN"; then
14013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_str2dn in -lldap" >&5
14014 printf %s "checking for ldap_str2dn in -lldap... " >&6; }
14020 LIBS="-lldap $LIBS"
14021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_str2dn" >&5
14057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -lldap" >&5
14058 printf %s "checking for ber_init in -lldap... " >&6; }
14064 LIBS="-lldap $LIBS"
14065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ber_init" >&5
14098 LDAP_LIBS='-lldap'
14100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14101 printf %s "checking for ber_init in -llber... " >&6; }
14107 LIBS="-llber $LIBS"
14108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libber not found" >&5
14144 LDAP_LIBS='-lldap -llber'
14146 as_fn_error $? "\"BER library missing - cannot build LDAP database module\"" "$LINENO" 5
14168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: not building LDAP SASL support" >&5
14195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SD_Init in -laceclnt" >&5
14196 printf %s "checking for SD_Init in -laceclnt... " >&6; }
14202 LIBS="-laceclnt $LIBS"
14203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aceclnt_SD_Init" >&5
14233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling RSA securID support" >&5
14249 # Check whether --with-lmdb was given.
14257 if test "$withval" = auto -o "$withval" = yes; then
14258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mdb_env_create in -llmdb" >&5
14259 printf %s "checking for mdb_env_create in -llmdb... " >&6; }
14265 LIBS="-llmdb $LIBS"
14266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lmdb_mdb_env_create" >&5
14301 LMDB_LIBS=-llmdb
14316 # Kludge for simple server --- FIXME is this the best way to do this?
14318 if test "$ac_cv_lib_socket" = "yes" -a "$ac_cv_lib_nsl" = "yes"; then
14327 # Check whether --with-libedit was given.
14336 # Check whether --with-readline was given.
14352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libedit" >&5
14355 if test -n "$LIBEDIT_CFLAGS"; then
14357 elif test -n "$PKG_CONFIG"; then
14358 if test -n "$PKG_CONFIG" && \
14359 …{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedit\"";…
14360 ($PKG_CONFIG --exists --print-errors "libedit") 2>&5
14362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14364 pkg_cv_LIBEDIT_CFLAGS=`$PKG_CONFIG --cflags "libedit" 2>/dev/null`
14372 if test -n "$LIBEDIT_LIBS"; then
14374 elif test -n "$PKG_CONFIG"; then
14375 if test -n "$PKG_CONFIG" && \
14376 …{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedit\"";…
14377 ($PKG_CONFIG --exists --print-errors "libedit") 2>&5
14379 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14381 pkg_cv_LIBEDIT_LIBS=`$PKG_CONFIG --libs "libedit" 2>/dev/null`
14393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14396 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14402 … LIBEDIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libedit" 2>&1`
14404 LIBEDIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libedit" 2>&1`
14411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using libedit for readline support" >&5
14431 as_fn_error $? "Could not detect libedit with pkg-config" "$LINENO" 5
14433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Not using any readline support" >&5
14437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using GNU Readline" >&5
14439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lreadline" >&5
14440 printf %s "checking for main in -lreadline... " >&6; }
14446 LIBS="-lreadline $LIBS"
14447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_main" >&5
14475 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14484 RL_LIBS='-lreadline'
14486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Not using any readline support" >&5
14493 # Check whether --with-system-verto was given.
14505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libverto" >&5
14508 if test -n "$VERTO_CFLAGS"; then
14510 elif test -n "$PKG_CONFIG"; then
14511 if test -n "$PKG_CONFIG" && \
14512 …{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libverto\""…
14513 ($PKG_CONFIG --exists --print-errors "libverto") 2>&5
14515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14517 pkg_cv_VERTO_CFLAGS=`$PKG_CONFIG --cflags "libverto" 2>/dev/null`
14525 if test -n "$VERTO_LIBS"; then
14527 elif test -n "$PKG_CONFIG"; then
14528 if test -n "$PKG_CONFIG" && \
14529 …{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libverto\""…
14530 ($PKG_CONFIG --exists --print-errors "libverto") 2>&5
14532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14534 pkg_cv_VERTO_LIBS=`$PKG_CONFIG --libs "libverto" 2>/dev/null`
14546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14549 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14555 … VERTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libverto" 2>&1`
14557 VERTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libverto" 2>&1`
14564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using system libverto" >&5
14585 VERTO_LIBS="-lverto"
14586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using built-in libverto" >&5
14587 printf "%s\n" "$as_me: Using built-in libverto" >&6;}
14595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14618 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14629 if test -n "$GROFF"; then
14630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GROFF" >&5
14633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14649 *-*-darwin[0-9].* | *-*-darwin10.*)
14654 *-*-darwin*)
14656 # (Darwin 20) uses an xpc-based cache type called XCACHE by default.
14657 # We can access either of these collections via a macos-specific
14662 MACOS_FRAMEWORK="-framework Kerberos"
14678 # Build-time default ccache, keytab, and client keytab names. These
14681 # krb5-config if we can, or fall back to hardcoded defaults.
14686 # Check whether --with-krb5-config was given.
14691 with_krb5_config=krb5-config
14696 with_krb5_config=krb5-config
14698 if $with_krb5_config --help 2>&1 | grep defccname >/dev/null; then
14699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using $with_krb5_config for build defaults" >&5
14701 : "${DEFCCNAME=`$with_krb5_config --defccname`}"
14702 : "${DEFKTNAME=`$with_krb5_config --defktname`}"
14703 : "${DEFCKTNAME=`$with_krb5_config --defcktname`}"
14728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Default ccache name: $DEFCCNAME" >&5
14730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Default keytab name: $DEFKTNAME" >&5
14732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Default client keytab name: $DEFCKTNAME" >&5
14746 PKCS11_MODNAME=opensc-pkcs11.so
14748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Default PKCS11 module name: $PKCS11_MODNAME" >&5
14754 ac_config_files="$ac_config_files build-tools/krb5-config"
14756 …-tools/kadm-server.pc build-tools/kadm-client.pc build-tools/kdb.pc build-tools/krb5.pc build-tool…
14799 …iles="$ac_config_files lib/rpc/unit-test/Makefile:$srcdir/./config/pre.in:lib/rpc/unit-test/Makefi…
14807 …ac_config_files="$ac_config_files config-files/Makefile:$srcdir/./config/pre.in:config-files/Makef…
14808 …ac_config_files="$ac_config_files build-tools/Makefile:$srcdir/./config/pre.in:build-tools/Makefil…
14831 …ac_config_files plugins/preauth/otp/Makefile:$srcdir/./config/pre.in:plugins/preauth/otp/Makefile.…
14857 …nfig_files="$ac_config_files appl/gss-sample/Makefile:$srcdir/./config/pre.in:appl/gss-sample/Make…
14867 …g_files="$ac_config_files tests/gss-threads/Makefile:$srcdir/./config/pre.in:tests/gss-threads/Mak…
14873 # scripts and configure runs, see configure's option --config-cache.
14878 # the --recheck option to rerun configure.
14892 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14897 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
14911 # `set' does not quote correctly, so add quotes: double-quote
14913 sed -n \
14919 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14933 if test -w "$cache_file"; then
14935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14937 if test ! -f "$cache_file" || test -h "$cache_file"; then
14942 mv -f confcache "$cache_file"$$ &&
14943 mv -f "$cache_file"$$ "$cache_file" ;; #(
14945 mv -f confcache "$cache_file" ;;
14950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14954 rm -f confcache
14960 DEFS=-DHAVE_CONFIG_H
14984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14998 SHELL=\${CONFIG_SHELL-$SHELL}
15002 ## -------------------- ##
15004 ## -------------------- ##
15013 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15015 alias -g '${1+"$@"}'='"$@"'
15018 case `(set -o) 2>/dev/null` in #(
15020 set -o posix ;; #(
15034 # Quoting is to prevent editors from complaining about space-tab.
15044 # Ensure predictable behavior from utilities with locale-dependent output.
15051 # to be unset--not just set to an empty or harmless value--now, to
15052 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
15068 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15069 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15088 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
15099 if test ! -f "$as_myself"; then
15107 # ----------------------------------------
15113 as_status=$1; test $as_status -eq 0 && as_status=1
15115 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15125 # -----------------------
15133 # -----------------
15134 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15143 # ---------------
15152 # ----------------------
15171 # ------------------
15184 as_val=`expr "$@" || test $? -eq 1`
15196 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15202 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15208 as_me=`$as_basename -- "$0" ||
15239 case `echo -n x` in #(((((
15240 -n*)
15248 ECHO_N='-n';;
15251 # For backward compatibility with old third-party macros, we provide
15257 rm -f conf$$ conf$$.exe conf$$.file
15258 if test -d conf$$.dir; then
15259 rm -f conf$$.dir/conf$$.file
15261 rm -f conf$$.dir
15265 if ln -s conf$$.file conf$$ 2>/dev/null; then
15266 as_ln_s='ln -s'
15268 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15269 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15270 # In both cases, we have to default to `cp -pR'.
15271 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15272 as_ln_s='cp -pR'
15276 as_ln_s='cp -pR'
15279 as_ln_s='cp -pR'
15281 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15286 # -------------
15292 -*) as_dir=./$as_dir;;
15294 test -d "$as_dir" || eval $as_mkdir_p || {
15302 as_dir=`$as_dirname -- "$as_dir" ||
15325 test -d "$as_dir" && break
15327 test -z "$as_dirs" || eval "mkdir $as_dirs"
15328 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15332 if mkdir -p . 2>/dev/null; then
15333 as_mkdir_p='mkdir -p "$as_dir"'
15335 test -d ./-p && rmdir ./-p
15341 # -----------------------
15345 test -f "$1" && test -x "$1"
15347 as_test_x='test -x'
15358 ## ----------------------------------- ##
15360 ## ----------------------------------- ##
15378 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15407 -h, --help print this help, then exit
15408 -V, --version print version number and configuration settings, then exit
15409 --config print configuration, then exit
15410 -q, --quiet, --silent
15412 -d, --debug don't remove temporary files
15413 --recheck update $as_me by reconfiguring in the same conditions
15414 --file=FILE[:TEMPLATE]
15416 --header=FILE[:TEMPLATE]
15425 Report bugs to <krb5-bugs@mit.edu>."
15445 test -n "\$AWK" || AWK=awk
15454 --*=?*)
15459 --*=)
15473 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15475 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15477 --config | --confi | --conf | --con | --co | --c )
15479 --debug | --debu | --deb | --de | --d | -d )
15481 --file | --fil | --fi | --f )
15489 --header | --heade | --head | --hea )
15496 --he | --h)
15497 # Conflict between --help and --header
15499 Try \`$0 --help' for more information.";;
15500 --help | --hel | -h )
15502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15503 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15507 -*) as_fn_error $? "unrecognized option: \`$1'
15508 Try \`$0 --help' for more information." ;;
15521 ac_configure_extra_args="$ac_configure_extra_args --silent"
15527 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15540 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15569 "build-tools/krb5-config") CONFIG_FILES="$CONFIG_FILES build-tools/krb5-config" ;;
15570 "build-tools/kadm-server.pc") CONFIG_FILES="$CONFIG_FILES build-tools/kadm-server.pc" ;;
15571 "build-tools/kadm-client.pc") CONFIG_FILES="$CONFIG_FILES build-tools/kadm-client.pc" ;;
15572 "build-tools/kdb.pc") CONFIG_FILES="$CONFIG_FILES build-tools/kdb.pc" ;;
15573 "build-tools/krb5.pc") CONFIG_FILES="$CONFIG_FILES build-tools/krb5.pc" ;;
15574 "build-tools/krb5-gssapi.pc") CONFIG_FILES="$CONFIG_FILES build-tools/krb5-gssapi.pc" ;;
15575 "build-tools/mit-krb5.pc") CONFIG_FILES="$CONFIG_FILES build-tools/mit-krb5.pc" ;;
15576 "build-tools/mit-krb5-gssapi.pc") CONFIG_FILES="$CONFIG_FILES build-tools/mit-krb5-gssapi.pc" ;;
15577 "build-tools/gssrpc.pc") CONFIG_FILES="$CONFIG_FILES build-tools/gssrpc.pc" ;;
15618 …pc/unit-test/Makefile") CONFIG_FILES="$CONFIG_FILES lib/rpc/unit-test/Makefile:$srcdir/./config/pr…
15626 …"config-files/Makefile") CONFIG_FILES="$CONFIG_FILES config-files/Makefile:$srcdir/./config/pre.in…
15627 …"build-tools/Makefile") CONFIG_FILES="$CONFIG_FILES build-tools/Makefile:$srcdir/./config/pre.in:b…
15650 …th/otp/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/preauth/otp/Makefile:$srcdir/./config/pre.in…
15676 …"appl/gss-sample/Makefile") CONFIG_FILES="$CONFIG_FILES appl/gss-sample/Makefile:$srcdir/./config/…
15686 …sts/gss-threads/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gss-threads/Makefile:$srcdir/./config…
15714 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15718 # Create a (secure) tmp directory for tmp files.
15721 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15722 test -d "$tmp"
15725 tmp=./conf$$-$RANDOM
15733 if test -n "$CONFIG_FILES"; then
15780 rm -f conf$$files.sh
15788 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15794 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15803 rm -f conf$$subs.sh
15808 sed -n '
15851 rm -f conf$$subs.awk
15920 fi # test -n "$CONFIG_FILES"
15925 if test -n "$CONFIG_HEADERS"; then
15931 # here-document in config.status, that substitutes the proper values into
15938 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15939 if test -z "$ac_tt"; then
15953 sed -n '
16008 prefix = substr(line, 1, index(line, defundef) - 1)
16028 fi # test -n "$CONFIG_HEADERS"
16041 :[FH]-) ac_tag=-:-;;
16059 -) ac_f="$ac_tmp/stdin";;
16061 # (if the path is not absolute). The absolute path cannot be DOS-style,
16063 test -f "$ac_f" ||
16066 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16080 if test x"$ac_file" != x-; then
16082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16094 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16100 ac_dir=`$as_dirname -- "$ac_file" ||
16185 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16188 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datar…
16189 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16211 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16227 $AWK -f "$ac_tmp/subs.awk"
16229 $AWK -f "$ac_tmp/subs.awk" | $SHELL
16233 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16234 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16235 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16236 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16237 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variab…
16242 rm -f "$ac_tmp/stdin"
16244 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16245 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16253 if test x"$ac_file" != x-; then
16256 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16263 rm -f "$ac_file"
16269 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16270 || as_fn_error $? "could not create -" "$LINENO" 5
16280 "build-tools/krb5-config":F) chmod +x build-tools/krb5-config ;;
16306 ac_config_status_args="$ac_config_status_args --quiet"
16314 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16315 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts…