Link with libradius, too
[freeradius.git] / src / modules / rlm_eap / configure
1 #! /bin/sh
2 # From configure.in Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.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.c"
581 ac_subst_vars='SHELL
582 PATH_SEPARATOR
583 PACKAGE_NAME
584 PACKAGE_TARNAME
585 PACKAGE_VERSION
586 PACKAGE_STRING
587 PACKAGE_BUGREPORT
588 exec_prefix
589 prefix
590 program_transform_name
591 bindir
592 sbindir
593 libexecdir
594 datarootdir
595 datadir
596 sysconfdir
597 sharedstatedir
598 localstatedir
599 includedir
600 oldincludedir
601 docdir
602 infodir
603 htmldir
604 dvidir
605 pdfdir
606 psdir
607 libdir
608 localedir
609 mandir
610 DEFS
611 ECHO_C
612 ECHO_N
613 ECHO_T
614 LIBS
615 build_alias
616 host_alias
617 target_alias
618 CC
619 CFLAGS
620 LDFLAGS
621 CPPFLAGS
622 ac_ct_CC
623 EXEEXT
624 OBJEXT
625 subdirs
626 eaptypes
627 eap_ldflags
628 eap_cflags
629 targetname
630 LIBOBJS
631 LTLIBOBJS'
632 ac_subst_files=''
633       ac_precious_vars='build_alias
634 host_alias
635 target_alias
636 CC
637 CFLAGS
638 LDFLAGS
639 LIBS
640 CPPFLAGS'
641 ac_subdirs_all='$eapsubdirs'
642
643 # Initialize some variables set by options.
644 ac_init_help=
645 ac_init_version=false
646 # The variables have the same names as the options, with
647 # dashes changed to underlines.
648 cache_file=/dev/null
649 exec_prefix=NONE
650 no_create=
651 no_recursion=
652 prefix=NONE
653 program_prefix=NONE
654 program_suffix=NONE
655 program_transform_name=s,x,x,
656 silent=
657 site=
658 srcdir=
659 verbose=
660 x_includes=NONE
661 x_libraries=NONE
662
663 # Installation directory options.
664 # These are left unexpanded so users can "make install exec_prefix=/foo"
665 # and all the variables that are supposed to be based on exec_prefix
666 # by default will actually change.
667 # Use braces instead of parens because sh, perl, etc. also accept them.
668 # (The list follows the same order as the GNU Coding Standards.)
669 bindir='${exec_prefix}/bin'
670 sbindir='${exec_prefix}/sbin'
671 libexecdir='${exec_prefix}/libexec'
672 datarootdir='${prefix}/share'
673 datadir='${datarootdir}'
674 sysconfdir='${prefix}/etc'
675 sharedstatedir='${prefix}/com'
676 localstatedir='${prefix}/var'
677 includedir='${prefix}/include'
678 oldincludedir='/usr/include'
679 docdir='${datarootdir}/doc/${PACKAGE}'
680 infodir='${datarootdir}/info'
681 htmldir='${docdir}'
682 dvidir='${docdir}'
683 pdfdir='${docdir}'
684 psdir='${docdir}'
685 libdir='${exec_prefix}/lib'
686 localedir='${datarootdir}/locale'
687 mandir='${datarootdir}/man'
688
689 ac_prev=
690 ac_dashdash=
691 for ac_option
692 do
693   # If the previous option needs an argument, assign it.
694   if test -n "$ac_prev"; then
695     eval $ac_prev=\$ac_option
696     ac_prev=
697     continue
698   fi
699
700   case $ac_option in
701   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
702   *)    ac_optarg=yes ;;
703   esac
704
705   # Accept the important Cygnus configure options, so we can diagnose typos.
706
707   case $ac_dashdash$ac_option in
708   --)
709     ac_dashdash=yes ;;
710
711   -bindir | --bindir | --bindi | --bind | --bin | --bi)
712     ac_prev=bindir ;;
713   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
714     bindir=$ac_optarg ;;
715
716   -build | --build | --buil | --bui | --bu)
717     ac_prev=build_alias ;;
718   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
719     build_alias=$ac_optarg ;;
720
721   -cache-file | --cache-file | --cache-fil | --cache-fi \
722   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
723     ac_prev=cache_file ;;
724   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
725   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
726     cache_file=$ac_optarg ;;
727
728   --config-cache | -C)
729     cache_file=config.cache ;;
730
731   -datadir | --datadir | --datadi | --datad)
732     ac_prev=datadir ;;
733   -datadir=* | --datadir=* | --datadi=* | --datad=*)
734     datadir=$ac_optarg ;;
735
736   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
737   | --dataroo | --dataro | --datar)
738     ac_prev=datarootdir ;;
739   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
740   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
741     datarootdir=$ac_optarg ;;
742
743   -disable-* | --disable-*)
744     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
745     # Reject names that are not valid shell variable names.
746     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
747       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
748    { (exit 1); exit 1; }; }
749     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
750     eval enable_$ac_feature=no ;;
751
752   -docdir | --docdir | --docdi | --doc | --do)
753     ac_prev=docdir ;;
754   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
755     docdir=$ac_optarg ;;
756
757   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
758     ac_prev=dvidir ;;
759   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
760     dvidir=$ac_optarg ;;
761
762   -enable-* | --enable-*)
763     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
764     # Reject names that are not valid shell variable names.
765     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
766       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
767    { (exit 1); exit 1; }; }
768     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
769     eval enable_$ac_feature=\$ac_optarg ;;
770
771   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
772   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
773   | --exec | --exe | --ex)
774     ac_prev=exec_prefix ;;
775   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
776   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
777   | --exec=* | --exe=* | --ex=*)
778     exec_prefix=$ac_optarg ;;
779
780   -gas | --gas | --ga | --g)
781     # Obsolete; use --with-gas.
782     with_gas=yes ;;
783
784   -help | --help | --hel | --he | -h)
785     ac_init_help=long ;;
786   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
787     ac_init_help=recursive ;;
788   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
789     ac_init_help=short ;;
790
791   -host | --host | --hos | --ho)
792     ac_prev=host_alias ;;
793   -host=* | --host=* | --hos=* | --ho=*)
794     host_alias=$ac_optarg ;;
795
796   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
797     ac_prev=htmldir ;;
798   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
799   | --ht=*)
800     htmldir=$ac_optarg ;;
801
802   -includedir | --includedir | --includedi | --included | --include \
803   | --includ | --inclu | --incl | --inc)
804     ac_prev=includedir ;;
805   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
806   | --includ=* | --inclu=* | --incl=* | --inc=*)
807     includedir=$ac_optarg ;;
808
809   -infodir | --infodir | --infodi | --infod | --info | --inf)
810     ac_prev=infodir ;;
811   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
812     infodir=$ac_optarg ;;
813
814   -libdir | --libdir | --libdi | --libd)
815     ac_prev=libdir ;;
816   -libdir=* | --libdir=* | --libdi=* | --libd=*)
817     libdir=$ac_optarg ;;
818
819   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
820   | --libexe | --libex | --libe)
821     ac_prev=libexecdir ;;
822   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
823   | --libexe=* | --libex=* | --libe=*)
824     libexecdir=$ac_optarg ;;
825
826   -localedir | --localedir | --localedi | --localed | --locale)
827     ac_prev=localedir ;;
828   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
829     localedir=$ac_optarg ;;
830
831   -localstatedir | --localstatedir | --localstatedi | --localstated \
832   | --localstate | --localstat | --localsta | --localst | --locals)
833     ac_prev=localstatedir ;;
834   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
835   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
836     localstatedir=$ac_optarg ;;
837
838   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
839     ac_prev=mandir ;;
840   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
841     mandir=$ac_optarg ;;
842
843   -nfp | --nfp | --nf)
844     # Obsolete; use --without-fp.
845     with_fp=no ;;
846
847   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
848   | --no-cr | --no-c | -n)
849     no_create=yes ;;
850
851   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
852   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
853     no_recursion=yes ;;
854
855   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
856   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
857   | --oldin | --oldi | --old | --ol | --o)
858     ac_prev=oldincludedir ;;
859   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
860   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
861   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
862     oldincludedir=$ac_optarg ;;
863
864   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
865     ac_prev=prefix ;;
866   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
867     prefix=$ac_optarg ;;
868
869   -program-prefix | --program-prefix | --program-prefi | --program-pref \
870   | --program-pre | --program-pr | --program-p)
871     ac_prev=program_prefix ;;
872   -program-prefix=* | --program-prefix=* | --program-prefi=* \
873   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
874     program_prefix=$ac_optarg ;;
875
876   -program-suffix | --program-suffix | --program-suffi | --program-suff \
877   | --program-suf | --program-su | --program-s)
878     ac_prev=program_suffix ;;
879   -program-suffix=* | --program-suffix=* | --program-suffi=* \
880   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
881     program_suffix=$ac_optarg ;;
882
883   -program-transform-name | --program-transform-name \
884   | --program-transform-nam | --program-transform-na \
885   | --program-transform-n | --program-transform- \
886   | --program-transform | --program-transfor \
887   | --program-transfo | --program-transf \
888   | --program-trans | --program-tran \
889   | --progr-tra | --program-tr | --program-t)
890     ac_prev=program_transform_name ;;
891   -program-transform-name=* | --program-transform-name=* \
892   | --program-transform-nam=* | --program-transform-na=* \
893   | --program-transform-n=* | --program-transform-=* \
894   | --program-transform=* | --program-transfor=* \
895   | --program-transfo=* | --program-transf=* \
896   | --program-trans=* | --program-tran=* \
897   | --progr-tra=* | --program-tr=* | --program-t=*)
898     program_transform_name=$ac_optarg ;;
899
900   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
901     ac_prev=pdfdir ;;
902   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
903     pdfdir=$ac_optarg ;;
904
905   -psdir | --psdir | --psdi | --psd | --ps)
906     ac_prev=psdir ;;
907   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
908     psdir=$ac_optarg ;;
909
910   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
911   | -silent | --silent | --silen | --sile | --sil)
912     silent=yes ;;
913
914   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
915     ac_prev=sbindir ;;
916   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
917   | --sbi=* | --sb=*)
918     sbindir=$ac_optarg ;;
919
920   -sharedstatedir | --sharedstatedir | --sharedstatedi \
921   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
922   | --sharedst | --shareds | --shared | --share | --shar \
923   | --sha | --sh)
924     ac_prev=sharedstatedir ;;
925   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
926   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
927   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
928   | --sha=* | --sh=*)
929     sharedstatedir=$ac_optarg ;;
930
931   -site | --site | --sit)
932     ac_prev=site ;;
933   -site=* | --site=* | --sit=*)
934     site=$ac_optarg ;;
935
936   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
937     ac_prev=srcdir ;;
938   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
939     srcdir=$ac_optarg ;;
940
941   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
942   | --syscon | --sysco | --sysc | --sys | --sy)
943     ac_prev=sysconfdir ;;
944   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
945   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
946     sysconfdir=$ac_optarg ;;
947
948   -target | --target | --targe | --targ | --tar | --ta | --t)
949     ac_prev=target_alias ;;
950   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
951     target_alias=$ac_optarg ;;
952
953   -v | -verbose | --verbose | --verbos | --verbo | --verb)
954     verbose=yes ;;
955
956   -version | --version | --versio | --versi | --vers | -V)
957     ac_init_version=: ;;
958
959   -with-* | --with-*)
960     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
961     # Reject names that are not valid shell variable names.
962     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
963       { echo "$as_me: error: invalid package name: $ac_package" >&2
964    { (exit 1); exit 1; }; }
965     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
966     eval with_$ac_package=\$ac_optarg ;;
967
968   -without-* | --without-*)
969     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
970     # Reject names that are not valid shell variable names.
971     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
972       { echo "$as_me: error: invalid package name: $ac_package" >&2
973    { (exit 1); exit 1; }; }
974     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
975     eval with_$ac_package=no ;;
976
977   --x)
978     # Obsolete; use --with-x.
979     with_x=yes ;;
980
981   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
982   | --x-incl | --x-inc | --x-in | --x-i)
983     ac_prev=x_includes ;;
984   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
985   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
986     x_includes=$ac_optarg ;;
987
988   -x-libraries | --x-libraries | --x-librarie | --x-librari \
989   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
990     ac_prev=x_libraries ;;
991   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
992   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
993     x_libraries=$ac_optarg ;;
994
995   -*) { echo "$as_me: error: unrecognized option: $ac_option
996 Try \`$0 --help' for more information." >&2
997    { (exit 1); exit 1; }; }
998     ;;
999
1000   *=*)
1001     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1002     # Reject names that are not valid shell variable names.
1003     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1004       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1005    { (exit 1); exit 1; }; }
1006     eval $ac_envvar=\$ac_optarg
1007     export $ac_envvar ;;
1008
1009   *)
1010     # FIXME: should be removed in autoconf 3.0.
1011     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1012     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1013       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1014     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1015     ;;
1016
1017   esac
1018 done
1019
1020 if test -n "$ac_prev"; then
1021   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1022   { echo "$as_me: error: missing argument to $ac_option" >&2
1023    { (exit 1); exit 1; }; }
1024 fi
1025
1026 # Be sure to have absolute directory names.
1027 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1028                 datadir sysconfdir sharedstatedir localstatedir includedir \
1029                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1030                 libdir localedir mandir
1031 do
1032   eval ac_val=\$$ac_var
1033   case $ac_val in
1034     [\\/$]* | ?:[\\/]* )  continue;;
1035     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1036   esac
1037   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1038    { (exit 1); exit 1; }; }
1039 done
1040
1041 # There might be people who depend on the old broken behavior: `$host'
1042 # used to hold the argument of --host etc.
1043 # FIXME: To remove some day.
1044 build=$build_alias
1045 host=$host_alias
1046 target=$target_alias
1047
1048 # FIXME: To remove some day.
1049 if test "x$host_alias" != x; then
1050   if test "x$build_alias" = x; then
1051     cross_compiling=maybe
1052     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1053     If a cross compiler is detected then cross compile mode will be used." >&2
1054   elif test "x$build_alias" != "x$host_alias"; then
1055     cross_compiling=yes
1056   fi
1057 fi
1058
1059 ac_tool_prefix=
1060 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1061
1062 test "$silent" = yes && exec 6>/dev/null
1063
1064
1065 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1066 ac_ls_di=`ls -di .` &&
1067 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1068   { echo "$as_me: error: Working directory cannot be determined" >&2
1069    { (exit 1); exit 1; }; }
1070 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1071   { echo "$as_me: error: pwd does not report name of working directory" >&2
1072    { (exit 1); exit 1; }; }
1073
1074
1075 # Find the source files, if location was not specified.
1076 if test -z "$srcdir"; then
1077   ac_srcdir_defaulted=yes
1078   # Try the directory containing this script, then the parent directory.
1079   ac_confdir=`$as_dirname -- "$0" ||
1080 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1081          X"$0" : 'X\(//\)[^/]' \| \
1082          X"$0" : 'X\(//\)$' \| \
1083          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1084 echo X"$0" |
1085     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1086             s//\1/
1087             q
1088           }
1089           /^X\(\/\/\)[^/].*/{
1090             s//\1/
1091             q
1092           }
1093           /^X\(\/\/\)$/{
1094             s//\1/
1095             q
1096           }
1097           /^X\(\/\).*/{
1098             s//\1/
1099             q
1100           }
1101           s/.*/./; q'`
1102   srcdir=$ac_confdir
1103   if test ! -r "$srcdir/$ac_unique_file"; then
1104     srcdir=..
1105   fi
1106 else
1107   ac_srcdir_defaulted=no
1108 fi
1109 if test ! -r "$srcdir/$ac_unique_file"; then
1110   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1111   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1112    { (exit 1); exit 1; }; }
1113 fi
1114 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1115 ac_abs_confdir=`(
1116         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1117    { (exit 1); exit 1; }; }
1118         pwd)`
1119 # When building in place, set srcdir=.
1120 if test "$ac_abs_confdir" = "$ac_pwd"; then
1121   srcdir=.
1122 fi
1123 # Remove unnecessary trailing slashes from srcdir.
1124 # Double slashes in file names in object file debugging info
1125 # mess up M-x gdb in Emacs.
1126 case $srcdir in
1127 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1128 esac
1129 for ac_var in $ac_precious_vars; do
1130   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1131   eval ac_env_${ac_var}_value=\$${ac_var}
1132   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1133   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1134 done
1135
1136 #
1137 # Report the --help message.
1138 #
1139 if test "$ac_init_help" = "long"; then
1140   # Omit some internal or obsolete options to make the list less imposing.
1141   # This message is too long to be a string in the A/UX 3.1 sh.
1142   cat <<_ACEOF
1143 \`configure' configures this package to adapt to many kinds of systems.
1144
1145 Usage: $0 [OPTION]... [VAR=VALUE]...
1146
1147 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1148 VAR=VALUE.  See below for descriptions of some of the useful variables.
1149
1150 Defaults for the options are specified in brackets.
1151
1152 Configuration:
1153   -h, --help              display this help and exit
1154       --help=short        display options specific to this package
1155       --help=recursive    display the short help of all the included packages
1156   -V, --version           display version information and exit
1157   -q, --quiet, --silent   do not print \`checking...' messages
1158       --cache-file=FILE   cache test results in FILE [disabled]
1159   -C, --config-cache      alias for \`--cache-file=config.cache'
1160   -n, --no-create         do not create output files
1161       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1162
1163 Installation directories:
1164   --prefix=PREFIX         install architecture-independent files in PREFIX
1165                           [$ac_default_prefix]
1166   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1167                           [PREFIX]
1168
1169 By default, \`make install' will install all the files in
1170 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1171 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1172 for instance \`--prefix=\$HOME'.
1173
1174 For better control, use the options below.
1175
1176 Fine tuning of the installation directories:
1177   --bindir=DIR           user executables [EPREFIX/bin]
1178   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1179   --libexecdir=DIR       program executables [EPREFIX/libexec]
1180   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1181   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1182   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1183   --libdir=DIR           object code libraries [EPREFIX/lib]
1184   --includedir=DIR       C header files [PREFIX/include]
1185   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1186   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1187   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1188   --infodir=DIR          info documentation [DATAROOTDIR/info]
1189   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1190   --mandir=DIR           man documentation [DATAROOTDIR/man]
1191   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1192   --htmldir=DIR          html documentation [DOCDIR]
1193   --dvidir=DIR           dvi documentation [DOCDIR]
1194   --pdfdir=DIR           pdf documentation [DOCDIR]
1195   --psdir=DIR            ps documentation [DOCDIR]
1196 _ACEOF
1197
1198   cat <<\_ACEOF
1199 _ACEOF
1200 fi
1201
1202 if test -n "$ac_init_help"; then
1203
1204   cat <<\_ACEOF
1205
1206 Some influential environment variables:
1207   CC          C compiler command
1208   CFLAGS      C compiler flags
1209   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1210               nonstandard directory <lib dir>
1211   LIBS        libraries to pass to the linker, e.g. -l<library>
1212   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1213               you have headers in a nonstandard directory <include dir>
1214
1215 Use these variables to override the choices made by `configure' or to help
1216 it to find libraries and programs with nonstandard names/locations.
1217
1218 _ACEOF
1219 ac_status=$?
1220 fi
1221
1222 if test "$ac_init_help" = "recursive"; then
1223   # If there are subdirs, report their specific --help.
1224   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1225     test -d "$ac_dir" || continue
1226     ac_builddir=.
1227
1228 case "$ac_dir" in
1229 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1230 *)
1231   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1232   # A ".." for each directory in $ac_dir_suffix.
1233   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1234   case $ac_top_builddir_sub in
1235   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1236   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1237   esac ;;
1238 esac
1239 ac_abs_top_builddir=$ac_pwd
1240 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1241 # for backward compatibility:
1242 ac_top_builddir=$ac_top_build_prefix
1243
1244 case $srcdir in
1245   .)  # We are building in place.
1246     ac_srcdir=.
1247     ac_top_srcdir=$ac_top_builddir_sub
1248     ac_abs_top_srcdir=$ac_pwd ;;
1249   [\\/]* | ?:[\\/]* )  # Absolute name.
1250     ac_srcdir=$srcdir$ac_dir_suffix;
1251     ac_top_srcdir=$srcdir
1252     ac_abs_top_srcdir=$srcdir ;;
1253   *) # Relative name.
1254     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1255     ac_top_srcdir=$ac_top_build_prefix$srcdir
1256     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1257 esac
1258 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1259
1260     cd "$ac_dir" || { ac_status=$?; continue; }
1261     # Check for guested configure.
1262     if test -f "$ac_srcdir/configure.gnu"; then
1263       echo &&
1264       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1265     elif test -f "$ac_srcdir/configure"; then
1266       echo &&
1267       $SHELL "$ac_srcdir/configure" --help=recursive
1268     else
1269       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1270     fi || ac_status=$?
1271     cd "$ac_pwd" || { ac_status=$?; break; }
1272   done
1273 fi
1274
1275 test -n "$ac_init_help" && exit $ac_status
1276 if $ac_init_version; then
1277   cat <<\_ACEOF
1278 configure
1279 generated by GNU Autoconf 2.61
1280
1281 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1282 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1283 This configure script is free software; the Free Software Foundation
1284 gives unlimited permission to copy, distribute and modify it.
1285 _ACEOF
1286   exit
1287 fi
1288 cat >config.log <<_ACEOF
1289 This file contains any messages produced by compilers while
1290 running configure, to aid debugging if configure makes a mistake.
1291
1292 It was created by $as_me, which was
1293 generated by GNU Autoconf 2.61.  Invocation command line was
1294
1295   $ $0 $@
1296
1297 _ACEOF
1298 exec 5>>config.log
1299 {
1300 cat <<_ASUNAME
1301 ## --------- ##
1302 ## Platform. ##
1303 ## --------- ##
1304
1305 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1306 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1307 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1308 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1309 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1310
1311 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1312 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1313
1314 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1315 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1316 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1317 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1318 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1319 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1320 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1321
1322 _ASUNAME
1323
1324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1325 for as_dir in $PATH
1326 do
1327   IFS=$as_save_IFS
1328   test -z "$as_dir" && as_dir=.
1329   echo "PATH: $as_dir"
1330 done
1331 IFS=$as_save_IFS
1332
1333 } >&5
1334
1335 cat >&5 <<_ACEOF
1336
1337
1338 ## ----------- ##
1339 ## Core tests. ##
1340 ## ----------- ##
1341
1342 _ACEOF
1343
1344
1345 # Keep a trace of the command line.
1346 # Strip out --no-create and --no-recursion so they do not pile up.
1347 # Strip out --silent because we don't want to record it for future runs.
1348 # Also quote any args containing shell meta-characters.
1349 # Make two passes to allow for proper duplicate-argument suppression.
1350 ac_configure_args=
1351 ac_configure_args0=
1352 ac_configure_args1=
1353 ac_must_keep_next=false
1354 for ac_pass in 1 2
1355 do
1356   for ac_arg
1357   do
1358     case $ac_arg in
1359     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1360     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1361     | -silent | --silent | --silen | --sile | --sil)
1362       continue ;;
1363     *\'*)
1364       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1365     esac
1366     case $ac_pass in
1367     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1368     2)
1369       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1370       if test $ac_must_keep_next = true; then
1371         ac_must_keep_next=false # Got value, back to normal.
1372       else
1373         case $ac_arg in
1374           *=* | --config-cache | -C | -disable-* | --disable-* \
1375           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1376           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1377           | -with-* | --with-* | -without-* | --without-* | --x)
1378             case "$ac_configure_args0 " in
1379               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1380             esac
1381             ;;
1382           -* ) ac_must_keep_next=true ;;
1383         esac
1384       fi
1385       ac_configure_args="$ac_configure_args '$ac_arg'"
1386       ;;
1387     esac
1388   done
1389 done
1390 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1391 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1392
1393 # When interrupted or exit'd, cleanup temporary files, and complete
1394 # config.log.  We remove comments because anyway the quotes in there
1395 # would cause problems or look ugly.
1396 # WARNING: Use '\'' to represent an apostrophe within the trap.
1397 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1398 trap 'exit_status=$?
1399   # Save into config.log some information that might help in debugging.
1400   {
1401     echo
1402
1403     cat <<\_ASBOX
1404 ## ---------------- ##
1405 ## Cache variables. ##
1406 ## ---------------- ##
1407 _ASBOX
1408     echo
1409     # The following way of writing the cache mishandles newlines in values,
1410 (
1411   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1412     eval ac_val=\$$ac_var
1413     case $ac_val in #(
1414     *${as_nl}*)
1415       case $ac_var in #(
1416       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1417 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1418       esac
1419       case $ac_var in #(
1420       _ | IFS | as_nl) ;; #(
1421       *) $as_unset $ac_var ;;
1422       esac ;;
1423     esac
1424   done
1425   (set) 2>&1 |
1426     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1427     *${as_nl}ac_space=\ *)
1428       sed -n \
1429         "s/'\''/'\''\\\\'\'''\''/g;
1430           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1431       ;; #(
1432     *)
1433       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1434       ;;
1435     esac |
1436     sort
1437 )
1438     echo
1439
1440     cat <<\_ASBOX
1441 ## ----------------- ##
1442 ## Output variables. ##
1443 ## ----------------- ##
1444 _ASBOX
1445     echo
1446     for ac_var in $ac_subst_vars
1447     do
1448       eval ac_val=\$$ac_var
1449       case $ac_val in
1450       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1451       esac
1452       echo "$ac_var='\''$ac_val'\''"
1453     done | sort
1454     echo
1455
1456     if test -n "$ac_subst_files"; then
1457       cat <<\_ASBOX
1458 ## ------------------- ##
1459 ## File substitutions. ##
1460 ## ------------------- ##
1461 _ASBOX
1462       echo
1463       for ac_var in $ac_subst_files
1464       do
1465         eval ac_val=\$$ac_var
1466         case $ac_val in
1467         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1468         esac
1469         echo "$ac_var='\''$ac_val'\''"
1470       done | sort
1471       echo
1472     fi
1473
1474     if test -s confdefs.h; then
1475       cat <<\_ASBOX
1476 ## ----------- ##
1477 ## confdefs.h. ##
1478 ## ----------- ##
1479 _ASBOX
1480       echo
1481       cat confdefs.h
1482       echo
1483     fi
1484     test "$ac_signal" != 0 &&
1485       echo "$as_me: caught signal $ac_signal"
1486     echo "$as_me: exit $exit_status"
1487   } >&5
1488   rm -f core *.core core.conftest.* &&
1489     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1490     exit $exit_status
1491 ' 0
1492 for ac_signal in 1 2 13 15; do
1493   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1494 done
1495 ac_signal=0
1496
1497 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1498 rm -f -r conftest* confdefs.h
1499
1500 # Predefined preprocessor variables.
1501
1502 cat >>confdefs.h <<_ACEOF
1503 #define PACKAGE_NAME "$PACKAGE_NAME"
1504 _ACEOF
1505
1506
1507 cat >>confdefs.h <<_ACEOF
1508 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1509 _ACEOF
1510
1511
1512 cat >>confdefs.h <<_ACEOF
1513 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1514 _ACEOF
1515
1516
1517 cat >>confdefs.h <<_ACEOF
1518 #define PACKAGE_STRING "$PACKAGE_STRING"
1519 _ACEOF
1520
1521
1522 cat >>confdefs.h <<_ACEOF
1523 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1524 _ACEOF
1525
1526
1527 # Let the site file select an alternate cache file if it wants to.
1528 # Prefer explicitly selected file to automatically selected ones.
1529 if test -n "$CONFIG_SITE"; then
1530   set x "$CONFIG_SITE"
1531 elif test "x$prefix" != xNONE; then
1532   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1533 else
1534   set x "$ac_default_prefix/share/config.site" \
1535         "$ac_default_prefix/etc/config.site"
1536 fi
1537 shift
1538 for ac_site_file
1539 do
1540   if test -r "$ac_site_file"; then
1541     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1542 echo "$as_me: loading site script $ac_site_file" >&6;}
1543     sed 's/^/| /' "$ac_site_file" >&5
1544     . "$ac_site_file"
1545   fi
1546 done
1547
1548 if test -r "$cache_file"; then
1549   # Some versions of bash will fail to source /dev/null (special
1550   # files actually), so we avoid doing that.
1551   if test -f "$cache_file"; then
1552     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1553 echo "$as_me: loading cache $cache_file" >&6;}
1554     case $cache_file in
1555       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1556       *)                      . "./$cache_file";;
1557     esac
1558   fi
1559 else
1560   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1561 echo "$as_me: creating cache $cache_file" >&6;}
1562   >$cache_file
1563 fi
1564
1565 # Check that the precious variables saved in the cache have kept the same
1566 # value.
1567 ac_cache_corrupted=false
1568 for ac_var in $ac_precious_vars; do
1569   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1570   eval ac_new_set=\$ac_env_${ac_var}_set
1571   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1572   eval ac_new_val=\$ac_env_${ac_var}_value
1573   case $ac_old_set,$ac_new_set in
1574     set,)
1575       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1576 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1577       ac_cache_corrupted=: ;;
1578     ,set)
1579       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1580 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1581       ac_cache_corrupted=: ;;
1582     ,);;
1583     *)
1584       if test "x$ac_old_val" != "x$ac_new_val"; then
1585         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1586 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1587         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1588 echo "$as_me:   former value:  $ac_old_val" >&2;}
1589         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1590 echo "$as_me:   current value: $ac_new_val" >&2;}
1591         ac_cache_corrupted=:
1592       fi;;
1593   esac
1594   # Pass precious variables to config.status.
1595   if test "$ac_new_set" = set; then
1596     case $ac_new_val in
1597     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1598     *) ac_arg=$ac_var=$ac_new_val ;;
1599     esac
1600     case " $ac_configure_args " in
1601       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1602       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1603     esac
1604   fi
1605 done
1606 if $ac_cache_corrupted; then
1607   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1608 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1609   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1610 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1611    { (exit 1); exit 1; }; }
1612 fi
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630 ac_ext=c
1631 ac_cpp='$CPP $CPPFLAGS'
1632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1635
1636
1637
1638
1639
1640 fail=
1641 SMART_LIBS=
1642 SMART_CLFAGS=
1643 if test x$with_rlm_eap != xno; then
1644
1645         ac_ext=c
1646 ac_cpp='$CPP $CPPFLAGS'
1647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1650 if test -n "$ac_tool_prefix"; then
1651   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1652 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1655 if test "${ac_cv_prog_CC+set}" = set; then
1656   echo $ECHO_N "(cached) $ECHO_C" >&6
1657 else
1658   if test -n "$CC"; then
1659   ac_cv_prog_CC="$CC" # Let the user override the test.
1660 else
1661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1662 for as_dir in $PATH
1663 do
1664   IFS=$as_save_IFS
1665   test -z "$as_dir" && as_dir=.
1666   for ac_exec_ext in '' $ac_executable_extensions; do
1667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1668     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1669     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1670     break 2
1671   fi
1672 done
1673 done
1674 IFS=$as_save_IFS
1675
1676 fi
1677 fi
1678 CC=$ac_cv_prog_CC
1679 if test -n "$CC"; then
1680   { echo "$as_me:$LINENO: result: $CC" >&5
1681 echo "${ECHO_T}$CC" >&6; }
1682 else
1683   { echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6; }
1685 fi
1686
1687
1688 fi
1689 if test -z "$ac_cv_prog_CC"; then
1690   ac_ct_CC=$CC
1691   # Extract the first word of "gcc", so it can be a program name with args.
1692 set dummy gcc; ac_word=$2
1693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1695 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1696   echo $ECHO_N "(cached) $ECHO_C" >&6
1697 else
1698   if test -n "$ac_ct_CC"; then
1699   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1700 else
1701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1702 for as_dir in $PATH
1703 do
1704   IFS=$as_save_IFS
1705   test -z "$as_dir" && as_dir=.
1706   for ac_exec_ext in '' $ac_executable_extensions; do
1707   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1708     ac_cv_prog_ac_ct_CC="gcc"
1709     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1710     break 2
1711   fi
1712 done
1713 done
1714 IFS=$as_save_IFS
1715
1716 fi
1717 fi
1718 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1719 if test -n "$ac_ct_CC"; then
1720   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1721 echo "${ECHO_T}$ac_ct_CC" >&6; }
1722 else
1723   { echo "$as_me:$LINENO: result: no" >&5
1724 echo "${ECHO_T}no" >&6; }
1725 fi
1726
1727   if test "x$ac_ct_CC" = x; then
1728     CC=""
1729   else
1730     case $cross_compiling:$ac_tool_warned in
1731 yes:)
1732 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1733 whose name does not start with the host triplet.  If you think this
1734 configuration is useful to you, please write to autoconf@gnu.org." >&5
1735 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1736 whose name does not start with the host triplet.  If you think this
1737 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1738 ac_tool_warned=yes ;;
1739 esac
1740     CC=$ac_ct_CC
1741   fi
1742 else
1743   CC="$ac_cv_prog_CC"
1744 fi
1745
1746 if test -z "$CC"; then
1747           if test -n "$ac_tool_prefix"; then
1748     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1749 set dummy ${ac_tool_prefix}cc; ac_word=$2
1750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1752 if test "${ac_cv_prog_CC+set}" = set; then
1753   echo $ECHO_N "(cached) $ECHO_C" >&6
1754 else
1755   if test -n "$CC"; then
1756   ac_cv_prog_CC="$CC" # Let the user override the test.
1757 else
1758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1759 for as_dir in $PATH
1760 do
1761   IFS=$as_save_IFS
1762   test -z "$as_dir" && as_dir=.
1763   for ac_exec_ext in '' $ac_executable_extensions; do
1764   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1765     ac_cv_prog_CC="${ac_tool_prefix}cc"
1766     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1767     break 2
1768   fi
1769 done
1770 done
1771 IFS=$as_save_IFS
1772
1773 fi
1774 fi
1775 CC=$ac_cv_prog_CC
1776 if test -n "$CC"; then
1777   { echo "$as_me:$LINENO: result: $CC" >&5
1778 echo "${ECHO_T}$CC" >&6; }
1779 else
1780   { echo "$as_me:$LINENO: result: no" >&5
1781 echo "${ECHO_T}no" >&6; }
1782 fi
1783
1784
1785   fi
1786 fi
1787 if test -z "$CC"; then
1788   # Extract the first word of "cc", so it can be a program name with args.
1789 set dummy cc; ac_word=$2
1790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1792 if test "${ac_cv_prog_CC+set}" = set; then
1793   echo $ECHO_N "(cached) $ECHO_C" >&6
1794 else
1795   if test -n "$CC"; then
1796   ac_cv_prog_CC="$CC" # Let the user override the test.
1797 else
1798   ac_prog_rejected=no
1799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1800 for as_dir in $PATH
1801 do
1802   IFS=$as_save_IFS
1803   test -z "$as_dir" && as_dir=.
1804   for ac_exec_ext in '' $ac_executable_extensions; do
1805   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1806     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1807        ac_prog_rejected=yes
1808        continue
1809      fi
1810     ac_cv_prog_CC="cc"
1811     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1812     break 2
1813   fi
1814 done
1815 done
1816 IFS=$as_save_IFS
1817
1818 if test $ac_prog_rejected = yes; then
1819   # We found a bogon in the path, so make sure we never use it.
1820   set dummy $ac_cv_prog_CC
1821   shift
1822   if test $# != 0; then
1823     # We chose a different compiler from the bogus one.
1824     # However, it has the same basename, so the bogon will be chosen
1825     # first if we set CC to just the basename; use the full file name.
1826     shift
1827     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1828   fi
1829 fi
1830 fi
1831 fi
1832 CC=$ac_cv_prog_CC
1833 if test -n "$CC"; then
1834   { echo "$as_me:$LINENO: result: $CC" >&5
1835 echo "${ECHO_T}$CC" >&6; }
1836 else
1837   { echo "$as_me:$LINENO: result: no" >&5
1838 echo "${ECHO_T}no" >&6; }
1839 fi
1840
1841
1842 fi
1843 if test -z "$CC"; then
1844   if test -n "$ac_tool_prefix"; then
1845   for ac_prog in cl.exe
1846   do
1847     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1848 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1851 if test "${ac_cv_prog_CC+set}" = set; then
1852   echo $ECHO_N "(cached) $ECHO_C" >&6
1853 else
1854   if test -n "$CC"; then
1855   ac_cv_prog_CC="$CC" # Let the user override the test.
1856 else
1857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1858 for as_dir in $PATH
1859 do
1860   IFS=$as_save_IFS
1861   test -z "$as_dir" && as_dir=.
1862   for ac_exec_ext in '' $ac_executable_extensions; do
1863   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1864     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1865     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1866     break 2
1867   fi
1868 done
1869 done
1870 IFS=$as_save_IFS
1871
1872 fi
1873 fi
1874 CC=$ac_cv_prog_CC
1875 if test -n "$CC"; then
1876   { echo "$as_me:$LINENO: result: $CC" >&5
1877 echo "${ECHO_T}$CC" >&6; }
1878 else
1879   { echo "$as_me:$LINENO: result: no" >&5
1880 echo "${ECHO_T}no" >&6; }
1881 fi
1882
1883
1884     test -n "$CC" && break
1885   done
1886 fi
1887 if test -z "$CC"; then
1888   ac_ct_CC=$CC
1889   for ac_prog in cl.exe
1890 do
1891   # Extract the first word of "$ac_prog", so it can be a program name with args.
1892 set dummy $ac_prog; ac_word=$2
1893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1895 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1896   echo $ECHO_N "(cached) $ECHO_C" >&6
1897 else
1898   if test -n "$ac_ct_CC"; then
1899   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1900 else
1901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1902 for as_dir in $PATH
1903 do
1904   IFS=$as_save_IFS
1905   test -z "$as_dir" && as_dir=.
1906   for ac_exec_ext in '' $ac_executable_extensions; do
1907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1908     ac_cv_prog_ac_ct_CC="$ac_prog"
1909     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1910     break 2
1911   fi
1912 done
1913 done
1914 IFS=$as_save_IFS
1915
1916 fi
1917 fi
1918 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1919 if test -n "$ac_ct_CC"; then
1920   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1921 echo "${ECHO_T}$ac_ct_CC" >&6; }
1922 else
1923   { echo "$as_me:$LINENO: result: no" >&5
1924 echo "${ECHO_T}no" >&6; }
1925 fi
1926
1927
1928   test -n "$ac_ct_CC" && break
1929 done
1930
1931   if test "x$ac_ct_CC" = x; then
1932     CC=""
1933   else
1934     case $cross_compiling:$ac_tool_warned in
1935 yes:)
1936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1937 whose name does not start with the host triplet.  If you think this
1938 configuration is useful to you, please write to autoconf@gnu.org." >&5
1939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1940 whose name does not start with the host triplet.  If you think this
1941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1942 ac_tool_warned=yes ;;
1943 esac
1944     CC=$ac_ct_CC
1945   fi
1946 fi
1947
1948 fi
1949
1950
1951 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1952 See \`config.log' for more details." >&5
1953 echo "$as_me: error: no acceptable C compiler found in \$PATH
1954 See \`config.log' for more details." >&2;}
1955    { (exit 1); exit 1; }; }
1956
1957 # Provide some information about the compiler.
1958 echo "$as_me:$LINENO: checking for C compiler version" >&5
1959 ac_compiler=`set X $ac_compile; echo $2`
1960 { (ac_try="$ac_compiler --version >&5"
1961 case "(($ac_try" in
1962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1963   *) ac_try_echo=$ac_try;;
1964 esac
1965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1966   (eval "$ac_compiler --version >&5") 2>&5
1967   ac_status=$?
1968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1969   (exit $ac_status); }
1970 { (ac_try="$ac_compiler -v >&5"
1971 case "(($ac_try" in
1972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1973   *) ac_try_echo=$ac_try;;
1974 esac
1975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1976   (eval "$ac_compiler -v >&5") 2>&5
1977   ac_status=$?
1978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1979   (exit $ac_status); }
1980 { (ac_try="$ac_compiler -V >&5"
1981 case "(($ac_try" in
1982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1983   *) ac_try_echo=$ac_try;;
1984 esac
1985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1986   (eval "$ac_compiler -V >&5") 2>&5
1987   ac_status=$?
1988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1989   (exit $ac_status); }
1990
1991 cat >conftest.$ac_ext <<_ACEOF
1992 /* confdefs.h.  */
1993 _ACEOF
1994 cat confdefs.h >>conftest.$ac_ext
1995 cat >>conftest.$ac_ext <<_ACEOF
1996 /* end confdefs.h.  */
1997
1998 int
1999 main ()
2000 {
2001
2002   ;
2003   return 0;
2004 }
2005 _ACEOF
2006 ac_clean_files_save=$ac_clean_files
2007 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2008 # Try to create an executable without -o first, disregard a.out.
2009 # It will help us diagnose broken compilers, and finding out an intuition
2010 # of exeext.
2011 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2012 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2013 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2014 #
2015 # List of possible output files, starting from the most likely.
2016 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2017 # only as a last resort.  b.out is created by i960 compilers.
2018 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2019 #
2020 # The IRIX 6 linker writes into existing files which may not be
2021 # executable, retaining their permissions.  Remove them first so a
2022 # subsequent execution test works.
2023 ac_rmfiles=
2024 for ac_file in $ac_files
2025 do
2026   case $ac_file in
2027     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2028     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2029   esac
2030 done
2031 rm -f $ac_rmfiles
2032
2033 if { (ac_try="$ac_link_default"
2034 case "(($ac_try" in
2035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2036   *) ac_try_echo=$ac_try;;
2037 esac
2038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2039   (eval "$ac_link_default") 2>&5
2040   ac_status=$?
2041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042   (exit $ac_status); }; then
2043   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2044 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2045 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2046 # so that the user can short-circuit this test for compilers unknown to
2047 # Autoconf.
2048 for ac_file in $ac_files ''
2049 do
2050   test -f "$ac_file" || continue
2051   case $ac_file in
2052     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2053         ;;
2054     [ab].out )
2055         # We found the default executable, but exeext='' is most
2056         # certainly right.
2057         break;;
2058     *.* )
2059         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2060         then :; else
2061            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2062         fi
2063         # We set ac_cv_exeext here because the later test for it is not
2064         # safe: cross compilers may not add the suffix if given an `-o'
2065         # argument, so we may need to know it at that point already.
2066         # Even if this section looks crufty: it has the advantage of
2067         # actually working.
2068         break;;
2069     * )
2070         break;;
2071   esac
2072 done
2073 test "$ac_cv_exeext" = no && ac_cv_exeext=
2074
2075 else
2076   ac_file=''
2077 fi
2078
2079 { echo "$as_me:$LINENO: result: $ac_file" >&5
2080 echo "${ECHO_T}$ac_file" >&6; }
2081 if test -z "$ac_file"; then
2082   echo "$as_me: failed program was:" >&5
2083 sed 's/^/| /' conftest.$ac_ext >&5
2084
2085 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2086 See \`config.log' for more details." >&5
2087 echo "$as_me: error: C compiler cannot create executables
2088 See \`config.log' for more details." >&2;}
2089    { (exit 77); exit 77; }; }
2090 fi
2091
2092 ac_exeext=$ac_cv_exeext
2093
2094 # Check that the compiler produces executables we can run.  If not, either
2095 # the compiler is broken, or we cross compile.
2096 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2097 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2098 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2099 # If not cross compiling, check that we can run a simple program.
2100 if test "$cross_compiling" != yes; then
2101   if { ac_try='./$ac_file'
2102   { (case "(($ac_try" in
2103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2104   *) ac_try_echo=$ac_try;;
2105 esac
2106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2107   (eval "$ac_try") 2>&5
2108   ac_status=$?
2109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110   (exit $ac_status); }; }; then
2111     cross_compiling=no
2112   else
2113     if test "$cross_compiling" = maybe; then
2114         cross_compiling=yes
2115     else
2116         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2117 If you meant to cross compile, use \`--host'.
2118 See \`config.log' for more details." >&5
2119 echo "$as_me: error: cannot run C compiled programs.
2120 If you meant to cross compile, use \`--host'.
2121 See \`config.log' for more details." >&2;}
2122    { (exit 1); exit 1; }; }
2123     fi
2124   fi
2125 fi
2126 { echo "$as_me:$LINENO: result: yes" >&5
2127 echo "${ECHO_T}yes" >&6; }
2128
2129 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2130 ac_clean_files=$ac_clean_files_save
2131 # Check that the compiler produces executables we can run.  If not, either
2132 # the compiler is broken, or we cross compile.
2133 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2134 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2135 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2136 echo "${ECHO_T}$cross_compiling" >&6; }
2137
2138 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2139 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2140 if { (ac_try="$ac_link"
2141 case "(($ac_try" in
2142   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2143   *) ac_try_echo=$ac_try;;
2144 esac
2145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2146   (eval "$ac_link") 2>&5
2147   ac_status=$?
2148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149   (exit $ac_status); }; then
2150   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2151 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2152 # work properly (i.e., refer to `conftest.exe'), while it won't with
2153 # `rm'.
2154 for ac_file in conftest.exe conftest conftest.*; do
2155   test -f "$ac_file" || continue
2156   case $ac_file in
2157     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2158     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2159           break;;
2160     * ) break;;
2161   esac
2162 done
2163 else
2164   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2165 See \`config.log' for more details." >&5
2166 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2167 See \`config.log' for more details." >&2;}
2168    { (exit 1); exit 1; }; }
2169 fi
2170
2171 rm -f conftest$ac_cv_exeext
2172 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2173 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2174
2175 rm -f conftest.$ac_ext
2176 EXEEXT=$ac_cv_exeext
2177 ac_exeext=$EXEEXT
2178 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2179 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2180 if test "${ac_cv_objext+set}" = set; then
2181   echo $ECHO_N "(cached) $ECHO_C" >&6
2182 else
2183   cat >conftest.$ac_ext <<_ACEOF
2184 /* confdefs.h.  */
2185 _ACEOF
2186 cat confdefs.h >>conftest.$ac_ext
2187 cat >>conftest.$ac_ext <<_ACEOF
2188 /* end confdefs.h.  */
2189
2190 int
2191 main ()
2192 {
2193
2194   ;
2195   return 0;
2196 }
2197 _ACEOF
2198 rm -f conftest.o conftest.obj
2199 if { (ac_try="$ac_compile"
2200 case "(($ac_try" in
2201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2202   *) ac_try_echo=$ac_try;;
2203 esac
2204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2205   (eval "$ac_compile") 2>&5
2206   ac_status=$?
2207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208   (exit $ac_status); }; then
2209   for ac_file in conftest.o conftest.obj conftest.*; do
2210   test -f "$ac_file" || continue;
2211   case $ac_file in
2212     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2213     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2214        break;;
2215   esac
2216 done
2217 else
2218   echo "$as_me: failed program was:" >&5
2219 sed 's/^/| /' conftest.$ac_ext >&5
2220
2221 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2222 See \`config.log' for more details." >&5
2223 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2224 See \`config.log' for more details." >&2;}
2225    { (exit 1); exit 1; }; }
2226 fi
2227
2228 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2229 fi
2230 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2231 echo "${ECHO_T}$ac_cv_objext" >&6; }
2232 OBJEXT=$ac_cv_objext
2233 ac_objext=$OBJEXT
2234 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2235 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2236 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2237   echo $ECHO_N "(cached) $ECHO_C" >&6
2238 else
2239   cat >conftest.$ac_ext <<_ACEOF
2240 /* confdefs.h.  */
2241 _ACEOF
2242 cat confdefs.h >>conftest.$ac_ext
2243 cat >>conftest.$ac_ext <<_ACEOF
2244 /* end confdefs.h.  */
2245
2246 int
2247 main ()
2248 {
2249 #ifndef __GNUC__
2250        choke me
2251 #endif
2252
2253   ;
2254   return 0;
2255 }
2256 _ACEOF
2257 rm -f conftest.$ac_objext
2258 if { (ac_try="$ac_compile"
2259 case "(($ac_try" in
2260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2261   *) ac_try_echo=$ac_try;;
2262 esac
2263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2264   (eval "$ac_compile") 2>conftest.er1
2265   ac_status=$?
2266   grep -v '^ *+' conftest.er1 >conftest.err
2267   rm -f conftest.er1
2268   cat conftest.err >&5
2269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270   (exit $ac_status); } && {
2271          test -z "$ac_c_werror_flag" ||
2272          test ! -s conftest.err
2273        } && test -s conftest.$ac_objext; then
2274   ac_compiler_gnu=yes
2275 else
2276   echo "$as_me: failed program was:" >&5
2277 sed 's/^/| /' conftest.$ac_ext >&5
2278
2279         ac_compiler_gnu=no
2280 fi
2281
2282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2283 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2284
2285 fi
2286 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2287 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2288 GCC=`test $ac_compiler_gnu = yes && echo yes`
2289 ac_test_CFLAGS=${CFLAGS+set}
2290 ac_save_CFLAGS=$CFLAGS
2291 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2292 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2293 if test "${ac_cv_prog_cc_g+set}" = set; then
2294   echo $ECHO_N "(cached) $ECHO_C" >&6
2295 else
2296   ac_save_c_werror_flag=$ac_c_werror_flag
2297    ac_c_werror_flag=yes
2298    ac_cv_prog_cc_g=no
2299    CFLAGS="-g"
2300    cat >conftest.$ac_ext <<_ACEOF
2301 /* confdefs.h.  */
2302 _ACEOF
2303 cat confdefs.h >>conftest.$ac_ext
2304 cat >>conftest.$ac_ext <<_ACEOF
2305 /* end confdefs.h.  */
2306
2307 int
2308 main ()
2309 {
2310
2311   ;
2312   return 0;
2313 }
2314 _ACEOF
2315 rm -f conftest.$ac_objext
2316 if { (ac_try="$ac_compile"
2317 case "(($ac_try" in
2318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2319   *) ac_try_echo=$ac_try;;
2320 esac
2321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2322   (eval "$ac_compile") 2>conftest.er1
2323   ac_status=$?
2324   grep -v '^ *+' conftest.er1 >conftest.err
2325   rm -f conftest.er1
2326   cat conftest.err >&5
2327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328   (exit $ac_status); } && {
2329          test -z "$ac_c_werror_flag" ||
2330          test ! -s conftest.err
2331        } && test -s conftest.$ac_objext; then
2332   ac_cv_prog_cc_g=yes
2333 else
2334   echo "$as_me: failed program was:" >&5
2335 sed 's/^/| /' conftest.$ac_ext >&5
2336
2337         CFLAGS=""
2338       cat >conftest.$ac_ext <<_ACEOF
2339 /* confdefs.h.  */
2340 _ACEOF
2341 cat confdefs.h >>conftest.$ac_ext
2342 cat >>conftest.$ac_ext <<_ACEOF
2343 /* end confdefs.h.  */
2344
2345 int
2346 main ()
2347 {
2348
2349   ;
2350   return 0;
2351 }
2352 _ACEOF
2353 rm -f conftest.$ac_objext
2354 if { (ac_try="$ac_compile"
2355 case "(($ac_try" in
2356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2357   *) ac_try_echo=$ac_try;;
2358 esac
2359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2360   (eval "$ac_compile") 2>conftest.er1
2361   ac_status=$?
2362   grep -v '^ *+' conftest.er1 >conftest.err
2363   rm -f conftest.er1
2364   cat conftest.err >&5
2365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366   (exit $ac_status); } && {
2367          test -z "$ac_c_werror_flag" ||
2368          test ! -s conftest.err
2369        } && test -s conftest.$ac_objext; then
2370   :
2371 else
2372   echo "$as_me: failed program was:" >&5
2373 sed 's/^/| /' conftest.$ac_ext >&5
2374
2375         ac_c_werror_flag=$ac_save_c_werror_flag
2376          CFLAGS="-g"
2377          cat >conftest.$ac_ext <<_ACEOF
2378 /* confdefs.h.  */
2379 _ACEOF
2380 cat confdefs.h >>conftest.$ac_ext
2381 cat >>conftest.$ac_ext <<_ACEOF
2382 /* end confdefs.h.  */
2383
2384 int
2385 main ()
2386 {
2387
2388   ;
2389   return 0;
2390 }
2391 _ACEOF
2392 rm -f conftest.$ac_objext
2393 if { (ac_try="$ac_compile"
2394 case "(($ac_try" in
2395   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2396   *) ac_try_echo=$ac_try;;
2397 esac
2398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2399   (eval "$ac_compile") 2>conftest.er1
2400   ac_status=$?
2401   grep -v '^ *+' conftest.er1 >conftest.err
2402   rm -f conftest.er1
2403   cat conftest.err >&5
2404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2405   (exit $ac_status); } && {
2406          test -z "$ac_c_werror_flag" ||
2407          test ! -s conftest.err
2408        } && test -s conftest.$ac_objext; then
2409   ac_cv_prog_cc_g=yes
2410 else
2411   echo "$as_me: failed program was:" >&5
2412 sed 's/^/| /' conftest.$ac_ext >&5
2413
2414
2415 fi
2416
2417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2418 fi
2419
2420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2421 fi
2422
2423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2424    ac_c_werror_flag=$ac_save_c_werror_flag
2425 fi
2426 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2427 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2428 if test "$ac_test_CFLAGS" = set; then
2429   CFLAGS=$ac_save_CFLAGS
2430 elif test $ac_cv_prog_cc_g = yes; then
2431   if test "$GCC" = yes; then
2432     CFLAGS="-g -O2"
2433   else
2434     CFLAGS="-g"
2435   fi
2436 else
2437   if test "$GCC" = yes; then
2438     CFLAGS="-O2"
2439   else
2440     CFLAGS=
2441   fi
2442 fi
2443 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2444 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2445 if test "${ac_cv_prog_cc_c89+set}" = set; then
2446   echo $ECHO_N "(cached) $ECHO_C" >&6
2447 else
2448   ac_cv_prog_cc_c89=no
2449 ac_save_CC=$CC
2450 cat >conftest.$ac_ext <<_ACEOF
2451 /* confdefs.h.  */
2452 _ACEOF
2453 cat confdefs.h >>conftest.$ac_ext
2454 cat >>conftest.$ac_ext <<_ACEOF
2455 /* end confdefs.h.  */
2456 #include <stdarg.h>
2457 #include <stdio.h>
2458 #include <sys/types.h>
2459 #include <sys/stat.h>
2460 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2461 struct buf { int x; };
2462 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2463 static char *e (p, i)
2464      char **p;
2465      int i;
2466 {
2467   return p[i];
2468 }
2469 static char *f (char * (*g) (char **, int), char **p, ...)
2470 {
2471   char *s;
2472   va_list v;
2473   va_start (v,p);
2474   s = g (p, va_arg (v,int));
2475   va_end (v);
2476   return s;
2477 }
2478
2479 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2480    function prototypes and stuff, but not '\xHH' hex character constants.
2481    These don't provoke an error unfortunately, instead are silently treated
2482    as 'x'.  The following induces an error, until -std is added to get
2483    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2484    array size at least.  It's necessary to write '\x00'==0 to get something
2485    that's true only with -std.  */
2486 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2487
2488 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2489    inside strings and character constants.  */
2490 #define FOO(x) 'x'
2491 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2492
2493 int test (int i, double x);
2494 struct s1 {int (*f) (int a);};
2495 struct s2 {int (*f) (double a);};
2496 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2497 int argc;
2498 char **argv;
2499 int
2500 main ()
2501 {
2502 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2503   ;
2504   return 0;
2505 }
2506 _ACEOF
2507 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2508         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2509 do
2510   CC="$ac_save_CC $ac_arg"
2511   rm -f conftest.$ac_objext
2512 if { (ac_try="$ac_compile"
2513 case "(($ac_try" in
2514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2515   *) ac_try_echo=$ac_try;;
2516 esac
2517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2518   (eval "$ac_compile") 2>conftest.er1
2519   ac_status=$?
2520   grep -v '^ *+' conftest.er1 >conftest.err
2521   rm -f conftest.er1
2522   cat conftest.err >&5
2523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524   (exit $ac_status); } && {
2525          test -z "$ac_c_werror_flag" ||
2526          test ! -s conftest.err
2527        } && test -s conftest.$ac_objext; then
2528   ac_cv_prog_cc_c89=$ac_arg
2529 else
2530   echo "$as_me: failed program was:" >&5
2531 sed 's/^/| /' conftest.$ac_ext >&5
2532
2533
2534 fi
2535
2536 rm -f core conftest.err conftest.$ac_objext
2537   test "x$ac_cv_prog_cc_c89" != "xno" && break
2538 done
2539 rm -f conftest.$ac_ext
2540 CC=$ac_save_CC
2541
2542 fi
2543 # AC_CACHE_VAL
2544 case "x$ac_cv_prog_cc_c89" in
2545   x)
2546     { echo "$as_me:$LINENO: result: none needed" >&5
2547 echo "${ECHO_T}none needed" >&6; } ;;
2548   xno)
2549     { echo "$as_me:$LINENO: result: unsupported" >&5
2550 echo "${ECHO_T}unsupported" >&6; } ;;
2551   *)
2552     CC="$CC $ac_cv_prog_cc_c89"
2553     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2554 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2555 esac
2556
2557
2558 ac_ext=c
2559 ac_cpp='$CPP $CPPFLAGS'
2560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2563
2564
2565         eapsubdirs=
2566         for foo in `find ./types -name configure -print`; do
2567           bar=`echo $foo | sed 's%/configure$%%g'`
2568           eapsubdirs="$eapsubdirs $bar"
2569         done
2570
2571                 ln -s ../../../install-sh install-sh
2572
2573                                         ac_aux_dir=
2574 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2575   if test -f "$ac_dir/install-sh"; then
2576     ac_aux_dir=$ac_dir
2577     ac_install_sh="$ac_aux_dir/install-sh -c"
2578     break
2579   elif test -f "$ac_dir/install.sh"; then
2580     ac_aux_dir=$ac_dir
2581     ac_install_sh="$ac_aux_dir/install.sh -c"
2582     break
2583   elif test -f "$ac_dir/shtool"; then
2584     ac_aux_dir=$ac_dir
2585     ac_install_sh="$ac_aux_dir/shtool install -c"
2586     break
2587   fi
2588 done
2589 if test -z "$ac_aux_dir"; then
2590   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2591 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2592    { (exit 1); exit 1; }; }
2593 fi
2594
2595 # These three variables are undocumented and unsupported,
2596 # and are intended to be withdrawn in a future Autoconf release.
2597 # They can cause serious problems if a builder's source tree is in a directory
2598 # whose full name contains unusual characters.
2599 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2600 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2601 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2602
2603
2604 subdirs="$subdirs $eapsubdirs"
2605
2606         rm install-sh
2607
2608
2609         targetname=rlm_eap
2610 else
2611         targetname=
2612         echo \*\*\* module rlm_eap is disabled.
2613 fi
2614
2615 if test x"$fail" != x""; then
2616         if test x"${enable_strict_dependencies}" = x"yes"; then
2617                 { { echo "$as_me:$LINENO: error: set --without-rlm_eap to disable it explicitly." >&5
2618 echo "$as_me: error: set --without-rlm_eap to disable it explicitly." >&2;}
2619    { (exit 1); exit 1; }; }
2620         else
2621                 { echo "$as_me:$LINENO: WARNING: silently not building rlm_eap." >&5
2622 echo "$as_me: WARNING: silently not building rlm_eap." >&2;}
2623                 { echo "$as_me:$LINENO: WARNING: FAILURE: rlm_eap requires: $fail." >&5
2624 echo "$as_me: WARNING: FAILURE: rlm_eap requires: $fail." >&2;}
2625                 if test x"$headersuggestion" != x; then
2626                         { echo "$as_me:$LINENO: WARNING: $headersuggestion" >&5
2627 echo "$as_me: WARNING: $headersuggestion" >&2;}
2628                 fi
2629                 if test x"$libsuggestion" != x; then
2630                         { echo "$as_me:$LINENO: WARNING: $libsuggestion" >&5
2631 echo "$as_me: WARNING: $libsuggestion" >&2;}
2632                 fi
2633                 targetname=""
2634             eapsubdirs=""
2635         fi
2636 fi
2637
2638 eaptypes=types
2639 if test x"$eapsubdirs" = x""; then
2640         eaptypes=""
2641 fi
2642
2643 eap_ldflags=$SMART_LIBS
2644 eap_cflags=$SMART_CFLAGS
2645
2646
2647
2648
2649
2650   unset ac_cv_env_LIBS_set
2651   unset ac_cv_env_LIBS_value
2652
2653   ac_config_files="$ac_config_files Makefile"
2654
2655 cat >confcache <<\_ACEOF
2656 # This file is a shell script that caches the results of configure
2657 # tests run on this system so they can be shared between configure
2658 # scripts and configure runs, see configure's option --config-cache.
2659 # It is not useful on other systems.  If it contains results you don't
2660 # want to keep, you may remove or edit it.
2661 #
2662 # config.status only pays attention to the cache file if you give it
2663 # the --recheck option to rerun configure.
2664 #
2665 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2666 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2667 # following values.
2668
2669 _ACEOF
2670
2671 # The following way of writing the cache mishandles newlines in values,
2672 # but we know of no workaround that is simple, portable, and efficient.
2673 # So, we kill variables containing newlines.
2674 # Ultrix sh set writes to stderr and can't be redirected directly,
2675 # and sets the high bit in the cache file unless we assign to the vars.
2676 (
2677   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2678     eval ac_val=\$$ac_var
2679     case $ac_val in #(
2680     *${as_nl}*)
2681       case $ac_var in #(
2682       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2683 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2684       esac
2685       case $ac_var in #(
2686       _ | IFS | as_nl) ;; #(
2687       *) $as_unset $ac_var ;;
2688       esac ;;
2689     esac
2690   done
2691
2692   (set) 2>&1 |
2693     case $as_nl`(ac_space=' '; set) 2>&1` in #(
2694     *${as_nl}ac_space=\ *)
2695       # `set' does not quote correctly, so add quotes (double-quote
2696       # substitution turns \\\\ into \\, and sed turns \\ into \).
2697       sed -n \
2698         "s/'/'\\\\''/g;
2699           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2700       ;; #(
2701     *)
2702       # `set' quotes correctly as required by POSIX, so do not add quotes.
2703       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2704       ;;
2705     esac |
2706     sort
2707 ) |
2708   sed '
2709      /^ac_cv_env_/b end
2710      t clear
2711      :clear
2712      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2713      t end
2714      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2715      :end' >>confcache
2716 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2717   if test -w "$cache_file"; then
2718     test "x$cache_file" != "x/dev/null" &&
2719       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2720 echo "$as_me: updating cache $cache_file" >&6;}
2721     cat confcache >$cache_file
2722   else
2723     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2724 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2725   fi
2726 fi
2727 rm -f confcache
2728
2729 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2730 # Let make expand exec_prefix.
2731 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2732
2733 # Transform confdefs.h into DEFS.
2734 # Protect against shell expansion while executing Makefile rules.
2735 # Protect against Makefile macro expansion.
2736 #
2737 # If the first sed substitution is executed (which looks for macros that
2738 # take arguments), then branch to the quote section.  Otherwise,
2739 # look for a macro that doesn't take arguments.
2740 ac_script='
2741 t clear
2742 :clear
2743 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2744 t quote
2745 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2746 t quote
2747 b any
2748 :quote
2749 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2750 s/\[/\\&/g
2751 s/\]/\\&/g
2752 s/\$/$$/g
2753 H
2754 :any
2755 ${
2756         g
2757         s/^\n//
2758         s/\n/ /g
2759         p
2760 }
2761 '
2762 DEFS=`sed -n "$ac_script" confdefs.h`
2763
2764
2765 ac_libobjs=
2766 ac_ltlibobjs=
2767 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2768   # 1. Remove the extension, and $U if already installed.
2769   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2770   ac_i=`echo "$ac_i" | sed "$ac_script"`
2771   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2772   #    will be set to the directory where LIBOBJS objects are built.
2773   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2774   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2775 done
2776 LIBOBJS=$ac_libobjs
2777
2778 LTLIBOBJS=$ac_ltlibobjs
2779
2780
2781
2782 : ${CONFIG_STATUS=./config.status}
2783 ac_clean_files_save=$ac_clean_files
2784 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2785 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2786 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2787 cat >$CONFIG_STATUS <<_ACEOF
2788 #! $SHELL
2789 # Generated by $as_me.
2790 # Run this file to recreate the current configuration.
2791 # Compiler output produced by configure, useful for debugging
2792 # configure, is in config.log if it exists.
2793
2794 debug=false
2795 ac_cs_recheck=false
2796 ac_cs_silent=false
2797 SHELL=\${CONFIG_SHELL-$SHELL}
2798 _ACEOF
2799
2800 cat >>$CONFIG_STATUS <<\_ACEOF
2801 ## --------------------- ##
2802 ## M4sh Initialization.  ##
2803 ## --------------------- ##
2804
2805 # Be more Bourne compatible
2806 DUALCASE=1; export DUALCASE # for MKS sh
2807 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2808   emulate sh
2809   NULLCMD=:
2810   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2811   # is contrary to our usage.  Disable this feature.
2812   alias -g '${1+"$@"}'='"$@"'
2813   setopt NO_GLOB_SUBST
2814 else
2815   case `(set -o) 2>/dev/null` in
2816   *posix*) set -o posix ;;
2817 esac
2818
2819 fi
2820
2821
2822
2823
2824 # PATH needs CR
2825 # Avoid depending upon Character Ranges.
2826 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2827 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2828 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2829 as_cr_digits='0123456789'
2830 as_cr_alnum=$as_cr_Letters$as_cr_digits
2831
2832 # The user is always right.
2833 if test "${PATH_SEPARATOR+set}" != set; then
2834   echo "#! /bin/sh" >conf$$.sh
2835   echo  "exit 0"   >>conf$$.sh
2836   chmod +x conf$$.sh
2837   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2838     PATH_SEPARATOR=';'
2839   else
2840     PATH_SEPARATOR=:
2841   fi
2842   rm -f conf$$.sh
2843 fi
2844
2845 # Support unset when possible.
2846 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2847   as_unset=unset
2848 else
2849   as_unset=false
2850 fi
2851
2852
2853 # IFS
2854 # We need space, tab and new line, in precisely that order.  Quoting is
2855 # there to prevent editors from complaining about space-tab.
2856 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2857 # splitting by setting IFS to empty value.)
2858 as_nl='
2859 '
2860 IFS=" ""        $as_nl"
2861
2862 # Find who we are.  Look in the path if we contain no directory separator.
2863 case $0 in
2864   *[\\/]* ) as_myself=$0 ;;
2865   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866 for as_dir in $PATH
2867 do
2868   IFS=$as_save_IFS
2869   test -z "$as_dir" && as_dir=.
2870   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2871 done
2872 IFS=$as_save_IFS
2873
2874      ;;
2875 esac
2876 # We did not find ourselves, most probably we were run as `sh COMMAND'
2877 # in which case we are not to be found in the path.
2878 if test "x$as_myself" = x; then
2879   as_myself=$0
2880 fi
2881 if test ! -f "$as_myself"; then
2882   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2883   { (exit 1); exit 1; }
2884 fi
2885
2886 # Work around bugs in pre-3.0 UWIN ksh.
2887 for as_var in ENV MAIL MAILPATH
2888 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2889 done
2890 PS1='$ '
2891 PS2='> '
2892 PS4='+ '
2893
2894 # NLS nuisances.
2895 for as_var in \
2896   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2897   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2898   LC_TELEPHONE LC_TIME
2899 do
2900   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2901     eval $as_var=C; export $as_var
2902   else
2903     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2904   fi
2905 done
2906
2907 # Required to use basename.
2908 if expr a : '\(a\)' >/dev/null 2>&1 &&
2909    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2910   as_expr=expr
2911 else
2912   as_expr=false
2913 fi
2914
2915 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2916   as_basename=basename
2917 else
2918   as_basename=false
2919 fi
2920
2921
2922 # Name of the executable.
2923 as_me=`$as_basename -- "$0" ||
2924 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2925          X"$0" : 'X\(//\)$' \| \
2926          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2927 echo X/"$0" |
2928     sed '/^.*\/\([^/][^/]*\)\/*$/{
2929             s//\1/
2930             q
2931           }
2932           /^X\/\(\/\/\)$/{
2933             s//\1/
2934             q
2935           }
2936           /^X\/\(\/\).*/{
2937             s//\1/
2938             q
2939           }
2940           s/.*/./; q'`
2941
2942 # CDPATH.
2943 $as_unset CDPATH
2944
2945
2946
2947   as_lineno_1=$LINENO
2948   as_lineno_2=$LINENO
2949   test "x$as_lineno_1" != "x$as_lineno_2" &&
2950   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2951
2952   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2953   # uniformly replaced by the line number.  The first 'sed' inserts a
2954   # line-number line after each line using $LINENO; the second 'sed'
2955   # does the real work.  The second script uses 'N' to pair each
2956   # line-number line with the line containing $LINENO, and appends
2957   # trailing '-' during substitution so that $LINENO is not a special
2958   # case at line end.
2959   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2960   # scripts with optimization help from Paolo Bonzini.  Blame Lee
2961   # E. McMahon (1931-1989) for sed's syntax.  :-)
2962   sed -n '
2963     p
2964     /[$]LINENO/=
2965   ' <$as_myself |
2966     sed '
2967       s/[$]LINENO.*/&-/
2968       t lineno
2969       b
2970       :lineno
2971       N
2972       :loop
2973       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2974       t loop
2975       s/-\n.*//
2976     ' >$as_me.lineno &&
2977   chmod +x "$as_me.lineno" ||
2978     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2979    { (exit 1); exit 1; }; }
2980
2981   # Don't try to exec as it changes $[0], causing all sort of problems
2982   # (the dirname of $[0] is not the place where we might find the
2983   # original and so on.  Autoconf is especially sensitive to this).
2984   . "./$as_me.lineno"
2985   # Exit status is that of the last command.
2986   exit
2987 }
2988
2989
2990 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2991   as_dirname=dirname
2992 else
2993   as_dirname=false
2994 fi
2995
2996 ECHO_C= ECHO_N= ECHO_T=
2997 case `echo -n x` in
2998 -n*)
2999   case `echo 'x\c'` in
3000   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
3001   *)   ECHO_C='\c';;
3002   esac;;
3003 *)
3004   ECHO_N='-n';;
3005 esac
3006
3007 if expr a : '\(a\)' >/dev/null 2>&1 &&
3008    test "X`expr 00001 : '.*\(...\)'`" = X001; then
3009   as_expr=expr
3010 else
3011   as_expr=false
3012 fi
3013
3014 rm -f conf$$ conf$$.exe conf$$.file
3015 if test -d conf$$.dir; then
3016   rm -f conf$$.dir/conf$$.file
3017 else
3018   rm -f conf$$.dir
3019   mkdir conf$$.dir
3020 fi
3021 echo >conf$$.file
3022 if ln -s conf$$.file conf$$ 2>/dev/null; then
3023   as_ln_s='ln -s'
3024   # ... but there are two gotchas:
3025   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3026   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3027   # In both cases, we have to default to `cp -p'.
3028   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3029     as_ln_s='cp -p'
3030 elif ln conf$$.file conf$$ 2>/dev/null; then
3031   as_ln_s=ln
3032 else
3033   as_ln_s='cp -p'
3034 fi
3035 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3036 rmdir conf$$.dir 2>/dev/null
3037
3038 if mkdir -p . 2>/dev/null; then
3039   as_mkdir_p=:
3040 else
3041   test -d ./-p && rmdir ./-p
3042   as_mkdir_p=false
3043 fi
3044
3045 if test -x / >/dev/null 2>&1; then
3046   as_test_x='test -x'
3047 else
3048   if ls -dL / >/dev/null 2>&1; then
3049     as_ls_L_option=L
3050   else
3051     as_ls_L_option=
3052   fi
3053   as_test_x='
3054     eval sh -c '\''
3055       if test -d "$1"; then
3056         test -d "$1/.";
3057       else
3058         case $1 in
3059         -*)set "./$1";;
3060         esac;
3061         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3062         ???[sx]*):;;*)false;;esac;fi
3063     '\'' sh
3064   '
3065 fi
3066 as_executable_p=$as_test_x
3067
3068 # Sed expression to map a string onto a valid CPP name.
3069 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3070
3071 # Sed expression to map a string onto a valid variable name.
3072 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3073
3074
3075 exec 6>&1
3076
3077 # Save the log message, to keep $[0] and so on meaningful, and to
3078 # report actual input values of CONFIG_FILES etc. instead of their
3079 # values after options handling.
3080 ac_log="
3081 This file was extended by $as_me, which was
3082 generated by GNU Autoconf 2.61.  Invocation command line was
3083
3084   CONFIG_FILES    = $CONFIG_FILES
3085   CONFIG_HEADERS  = $CONFIG_HEADERS
3086   CONFIG_LINKS    = $CONFIG_LINKS
3087   CONFIG_COMMANDS = $CONFIG_COMMANDS
3088   $ $0 $@
3089
3090 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3091 "
3092
3093 _ACEOF
3094
3095 cat >>$CONFIG_STATUS <<_ACEOF
3096 # Files that config.status was made for.
3097 config_files="$ac_config_files"
3098
3099 _ACEOF
3100
3101 cat >>$CONFIG_STATUS <<\_ACEOF
3102 ac_cs_usage="\
3103 \`$as_me' instantiates files from templates according to the
3104 current configuration.
3105
3106 Usage: $0 [OPTIONS] [FILE]...
3107
3108   -h, --help       print this help, then exit
3109   -V, --version    print version number and configuration settings, then exit
3110   -q, --quiet      do not print progress messages
3111   -d, --debug      don't remove temporary files
3112       --recheck    update $as_me by reconfiguring in the same conditions
3113   --file=FILE[:TEMPLATE]
3114                    instantiate the configuration file FILE
3115
3116 Configuration files:
3117 $config_files
3118
3119 Report bugs to <bug-autoconf@gnu.org>."
3120
3121 _ACEOF
3122 cat >>$CONFIG_STATUS <<_ACEOF
3123 ac_cs_version="\\
3124 config.status
3125 configured by $0, generated by GNU Autoconf 2.61,
3126   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3127
3128 Copyright (C) 2006 Free Software Foundation, Inc.
3129 This config.status script is free software; the Free Software Foundation
3130 gives unlimited permission to copy, distribute and modify it."
3131
3132 ac_pwd='$ac_pwd'
3133 srcdir='$srcdir'
3134 _ACEOF
3135
3136 cat >>$CONFIG_STATUS <<\_ACEOF
3137 # If no file are specified by the user, then we need to provide default
3138 # value.  By we need to know if files were specified by the user.
3139 ac_need_defaults=:
3140 while test $# != 0
3141 do
3142   case $1 in
3143   --*=*)
3144     ac_option=`expr "X$1" : 'X\([^=]*\)='`
3145     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3146     ac_shift=:
3147     ;;
3148   *)
3149     ac_option=$1
3150     ac_optarg=$2
3151     ac_shift=shift
3152     ;;
3153   esac
3154
3155   case $ac_option in
3156   # Handling of the options.
3157   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3158     ac_cs_recheck=: ;;
3159   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3160     echo "$ac_cs_version"; exit ;;
3161   --debug | --debu | --deb | --de | --d | -d )
3162     debug=: ;;
3163   --file | --fil | --fi | --f )
3164     $ac_shift
3165     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3166     ac_need_defaults=false;;
3167   --he | --h |  --help | --hel | -h )
3168     echo "$ac_cs_usage"; exit ;;
3169   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3170   | -silent | --silent | --silen | --sile | --sil | --si | --s)
3171     ac_cs_silent=: ;;
3172
3173   # This is an error.
3174   -*) { echo "$as_me: error: unrecognized option: $1
3175 Try \`$0 --help' for more information." >&2
3176    { (exit 1); exit 1; }; } ;;
3177
3178   *) ac_config_targets="$ac_config_targets $1"
3179      ac_need_defaults=false ;;
3180
3181   esac
3182   shift
3183 done
3184
3185 ac_configure_extra_args=
3186
3187 if $ac_cs_silent; then
3188   exec 6>/dev/null
3189   ac_configure_extra_args="$ac_configure_extra_args --silent"
3190 fi
3191
3192 _ACEOF
3193 cat >>$CONFIG_STATUS <<_ACEOF
3194 if \$ac_cs_recheck; then
3195   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3196   CONFIG_SHELL=$SHELL
3197   export CONFIG_SHELL
3198   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3199 fi
3200
3201 _ACEOF
3202 cat >>$CONFIG_STATUS <<\_ACEOF
3203 exec 5>>config.log
3204 {
3205   echo
3206   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3207 ## Running $as_me. ##
3208 _ASBOX
3209   echo "$ac_log"
3210 } >&5
3211
3212 _ACEOF
3213 cat >>$CONFIG_STATUS <<_ACEOF
3214 _ACEOF
3215
3216 cat >>$CONFIG_STATUS <<\_ACEOF
3217
3218 # Handling of arguments.
3219 for ac_config_target in $ac_config_targets
3220 do
3221   case $ac_config_target in
3222     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3223
3224   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3225 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3226    { (exit 1); exit 1; }; };;
3227   esac
3228 done
3229
3230
3231 # If the user did not use the arguments to specify the items to instantiate,
3232 # then the envvar interface is used.  Set only those that are not.
3233 # We use the long form for the default assignment because of an extremely
3234 # bizarre bug on SunOS 4.1.3.
3235 if $ac_need_defaults; then
3236   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3237 fi
3238
3239 # Have a temporary directory for convenience.  Make it in the build tree
3240 # simply because there is no reason against having it here, and in addition,
3241 # creating and moving files from /tmp can sometimes cause problems.
3242 # Hook for its removal unless debugging.
3243 # Note that there is a small window in which the directory will not be cleaned:
3244 # after its creation but before its name has been assigned to `$tmp'.
3245 $debug ||
3246 {
3247   tmp=
3248   trap 'exit_status=$?
3249   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3250 ' 0
3251   trap '{ (exit 1); exit 1; }' 1 2 13 15
3252 }
3253 # Create a (secure) tmp directory for tmp files.
3254
3255 {
3256   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3257   test -n "$tmp" && test -d "$tmp"
3258 }  ||
3259 {
3260   tmp=./conf$$-$RANDOM
3261   (umask 077 && mkdir "$tmp")
3262 } ||
3263 {
3264    echo "$me: cannot create a temporary directory in ." >&2
3265    { (exit 1); exit 1; }
3266 }
3267
3268 #
3269 # Set up the sed scripts for CONFIG_FILES section.
3270 #
3271
3272 # No need to generate the scripts if there are no CONFIG_FILES.
3273 # This happens for instance when ./config.status config.h
3274 if test -n "$CONFIG_FILES"; then
3275
3276 _ACEOF
3277
3278
3279
3280 ac_delim='%!_!# '
3281 for ac_last_try in false false false false false :; do
3282   cat >conf$$subs.sed <<_ACEOF
3283 SHELL!$SHELL$ac_delim
3284 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3285 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3286 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3287 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3288 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3289 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3290 exec_prefix!$exec_prefix$ac_delim
3291 prefix!$prefix$ac_delim
3292 program_transform_name!$program_transform_name$ac_delim
3293 bindir!$bindir$ac_delim
3294 sbindir!$sbindir$ac_delim
3295 libexecdir!$libexecdir$ac_delim
3296 datarootdir!$datarootdir$ac_delim
3297 datadir!$datadir$ac_delim
3298 sysconfdir!$sysconfdir$ac_delim
3299 sharedstatedir!$sharedstatedir$ac_delim
3300 localstatedir!$localstatedir$ac_delim
3301 includedir!$includedir$ac_delim
3302 oldincludedir!$oldincludedir$ac_delim
3303 docdir!$docdir$ac_delim
3304 infodir!$infodir$ac_delim
3305 htmldir!$htmldir$ac_delim
3306 dvidir!$dvidir$ac_delim
3307 pdfdir!$pdfdir$ac_delim
3308 psdir!$psdir$ac_delim
3309 libdir!$libdir$ac_delim
3310 localedir!$localedir$ac_delim
3311 mandir!$mandir$ac_delim
3312 DEFS!$DEFS$ac_delim
3313 ECHO_C!$ECHO_C$ac_delim
3314 ECHO_N!$ECHO_N$ac_delim
3315 ECHO_T!$ECHO_T$ac_delim
3316 LIBS!$LIBS$ac_delim
3317 build_alias!$build_alias$ac_delim
3318 host_alias!$host_alias$ac_delim
3319 target_alias!$target_alias$ac_delim
3320 CC!$CC$ac_delim
3321 CFLAGS!$CFLAGS$ac_delim
3322 LDFLAGS!$LDFLAGS$ac_delim
3323 CPPFLAGS!$CPPFLAGS$ac_delim
3324 ac_ct_CC!$ac_ct_CC$ac_delim
3325 EXEEXT!$EXEEXT$ac_delim
3326 OBJEXT!$OBJEXT$ac_delim
3327 subdirs!$subdirs$ac_delim
3328 eaptypes!$eaptypes$ac_delim
3329 eap_ldflags!$eap_ldflags$ac_delim
3330 eap_cflags!$eap_cflags$ac_delim
3331 targetname!$targetname$ac_delim
3332 LIBOBJS!$LIBOBJS$ac_delim
3333 LTLIBOBJS!$LTLIBOBJS$ac_delim
3334 _ACEOF
3335
3336   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
3337     break
3338   elif $ac_last_try; then
3339     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3340 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3341    { (exit 1); exit 1; }; }
3342   else
3343     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3344   fi
3345 done
3346
3347 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3348 if test -n "$ac_eof"; then
3349   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3350   ac_eof=`expr $ac_eof + 1`
3351 fi
3352
3353 cat >>$CONFIG_STATUS <<_ACEOF
3354 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3355 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3356 _ACEOF
3357 sed '
3358 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3359 s/^/s,@/; s/!/@,|#_!!_#|/
3360 :n
3361 t n
3362 s/'"$ac_delim"'$/,g/; t
3363 s/$/\\/; p
3364 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3365 ' >>$CONFIG_STATUS <conf$$subs.sed
3366 rm -f conf$$subs.sed
3367 cat >>$CONFIG_STATUS <<_ACEOF
3368 :end
3369 s/|#_!!_#|//g
3370 CEOF$ac_eof
3371 _ACEOF
3372
3373
3374 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3375 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3376 # trailing colons and then remove the whole line if VPATH becomes empty
3377 # (actually we leave an empty line to preserve line numbers).
3378 if test "x$srcdir" = x.; then
3379   ac_vpsub='/^[  ]*VPATH[        ]*=/{
3380 s/:*\$(srcdir):*/:/
3381 s/:*\${srcdir}:*/:/
3382 s/:*@srcdir@:*/:/
3383 s/^\([^=]*=[     ]*\):*/\1/
3384 s/:*$//
3385 s/^[^=]*=[       ]*$//
3386 }'
3387 fi
3388
3389 cat >>$CONFIG_STATUS <<\_ACEOF
3390 fi # test -n "$CONFIG_FILES"
3391
3392
3393 for ac_tag in  :F $CONFIG_FILES
3394 do
3395   case $ac_tag in
3396   :[FHLC]) ac_mode=$ac_tag; continue;;
3397   esac
3398   case $ac_mode$ac_tag in
3399   :[FHL]*:*);;
3400   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3401 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3402    { (exit 1); exit 1; }; };;
3403   :[FH]-) ac_tag=-:-;;
3404   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3405   esac
3406   ac_save_IFS=$IFS
3407   IFS=:
3408   set x $ac_tag
3409   IFS=$ac_save_IFS
3410   shift
3411   ac_file=$1
3412   shift
3413
3414   case $ac_mode in
3415   :L) ac_source=$1;;
3416   :[FH])
3417     ac_file_inputs=
3418     for ac_f
3419     do
3420       case $ac_f in
3421       -) ac_f="$tmp/stdin";;
3422       *) # Look for the file first in the build tree, then in the source tree
3423          # (if the path is not absolute).  The absolute path cannot be DOS-style,
3424          # because $ac_f cannot contain `:'.
3425          test -f "$ac_f" ||
3426            case $ac_f in
3427            [\\/$]*) false;;
3428            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3429            esac ||
3430            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3431 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3432    { (exit 1); exit 1; }; };;
3433       esac
3434       ac_file_inputs="$ac_file_inputs $ac_f"
3435     done
3436
3437     # Let's still pretend it is `configure' which instantiates (i.e., don't
3438     # use $as_me), people would be surprised to read:
3439     #    /* config.h.  Generated by config.status.  */
3440     configure_input="Generated from "`IFS=:
3441           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3442     if test x"$ac_file" != x-; then
3443       configure_input="$ac_file.  $configure_input"
3444       { echo "$as_me:$LINENO: creating $ac_file" >&5
3445 echo "$as_me: creating $ac_file" >&6;}
3446     fi
3447
3448     case $ac_tag in
3449     *:-:* | *:-) cat >"$tmp/stdin";;
3450     esac
3451     ;;
3452   esac
3453
3454   ac_dir=`$as_dirname -- "$ac_file" ||
3455 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3456          X"$ac_file" : 'X\(//\)[^/]' \| \
3457          X"$ac_file" : 'X\(//\)$' \| \
3458          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3459 echo X"$ac_file" |
3460     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3461             s//\1/
3462             q
3463           }
3464           /^X\(\/\/\)[^/].*/{
3465             s//\1/
3466             q
3467           }
3468           /^X\(\/\/\)$/{
3469             s//\1/
3470             q
3471           }
3472           /^X\(\/\).*/{
3473             s//\1/
3474             q
3475           }
3476           s/.*/./; q'`
3477   { as_dir="$ac_dir"
3478   case $as_dir in #(
3479   -*) as_dir=./$as_dir;;
3480   esac
3481   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3482     as_dirs=
3483     while :; do
3484       case $as_dir in #(
3485       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3486       *) as_qdir=$as_dir;;
3487       esac
3488       as_dirs="'$as_qdir' $as_dirs"
3489       as_dir=`$as_dirname -- "$as_dir" ||
3490 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3491          X"$as_dir" : 'X\(//\)[^/]' \| \
3492          X"$as_dir" : 'X\(//\)$' \| \
3493          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3494 echo X"$as_dir" |
3495     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3496             s//\1/
3497             q
3498           }
3499           /^X\(\/\/\)[^/].*/{
3500             s//\1/
3501             q
3502           }
3503           /^X\(\/\/\)$/{
3504             s//\1/
3505             q
3506           }
3507           /^X\(\/\).*/{
3508             s//\1/
3509             q
3510           }
3511           s/.*/./; q'`
3512       test -d "$as_dir" && break
3513     done
3514     test -z "$as_dirs" || eval "mkdir $as_dirs"
3515   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3516 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3517    { (exit 1); exit 1; }; }; }
3518   ac_builddir=.
3519
3520 case "$ac_dir" in
3521 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3522 *)
3523   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3524   # A ".." for each directory in $ac_dir_suffix.
3525   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3526   case $ac_top_builddir_sub in
3527   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3528   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3529   esac ;;
3530 esac
3531 ac_abs_top_builddir=$ac_pwd
3532 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3533 # for backward compatibility:
3534 ac_top_builddir=$ac_top_build_prefix
3535
3536 case $srcdir in
3537   .)  # We are building in place.
3538     ac_srcdir=.
3539     ac_top_srcdir=$ac_top_builddir_sub
3540     ac_abs_top_srcdir=$ac_pwd ;;
3541   [\\/]* | ?:[\\/]* )  # Absolute name.
3542     ac_srcdir=$srcdir$ac_dir_suffix;
3543     ac_top_srcdir=$srcdir
3544     ac_abs_top_srcdir=$srcdir ;;
3545   *) # Relative name.
3546     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3547     ac_top_srcdir=$ac_top_build_prefix$srcdir
3548     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3549 esac
3550 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3551
3552
3553   case $ac_mode in
3554   :F)
3555   #
3556   # CONFIG_FILE
3557   #
3558
3559 _ACEOF
3560
3561 cat >>$CONFIG_STATUS <<\_ACEOF
3562 # If the template does not know about datarootdir, expand it.
3563 # FIXME: This hack should be removed a few years after 2.60.
3564 ac_datarootdir_hack=; ac_datarootdir_seen=
3565
3566 case `sed -n '/datarootdir/ {
3567   p
3568   q
3569 }
3570 /@datadir@/p
3571 /@docdir@/p
3572 /@infodir@/p
3573 /@localedir@/p
3574 /@mandir@/p
3575 ' $ac_file_inputs` in
3576 *datarootdir*) ac_datarootdir_seen=yes;;
3577 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3578   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3579 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3580 _ACEOF
3581 cat >>$CONFIG_STATUS <<_ACEOF
3582   ac_datarootdir_hack='
3583   s&@datadir@&$datadir&g
3584   s&@docdir@&$docdir&g
3585   s&@infodir@&$infodir&g
3586   s&@localedir@&$localedir&g
3587   s&@mandir@&$mandir&g
3588     s&\\\${datarootdir}&$datarootdir&g' ;;
3589 esac
3590 _ACEOF
3591
3592 # Neutralize VPATH when `$srcdir' = `.'.
3593 # Shell code in configure.ac might set extrasub.
3594 # FIXME: do we really want to maintain this feature?
3595 cat >>$CONFIG_STATUS <<_ACEOF
3596   sed "$ac_vpsub
3597 $extrasub
3598 _ACEOF
3599 cat >>$CONFIG_STATUS <<\_ACEOF
3600 :t
3601 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3602 s&@configure_input@&$configure_input&;t t
3603 s&@top_builddir@&$ac_top_builddir_sub&;t t
3604 s&@srcdir@&$ac_srcdir&;t t
3605 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3606 s&@top_srcdir@&$ac_top_srcdir&;t t
3607 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3608 s&@builddir@&$ac_builddir&;t t
3609 s&@abs_builddir@&$ac_abs_builddir&;t t
3610 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3611 $ac_datarootdir_hack
3612 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3613
3614 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3615   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3616   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3617   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3618 which seems to be undefined.  Please make sure it is defined." >&5
3619 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3620 which seems to be undefined.  Please make sure it is defined." >&2;}
3621
3622   rm -f "$tmp/stdin"
3623   case $ac_file in
3624   -) cat "$tmp/out"; rm -f "$tmp/out";;
3625   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3626   esac
3627  ;;
3628
3629
3630
3631   esac
3632
3633 done # for ac_tag
3634
3635
3636 { (exit 0); exit 0; }
3637 _ACEOF
3638 chmod +x $CONFIG_STATUS
3639 ac_clean_files=$ac_clean_files_save
3640
3641
3642 # configure is writing to config.log, and then calls config.status.
3643 # config.status does its own redirection, appending to config.log.
3644 # Unfortunately, on DOS this fails, as config.log is still kept open
3645 # by configure, so config.status won't be able to write to it; its
3646 # output is simply discarded.  So we exec the FD to /dev/null,
3647 # effectively closing config.log, so it can be properly (re)opened and
3648 # appended to by config.status.  When coming back to configure, we
3649 # need to make the FD available again.
3650 if test "$no_create" != yes; then
3651   ac_cs_success=:
3652   ac_config_status_args=
3653   test "$silent" = yes &&
3654     ac_config_status_args="$ac_config_status_args --quiet"
3655   exec 5>/dev/null
3656   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3657   exec 5>>config.log
3658   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3659   # would make configure fail if this is the last instruction.
3660   $ac_cs_success || { (exit 1); exit 1; }
3661 fi
3662
3663 #
3664 # CONFIG_SUBDIRS section.
3665 #
3666 if test "$no_recursion" != yes; then
3667
3668   # Remove --cache-file and --srcdir arguments so they do not pile up.
3669   ac_sub_configure_args=
3670   ac_prev=
3671   eval "set x $ac_configure_args"
3672   shift
3673   for ac_arg
3674   do
3675     if test -n "$ac_prev"; then
3676       ac_prev=
3677       continue
3678     fi
3679     case $ac_arg in
3680     -cache-file | --cache-file | --cache-fil | --cache-fi \
3681     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3682       ac_prev=cache_file ;;
3683     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3684     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3685     | --c=*)
3686       ;;
3687     --config-cache | -C)
3688       ;;
3689     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3690       ac_prev=srcdir ;;
3691     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3692       ;;
3693     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3694       ac_prev=prefix ;;
3695     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3696       ;;
3697     *)
3698       case $ac_arg in
3699       *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3700       esac
3701       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
3702     esac
3703   done
3704
3705   # Always prepend --prefix to ensure using the same prefix
3706   # in subdir configurations.
3707   ac_arg="--prefix=$prefix"
3708   case $ac_arg in
3709   *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3710   esac
3711   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3712
3713   # Pass --silent
3714   if test "$silent" = yes; then
3715     ac_sub_configure_args="--silent $ac_sub_configure_args"
3716   fi
3717
3718   ac_popdir=`pwd`
3719   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3720
3721     # Do not complain, so a configure script can configure whichever
3722     # parts of a large source tree are present.
3723     test -d "$srcdir/$ac_dir" || continue
3724
3725     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3726     echo "$as_me:$LINENO: $ac_msg" >&5
3727     echo "$ac_msg" >&6
3728     { as_dir="$ac_dir"
3729   case $as_dir in #(
3730   -*) as_dir=./$as_dir;;
3731   esac
3732   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3733     as_dirs=
3734     while :; do
3735       case $as_dir in #(
3736       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3737       *) as_qdir=$as_dir;;
3738       esac
3739       as_dirs="'$as_qdir' $as_dirs"
3740       as_dir=`$as_dirname -- "$as_dir" ||
3741 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3742          X"$as_dir" : 'X\(//\)[^/]' \| \
3743          X"$as_dir" : 'X\(//\)$' \| \
3744          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3745 echo X"$as_dir" |
3746     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3747             s//\1/
3748             q
3749           }
3750           /^X\(\/\/\)[^/].*/{
3751             s//\1/
3752             q
3753           }
3754           /^X\(\/\/\)$/{
3755             s//\1/
3756             q
3757           }
3758           /^X\(\/\).*/{
3759             s//\1/
3760             q
3761           }
3762           s/.*/./; q'`
3763       test -d "$as_dir" && break
3764     done
3765     test -z "$as_dirs" || eval "mkdir $as_dirs"
3766   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3767 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3768    { (exit 1); exit 1; }; }; }
3769     ac_builddir=.
3770
3771 case "$ac_dir" in
3772 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3773 *)
3774   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3775   # A ".." for each directory in $ac_dir_suffix.
3776   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3777   case $ac_top_builddir_sub in
3778   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3779   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3780   esac ;;
3781 esac
3782 ac_abs_top_builddir=$ac_pwd
3783 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3784 # for backward compatibility:
3785 ac_top_builddir=$ac_top_build_prefix
3786
3787 case $srcdir in
3788   .)  # We are building in place.
3789     ac_srcdir=.
3790     ac_top_srcdir=$ac_top_builddir_sub
3791     ac_abs_top_srcdir=$ac_pwd ;;
3792   [\\/]* | ?:[\\/]* )  # Absolute name.
3793     ac_srcdir=$srcdir$ac_dir_suffix;
3794     ac_top_srcdir=$srcdir
3795     ac_abs_top_srcdir=$srcdir ;;
3796   *) # Relative name.
3797     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3798     ac_top_srcdir=$ac_top_build_prefix$srcdir
3799     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3800 esac
3801 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3802
3803
3804     cd "$ac_dir"
3805
3806     # Check for guested configure; otherwise get Cygnus style configure.
3807     if test -f "$ac_srcdir/configure.gnu"; then
3808       ac_sub_configure=$ac_srcdir/configure.gnu
3809     elif test -f "$ac_srcdir/configure"; then
3810       ac_sub_configure=$ac_srcdir/configure
3811     elif test -f "$ac_srcdir/configure.in"; then
3812       # This should be Cygnus configure.
3813       ac_sub_configure=$ac_aux_dir/configure
3814     else
3815       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3816 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3817       ac_sub_configure=
3818     fi
3819
3820     # The recursion is here.
3821     if test -n "$ac_sub_configure"; then
3822       # Make the cache file name correct relative to the subdirectory.
3823       case $cache_file in
3824       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3825       *) # Relative name.
3826         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
3827       esac
3828
3829       { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3830 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3831       # The eval makes quoting arguments work.
3832       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
3833            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3834         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3835 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3836    { (exit 1); exit 1; }; }
3837     fi
3838
3839     cd "$ac_popdir"
3840   done
3841 fi
3842
3843