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