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