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