2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53 for Apache Kerberos Module alpha2.
5 # Report bugs to <modauthkerb-developers@lists.sourceforge.net>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
12 if expr a : '\(a\)' >/dev/null 2>&1; then
19 ## --------------------- ##
20 ## M4sh Initialization. ##
21 ## --------------------- ##
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
32 # Support unset when possible.
33 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
39 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
40 { $as_unset LANG || test "${LANG+set}" != set; } ||
41 { LANG=C; export LANG; }
42 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
43 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
44 { LC_ALL=C; export LC_ALL; }
45 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
46 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
47 { LC_TIME=C; export LC_TIME; }
48 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
49 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
50 { LC_CTYPE=C; export LC_CTYPE; }
51 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
52 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
53 { LANGUAGE=C; export LANGUAGE; }
54 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
55 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
56 { LC_COLLATE=C; export LC_COLLATE; }
57 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
58 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
59 { LC_NUMERIC=C; export LC_NUMERIC; }
60 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
61 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
62 { LC_MESSAGES=C; export LC_MESSAGES; }
65 # Name of the executable.
66 as_me=`(basename "$0") 2>/dev/null ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
77 # PATH needs CR, and LINENO needs CR and PATH.
78 # Avoid depending upon Character Ranges.
79 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82 as_cr_digits='0123456789'
83 as_cr_alnum=$as_cr_Letters$as_cr_digits
85 # The user is always right.
86 if test "${PATH_SEPARATOR+set}" != set; then
87 echo "#! /bin/sh" >conftest.sh
88 echo "exit 0" >>conftest.sh
90 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
102 test "x$as_lineno_1" != "x$as_lineno_2" &&
103 test "x$as_lineno_3" = "x$as_lineno_2" || {
104 # Find who we are. Look in the path if we contain no path at all
107 *[\\/]* ) as_myself=$0 ;;
108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 test -z "$as_dir" && as_dir=.
113 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 # We did not find ourselves, most probably we were run as `sh COMMAND'
119 # in which case we are not to be found in the path.
120 if test "x$as_myself" = x; then
123 if test ! -f "$as_myself"; then
124 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125 { (exit 1); exit 1; }; }
127 case $CONFIG_SHELL in
129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
130 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 test -z "$as_dir" && as_dir=.
134 for as_base in sh bash ksh sh5; do
137 if ("$as_dir/$as_base" -c '
140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141 test "x$as_lineno_1" != "x$as_lineno_2" &&
142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
143 CONFIG_SHELL=$as_dir/$as_base
145 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
153 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
154 # uniformly replaced by the line number. The first 'sed' inserts a
155 # line-number line before each line; the second 'sed' does the real
156 # work. The second script uses 'N' to pair each line-number line
157 # with the numbered line, and appends trailing '-' during
158 # substitution so that $LINENO is not a special case at line end.
159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
160 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
161 sed '=' <$as_myself |
166 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
169 s,^['$as_cr_digits']*\n,,
171 chmod +x $as_me.lineno ||
172 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
173 { (exit 1); exit 1; }; }
175 # Don't try to exec as it changes $[0], causing all sort of problems
176 # (the dirname of $[0] is not the place where we might find the
177 # original and so on. Autoconf is especially sensible to this).
179 # Exit status is that of the last command.
184 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
185 *c*,-n*) ECHO_N= ECHO_C='
187 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
188 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
191 if expr a : '\(a\)' >/dev/null 2>&1; then
197 rm -f conf$$ conf$$.exe conf$$.file
199 if ln -s conf$$.file conf$$ 2>/dev/null; then
200 # We could just check for DJGPP; but this test a) works b) is more generic
201 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
202 if test -f conf$$.exe; then
203 # Don't use ln at all; we don't have any links
208 elif ln conf$$.file conf$$ 2>/dev/null; then
213 rm -f conf$$ conf$$.exe conf$$.file
215 as_executable_p="test -f"
217 # Sed expression to map a string onto a valid CPP name.
218 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
220 # Sed expression to map a string onto a valid variable name.
221 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
225 # We need space, tab and new line, in precisely that order.
231 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
235 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
236 # so uname gets run too.
237 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
244 ac_default_prefix=/usr/local
249 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Maximum number of lines to put in a shell here document.
252 # This variable seems obsolete. It should probably be removed, and
253 # only ac_max_sed_lines should be used.
254 : ${ac_max_here_lines=38}
256 # Identity of this package.
257 PACKAGE_NAME='Apache Kerberos Module'
258 PACKAGE_TARNAME='mod_auth_kerb'
259 PACKAGE_VERSION='alpha2'
260 PACKAGE_STRING='Apache Kerberos Module alpha2'
261 PACKAGE_BUGREPORT='modauthkerb-developers@lists.sourceforge.net'
263 # Factoring default headers for most tests.
264 ac_includes_default="\
267 # include <sys/types.h>
270 # include <sys/stat.h>
281 # if !STDC_HEADERS && HAVE_MEMORY_H
287 # include <strings.h>
290 # include <inttypes.h>
301 # Initialize some variables set by options.
303 ac_init_version=false
304 # The variables have the same names as the options, with
305 # dashes changed to underlines.
313 program_transform_name=s,x,x,
321 # Installation directory options.
322 # These are left unexpanded so users can "make install exec_prefix=/foo"
323 # and all the variables that are supposed to be based on exec_prefix
324 # by default will actually change.
325 # Use braces instead of parens because sh, perl, etc. also accept them.
326 bindir='${exec_prefix}/bin'
327 sbindir='${exec_prefix}/sbin'
328 libexecdir='${exec_prefix}/libexec'
329 datadir='${prefix}/share'
330 sysconfdir='${prefix}/etc'
331 sharedstatedir='${prefix}/com'
332 localstatedir='${prefix}/var'
333 libdir='${exec_prefix}/lib'
334 includedir='${prefix}/include'
335 oldincludedir='/usr/include'
336 infodir='${prefix}/info'
337 mandir='${prefix}/man'
342 # If the previous option needs an argument, assign it.
343 if test -n "$ac_prev"; then
344 eval "$ac_prev=\$ac_option"
349 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
351 # Accept the important Cygnus configure options, so we can diagnose typos.
355 -bindir | --bindir | --bindi | --bind | --bin | --bi)
357 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
360 -build | --build | --buil | --bui | --bu)
361 ac_prev=build_alias ;;
362 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
363 build_alias=$ac_optarg ;;
365 -cache-file | --cache-file | --cache-fil | --cache-fi \
366 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
367 ac_prev=cache_file ;;
368 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
369 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
370 cache_file=$ac_optarg ;;
373 cache_file=config.cache ;;
375 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
377 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
379 datadir=$ac_optarg ;;
381 -disable-* | --disable-*)
382 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
383 # Reject names that are not valid shell variable names.
384 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
385 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
386 { (exit 1); exit 1; }; }
387 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
388 eval "enable_$ac_feature=no" ;;
390 -enable-* | --enable-*)
391 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
392 # Reject names that are not valid shell variable names.
393 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
394 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
395 { (exit 1); exit 1; }; }
396 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
398 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
401 eval "enable_$ac_feature='$ac_optarg'" ;;
403 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
404 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
405 | --exec | --exe | --ex)
406 ac_prev=exec_prefix ;;
407 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
408 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
409 | --exec=* | --exe=* | --ex=*)
410 exec_prefix=$ac_optarg ;;
412 -gas | --gas | --ga | --g)
413 # Obsolete; use --with-gas.
416 -help | --help | --hel | --he | -h)
418 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
419 ac_init_help=recursive ;;
420 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
421 ac_init_help=short ;;
423 -host | --host | --hos | --ho)
424 ac_prev=host_alias ;;
425 -host=* | --host=* | --hos=* | --ho=*)
426 host_alias=$ac_optarg ;;
428 -includedir | --includedir | --includedi | --included | --include \
429 | --includ | --inclu | --incl | --inc)
430 ac_prev=includedir ;;
431 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
432 | --includ=* | --inclu=* | --incl=* | --inc=*)
433 includedir=$ac_optarg ;;
435 -infodir | --infodir | --infodi | --infod | --info | --inf)
437 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
438 infodir=$ac_optarg ;;
440 -libdir | --libdir | --libdi | --libd)
442 -libdir=* | --libdir=* | --libdi=* | --libd=*)
445 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
446 | --libexe | --libex | --libe)
447 ac_prev=libexecdir ;;
448 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
449 | --libexe=* | --libex=* | --libe=*)
450 libexecdir=$ac_optarg ;;
452 -localstatedir | --localstatedir | --localstatedi | --localstated \
453 | --localstate | --localstat | --localsta | --localst \
454 | --locals | --local | --loca | --loc | --lo)
455 ac_prev=localstatedir ;;
456 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
457 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
458 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
459 localstatedir=$ac_optarg ;;
461 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
463 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
467 # Obsolete; use --without-fp.
470 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
471 | --no-cr | --no-c | -n)
474 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
475 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
478 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
479 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
480 | --oldin | --oldi | --old | --ol | --o)
481 ac_prev=oldincludedir ;;
482 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
483 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
484 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
485 oldincludedir=$ac_optarg ;;
487 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
489 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
492 -program-prefix | --program-prefix | --program-prefi | --program-pref \
493 | --program-pre | --program-pr | --program-p)
494 ac_prev=program_prefix ;;
495 -program-prefix=* | --program-prefix=* | --program-prefi=* \
496 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
497 program_prefix=$ac_optarg ;;
499 -program-suffix | --program-suffix | --program-suffi | --program-suff \
500 | --program-suf | --program-su | --program-s)
501 ac_prev=program_suffix ;;
502 -program-suffix=* | --program-suffix=* | --program-suffi=* \
503 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
504 program_suffix=$ac_optarg ;;
506 -program-transform-name | --program-transform-name \
507 | --program-transform-nam | --program-transform-na \
508 | --program-transform-n | --program-transform- \
509 | --program-transform | --program-transfor \
510 | --program-transfo | --program-transf \
511 | --program-trans | --program-tran \
512 | --progr-tra | --program-tr | --program-t)
513 ac_prev=program_transform_name ;;
514 -program-transform-name=* | --program-transform-name=* \
515 | --program-transform-nam=* | --program-transform-na=* \
516 | --program-transform-n=* | --program-transform-=* \
517 | --program-transform=* | --program-transfor=* \
518 | --program-transfo=* | --program-transf=* \
519 | --program-trans=* | --program-tran=* \
520 | --progr-tra=* | --program-tr=* | --program-t=*)
521 program_transform_name=$ac_optarg ;;
523 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
524 | -silent | --silent | --silen | --sile | --sil)
527 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
529 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
531 sbindir=$ac_optarg ;;
533 -sharedstatedir | --sharedstatedir | --sharedstatedi \
534 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
535 | --sharedst | --shareds | --shared | --share | --shar \
537 ac_prev=sharedstatedir ;;
538 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
539 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
540 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
542 sharedstatedir=$ac_optarg ;;
544 -site | --site | --sit)
546 -site=* | --site=* | --sit=*)
549 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
551 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
554 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
555 | --syscon | --sysco | --sysc | --sys | --sy)
556 ac_prev=sysconfdir ;;
557 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
558 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
559 sysconfdir=$ac_optarg ;;
561 -target | --target | --targe | --targ | --tar | --ta | --t)
562 ac_prev=target_alias ;;
563 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
564 target_alias=$ac_optarg ;;
566 -v | -verbose | --verbose | --verbos | --verbo | --verb)
569 -version | --version | --versio | --versi | --vers | -V)
573 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
574 # Reject names that are not valid shell variable names.
575 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
576 { echo "$as_me: error: invalid package name: $ac_package" >&2
577 { (exit 1); exit 1; }; }
578 ac_package=`echo $ac_package| sed 's/-/_/g'`
580 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
583 eval "with_$ac_package='$ac_optarg'" ;;
585 -without-* | --without-*)
586 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package | sed 's/-/_/g'`
592 eval "with_$ac_package=no" ;;
595 # Obsolete; use --with-x.
598 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
599 | --x-incl | --x-inc | --x-in | --x-i)
600 ac_prev=x_includes ;;
601 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
602 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
603 x_includes=$ac_optarg ;;
605 -x-libraries | --x-libraries | --x-librarie | --x-librari \
606 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
607 ac_prev=x_libraries ;;
608 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
609 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
610 x_libraries=$ac_optarg ;;
612 -*) { echo "$as_me: error: unrecognized option: $ac_option
613 Try \`$0 --help' for more information." >&2
614 { (exit 1); exit 1; }; }
618 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
619 # Reject names that are not valid shell variable names.
620 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
621 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
622 { (exit 1); exit 1; }; }
623 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
624 eval "$ac_envvar='$ac_optarg'"
628 # FIXME: should be removed in autoconf 3.0.
629 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
630 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
631 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
632 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
638 if test -n "$ac_prev"; then
639 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
640 { echo "$as_me: error: missing argument to $ac_option" >&2
641 { (exit 1); exit 1; }; }
644 # Be sure to have absolute paths.
645 for ac_var in exec_prefix prefix
647 eval ac_val=$`echo $ac_var`
649 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
650 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
651 { (exit 1); exit 1; }; };;
655 # Be sure to have absolute paths.
656 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
657 localstatedir libdir includedir oldincludedir infodir mandir
659 eval ac_val=$`echo $ac_var`
661 [\\/$]* | ?:[\\/]* ) ;;
662 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
663 { (exit 1); exit 1; }; };;
667 # There might be people who depend on the old broken behavior: `$host'
668 # used to hold the argument of --host etc.
669 # FIXME: To remove some day.
674 # FIXME: To remove some day.
675 if test "x$host_alias" != x; then
676 if test "x$build_alias" = x; then
677 cross_compiling=maybe
678 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
679 If a cross compiler is detected then cross compile mode will be used." >&2
680 elif test "x$build_alias" != "x$host_alias"; then
686 test -n "$host_alias" && ac_tool_prefix=$host_alias-
688 test "$silent" = yes && exec 6>/dev/null
691 # Find the source files, if location was not specified.
692 if test -z "$srcdir"; then
693 ac_srcdir_defaulted=yes
694 # Try the directory containing this script, then its parent.
695 ac_confdir=`(dirname "$0") 2>/dev/null ||
696 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
697 X"$0" : 'X\(//\)[^/]' \| \
698 X"$0" : 'X\(//\)$' \| \
699 X"$0" : 'X\(/\)' \| \
700 . : '\(.\)' 2>/dev/null ||
702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
703 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
704 /^X\(\/\/\)$/{ s//\1/; q; }
705 /^X\(\/\).*/{ s//\1/; q; }
708 if test ! -r $srcdir/$ac_unique_file; then
712 ac_srcdir_defaulted=no
714 if test ! -r $srcdir/$ac_unique_file; then
715 if test "$ac_srcdir_defaulted" = yes; then
716 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
717 { (exit 1); exit 1; }; }
719 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
720 { (exit 1); exit 1; }; }
723 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
724 ac_env_build_alias_set=${build_alias+set}
725 ac_env_build_alias_value=$build_alias
726 ac_cv_env_build_alias_set=${build_alias+set}
727 ac_cv_env_build_alias_value=$build_alias
728 ac_env_host_alias_set=${host_alias+set}
729 ac_env_host_alias_value=$host_alias
730 ac_cv_env_host_alias_set=${host_alias+set}
731 ac_cv_env_host_alias_value=$host_alias
732 ac_env_target_alias_set=${target_alias+set}
733 ac_env_target_alias_value=$target_alias
734 ac_cv_env_target_alias_set=${target_alias+set}
735 ac_cv_env_target_alias_value=$target_alias
736 ac_env_CC_set=${CC+set}
738 ac_cv_env_CC_set=${CC+set}
739 ac_cv_env_CC_value=$CC
740 ac_env_CFLAGS_set=${CFLAGS+set}
741 ac_env_CFLAGS_value=$CFLAGS
742 ac_cv_env_CFLAGS_set=${CFLAGS+set}
743 ac_cv_env_CFLAGS_value=$CFLAGS
744 ac_env_LDFLAGS_set=${LDFLAGS+set}
745 ac_env_LDFLAGS_value=$LDFLAGS
746 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
747 ac_cv_env_LDFLAGS_value=$LDFLAGS
748 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
749 ac_env_CPPFLAGS_value=$CPPFLAGS
750 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
751 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
752 ac_env_CPP_set=${CPP+set}
753 ac_env_CPP_value=$CPP
754 ac_cv_env_CPP_set=${CPP+set}
755 ac_cv_env_CPP_value=$CPP
758 # Report the --help message.
760 if test "$ac_init_help" = "long"; then
761 # Omit some internal or obsolete options to make the list less imposing.
762 # This message is too long to be a string in the A/UX 3.1 sh.
764 \`configure' configures Apache Kerberos Module alpha2 to adapt to many kinds of systems.
766 Usage: $0 [OPTION]... [VAR=VALUE]...
768 To assign environment variables (e.g., CC, CFLAGS...), specify them as
769 VAR=VALUE. See below for descriptions of some of the useful variables.
771 Defaults for the options are specified in brackets.
774 -h, --help display this help and exit
775 --help=short display options specific to this package
776 --help=recursive display the short help of all the included packages
777 -V, --version display version information and exit
778 -q, --quiet, --silent do not print \`checking...' messages
779 --cache-file=FILE cache test results in FILE [disabled]
780 -C, --config-cache alias for \`--cache-file=config.cache'
781 -n, --no-create do not create output files
782 --srcdir=DIR find the sources in DIR [configure dir or \`..']
787 Installation directories:
788 --prefix=PREFIX install architecture-independent files in PREFIX
790 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
793 By default, \`make install' will install all the files in
794 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
795 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
796 for instance \`--prefix=\$HOME'.
798 For better control, use the options below.
800 Fine tuning of the installation directories:
801 --bindir=DIR user executables [EPREFIX/bin]
802 --sbindir=DIR system admin executables [EPREFIX/sbin]
803 --libexecdir=DIR program executables [EPREFIX/libexec]
804 --datadir=DIR read-only architecture-independent data [PREFIX/share]
805 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
806 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
807 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
808 --libdir=DIR object code libraries [EPREFIX/lib]
809 --includedir=DIR C header files [PREFIX/include]
810 --oldincludedir=DIR C header files for non-gcc [/usr/include]
811 --infodir=DIR info documentation [PREFIX/info]
812 --mandir=DIR man documentation [PREFIX/man]
819 if test -n "$ac_init_help"; then
820 case $ac_init_help in
821 short | recursive ) echo "Configuration of Apache Kerberos Module alpha2:";;
826 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
827 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
828 --disable-krb5 force disabling of krb5 support
829 --disable-krb4 force disabling of krb4 support
832 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
833 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
834 --with-api=API api to use (apache1, apache2)
835 --with-apxs=PATH path to apxs
836 --with-static module is to be statically linked
837 --with-krb5=DIR path to Kerberos 5 install
838 --with-krb5-include=DIR include path to Kerberos 5 install
839 --with-krb5-lib=DIR lib path to Kerberos 5 install
840 --with-krb4=DIR path to Kerberos 4 install
841 --with-krb4-include=DIR include path to Kerberos 4 install
842 --with-krb4-lib=DIR lib path to Kerberos 4 install
844 Some influential environment variables:
845 CC C compiler command
846 CFLAGS C compiler flags
847 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
848 nonstandard directory <lib dir>
849 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
850 headers in a nonstandard directory <include dir>
853 Use these variables to override the choices made by `configure' or to help
854 it to find libraries and programs with nonstandard names/locations.
856 Report bugs to <modauthkerb-developers@lists.sourceforge.net>.
860 if test "$ac_init_help" = "recursive"; then
861 # If there are subdirs, report their specific --help.
863 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
864 test -d $ac_dir || continue
867 if test "$ac_dir" != .; then
868 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
869 # A "../" for each directory in $ac_dir_suffix.
870 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
872 ac_dir_suffix= ac_top_builddir=
876 .) # No --srcdir option. We are building in place.
878 if test -z "$ac_top_builddir"; then
881 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
883 [\\/]* | ?:[\\/]* ) # Absolute path.
884 ac_srcdir=$srcdir$ac_dir_suffix;
885 ac_top_srcdir=$srcdir ;;
887 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
888 ac_top_srcdir=$ac_top_builddir$srcdir ;;
890 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
892 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
893 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
894 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
895 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
898 # Check for guested configure; otherwise get Cygnus style configure.
899 if test -f $ac_srcdir/configure.gnu; then
901 $SHELL $ac_srcdir/configure.gnu --help=recursive
902 elif test -f $ac_srcdir/configure; then
904 $SHELL $ac_srcdir/configure --help=recursive
905 elif test -f $ac_srcdir/configure.ac ||
906 test -f $ac_srcdir/configure.in; then
910 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
916 test -n "$ac_init_help" && exit 0
917 if $ac_init_version; then
919 Apache Kerberos Module configure alpha2
920 generated by GNU Autoconf 2.53
922 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
923 Free Software Foundation, Inc.
924 This configure script is free software; the Free Software Foundation
925 gives unlimited permission to copy, distribute and modify it.
931 This file contains any messages produced by compilers while
932 running configure, to aid debugging if configure makes a mistake.
934 It was created by Apache Kerberos Module $as_me alpha2, which was
935 generated by GNU Autoconf 2.53. Invocation command line was
946 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
947 uname -m = `(uname -m) 2>/dev/null || echo unknown`
948 uname -r = `(uname -r) 2>/dev/null || echo unknown`
949 uname -s = `(uname -s) 2>/dev/null || echo unknown`
950 uname -v = `(uname -v) 2>/dev/null || echo unknown`
952 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
953 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
955 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
956 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
957 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
958 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
959 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
960 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
961 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
969 test -z "$as_dir" && as_dir=.
985 # Keep a trace of the command line.
986 # Strip out --no-create and --no-recursion so they do not pile up.
987 # Also quote any args containing shell meta-characters.
993 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
994 | --no-cr | --no-c | -n ) continue ;;
995 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
996 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
998 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
999 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1001 case " $ac_configure_args " in
1002 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1003 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1006 # Get rid of the leading space.
1009 # When interrupted or exit'd, cleanup temporary files, and complete
1010 # config.log. We remove comments because anyway the quotes in there
1011 # would cause problems or look ugly.
1012 # WARNING: Be sure not to use single quotes in there, as some shells,
1013 # such as our DU 5.0 friend, will then `close' the trap.
1014 trap 'exit_status=$?
1015 # Save into config.log some information that might help in debugging.
1019 ## ---------------- ##
1020 ## Cache variables. ##
1021 ## ---------------- ##
1024 # The following way of writing the cache mishandles newlines in values,
1027 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1030 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1031 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1035 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1040 if test -s confdefs.h; then
1047 sed "/^$/d" confdefs.h
1050 test "$ac_signal" != 0 &&
1051 echo "$as_me: caught signal $ac_signal"
1052 echo "$as_me: exit $exit_status"
1054 rm -f core core.* *.core &&
1055 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1058 for ac_signal in 1 2 13 15; do
1059 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1063 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1064 rm -rf conftest* confdefs.h
1065 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1068 # Predefined preprocessor variables.
1070 cat >>confdefs.h <<_ACEOF
1071 #define PACKAGE_NAME "$PACKAGE_NAME"
1075 cat >>confdefs.h <<_ACEOF
1076 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1080 cat >>confdefs.h <<_ACEOF
1081 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1085 cat >>confdefs.h <<_ACEOF
1086 #define PACKAGE_STRING "$PACKAGE_STRING"
1090 cat >>confdefs.h <<_ACEOF
1091 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1095 # Let the site file select an alternate cache file if it wants to.
1096 # Prefer explicitly selected file to automatically selected ones.
1097 if test -z "$CONFIG_SITE"; then
1098 if test "x$prefix" != xNONE; then
1099 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1101 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1104 for ac_site_file in $CONFIG_SITE; do
1105 if test -r "$ac_site_file"; then
1106 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1107 echo "$as_me: loading site script $ac_site_file" >&6;}
1108 sed 's/^/| /' "$ac_site_file" >&5
1113 if test -r "$cache_file"; then
1114 # Some versions of bash will fail to source /dev/null (special
1115 # files actually), so we avoid doing that.
1116 if test -f "$cache_file"; then
1117 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1118 echo "$as_me: loading cache $cache_file" >&6;}
1120 [\\/]* | ?:[\\/]* ) . $cache_file;;
1121 *) . ./$cache_file;;
1125 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1126 echo "$as_me: creating cache $cache_file" >&6;}
1130 # Check that the precious variables saved in the cache have kept the same
1132 ac_cache_corrupted=false
1133 for ac_var in `(set) 2>&1 |
1134 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1135 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1136 eval ac_new_set=\$ac_env_${ac_var}_set
1137 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1138 eval ac_new_val="\$ac_env_${ac_var}_value"
1139 case $ac_old_set,$ac_new_set in
1141 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1142 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1143 ac_cache_corrupted=: ;;
1145 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1146 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1147 ac_cache_corrupted=: ;;
1150 if test "x$ac_old_val" != "x$ac_new_val"; then
1151 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1152 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1153 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1154 echo "$as_me: former value: $ac_old_val" >&2;}
1155 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1156 echo "$as_me: current value: $ac_new_val" >&2;}
1157 ac_cache_corrupted=:
1160 # Pass precious variables to config.status.
1161 if test "$ac_new_set" = set; then
1163 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1164 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1165 *) ac_arg=$ac_var=$ac_new_val ;;
1167 case " $ac_configure_args " in
1168 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1169 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1173 if $ac_cache_corrupted; then
1174 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1175 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1176 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1177 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1178 { (exit 1); exit 1; }; }
1182 ac_cpp='$CPP $CPPFLAGS'
1183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1215 # Check whether --with-api or --without-api was given.
1216 if test "${with_api+set}" = set; then
1222 ac_apidefs="-DAPXS1"
1226 ac_apidefs="-DAPXS2"
1229 { { echo "$as_me:$LINENO: error: You can only specify apache1 or apache2." >&5
1230 echo "$as_me: error: You can only specify apache1 or apache2." >&2;}
1231 { (exit 1); exit 1; }; }
1239 # Check whether --with-apxs or --without-apxs was given.
1240 if test "${with_apxs+set}" = set; then
1241 withval="$with_apxs"
1243 if test -e $withval ; then
1246 { { echo "$as_me:$LINENO: error: Specified apxs path does not exist." >&5
1247 echo "$as_me: error: Specified apxs path does not exist." >&2;}
1248 { (exit 1); exit 1; }; }
1255 # Check whether --with-static or --without-static was given.
1256 if test "${with_static+set}" = set; then
1257 withval="$with_static"
1265 # Check whether --with-krb5 or --without-krb5 was given.
1266 if test "${with_krb5+set}" = set; then
1267 withval="$with_krb5"
1269 if test -d $withval ; then
1270 CFLAGS="$CFLAGS -I$withval/include -I$withval/include/kerberosIV"
1271 CPPFLAGS="$CPPFLAGS -I$withval/include -I$withval/include/kerberosIV"
1272 LDFLAGS="$LDFLAGS -L$withval/lib"
1276 LDFLAGS="$LDFLAGS -R$withval/lib"
1280 { { echo "$as_me:$LINENO: error: Specified Kerberos 5 directory doesn't exist." >&5
1281 echo "$as_me: error: Specified Kerberos 5 directory doesn't exist." >&2;}
1282 { (exit 1); exit 1; }; }
1289 # Check whether --with-krb5-include or --without-krb5-include was given.
1290 if test "${with_krb5_include+set}" = set; then
1291 withval="$with_krb5_include"
1293 if test -d $withval ; then
1294 CFLAGS="$CFLAGS -I$withval -I$withval/include/kerberosIV"
1295 CPPFLAGS="$CPPFLAGS -I$withval -I$withval/include/kerberosIV"
1297 { { echo "$as_me:$LINENO: error: Specified Kerberos 5 directory doesn't exist." >&5
1298 echo "$as_me: error: Specified Kerberos 5 directory doesn't exist." >&2;}
1299 { (exit 1); exit 1; }; }
1306 # Check whether --with-krb5-lib or --without-krb5-lib was given.
1307 if test "${with_krb5_lib+set}" = set; then
1308 withval="$with_krb5_lib"
1310 if test -d $withval ; then
1311 LDFLAGS="$LDFLAGS -L$withval"
1315 LDFLAGS="$LDFLAGS -R$withval"
1319 { { echo "$as_me:$LINENO: error: Specified Kerberos 5 directory doesn't exist." >&5
1320 echo "$as_me: error: Specified Kerberos 5 directory doesn't exist." >&2;}
1321 { (exit 1); exit 1; }; }
1327 # Check whether --enable-krb5 or --disable-krb5 was given.
1328 if test "${enable_krb5+set}" = set; then
1329 enableval="$enable_krb5"
1331 if test "$enable_krb5" = "no" ; then
1332 ac_krb5_disable="yes"
1338 # Check whether --with-krb4 or --without-krb4 was given.
1339 if test "${with_krb4+set}" = set; then
1340 withval="$with_krb4"
1342 if test -d $withval ; then
1343 CFLAGS="$CFLAGS -I$withval/include"
1344 CPPFLAGS="$CPPFLAGS -I$withval/include"
1345 LDFLAGS="$LDFLAGS -L$withval/lib"
1349 LDFLAGS="$LDFLAGS -R$withval/lib"
1353 { { echo "$as_me:$LINENO: error: Specified Kerberos 4 directory doesn't exist." >&5
1354 echo "$as_me: error: Specified Kerberos 4 directory doesn't exist." >&2;}
1355 { (exit 1); exit 1; }; }
1362 # Check whether --with-krb4-include or --without-krb4-include was given.
1363 if test "${with_krb4_include+set}" = set; then
1364 withval="$with_krb4_include"
1366 if test -d $withval ; then
1367 CFLAGS="$CFLAGS -I$withval"
1368 CPPFLAGS="$CPPFLAGS -I$withval"
1370 { { echo "$as_me:$LINENO: error: Specified Kerberos 4 directory doesn't exist." >&5
1371 echo "$as_me: error: Specified Kerberos 4 directory doesn't exist." >&2;}
1372 { (exit 1); exit 1; }; }
1379 # Check whether --with-krb4-lib or --without-krb4-lib was given.
1380 if test "${with_krb4_lib+set}" = set; then
1381 withval="$with_krb4_lib"
1383 if test -d $withval ; then
1384 LDFLAGS="$LDFLAGS -L$withval"
1388 LDFLAGS="$LDFLAGS -R$withval"
1392 { { echo "$as_me:$LINENO: error: Specified Kerberos 4 directory doesn't exist." >&5
1393 echo "$as_me: error: Specified Kerberos 4 directory doesn't exist." >&2;}
1394 { (exit 1); exit 1; }; }
1400 # Check whether --enable-krb4 or --disable-krb4 was given.
1401 if test "${enable_krb4+set}" = set; then
1402 enableval="$enable_krb4"
1404 if test "$enable_krb4" = "no" ; then
1405 ac_krb4_disable="yes"
1412 ac_cpp='$CPP $CPPFLAGS'
1413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1416 if test -n "$ac_tool_prefix"; then
1417 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1418 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1419 echo "$as_me:$LINENO: checking for $ac_word" >&5
1420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1421 if test "${ac_cv_prog_CC+set}" = set; then
1422 echo $ECHO_N "(cached) $ECHO_C" >&6
1424 if test -n "$CC"; then
1425 ac_cv_prog_CC="$CC" # Let the user override the test.
1427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1431 test -z "$as_dir" && as_dir=.
1432 for ac_exec_ext in '' $ac_executable_extensions; do
1433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1434 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1444 if test -n "$CC"; then
1445 echo "$as_me:$LINENO: result: $CC" >&5
1446 echo "${ECHO_T}$CC" >&6
1448 echo "$as_me:$LINENO: result: no" >&5
1449 echo "${ECHO_T}no" >&6
1453 if test -z "$ac_cv_prog_CC"; then
1455 # Extract the first word of "gcc", so it can be a program name with args.
1456 set dummy gcc; ac_word=$2
1457 echo "$as_me:$LINENO: checking for $ac_word" >&5
1458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1459 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1460 echo $ECHO_N "(cached) $ECHO_C" >&6
1462 if test -n "$ac_ct_CC"; then
1463 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1469 test -z "$as_dir" && as_dir=.
1470 for ac_exec_ext in '' $ac_executable_extensions; do
1471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1472 ac_cv_prog_ac_ct_CC="gcc"
1473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1481 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1482 if test -n "$ac_ct_CC"; then
1483 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1484 echo "${ECHO_T}$ac_ct_CC" >&6
1486 echo "$as_me:$LINENO: result: no" >&5
1487 echo "${ECHO_T}no" >&6
1495 if test -z "$CC"; then
1496 if test -n "$ac_tool_prefix"; then
1497 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1498 set dummy ${ac_tool_prefix}cc; ac_word=$2
1499 echo "$as_me:$LINENO: checking for $ac_word" >&5
1500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1501 if test "${ac_cv_prog_CC+set}" = set; then
1502 echo $ECHO_N "(cached) $ECHO_C" >&6
1504 if test -n "$CC"; then
1505 ac_cv_prog_CC="$CC" # Let the user override the test.
1507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1511 test -z "$as_dir" && as_dir=.
1512 for ac_exec_ext in '' $ac_executable_extensions; do
1513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1514 ac_cv_prog_CC="${ac_tool_prefix}cc"
1515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1524 if test -n "$CC"; then
1525 echo "$as_me:$LINENO: result: $CC" >&5
1526 echo "${ECHO_T}$CC" >&6
1528 echo "$as_me:$LINENO: result: no" >&5
1529 echo "${ECHO_T}no" >&6
1533 if test -z "$ac_cv_prog_CC"; then
1535 # Extract the first word of "cc", so it can be a program name with args.
1536 set dummy cc; ac_word=$2
1537 echo "$as_me:$LINENO: checking for $ac_word" >&5
1538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1539 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1540 echo $ECHO_N "(cached) $ECHO_C" >&6
1542 if test -n "$ac_ct_CC"; then
1543 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1549 test -z "$as_dir" && as_dir=.
1550 for ac_exec_ext in '' $ac_executable_extensions; do
1551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1552 ac_cv_prog_ac_ct_CC="cc"
1553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1561 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1562 if test -n "$ac_ct_CC"; then
1563 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1564 echo "${ECHO_T}$ac_ct_CC" >&6
1566 echo "$as_me:$LINENO: result: no" >&5
1567 echo "${ECHO_T}no" >&6
1576 if test -z "$CC"; then
1577 # Extract the first word of "cc", so it can be a program name with args.
1578 set dummy cc; ac_word=$2
1579 echo "$as_me:$LINENO: checking for $ac_word" >&5
1580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1581 if test "${ac_cv_prog_CC+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 if test -n "$CC"; then
1585 ac_cv_prog_CC="$CC" # Let the user override the test.
1588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1592 test -z "$as_dir" && as_dir=.
1593 for ac_exec_ext in '' $ac_executable_extensions; do
1594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1595 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1596 ac_prog_rejected=yes
1600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1606 if test $ac_prog_rejected = yes; then
1607 # We found a bogon in the path, so make sure we never use it.
1608 set dummy $ac_cv_prog_CC
1610 if test $# != 0; then
1611 # We chose a different compiler from the bogus one.
1612 # However, it has the same basename, so the bogon will be chosen
1613 # first if we set CC to just the basename; use the full file name.
1615 set dummy "$as_dir/$ac_word" ${1+"$@"}
1623 if test -n "$CC"; then
1624 echo "$as_me:$LINENO: result: $CC" >&5
1625 echo "${ECHO_T}$CC" >&6
1627 echo "$as_me:$LINENO: result: no" >&5
1628 echo "${ECHO_T}no" >&6
1632 if test -z "$CC"; then
1633 if test -n "$ac_tool_prefix"; then
1636 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1637 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1638 echo "$as_me:$LINENO: checking for $ac_word" >&5
1639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1640 if test "${ac_cv_prog_CC+set}" = set; then
1641 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 if test -n "$CC"; then
1644 ac_cv_prog_CC="$CC" # Let the user override the test.
1646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1650 test -z "$as_dir" && as_dir=.
1651 for ac_exec_ext in '' $ac_executable_extensions; do
1652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1653 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663 if test -n "$CC"; then
1664 echo "$as_me:$LINENO: result: $CC" >&5
1665 echo "${ECHO_T}$CC" >&6
1667 echo "$as_me:$LINENO: result: no" >&5
1668 echo "${ECHO_T}no" >&6
1671 test -n "$CC" && break
1674 if test -z "$CC"; then
1678 # Extract the first word of "$ac_prog", so it can be a program name with args.
1679 set dummy $ac_prog; ac_word=$2
1680 echo "$as_me:$LINENO: checking for $ac_word" >&5
1681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1682 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1683 echo $ECHO_N "(cached) $ECHO_C" >&6
1685 if test -n "$ac_ct_CC"; then
1686 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1692 test -z "$as_dir" && as_dir=.
1693 for ac_exec_ext in '' $ac_executable_extensions; do
1694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1695 ac_cv_prog_ac_ct_CC="$ac_prog"
1696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1704 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1705 if test -n "$ac_ct_CC"; then
1706 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1707 echo "${ECHO_T}$ac_ct_CC" >&6
1709 echo "$as_me:$LINENO: result: no" >&5
1710 echo "${ECHO_T}no" >&6
1713 test -n "$ac_ct_CC" && break
1722 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1723 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1724 { (exit 1); exit 1; }; }
1726 # Provide some information about the compiler.
1727 echo "$as_me:$LINENO:" \
1728 "checking for C compiler version" >&5
1729 ac_compiler=`set X $ac_compile; echo $2`
1730 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1731 (eval $ac_compiler --version </dev/null >&5) 2>&5
1733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1734 (exit $ac_status); }
1735 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1736 (eval $ac_compiler -v </dev/null >&5) 2>&5
1738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1739 (exit $ac_status); }
1740 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1741 (eval $ac_compiler -V </dev/null >&5) 2>&5
1743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1744 (exit $ac_status); }
1746 cat >conftest.$ac_ext <<_ACEOF
1747 #line $LINENO "configure"
1748 #include "confdefs.h"
1750 #ifdef F77_DUMMY_MAIN
1754 int F77_DUMMY_MAIN() { return 1; }
1764 ac_clean_files_save=$ac_clean_files
1765 ac_clean_files="$ac_clean_files a.out a.exe"
1766 # Try to create an executable without -o first, disregard a.out.
1767 # It will help us diagnose broken compilers, and finding out an intuition
1769 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1770 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1771 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1772 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1773 (eval $ac_link_default) 2>&5
1775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1776 (exit $ac_status); }; then
1777 # Find the output, starting from the most likely. This scheme is
1778 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1781 # Be careful to initialize this variable, since it used to be cached.
1782 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1784 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1785 ls a.out conftest 2>/dev/null;
1786 ls a.* conftest.* 2>/dev/null`; do
1788 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1789 a.out ) # We found the default executable, but exeext='' is most
1792 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1793 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1800 echo "$as_me: failed program was:" >&5
1801 cat conftest.$ac_ext >&5
1802 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1803 echo "$as_me: error: C compiler cannot create executables" >&2;}
1804 { (exit 77); exit 77; }; }
1807 ac_exeext=$ac_cv_exeext
1808 echo "$as_me:$LINENO: result: $ac_file" >&5
1809 echo "${ECHO_T}$ac_file" >&6
1811 # Check the compiler produces executables we can run. If not, either
1812 # the compiler is broken, or we cross compile.
1813 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1814 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1815 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1816 # If not cross compiling, check that we can run a simple program.
1817 if test "$cross_compiling" != yes; then
1818 if { ac_try='./$ac_file'
1819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1823 (exit $ac_status); }; }; then
1826 if test "$cross_compiling" = maybe; then
1829 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1830 If you meant to cross compile, use \`--host'." >&5
1831 echo "$as_me: error: cannot run C compiled programs.
1832 If you meant to cross compile, use \`--host'." >&2;}
1833 { (exit 1); exit 1; }; }
1837 echo "$as_me:$LINENO: result: yes" >&5
1838 echo "${ECHO_T}yes" >&6
1840 rm -f a.out a.exe conftest$ac_cv_exeext
1841 ac_clean_files=$ac_clean_files_save
1842 # Check the compiler produces executables we can run. If not, either
1843 # the compiler is broken, or we cross compile.
1844 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1845 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1846 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1847 echo "${ECHO_T}$cross_compiling" >&6
1849 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1850 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1852 (eval $ac_link) 2>&5
1854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1855 (exit $ac_status); }; then
1856 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1857 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1858 # work properly (i.e., refer to `conftest.exe'), while it won't with
1860 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1862 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1863 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1870 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1871 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1872 { (exit 1); exit 1; }; }
1875 rm -f conftest$ac_cv_exeext
1876 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1877 echo "${ECHO_T}$ac_cv_exeext" >&6
1879 rm -f conftest.$ac_ext
1880 EXEEXT=$ac_cv_exeext
1882 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1883 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1884 if test "${ac_cv_objext+set}" = set; then
1885 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 cat >conftest.$ac_ext <<_ACEOF
1888 #line $LINENO "configure"
1889 #include "confdefs.h"
1891 #ifdef F77_DUMMY_MAIN
1895 int F77_DUMMY_MAIN() { return 1; }
1905 rm -f conftest.o conftest.obj
1906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1907 (eval $ac_compile) 2>&5
1909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1910 (exit $ac_status); }; then
1911 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1913 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1914 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1919 echo "$as_me: failed program was:" >&5
1920 cat conftest.$ac_ext >&5
1921 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1922 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1923 { (exit 1); exit 1; }; }
1926 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1928 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1929 echo "${ECHO_T}$ac_cv_objext" >&6
1930 OBJEXT=$ac_cv_objext
1932 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1933 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1934 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
1937 cat >conftest.$ac_ext <<_ACEOF
1938 #line $LINENO "configure"
1939 #include "confdefs.h"
1941 #ifdef F77_DUMMY_MAIN
1945 int F77_DUMMY_MAIN() { return 1; }
1958 rm -f conftest.$ac_objext
1959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1960 (eval $ac_compile) 2>&5
1962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1963 (exit $ac_status); } &&
1964 { ac_try='test -s conftest.$ac_objext'
1965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1969 (exit $ac_status); }; }; then
1972 echo "$as_me: failed program was:" >&5
1973 cat conftest.$ac_ext >&5
1976 rm -f conftest.$ac_objext conftest.$ac_ext
1977 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1980 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1981 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1982 GCC=`test $ac_compiler_gnu = yes && echo yes`
1983 ac_test_CFLAGS=${CFLAGS+set}
1984 ac_save_CFLAGS=$CFLAGS
1986 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1987 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1988 if test "${ac_cv_prog_cc_g+set}" = set; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 cat >conftest.$ac_ext <<_ACEOF
1992 #line $LINENO "configure"
1993 #include "confdefs.h"
1995 #ifdef F77_DUMMY_MAIN
1999 int F77_DUMMY_MAIN() { return 1; }
2009 rm -f conftest.$ac_objext
2010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2011 (eval $ac_compile) 2>&5
2013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2014 (exit $ac_status); } &&
2015 { ac_try='test -s conftest.$ac_objext'
2016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020 (exit $ac_status); }; }; then
2023 echo "$as_me: failed program was:" >&5
2024 cat conftest.$ac_ext >&5
2027 rm -f conftest.$ac_objext conftest.$ac_ext
2029 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2031 if test "$ac_test_CFLAGS" = set; then
2032 CFLAGS=$ac_save_CFLAGS
2033 elif test $ac_cv_prog_cc_g = yes; then
2034 if test "$GCC" = yes; then
2040 if test "$GCC" = yes; then
2046 # Some people use a C++ compiler to compile C. Since we use `exit',
2047 # in C++ we need to declare it. In case someone uses the same compiler
2048 # for both compiling C and C++ we need to have the C++ compiler decide
2049 # the declaration of exit, since it's the most demanding environment.
2050 cat >conftest.$ac_ext <<_ACEOF
2055 rm -f conftest.$ac_objext
2056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2057 (eval $ac_compile) 2>&5
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); } &&
2061 { ac_try='test -s conftest.$ac_objext'
2062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; }; then
2067 for ac_declaration in \
2069 '#include <stdlib.h>' \
2070 'extern "C" void std::exit (int) throw (); using std::exit;' \
2071 'extern "C" void std::exit (int); using std::exit;' \
2072 'extern "C" void exit (int) throw ();' \
2073 'extern "C" void exit (int);' \
2076 cat >conftest.$ac_ext <<_ACEOF
2077 #line $LINENO "configure"
2078 #include "confdefs.h"
2081 #ifdef F77_DUMMY_MAIN
2085 int F77_DUMMY_MAIN() { return 1; }
2095 rm -f conftest.$ac_objext
2096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2097 (eval $ac_compile) 2>&5
2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100 (exit $ac_status); } &&
2101 { ac_try='test -s conftest.$ac_objext'
2102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106 (exit $ac_status); }; }; then
2109 echo "$as_me: failed program was:" >&5
2110 cat conftest.$ac_ext >&5
2113 rm -f conftest.$ac_objext conftest.$ac_ext
2114 cat >conftest.$ac_ext <<_ACEOF
2115 #line $LINENO "configure"
2116 #include "confdefs.h"
2118 #ifdef F77_DUMMY_MAIN
2122 int F77_DUMMY_MAIN() { return 1; }
2132 rm -f conftest.$ac_objext
2133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2134 (eval $ac_compile) 2>&5
2136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2137 (exit $ac_status); } &&
2138 { ac_try='test -s conftest.$ac_objext'
2139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2143 (exit $ac_status); }; }; then
2146 echo "$as_me: failed program was:" >&5
2147 cat conftest.$ac_ext >&5
2149 rm -f conftest.$ac_objext conftest.$ac_ext
2152 if test -n "$ac_declaration"; then
2153 echo '#ifdef __cplusplus' >>confdefs.h
2154 echo $ac_declaration >>confdefs.h
2155 echo '#endif' >>confdefs.h
2159 echo "$as_me: failed program was:" >&5
2160 cat conftest.$ac_ext >&5
2162 rm -f conftest.$ac_objext conftest.$ac_ext
2164 ac_cpp='$CPP $CPPFLAGS'
2165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2169 if test -z "$ac_static" ; then
2170 # Extract the first word of "apxs", so it can be a program name with args.
2171 set dummy apxs; ac_word=$2
2172 echo "$as_me:$LINENO: checking for $ac_word" >&5
2173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2174 if test "${ac_cv_path_APXS+set}" = set; then
2175 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
2182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2186 test -z "$as_dir" && as_dir=.
2187 for ac_exec_ext in '' $ac_executable_extensions; do
2188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2189 ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
2190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2199 APXS=$ac_cv_path_APXS
2201 if test -n "$APXS"; then
2202 echo "$as_me:$LINENO: result: $APXS" >&5
2203 echo "${ECHO_T}$APXS" >&6
2205 echo "$as_me:$LINENO: result: no" >&5
2206 echo "${ECHO_T}no" >&6
2209 if test -z "$APXS" ; then
2210 echo "No apxs found. Defaulting to static module generation."
2216 if test -z "$ac_krb5_disable" ; then
2218 echo "$as_me:$LINENO: checking for krb5_get_in_tkt_with_password in -lkrb5" >&5
2219 echo $ECHO_N "checking for krb5_get_in_tkt_with_password in -lkrb5... $ECHO_C" >&6
2220 if test "${ac_cv_lib_krb5_krb5_get_in_tkt_with_password+set}" = set; then
2221 echo $ECHO_N "(cached) $ECHO_C" >&6
2223 ac_check_lib_save_LIBS=$LIBS
2224 LIBS="-lkrb5 "-lcom_err" $LIBS"
2225 cat >conftest.$ac_ext <<_ACEOF
2226 #line $LINENO "configure"
2227 #include "confdefs.h"
2229 /* Override any gcc2 internal prototype to avoid an error. */
2233 /* We use char because int might match the return type of a gcc2
2234 builtin and then its argument prototype would still apply. */
2235 char krb5_get_in_tkt_with_password ();
2236 #ifdef F77_DUMMY_MAIN
2240 int F77_DUMMY_MAIN() { return 1; }
2245 krb5_get_in_tkt_with_password ();
2250 rm -f conftest.$ac_objext conftest$ac_exeext
2251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2252 (eval $ac_link) 2>&5
2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2255 (exit $ac_status); } &&
2256 { ac_try='test -s conftest$ac_exeext'
2257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); }; }; then
2262 ac_cv_lib_krb5_krb5_get_in_tkt_with_password=yes
2264 echo "$as_me: failed program was:" >&5
2265 cat conftest.$ac_ext >&5
2266 ac_cv_lib_krb5_krb5_get_in_tkt_with_password=no
2268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2269 LIBS=$ac_check_lib_save_LIBS
2271 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_get_in_tkt_with_password" >&5
2272 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_get_in_tkt_with_password" >&6
2273 if test $ac_cv_lib_krb5_krb5_get_in_tkt_with_password = yes; then
2278 echo "$as_me:$LINENO: checking for krb5_string_to_key in -lk5crypto" >&5
2279 echo $ECHO_N "checking for krb5_string_to_key in -lk5crypto... $ECHO_C" >&6
2280 if test "${ac_cv_lib_k5crypto_krb5_string_to_key+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2283 ac_check_lib_save_LIBS=$LIBS
2284 LIBS="-lk5crypto "-lcom_err" $LIBS"
2285 cat >conftest.$ac_ext <<_ACEOF
2286 #line $LINENO "configure"
2287 #include "confdefs.h"
2289 /* Override any gcc2 internal prototype to avoid an error. */
2293 /* We use char because int might match the return type of a gcc2
2294 builtin and then its argument prototype would still apply. */
2295 char krb5_string_to_key ();
2296 #ifdef F77_DUMMY_MAIN
2300 int F77_DUMMY_MAIN() { return 1; }
2305 krb5_string_to_key ();
2310 rm -f conftest.$ac_objext conftest$ac_exeext
2311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2312 (eval $ac_link) 2>&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); } &&
2316 { ac_try='test -s conftest$ac_exeext'
2317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); }; }; then
2322 ac_cv_lib_k5crypto_krb5_string_to_key=yes
2324 echo "$as_me: failed program was:" >&5
2325 cat conftest.$ac_ext >&5
2326 ac_cv_lib_k5crypto_krb5_string_to_key=no
2328 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2329 LIBS=$ac_check_lib_save_LIBS
2331 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_krb5_string_to_key" >&5
2332 echo "${ECHO_T}$ac_cv_lib_k5crypto_krb5_string_to_key" >&6
2333 if test $ac_cv_lib_k5crypto_krb5_string_to_key = yes; then
2335 ac_krblibs="$ac_krblibs -lk5crypto"
2339 echo "$as_me:$LINENO: checking for krb5_string_to_key in -lcrypto" >&5
2340 echo $ECHO_N "checking for krb5_string_to_key in -lcrypto... $ECHO_C" >&6
2341 if test "${ac_cv_lib_crypto_krb5_string_to_key+set}" = set; then
2342 echo $ECHO_N "(cached) $ECHO_C" >&6
2344 ac_check_lib_save_LIBS=$LIBS
2345 LIBS="-lcrypto "-lcom_err" $LIBS"
2346 cat >conftest.$ac_ext <<_ACEOF
2347 #line $LINENO "configure"
2348 #include "confdefs.h"
2350 /* Override any gcc2 internal prototype to avoid an error. */
2354 /* We use char because int might match the return type of a gcc2
2355 builtin and then its argument prototype would still apply. */
2356 char krb5_string_to_key ();
2357 #ifdef F77_DUMMY_MAIN
2361 int F77_DUMMY_MAIN() { return 1; }
2366 krb5_string_to_key ();
2371 rm -f conftest.$ac_objext conftest$ac_exeext
2372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2373 (eval $ac_link) 2>&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); } &&
2377 { ac_try='test -s conftest$ac_exeext'
2378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }; }; then
2383 ac_cv_lib_crypto_krb5_string_to_key=yes
2385 echo "$as_me: failed program was:" >&5
2386 cat conftest.$ac_ext >&5
2387 ac_cv_lib_crypto_krb5_string_to_key=no
2389 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2390 LIBS=$ac_check_lib_save_LIBS
2392 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_krb5_string_to_key" >&5
2393 echo "${ECHO_T}$ac_cv_lib_crypto_krb5_string_to_key" >&6
2394 if test $ac_cv_lib_crypto_krb5_string_to_key = yes; then
2396 ac_krblibs="$ac_krblibs -lcrypto"
2407 ac_krblibs="$ac_krblibs -lcom_err"
2409 if test -z "$ac_krb4_disable" ; then
2410 if test -n "$ac_krblibs" ; then
2411 echo "$as_me:$LINENO: checking for krb_get_pw_in_tkt in -lkrb4" >&5
2412 echo $ECHO_N "checking for krb_get_pw_in_tkt in -lkrb4... $ECHO_C" >&6
2413 if test "${ac_cv_lib_krb4_krb_get_pw_in_tkt+set}" = set; then
2414 echo $ECHO_N "(cached) $ECHO_C" >&6
2416 ac_check_lib_save_LIBS=$LIBS
2417 LIBS="-lkrb4 $ac_krblibs $LIBS"
2418 cat >conftest.$ac_ext <<_ACEOF
2419 #line $LINENO "configure"
2420 #include "confdefs.h"
2422 /* Override any gcc2 internal prototype to avoid an error. */
2426 /* We use char because int might match the return type of a gcc2
2427 builtin and then its argument prototype would still apply. */
2428 char krb_get_pw_in_tkt ();
2429 #ifdef F77_DUMMY_MAIN
2433 int F77_DUMMY_MAIN() { return 1; }
2438 krb_get_pw_in_tkt ();
2443 rm -f conftest.$ac_objext conftest$ac_exeext
2444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2445 (eval $ac_link) 2>&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); } &&
2449 { ac_try='test -s conftest$ac_exeext'
2450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); }; }; then
2455 ac_cv_lib_krb4_krb_get_pw_in_tkt=yes
2457 echo "$as_me: failed program was:" >&5
2458 cat conftest.$ac_ext >&5
2459 ac_cv_lib_krb4_krb_get_pw_in_tkt=no
2461 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2462 LIBS=$ac_check_lib_save_LIBS
2464 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_pw_in_tkt" >&5
2465 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_pw_in_tkt" >&6
2466 if test $ac_cv_lib_krb4_krb_get_pw_in_tkt = yes; then
2469 ac_krbdefs="$ac_krbdefs -DKRB4"
2470 ac_krblibs="$ac_krblibs -lkrb4 $ac_krblibs"
2481 if test -z "$ac_krb4_disable" -a -z "$ac_krb4" ; then
2482 echo "$as_me:$LINENO: checking for krb_get_pw_in_tkt in -lkrb" >&5
2483 echo $ECHO_N "checking for krb_get_pw_in_tkt in -lkrb... $ECHO_C" >&6
2484 if test "${ac_cv_lib_krb_krb_get_pw_in_tkt+set}" = set; then
2485 echo $ECHO_N "(cached) $ECHO_C" >&6
2487 ac_check_lib_save_LIBS=$LIBS
2488 LIBS="-lkrb "-lcom_err" $LIBS"
2489 cat >conftest.$ac_ext <<_ACEOF
2490 #line $LINENO "configure"
2491 #include "confdefs.h"
2493 /* Override any gcc2 internal prototype to avoid an error. */
2497 /* We use char because int might match the return type of a gcc2
2498 builtin and then its argument prototype would still apply. */
2499 char krb_get_pw_in_tkt ();
2500 #ifdef F77_DUMMY_MAIN
2504 int F77_DUMMY_MAIN() { return 1; }
2509 krb_get_pw_in_tkt ();
2514 rm -f conftest.$ac_objext conftest$ac_exeext
2515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2516 (eval $ac_link) 2>&5
2518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 (exit $ac_status); } &&
2520 { ac_try='test -s conftest$ac_exeext'
2521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; }; then
2526 ac_cv_lib_krb_krb_get_pw_in_tkt=yes
2528 echo "$as_me: failed program was:" >&5
2529 cat conftest.$ac_ext >&5
2530 ac_cv_lib_krb_krb_get_pw_in_tkt=no
2532 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2533 LIBS=$ac_check_lib_save_LIBS
2535 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_pw_in_tkt" >&5
2536 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_pw_in_tkt" >&6
2537 if test $ac_cv_lib_krb_krb_get_pw_in_tkt = yes; then
2541 ac_krblibs="$ac_krblibs -lkrb -lcom_err"
2547 if test -z "$ac_krb4" -a -z "$ac_krb5" ; then
2548 { { echo "$as_me:$LINENO: error: Neither Kerberos 5 nor 4 support available." >&5
2549 echo "$as_me: error: Neither Kerberos 5 nor 4 support available." >&2;}
2550 { (exit 1); exit 1; }; }
2554 if test -n "$ac_krb5" ; then
2556 ac_cpp='$CPP $CPPFLAGS'
2557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2560 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2561 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2562 # On Suns, sometimes $CPP names a directory.
2563 if test -n "$CPP" && test -d "$CPP"; then
2566 if test -z "$CPP"; then
2567 if test "${ac_cv_prog_CPP+set}" = set; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2570 # Double quotes because CPP needs to be expanded
2571 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2574 for ac_c_preproc_warn_flag in '' yes
2576 # Use a header file that comes with gcc, so configuring glibc
2577 # with a fresh cross-compiler works.
2578 # On the NeXT, cc -E runs the code through the compiler's parser,
2579 # not just through cpp. "Syntax error" is here to catch this case.
2580 cat >conftest.$ac_ext <<_ACEOF
2581 #line $LINENO "configure"
2582 #include "confdefs.h"
2586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2587 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2589 egrep -v '^ *\+' conftest.er1 >conftest.err
2591 cat conftest.err >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); } >/dev/null; then
2594 if test -s conftest.err; then
2595 ac_cpp_err=$ac_c_preproc_warn_flag
2602 if test -z "$ac_cpp_err"; then
2605 echo "$as_me: failed program was:" >&5
2606 cat conftest.$ac_ext >&5
2607 # Broken: fails on valid input.
2610 rm -f conftest.err conftest.$ac_ext
2612 # OK, works on sane cases. Now check whether non-existent headers
2613 # can be detected and how.
2614 cat >conftest.$ac_ext <<_ACEOF
2615 #line $LINENO "configure"
2616 #include "confdefs.h"
2617 #include <ac_nonexistent.h>
2619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2620 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2622 egrep -v '^ *\+' conftest.er1 >conftest.err
2624 cat conftest.err >&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); } >/dev/null; then
2627 if test -s conftest.err; then
2628 ac_cpp_err=$ac_c_preproc_warn_flag
2635 if test -z "$ac_cpp_err"; then
2636 # Broken: success on invalid input.
2639 echo "$as_me: failed program was:" >&5
2640 cat conftest.$ac_ext >&5
2641 # Passes both tests.
2645 rm -f conftest.err conftest.$ac_ext
2648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2649 rm -f conftest.err conftest.$ac_ext
2650 if $ac_preproc_ok; then
2662 echo "$as_me:$LINENO: result: $CPP" >&5
2663 echo "${ECHO_T}$CPP" >&6
2665 for ac_c_preproc_warn_flag in '' yes
2667 # Use a header file that comes with gcc, so configuring glibc
2668 # with a fresh cross-compiler works.
2669 # On the NeXT, cc -E runs the code through the compiler's parser,
2670 # not just through cpp. "Syntax error" is here to catch this case.
2671 cat >conftest.$ac_ext <<_ACEOF
2672 #line $LINENO "configure"
2673 #include "confdefs.h"
2677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2678 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2680 egrep -v '^ *\+' conftest.er1 >conftest.err
2682 cat conftest.err >&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); } >/dev/null; then
2685 if test -s conftest.err; then
2686 ac_cpp_err=$ac_c_preproc_warn_flag
2693 if test -z "$ac_cpp_err"; then
2696 echo "$as_me: failed program was:" >&5
2697 cat conftest.$ac_ext >&5
2698 # Broken: fails on valid input.
2701 rm -f conftest.err conftest.$ac_ext
2703 # OK, works on sane cases. Now check whether non-existent headers
2704 # can be detected and how.
2705 cat >conftest.$ac_ext <<_ACEOF
2706 #line $LINENO "configure"
2707 #include "confdefs.h"
2708 #include <ac_nonexistent.h>
2710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2711 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2713 egrep -v '^ *\+' conftest.er1 >conftest.err
2715 cat conftest.err >&5
2716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717 (exit $ac_status); } >/dev/null; then
2718 if test -s conftest.err; then
2719 ac_cpp_err=$ac_c_preproc_warn_flag
2726 if test -z "$ac_cpp_err"; then
2727 # Broken: success on invalid input.
2730 echo "$as_me: failed program was:" >&5
2731 cat conftest.$ac_ext >&5
2732 # Passes both tests.
2736 rm -f conftest.err conftest.$ac_ext
2739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2740 rm -f conftest.err conftest.$ac_ext
2741 if $ac_preproc_ok; then
2744 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2745 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2746 { (exit 1); exit 1; }; }
2750 ac_cpp='$CPP $CPPFLAGS'
2751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2756 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2757 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2758 if test "${ac_cv_header_stdc+set}" = set; then
2759 echo $ECHO_N "(cached) $ECHO_C" >&6
2761 cat >conftest.$ac_ext <<_ACEOF
2762 #line $LINENO "configure"
2763 #include "confdefs.h"
2770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2771 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2773 egrep -v '^ *\+' conftest.er1 >conftest.err
2775 cat conftest.err >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); } >/dev/null; then
2778 if test -s conftest.err; then
2779 ac_cpp_err=$ac_c_preproc_warn_flag
2786 if test -z "$ac_cpp_err"; then
2787 ac_cv_header_stdc=yes
2789 echo "$as_me: failed program was:" >&5
2790 cat conftest.$ac_ext >&5
2791 ac_cv_header_stdc=no
2793 rm -f conftest.err conftest.$ac_ext
2795 if test $ac_cv_header_stdc = yes; then
2796 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2797 cat >conftest.$ac_ext <<_ACEOF
2798 #line $LINENO "configure"
2799 #include "confdefs.h"
2803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2804 egrep "memchr" >/dev/null 2>&1; then
2807 ac_cv_header_stdc=no
2813 if test $ac_cv_header_stdc = yes; then
2814 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2815 cat >conftest.$ac_ext <<_ACEOF
2816 #line $LINENO "configure"
2817 #include "confdefs.h"
2821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2822 egrep "free" >/dev/null 2>&1; then
2825 ac_cv_header_stdc=no
2831 if test $ac_cv_header_stdc = yes; then
2832 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2833 if test "$cross_compiling" = yes; then
2836 cat >conftest.$ac_ext <<_ACEOF
2837 #line $LINENO "configure"
2838 #include "confdefs.h"
2840 #if ((' ' & 0x0FF) == 0x020)
2841 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2842 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2844 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2845 || ('j' <= (c) && (c) <= 'r') \
2846 || ('s' <= (c) && (c) <= 'z'))
2847 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2850 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2855 for (i = 0; i < 256; i++)
2856 if (XOR (islower (i), ISLOWER (i))
2857 || toupper (i) != TOUPPER (i))
2862 rm -f conftest$ac_exeext
2863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2864 (eval $ac_link) 2>&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); }; }; then
2875 echo "$as_me: program exited with status $ac_status" >&5
2876 echo "$as_me: failed program was:" >&5
2877 cat conftest.$ac_ext >&5
2879 ac_cv_header_stdc=no
2881 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2885 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2886 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2887 if test $ac_cv_header_stdc = yes; then
2889 cat >>confdefs.h <<\_ACEOF
2890 #define STDC_HEADERS 1
2895 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2905 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2906 inttypes.h stdint.h unistd.h
2908 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2909 echo "$as_me:$LINENO: checking for $ac_header" >&5
2910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2912 echo $ECHO_N "(cached) $ECHO_C" >&6
2914 cat >conftest.$ac_ext <<_ACEOF
2915 #line $LINENO "configure"
2916 #include "confdefs.h"
2917 $ac_includes_default
2919 #include <$ac_header>
2921 rm -f conftest.$ac_objext
2922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2923 (eval $ac_compile) 2>&5
2925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); } &&
2927 { ac_try='test -s conftest.$ac_objext'
2928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }; }; then
2933 eval "$as_ac_Header=yes"
2935 echo "$as_me: failed program was:" >&5
2936 cat conftest.$ac_ext >&5
2937 eval "$as_ac_Header=no"
2939 rm -f conftest.$ac_objext conftest.$ac_ext
2941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2944 cat >>confdefs.h <<_ACEOF
2945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2954 for ac_header in krb5.h
2956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2958 echo "$as_me:$LINENO: checking for $ac_header" >&5
2959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2961 echo $ECHO_N "(cached) $ECHO_C" >&6
2963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2966 # Is the header compilable?
2967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2969 cat >conftest.$ac_ext <<_ACEOF
2970 #line $LINENO "configure"
2971 #include "confdefs.h"
2972 $ac_includes_default
2973 #include <$ac_header>
2975 rm -f conftest.$ac_objext
2976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2977 (eval $ac_compile) 2>&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); } &&
2981 { ac_try='test -s conftest.$ac_objext'
2982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; }; then
2987 ac_header_compiler=yes
2989 echo "$as_me: failed program was:" >&5
2990 cat conftest.$ac_ext >&5
2991 ac_header_compiler=no
2993 rm -f conftest.$ac_objext conftest.$ac_ext
2994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2995 echo "${ECHO_T}$ac_header_compiler" >&6
2997 # Is the header present?
2998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3000 cat >conftest.$ac_ext <<_ACEOF
3001 #line $LINENO "configure"
3002 #include "confdefs.h"
3003 #include <$ac_header>
3005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3006 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3008 egrep -v '^ *\+' conftest.er1 >conftest.err
3010 cat conftest.err >&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); } >/dev/null; then
3013 if test -s conftest.err; then
3014 ac_cpp_err=$ac_c_preproc_warn_flag
3021 if test -z "$ac_cpp_err"; then
3022 ac_header_preproc=yes
3024 echo "$as_me: failed program was:" >&5
3025 cat conftest.$ac_ext >&5
3026 ac_header_preproc=no
3028 rm -f conftest.err conftest.$ac_ext
3029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3030 echo "${ECHO_T}$ac_header_preproc" >&6
3032 # So? What about this header?
3033 case $ac_header_compiler:$ac_header_preproc in
3035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3038 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3040 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3041 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3042 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3043 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3047 echo "$as_me:$LINENO: checking for $ac_header" >&5
3048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 eval "$as_ac_Header=$ac_header_preproc"
3054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3058 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3059 cat >>confdefs.h <<_ACEOF
3060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3071 if test -z "$ac_foundkrb5" ; then
3072 echo "$as_me:$LINENO: result: krb5.h not found... removing krb5 support." >&5
3073 echo "${ECHO_T}krb5.h not found... removing krb5 support." >&6
3078 if test -n "$ac_krb4" ; then
3081 for ac_header in kerberosIV/krb.h krb.h
3083 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3085 echo "$as_me:$LINENO: checking for $ac_header" >&5
3086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3088 echo $ECHO_N "(cached) $ECHO_C" >&6
3090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3093 # Is the header compilable?
3094 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3095 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3096 cat >conftest.$ac_ext <<_ACEOF
3097 #line $LINENO "configure"
3098 #include "confdefs.h"
3099 $ac_includes_default
3100 #include <$ac_header>
3102 rm -f conftest.$ac_objext
3103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3104 (eval $ac_compile) 2>&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); } &&
3108 { ac_try='test -s conftest.$ac_objext'
3109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); }; }; then
3114 ac_header_compiler=yes
3116 echo "$as_me: failed program was:" >&5
3117 cat conftest.$ac_ext >&5
3118 ac_header_compiler=no
3120 rm -f conftest.$ac_objext conftest.$ac_ext
3121 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3122 echo "${ECHO_T}$ac_header_compiler" >&6
3124 # Is the header present?
3125 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3126 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3127 cat >conftest.$ac_ext <<_ACEOF
3128 #line $LINENO "configure"
3129 #include "confdefs.h"
3130 #include <$ac_header>
3132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3133 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3135 egrep -v '^ *\+' conftest.er1 >conftest.err
3137 cat conftest.err >&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } >/dev/null; then
3140 if test -s conftest.err; then
3141 ac_cpp_err=$ac_c_preproc_warn_flag
3148 if test -z "$ac_cpp_err"; then
3149 ac_header_preproc=yes
3151 echo "$as_me: failed program was:" >&5
3152 cat conftest.$ac_ext >&5
3153 ac_header_preproc=no
3155 rm -f conftest.err conftest.$ac_ext
3156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3157 echo "${ECHO_T}$ac_header_preproc" >&6
3159 # So? What about this header?
3160 case $ac_header_compiler:$ac_header_preproc in
3162 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3163 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3165 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3167 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3168 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3169 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3170 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3172 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3174 echo "$as_me:$LINENO: checking for $ac_header" >&5
3175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3177 echo $ECHO_N "(cached) $ECHO_C" >&6
3179 eval "$as_ac_Header=$ac_header_preproc"
3181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3186 cat >>confdefs.h <<_ACEOF
3187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3198 if test -z "$ac_foundkrb4" ; then
3199 echo "$as_me:$LINENO: result: krb.h not found... removing krb4 support." >&5
3200 echo "${ECHO_T}krb.h not found... removing krb4 support." >&6
3205 if test -z "$ac_krb4" -a -z "$ac_krb5" ; then
3206 { { echo "$as_me:$LINENO: error: Neither Kerberos 5 nor 4 support available." >&5
3207 echo "$as_me: error: Neither Kerberos 5 nor 4 support available." >&2;}
3208 { (exit 1); exit 1; }; }
3216 if test -z "$ac_api" ; then
3217 if test -n "`$APXS -q bindir 2> /dev/null`" ; then
3218 echo "API autodetected to be Apache 2.*"
3220 ac_apidefs="-DAPXS2"
3222 echo "API autodetected to be Apache 1.*"
3224 ac_apidefs="-DAPXS1"
3233 LIBS="$LIBS $ac_krblibs"
3234 DEFS="$DEFS $ac_apidefs $ac_krbdefs"
3235 CFLAGS="$CFLAGS $DEFS"
3238 if test "$ac_static" = "yes" ; then
3241 echo "This module is to be built statically into Apache. You will need"
3242 echo "to place it into the appropriate location in the source tree and"
3243 echo "compile Apache accordingly. You can look at the online docs at"
3244 echo "http://modauthkerb.sourceforge.net/ or README.static for more"
3249 ac_config_files="$ac_config_files Makefile"
3250 cat >confcache <<\_ACEOF
3251 # This file is a shell script that caches the results of configure
3252 # tests run on this system so they can be shared between configure
3253 # scripts and configure runs, see configure's option --config-cache.
3254 # It is not useful on other systems. If it contains results you don't
3255 # want to keep, you may remove or edit it.
3257 # config.status only pays attention to the cache file if you give it
3258 # the --recheck option to rerun configure.
3260 # `ac_cv_env_foo' variables (set or unset) will be overriden when
3261 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3266 # The following way of writing the cache mishandles newlines in values,
3267 # but we know of no workaround that is simple, portable, and efficient.
3268 # So, don't put newlines in cache variables' values.
3269 # Ultrix sh set writes to stderr and can't be redirected directly,
3270 # and sets the high bit in the cache file unless we assign to the vars.
3273 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3275 # `set' does not quote correctly, so add quotes (double-quote
3276 # substitution turns \\\\ into \\, and sed turns \\ into \).
3279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3282 # `set' quotes correctly as required by POSIX, so do not add quotes.
3284 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3291 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3293 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3295 if cmp -s $cache_file confcache; then :; else
3296 if test -w $cache_file; then
3297 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3298 cat confcache >$cache_file
3300 echo "not updating unwritable cache $cache_file"
3305 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3306 # Let make expand exec_prefix.
3307 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3309 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3310 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3311 # trailing colons and then remove the whole line if VPATH becomes empty
3312 # (actually we leave an empty line to preserve line numbers).
3313 if test "x$srcdir" = x.; then
3314 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3315 s/:*\$(srcdir):*/:/;
3316 s/:*\${srcdir}:*/:/;
3318 s/^\([^=]*=[ ]*\):*/\1/;
3324 # Transform confdefs.h into DEFS.
3325 # Protect against shell expansion while executing Makefile rules.
3326 # Protect against Makefile macro expansion.
3328 # If the first sed substitution is executed (which looks for macros that
3329 # take arguments), then we branch to the quote section. Otherwise,
3330 # look for a macro that doesn't take arguments.
3331 cat >confdef2opt.sed <<\_ACEOF
3334 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3336 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3340 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3346 # We use echo to avoid assuming a particular line-breaking character.
3347 # The extra dot is to prevent the shell from consuming trailing
3348 # line-breaks from the sub-command output. A line-break within
3349 # single-quotes doesn't work because, if this script is created in a
3350 # platform that uses two characters for line-breaks (e.g., DOS), tr
3352 ac_LF_and_DOT=`echo; echo .`
3353 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3354 rm -f confdef2opt.sed
3358 : ${CONFIG_STATUS=./config.status}
3359 ac_clean_files_save=$ac_clean_files
3360 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3361 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3362 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3363 cat >$CONFIG_STATUS <<_ACEOF
3365 # Generated by $as_me.
3366 # Run this file to recreate the current configuration.
3367 # Compiler output produced by configure, useful for debugging
3368 # configure, is in config.log if it exists.
3371 SHELL=\${CONFIG_SHELL-$SHELL}
3374 cat >>$CONFIG_STATUS <<\_ACEOF
3376 ## --------------------- ##
3377 ## M4sh Initialization. ##
3378 ## --------------------- ##
3380 # Be Bourne compatible
3381 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3384 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3389 # Support unset when possible.
3390 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3396 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
3397 { $as_unset LANG || test "${LANG+set}" != set; } ||
3398 { LANG=C; export LANG; }
3399 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
3400 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
3401 { LC_ALL=C; export LC_ALL; }
3402 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
3403 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
3404 { LC_TIME=C; export LC_TIME; }
3405 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
3406 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
3407 { LC_CTYPE=C; export LC_CTYPE; }
3408 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
3409 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
3410 { LANGUAGE=C; export LANGUAGE; }
3411 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
3412 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
3413 { LC_COLLATE=C; export LC_COLLATE; }
3414 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
3415 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
3416 { LC_NUMERIC=C; export LC_NUMERIC; }
3417 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
3418 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
3419 { LC_MESSAGES=C; export LC_MESSAGES; }
3422 # Name of the executable.
3423 as_me=`(basename "$0") 2>/dev/null ||
3424 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3425 X"$0" : 'X\(//\)$' \| \
3426 X"$0" : 'X\(/\)$' \| \
3427 . : '\(.\)' 2>/dev/null ||
3429 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3430 /^X\/\(\/\/\)$/{ s//\1/; q; }
3431 /^X\/\(\/\).*/{ s//\1/; q; }
3434 # PATH needs CR, and LINENO needs CR and PATH.
3435 # Avoid depending upon Character Ranges.
3436 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3437 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3438 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3439 as_cr_digits='0123456789'
3440 as_cr_alnum=$as_cr_Letters$as_cr_digits
3442 # The user is always right.
3443 if test "${PATH_SEPARATOR+set}" != set; then
3444 echo "#! /bin/sh" >conftest.sh
3445 echo "exit 0" >>conftest.sh
3446 chmod +x conftest.sh
3447 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
3458 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3459 test "x$as_lineno_1" != "x$as_lineno_2" &&
3460 test "x$as_lineno_3" = "x$as_lineno_2" || {
3461 # Find who we are. Look in the path if we contain no path at all
3464 *[\\/]* ) as_myself=$0 ;;
3465 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 test -z "$as_dir" && as_dir=.
3470 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3475 # We did not find ourselves, most probably we were run as `sh COMMAND'
3476 # in which case we are not to be found in the path.
3477 if test "x$as_myself" = x; then
3480 if test ! -f "$as_myself"; then
3481 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3482 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3483 { (exit 1); exit 1; }; }
3485 case $CONFIG_SHELL in
3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3491 test -z "$as_dir" && as_dir=.
3492 for as_base in sh bash ksh sh5; do
3495 if ("$as_dir/$as_base" -c '
3498 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3499 test "x$as_lineno_1" != "x$as_lineno_2" &&
3500 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3501 CONFIG_SHELL=$as_dir/$as_base
3503 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3511 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3512 # uniformly replaced by the line number. The first 'sed' inserts a
3513 # line-number line before each line; the second 'sed' does the real
3514 # work. The second script uses 'N' to pair each line-number line
3515 # with the numbered line, and appends trailing '-' during
3516 # substitution so that $LINENO is not a special case at line end.
3517 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3518 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3519 sed '=' <$as_myself |
3524 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3527 s,^['$as_cr_digits']*\n,,
3529 chmod +x $as_me.lineno ||
3530 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3531 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3532 { (exit 1); exit 1; }; }
3534 # Don't try to exec as it changes $[0], causing all sort of problems
3535 # (the dirname of $[0] is not the place where we might find the
3536 # original and so on. Autoconf is especially sensible to this).
3538 # Exit status is that of the last command.
3543 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3544 *c*,-n*) ECHO_N= ECHO_C='
3546 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3547 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3550 if expr a : '\(a\)' >/dev/null 2>&1; then
3556 rm -f conf$$ conf$$.exe conf$$.file
3558 if ln -s conf$$.file conf$$ 2>/dev/null; then
3559 # We could just check for DJGPP; but this test a) works b) is more generic
3560 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3561 if test -f conf$$.exe; then
3562 # Don't use ln at all; we don't have any links
3567 elif ln conf$$.file conf$$ 2>/dev/null; then
3572 rm -f conf$$ conf$$.exe conf$$.file
3574 as_executable_p="test -f"
3576 # Sed expression to map a string onto a valid CPP name.
3577 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3579 # Sed expression to map a string onto a valid variable name.
3580 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3584 # We need space, tab and new line, in precisely that order.
3590 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
3594 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3595 # report actual input values of CONFIG_FILES etc. instead of their
3596 # values after options handling. Logging --version etc. is OK.
3600 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3601 ## Running $as_me. ##
3606 This file was extended by Apache Kerberos Module $as_me alpha2, which was
3607 generated by GNU Autoconf 2.53. Invocation command line was
3609 CONFIG_FILES = $CONFIG_FILES
3610 CONFIG_HEADERS = $CONFIG_HEADERS
3611 CONFIG_LINKS = $CONFIG_LINKS
3612 CONFIG_COMMANDS = $CONFIG_COMMANDS
3616 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3620 # Files that config.status was made for.
3621 if test -n "$ac_config_files"; then
3622 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3625 if test -n "$ac_config_headers"; then
3626 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3629 if test -n "$ac_config_links"; then
3630 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3633 if test -n "$ac_config_commands"; then
3634 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3637 cat >>$CONFIG_STATUS <<\_ACEOF
3640 \`$as_me' instantiates files from templates according to the
3641 current configuration.
3643 Usage: $0 [OPTIONS] [FILE]...
3645 -h, --help print this help, then exit
3646 -V, --version print version number, then exit
3647 -d, --debug don't remove temporary files
3648 --recheck update $as_me by reconfiguring in the same conditions
3649 --file=FILE[:TEMPLATE]
3650 instantiate the configuration file FILE
3652 Configuration files:
3655 Report bugs to <bug-autoconf@gnu.org>."
3658 cat >>$CONFIG_STATUS <<_ACEOF
3660 Apache Kerberos Module config.status alpha2
3661 configured by $0, generated by GNU Autoconf 2.53,
3662 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3664 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3665 Free Software Foundation, Inc.
3666 This config.status script is free software; the Free Software Foundation
3667 gives unlimited permission to copy, distribute and modify it."
3671 cat >>$CONFIG_STATUS <<\_ACEOF
3672 # If no file are specified by the user, then we need to provide default
3673 # value. By we need to know if files were specified by the user.
3679 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3680 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3682 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3686 *) # This is not an option, so the user has probably given explicit
3688 ac_need_defaults=false;;
3692 # Handling of the options.
3694 cat >>$CONFIG_STATUS <<_ACEOF
3695 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3696 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3697 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3699 cat >>$CONFIG_STATUS <<\_ACEOF
3700 --version | --vers* | -V )
3701 echo "$ac_cs_version"; exit 0 ;;
3703 # Conflict between --help and --header
3704 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3705 Try \`$0 --help' for more information." >&5
3706 echo "$as_me: error: ambiguous option: $1
3707 Try \`$0 --help' for more information." >&2;}
3708 { (exit 1); exit 1; }; };;
3709 --help | --hel | -h )
3710 echo "$ac_cs_usage"; exit 0 ;;
3711 --debug | --d* | -d )
3713 --file | --fil | --fi | --f )
3715 CONFIG_FILES="$CONFIG_FILES $1"
3716 ac_need_defaults=false;;
3717 --header | --heade | --head | --hea )
3719 CONFIG_HEADERS="$CONFIG_HEADERS $1"
3720 ac_need_defaults=false;;
3723 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3724 Try \`$0 --help' for more information." >&5
3725 echo "$as_me: error: unrecognized option: $1
3726 Try \`$0 --help' for more information." >&2;}
3727 { (exit 1); exit 1; }; } ;;
3729 *) ac_config_targets="$ac_config_targets $1" ;;
3741 cat >>$CONFIG_STATUS <<\_ACEOF
3742 for ac_config_target in $ac_config_targets
3744 case "$ac_config_target" in
3745 # Handling of arguments.
3746 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3747 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3748 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3749 { (exit 1); exit 1; }; };;
3753 # If the user did not use the arguments to specify the items to instantiate,
3754 # then the envvar interface is used. Set only those that are not.
3755 # We use the long form for the default assignment because of an extremely
3756 # bizarre bug on SunOS 4.1.3.
3757 if $ac_need_defaults; then
3758 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3761 # Create a temporary directory, and hook for its removal unless debugging.
3764 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3765 trap '{ (exit 1); exit 1; }' 1 2 13 15
3768 # Create a (secure) tmp directory for tmp files.
3771 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3772 test -n "$tmp" && test -d "$tmp"
3775 tmp=$TMPDIR/cs$$-$RANDOM
3776 (umask 077 && mkdir $tmp)
3779 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3780 { (exit 1); exit 1; }
3785 cat >>$CONFIG_STATUS <<_ACEOF
3788 # CONFIG_FILES section.
3791 # No need to generate the scripts if there are no CONFIG_FILES.
3792 # This happens for instance when ./config.status config.h
3793 if test -n "\$CONFIG_FILES"; then
3794 # Protect against being on the right side of a sed subst in config.status.
3795 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3796 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3797 s,@SHELL@,$SHELL,;t t
3798 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3799 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3800 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3801 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3802 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3803 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3804 s,@exec_prefix@,$exec_prefix,;t t
3805 s,@prefix@,$prefix,;t t
3806 s,@program_transform_name@,$program_transform_name,;t t
3807 s,@bindir@,$bindir,;t t
3808 s,@sbindir@,$sbindir,;t t
3809 s,@libexecdir@,$libexecdir,;t t
3810 s,@datadir@,$datadir,;t t
3811 s,@sysconfdir@,$sysconfdir,;t t
3812 s,@sharedstatedir@,$sharedstatedir,;t t
3813 s,@localstatedir@,$localstatedir,;t t
3814 s,@libdir@,$libdir,;t t
3815 s,@includedir@,$includedir,;t t
3816 s,@oldincludedir@,$oldincludedir,;t t
3817 s,@infodir@,$infodir,;t t
3818 s,@mandir@,$mandir,;t t
3819 s,@build_alias@,$build_alias,;t t
3820 s,@host_alias@,$host_alias,;t t
3821 s,@target_alias@,$target_alias,;t t
3823 s,@ECHO_C@,$ECHO_C,;t t
3824 s,@ECHO_N@,$ECHO_N,;t t
3825 s,@ECHO_T@,$ECHO_T,;t t
3828 s,@CFLAGS@,$CFLAGS,;t t
3829 s,@LDFLAGS@,$LDFLAGS,;t t
3830 s,@CPPFLAGS@,$CPPFLAGS,;t t
3831 s,@ac_ct_CC@,$ac_ct_CC,;t t
3832 s,@EXEEXT@,$EXEEXT,;t t
3833 s,@OBJEXT@,$OBJEXT,;t t
3840 cat >>$CONFIG_STATUS <<\_ACEOF
3841 # Split the substitutions into bite-sized pieces for seds with
3842 # small command number limits, like on Digital OSF/1 and HP-UX.
3844 ac_sed_frag=1 # Number of current file.
3845 ac_beg=1 # First line for current file.
3846 ac_end=$ac_max_sed_lines # Line after last line for current file.
3849 while $ac_more_lines; do
3850 if test $ac_beg -gt 1; then
3851 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3853 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3855 if test ! -s $tmp/subs.frag; then
3858 # The purpose of the label and of the branching condition is to
3859 # speed up the sed processing (if there are no `@' at all, there
3860 # is no need to browse any of the substitutions).
3861 # These are the two extra sed commands mentioned above.
3863 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3864 if test -z "$ac_sed_cmds"; then
3865 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3867 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3869 ac_sed_frag=`expr $ac_sed_frag + 1`
3871 ac_end=`expr $ac_end + $ac_max_sed_lines`
3874 if test -z "$ac_sed_cmds"; then
3877 fi # test -n "$CONFIG_FILES"
3880 cat >>$CONFIG_STATUS <<\_ACEOF
3881 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3882 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3884 - | *:- | *:-:* ) # input from stdin
3886 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3887 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3888 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3889 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3890 * ) ac_file_in=$ac_file.in ;;
3893 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3894 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3895 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3896 X"$ac_file" : 'X\(//\)[^/]' \| \
3897 X"$ac_file" : 'X\(//\)$' \| \
3898 X"$ac_file" : 'X\(/\)' \| \
3899 . : '\(.\)' 2>/dev/null ||
3901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3902 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3903 /^X\(\/\/\)$/{ s//\1/; q; }
3904 /^X\(\/\).*/{ s//\1/; q; }
3907 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3911 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3912 case $as_mkdir_dir in
3913 # Skip DOS drivespec
3914 ?:) as_incr_dir=$as_mkdir_dir ;;
3916 as_incr_dir=$as_incr_dir/$as_mkdir_dir
3917 test -d "$as_incr_dir" ||
3918 mkdir "$as_incr_dir" ||
3919 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
3920 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
3921 { (exit 1); exit 1; }; }
3928 if test "$ac_dir" != .; then
3929 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3930 # A "../" for each directory in $ac_dir_suffix.
3931 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3933 ac_dir_suffix= ac_top_builddir=
3937 .) # No --srcdir option. We are building in place.
3939 if test -z "$ac_top_builddir"; then
3942 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3944 [\\/]* | ?:[\\/]* ) # Absolute path.
3945 ac_srcdir=$srcdir$ac_dir_suffix;
3946 ac_top_srcdir=$srcdir ;;
3948 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3949 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3951 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3953 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
3954 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
3955 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3956 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
3960 if test x"$ac_file" != x-; then
3961 { echo "$as_me:$LINENO: creating $ac_file" >&5
3962 echo "$as_me: creating $ac_file" >&6;}
3965 # Let's still pretend it is `configure' which instantiates (i.e., don't
3966 # use $as_me), people would be surprised to read:
3967 # /* config.h. Generated by config.status. */
3968 if test x"$ac_file" = x-; then
3971 configure_input="$ac_file. "
3973 configure_input=$configure_input"Generated from `echo $ac_file_in |
3974 sed 's,.*/,,'` by configure."
3976 # First look for the input files in the build tree, otherwise in the
3978 ac_file_inputs=`IFS=:
3979 for f in $ac_file_in; do
3981 -) echo $tmp/stdin ;;
3983 # Absolute (can't be DOS-style, as IFS=:)
3984 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3985 echo "$as_me: error: cannot find input file: $f" >&2;}
3986 { (exit 1); exit 1; }; }
3989 if test -f "$f"; then
3992 elif test -f "$srcdir/$f"; then
3997 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3998 echo "$as_me: error: cannot find input file: $f" >&2;}
3999 { (exit 1); exit 1; }; }
4002 done` || { (exit 1); exit 1; }
4004 cat >>$CONFIG_STATUS <<_ACEOF
4008 cat >>$CONFIG_STATUS <<\_ACEOF
4010 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4011 s,@configure_input@,$configure_input,;t t
4012 s,@srcdir@,$ac_srcdir,;t t
4013 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4014 s,@top_srcdir@,$ac_top_srcdir,;t t
4015 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4016 s,@builddir@,$ac_builddir,;t t
4017 s,@abs_builddir@,$ac_abs_builddir,;t t
4018 s,@top_builddir@,$ac_top_builddir,;t t
4019 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4020 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4022 if test x"$ac_file" != x-; then
4023 mv $tmp/out $ac_file
4032 cat >>$CONFIG_STATUS <<\_ACEOF
4034 { (exit 0); exit 0; }
4036 chmod +x $CONFIG_STATUS
4037 ac_clean_files=$ac_clean_files_save
4040 # configure is writing to config.log, and then calls config.status.
4041 # config.status does its own redirection, appending to config.log.
4042 # Unfortunately, on DOS this fails, as config.log is still kept open
4043 # by configure, so config.status won't be able to write to it; its
4044 # output is simply discarded. So we exec the FD to /dev/null,
4045 # effectively closing config.log, so it can be properly (re)opened and
4046 # appended to by config.status. When coming back to configure, we
4047 # need to make the FD available again.
4048 if test "$no_create" != yes; then
4051 $SHELL $CONFIG_STATUS || ac_cs_success=false
4053 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4054 # would make configure fail if this is the last instruction.
4055 $ac_cs_success || { (exit 1); exit 1; }
4058 ac_config_files="$ac_config_files src/Makefile"
4059 cat >confcache <<\_ACEOF
4060 # This file is a shell script that caches the results of configure
4061 # tests run on this system so they can be shared between configure
4062 # scripts and configure runs, see configure's option --config-cache.
4063 # It is not useful on other systems. If it contains results you don't
4064 # want to keep, you may remove or edit it.
4066 # config.status only pays attention to the cache file if you give it
4067 # the --recheck option to rerun configure.
4069 # `ac_cv_env_foo' variables (set or unset) will be overriden when
4070 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4075 # The following way of writing the cache mishandles newlines in values,
4076 # but we know of no workaround that is simple, portable, and efficient.
4077 # So, don't put newlines in cache variables' values.
4078 # Ultrix sh set writes to stderr and can't be redirected directly,
4079 # and sets the high bit in the cache file unless we assign to the vars.
4082 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4084 # `set' does not quote correctly, so add quotes (double-quote
4085 # substitution turns \\\\ into \\, and sed turns \\ into \).
4088 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4091 # `set' quotes correctly as required by POSIX, so do not add quotes.
4093 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4100 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4102 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4104 if cmp -s $cache_file confcache; then :; else
4105 if test -w $cache_file; then
4106 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4107 cat confcache >$cache_file
4109 echo "not updating unwritable cache $cache_file"
4114 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4115 # Let make expand exec_prefix.
4116 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4118 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4119 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4120 # trailing colons and then remove the whole line if VPATH becomes empty
4121 # (actually we leave an empty line to preserve line numbers).
4122 if test "x$srcdir" = x.; then
4123 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4124 s/:*\$(srcdir):*/:/;
4125 s/:*\${srcdir}:*/:/;
4127 s/^\([^=]*=[ ]*\):*/\1/;
4133 # Transform confdefs.h into DEFS.
4134 # Protect against shell expansion while executing Makefile rules.
4135 # Protect against Makefile macro expansion.
4137 # If the first sed substitution is executed (which looks for macros that
4138 # take arguments), then we branch to the quote section. Otherwise,
4139 # look for a macro that doesn't take arguments.
4140 cat >confdef2opt.sed <<\_ACEOF
4143 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4145 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4149 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4155 # We use echo to avoid assuming a particular line-breaking character.
4156 # The extra dot is to prevent the shell from consuming trailing
4157 # line-breaks from the sub-command output. A line-break within
4158 # single-quotes doesn't work because, if this script is created in a
4159 # platform that uses two characters for line-breaks (e.g., DOS), tr
4161 ac_LF_and_DOT=`echo; echo .`
4162 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4163 rm -f confdef2opt.sed
4167 : ${CONFIG_STATUS=./config.status}
4168 ac_clean_files_save=$ac_clean_files
4169 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4170 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4171 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4172 cat >$CONFIG_STATUS <<_ACEOF
4174 # Generated by $as_me.
4175 # Run this file to recreate the current configuration.
4176 # Compiler output produced by configure, useful for debugging
4177 # configure, is in config.log if it exists.
4180 SHELL=\${CONFIG_SHELL-$SHELL}
4183 cat >>$CONFIG_STATUS <<\_ACEOF
4185 ## --------------------- ##
4186 ## M4sh Initialization. ##
4187 ## --------------------- ##
4189 # Be Bourne compatible
4190 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4193 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4198 # Support unset when possible.
4199 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4205 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
4206 { $as_unset LANG || test "${LANG+set}" != set; } ||
4207 { LANG=C; export LANG; }
4208 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
4209 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
4210 { LC_ALL=C; export LC_ALL; }
4211 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
4212 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
4213 { LC_TIME=C; export LC_TIME; }
4214 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
4215 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
4216 { LC_CTYPE=C; export LC_CTYPE; }
4217 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
4218 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
4219 { LANGUAGE=C; export LANGUAGE; }
4220 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
4221 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
4222 { LC_COLLATE=C; export LC_COLLATE; }
4223 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
4224 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
4225 { LC_NUMERIC=C; export LC_NUMERIC; }
4226 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
4227 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
4228 { LC_MESSAGES=C; export LC_MESSAGES; }
4231 # Name of the executable.
4232 as_me=`(basename "$0") 2>/dev/null ||
4233 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4234 X"$0" : 'X\(//\)$' \| \
4235 X"$0" : 'X\(/\)$' \| \
4236 . : '\(.\)' 2>/dev/null ||
4238 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4239 /^X\/\(\/\/\)$/{ s//\1/; q; }
4240 /^X\/\(\/\).*/{ s//\1/; q; }
4243 # PATH needs CR, and LINENO needs CR and PATH.
4244 # Avoid depending upon Character Ranges.
4245 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4246 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4247 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4248 as_cr_digits='0123456789'
4249 as_cr_alnum=$as_cr_Letters$as_cr_digits
4251 # The user is always right.
4252 if test "${PATH_SEPARATOR+set}" != set; then
4253 echo "#! /bin/sh" >conftest.sh
4254 echo "exit 0" >>conftest.sh
4255 chmod +x conftest.sh
4256 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
4267 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4268 test "x$as_lineno_1" != "x$as_lineno_2" &&
4269 test "x$as_lineno_3" = "x$as_lineno_2" || {
4270 # Find who we are. Look in the path if we contain no path at all
4273 *[\\/]* ) as_myself=$0 ;;
4274 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4278 test -z "$as_dir" && as_dir=.
4279 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4284 # We did not find ourselves, most probably we were run as `sh COMMAND'
4285 # in which case we are not to be found in the path.
4286 if test "x$as_myself" = x; then
4289 if test ! -f "$as_myself"; then
4290 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4291 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4292 { (exit 1); exit 1; }; }
4294 case $CONFIG_SHELL in
4296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4297 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4300 test -z "$as_dir" && as_dir=.
4301 for as_base in sh bash ksh sh5; do
4304 if ("$as_dir/$as_base" -c '
4307 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4308 test "x$as_lineno_1" != "x$as_lineno_2" &&
4309 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4310 CONFIG_SHELL=$as_dir/$as_base
4312 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4320 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4321 # uniformly replaced by the line number. The first 'sed' inserts a
4322 # line-number line before each line; the second 'sed' does the real
4323 # work. The second script uses 'N' to pair each line-number line
4324 # with the numbered line, and appends trailing '-' during
4325 # substitution so that $LINENO is not a special case at line end.
4326 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4327 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4328 sed '=' <$as_myself |
4333 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4336 s,^['$as_cr_digits']*\n,,
4338 chmod +x $as_me.lineno ||
4339 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4340 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4341 { (exit 1); exit 1; }; }
4343 # Don't try to exec as it changes $[0], causing all sort of problems
4344 # (the dirname of $[0] is not the place where we might find the
4345 # original and so on. Autoconf is especially sensible to this).
4347 # Exit status is that of the last command.
4352 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4353 *c*,-n*) ECHO_N= ECHO_C='
4355 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4356 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4359 if expr a : '\(a\)' >/dev/null 2>&1; then
4365 rm -f conf$$ conf$$.exe conf$$.file
4367 if ln -s conf$$.file conf$$ 2>/dev/null; then
4368 # We could just check for DJGPP; but this test a) works b) is more generic
4369 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4370 if test -f conf$$.exe; then
4371 # Don't use ln at all; we don't have any links
4376 elif ln conf$$.file conf$$ 2>/dev/null; then
4381 rm -f conf$$ conf$$.exe conf$$.file
4383 as_executable_p="test -f"
4385 # Sed expression to map a string onto a valid CPP name.
4386 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4388 # Sed expression to map a string onto a valid variable name.
4389 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4393 # We need space, tab and new line, in precisely that order.
4399 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
4403 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4404 # report actual input values of CONFIG_FILES etc. instead of their
4405 # values after options handling. Logging --version etc. is OK.
4409 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4410 ## Running $as_me. ##
4415 This file was extended by Apache Kerberos Module $as_me alpha2, which was
4416 generated by GNU Autoconf 2.53. Invocation command line was
4418 CONFIG_FILES = $CONFIG_FILES
4419 CONFIG_HEADERS = $CONFIG_HEADERS
4420 CONFIG_LINKS = $CONFIG_LINKS
4421 CONFIG_COMMANDS = $CONFIG_COMMANDS
4425 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4429 # Files that config.status was made for.
4430 if test -n "$ac_config_files"; then
4431 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4434 if test -n "$ac_config_headers"; then
4435 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4438 if test -n "$ac_config_links"; then
4439 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4442 if test -n "$ac_config_commands"; then
4443 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4446 cat >>$CONFIG_STATUS <<\_ACEOF
4449 \`$as_me' instantiates files from templates according to the
4450 current configuration.
4452 Usage: $0 [OPTIONS] [FILE]...
4454 -h, --help print this help, then exit
4455 -V, --version print version number, then exit
4456 -d, --debug don't remove temporary files
4457 --recheck update $as_me by reconfiguring in the same conditions
4458 --file=FILE[:TEMPLATE]
4459 instantiate the configuration file FILE
4461 Configuration files:
4464 Report bugs to <bug-autoconf@gnu.org>."
4467 cat >>$CONFIG_STATUS <<_ACEOF
4469 Apache Kerberos Module config.status alpha2
4470 configured by $0, generated by GNU Autoconf 2.53,
4471 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4473 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4474 Free Software Foundation, Inc.
4475 This config.status script is free software; the Free Software Foundation
4476 gives unlimited permission to copy, distribute and modify it."
4480 cat >>$CONFIG_STATUS <<\_ACEOF
4481 # If no file are specified by the user, then we need to provide default
4482 # value. By we need to know if files were specified by the user.
4488 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4489 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4491 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
4495 *) # This is not an option, so the user has probably given explicit
4497 ac_need_defaults=false;;
4501 # Handling of the options.
4503 cat >>$CONFIG_STATUS <<_ACEOF
4504 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4505 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
4506 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
4508 cat >>$CONFIG_STATUS <<\_ACEOF
4509 --version | --vers* | -V )
4510 echo "$ac_cs_version"; exit 0 ;;
4512 # Conflict between --help and --header
4513 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4514 Try \`$0 --help' for more information." >&5
4515 echo "$as_me: error: ambiguous option: $1
4516 Try \`$0 --help' for more information." >&2;}
4517 { (exit 1); exit 1; }; };;
4518 --help | --hel | -h )
4519 echo "$ac_cs_usage"; exit 0 ;;
4520 --debug | --d* | -d )
4522 --file | --fil | --fi | --f )
4524 CONFIG_FILES="$CONFIG_FILES $1"
4525 ac_need_defaults=false;;
4526 --header | --heade | --head | --hea )
4528 CONFIG_HEADERS="$CONFIG_HEADERS $1"
4529 ac_need_defaults=false;;
4532 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4533 Try \`$0 --help' for more information." >&5
4534 echo "$as_me: error: unrecognized option: $1
4535 Try \`$0 --help' for more information." >&2;}
4536 { (exit 1); exit 1; }; } ;;
4538 *) ac_config_targets="$ac_config_targets $1" ;;
4550 cat >>$CONFIG_STATUS <<\_ACEOF
4551 for ac_config_target in $ac_config_targets
4553 case "$ac_config_target" in
4554 # Handling of arguments.
4555 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4556 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4557 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4558 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4559 { (exit 1); exit 1; }; };;
4563 # If the user did not use the arguments to specify the items to instantiate,
4564 # then the envvar interface is used. Set only those that are not.
4565 # We use the long form for the default assignment because of an extremely
4566 # bizarre bug on SunOS 4.1.3.
4567 if $ac_need_defaults; then
4568 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4571 # Create a temporary directory, and hook for its removal unless debugging.
4574 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4575 trap '{ (exit 1); exit 1; }' 1 2 13 15
4578 # Create a (secure) tmp directory for tmp files.
4581 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
4582 test -n "$tmp" && test -d "$tmp"
4585 tmp=$TMPDIR/cs$$-$RANDOM
4586 (umask 077 && mkdir $tmp)
4589 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4590 { (exit 1); exit 1; }
4595 cat >>$CONFIG_STATUS <<_ACEOF
4598 # CONFIG_FILES section.
4601 # No need to generate the scripts if there are no CONFIG_FILES.
4602 # This happens for instance when ./config.status config.h
4603 if test -n "\$CONFIG_FILES"; then
4604 # Protect against being on the right side of a sed subst in config.status.
4605 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4606 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4607 s,@SHELL@,$SHELL,;t t
4608 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4609 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4610 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4611 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4612 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4613 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4614 s,@exec_prefix@,$exec_prefix,;t t
4615 s,@prefix@,$prefix,;t t
4616 s,@program_transform_name@,$program_transform_name,;t t
4617 s,@bindir@,$bindir,;t t
4618 s,@sbindir@,$sbindir,;t t
4619 s,@libexecdir@,$libexecdir,;t t
4620 s,@datadir@,$datadir,;t t
4621 s,@sysconfdir@,$sysconfdir,;t t
4622 s,@sharedstatedir@,$sharedstatedir,;t t
4623 s,@localstatedir@,$localstatedir,;t t
4624 s,@libdir@,$libdir,;t t
4625 s,@includedir@,$includedir,;t t
4626 s,@oldincludedir@,$oldincludedir,;t t
4627 s,@infodir@,$infodir,;t t
4628 s,@mandir@,$mandir,;t t
4629 s,@build_alias@,$build_alias,;t t
4630 s,@host_alias@,$host_alias,;t t
4631 s,@target_alias@,$target_alias,;t t
4633 s,@ECHO_C@,$ECHO_C,;t t
4634 s,@ECHO_N@,$ECHO_N,;t t
4635 s,@ECHO_T@,$ECHO_T,;t t
4638 s,@CFLAGS@,$CFLAGS,;t t
4639 s,@LDFLAGS@,$LDFLAGS,;t t
4640 s,@CPPFLAGS@,$CPPFLAGS,;t t
4641 s,@ac_ct_CC@,$ac_ct_CC,;t t
4642 s,@EXEEXT@,$EXEEXT,;t t
4643 s,@OBJEXT@,$OBJEXT,;t t
4650 cat >>$CONFIG_STATUS <<\_ACEOF
4651 # Split the substitutions into bite-sized pieces for seds with
4652 # small command number limits, like on Digital OSF/1 and HP-UX.
4654 ac_sed_frag=1 # Number of current file.
4655 ac_beg=1 # First line for current file.
4656 ac_end=$ac_max_sed_lines # Line after last line for current file.
4659 while $ac_more_lines; do
4660 if test $ac_beg -gt 1; then
4661 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4663 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4665 if test ! -s $tmp/subs.frag; then
4668 # The purpose of the label and of the branching condition is to
4669 # speed up the sed processing (if there are no `@' at all, there
4670 # is no need to browse any of the substitutions).
4671 # These are the two extra sed commands mentioned above.
4673 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4674 if test -z "$ac_sed_cmds"; then
4675 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4677 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4679 ac_sed_frag=`expr $ac_sed_frag + 1`
4681 ac_end=`expr $ac_end + $ac_max_sed_lines`
4684 if test -z "$ac_sed_cmds"; then
4687 fi # test -n "$CONFIG_FILES"
4690 cat >>$CONFIG_STATUS <<\_ACEOF
4691 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4692 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4694 - | *:- | *:-:* ) # input from stdin
4696 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4697 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4698 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4699 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4700 * ) ac_file_in=$ac_file.in ;;
4703 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4704 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4705 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4706 X"$ac_file" : 'X\(//\)[^/]' \| \
4707 X"$ac_file" : 'X\(//\)$' \| \
4708 X"$ac_file" : 'X\(/\)' \| \
4709 . : '\(.\)' 2>/dev/null ||
4711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4712 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4713 /^X\(\/\/\)$/{ s//\1/; q; }
4714 /^X\(\/\).*/{ s//\1/; q; }
4717 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4721 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4722 case $as_mkdir_dir in
4723 # Skip DOS drivespec
4724 ?:) as_incr_dir=$as_mkdir_dir ;;
4726 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4727 test -d "$as_incr_dir" ||
4728 mkdir "$as_incr_dir" ||
4729 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4730 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4731 { (exit 1); exit 1; }; }
4738 if test "$ac_dir" != .; then
4739 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4740 # A "../" for each directory in $ac_dir_suffix.
4741 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4743 ac_dir_suffix= ac_top_builddir=
4747 .) # No --srcdir option. We are building in place.
4749 if test -z "$ac_top_builddir"; then
4752 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4754 [\\/]* | ?:[\\/]* ) # Absolute path.
4755 ac_srcdir=$srcdir$ac_dir_suffix;
4756 ac_top_srcdir=$srcdir ;;
4758 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4759 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4761 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4763 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4764 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4765 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4766 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4770 if test x"$ac_file" != x-; then
4771 { echo "$as_me:$LINENO: creating $ac_file" >&5
4772 echo "$as_me: creating $ac_file" >&6;}
4775 # Let's still pretend it is `configure' which instantiates (i.e., don't
4776 # use $as_me), people would be surprised to read:
4777 # /* config.h. Generated by config.status. */
4778 if test x"$ac_file" = x-; then
4781 configure_input="$ac_file. "
4783 configure_input=$configure_input"Generated from `echo $ac_file_in |
4784 sed 's,.*/,,'` by configure."
4786 # First look for the input files in the build tree, otherwise in the
4788 ac_file_inputs=`IFS=:
4789 for f in $ac_file_in; do
4791 -) echo $tmp/stdin ;;
4793 # Absolute (can't be DOS-style, as IFS=:)
4794 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4795 echo "$as_me: error: cannot find input file: $f" >&2;}
4796 { (exit 1); exit 1; }; }
4799 if test -f "$f"; then
4802 elif test -f "$srcdir/$f"; then
4807 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4808 echo "$as_me: error: cannot find input file: $f" >&2;}
4809 { (exit 1); exit 1; }; }
4812 done` || { (exit 1); exit 1; }
4814 cat >>$CONFIG_STATUS <<_ACEOF
4818 cat >>$CONFIG_STATUS <<\_ACEOF
4820 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4821 s,@configure_input@,$configure_input,;t t
4822 s,@srcdir@,$ac_srcdir,;t t
4823 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4824 s,@top_srcdir@,$ac_top_srcdir,;t t
4825 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4826 s,@builddir@,$ac_builddir,;t t
4827 s,@abs_builddir@,$ac_abs_builddir,;t t
4828 s,@top_builddir@,$ac_top_builddir,;t t
4829 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4830 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4832 if test x"$ac_file" != x-; then
4833 mv $tmp/out $ac_file
4842 cat >>$CONFIG_STATUS <<\_ACEOF
4844 { (exit 0); exit 0; }
4846 chmod +x $CONFIG_STATUS
4847 ac_clean_files=$ac_clean_files_save
4850 # configure is writing to config.log, and then calls config.status.
4851 # config.status does its own redirection, appending to config.log.
4852 # Unfortunately, on DOS this fails, as config.log is still kept open
4853 # by configure, so config.status won't be able to write to it; its
4854 # output is simply discarded. So we exec the FD to /dev/null,
4855 # effectively closing config.log, so it can be properly (re)opened and
4856 # appended to by config.status. When coming back to configure, we
4857 # need to make the FD available again.
4858 if test "$no_create" != yes; then
4861 $SHELL $CONFIG_STATUS || ac_cs_success=false
4863 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4864 # would make configure fail if this is the last instruction.
4865 $ac_cs_success || { (exit 1); exit 1; }