autoreconf
[mod_auth_kerb.git] / configure
1 #! /bin/sh
2 # From configure.in Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.67 for mod_auth_gssapi 0.1.
5 #
6 # Report bugs to <modauthkerb-developers@lists.sourceforge.net>.
7 #
8 #
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # Foundation, Inc.
12 #
13 #
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
19
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23   emulate sh
24   NULLCMD=:
25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26   # is contrary to our usage.  Disable this feature.
27   alias -g '${1+"$@"}'='"$@"'
28   setopt NO_GLOB_SUBST
29 else
30   case `(set -o) 2>/dev/null` in #(
31   *posix*) :
32     set -o posix ;; #(
33   *) :
34      ;;
35 esac
36 fi
37
38
39 as_nl='
40 '
41 export as_nl
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='print -r --'
51   as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53   as_echo='printf %s\n'
54   as_echo_n='printf %s'
55 else
56   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58     as_echo_n='/usr/ucb/echo -n'
59   else
60     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61     as_echo_n_body='eval
62       arg=$1;
63       case $arg in #(
64       *"$as_nl"*)
65         expr "X$arg" : "X\\(.*\\)$as_nl";
66         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67       esac;
68       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69     '
70     export as_echo_n_body
71     as_echo_n='sh -c $as_echo_n_body as_echo'
72   fi
73   export as_echo_body
74   as_echo='sh -c $as_echo_body as_echo'
75 fi
76
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
79   PATH_SEPARATOR=:
80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82       PATH_SEPARATOR=';'
83   }
84 fi
85
86
87 # IFS
88 # We need space, tab and new line, in precisely that order.  Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
92 IFS=" ""        $as_nl"
93
94 # Find who we are.  Look in the path if we contain no directory separator.
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178   if (eval "$as_required") 2>/dev/null; then :
179   as_have_required=yes
180 else
181   as_have_required=no
182 fi
183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185 else
186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 do
190   IFS=$as_save_IFS
191   test -z "$as_dir" && as_dir=.
192   as_found=:
193   case $as_dir in #(
194          /*)
195            for as_base in sh bash ksh sh5; do
196              # Try only shells that exist, to save several forks.
197              as_shell=$as_dir/$as_base
198              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200   CONFIG_SHELL=$as_shell as_have_required=yes
201                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202   break 2
203 fi
204 fi
205            done;;
206        esac
207   as_found=false
208 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211   CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
214
215
216       if test "x$CONFIG_SHELL" != x; then :
217   # We cannot yet assume a decent shell, so we have to provide a
218         # neutralization value for shells without unset; and this also
219         # works around shells that cannot unset nonexistent variables.
220         BASH_ENV=/dev/null
221         ENV=/dev/null
222         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223         export CONFIG_SHELL
224         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225 fi
226
227     if test x$as_have_required = xno; then :
228   $as_echo "$0: This script requires a shell more modern than all"
229   $as_echo "$0: the shells that I found on your system."
230   if test x${ZSH_VERSION+set} = xset ; then
231     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
232     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233   else
234     $as_echo "$0: Please tell bug-autoconf@gnu.org and
235 $0: modauthkerb-developers@lists.sourceforge.net about your
236 $0: system, including any error possibly output before this
237 $0: message. Then install a modern shell, or manually run
238 $0: the script under such a shell if you do have one."
239   fi
240   exit 1
241 fi
242 fi
243 fi
244 SHELL=${CONFIG_SHELL-/bin/sh}
245 export SHELL
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
249
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
253 # as_fn_unset VAR
254 # ---------------
255 # Portably unset VAR.
256 as_fn_unset ()
257 {
258   { eval $1=; unset $1;}
259 }
260 as_unset=as_fn_unset
261
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
265 as_fn_set_status ()
266 {
267   return $1
268 } # as_fn_set_status
269
270 # as_fn_exit STATUS
271 # -----------------
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
273 as_fn_exit ()
274 {
275   set +e
276   as_fn_set_status $1
277   exit $1
278 } # as_fn_exit
279
280 # as_fn_mkdir_p
281 # -------------
282 # Create "$as_dir" as a directory, including parents if necessary.
283 as_fn_mkdir_p ()
284 {
285
286   case $as_dir in #(
287   -*) as_dir=./$as_dir;;
288   esac
289   test -d "$as_dir" || eval $as_mkdir_p || {
290     as_dirs=
291     while :; do
292       case $as_dir in #(
293       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294       *) as_qdir=$as_dir;;
295       esac
296       as_dirs="'$as_qdir' $as_dirs"
297       as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299          X"$as_dir" : 'X\(//\)[^/]' \| \
300          X"$as_dir" : 'X\(//\)$' \| \
301          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
304             s//\1/
305             q
306           }
307           /^X\(\/\/\)[^/].*/{
308             s//\1/
309             q
310           }
311           /^X\(\/\/\)$/{
312             s//\1/
313             q
314           }
315           /^X\(\/\).*/{
316             s//\1/
317             q
318           }
319           s/.*/./; q'`
320       test -d "$as_dir" && break
321     done
322     test -z "$as_dirs" || eval "mkdir $as_dirs"
323   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
324
325
326 } # as_fn_mkdir_p
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
332 # implementations.
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334   eval 'as_fn_append ()
335   {
336     eval $1+=\$2
337   }'
338 else
339   as_fn_append ()
340   {
341     eval $1=\$$1\$2
342   }
343 fi # as_fn_append
344
345 # as_fn_arith ARG...
346 # ------------------
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351   eval 'as_fn_arith ()
352   {
353     as_val=$(( $* ))
354   }'
355 else
356   as_fn_arith ()
357   {
358     as_val=`expr "$@" || test $? -eq 1`
359   }
360 fi # as_fn_arith
361
362
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
368 as_fn_error ()
369 {
370   as_status=$1; test $as_status -eq 0 && as_status=1
371   if test "$4"; then
372     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374   fi
375   $as_echo "$as_me: error: $2" >&2
376   as_fn_exit $as_status
377 } # as_fn_error
378
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380    test "X`expr 00001 : '.*\(...\)'`" = X001; then
381   as_expr=expr
382 else
383   as_expr=false
384 fi
385
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387   as_basename=basename
388 else
389   as_basename=false
390 fi
391
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393   as_dirname=dirname
394 else
395   as_dirname=false
396 fi
397
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400          X"$0" : 'X\(//\)$' \| \
401          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 $as_echo X/"$0" |
403     sed '/^.*\/\([^/][^/]*\)\/*$/{
404             s//\1/
405             q
406           }
407           /^X\/\(\/\/\)$/{
408             s//\1/
409             q
410           }
411           /^X\/\(\/\).*/{
412             s//\1/
413             q
414           }
415           s/.*/./; q'`
416
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
423
424
425   as_lineno_1=$LINENO as_lineno_1a=$LINENO
426   as_lineno_2=$LINENO as_lineno_2a=$LINENO
427   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
430   sed -n '
431     p
432     /[$]LINENO/=
433   ' <$as_myself |
434     sed '
435       s/[$]LINENO.*/&-/
436       t lineno
437       b
438       :lineno
439       N
440       :loop
441       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442       t loop
443       s/-\n.*//
444     ' >$as_me.lineno &&
445   chmod +x "$as_me.lineno" ||
446     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
448   # Don't try to exec as it changes $[0], causing all sort of problems
449   # (the dirname of $[0] is not the place where we might find the
450   # original and so on.  Autoconf is especially sensitive to this).
451   . "./$as_me.lineno"
452   # Exit status is that of the last command.
453   exit
454 }
455
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
458 -n*)
459   case `echo 'xy\c'` in
460   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
461   xy)  ECHO_C='\c';;
462   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
463        ECHO_T=' ';;
464   esac;;
465 *)
466   ECHO_N='-n';;
467 esac
468
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471   rm -f conf$$.dir/conf$$.file
472 else
473   rm -f conf$$.dir
474   mkdir conf$$.dir 2>/dev/null
475 fi
476 if (echo >conf$$.file) 2>/dev/null; then
477   if ln -s conf$$.file conf$$ 2>/dev/null; then
478     as_ln_s='ln -s'
479     # ... but there are two gotchas:
480     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482     # In both cases, we have to default to `cp -p'.
483     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484       as_ln_s='cp -p'
485   elif ln conf$$.file conf$$ 2>/dev/null; then
486     as_ln_s=ln
487   else
488     as_ln_s='cp -p'
489   fi
490 else
491   as_ln_s='cp -p'
492 fi
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
495
496 if mkdir -p . 2>/dev/null; then
497   as_mkdir_p='mkdir -p "$as_dir"'
498 else
499   test -d ./-p && rmdir ./-p
500   as_mkdir_p=false
501 fi
502
503 if test -x / >/dev/null 2>&1; then
504   as_test_x='test -x'
505 else
506   if ls -dL / >/dev/null 2>&1; then
507     as_ls_L_option=L
508   else
509     as_ls_L_option=
510   fi
511   as_test_x='
512     eval sh -c '\''
513       if test -d "$1"; then
514         test -d "$1/.";
515       else
516         case $1 in #(
517         -*)set "./$1";;
518         esac;
519         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520         ???[sx]*):;;*)false;;esac;fi
521     '\'' sh
522   '
523 fi
524 as_executable_p=$as_test_x
525
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531
532
533 test -n "$DJDIR" || exec 7<&0 </dev/null
534 exec 6>&1
535
536 # Name of the host.
537 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
538 # so uname gets run too.
539 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540
541 #
542 # Initializations.
543 #
544 ac_default_prefix=/usr/local
545 ac_clean_files=
546 ac_config_libobj_dir=.
547 LIBOBJS=
548 cross_compiling=no
549 subdirs=
550 MFLAGS=
551 MAKEFLAGS=
552
553 # Identity of this package.
554 PACKAGE_NAME='mod_auth_gssapi'
555 PACKAGE_TARNAME='mod_auth_gssapi'
556 PACKAGE_VERSION='0.1'
557 PACKAGE_STRING='mod_auth_gssapi 0.1'
558 PACKAGE_BUGREPORT='modauthkerb-developers@lists.sourceforge.net'
559 PACKAGE_URL=''
560
561 ac_unique_file="mod_auth_gssapi.c"
562 # Factoring default headers for most tests.
563 ac_includes_default="\
564 #include <stdio.h>
565 #ifdef HAVE_SYS_TYPES_H
566 # include <sys/types.h>
567 #endif
568 #ifdef HAVE_SYS_STAT_H
569 # include <sys/stat.h>
570 #endif
571 #ifdef STDC_HEADERS
572 # include <stdlib.h>
573 # include <stddef.h>
574 #else
575 # ifdef HAVE_STDLIB_H
576 #  include <stdlib.h>
577 # endif
578 #endif
579 #ifdef HAVE_STRING_H
580 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #  include <memory.h>
582 # endif
583 # include <string.h>
584 #endif
585 #ifdef HAVE_STRINGS_H
586 # include <strings.h>
587 #endif
588 #ifdef HAVE_INTTYPES_H
589 # include <inttypes.h>
590 #endif
591 #ifdef HAVE_STDINT_H
592 # include <stdint.h>
593 #endif
594 #ifdef HAVE_UNISTD_H
595 # include <unistd.h>
596 #endif"
597
598 ac_subst_vars='LTLIBOBJS
599 LIBOBJS
600 APXS
601 SPNEGO_SRCS
602 GSS_LDFLAGS
603 GSS_CPPFLAGS
604 EGREP
605 GREP
606 CPP
607 SET_MAKE
608 OBJEXT
609 EXEEXT
610 ac_ct_CC
611 CPPFLAGS
612 LDFLAGS
613 CFLAGS
614 CC
615 target_alias
616 host_alias
617 build_alias
618 LIBS
619 ECHO_T
620 ECHO_N
621 ECHO_C
622 DEFS
623 mandir
624 localedir
625 libdir
626 psdir
627 pdfdir
628 dvidir
629 htmldir
630 infodir
631 docdir
632 oldincludedir
633 includedir
634 localstatedir
635 sharedstatedir
636 sysconfdir
637 datadir
638 datarootdir
639 libexecdir
640 sbindir
641 bindir
642 program_transform_name
643 prefix
644 exec_prefix
645 PACKAGE_URL
646 PACKAGE_BUGREPORT
647 PACKAGE_STRING
648 PACKAGE_VERSION
649 PACKAGE_TARNAME
650 PACKAGE_NAME
651 PATH_SEPARATOR
652 SHELL'
653 ac_subst_files=''
654 ac_user_opts='
655 enable_option_checking
656 with_gss
657 with_apache
658 '
659       ac_precious_vars='build_alias
660 host_alias
661 target_alias
662 CC
663 CFLAGS
664 LDFLAGS
665 LIBS
666 CPPFLAGS
667 CPP'
668
669
670 # Initialize some variables set by options.
671 ac_init_help=
672 ac_init_version=false
673 ac_unrecognized_opts=
674 ac_unrecognized_sep=
675 # The variables have the same names as the options, with
676 # dashes changed to underlines.
677 cache_file=/dev/null
678 exec_prefix=NONE
679 no_create=
680 no_recursion=
681 prefix=NONE
682 program_prefix=NONE
683 program_suffix=NONE
684 program_transform_name=s,x,x,
685 silent=
686 site=
687 srcdir=
688 verbose=
689 x_includes=NONE
690 x_libraries=NONE
691
692 # Installation directory options.
693 # These are left unexpanded so users can "make install exec_prefix=/foo"
694 # and all the variables that are supposed to be based on exec_prefix
695 # by default will actually change.
696 # Use braces instead of parens because sh, perl, etc. also accept them.
697 # (The list follows the same order as the GNU Coding Standards.)
698 bindir='${exec_prefix}/bin'
699 sbindir='${exec_prefix}/sbin'
700 libexecdir='${exec_prefix}/libexec'
701 datarootdir='${prefix}/share'
702 datadir='${datarootdir}'
703 sysconfdir='${prefix}/etc'
704 sharedstatedir='${prefix}/com'
705 localstatedir='${prefix}/var'
706 includedir='${prefix}/include'
707 oldincludedir='/usr/include'
708 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
709 infodir='${datarootdir}/info'
710 htmldir='${docdir}'
711 dvidir='${docdir}'
712 pdfdir='${docdir}'
713 psdir='${docdir}'
714 libdir='${exec_prefix}/lib'
715 localedir='${datarootdir}/locale'
716 mandir='${datarootdir}/man'
717
718 ac_prev=
719 ac_dashdash=
720 for ac_option
721 do
722   # If the previous option needs an argument, assign it.
723   if test -n "$ac_prev"; then
724     eval $ac_prev=\$ac_option
725     ac_prev=
726     continue
727   fi
728
729   case $ac_option in
730   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
731   *=)   ac_optarg= ;;
732   *)    ac_optarg=yes ;;
733   esac
734
735   # Accept the important Cygnus configure options, so we can diagnose typos.
736
737   case $ac_dashdash$ac_option in
738   --)
739     ac_dashdash=yes ;;
740
741   -bindir | --bindir | --bindi | --bind | --bin | --bi)
742     ac_prev=bindir ;;
743   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
744     bindir=$ac_optarg ;;
745
746   -build | --build | --buil | --bui | --bu)
747     ac_prev=build_alias ;;
748   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
749     build_alias=$ac_optarg ;;
750
751   -cache-file | --cache-file | --cache-fil | --cache-fi \
752   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
753     ac_prev=cache_file ;;
754   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
755   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
756     cache_file=$ac_optarg ;;
757
758   --config-cache | -C)
759     cache_file=config.cache ;;
760
761   -datadir | --datadir | --datadi | --datad)
762     ac_prev=datadir ;;
763   -datadir=* | --datadir=* | --datadi=* | --datad=*)
764     datadir=$ac_optarg ;;
765
766   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
767   | --dataroo | --dataro | --datar)
768     ac_prev=datarootdir ;;
769   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
770   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
771     datarootdir=$ac_optarg ;;
772
773   -disable-* | --disable-*)
774     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
775     # Reject names that are not valid shell variable names.
776     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
777       as_fn_error $? "invalid feature name: $ac_useropt"
778     ac_useropt_orig=$ac_useropt
779     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
780     case $ac_user_opts in
781       *"
782 "enable_$ac_useropt"
783 "*) ;;
784       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
785          ac_unrecognized_sep=', ';;
786     esac
787     eval enable_$ac_useropt=no ;;
788
789   -docdir | --docdir | --docdi | --doc | --do)
790     ac_prev=docdir ;;
791   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
792     docdir=$ac_optarg ;;
793
794   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
795     ac_prev=dvidir ;;
796   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
797     dvidir=$ac_optarg ;;
798
799   -enable-* | --enable-*)
800     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
801     # Reject names that are not valid shell variable names.
802     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
803       as_fn_error $? "invalid feature name: $ac_useropt"
804     ac_useropt_orig=$ac_useropt
805     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
806     case $ac_user_opts in
807       *"
808 "enable_$ac_useropt"
809 "*) ;;
810       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
811          ac_unrecognized_sep=', ';;
812     esac
813     eval enable_$ac_useropt=\$ac_optarg ;;
814
815   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
816   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
817   | --exec | --exe | --ex)
818     ac_prev=exec_prefix ;;
819   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
820   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
821   | --exec=* | --exe=* | --ex=*)
822     exec_prefix=$ac_optarg ;;
823
824   -gas | --gas | --ga | --g)
825     # Obsolete; use --with-gas.
826     with_gas=yes ;;
827
828   -help | --help | --hel | --he | -h)
829     ac_init_help=long ;;
830   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
831     ac_init_help=recursive ;;
832   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
833     ac_init_help=short ;;
834
835   -host | --host | --hos | --ho)
836     ac_prev=host_alias ;;
837   -host=* | --host=* | --hos=* | --ho=*)
838     host_alias=$ac_optarg ;;
839
840   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
841     ac_prev=htmldir ;;
842   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
843   | --ht=*)
844     htmldir=$ac_optarg ;;
845
846   -includedir | --includedir | --includedi | --included | --include \
847   | --includ | --inclu | --incl | --inc)
848     ac_prev=includedir ;;
849   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
850   | --includ=* | --inclu=* | --incl=* | --inc=*)
851     includedir=$ac_optarg ;;
852
853   -infodir | --infodir | --infodi | --infod | --info | --inf)
854     ac_prev=infodir ;;
855   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
856     infodir=$ac_optarg ;;
857
858   -libdir | --libdir | --libdi | --libd)
859     ac_prev=libdir ;;
860   -libdir=* | --libdir=* | --libdi=* | --libd=*)
861     libdir=$ac_optarg ;;
862
863   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
864   | --libexe | --libex | --libe)
865     ac_prev=libexecdir ;;
866   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
867   | --libexe=* | --libex=* | --libe=*)
868     libexecdir=$ac_optarg ;;
869
870   -localedir | --localedir | --localedi | --localed | --locale)
871     ac_prev=localedir ;;
872   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
873     localedir=$ac_optarg ;;
874
875   -localstatedir | --localstatedir | --localstatedi | --localstated \
876   | --localstate | --localstat | --localsta | --localst | --locals)
877     ac_prev=localstatedir ;;
878   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
879   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
880     localstatedir=$ac_optarg ;;
881
882   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
883     ac_prev=mandir ;;
884   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
885     mandir=$ac_optarg ;;
886
887   -nfp | --nfp | --nf)
888     # Obsolete; use --without-fp.
889     with_fp=no ;;
890
891   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
892   | --no-cr | --no-c | -n)
893     no_create=yes ;;
894
895   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
896   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
897     no_recursion=yes ;;
898
899   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
900   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
901   | --oldin | --oldi | --old | --ol | --o)
902     ac_prev=oldincludedir ;;
903   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
904   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
905   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
906     oldincludedir=$ac_optarg ;;
907
908   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
909     ac_prev=prefix ;;
910   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
911     prefix=$ac_optarg ;;
912
913   -program-prefix | --program-prefix | --program-prefi | --program-pref \
914   | --program-pre | --program-pr | --program-p)
915     ac_prev=program_prefix ;;
916   -program-prefix=* | --program-prefix=* | --program-prefi=* \
917   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
918     program_prefix=$ac_optarg ;;
919
920   -program-suffix | --program-suffix | --program-suffi | --program-suff \
921   | --program-suf | --program-su | --program-s)
922     ac_prev=program_suffix ;;
923   -program-suffix=* | --program-suffix=* | --program-suffi=* \
924   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
925     program_suffix=$ac_optarg ;;
926
927   -program-transform-name | --program-transform-name \
928   | --program-transform-nam | --program-transform-na \
929   | --program-transform-n | --program-transform- \
930   | --program-transform | --program-transfor \
931   | --program-transfo | --program-transf \
932   | --program-trans | --program-tran \
933   | --progr-tra | --program-tr | --program-t)
934     ac_prev=program_transform_name ;;
935   -program-transform-name=* | --program-transform-name=* \
936   | --program-transform-nam=* | --program-transform-na=* \
937   | --program-transform-n=* | --program-transform-=* \
938   | --program-transform=* | --program-transfor=* \
939   | --program-transfo=* | --program-transf=* \
940   | --program-trans=* | --program-tran=* \
941   | --progr-tra=* | --program-tr=* | --program-t=*)
942     program_transform_name=$ac_optarg ;;
943
944   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
945     ac_prev=pdfdir ;;
946   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
947     pdfdir=$ac_optarg ;;
948
949   -psdir | --psdir | --psdi | --psd | --ps)
950     ac_prev=psdir ;;
951   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
952     psdir=$ac_optarg ;;
953
954   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
955   | -silent | --silent | --silen | --sile | --sil)
956     silent=yes ;;
957
958   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
959     ac_prev=sbindir ;;
960   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
961   | --sbi=* | --sb=*)
962     sbindir=$ac_optarg ;;
963
964   -sharedstatedir | --sharedstatedir | --sharedstatedi \
965   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
966   | --sharedst | --shareds | --shared | --share | --shar \
967   | --sha | --sh)
968     ac_prev=sharedstatedir ;;
969   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
970   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
971   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
972   | --sha=* | --sh=*)
973     sharedstatedir=$ac_optarg ;;
974
975   -site | --site | --sit)
976     ac_prev=site ;;
977   -site=* | --site=* | --sit=*)
978     site=$ac_optarg ;;
979
980   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
981     ac_prev=srcdir ;;
982   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
983     srcdir=$ac_optarg ;;
984
985   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
986   | --syscon | --sysco | --sysc | --sys | --sy)
987     ac_prev=sysconfdir ;;
988   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
989   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
990     sysconfdir=$ac_optarg ;;
991
992   -target | --target | --targe | --targ | --tar | --ta | --t)
993     ac_prev=target_alias ;;
994   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
995     target_alias=$ac_optarg ;;
996
997   -v | -verbose | --verbose | --verbos | --verbo | --verb)
998     verbose=yes ;;
999
1000   -version | --version | --versio | --versi | --vers | -V)
1001     ac_init_version=: ;;
1002
1003   -with-* | --with-*)
1004     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1005     # Reject names that are not valid shell variable names.
1006     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1007       as_fn_error $? "invalid package name: $ac_useropt"
1008     ac_useropt_orig=$ac_useropt
1009     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1010     case $ac_user_opts in
1011       *"
1012 "with_$ac_useropt"
1013 "*) ;;
1014       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1015          ac_unrecognized_sep=', ';;
1016     esac
1017     eval with_$ac_useropt=\$ac_optarg ;;
1018
1019   -without-* | --without-*)
1020     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1021     # Reject names that are not valid shell variable names.
1022     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023       as_fn_error $? "invalid package name: $ac_useropt"
1024     ac_useropt_orig=$ac_useropt
1025     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026     case $ac_user_opts in
1027       *"
1028 "with_$ac_useropt"
1029 "*) ;;
1030       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1031          ac_unrecognized_sep=', ';;
1032     esac
1033     eval with_$ac_useropt=no ;;
1034
1035   --x)
1036     # Obsolete; use --with-x.
1037     with_x=yes ;;
1038
1039   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1040   | --x-incl | --x-inc | --x-in | --x-i)
1041     ac_prev=x_includes ;;
1042   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1043   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1044     x_includes=$ac_optarg ;;
1045
1046   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1047   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1048     ac_prev=x_libraries ;;
1049   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1050   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1051     x_libraries=$ac_optarg ;;
1052
1053   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1054 Try \`$0 --help' for more information"
1055     ;;
1056
1057   *=*)
1058     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1059     # Reject names that are not valid shell variable names.
1060     case $ac_envvar in #(
1061       '' | [0-9]* | *[!_$as_cr_alnum]* )
1062       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1063     esac
1064     eval $ac_envvar=\$ac_optarg
1065     export $ac_envvar ;;
1066
1067   *)
1068     # FIXME: should be removed in autoconf 3.0.
1069     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1070     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1071       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1072     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1073     ;;
1074
1075   esac
1076 done
1077
1078 if test -n "$ac_prev"; then
1079   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1080   as_fn_error $? "missing argument to $ac_option"
1081 fi
1082
1083 if test -n "$ac_unrecognized_opts"; then
1084   case $enable_option_checking in
1085     no) ;;
1086     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1087     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1088   esac
1089 fi
1090
1091 # Check all directory arguments for consistency.
1092 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1093                 datadir sysconfdir sharedstatedir localstatedir includedir \
1094                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1095                 libdir localedir mandir
1096 do
1097   eval ac_val=\$$ac_var
1098   # Remove trailing slashes.
1099   case $ac_val in
1100     */ )
1101       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1102       eval $ac_var=\$ac_val;;
1103   esac
1104   # Be sure to have absolute directory names.
1105   case $ac_val in
1106     [\\/$]* | ?:[\\/]* )  continue;;
1107     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1108   esac
1109   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1110 done
1111
1112 # There might be people who depend on the old broken behavior: `$host'
1113 # used to hold the argument of --host etc.
1114 # FIXME: To remove some day.
1115 build=$build_alias
1116 host=$host_alias
1117 target=$target_alias
1118
1119 # FIXME: To remove some day.
1120 if test "x$host_alias" != x; then
1121   if test "x$build_alias" = x; then
1122     cross_compiling=maybe
1123     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1124     If a cross compiler is detected then cross compile mode will be used" >&2
1125   elif test "x$build_alias" != "x$host_alias"; then
1126     cross_compiling=yes
1127   fi
1128 fi
1129
1130 ac_tool_prefix=
1131 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1132
1133 test "$silent" = yes && exec 6>/dev/null
1134
1135
1136 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1137 ac_ls_di=`ls -di .` &&
1138 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1139   as_fn_error $? "working directory cannot be determined"
1140 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1141   as_fn_error $? "pwd does not report name of working directory"
1142
1143
1144 # Find the source files, if location was not specified.
1145 if test -z "$srcdir"; then
1146   ac_srcdir_defaulted=yes
1147   # Try the directory containing this script, then the parent directory.
1148   ac_confdir=`$as_dirname -- "$as_myself" ||
1149 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1150          X"$as_myself" : 'X\(//\)[^/]' \| \
1151          X"$as_myself" : 'X\(//\)$' \| \
1152          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1153 $as_echo X"$as_myself" |
1154     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1155             s//\1/
1156             q
1157           }
1158           /^X\(\/\/\)[^/].*/{
1159             s//\1/
1160             q
1161           }
1162           /^X\(\/\/\)$/{
1163             s//\1/
1164             q
1165           }
1166           /^X\(\/\).*/{
1167             s//\1/
1168             q
1169           }
1170           s/.*/./; q'`
1171   srcdir=$ac_confdir
1172   if test ! -r "$srcdir/$ac_unique_file"; then
1173     srcdir=..
1174   fi
1175 else
1176   ac_srcdir_defaulted=no
1177 fi
1178 if test ! -r "$srcdir/$ac_unique_file"; then
1179   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1180   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1181 fi
1182 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1183 ac_abs_confdir=`(
1184         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1185         pwd)`
1186 # When building in place, set srcdir=.
1187 if test "$ac_abs_confdir" = "$ac_pwd"; then
1188   srcdir=.
1189 fi
1190 # Remove unnecessary trailing slashes from srcdir.
1191 # Double slashes in file names in object file debugging info
1192 # mess up M-x gdb in Emacs.
1193 case $srcdir in
1194 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1195 esac
1196 for ac_var in $ac_precious_vars; do
1197   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1198   eval ac_env_${ac_var}_value=\$${ac_var}
1199   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1200   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1201 done
1202
1203 #
1204 # Report the --help message.
1205 #
1206 if test "$ac_init_help" = "long"; then
1207   # Omit some internal or obsolete options to make the list less imposing.
1208   # This message is too long to be a string in the A/UX 3.1 sh.
1209   cat <<_ACEOF
1210 \`configure' configures mod_auth_gssapi 0.1 to adapt to many kinds of systems.
1211
1212 Usage: $0 [OPTION]... [VAR=VALUE]...
1213
1214 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1215 VAR=VALUE.  See below for descriptions of some of the useful variables.
1216
1217 Defaults for the options are specified in brackets.
1218
1219 Configuration:
1220   -h, --help              display this help and exit
1221       --help=short        display options specific to this package
1222       --help=recursive    display the short help of all the included packages
1223   -V, --version           display version information and exit
1224   -q, --quiet, --silent   do not print \`checking ...' messages
1225       --cache-file=FILE   cache test results in FILE [disabled]
1226   -C, --config-cache      alias for \`--cache-file=config.cache'
1227   -n, --no-create         do not create output files
1228       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1229
1230 Installation directories:
1231   --prefix=PREFIX         install architecture-independent files in PREFIX
1232                           [$ac_default_prefix]
1233   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1234                           [PREFIX]
1235
1236 By default, \`make install' will install all the files in
1237 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1238 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1239 for instance \`--prefix=\$HOME'.
1240
1241 For better control, use the options below.
1242
1243 Fine tuning of the installation directories:
1244   --bindir=DIR            user executables [EPREFIX/bin]
1245   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1246   --libexecdir=DIR        program executables [EPREFIX/libexec]
1247   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1248   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1249   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1250   --libdir=DIR            object code libraries [EPREFIX/lib]
1251   --includedir=DIR        C header files [PREFIX/include]
1252   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1253   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1254   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1255   --infodir=DIR           info documentation [DATAROOTDIR/info]
1256   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1257   --mandir=DIR            man documentation [DATAROOTDIR/man]
1258   --docdir=DIR            documentation root [DATAROOTDIR/doc/mod_auth_gssapi]
1259   --htmldir=DIR           html documentation [DOCDIR]
1260   --dvidir=DIR            dvi documentation [DOCDIR]
1261   --pdfdir=DIR            pdf documentation [DOCDIR]
1262   --psdir=DIR             ps documentation [DOCDIR]
1263 _ACEOF
1264
1265   cat <<\_ACEOF
1266 _ACEOF
1267 fi
1268
1269 if test -n "$ac_init_help"; then
1270   case $ac_init_help in
1271      short | recursive ) echo "Configuration of mod_auth_gssapi 0.1:";;
1272    esac
1273   cat <<\_ACEOF
1274
1275 Optional Packages:
1276   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1277   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1278   --with-gss=dir          use gss in dir
1279   --with-apache=dir       use apache in dir
1280
1281 Some influential environment variables:
1282   CC          C compiler command
1283   CFLAGS      C compiler flags
1284   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1285               nonstandard directory <lib dir>
1286   LIBS        libraries to pass to the linker, e.g. -l<library>
1287   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1288               you have headers in a nonstandard directory <include dir>
1289   CPP         C preprocessor
1290
1291 Use these variables to override the choices made by `configure' or to help
1292 it to find libraries and programs with nonstandard names/locations.
1293
1294 Report bugs to <modauthkerb-developers@lists.sourceforge.net>.
1295 _ACEOF
1296 ac_status=$?
1297 fi
1298
1299 if test "$ac_init_help" = "recursive"; then
1300   # If there are subdirs, report their specific --help.
1301   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1302     test -d "$ac_dir" ||
1303       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1304       continue
1305     ac_builddir=.
1306
1307 case "$ac_dir" in
1308 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1309 *)
1310   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1311   # A ".." for each directory in $ac_dir_suffix.
1312   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1313   case $ac_top_builddir_sub in
1314   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1315   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1316   esac ;;
1317 esac
1318 ac_abs_top_builddir=$ac_pwd
1319 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1320 # for backward compatibility:
1321 ac_top_builddir=$ac_top_build_prefix
1322
1323 case $srcdir in
1324   .)  # We are building in place.
1325     ac_srcdir=.
1326     ac_top_srcdir=$ac_top_builddir_sub
1327     ac_abs_top_srcdir=$ac_pwd ;;
1328   [\\/]* | ?:[\\/]* )  # Absolute name.
1329     ac_srcdir=$srcdir$ac_dir_suffix;
1330     ac_top_srcdir=$srcdir
1331     ac_abs_top_srcdir=$srcdir ;;
1332   *) # Relative name.
1333     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1334     ac_top_srcdir=$ac_top_build_prefix$srcdir
1335     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1336 esac
1337 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1338
1339     cd "$ac_dir" || { ac_status=$?; continue; }
1340     # Check for guested configure.
1341     if test -f "$ac_srcdir/configure.gnu"; then
1342       echo &&
1343       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1344     elif test -f "$ac_srcdir/configure"; then
1345       echo &&
1346       $SHELL "$ac_srcdir/configure" --help=recursive
1347     else
1348       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1349     fi || ac_status=$?
1350     cd "$ac_pwd" || { ac_status=$?; break; }
1351   done
1352 fi
1353
1354 test -n "$ac_init_help" && exit $ac_status
1355 if $ac_init_version; then
1356   cat <<\_ACEOF
1357 mod_auth_gssapi configure 0.1
1358 generated by GNU Autoconf 2.67
1359
1360 Copyright (C) 2010 Free Software Foundation, Inc.
1361 This configure script is free software; the Free Software Foundation
1362 gives unlimited permission to copy, distribute and modify it.
1363 _ACEOF
1364   exit
1365 fi
1366
1367 ## ------------------------ ##
1368 ## Autoconf initialization. ##
1369 ## ------------------------ ##
1370
1371 # ac_fn_c_try_compile LINENO
1372 # --------------------------
1373 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1374 ac_fn_c_try_compile ()
1375 {
1376   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1377   rm -f conftest.$ac_objext
1378   if { { ac_try="$ac_compile"
1379 case "(($ac_try" in
1380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1381   *) ac_try_echo=$ac_try;;
1382 esac
1383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1384 $as_echo "$ac_try_echo"; } >&5
1385   (eval "$ac_compile") 2>conftest.err
1386   ac_status=$?
1387   if test -s conftest.err; then
1388     grep -v '^ *+' conftest.err >conftest.er1
1389     cat conftest.er1 >&5
1390     mv -f conftest.er1 conftest.err
1391   fi
1392   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1393   test $ac_status = 0; } && {
1394          test -z "$ac_c_werror_flag" ||
1395          test ! -s conftest.err
1396        } && test -s conftest.$ac_objext; then :
1397   ac_retval=0
1398 else
1399   $as_echo "$as_me: failed program was:" >&5
1400 sed 's/^/| /' conftest.$ac_ext >&5
1401
1402         ac_retval=1
1403 fi
1404   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1405   as_fn_set_status $ac_retval
1406
1407 } # ac_fn_c_try_compile
1408
1409 # ac_fn_c_try_cpp LINENO
1410 # ----------------------
1411 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1412 ac_fn_c_try_cpp ()
1413 {
1414   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1415   if { { ac_try="$ac_cpp conftest.$ac_ext"
1416 case "(($ac_try" in
1417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1418   *) ac_try_echo=$ac_try;;
1419 esac
1420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1421 $as_echo "$ac_try_echo"; } >&5
1422   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1423   ac_status=$?
1424   if test -s conftest.err; then
1425     grep -v '^ *+' conftest.err >conftest.er1
1426     cat conftest.er1 >&5
1427     mv -f conftest.er1 conftest.err
1428   fi
1429   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1430   test $ac_status = 0; } > conftest.i && {
1431          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1432          test ! -s conftest.err
1433        }; then :
1434   ac_retval=0
1435 else
1436   $as_echo "$as_me: failed program was:" >&5
1437 sed 's/^/| /' conftest.$ac_ext >&5
1438
1439     ac_retval=1
1440 fi
1441   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1442   as_fn_set_status $ac_retval
1443
1444 } # ac_fn_c_try_cpp
1445
1446 # ac_fn_c_try_run LINENO
1447 # ----------------------
1448 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1449 # that executables *can* be run.
1450 ac_fn_c_try_run ()
1451 {
1452   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1453   if { { ac_try="$ac_link"
1454 case "(($ac_try" in
1455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1456   *) ac_try_echo=$ac_try;;
1457 esac
1458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1459 $as_echo "$ac_try_echo"; } >&5
1460   (eval "$ac_link") 2>&5
1461   ac_status=$?
1462   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1463   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1464   { { case "(($ac_try" in
1465   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1466   *) ac_try_echo=$ac_try;;
1467 esac
1468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1469 $as_echo "$ac_try_echo"; } >&5
1470   (eval "$ac_try") 2>&5
1471   ac_status=$?
1472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1473   test $ac_status = 0; }; }; then :
1474   ac_retval=0
1475 else
1476   $as_echo "$as_me: program exited with status $ac_status" >&5
1477        $as_echo "$as_me: failed program was:" >&5
1478 sed 's/^/| /' conftest.$ac_ext >&5
1479
1480        ac_retval=$ac_status
1481 fi
1482   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1483   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1484   as_fn_set_status $ac_retval
1485
1486 } # ac_fn_c_try_run
1487
1488 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1489 # -------------------------------------------------------
1490 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1491 # the include files in INCLUDES and setting the cache variable VAR
1492 # accordingly.
1493 ac_fn_c_check_header_mongrel ()
1494 {
1495   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1496   if eval "test \"\${$3+set}\"" = set; then :
1497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1498 $as_echo_n "checking for $2... " >&6; }
1499 if eval "test \"\${$3+set}\"" = set; then :
1500   $as_echo_n "(cached) " >&6
1501 fi
1502 eval ac_res=\$$3
1503                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1504 $as_echo "$ac_res" >&6; }
1505 else
1506   # Is the header compilable?
1507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1508 $as_echo_n "checking $2 usability... " >&6; }
1509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1510 /* end confdefs.h.  */
1511 $4
1512 #include <$2>
1513 _ACEOF
1514 if ac_fn_c_try_compile "$LINENO"; then :
1515   ac_header_compiler=yes
1516 else
1517   ac_header_compiler=no
1518 fi
1519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1521 $as_echo "$ac_header_compiler" >&6; }
1522
1523 # Is the header present?
1524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1525 $as_echo_n "checking $2 presence... " >&6; }
1526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1527 /* end confdefs.h.  */
1528 #include <$2>
1529 _ACEOF
1530 if ac_fn_c_try_cpp "$LINENO"; then :
1531   ac_header_preproc=yes
1532 else
1533   ac_header_preproc=no
1534 fi
1535 rm -f conftest.err conftest.i conftest.$ac_ext
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1537 $as_echo "$ac_header_preproc" >&6; }
1538
1539 # So?  What about this header?
1540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1541   yes:no: )
1542     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1543 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1544     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1545 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1546     ;;
1547   no:yes:* )
1548     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1549 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1550     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1551 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1552     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1553 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1554     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1555 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1556     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1557 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1558 ( $as_echo "## ----------------------------------------------------------- ##
1559 ## Report this to modauthkerb-developers@lists.sourceforge.net ##
1560 ## ----------------------------------------------------------- ##"
1561      ) | sed "s/^/$as_me: WARNING:     /" >&2
1562     ;;
1563 esac
1564   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1565 $as_echo_n "checking for $2... " >&6; }
1566 if eval "test \"\${$3+set}\"" = set; then :
1567   $as_echo_n "(cached) " >&6
1568 else
1569   eval "$3=\$ac_header_compiler"
1570 fi
1571 eval ac_res=\$$3
1572                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1573 $as_echo "$ac_res" >&6; }
1574 fi
1575   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1576
1577 } # ac_fn_c_check_header_mongrel
1578
1579 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1580 # -------------------------------------------------------
1581 # Tests whether HEADER exists and can be compiled using the include files in
1582 # INCLUDES, setting the cache variable VAR accordingly.
1583 ac_fn_c_check_header_compile ()
1584 {
1585   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1587 $as_echo_n "checking for $2... " >&6; }
1588 if eval "test \"\${$3+set}\"" = set; then :
1589   $as_echo_n "(cached) " >&6
1590 else
1591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1592 /* end confdefs.h.  */
1593 $4
1594 #include <$2>
1595 _ACEOF
1596 if ac_fn_c_try_compile "$LINENO"; then :
1597   eval "$3=yes"
1598 else
1599   eval "$3=no"
1600 fi
1601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1602 fi
1603 eval ac_res=\$$3
1604                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1605 $as_echo "$ac_res" >&6; }
1606   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1607
1608 } # ac_fn_c_check_header_compile
1609
1610 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1611 # -------------------------------------------
1612 # Tests whether TYPE exists after having included INCLUDES, setting cache
1613 # variable VAR accordingly.
1614 ac_fn_c_check_type ()
1615 {
1616   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1618 $as_echo_n "checking for $2... " >&6; }
1619 if eval "test \"\${$3+set}\"" = set; then :
1620   $as_echo_n "(cached) " >&6
1621 else
1622   eval "$3=no"
1623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1624 /* end confdefs.h.  */
1625 $4
1626 int
1627 main ()
1628 {
1629 if (sizeof ($2))
1630          return 0;
1631   ;
1632   return 0;
1633 }
1634 _ACEOF
1635 if ac_fn_c_try_compile "$LINENO"; then :
1636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1637 /* end confdefs.h.  */
1638 $4
1639 int
1640 main ()
1641 {
1642 if (sizeof (($2)))
1643             return 0;
1644   ;
1645   return 0;
1646 }
1647 _ACEOF
1648 if ac_fn_c_try_compile "$LINENO"; then :
1649
1650 else
1651   eval "$3=yes"
1652 fi
1653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1654 fi
1655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1656 fi
1657 eval ac_res=\$$3
1658                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1659 $as_echo "$ac_res" >&6; }
1660   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1661
1662 } # ac_fn_c_check_type
1663
1664 # ac_fn_c_try_link LINENO
1665 # -----------------------
1666 # Try to link conftest.$ac_ext, and return whether this succeeded.
1667 ac_fn_c_try_link ()
1668 {
1669   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670   rm -f conftest.$ac_objext conftest$ac_exeext
1671   if { { ac_try="$ac_link"
1672 case "(($ac_try" in
1673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674   *) ac_try_echo=$ac_try;;
1675 esac
1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678   (eval "$ac_link") 2>conftest.err
1679   ac_status=$?
1680   if test -s conftest.err; then
1681     grep -v '^ *+' conftest.err >conftest.er1
1682     cat conftest.er1 >&5
1683     mv -f conftest.er1 conftest.err
1684   fi
1685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686   test $ac_status = 0; } && {
1687          test -z "$ac_c_werror_flag" ||
1688          test ! -s conftest.err
1689        } && test -s conftest$ac_exeext && {
1690          test "$cross_compiling" = yes ||
1691          $as_test_x conftest$ac_exeext
1692        }; then :
1693   ac_retval=0
1694 else
1695   $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1697
1698         ac_retval=1
1699 fi
1700   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1701   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1702   # interfere with the next link command; also delete a directory that is
1703   # left behind by Apple's compiler.  We do this before executing the actions.
1704   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1705   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1706   as_fn_set_status $ac_retval
1707
1708 } # ac_fn_c_try_link
1709 cat >config.log <<_ACEOF
1710 This file contains any messages produced by compilers while
1711 running configure, to aid debugging if configure makes a mistake.
1712
1713 It was created by mod_auth_gssapi $as_me 0.1, which was
1714 generated by GNU Autoconf 2.67.  Invocation command line was
1715
1716   $ $0 $@
1717
1718 _ACEOF
1719 exec 5>>config.log
1720 {
1721 cat <<_ASUNAME
1722 ## --------- ##
1723 ## Platform. ##
1724 ## --------- ##
1725
1726 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1727 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1728 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1729 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1730 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1731
1732 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1733 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1734
1735 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1736 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1737 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1738 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1739 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1740 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1741 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1742
1743 _ASUNAME
1744
1745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1746 for as_dir in $PATH
1747 do
1748   IFS=$as_save_IFS
1749   test -z "$as_dir" && as_dir=.
1750     $as_echo "PATH: $as_dir"
1751   done
1752 IFS=$as_save_IFS
1753
1754 } >&5
1755
1756 cat >&5 <<_ACEOF
1757
1758
1759 ## ----------- ##
1760 ## Core tests. ##
1761 ## ----------- ##
1762
1763 _ACEOF
1764
1765
1766 # Keep a trace of the command line.
1767 # Strip out --no-create and --no-recursion so they do not pile up.
1768 # Strip out --silent because we don't want to record it for future runs.
1769 # Also quote any args containing shell meta-characters.
1770 # Make two passes to allow for proper duplicate-argument suppression.
1771 ac_configure_args=
1772 ac_configure_args0=
1773 ac_configure_args1=
1774 ac_must_keep_next=false
1775 for ac_pass in 1 2
1776 do
1777   for ac_arg
1778   do
1779     case $ac_arg in
1780     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1781     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1782     | -silent | --silent | --silen | --sile | --sil)
1783       continue ;;
1784     *\'*)
1785       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1786     esac
1787     case $ac_pass in
1788     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1789     2)
1790       as_fn_append ac_configure_args1 " '$ac_arg'"
1791       if test $ac_must_keep_next = true; then
1792         ac_must_keep_next=false # Got value, back to normal.
1793       else
1794         case $ac_arg in
1795           *=* | --config-cache | -C | -disable-* | --disable-* \
1796           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1797           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1798           | -with-* | --with-* | -without-* | --without-* | --x)
1799             case "$ac_configure_args0 " in
1800               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1801             esac
1802             ;;
1803           -* ) ac_must_keep_next=true ;;
1804         esac
1805       fi
1806       as_fn_append ac_configure_args " '$ac_arg'"
1807       ;;
1808     esac
1809   done
1810 done
1811 { ac_configure_args0=; unset ac_configure_args0;}
1812 { ac_configure_args1=; unset ac_configure_args1;}
1813
1814 # When interrupted or exit'd, cleanup temporary files, and complete
1815 # config.log.  We remove comments because anyway the quotes in there
1816 # would cause problems or look ugly.
1817 # WARNING: Use '\'' to represent an apostrophe within the trap.
1818 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1819 trap 'exit_status=$?
1820   # Save into config.log some information that might help in debugging.
1821   {
1822     echo
1823
1824     $as_echo "## ---------------- ##
1825 ## Cache variables. ##
1826 ## ---------------- ##"
1827     echo
1828     # The following way of writing the cache mishandles newlines in values,
1829 (
1830   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1831     eval ac_val=\$$ac_var
1832     case $ac_val in #(
1833     *${as_nl}*)
1834       case $ac_var in #(
1835       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1836 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1837       esac
1838       case $ac_var in #(
1839       _ | IFS | as_nl) ;; #(
1840       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1841       *) { eval $ac_var=; unset $ac_var;} ;;
1842       esac ;;
1843     esac
1844   done
1845   (set) 2>&1 |
1846     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1847     *${as_nl}ac_space=\ *)
1848       sed -n \
1849         "s/'\''/'\''\\\\'\'''\''/g;
1850           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1851       ;; #(
1852     *)
1853       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1854       ;;
1855     esac |
1856     sort
1857 )
1858     echo
1859
1860     $as_echo "## ----------------- ##
1861 ## Output variables. ##
1862 ## ----------------- ##"
1863     echo
1864     for ac_var in $ac_subst_vars
1865     do
1866       eval ac_val=\$$ac_var
1867       case $ac_val in
1868       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1869       esac
1870       $as_echo "$ac_var='\''$ac_val'\''"
1871     done | sort
1872     echo
1873
1874     if test -n "$ac_subst_files"; then
1875       $as_echo "## ------------------- ##
1876 ## File substitutions. ##
1877 ## ------------------- ##"
1878       echo
1879       for ac_var in $ac_subst_files
1880       do
1881         eval ac_val=\$$ac_var
1882         case $ac_val in
1883         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1884         esac
1885         $as_echo "$ac_var='\''$ac_val'\''"
1886       done | sort
1887       echo
1888     fi
1889
1890     if test -s confdefs.h; then
1891       $as_echo "## ----------- ##
1892 ## confdefs.h. ##
1893 ## ----------- ##"
1894       echo
1895       cat confdefs.h
1896       echo
1897     fi
1898     test "$ac_signal" != 0 &&
1899       $as_echo "$as_me: caught signal $ac_signal"
1900     $as_echo "$as_me: exit $exit_status"
1901   } >&5
1902   rm -f core *.core core.conftest.* &&
1903     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1904     exit $exit_status
1905 ' 0
1906 for ac_signal in 1 2 13 15; do
1907   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1908 done
1909 ac_signal=0
1910
1911 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1912 rm -f -r conftest* confdefs.h
1913
1914 $as_echo "/* confdefs.h */" > confdefs.h
1915
1916 # Predefined preprocessor variables.
1917
1918 cat >>confdefs.h <<_ACEOF
1919 #define PACKAGE_NAME "$PACKAGE_NAME"
1920 _ACEOF
1921
1922 cat >>confdefs.h <<_ACEOF
1923 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1924 _ACEOF
1925
1926 cat >>confdefs.h <<_ACEOF
1927 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1928 _ACEOF
1929
1930 cat >>confdefs.h <<_ACEOF
1931 #define PACKAGE_STRING "$PACKAGE_STRING"
1932 _ACEOF
1933
1934 cat >>confdefs.h <<_ACEOF
1935 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1936 _ACEOF
1937
1938 cat >>confdefs.h <<_ACEOF
1939 #define PACKAGE_URL "$PACKAGE_URL"
1940 _ACEOF
1941
1942
1943 # Let the site file select an alternate cache file if it wants to.
1944 # Prefer an explicitly selected file to automatically selected ones.
1945 ac_site_file1=NONE
1946 ac_site_file2=NONE
1947 if test -n "$CONFIG_SITE"; then
1948   # We do not want a PATH search for config.site.
1949   case $CONFIG_SITE in #((
1950     -*)  ac_site_file1=./$CONFIG_SITE;;
1951     */*) ac_site_file1=$CONFIG_SITE;;
1952     *)   ac_site_file1=./$CONFIG_SITE;;
1953   esac
1954 elif test "x$prefix" != xNONE; then
1955   ac_site_file1=$prefix/share/config.site
1956   ac_site_file2=$prefix/etc/config.site
1957 else
1958   ac_site_file1=$ac_default_prefix/share/config.site
1959   ac_site_file2=$ac_default_prefix/etc/config.site
1960 fi
1961 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1962 do
1963   test "x$ac_site_file" = xNONE && continue
1964   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1965     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1966 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1967     sed 's/^/| /' "$ac_site_file" >&5
1968     . "$ac_site_file" \
1969       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1971 as_fn_error $? "failed to load site script $ac_site_file
1972 See \`config.log' for more details" "$LINENO" 5 ; }
1973   fi
1974 done
1975
1976 if test -r "$cache_file"; then
1977   # Some versions of bash will fail to source /dev/null (special files
1978   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1979   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1980     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1981 $as_echo "$as_me: loading cache $cache_file" >&6;}
1982     case $cache_file in
1983       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1984       *)                      . "./$cache_file";;
1985     esac
1986   fi
1987 else
1988   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1989 $as_echo "$as_me: creating cache $cache_file" >&6;}
1990   >$cache_file
1991 fi
1992
1993 # Check that the precious variables saved in the cache have kept the same
1994 # value.
1995 ac_cache_corrupted=false
1996 for ac_var in $ac_precious_vars; do
1997   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1998   eval ac_new_set=\$ac_env_${ac_var}_set
1999   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2000   eval ac_new_val=\$ac_env_${ac_var}_value
2001   case $ac_old_set,$ac_new_set in
2002     set,)
2003       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2004 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2005       ac_cache_corrupted=: ;;
2006     ,set)
2007       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2008 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2009       ac_cache_corrupted=: ;;
2010     ,);;
2011     *)
2012       if test "x$ac_old_val" != "x$ac_new_val"; then
2013         # differences in whitespace do not lead to failure.
2014         ac_old_val_w=`echo x $ac_old_val`
2015         ac_new_val_w=`echo x $ac_new_val`
2016         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2017           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2018 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2019           ac_cache_corrupted=:
2020         else
2021           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2022 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2023           eval $ac_var=\$ac_old_val
2024         fi
2025         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2026 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2027         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2028 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2029       fi;;
2030   esac
2031   # Pass precious variables to config.status.
2032   if test "$ac_new_set" = set; then
2033     case $ac_new_val in
2034     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2035     *) ac_arg=$ac_var=$ac_new_val ;;
2036     esac
2037     case " $ac_configure_args " in
2038       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2039       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2040     esac
2041   fi
2042 done
2043 if $ac_cache_corrupted; then
2044   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2046   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2047 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2048   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2049 fi
2050 ## -------------------- ##
2051 ## Main body of script. ##
2052 ## -------------------- ##
2053
2054 ac_ext=c
2055 ac_cpp='$CPP $CPPFLAGS'
2056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2059
2060
2061
2062 ac_config_headers="$ac_config_headers config.h"
2063
2064
2065 # Checks for programs.
2066 ac_ext=c
2067 ac_cpp='$CPP $CPPFLAGS'
2068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2071 if test -n "$ac_tool_prefix"; then
2072   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2073 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2075 $as_echo_n "checking for $ac_word... " >&6; }
2076 if test "${ac_cv_prog_CC+set}" = set; then :
2077   $as_echo_n "(cached) " >&6
2078 else
2079   if test -n "$CC"; then
2080   ac_cv_prog_CC="$CC" # Let the user override the test.
2081 else
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2083 for as_dir in $PATH
2084 do
2085   IFS=$as_save_IFS
2086   test -z "$as_dir" && as_dir=.
2087     for ac_exec_ext in '' $ac_executable_extensions; do
2088   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2089     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2090     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2091     break 2
2092   fi
2093 done
2094   done
2095 IFS=$as_save_IFS
2096
2097 fi
2098 fi
2099 CC=$ac_cv_prog_CC
2100 if test -n "$CC"; then
2101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2102 $as_echo "$CC" >&6; }
2103 else
2104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2105 $as_echo "no" >&6; }
2106 fi
2107
2108
2109 fi
2110 if test -z "$ac_cv_prog_CC"; then
2111   ac_ct_CC=$CC
2112   # Extract the first word of "gcc", so it can be a program name with args.
2113 set dummy gcc; ac_word=$2
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2115 $as_echo_n "checking for $ac_word... " >&6; }
2116 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2117   $as_echo_n "(cached) " >&6
2118 else
2119   if test -n "$ac_ct_CC"; then
2120   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2121 else
2122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123 for as_dir in $PATH
2124 do
2125   IFS=$as_save_IFS
2126   test -z "$as_dir" && as_dir=.
2127     for ac_exec_ext in '' $ac_executable_extensions; do
2128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2129     ac_cv_prog_ac_ct_CC="gcc"
2130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2131     break 2
2132   fi
2133 done
2134   done
2135 IFS=$as_save_IFS
2136
2137 fi
2138 fi
2139 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2140 if test -n "$ac_ct_CC"; then
2141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2142 $as_echo "$ac_ct_CC" >&6; }
2143 else
2144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2145 $as_echo "no" >&6; }
2146 fi
2147
2148   if test "x$ac_ct_CC" = x; then
2149     CC=""
2150   else
2151     case $cross_compiling:$ac_tool_warned in
2152 yes:)
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2155 ac_tool_warned=yes ;;
2156 esac
2157     CC=$ac_ct_CC
2158   fi
2159 else
2160   CC="$ac_cv_prog_CC"
2161 fi
2162
2163 if test -z "$CC"; then
2164           if test -n "$ac_tool_prefix"; then
2165     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2166 set dummy ${ac_tool_prefix}cc; ac_word=$2
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2168 $as_echo_n "checking for $ac_word... " >&6; }
2169 if test "${ac_cv_prog_CC+set}" = set; then :
2170   $as_echo_n "(cached) " >&6
2171 else
2172   if test -n "$CC"; then
2173   ac_cv_prog_CC="$CC" # Let the user override the test.
2174 else
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2176 for as_dir in $PATH
2177 do
2178   IFS=$as_save_IFS
2179   test -z "$as_dir" && as_dir=.
2180     for ac_exec_ext in '' $ac_executable_extensions; do
2181   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2182     ac_cv_prog_CC="${ac_tool_prefix}cc"
2183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2184     break 2
2185   fi
2186 done
2187   done
2188 IFS=$as_save_IFS
2189
2190 fi
2191 fi
2192 CC=$ac_cv_prog_CC
2193 if test -n "$CC"; then
2194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2195 $as_echo "$CC" >&6; }
2196 else
2197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2198 $as_echo "no" >&6; }
2199 fi
2200
2201
2202   fi
2203 fi
2204 if test -z "$CC"; then
2205   # Extract the first word of "cc", so it can be a program name with args.
2206 set dummy cc; ac_word=$2
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2208 $as_echo_n "checking for $ac_word... " >&6; }
2209 if test "${ac_cv_prog_CC+set}" = set; then :
2210   $as_echo_n "(cached) " >&6
2211 else
2212   if test -n "$CC"; then
2213   ac_cv_prog_CC="$CC" # Let the user override the test.
2214 else
2215   ac_prog_rejected=no
2216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2217 for as_dir in $PATH
2218 do
2219   IFS=$as_save_IFS
2220   test -z "$as_dir" && as_dir=.
2221     for ac_exec_ext in '' $ac_executable_extensions; do
2222   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2223     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2224        ac_prog_rejected=yes
2225        continue
2226      fi
2227     ac_cv_prog_CC="cc"
2228     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2229     break 2
2230   fi
2231 done
2232   done
2233 IFS=$as_save_IFS
2234
2235 if test $ac_prog_rejected = yes; then
2236   # We found a bogon in the path, so make sure we never use it.
2237   set dummy $ac_cv_prog_CC
2238   shift
2239   if test $# != 0; then
2240     # We chose a different compiler from the bogus one.
2241     # However, it has the same basename, so the bogon will be chosen
2242     # first if we set CC to just the basename; use the full file name.
2243     shift
2244     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2245   fi
2246 fi
2247 fi
2248 fi
2249 CC=$ac_cv_prog_CC
2250 if test -n "$CC"; then
2251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2252 $as_echo "$CC" >&6; }
2253 else
2254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2255 $as_echo "no" >&6; }
2256 fi
2257
2258
2259 fi
2260 if test -z "$CC"; then
2261   if test -n "$ac_tool_prefix"; then
2262   for ac_prog in cl.exe
2263   do
2264     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2265 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2267 $as_echo_n "checking for $ac_word... " >&6; }
2268 if test "${ac_cv_prog_CC+set}" = set; then :
2269   $as_echo_n "(cached) " >&6
2270 else
2271   if test -n "$CC"; then
2272   ac_cv_prog_CC="$CC" # Let the user override the test.
2273 else
2274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2275 for as_dir in $PATH
2276 do
2277   IFS=$as_save_IFS
2278   test -z "$as_dir" && as_dir=.
2279     for ac_exec_ext in '' $ac_executable_extensions; do
2280   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2281     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2282     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2283     break 2
2284   fi
2285 done
2286   done
2287 IFS=$as_save_IFS
2288
2289 fi
2290 fi
2291 CC=$ac_cv_prog_CC
2292 if test -n "$CC"; then
2293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2294 $as_echo "$CC" >&6; }
2295 else
2296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2297 $as_echo "no" >&6; }
2298 fi
2299
2300
2301     test -n "$CC" && break
2302   done
2303 fi
2304 if test -z "$CC"; then
2305   ac_ct_CC=$CC
2306   for ac_prog in cl.exe
2307 do
2308   # Extract the first word of "$ac_prog", so it can be a program name with args.
2309 set dummy $ac_prog; ac_word=$2
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2311 $as_echo_n "checking for $ac_word... " >&6; }
2312 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2313   $as_echo_n "(cached) " >&6
2314 else
2315   if test -n "$ac_ct_CC"; then
2316   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2317 else
2318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2319 for as_dir in $PATH
2320 do
2321   IFS=$as_save_IFS
2322   test -z "$as_dir" && as_dir=.
2323     for ac_exec_ext in '' $ac_executable_extensions; do
2324   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2325     ac_cv_prog_ac_ct_CC="$ac_prog"
2326     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2327     break 2
2328   fi
2329 done
2330   done
2331 IFS=$as_save_IFS
2332
2333 fi
2334 fi
2335 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2336 if test -n "$ac_ct_CC"; then
2337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2338 $as_echo "$ac_ct_CC" >&6; }
2339 else
2340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2341 $as_echo "no" >&6; }
2342 fi
2343
2344
2345   test -n "$ac_ct_CC" && break
2346 done
2347
2348   if test "x$ac_ct_CC" = x; then
2349     CC=""
2350   else
2351     case $cross_compiling:$ac_tool_warned in
2352 yes:)
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2355 ac_tool_warned=yes ;;
2356 esac
2357     CC=$ac_ct_CC
2358   fi
2359 fi
2360
2361 fi
2362
2363
2364 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2366 as_fn_error $? "no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details" "$LINENO" 5 ; }
2368
2369 # Provide some information about the compiler.
2370 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2371 set X $ac_compile
2372 ac_compiler=$2
2373 for ac_option in --version -v -V -qversion; do
2374   { { ac_try="$ac_compiler $ac_option >&5"
2375 case "(($ac_try" in
2376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377   *) ac_try_echo=$ac_try;;
2378 esac
2379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2380 $as_echo "$ac_try_echo"; } >&5
2381   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2382   ac_status=$?
2383   if test -s conftest.err; then
2384     sed '10a\
2385 ... rest of stderr output deleted ...
2386          10q' conftest.err >conftest.er1
2387     cat conftest.er1 >&5
2388   fi
2389   rm -f conftest.er1 conftest.err
2390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2391   test $ac_status = 0; }
2392 done
2393
2394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2395 /* end confdefs.h.  */
2396
2397 int
2398 main ()
2399 {
2400
2401   ;
2402   return 0;
2403 }
2404 _ACEOF
2405 ac_clean_files_save=$ac_clean_files
2406 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2407 # Try to create an executable without -o first, disregard a.out.
2408 # It will help us diagnose broken compilers, and finding out an intuition
2409 # of exeext.
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2411 $as_echo_n "checking whether the C compiler works... " >&6; }
2412 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2413
2414 # The possible output files:
2415 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2416
2417 ac_rmfiles=
2418 for ac_file in $ac_files
2419 do
2420   case $ac_file in
2421     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2422     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2423   esac
2424 done
2425 rm -f $ac_rmfiles
2426
2427 if { { ac_try="$ac_link_default"
2428 case "(($ac_try" in
2429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430   *) ac_try_echo=$ac_try;;
2431 esac
2432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2433 $as_echo "$ac_try_echo"; } >&5
2434   (eval "$ac_link_default") 2>&5
2435   ac_status=$?
2436   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2437   test $ac_status = 0; }; then :
2438   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2439 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2440 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2441 # so that the user can short-circuit this test for compilers unknown to
2442 # Autoconf.
2443 for ac_file in $ac_files ''
2444 do
2445   test -f "$ac_file" || continue
2446   case $ac_file in
2447     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2448         ;;
2449     [ab].out )
2450         # We found the default executable, but exeext='' is most
2451         # certainly right.
2452         break;;
2453     *.* )
2454         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2455         then :; else
2456            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2457         fi
2458         # We set ac_cv_exeext here because the later test for it is not
2459         # safe: cross compilers may not add the suffix if given an `-o'
2460         # argument, so we may need to know it at that point already.
2461         # Even if this section looks crufty: it has the advantage of
2462         # actually working.
2463         break;;
2464     * )
2465         break;;
2466   esac
2467 done
2468 test "$ac_cv_exeext" = no && ac_cv_exeext=
2469
2470 else
2471   ac_file=''
2472 fi
2473 if test -z "$ac_file"; then :
2474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2475 $as_echo "no" >&6; }
2476 $as_echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.$ac_ext >&5
2478
2479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2481 as_fn_error 77 "C compiler cannot create executables
2482 See \`config.log' for more details" "$LINENO" 5 ; }
2483 else
2484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2485 $as_echo "yes" >&6; }
2486 fi
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2488 $as_echo_n "checking for C compiler default output file name... " >&6; }
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2490 $as_echo "$ac_file" >&6; }
2491 ac_exeext=$ac_cv_exeext
2492
2493 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2494 ac_clean_files=$ac_clean_files_save
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2496 $as_echo_n "checking for suffix of executables... " >&6; }
2497 if { { ac_try="$ac_link"
2498 case "(($ac_try" in
2499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2500   *) ac_try_echo=$ac_try;;
2501 esac
2502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2503 $as_echo "$ac_try_echo"; } >&5
2504   (eval "$ac_link") 2>&5
2505   ac_status=$?
2506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2507   test $ac_status = 0; }; then :
2508   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2509 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2510 # work properly (i.e., refer to `conftest.exe'), while it won't with
2511 # `rm'.
2512 for ac_file in conftest.exe conftest conftest.*; do
2513   test -f "$ac_file" || continue
2514   case $ac_file in
2515     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2516     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2517           break;;
2518     * ) break;;
2519   esac
2520 done
2521 else
2522   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2524 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2525 See \`config.log' for more details" "$LINENO" 5 ; }
2526 fi
2527 rm -f conftest conftest$ac_cv_exeext
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2529 $as_echo "$ac_cv_exeext" >&6; }
2530
2531 rm -f conftest.$ac_ext
2532 EXEEXT=$ac_cv_exeext
2533 ac_exeext=$EXEEXT
2534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2535 /* end confdefs.h.  */
2536 #include <stdio.h>
2537 int
2538 main ()
2539 {
2540 FILE *f = fopen ("conftest.out", "w");
2541  return ferror (f) || fclose (f) != 0;
2542
2543   ;
2544   return 0;
2545 }
2546 _ACEOF
2547 ac_clean_files="$ac_clean_files conftest.out"
2548 # Check that the compiler produces executables we can run.  If not, either
2549 # the compiler is broken, or we cross compile.
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2551 $as_echo_n "checking whether we are cross compiling... " >&6; }
2552 if test "$cross_compiling" != yes; then
2553   { { ac_try="$ac_link"
2554 case "(($ac_try" in
2555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556   *) ac_try_echo=$ac_try;;
2557 esac
2558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2559 $as_echo "$ac_try_echo"; } >&5
2560   (eval "$ac_link") 2>&5
2561   ac_status=$?
2562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2563   test $ac_status = 0; }
2564   if { ac_try='./conftest$ac_cv_exeext'
2565   { { case "(($ac_try" in
2566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567   *) ac_try_echo=$ac_try;;
2568 esac
2569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2570 $as_echo "$ac_try_echo"; } >&5
2571   (eval "$ac_try") 2>&5
2572   ac_status=$?
2573   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2574   test $ac_status = 0; }; }; then
2575     cross_compiling=no
2576   else
2577     if test "$cross_compiling" = maybe; then
2578         cross_compiling=yes
2579     else
2580         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2582 as_fn_error $? "cannot run C compiled programs.
2583 If you meant to cross compile, use \`--host'.
2584 See \`config.log' for more details" "$LINENO" 5 ; }
2585     fi
2586   fi
2587 fi
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2589 $as_echo "$cross_compiling" >&6; }
2590
2591 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2592 ac_clean_files=$ac_clean_files_save
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2594 $as_echo_n "checking for suffix of object files... " >&6; }
2595 if test "${ac_cv_objext+set}" = set; then :
2596   $as_echo_n "(cached) " >&6
2597 else
2598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2599 /* end confdefs.h.  */
2600
2601 int
2602 main ()
2603 {
2604
2605   ;
2606   return 0;
2607 }
2608 _ACEOF
2609 rm -f conftest.o conftest.obj
2610 if { { ac_try="$ac_compile"
2611 case "(($ac_try" in
2612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2613   *) ac_try_echo=$ac_try;;
2614 esac
2615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2616 $as_echo "$ac_try_echo"; } >&5
2617   (eval "$ac_compile") 2>&5
2618   ac_status=$?
2619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2620   test $ac_status = 0; }; then :
2621   for ac_file in conftest.o conftest.obj conftest.*; do
2622   test -f "$ac_file" || continue;
2623   case $ac_file in
2624     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2625     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2626        break;;
2627   esac
2628 done
2629 else
2630   $as_echo "$as_me: failed program was:" >&5
2631 sed 's/^/| /' conftest.$ac_ext >&5
2632
2633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2635 as_fn_error $? "cannot compute suffix of object files: cannot compile
2636 See \`config.log' for more details" "$LINENO" 5 ; }
2637 fi
2638 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2639 fi
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2641 $as_echo "$ac_cv_objext" >&6; }
2642 OBJEXT=$ac_cv_objext
2643 ac_objext=$OBJEXT
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2645 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2646 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2647   $as_echo_n "(cached) " >&6
2648 else
2649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2650 /* end confdefs.h.  */
2651
2652 int
2653 main ()
2654 {
2655 #ifndef __GNUC__
2656        choke me
2657 #endif
2658
2659   ;
2660   return 0;
2661 }
2662 _ACEOF
2663 if ac_fn_c_try_compile "$LINENO"; then :
2664   ac_compiler_gnu=yes
2665 else
2666   ac_compiler_gnu=no
2667 fi
2668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2669 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2670
2671 fi
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2673 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2674 if test $ac_compiler_gnu = yes; then
2675   GCC=yes
2676 else
2677   GCC=
2678 fi
2679 ac_test_CFLAGS=${CFLAGS+set}
2680 ac_save_CFLAGS=$CFLAGS
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2682 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2683 if test "${ac_cv_prog_cc_g+set}" = set; then :
2684   $as_echo_n "(cached) " >&6
2685 else
2686   ac_save_c_werror_flag=$ac_c_werror_flag
2687    ac_c_werror_flag=yes
2688    ac_cv_prog_cc_g=no
2689    CFLAGS="-g"
2690    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h.  */
2692
2693 int
2694 main ()
2695 {
2696
2697   ;
2698   return 0;
2699 }
2700 _ACEOF
2701 if ac_fn_c_try_compile "$LINENO"; then :
2702   ac_cv_prog_cc_g=yes
2703 else
2704   CFLAGS=""
2705       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2706 /* end confdefs.h.  */
2707
2708 int
2709 main ()
2710 {
2711
2712   ;
2713   return 0;
2714 }
2715 _ACEOF
2716 if ac_fn_c_try_compile "$LINENO"; then :
2717
2718 else
2719   ac_c_werror_flag=$ac_save_c_werror_flag
2720          CFLAGS="-g"
2721          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2722 /* end confdefs.h.  */
2723
2724 int
2725 main ()
2726 {
2727
2728   ;
2729   return 0;
2730 }
2731 _ACEOF
2732 if ac_fn_c_try_compile "$LINENO"; then :
2733   ac_cv_prog_cc_g=yes
2734 fi
2735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2736 fi
2737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2738 fi
2739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2740    ac_c_werror_flag=$ac_save_c_werror_flag
2741 fi
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2743 $as_echo "$ac_cv_prog_cc_g" >&6; }
2744 if test "$ac_test_CFLAGS" = set; then
2745   CFLAGS=$ac_save_CFLAGS
2746 elif test $ac_cv_prog_cc_g = yes; then
2747   if test "$GCC" = yes; then
2748     CFLAGS="-g -O2"
2749   else
2750     CFLAGS="-g"
2751   fi
2752 else
2753   if test "$GCC" = yes; then
2754     CFLAGS="-O2"
2755   else
2756     CFLAGS=
2757   fi
2758 fi
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2760 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2761 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2762   $as_echo_n "(cached) " >&6
2763 else
2764   ac_cv_prog_cc_c89=no
2765 ac_save_CC=$CC
2766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2767 /* end confdefs.h.  */
2768 #include <stdarg.h>
2769 #include <stdio.h>
2770 #include <sys/types.h>
2771 #include <sys/stat.h>
2772 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2773 struct buf { int x; };
2774 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2775 static char *e (p, i)
2776      char **p;
2777      int i;
2778 {
2779   return p[i];
2780 }
2781 static char *f (char * (*g) (char **, int), char **p, ...)
2782 {
2783   char *s;
2784   va_list v;
2785   va_start (v,p);
2786   s = g (p, va_arg (v,int));
2787   va_end (v);
2788   return s;
2789 }
2790
2791 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2792    function prototypes and stuff, but not '\xHH' hex character constants.
2793    These don't provoke an error unfortunately, instead are silently treated
2794    as 'x'.  The following induces an error, until -std is added to get
2795    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2796    array size at least.  It's necessary to write '\x00'==0 to get something
2797    that's true only with -std.  */
2798 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2799
2800 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2801    inside strings and character constants.  */
2802 #define FOO(x) 'x'
2803 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2804
2805 int test (int i, double x);
2806 struct s1 {int (*f) (int a);};
2807 struct s2 {int (*f) (double a);};
2808 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2809 int argc;
2810 char **argv;
2811 int
2812 main ()
2813 {
2814 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2815   ;
2816   return 0;
2817 }
2818 _ACEOF
2819 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2820         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2821 do
2822   CC="$ac_save_CC $ac_arg"
2823   if ac_fn_c_try_compile "$LINENO"; then :
2824   ac_cv_prog_cc_c89=$ac_arg
2825 fi
2826 rm -f core conftest.err conftest.$ac_objext
2827   test "x$ac_cv_prog_cc_c89" != "xno" && break
2828 done
2829 rm -f conftest.$ac_ext
2830 CC=$ac_save_CC
2831
2832 fi
2833 # AC_CACHE_VAL
2834 case "x$ac_cv_prog_cc_c89" in
2835   x)
2836     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2837 $as_echo "none needed" >&6; } ;;
2838   xno)
2839     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2840 $as_echo "unsupported" >&6; } ;;
2841   *)
2842     CC="$CC $ac_cv_prog_cc_c89"
2843     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2844 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2845 esac
2846 if test "x$ac_cv_prog_cc_c89" != xno; then :
2847
2848 fi
2849
2850 ac_ext=c
2851 ac_cpp='$CPP $CPPFLAGS'
2852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2855
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2857 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2858 set x ${MAKE-make}
2859 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2860 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2861   $as_echo_n "(cached) " >&6
2862 else
2863   cat >conftest.make <<\_ACEOF
2864 SHELL = /bin/sh
2865 all:
2866         @echo '@@@%%%=$(MAKE)=@@@%%%'
2867 _ACEOF
2868 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2869 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2870   *@@@%%%=?*=@@@%%%*)
2871     eval ac_cv_prog_make_${ac_make}_set=yes;;
2872   *)
2873     eval ac_cv_prog_make_${ac_make}_set=no;;
2874 esac
2875 rm -f conftest.make
2876 fi
2877 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2879 $as_echo "yes" >&6; }
2880   SET_MAKE=
2881 else
2882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2884   SET_MAKE="MAKE=${MAKE-make}"
2885 fi
2886
2887
2888 # Checks for header files.
2889
2890 ac_ext=c
2891 ac_cpp='$CPP $CPPFLAGS'
2892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2896 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2897 # On Suns, sometimes $CPP names a directory.
2898 if test -n "$CPP" && test -d "$CPP"; then
2899   CPP=
2900 fi
2901 if test -z "$CPP"; then
2902   if test "${ac_cv_prog_CPP+set}" = set; then :
2903   $as_echo_n "(cached) " >&6
2904 else
2905       # Double quotes because CPP needs to be expanded
2906     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2907     do
2908       ac_preproc_ok=false
2909 for ac_c_preproc_warn_flag in '' yes
2910 do
2911   # Use a header file that comes with gcc, so configuring glibc
2912   # with a fresh cross-compiler works.
2913   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2914   # <limits.h> exists even on freestanding compilers.
2915   # On the NeXT, cc -E runs the code through the compiler's parser,
2916   # not just through cpp. "Syntax error" is here to catch this case.
2917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2918 /* end confdefs.h.  */
2919 #ifdef __STDC__
2920 # include <limits.h>
2921 #else
2922 # include <assert.h>
2923 #endif
2924                      Syntax error
2925 _ACEOF
2926 if ac_fn_c_try_cpp "$LINENO"; then :
2927
2928 else
2929   # Broken: fails on valid input.
2930 continue
2931 fi
2932 rm -f conftest.err conftest.i conftest.$ac_ext
2933
2934   # OK, works on sane cases.  Now check whether nonexistent headers
2935   # can be detected and how.
2936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h.  */
2938 #include <ac_nonexistent.h>
2939 _ACEOF
2940 if ac_fn_c_try_cpp "$LINENO"; then :
2941   # Broken: success on invalid input.
2942 continue
2943 else
2944   # Passes both tests.
2945 ac_preproc_ok=:
2946 break
2947 fi
2948 rm -f conftest.err conftest.i conftest.$ac_ext
2949
2950 done
2951 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2952 rm -f conftest.i conftest.err conftest.$ac_ext
2953 if $ac_preproc_ok; then :
2954   break
2955 fi
2956
2957     done
2958     ac_cv_prog_CPP=$CPP
2959
2960 fi
2961   CPP=$ac_cv_prog_CPP
2962 else
2963   ac_cv_prog_CPP=$CPP
2964 fi
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2966 $as_echo "$CPP" >&6; }
2967 ac_preproc_ok=false
2968 for ac_c_preproc_warn_flag in '' yes
2969 do
2970   # Use a header file that comes with gcc, so configuring glibc
2971   # with a fresh cross-compiler works.
2972   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2973   # <limits.h> exists even on freestanding compilers.
2974   # On the NeXT, cc -E runs the code through the compiler's parser,
2975   # not just through cpp. "Syntax error" is here to catch this case.
2976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2977 /* end confdefs.h.  */
2978 #ifdef __STDC__
2979 # include <limits.h>
2980 #else
2981 # include <assert.h>
2982 #endif
2983                      Syntax error
2984 _ACEOF
2985 if ac_fn_c_try_cpp "$LINENO"; then :
2986
2987 else
2988   # Broken: fails on valid input.
2989 continue
2990 fi
2991 rm -f conftest.err conftest.i conftest.$ac_ext
2992
2993   # OK, works on sane cases.  Now check whether nonexistent headers
2994   # can be detected and how.
2995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2996 /* end confdefs.h.  */
2997 #include <ac_nonexistent.h>
2998 _ACEOF
2999 if ac_fn_c_try_cpp "$LINENO"; then :
3000   # Broken: success on invalid input.
3001 continue
3002 else
3003   # Passes both tests.
3004 ac_preproc_ok=:
3005 break
3006 fi
3007 rm -f conftest.err conftest.i conftest.$ac_ext
3008
3009 done
3010 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3011 rm -f conftest.i conftest.err conftest.$ac_ext
3012 if $ac_preproc_ok; then :
3013
3014 else
3015   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3017 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3018 See \`config.log' for more details" "$LINENO" 5 ; }
3019 fi
3020
3021 ac_ext=c
3022 ac_cpp='$CPP $CPPFLAGS'
3023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3026
3027
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3029 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3030 if test "${ac_cv_path_GREP+set}" = set; then :
3031   $as_echo_n "(cached) " >&6
3032 else
3033   if test -z "$GREP"; then
3034   ac_path_GREP_found=false
3035   # Loop through the user's path and test for each of PROGNAME-LIST
3036   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3038 do
3039   IFS=$as_save_IFS
3040   test -z "$as_dir" && as_dir=.
3041     for ac_prog in grep ggrep; do
3042     for ac_exec_ext in '' $ac_executable_extensions; do
3043       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3044       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3045 # Check for GNU ac_path_GREP and select it if it is found.
3046   # Check for GNU $ac_path_GREP
3047 case `"$ac_path_GREP" --version 2>&1` in
3048 *GNU*)
3049   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3050 *)
3051   ac_count=0
3052   $as_echo_n 0123456789 >"conftest.in"
3053   while :
3054   do
3055     cat "conftest.in" "conftest.in" >"conftest.tmp"
3056     mv "conftest.tmp" "conftest.in"
3057     cp "conftest.in" "conftest.nl"
3058     $as_echo 'GREP' >> "conftest.nl"
3059     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3060     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3061     as_fn_arith $ac_count + 1 && ac_count=$as_val
3062     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3063       # Best one so far, save it but keep looking for a better one
3064       ac_cv_path_GREP="$ac_path_GREP"
3065       ac_path_GREP_max=$ac_count
3066     fi
3067     # 10*(2^10) chars as input seems more than enough
3068     test $ac_count -gt 10 && break
3069   done
3070   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3071 esac
3072
3073       $ac_path_GREP_found && break 3
3074     done
3075   done
3076   done
3077 IFS=$as_save_IFS
3078   if test -z "$ac_cv_path_GREP"; then
3079     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3080   fi
3081 else
3082   ac_cv_path_GREP=$GREP
3083 fi
3084
3085 fi
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3087 $as_echo "$ac_cv_path_GREP" >&6; }
3088  GREP="$ac_cv_path_GREP"
3089
3090
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3092 $as_echo_n "checking for egrep... " >&6; }
3093 if test "${ac_cv_path_EGREP+set}" = set; then :
3094   $as_echo_n "(cached) " >&6
3095 else
3096   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3097    then ac_cv_path_EGREP="$GREP -E"
3098    else
3099      if test -z "$EGREP"; then
3100   ac_path_EGREP_found=false
3101   # Loop through the user's path and test for each of PROGNAME-LIST
3102   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3103 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3104 do
3105   IFS=$as_save_IFS
3106   test -z "$as_dir" && as_dir=.
3107     for ac_prog in egrep; do
3108     for ac_exec_ext in '' $ac_executable_extensions; do
3109       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3110       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3111 # Check for GNU ac_path_EGREP and select it if it is found.
3112   # Check for GNU $ac_path_EGREP
3113 case `"$ac_path_EGREP" --version 2>&1` in
3114 *GNU*)
3115   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3116 *)
3117   ac_count=0
3118   $as_echo_n 0123456789 >"conftest.in"
3119   while :
3120   do
3121     cat "conftest.in" "conftest.in" >"conftest.tmp"
3122     mv "conftest.tmp" "conftest.in"
3123     cp "conftest.in" "conftest.nl"
3124     $as_echo 'EGREP' >> "conftest.nl"
3125     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3126     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3127     as_fn_arith $ac_count + 1 && ac_count=$as_val
3128     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3129       # Best one so far, save it but keep looking for a better one
3130       ac_cv_path_EGREP="$ac_path_EGREP"
3131       ac_path_EGREP_max=$ac_count
3132     fi
3133     # 10*(2^10) chars as input seems more than enough
3134     test $ac_count -gt 10 && break
3135   done
3136   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3137 esac
3138
3139       $ac_path_EGREP_found && break 3
3140     done
3141   done
3142   done
3143 IFS=$as_save_IFS
3144   if test -z "$ac_cv_path_EGREP"; then
3145     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3146   fi
3147 else
3148   ac_cv_path_EGREP=$EGREP
3149 fi
3150
3151    fi
3152 fi
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3154 $as_echo "$ac_cv_path_EGREP" >&6; }
3155  EGREP="$ac_cv_path_EGREP"
3156
3157
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3159 $as_echo_n "checking for ANSI C header files... " >&6; }
3160 if test "${ac_cv_header_stdc+set}" = set; then :
3161   $as_echo_n "(cached) " >&6
3162 else
3163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3164 /* end confdefs.h.  */
3165 #include <stdlib.h>
3166 #include <stdarg.h>
3167 #include <string.h>
3168 #include <float.h>
3169
3170 int
3171 main ()
3172 {
3173
3174   ;
3175   return 0;
3176 }
3177 _ACEOF
3178 if ac_fn_c_try_compile "$LINENO"; then :
3179   ac_cv_header_stdc=yes
3180 else
3181   ac_cv_header_stdc=no
3182 fi
3183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3184
3185 if test $ac_cv_header_stdc = yes; then
3186   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3188 /* end confdefs.h.  */
3189 #include <string.h>
3190
3191 _ACEOF
3192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3193   $EGREP "memchr" >/dev/null 2>&1; then :
3194
3195 else
3196   ac_cv_header_stdc=no
3197 fi
3198 rm -f conftest*
3199
3200 fi
3201
3202 if test $ac_cv_header_stdc = yes; then
3203   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205 /* end confdefs.h.  */
3206 #include <stdlib.h>
3207
3208 _ACEOF
3209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3210   $EGREP "free" >/dev/null 2>&1; then :
3211
3212 else
3213   ac_cv_header_stdc=no
3214 fi
3215 rm -f conftest*
3216
3217 fi
3218
3219 if test $ac_cv_header_stdc = yes; then
3220   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3221   if test "$cross_compiling" = yes; then :
3222   :
3223 else
3224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h.  */
3226 #include <ctype.h>
3227 #include <stdlib.h>
3228 #if ((' ' & 0x0FF) == 0x020)
3229 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3230 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3231 #else
3232 # define ISLOWER(c) \
3233                    (('a' <= (c) && (c) <= 'i') \
3234                      || ('j' <= (c) && (c) <= 'r') \
3235                      || ('s' <= (c) && (c) <= 'z'))
3236 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3237 #endif
3238
3239 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3240 int
3241 main ()
3242 {
3243   int i;
3244   for (i = 0; i < 256; i++)
3245     if (XOR (islower (i), ISLOWER (i))
3246         || toupper (i) != TOUPPER (i))
3247       return 2;
3248   return 0;
3249 }
3250 _ACEOF
3251 if ac_fn_c_try_run "$LINENO"; then :
3252
3253 else
3254   ac_cv_header_stdc=no
3255 fi
3256 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3257   conftest.$ac_objext conftest.beam conftest.$ac_ext
3258 fi
3259
3260 fi
3261 fi
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3263 $as_echo "$ac_cv_header_stdc" >&6; }
3264 if test $ac_cv_header_stdc = yes; then
3265
3266 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3267
3268 fi
3269
3270 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3271 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3272                   inttypes.h stdint.h unistd.h
3273 do :
3274   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3275 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3276 "
3277 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3278   cat >>confdefs.h <<_ACEOF
3279 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3280 _ACEOF
3281
3282 fi
3283
3284 done
3285
3286
3287 for ac_header in limits.h netdb.h stddef.h stdlib.h string.h unistd.h
3288 do :
3289   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3290 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3291 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3292   cat >>confdefs.h <<_ACEOF
3293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3294 _ACEOF
3295
3296 fi
3297
3298 done
3299
3300
3301 # Checks for typedefs, structures, and compiler characteristics.
3302 #AC_C_CONST
3303 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
3304 if test "x$ac_cv_type_size_t" = x""yes; then :
3305
3306 else
3307
3308 cat >>confdefs.h <<_ACEOF
3309 #define size_t unsigned int
3310 _ACEOF
3311
3312 fi
3313
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
3315 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
3316 if test "${ac_cv_struct_tm+set}" = set; then :
3317   $as_echo_n "(cached) " >&6
3318 else
3319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h.  */
3321 #include <sys/types.h>
3322 #include <time.h>
3323
3324 int
3325 main ()
3326 {
3327 struct tm tm;
3328                                      int *p = &tm.tm_sec;
3329                                      return !p;
3330   ;
3331   return 0;
3332 }
3333 _ACEOF
3334 if ac_fn_c_try_compile "$LINENO"; then :
3335   ac_cv_struct_tm=time.h
3336 else
3337   ac_cv_struct_tm=sys/time.h
3338 fi
3339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3340 fi
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
3342 $as_echo "$ac_cv_struct_tm" >&6; }
3343 if test $ac_cv_struct_tm = sys/time.h; then
3344
3345 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
3346
3347 fi
3348
3349
3350 #
3351 # GSS-API enviroment
3352 #
3353 SPNEGO_SRCS=""
3354
3355
3356 # Check whether --with-gss was given.
3357 if test "${with_gss+set}" = set; then :
3358   withval=$with_gss;  with_gss="$withval"
3359 fi
3360
3361 if test "x$with_gss" = "xyes" ; then
3362   with_gss=""
3363 fi
3364
3365 ac_save_CPPFLAGS="$CPPFLAGS"
3366 ac_save_LDFLAGS="$LDFLAGS"
3367 ac_save_LIBS="$LIBS"
3368
3369 if test -z "$GSS_CPPFLAGS"; then
3370    TMP_GSS_CPPFLAGS=""
3371    if test -n "with_gss"; then
3372       TMP_GSS_CPPFLAGS="-I$with_gss/include"
3373    fi
3374    CPPFLAGS="$CPPFLAGS $TMP_GSS_CPPFLAGS"
3375    for ac_header in gssapi.h
3376 do :
3377   ac_fn_c_check_header_mongrel "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default"
3378 if test "x$ac_cv_header_gssapi_h" = x""yes; then :
3379   cat >>confdefs.h <<_ACEOF
3380 #define HAVE_GSSAPI_H 1
3381 _ACEOF
3382   GSS_CPPFLAGS="$TMP_GSS_CPPFLAGS"
3383 fi
3384
3385 done
3386
3387    if test -z "$GSS_CPPFLAGS"; then
3388       for ac_header in gssapi/gssapi.h
3389 do :
3390   ac_fn_c_check_header_mongrel "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
3391 if test "x$ac_cv_header_gssapi_gssapi_h" = x""yes; then :
3392   cat >>confdefs.h <<_ACEOF
3393 #define HAVE_GSSAPI_GSSAPI_H 1
3394 _ACEOF
3395   GSS_CPPFLAGS="$TMP_GSS_CPPFLAGS"
3396 fi
3397
3398 done
3399
3400    fi
3401    CPPFLAGS="$ac_save_CPPFLAGS"
3402 fi
3403
3404 #if test "x$with_gss"="x"; then
3405 #      tmp_lf_inc=""
3406 #   else
3407 #      tmp_lf_inc="-L"
3408 #fi
3409 if test -z "$GSS_LDFLAGS"; then
3410    TMP_GSS_LDFLAGS=""
3411    if test -n "$with_gss"; then
3412 # XXX think about lib64, etc
3413       TMP_GSS_LDFLAGS="-L $with_gss/lib"
3414    fi
3415 fi
3416 LIBS="$LIBS $TMP_GSS_LDFLAGS"
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_accept_sec_context in -lgssapi_krb5" >&5
3418 $as_echo_n "checking for gss_accept_sec_context in -lgssapi_krb5... " >&6; }
3419 if test "${ac_cv_lib_gssapi_krb5_gss_accept_sec_context+set}" = set; then :
3420   $as_echo_n "(cached) " >&6
3421 else
3422   ac_check_lib_save_LIBS=$LIBS
3423 LIBS="-lgssapi_krb5  $LIBS"
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h.  */
3426
3427 /* Override any GCC internal prototype to avoid an error.
3428    Use char because int might match the return type of a GCC
3429    builtin and then its argument prototype would still apply.  */
3430 #ifdef __cplusplus
3431 extern "C"
3432 #endif
3433 char gss_accept_sec_context ();
3434 int
3435 main ()
3436 {
3437 return gss_accept_sec_context ();
3438   ;
3439   return 0;
3440 }
3441 _ACEOF
3442 if ac_fn_c_try_link "$LINENO"; then :
3443   ac_cv_lib_gssapi_krb5_gss_accept_sec_context=yes
3444 else
3445   ac_cv_lib_gssapi_krb5_gss_accept_sec_context=no
3446 fi
3447 rm -f core conftest.err conftest.$ac_objext \
3448     conftest$ac_exeext conftest.$ac_ext
3449 LIBS=$ac_check_lib_save_LIBS
3450 fi
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gssapi_krb5_gss_accept_sec_context" >&5
3452 $as_echo "$ac_cv_lib_gssapi_krb5_gss_accept_sec_context" >&6; }
3453 if test "x$ac_cv_lib_gssapi_krb5_gss_accept_sec_context" = x""yes; then :
3454   found_gssapi=yes
3455                 LIBS="-lgssapi_krb5 $LIBS"
3456 else
3457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_accept_sec_context in -lgssapi" >&5
3458 $as_echo_n "checking for gss_accept_sec_context in -lgssapi... " >&6; }
3459 if test "${ac_cv_lib_gssapi_gss_accept_sec_context+set}" = set; then :
3460   $as_echo_n "(cached) " >&6
3461 else
3462   ac_check_lib_save_LIBS=$LIBS
3463 LIBS="-lgssapi  $LIBS"
3464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 /* end confdefs.h.  */
3466
3467 /* Override any GCC internal prototype to avoid an error.
3468    Use char because int might match the return type of a GCC
3469    builtin and then its argument prototype would still apply.  */
3470 #ifdef __cplusplus
3471 extern "C"
3472 #endif
3473 char gss_accept_sec_context ();
3474 int
3475 main ()
3476 {
3477 return gss_accept_sec_context ();
3478   ;
3479   return 0;
3480 }
3481 _ACEOF
3482 if ac_fn_c_try_link "$LINENO"; then :
3483   ac_cv_lib_gssapi_gss_accept_sec_context=yes
3484 else
3485   ac_cv_lib_gssapi_gss_accept_sec_context=no
3486 fi
3487 rm -f core conftest.err conftest.$ac_objext \
3488     conftest$ac_exeext conftest.$ac_ext
3489 LIBS=$ac_check_lib_save_LIBS
3490 fi
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gssapi_gss_accept_sec_context" >&5
3492 $as_echo "$ac_cv_lib_gssapi_gss_accept_sec_context" >&6; }
3493 if test "x$ac_cv_lib_gssapi_gss_accept_sec_context" = x""yes; then :
3494    found_gssapi=yes
3495                 LIBS="$LIBS -lgssapi"
3496 else
3497   LIBS="$ac_save_LIBS"
3498 fi
3499
3500 fi
3501
3502 if test -z "$found_gssapi"; then
3503    as_fn_error $? "failed to find a GSS-API library" "$LINENO" 5
3504 fi
3505
3506 # If SPNEGO is supported by the gssapi libraries, we shouln't build our support.
3507 # SPNEGO is supported as of Heimdal 0.7, and MIT 1.5.
3508 gssapi_supports_spnego=""
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GSSAPI libraries support SPNEGO" >&5
3510 $as_echo_n "checking whether the GSSAPI libraries support SPNEGO... " >&6; }
3511
3512 ac_save_CFLAGS="$CFLAGS"
3513 CFLAGS="$GSS_CPPFLAGS"
3514
3515 ac_save_LDFLAGS=$LDFLAGS
3516 LDFLAGS="$GSS_LDFLAGS"
3517 # to make sure the testing binary can be launched:
3518 if test -n "$with_gss"; then
3519    LDFLAGS="$LDFLAGS -Wl,-rpath -Wl,$with_gss/lib"
3520 fi
3521      if test "$cross_compiling" = yes; then :
3522   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3524 as_fn_error $? "cannot run test program while cross compiling
3525 See \`config.log' for more details" "$LINENO" 5 ; }
3526 else
3527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h.  */
3529
3530 #include <string.h>
3531 #include <gssapi.h>
3532 int main(int argc, char** argv)
3533 {
3534        OM_uint32 major_status, minor_status;
3535        gss_OID_set mech_set;
3536        gss_OID_desc spnego_oid_desc = {6, (void *)"\x2b\x06\x01\x05\x05\x02"};
3537        int SPNEGO = 0;
3538
3539        major_status = gss_indicate_mechs(&minor_status, &mech_set);
3540        if (GSS_ERROR(major_status))
3541                return 1;
3542        else {
3543                unsigned int i;
3544                for (i=0; i < mech_set->count && !SPNEGO; i++) {
3545                        gss_OID tmp_oid = &mech_set->elements[i];
3546                       if (tmp_oid->length == spnego_oid_desc.length &&
3547                            !memcmp(tmp_oid->elements, spnego_oid_desc.elements,
3548                                    tmp_oid->length)) {
3549                                SPNEGO = 1;
3550                                break;
3551                        }
3552                }
3553                gss_release_oid_set(&minor_status, &mech_set);
3554                return (!SPNEGO);
3555        }
3556 }
3557 _ACEOF
3558 if ac_fn_c_try_run "$LINENO"; then :
3559    if test $? -eq 0; then
3560          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3561 $as_echo "yes" >&6; }
3562
3563 $as_echo "#define GSSAPI_SUPPORTS_SPNEGO 1" >>confdefs.h
3564
3565          gssapi_supports_spnego=yes
3566        else
3567          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3568 $as_echo "no" >&6; }
3569        fi
3570 else
3571    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3573
3574 fi
3575 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3576   conftest.$ac_objext conftest.beam conftest.$ac_ext
3577 fi
3578
3579
3580 CFLAGS="$ac_save_CFLAGS"
3581 LDFLAGS="$ac_save_LDFLAGS"
3582
3583 if test -z "$gssapi_supports_spnego"; then
3584    SPNEGO_SRCS="\
3585                 spnegokrb5/asn1_MechType.c         \
3586                 spnegokrb5/asn1_MechTypeList.c     \
3587                 spnegokrb5/asn1_ContextFlags.c     \
3588                 spnegokrb5/asn1_NegTokenInit.c     \
3589                 spnegokrb5/asn1_NegTokenTarg.c     \
3590                 spnegokrb5/der_get.c               \
3591                 spnegokrb5/der_put.c               \
3592                 spnegokrb5/der_free.c              \
3593                 spnegokrb5/der_length.c            \
3594                 spnegokrb5/der_copy.c              \
3595                 spnegokrb5/timegm.c                \
3596                 spnegokrb5/init_sec_context.c      \
3597                 spnegokrb5/accept_sec_context.c    \
3598                 spnegokrb5/encapsulate.c           \
3599                 spnegokrb5/decapsulate.c           \
3600                 spnegokrb5/external.c"
3601 fi
3602
3603
3604
3605
3606 #
3607 # Apache enviroment
3608 #
3609
3610 # Check whether --with-apache was given.
3611 if test "${with_apache+set}" = set; then :
3612   withval=$with_apache;  with_apache="$withval"
3613 fi
3614
3615
3616 # Extract the first word of "apxs", so it can be a program name with args.
3617 set dummy apxs; ac_word=$2
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 $as_echo_n "checking for $ac_word... " >&6; }
3620 if test "${ac_cv_path_APXS+set}" = set; then :
3621   $as_echo_n "(cached) " >&6
3622 else
3623   case $APXS in
3624   [\\/]* | ?:[\\/]*)
3625   ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
3626   ;;
3627   *)
3628   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3629 as_dummy="$with_apache/bin:$with_apache/sbin:$PATH"
3630 for as_dir in $as_dummy
3631 do
3632   IFS=$as_save_IFS
3633   test -z "$as_dir" && as_dir=.
3634     for ac_exec_ext in '' $ac_executable_extensions; do
3635   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3636     ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
3637     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3638     break 2
3639   fi
3640 done
3641   done
3642 IFS=$as_save_IFS
3643
3644   ;;
3645 esac
3646 fi
3647 APXS=$ac_cv_path_APXS
3648 if test -n "$APXS"; then
3649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
3650 $as_echo "$APXS" >&6; }
3651 else
3652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3653 $as_echo "no" >&6; }
3654 fi
3655
3656
3657 if test -z "$APXS"; then
3658    # Extract the first word of "apxs2", so it can be a program name with args.
3659 set dummy apxs2; ac_word=$2
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3661 $as_echo_n "checking for $ac_word... " >&6; }
3662 if test "${ac_cv_path_APXS+set}" = set; then :
3663   $as_echo_n "(cached) " >&6
3664 else
3665   case $APXS in
3666   [\\/]* | ?:[\\/]*)
3667   ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
3668   ;;
3669   *)
3670   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3671 as_dummy="$with_apache/bin:$with_apache/sbin:$PATH"
3672 for as_dir in $as_dummy
3673 do
3674   IFS=$as_save_IFS
3675   test -z "$as_dir" && as_dir=.
3676     for ac_exec_ext in '' $ac_executable_extensions; do
3677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3678     ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
3679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3680     break 2
3681   fi
3682 done
3683   done
3684 IFS=$as_save_IFS
3685
3686   ;;
3687 esac
3688 fi
3689 APXS=$ac_cv_path_APXS
3690 if test -n "$APXS"; then
3691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
3692 $as_echo "$APXS" >&6; }
3693 else
3694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3695 $as_echo "no" >&6; }
3696 fi
3697
3698
3699    if test -z "$APXS"; then
3700       as_fn_error $? "failed to find apache apxs executable" "$LINENO" 5
3701    fi
3702 fi
3703
3704
3705 ac_config_files="$ac_config_files Makefile"
3706
3707
3708 cat >confcache <<\_ACEOF
3709 # This file is a shell script that caches the results of configure
3710 # tests run on this system so they can be shared between configure
3711 # scripts and configure runs, see configure's option --config-cache.
3712 # It is not useful on other systems.  If it contains results you don't
3713 # want to keep, you may remove or edit it.
3714 #
3715 # config.status only pays attention to the cache file if you give it
3716 # the --recheck option to rerun configure.
3717 #
3718 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3719 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3720 # following values.
3721
3722 _ACEOF
3723
3724 # The following way of writing the cache mishandles newlines in values,
3725 # but we know of no workaround that is simple, portable, and efficient.
3726 # So, we kill variables containing newlines.
3727 # Ultrix sh set writes to stderr and can't be redirected directly,
3728 # and sets the high bit in the cache file unless we assign to the vars.
3729 (
3730   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3731     eval ac_val=\$$ac_var
3732     case $ac_val in #(
3733     *${as_nl}*)
3734       case $ac_var in #(
3735       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3736 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3737       esac
3738       case $ac_var in #(
3739       _ | IFS | as_nl) ;; #(
3740       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3741       *) { eval $ac_var=; unset $ac_var;} ;;
3742       esac ;;
3743     esac
3744   done
3745
3746   (set) 2>&1 |
3747     case $as_nl`(ac_space=' '; set) 2>&1` in #(
3748     *${as_nl}ac_space=\ *)
3749       # `set' does not quote correctly, so add quotes: double-quote
3750       # substitution turns \\\\ into \\, and sed turns \\ into \.
3751       sed -n \
3752         "s/'/'\\\\''/g;
3753           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3754       ;; #(
3755     *)
3756       # `set' quotes correctly as required by POSIX, so do not add quotes.
3757       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3758       ;;
3759     esac |
3760     sort
3761 ) |
3762   sed '
3763      /^ac_cv_env_/b end
3764      t clear
3765      :clear
3766      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3767      t end
3768      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3769      :end' >>confcache
3770 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3771   if test -w "$cache_file"; then
3772     test "x$cache_file" != "x/dev/null" &&
3773       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3774 $as_echo "$as_me: updating cache $cache_file" >&6;}
3775     cat confcache >$cache_file
3776   else
3777     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3778 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3779   fi
3780 fi
3781 rm -f confcache
3782
3783 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3784 # Let make expand exec_prefix.
3785 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3786
3787 DEFS=-DHAVE_CONFIG_H
3788
3789 ac_libobjs=
3790 ac_ltlibobjs=
3791 U=
3792 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3793   # 1. Remove the extension, and $U if already installed.
3794   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3795   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3796   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3797   #    will be set to the directory where LIBOBJS objects are built.
3798   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3799   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3800 done
3801 LIBOBJS=$ac_libobjs
3802
3803 LTLIBOBJS=$ac_ltlibobjs
3804
3805
3806
3807 : ${CONFIG_STATUS=./config.status}
3808 ac_write_fail=0
3809 ac_clean_files_save=$ac_clean_files
3810 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3812 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3813 as_write_fail=0
3814 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3815 #! $SHELL
3816 # Generated by $as_me.
3817 # Run this file to recreate the current configuration.
3818 # Compiler output produced by configure, useful for debugging
3819 # configure, is in config.log if it exists.
3820
3821 debug=false
3822 ac_cs_recheck=false
3823 ac_cs_silent=false
3824
3825 SHELL=\${CONFIG_SHELL-$SHELL}
3826 export SHELL
3827 _ASEOF
3828 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3829 ## -------------------- ##
3830 ## M4sh Initialization. ##
3831 ## -------------------- ##
3832
3833 # Be more Bourne compatible
3834 DUALCASE=1; export DUALCASE # for MKS sh
3835 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3836   emulate sh
3837   NULLCMD=:
3838   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3839   # is contrary to our usage.  Disable this feature.
3840   alias -g '${1+"$@"}'='"$@"'
3841   setopt NO_GLOB_SUBST
3842 else
3843   case `(set -o) 2>/dev/null` in #(
3844   *posix*) :
3845     set -o posix ;; #(
3846   *) :
3847      ;;
3848 esac
3849 fi
3850
3851
3852 as_nl='
3853 '
3854 export as_nl
3855 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3856 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3857 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3858 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3859 # Prefer a ksh shell builtin over an external printf program on Solaris,
3860 # but without wasting forks for bash or zsh.
3861 if test -z "$BASH_VERSION$ZSH_VERSION" \
3862     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3863   as_echo='print -r --'
3864   as_echo_n='print -rn --'
3865 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3866   as_echo='printf %s\n'
3867   as_echo_n='printf %s'
3868 else
3869   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3870     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3871     as_echo_n='/usr/ucb/echo -n'
3872   else
3873     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3874     as_echo_n_body='eval
3875       arg=$1;
3876       case $arg in #(
3877       *"$as_nl"*)
3878         expr "X$arg" : "X\\(.*\\)$as_nl";
3879         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3880       esac;
3881       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3882     '
3883     export as_echo_n_body
3884     as_echo_n='sh -c $as_echo_n_body as_echo'
3885   fi
3886   export as_echo_body
3887   as_echo='sh -c $as_echo_body as_echo'
3888 fi
3889
3890 # The user is always right.
3891 if test "${PATH_SEPARATOR+set}" != set; then
3892   PATH_SEPARATOR=:
3893   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3894     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3895       PATH_SEPARATOR=';'
3896   }
3897 fi
3898
3899
3900 # IFS
3901 # We need space, tab and new line, in precisely that order.  Quoting is
3902 # there to prevent editors from complaining about space-tab.
3903 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3904 # splitting by setting IFS to empty value.)
3905 IFS=" ""        $as_nl"
3906
3907 # Find who we are.  Look in the path if we contain no directory separator.
3908 case $0 in #((
3909   *[\\/]* ) as_myself=$0 ;;
3910   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3911 for as_dir in $PATH
3912 do
3913   IFS=$as_save_IFS
3914   test -z "$as_dir" && as_dir=.
3915     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3916   done
3917 IFS=$as_save_IFS
3918
3919      ;;
3920 esac
3921 # We did not find ourselves, most probably we were run as `sh COMMAND'
3922 # in which case we are not to be found in the path.
3923 if test "x$as_myself" = x; then
3924   as_myself=$0
3925 fi
3926 if test ! -f "$as_myself"; then
3927   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3928   exit 1
3929 fi
3930
3931 # Unset variables that we do not need and which cause bugs (e.g. in
3932 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3933 # suppresses any "Segmentation fault" message there.  '((' could
3934 # trigger a bug in pdksh 5.2.14.
3935 for as_var in BASH_ENV ENV MAIL MAILPATH
3936 do eval test x\${$as_var+set} = xset \
3937   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3938 done
3939 PS1='$ '
3940 PS2='> '
3941 PS4='+ '
3942
3943 # NLS nuisances.
3944 LC_ALL=C
3945 export LC_ALL
3946 LANGUAGE=C
3947 export LANGUAGE
3948
3949 # CDPATH.
3950 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3951
3952
3953 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3954 # ----------------------------------------
3955 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3956 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3957 # script with STATUS, using 1 if that was 0.
3958 as_fn_error ()
3959 {
3960   as_status=$1; test $as_status -eq 0 && as_status=1
3961   if test "$4"; then
3962     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3963     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3964   fi
3965   $as_echo "$as_me: error: $2" >&2
3966   as_fn_exit $as_status
3967 } # as_fn_error
3968
3969
3970 # as_fn_set_status STATUS
3971 # -----------------------
3972 # Set $? to STATUS, without forking.
3973 as_fn_set_status ()
3974 {
3975   return $1
3976 } # as_fn_set_status
3977
3978 # as_fn_exit STATUS
3979 # -----------------
3980 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3981 as_fn_exit ()
3982 {
3983   set +e
3984   as_fn_set_status $1
3985   exit $1
3986 } # as_fn_exit
3987
3988 # as_fn_unset VAR
3989 # ---------------
3990 # Portably unset VAR.
3991 as_fn_unset ()
3992 {
3993   { eval $1=; unset $1;}
3994 }
3995 as_unset=as_fn_unset
3996 # as_fn_append VAR VALUE
3997 # ----------------------
3998 # Append the text in VALUE to the end of the definition contained in VAR. Take
3999 # advantage of any shell optimizations that allow amortized linear growth over
4000 # repeated appends, instead of the typical quadratic growth present in naive
4001 # implementations.
4002 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4003   eval 'as_fn_append ()
4004   {
4005     eval $1+=\$2
4006   }'
4007 else
4008   as_fn_append ()
4009   {
4010     eval $1=\$$1\$2
4011   }
4012 fi # as_fn_append
4013
4014 # as_fn_arith ARG...
4015 # ------------------
4016 # Perform arithmetic evaluation on the ARGs, and store the result in the
4017 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4018 # must be portable across $(()) and expr.
4019 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4020   eval 'as_fn_arith ()
4021   {
4022     as_val=$(( $* ))
4023   }'
4024 else
4025   as_fn_arith ()
4026   {
4027     as_val=`expr "$@" || test $? -eq 1`
4028   }
4029 fi # as_fn_arith
4030
4031
4032 if expr a : '\(a\)' >/dev/null 2>&1 &&
4033    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4034   as_expr=expr
4035 else
4036   as_expr=false
4037 fi
4038
4039 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4040   as_basename=basename
4041 else
4042   as_basename=false
4043 fi
4044
4045 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4046   as_dirname=dirname
4047 else
4048   as_dirname=false
4049 fi
4050
4051 as_me=`$as_basename -- "$0" ||
4052 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4053          X"$0" : 'X\(//\)$' \| \
4054          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4055 $as_echo X/"$0" |
4056     sed '/^.*\/\([^/][^/]*\)\/*$/{
4057             s//\1/
4058             q
4059           }
4060           /^X\/\(\/\/\)$/{
4061             s//\1/
4062             q
4063           }
4064           /^X\/\(\/\).*/{
4065             s//\1/
4066             q
4067           }
4068           s/.*/./; q'`
4069
4070 # Avoid depending upon Character Ranges.
4071 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4072 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4073 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4074 as_cr_digits='0123456789'
4075 as_cr_alnum=$as_cr_Letters$as_cr_digits
4076
4077 ECHO_C= ECHO_N= ECHO_T=
4078 case `echo -n x` in #(((((
4079 -n*)
4080   case `echo 'xy\c'` in
4081   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4082   xy)  ECHO_C='\c';;
4083   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4084        ECHO_T=' ';;
4085   esac;;
4086 *)
4087   ECHO_N='-n';;
4088 esac
4089
4090 rm -f conf$$ conf$$.exe conf$$.file
4091 if test -d conf$$.dir; then
4092   rm -f conf$$.dir/conf$$.file
4093 else
4094   rm -f conf$$.dir
4095   mkdir conf$$.dir 2>/dev/null
4096 fi
4097 if (echo >conf$$.file) 2>/dev/null; then
4098   if ln -s conf$$.file conf$$ 2>/dev/null; then
4099     as_ln_s='ln -s'
4100     # ... but there are two gotchas:
4101     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4102     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4103     # In both cases, we have to default to `cp -p'.
4104     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4105       as_ln_s='cp -p'
4106   elif ln conf$$.file conf$$ 2>/dev/null; then
4107     as_ln_s=ln
4108   else
4109     as_ln_s='cp -p'
4110   fi
4111 else
4112   as_ln_s='cp -p'
4113 fi
4114 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4115 rmdir conf$$.dir 2>/dev/null
4116
4117
4118 # as_fn_mkdir_p
4119 # -------------
4120 # Create "$as_dir" as a directory, including parents if necessary.
4121 as_fn_mkdir_p ()
4122 {
4123
4124   case $as_dir in #(
4125   -*) as_dir=./$as_dir;;
4126   esac
4127   test -d "$as_dir" || eval $as_mkdir_p || {
4128     as_dirs=
4129     while :; do
4130       case $as_dir in #(
4131       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4132       *) as_qdir=$as_dir;;
4133       esac
4134       as_dirs="'$as_qdir' $as_dirs"
4135       as_dir=`$as_dirname -- "$as_dir" ||
4136 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4137          X"$as_dir" : 'X\(//\)[^/]' \| \
4138          X"$as_dir" : 'X\(//\)$' \| \
4139          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4140 $as_echo X"$as_dir" |
4141     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4142             s//\1/
4143             q
4144           }
4145           /^X\(\/\/\)[^/].*/{
4146             s//\1/
4147             q
4148           }
4149           /^X\(\/\/\)$/{
4150             s//\1/
4151             q
4152           }
4153           /^X\(\/\).*/{
4154             s//\1/
4155             q
4156           }
4157           s/.*/./; q'`
4158       test -d "$as_dir" && break
4159     done
4160     test -z "$as_dirs" || eval "mkdir $as_dirs"
4161   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4162
4163
4164 } # as_fn_mkdir_p
4165 if mkdir -p . 2>/dev/null; then
4166   as_mkdir_p='mkdir -p "$as_dir"'
4167 else
4168   test -d ./-p && rmdir ./-p
4169   as_mkdir_p=false
4170 fi
4171
4172 if test -x / >/dev/null 2>&1; then
4173   as_test_x='test -x'
4174 else
4175   if ls -dL / >/dev/null 2>&1; then
4176     as_ls_L_option=L
4177   else
4178     as_ls_L_option=
4179   fi
4180   as_test_x='
4181     eval sh -c '\''
4182       if test -d "$1"; then
4183         test -d "$1/.";
4184       else
4185         case $1 in #(
4186         -*)set "./$1";;
4187         esac;
4188         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4189         ???[sx]*):;;*)false;;esac;fi
4190     '\'' sh
4191   '
4192 fi
4193 as_executable_p=$as_test_x
4194
4195 # Sed expression to map a string onto a valid CPP name.
4196 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4197
4198 # Sed expression to map a string onto a valid variable name.
4199 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4200
4201
4202 exec 6>&1
4203 ## ----------------------------------- ##
4204 ## Main body of $CONFIG_STATUS script. ##
4205 ## ----------------------------------- ##
4206 _ASEOF
4207 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4208
4209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4210 # Save the log message, to keep $0 and so on meaningful, and to
4211 # report actual input values of CONFIG_FILES etc. instead of their
4212 # values after options handling.
4213 ac_log="
4214 This file was extended by mod_auth_gssapi $as_me 0.1, which was
4215 generated by GNU Autoconf 2.67.  Invocation command line was
4216
4217   CONFIG_FILES    = $CONFIG_FILES
4218   CONFIG_HEADERS  = $CONFIG_HEADERS
4219   CONFIG_LINKS    = $CONFIG_LINKS
4220   CONFIG_COMMANDS = $CONFIG_COMMANDS
4221   $ $0 $@
4222
4223 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4224 "
4225
4226 _ACEOF
4227
4228 case $ac_config_files in *"
4229 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4230 esac
4231
4232 case $ac_config_headers in *"
4233 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4234 esac
4235
4236
4237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4238 # Files that config.status was made for.
4239 config_files="$ac_config_files"
4240 config_headers="$ac_config_headers"
4241
4242 _ACEOF
4243
4244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4245 ac_cs_usage="\
4246 \`$as_me' instantiates files and other configuration actions
4247 from templates according to the current configuration.  Unless the files
4248 and actions are specified as TAGs, all are instantiated by default.
4249
4250 Usage: $0 [OPTION]... [TAG]...
4251
4252   -h, --help       print this help, then exit
4253   -V, --version    print version number and configuration settings, then exit
4254       --config     print configuration, then exit
4255   -q, --quiet, --silent
4256                    do not print progress messages
4257   -d, --debug      don't remove temporary files
4258       --recheck    update $as_me by reconfiguring in the same conditions
4259       --file=FILE[:TEMPLATE]
4260                    instantiate the configuration file FILE
4261       --header=FILE[:TEMPLATE]
4262                    instantiate the configuration header FILE
4263
4264 Configuration files:
4265 $config_files
4266
4267 Configuration headers:
4268 $config_headers
4269
4270 Report bugs to <modauthkerb-developers@lists.sourceforge.net>."
4271
4272 _ACEOF
4273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4274 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4275 ac_cs_version="\\
4276 mod_auth_gssapi config.status 0.1
4277 configured by $0, generated by GNU Autoconf 2.67,
4278   with options \\"\$ac_cs_config\\"
4279
4280 Copyright (C) 2010 Free Software Foundation, Inc.
4281 This config.status script is free software; the Free Software Foundation
4282 gives unlimited permission to copy, distribute and modify it."
4283
4284 ac_pwd='$ac_pwd'
4285 srcdir='$srcdir'
4286 test -n "\$AWK" || AWK=awk
4287 _ACEOF
4288
4289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4290 # The default lists apply if the user does not specify any file.
4291 ac_need_defaults=:
4292 while test $# != 0
4293 do
4294   case $1 in
4295   --*=?*)
4296     ac_option=`expr "X$1" : 'X\([^=]*\)='`
4297     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4298     ac_shift=:
4299     ;;
4300   --*=)
4301     ac_option=`expr "X$1" : 'X\([^=]*\)='`
4302     ac_optarg=
4303     ac_shift=:
4304     ;;
4305   *)
4306     ac_option=$1
4307     ac_optarg=$2
4308     ac_shift=shift
4309     ;;
4310   esac
4311
4312   case $ac_option in
4313   # Handling of the options.
4314   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4315     ac_cs_recheck=: ;;
4316   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4317     $as_echo "$ac_cs_version"; exit ;;
4318   --config | --confi | --conf | --con | --co | --c )
4319     $as_echo "$ac_cs_config"; exit ;;
4320   --debug | --debu | --deb | --de | --d | -d )
4321     debug=: ;;
4322   --file | --fil | --fi | --f )
4323     $ac_shift
4324     case $ac_optarg in
4325     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4326     '') as_fn_error $? "missing file argument" ;;
4327     esac
4328     as_fn_append CONFIG_FILES " '$ac_optarg'"
4329     ac_need_defaults=false;;
4330   --header | --heade | --head | --hea )
4331     $ac_shift
4332     case $ac_optarg in
4333     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4334     esac
4335     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4336     ac_need_defaults=false;;
4337   --he | --h)
4338     # Conflict between --help and --header
4339     as_fn_error $? "ambiguous option: \`$1'
4340 Try \`$0 --help' for more information.";;
4341   --help | --hel | -h )
4342     $as_echo "$ac_cs_usage"; exit ;;
4343   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4344   | -silent | --silent | --silen | --sile | --sil | --si | --s)
4345     ac_cs_silent=: ;;
4346
4347   # This is an error.
4348   -*) as_fn_error $? "unrecognized option: \`$1'
4349 Try \`$0 --help' for more information." ;;
4350
4351   *) as_fn_append ac_config_targets " $1"
4352      ac_need_defaults=false ;;
4353
4354   esac
4355   shift
4356 done
4357
4358 ac_configure_extra_args=
4359
4360 if $ac_cs_silent; then
4361   exec 6>/dev/null
4362   ac_configure_extra_args="$ac_configure_extra_args --silent"
4363 fi
4364
4365 _ACEOF
4366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4367 if \$ac_cs_recheck; then
4368   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4369   shift
4370   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4371   CONFIG_SHELL='$SHELL'
4372   export CONFIG_SHELL
4373   exec "\$@"
4374 fi
4375
4376 _ACEOF
4377 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4378 exec 5>>config.log
4379 {
4380   echo
4381   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4382 ## Running $as_me. ##
4383 _ASBOX
4384   $as_echo "$ac_log"
4385 } >&5
4386
4387 _ACEOF
4388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4389 _ACEOF
4390
4391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4392
4393 # Handling of arguments.
4394 for ac_config_target in $ac_config_targets
4395 do
4396   case $ac_config_target in
4397     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4398     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4399
4400   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
4401   esac
4402 done
4403
4404
4405 # If the user did not use the arguments to specify the items to instantiate,
4406 # then the envvar interface is used.  Set only those that are not.
4407 # We use the long form for the default assignment because of an extremely
4408 # bizarre bug on SunOS 4.1.3.
4409 if $ac_need_defaults; then
4410   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4411   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4412 fi
4413
4414 # Have a temporary directory for convenience.  Make it in the build tree
4415 # simply because there is no reason against having it here, and in addition,
4416 # creating and moving files from /tmp can sometimes cause problems.
4417 # Hook for its removal unless debugging.
4418 # Note that there is a small window in which the directory will not be cleaned:
4419 # after its creation but before its name has been assigned to `$tmp'.
4420 $debug ||
4421 {
4422   tmp=
4423   trap 'exit_status=$?
4424   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4425 ' 0
4426   trap 'as_fn_exit 1' 1 2 13 15
4427 }
4428 # Create a (secure) tmp directory for tmp files.
4429
4430 {
4431   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4432   test -n "$tmp" && test -d "$tmp"
4433 }  ||
4434 {
4435   tmp=./conf$$-$RANDOM
4436   (umask 077 && mkdir "$tmp")
4437 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4438
4439 # Set up the scripts for CONFIG_FILES section.
4440 # No need to generate them if there are no CONFIG_FILES.
4441 # This happens for instance with `./config.status config.h'.
4442 if test -n "$CONFIG_FILES"; then
4443
4444
4445 ac_cr=`echo X | tr X '\015'`
4446 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4447 # But we know of no other shell where ac_cr would be empty at this
4448 # point, so we can use a bashism as a fallback.
4449 if test "x$ac_cr" = x; then
4450   eval ac_cr=\$\'\\r\'
4451 fi
4452 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4453 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4454   ac_cs_awk_cr='\\r'
4455 else
4456   ac_cs_awk_cr=$ac_cr
4457 fi
4458
4459 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4460 _ACEOF
4461
4462
4463 {
4464   echo "cat >conf$$subs.awk <<_ACEOF" &&
4465   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4466   echo "_ACEOF"
4467 } >conf$$subs.sh ||
4468   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4469 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4470 ac_delim='%!_!# '
4471 for ac_last_try in false false false false false :; do
4472   . ./conf$$subs.sh ||
4473     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4474
4475   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4476   if test $ac_delim_n = $ac_delim_num; then
4477     break
4478   elif $ac_last_try; then
4479     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4480   else
4481     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4482   fi
4483 done
4484 rm -f conf$$subs.sh
4485
4486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4487 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4488 _ACEOF
4489 sed -n '
4490 h
4491 s/^/S["/; s/!.*/"]=/
4492 p
4493 g
4494 s/^[^!]*!//
4495 :repl
4496 t repl
4497 s/'"$ac_delim"'$//
4498 t delim
4499 :nl
4500 h
4501 s/\(.\{148\}\)..*/\1/
4502 t more1
4503 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4504 p
4505 n
4506 b repl
4507 :more1
4508 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4509 p
4510 g
4511 s/.\{148\}//
4512 t nl
4513 :delim
4514 h
4515 s/\(.\{148\}\)..*/\1/
4516 t more2
4517 s/["\\]/\\&/g; s/^/"/; s/$/"/
4518 p
4519 b
4520 :more2
4521 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4522 p
4523 g
4524 s/.\{148\}//
4525 t delim
4526 ' <conf$$subs.awk | sed '
4527 /^[^""]/{
4528   N
4529   s/\n//
4530 }
4531 ' >>$CONFIG_STATUS || ac_write_fail=1
4532 rm -f conf$$subs.awk
4533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4534 _ACAWK
4535 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4536   for (key in S) S_is_set[key] = 1
4537   FS = "\a"
4538
4539 }
4540 {
4541   line = $ 0
4542   nfields = split(line, field, "@")
4543   substed = 0
4544   len = length(field[1])
4545   for (i = 2; i < nfields; i++) {
4546     key = field[i]
4547     keylen = length(key)
4548     if (S_is_set[key]) {
4549       value = S[key]
4550       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4551       len += length(value) + length(field[++i])
4552       substed = 1
4553     } else
4554       len += 1 + keylen
4555   }
4556
4557   print line
4558 }
4559
4560 _ACAWK
4561 _ACEOF
4562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4563 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4564   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4565 else
4566   cat
4567 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4568   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4569 _ACEOF
4570
4571 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4572 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4573 # trailing colons and then remove the whole line if VPATH becomes empty
4574 # (actually we leave an empty line to preserve line numbers).
4575 if test "x$srcdir" = x.; then
4576   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
4577 h
4578 s///
4579 s/^/:/
4580 s/[      ]*$/:/
4581 s/:\$(srcdir):/:/g
4582 s/:\${srcdir}:/:/g
4583 s/:@srcdir@:/:/g
4584 s/^:*//
4585 s/:*$//
4586 x
4587 s/\(=[   ]*\).*/\1/
4588 G
4589 s/\n//
4590 s/^[^=]*=[       ]*$//
4591 }'
4592 fi
4593
4594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4595 fi # test -n "$CONFIG_FILES"
4596
4597 # Set up the scripts for CONFIG_HEADERS section.
4598 # No need to generate them if there are no CONFIG_HEADERS.
4599 # This happens for instance with `./config.status Makefile'.
4600 if test -n "$CONFIG_HEADERS"; then
4601 cat >"$tmp/defines.awk" <<\_ACAWK ||
4602 BEGIN {
4603 _ACEOF
4604
4605 # Transform confdefs.h into an awk script `defines.awk', embedded as
4606 # here-document in config.status, that substitutes the proper values into
4607 # config.h.in to produce config.h.
4608
4609 # Create a delimiter string that does not exist in confdefs.h, to ease
4610 # handling of long lines.
4611 ac_delim='%!_!# '
4612 for ac_last_try in false false :; do
4613   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4614   if test -z "$ac_t"; then
4615     break
4616   elif $ac_last_try; then
4617     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4618   else
4619     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4620   fi
4621 done
4622
4623 # For the awk script, D is an array of macro values keyed by name,
4624 # likewise P contains macro parameters if any.  Preserve backslash
4625 # newline sequences.
4626
4627 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4628 sed -n '
4629 s/.\{148\}/&'"$ac_delim"'/g
4630 t rset
4631 :rset
4632 s/^[     ]*#[    ]*define[       ][      ]*/ /
4633 t def
4634 d
4635 :def
4636 s/\\$//
4637 t bsnl
4638 s/["\\]/\\&/g
4639 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
4640 D["\1"]=" \3"/p
4641 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
4642 d
4643 :bsnl
4644 s/["\\]/\\&/g
4645 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
4646 D["\1"]=" \3\\\\\\n"\\/p
4647 t cont
4648 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4649 t cont
4650 d
4651 :cont
4652 n
4653 s/.\{148\}/&'"$ac_delim"'/g
4654 t clear
4655 :clear
4656 s/\\$//
4657 t bsnlc
4658 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4659 d
4660 :bsnlc
4661 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4662 b cont
4663 ' <confdefs.h | sed '
4664 s/'"$ac_delim"'/"\\\
4665 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4666
4667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4668   for (key in D) D_is_set[key] = 1
4669   FS = "\a"
4670 }
4671 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4672   line = \$ 0
4673   split(line, arg, " ")
4674   if (arg[1] == "#") {
4675     defundef = arg[2]
4676     mac1 = arg[3]
4677   } else {
4678     defundef = substr(arg[1], 2)
4679     mac1 = arg[2]
4680   }
4681   split(mac1, mac2, "(") #)
4682   macro = mac2[1]
4683   prefix = substr(line, 1, index(line, defundef) - 1)
4684   if (D_is_set[macro]) {
4685     # Preserve the white space surrounding the "#".
4686     print prefix "define", macro P[macro] D[macro]
4687     next
4688   } else {
4689     # Replace #undef with comments.  This is necessary, for example,
4690     # in the case of _POSIX_SOURCE, which is predefined and required
4691     # on some systems where configure will not decide to define it.
4692     if (defundef == "undef") {
4693       print "/*", prefix defundef, macro, "*/"
4694       next
4695     }
4696   }
4697 }
4698 { print }
4699 _ACAWK
4700 _ACEOF
4701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4702   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4703 fi # test -n "$CONFIG_HEADERS"
4704
4705
4706 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
4707 shift
4708 for ac_tag
4709 do
4710   case $ac_tag in
4711   :[FHLC]) ac_mode=$ac_tag; continue;;
4712   esac
4713   case $ac_mode$ac_tag in
4714   :[FHL]*:*);;
4715   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
4716   :[FH]-) ac_tag=-:-;;
4717   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4718   esac
4719   ac_save_IFS=$IFS
4720   IFS=:
4721   set x $ac_tag
4722   IFS=$ac_save_IFS
4723   shift
4724   ac_file=$1
4725   shift
4726
4727   case $ac_mode in
4728   :L) ac_source=$1;;
4729   :[FH])
4730     ac_file_inputs=
4731     for ac_f
4732     do
4733       case $ac_f in
4734       -) ac_f="$tmp/stdin";;
4735       *) # Look for the file first in the build tree, then in the source tree
4736          # (if the path is not absolute).  The absolute path cannot be DOS-style,
4737          # because $ac_f cannot contain `:'.
4738          test -f "$ac_f" ||
4739            case $ac_f in
4740            [\\/$]*) false;;
4741            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4742            esac ||
4743            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
4744       esac
4745       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4746       as_fn_append ac_file_inputs " '$ac_f'"
4747     done
4748
4749     # Let's still pretend it is `configure' which instantiates (i.e., don't
4750     # use $as_me), people would be surprised to read:
4751     #    /* config.h.  Generated by config.status.  */
4752     configure_input='Generated from '`
4753           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4754         `' by configure.'
4755     if test x"$ac_file" != x-; then
4756       configure_input="$ac_file.  $configure_input"
4757       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4758 $as_echo "$as_me: creating $ac_file" >&6;}
4759     fi
4760     # Neutralize special characters interpreted by sed in replacement strings.
4761     case $configure_input in #(
4762     *\&* | *\|* | *\\* )
4763        ac_sed_conf_input=`$as_echo "$configure_input" |
4764        sed 's/[\\\\&|]/\\\\&/g'`;; #(
4765     *) ac_sed_conf_input=$configure_input;;
4766     esac
4767
4768     case $ac_tag in
4769     *:-:* | *:-) cat >"$tmp/stdin" \
4770       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
4771     esac
4772     ;;
4773   esac
4774
4775   ac_dir=`$as_dirname -- "$ac_file" ||
4776 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4777          X"$ac_file" : 'X\(//\)[^/]' \| \
4778          X"$ac_file" : 'X\(//\)$' \| \
4779          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4780 $as_echo X"$ac_file" |
4781     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4782             s//\1/
4783             q
4784           }
4785           /^X\(\/\/\)[^/].*/{
4786             s//\1/
4787             q
4788           }
4789           /^X\(\/\/\)$/{
4790             s//\1/
4791             q
4792           }
4793           /^X\(\/\).*/{
4794             s//\1/
4795             q
4796           }
4797           s/.*/./; q'`
4798   as_dir="$ac_dir"; as_fn_mkdir_p
4799   ac_builddir=.
4800
4801 case "$ac_dir" in
4802 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4803 *)
4804   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4805   # A ".." for each directory in $ac_dir_suffix.
4806   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4807   case $ac_top_builddir_sub in
4808   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4809   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4810   esac ;;
4811 esac
4812 ac_abs_top_builddir=$ac_pwd
4813 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4814 # for backward compatibility:
4815 ac_top_builddir=$ac_top_build_prefix
4816
4817 case $srcdir in
4818   .)  # We are building in place.
4819     ac_srcdir=.
4820     ac_top_srcdir=$ac_top_builddir_sub
4821     ac_abs_top_srcdir=$ac_pwd ;;
4822   [\\/]* | ?:[\\/]* )  # Absolute name.
4823     ac_srcdir=$srcdir$ac_dir_suffix;
4824     ac_top_srcdir=$srcdir
4825     ac_abs_top_srcdir=$srcdir ;;
4826   *) # Relative name.
4827     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4828     ac_top_srcdir=$ac_top_build_prefix$srcdir
4829     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4830 esac
4831 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4832
4833
4834   case $ac_mode in
4835   :F)
4836   #
4837   # CONFIG_FILE
4838   #
4839
4840 _ACEOF
4841
4842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4843 # If the template does not know about datarootdir, expand it.
4844 # FIXME: This hack should be removed a few years after 2.60.
4845 ac_datarootdir_hack=; ac_datarootdir_seen=
4846 ac_sed_dataroot='
4847 /datarootdir/ {
4848   p
4849   q
4850 }
4851 /@datadir@/p
4852 /@docdir@/p
4853 /@infodir@/p
4854 /@localedir@/p
4855 /@mandir@/p'
4856 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4857 *datarootdir*) ac_datarootdir_seen=yes;;
4858 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4859   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4860 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4861 _ACEOF
4862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4863   ac_datarootdir_hack='
4864   s&@datadir@&$datadir&g
4865   s&@docdir@&$docdir&g
4866   s&@infodir@&$infodir&g
4867   s&@localedir@&$localedir&g
4868   s&@mandir@&$mandir&g
4869   s&\\\${datarootdir}&$datarootdir&g' ;;
4870 esac
4871 _ACEOF
4872
4873 # Neutralize VPATH when `$srcdir' = `.'.
4874 # Shell code in configure.ac might set extrasub.
4875 # FIXME: do we really want to maintain this feature?
4876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4877 ac_sed_extra="$ac_vpsub
4878 $extrasub
4879 _ACEOF
4880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4881 :t
4882 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4883 s|@configure_input@|$ac_sed_conf_input|;t t
4884 s&@top_builddir@&$ac_top_builddir_sub&;t t
4885 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4886 s&@srcdir@&$ac_srcdir&;t t
4887 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4888 s&@top_srcdir@&$ac_top_srcdir&;t t
4889 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4890 s&@builddir@&$ac_builddir&;t t
4891 s&@abs_builddir@&$ac_abs_builddir&;t t
4892 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4893 $ac_datarootdir_hack
4894 "
4895 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4896   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4897
4898 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4899   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4900   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4901   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4902 which seems to be undefined.  Please make sure it is defined" >&5
4903 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4904 which seems to be undefined.  Please make sure it is defined" >&2;}
4905
4906   rm -f "$tmp/stdin"
4907   case $ac_file in
4908   -) cat "$tmp/out" && rm -f "$tmp/out";;
4909   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4910   esac \
4911   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4912  ;;
4913   :H)
4914   #
4915   # CONFIG_HEADER
4916   #
4917   if test x"$ac_file" != x-; then
4918     {
4919       $as_echo "/* $configure_input  */" \
4920       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
4921     } >"$tmp/config.h" \
4922       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4923     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
4924       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4925 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4926     else
4927       rm -f "$ac_file"
4928       mv "$tmp/config.h" "$ac_file" \
4929         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4930     fi
4931   else
4932     $as_echo "/* $configure_input  */" \
4933       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
4934       || as_fn_error $? "could not create -" "$LINENO" 5
4935   fi
4936  ;;
4937
4938
4939   esac
4940
4941 done # for ac_tag
4942
4943
4944 as_fn_exit 0
4945 _ACEOF
4946 ac_clean_files=$ac_clean_files_save
4947
4948 test $ac_write_fail = 0 ||
4949   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4950
4951
4952 # configure is writing to config.log, and then calls config.status.
4953 # config.status does its own redirection, appending to config.log.
4954 # Unfortunately, on DOS this fails, as config.log is still kept open
4955 # by configure, so config.status won't be able to write to it; its
4956 # output is simply discarded.  So we exec the FD to /dev/null,
4957 # effectively closing config.log, so it can be properly (re)opened and
4958 # appended to by config.status.  When coming back to configure, we
4959 # need to make the FD available again.
4960 if test "$no_create" != yes; then
4961   ac_cs_success=:
4962   ac_config_status_args=
4963   test "$silent" = yes &&
4964     ac_config_status_args="$ac_config_status_args --quiet"
4965   exec 5>/dev/null
4966   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4967   exec 5>>config.log
4968   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4969   # would make configure fail if this is the last instruction.
4970   $ac_cs_success || as_fn_exit 1
4971 fi
4972 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4973   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4974 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4975 fi
4976