2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
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 ## --------------------- ##
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
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+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
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
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
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
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.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
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
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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
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 \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
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 ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
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
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
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
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+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
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+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
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; }
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
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
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
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
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
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. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
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 ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
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'"
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'"
552 exec 7<&0 </dev
/null
6>&1
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`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="ragel/main.cpp"
589 program_transform_name
643 ac_precious_vars
='build_alias
656 # Initialize some variables set by options.
658 ac_init_version
=false
659 # The variables have the same names as the options, with
660 # dashes changed to underlines.
668 program_transform_name
=s
,x
,x
,
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'
698 libdir
='${exec_prefix}/lib'
699 localedir
='${datarootdir}/locale'
700 mandir
='${datarootdir}/man'
706 # If the previous option needs an argument, assign it.
707 if test -n "$ac_prev"; then
708 eval $ac_prev=\
$ac_option
714 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
718 # Accept the important Cygnus configure options, so we can diagnose typos.
720 case $ac_dashdash$ac_option in
724 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
726 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
729 -build |
--build |
--buil |
--bui |
--bu)
730 ac_prev
=build_alias
;;
731 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
732 build_alias
=$ac_optarg ;;
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 ;;
742 cache_file
=config.cache
;;
744 -datadir |
--datadir |
--datadi |
--datad)
746 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
747 datadir
=$ac_optarg ;;
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 ;;
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
;;
765 -docdir |
--docdir |
--docdi |
--doc |
--do)
767 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
770 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
772 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
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 ;;
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 ;;
793 -gas |
--gas |
--ga |
--g)
794 # Obsolete; use --with-gas.
797 -help |
--help |
--hel |
--he |
-h)
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
;;
804 -host |
--host |
--hos |
--ho)
805 ac_prev
=host_alias
;;
806 -host=* |
--host=* |
--hos=* |
--ho=*)
807 host_alias
=$ac_optarg ;;
809 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
811 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
813 htmldir
=$ac_optarg ;;
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 ;;
822 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
824 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
825 infodir
=$ac_optarg ;;
827 -libdir |
--libdir |
--libdi |
--libd)
829 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
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 ;;
839 -localedir |
--localedir |
--localedi |
--localed |
--locale)
841 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
842 localedir
=$ac_optarg ;;
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 ;;
851 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
853 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
857 # Obsolete; use --without-fp.
860 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
861 |
--no-cr |
--no-c |
-n)
864 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
865 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
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 ;;
877 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
879 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
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 ;;
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 ;;
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 ;;
913 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
915 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
918 -psdir |
--psdir |
--psdi |
--psd |
--ps)
920 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
923 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
924 |
-silent |
--silent |
--silen |
--sile |
--sil)
927 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
929 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
931 sbindir
=$ac_optarg ;;
933 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
934 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
935 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
937 ac_prev
=sharedstatedir
;;
938 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
939 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
940 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
942 sharedstatedir
=$ac_optarg ;;
944 -site |
--site |
--sit)
946 -site=* |
--site=* |
--sit=*)
949 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
951 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
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 ;;
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 ;;
966 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
969 -version |
--version |
--versio |
--versi |
--vers |
-V)
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 ;;
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
;;
991 # Obsolete; use --with-x.
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 ;;
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 ;;
1008 -*) { echo "$as_me: error: unrecognized option: $ac_option
1009 Try \`$0 --help' for more information." >&2
1010 { (exit 1); exit 1; }; }
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 ;;
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}
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; }; }
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
1045 eval ac_val
=\$
$ac_var
1047 [\\/$
]* | ?
:[\\/]* ) continue;;
1048 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1050 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1051 { (exit 1); exit 1; }; }
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.
1059 target
=$target_alias
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
1073 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1075 test "$silent" = yes && exec 6>/dev
/null
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; }; }
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 ||
1098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1116 if test ! -r "$srcdir/$ac_unique_file"; then
1120 ac_srcdir_defaulted
=no
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; }; }
1127 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1129 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1130 { (exit 1); exit 1; }; }
1132 # When building in place, set srcdir=.
1133 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1140 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
1150 # Report the --help message.
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.
1156 \`configure' configures this package to adapt to many kinds of systems.
1158 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
1163 Defaults for the options are specified in brackets.
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 \`..']
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
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'.
1187 For better control, use the options below.
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]
1215 if test -n "$ac_init_help"; then
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
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.
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
1244 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
1260 .) # We are building in place.
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 ;;
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 ;;
1273 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1275 cd "$ac_dir" || { ac_status=$?; continue; }
1276 # Check for guested configure.
1277 if test -f "$ac_srcdir/configure.gnu"; then
1279 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1280 elif test -f "$ac_srcdir/configure"; then
1282 $SHELL "$ac_srcdir/configure" --help=recursive
1284 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1286 cd "$ac_pwd" || { ac_status=$?; break; }
1290 test -n "$ac_init_help" && exit $ac_status
1291 if $ac_init_version; then
1294 generated by GNU Autoconf 2.61
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.
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.
1307 It was created by $as_me, which was
1308 generated by GNU Autoconf 2.61. Invocation command line was
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
`
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
`
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
`
1339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1343 test -z "$as_dir" && as_dir=.
1344 echo "PATH: $as_dir"
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.
1368 ac_must_keep_next=false
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)
1379 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1382 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
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.
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 ;;
1397 -* ) ac_must_keep_next=true ;;
1400 ac_configure_args="$ac_configure_args '$ac_arg'"
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; }
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.
1419 ## ---------------- ##
1420 ## Cache variables. ##
1421 ## ---------------- ##
1424 # The following way of writing the cache mishandles newlines in values,
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
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;} ;;
1435 _ | IFS | as_nl) ;; #(
1436 *) $as_unset $ac_var ;;
1441 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1442 *${as_nl}ac_space=\ *)
1444 "s/'\''/'\''\\\\'\'''\''/g;
1445 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1448 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1456 ## ----------------- ##
1457 ## Output variables. ##
1458 ## ----------------- ##
1461 for ac_var in $ac_subst_vars
1463 eval ac_val=\$$ac_var
1465 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1467 echo "$ac_var='\''$ac_val'\''"
1471 if test -n "$ac_subst_files"; then
1473 ## ------------------- ##
1474 ## File substitutions. ##
1475 ## ------------------- ##
1478 for ac_var in $ac_subst_files
1480 eval ac_val=\$$ac_var
1482 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1484 echo "$ac_var='\''$ac_val'\''"
1489 if test -s confdefs.h; then
1499 test "$ac_signal" != 0 &&
1500 echo "$as_me: caught signal $ac_signal"
1501 echo "$as_me: exit $exit_status"
1503 rm -f core *.core core.conftest.* &&
1504 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1507 for ac_signal in 1 2 13 15; do
1508 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1512 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1513 rm -f -r conftest* confdefs.h
1515 # Predefined preprocessor variables.
1517 cat >>confdefs.h <<_ACEOF
1518 #define PACKAGE_NAME "$PACKAGE_NAME"
1522 cat >>confdefs.h <<_ACEOF
1523 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1527 cat >>confdefs.h <<_ACEOF
1528 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1532 cat >>confdefs.h <<_ACEOF
1533 #define PACKAGE_STRING "$PACKAGE_STRING"
1537 cat >>confdefs.h <<_ACEOF
1538 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
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"
1549 set x "$ac_default_prefix/share/config.site" \
1550 "$ac_default_prefix/etc/config.site"
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
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;}
1570 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1571 *) . "./$cache_file";;
1575 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1576 echo "$as_me: creating cache $cache_file" >&6;}
1580 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
1609 # Pass precious variables to config.status.
1610 if test "$ac_new_set" = set; then
1612 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1613 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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; }; }
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
1652 ac_config_headers="$ac_config_headers common/config.h"
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
1671 if test -n "$CC"; then
1672 ac_cv_prog_CC="$CC" # Let the user override the test.
1674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1692 if test -n "$CC"; then
1693 { echo "$as_me:$LINENO: result: $CC" >&5
1694 echo "${ECHO_T}$CC" >&6; }
1696 { echo "$as_me:$LINENO: result: no" >&5
1697 echo "${ECHO_T}no" >&6; }
1702 if test -z "$ac_cv_prog_CC"; then
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
1711 if test -n "$ac_ct_CC"; then
1712 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
1736 { echo "$as_me:$LINENO: result: no" >&5
1737 echo "${ECHO_T}no" >&6; }
1740 if test "x$ac_ct_CC" = x; then
1743 case $cross_compiling:$ac_tool_warned in
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 ;;
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
1768 if test -n "$CC"; then
1769 ac_cv_prog_CC="$CC" # Let the user override the test.
1771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1789 if test -n "$CC"; then
1790 { echo "$as_me:$LINENO: result: $CC" >&5
1791 echo "${ECHO_T}$CC" >&6; }
1793 { echo "$as_me:$LINENO: result: no" >&5
1794 echo "${ECHO_T}no" >&6; }
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
1808 if test -n "$CC"; then
1809 ac_cv_prog_CC="$CC" # Let the user override the test.
1812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
1840 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1846 if test -n "$CC"; then
1847 { echo "$as_me:$LINENO: result: $CC" >&5
1848 echo "${ECHO_T}$CC" >&6; }
1850 { echo "$as_me:$LINENO: result: no" >&5
1851 echo "${ECHO_T}no" >&6; }
1856 if test -z "$CC"; then
1857 if test -n "$ac_tool_prefix"; then
1858 for ac_prog in cl.exe
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
1867 if test -n "$CC"; then
1868 ac_cv_prog_CC="$CC" # Let the user override the test.
1870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1888 if test -n "$CC"; then
1889 { echo "$as_me:$LINENO: result: $CC" >&5
1890 echo "${ECHO_T}$CC" >&6; }
1892 { echo "$as_me:$LINENO: result: no" >&5
1893 echo "${ECHO_T}no" >&6; }
1897 test -n "$CC" && break
1900 if test -z "$CC"; then
1902 for ac_prog in cl.exe
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
1911 if test -n "$ac_ct_CC"; then
1912 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
1936 { echo "$as_me:$LINENO: result: no" >&5
1937 echo "${ECHO_T}no" >&6; }
1941 test -n "$ac_ct_CC" && break
1944 if test "x$ac_ct_CC" = x; then
1947 case $cross_compiling:$ac_tool_warned in
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 ;;
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; }; }
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"
1975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1976 *) ac_try_echo=$ac_try;;
1978 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
1979 (eval "$ac_compiler --version >&5") 2>&5
1981 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1982 (exit $ac_status); }
1983 { (ac_try="$ac_compiler -v >&5"
1985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1988 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
1989 (eval "$ac_compiler -v >&5") 2>&5
1991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1992 (exit $ac_status); }
1993 { (ac_try="$ac_compiler -V >&5"
1995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1996 *) ac_try_echo=$ac_try;;
1998 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
1999 (eval "$ac_compiler -V >&5") 2>&5
2001 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2002 (exit $ac_status); }
2004 cat >conftest.$ac_ext <<_ACEOF
2007 cat confdefs.h >>conftest.$ac_ext
2008 cat >>conftest.$ac_ext <<_ACEOF
2009 /* end confdefs.h. */
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
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[^ ]*//'`
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'
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.
2037 for ac_file in $ac_files
2040 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2041 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2046 if { (ac_try="$ac_link_default"
2048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2049 *) ac_try_echo=$ac_try;;
2051 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2052 (eval "$ac_link_default") 2>&5
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
2061 for ac_file in $ac_files ''
2063 test -f "$ac_file" || continue
2065 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2068 # We found the default executable, but exeext='' is most
2072 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2074 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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
2086 test "$ac_cv_exeext" = no && ac_cv_exeext=
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
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; }; }
2105 ac_exeext=$ac_cv_exeext
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;;
2119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2120 (eval "$ac_try") 2>&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); }; }; then
2126 if test "$cross_compiling" = maybe; then
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; }; }
2139 { echo "$as_me:$LINENO: result
: yes" >&5
2140 echo "${ECHO_T}yes" >&6; }
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; }
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"
2155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2156 *) ac_try_echo=$ac_try;;
2158 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2159 (eval "$ac_link") 2>&5
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
2167 for ac_file in conftest.exe conftest conftest.*; do
2168 test -f "$ac_file" || continue
2170 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2171 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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; }; }
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; }
2188 rm -f conftest.$ac_ext
2189 EXEEXT=$ac_cv_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
2196 cat >conftest.$ac_ext <<_ACEOF
2199 cat confdefs.h >>conftest.$ac_ext
2200 cat >>conftest.$ac_ext <<_ACEOF
2201 /* end confdefs.h. */
2211 rm -f conftest.o conftest.obj
2212 if { (ac_try="$ac_compile"
2214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2215 *) ac_try_echo=$ac_try;;
2217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2218 (eval "$ac_compile") 2>&5
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;
2225 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2226 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2231 echo "$as_me: failed program was:" >&5
2232 sed 's
/^
/|
/' conftest.$ac_ext >&5
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; }; }
2241 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2243 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2244 echo "${ECHO_T}$ac_cv_objext" >&6; }
2245 OBJEXT=$ac_cv_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
2252 cat >conftest.$ac_ext <<_ACEOF
2255 cat confdefs.h >>conftest.$ac_ext
2256 cat >>conftest.$ac_ext <<_ACEOF
2257 /* end confdefs.h. */
2270 rm -f conftest.$ac_objext
2271 if { (ac_try="$ac_compile"
2273 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2274 *) ac_try_echo
=$ac_try;;
2276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2277 (eval "$ac_compile") 2>conftest.er1
2279 grep -v '^ *+' conftest.er1
>conftest.err
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
2289 echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.
$ac_ext >&5
2295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2296 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
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
2309 ac_save_c_werror_flag
=$ac_c_werror_flag
2310 ac_c_werror_flag
=yes
2313 cat >conftest.
$ac_ext <<_ACEOF
2316 cat confdefs.h
>>conftest.
$ac_ext
2317 cat >>conftest.
$ac_ext <<_ACEOF
2318 /* end confdefs.h. */
2328 rm -f conftest.
$ac_objext
2329 if { (ac_try
="$ac_compile"
2331 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2332 *) ac_try_echo=$ac_try;;
2334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2335 (eval "$ac_compile") 2>conftest.er1
2337 grep -v '^ *+' conftest.er1 >conftest.err
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
2347 echo "$as_me: failed program was:" >&5
2348 sed 's/^/| /' conftest.$ac_ext >&5
2351 cat >conftest.$ac_ext <<_ACEOF
2354 cat confdefs.h >>conftest.$ac_ext
2355 cat >>conftest.$ac_ext <<_ACEOF
2356 /* end confdefs.h. */
2366 rm -f conftest.$ac_objext
2367 if { (ac_try="$ac_compile"
2369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2370 *) ac_try_echo
=$ac_try;;
2372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2373 (eval "$ac_compile") 2>conftest.er1
2375 grep -v '^ *+' conftest.er1
>conftest.err
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
2385 echo "$as_me: failed program was:" >&5
2386 sed 's/^/| /' conftest.
$ac_ext >&5
2388 ac_c_werror_flag
=$ac_save_c_werror_flag
2390 cat >conftest.
$ac_ext <<_ACEOF
2393 cat confdefs.h
>>conftest.
$ac_ext
2394 cat >>conftest.
$ac_ext <<_ACEOF
2395 /* end confdefs.h. */
2405 rm -f conftest.
$ac_objext
2406 if { (ac_try
="$ac_compile"
2408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2409 *) ac_try_echo=$ac_try;;
2411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2412 (eval "$ac_compile") 2>conftest.er1
2414 grep -v '^ *+' conftest.er1 >conftest.err
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
2424 echo "$as_me: failed program was:" >&5
2425 sed 's/^/| /' conftest.$ac_ext >&5
2430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2437 ac_c_werror_flag=$ac_save_c_werror_flag
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
2450 if test "$GCC" = yes; then
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
2461 ac_cv_prog_cc_c89=no
2463 cat >conftest.$ac_ext <<_ACEOF
2466 cat confdefs.h >>conftest.$ac_ext
2467 cat >>conftest.$ac_ext <<_ACEOF
2468 /* end confdefs.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)
2482 static char *f (char * (*g) (char **, int), char **p, ...)
2487 s = g (p, va_arg (v,int));
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];
2501 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2502 inside strings and character constants. */
2504 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
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);
2515 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2520 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2521 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2523 CC="$ac_save_CC $ac_arg"
2524 rm -f conftest.$ac_objext
2525 if { (ac_try="$ac_compile"
2527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2528 *) ac_try_echo
=$ac_try;;
2530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2531 (eval "$ac_compile") 2>conftest.er1
2533 grep -v '^ *+' conftest.er1
>conftest.err
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
2543 echo "$as_me: failed program was:" >&5
2544 sed 's/^/| /' conftest.
$ac_ext >&5
2549 rm -f core conftest.err conftest.
$ac_objext
2550 test "x$ac_cv_prog_cc_c89" != "xno" && break
2552 rm -f conftest.
$ac_ext
2557 case "x$ac_cv_prog_cc_c89" in
2559 { echo "$as_me:$LINENO: result: none needed" >&5
2560 echo "${ECHO_T}none needed" >&6; } ;;
2562 { echo "$as_me:$LINENO: result: unsupported" >&5
2563 echo "${ECHO_T}unsupported" >&6; } ;;
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; } ;;
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
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
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
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
2596 if test -n "$CXX"; then
2597 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
2617 if test -n "$CXX"; then
2618 { echo "$as_me:$LINENO: result: $CXX" >&5
2619 echo "${ECHO_T}$CXX" >&6; }
2621 { echo "$as_me:$LINENO: result: no" >&5
2622 echo "${ECHO_T}no" >&6; }
2626 test -n "$CXX" && break
2629 if test -z "$CXX"; then
2631 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
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
2640 if test -n "$ac_ct_CXX"; then
2641 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
2665 { echo "$as_me:$LINENO: result: no" >&5
2666 echo "${ECHO_T}no" >&6; }
2670 test -n "$ac_ct_CXX" && break
2673 if test "x$ac_ct_CXX" = x
; then
2676 case $cross_compiling:$ac_tool_warned in
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 ;;
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"
2697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2698 *) ac_try_echo=$ac_try;;
2700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2701 (eval "$ac_compiler --version >&5") 2>&5
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); }
2705 { (ac_try="$ac_compiler -v >&5"
2707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2708 *) ac_try_echo
=$ac_try;;
2710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2711 (eval "$ac_compiler -v >&5") 2>&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }
2715 { (ac_try
="$ac_compiler -V >&5"
2717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2721 (eval "$ac_compiler -V >&5") 2>&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }
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
2731 cat >conftest.$ac_ext <<_ACEOF
2734 cat confdefs.h >>conftest.$ac_ext
2735 cat >>conftest.$ac_ext <<_ACEOF
2736 /* end confdefs.h. */
2749 rm -f conftest.$ac_objext
2750 if { (ac_try="$ac_compile"
2752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2753 *) ac_try_echo
=$ac_try;;
2755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2756 (eval "$ac_compile") 2>conftest.er1
2758 grep -v '^ *+' conftest.er1
>conftest.err
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
2768 echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.
$ac_ext >&5
2774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2775 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
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
2788 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
2789 ac_cxx_werror_flag
=yes
2792 cat >conftest.
$ac_ext <<_ACEOF
2795 cat confdefs.h
>>conftest.
$ac_ext
2796 cat >>conftest.
$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2807 rm -f conftest.
$ac_objext
2808 if { (ac_try
="$ac_compile"
2810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2814 (eval "$ac_compile") 2>conftest.er1
2816 grep -v '^ *+' conftest.er1 >conftest.err
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
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2830 cat >conftest.$ac_ext <<_ACEOF
2833 cat confdefs.h >>conftest.$ac_ext
2834 cat >>conftest.$ac_ext <<_ACEOF
2835 /* end confdefs.h. */
2845 rm -f conftest.$ac_objext
2846 if { (ac_try="$ac_compile"
2848 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2849 *) ac_try_echo
=$ac_try;;
2851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2852 (eval "$ac_compile") 2>conftest.er1
2854 grep -v '^ *+' conftest.er1
>conftest.err
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
2864 echo "$as_me: failed program was:" >&5
2865 sed 's/^/| /' conftest.
$ac_ext >&5
2867 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
2869 cat >conftest.
$ac_ext <<_ACEOF
2872 cat confdefs.h
>>conftest.
$ac_ext
2873 cat >>conftest.
$ac_ext <<_ACEOF
2874 /* end confdefs.h. */
2884 rm -f conftest.
$ac_objext
2885 if { (ac_try
="$ac_compile"
2887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2891 (eval "$ac_compile") 2>conftest.er1
2893 grep -v '^ *+' conftest.er1 >conftest.err
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
2903 echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5
2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2916 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
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
2929 if test "$GXX" = yes; then
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
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
2949 if test -n "$AR"; then
2950 ac_cv_prog_AR="$AR" # Let the user override the test.
2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2970 if test -n "$AR"; then
2971 { echo "$as_me:$LINENO: result: $AR" >&5
2972 echo "${ECHO_T}$AR" >&6; }
2974 { echo "$as_me:$LINENO: result: no" >&5
2975 echo "${ECHO_T}no" >&6; }
2980 if test -z "$ac_cv_prog_AR"; then
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
2989 if test -n "$ac_ct_AR"; then
2990 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3014 { echo "$as_me:$LINENO: result: no" >&5
3015 echo "${ECHO_T}no" >&6; }
3018 if test "x$ac_ct_AR" = x; then
3021 case $cross_compiling:$ac_tool_warned in
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 ;;
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
3045 if test -n "$RANLIB"; then
3046 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3070 { echo "$as_me:$LINENO: result: no" >&5
3071 echo "${ECHO_T}no" >&6; }
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
3085 if test -n "$ac_ct_RANLIB"; then
3086 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3110 { echo "$as_me:$LINENO: result: no" >&5
3111 echo "${ECHO_T}no" >&6; }
3114 if test "x$ac_ct_RANLIB" = x; then
3117 case $cross_compiling:$ac_tool_warned in
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 ;;
3127 RANLIB=$ac_ct_RANLIB
3130 RANLIB="$ac_cv_prog_RANLIB"
3133 cat >>confdefs.h <<_ACEOF
3137 cat >>confdefs.h <<_ACEOF
3141 cat >>confdefs.h <<_ACEOF
3145 cat >>confdefs.h <<_ACEOF
3146 #define RANLIB $RANLIB
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
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
3163 cat >conftest.make <<\_ACEOF
3166 @echo '@@@%%%=$(MAKE)=@@@%%%'
3168 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3169 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
3171 eval ac_cv_prog_make_${ac_make}_set=yes;;
3173 eval ac_cv_prog_make_${ac_make}_set=no;;
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; }
3182 { echo "$as_me:$LINENO: result: no" >&5
3183 echo "${ECHO_T}no" >&6; }
3184 SET_MAKE="MAKE=${MAKE-make}"
3188 if test $BUILD_PARSERS = true; then
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
3197 if test -n "$RAGEL"; then
3198 ac_cv_prog_RAGEL="$RAGEL" # Let the user override the test.
3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3222 { echo "$as_me:$LINENO: result: no" >&5
3223 echo "${ECHO_T}no" >&6; }
3227 if test -z "$RAGEL"; then
3229 echo "error: ragel is required to build the parsers"
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
3241 if test -n "$GPERF"; then
3242 ac_cv_prog_GPERF="$GPERF" # Let the user override the test.
3244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3266 { echo "$as_me:$LINENO: result: no" >&5
3267 echo "${ECHO_T}no" >&6; }
3271 if test -z "$GPERF"; then
3273 echo "error: gperf is required to build the parsers"
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
3285 if test -n "$KELBT"; then
3286 ac_cv_prog_KELBT="$KELBT" # Let the user override the test.
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3310 { echo "$as_me:$LINENO: result: no" >&5
3311 echo "${ECHO_T}no" >&6; }
3315 if test -z "$KELBT"; then
3317 echo "error: kelbt is required to build the parsers"
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
3331 if test -n "$GDC"; then
3332 ac_cv_prog_GDC="$GDC" # Let the user override the test.
3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3352 if test -n "$GDC"; then
3353 { echo "$as_me:$LINENO: result: $GDC" >&5
3354 echo "${ECHO_T}$GDC" >&6; }
3356 { echo "$as_me:$LINENO: result: no" >&5
3357 echo "${ECHO_T}no" >&6; }
3361 if test -n "$GDC"; then
3362 cat >>confdefs.h <<_ACEOF
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; }
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
3383 { echo "$as_me:$LINENO: result: no" >&5
3384 echo "${ECHO_T}no" >&6; }
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
3395 if test -n "$JAVAC"; then
3396 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3420 { echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6; }
3425 if test -n "$JAVAC"; then
3426 cat >>confdefs.h <<_ACEOF
3427 #define JAVAC $JAVAC
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
3439 if test -n "$TXL"; then
3440 ac_cv_prog_TXL="$TXL" # Let the user override the test.
3442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3460 if test -n "$TXL"; then
3461 { echo "$as_me:$LINENO: result: $TXL" >&5
3462 echo "${ECHO_T}$TXL" >&6; }
3464 { echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6; }
3469 if test -n "$TXL"; then
3470 cat >>confdefs.h <<_ACEOF
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
3483 if test -n "$RUBY"; then
3484 ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3508 { echo "$as_me:$LINENO: result: no" >&5
3509 echo "${ECHO_T}no" >&6; }
3513 if test -n "$RUBY"; then
3514 cat >>confdefs.h <<_ACEOF
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
3527 if test -n "$GMCS"; then
3528 ac_cv_prog_GMCS="$GMCS" # Let the user override the test.
3530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3552 { echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6; }
3557 if test -n "$GMCS"; then
3558 cat >>confdefs.h <<_ACEOF
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"
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.
3573 # config.status only pays attention to the cache file if you give it
3574 # the --recheck option to rerun configure.
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
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.
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
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;} ;;
3597 _ | IFS | as_nl
) ;; #(
3598 *) $as_unset $ac_var ;;
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 \).
3610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3613 # `set' quotes correctly as required by POSIX, so do not add quotes.
3614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3623 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3625 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
3634 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3635 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3640 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3641 # Let make expand exec_prefix.
3642 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3644 DEFS
=-DHAVE_CONFIG_H
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'
3659 LTLIBOBJS
=$ac_ltlibobjs
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
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.
3678 SHELL=\${CONFIG_SHELL-$SHELL}
3681 cat >>$CONFIG_STATUS <<\_ACEOF
3682 ## --------------------- ##
3683 ## M4sh Initialization. ##
3684 ## --------------------- ##
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
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
3696 case `(set -o) 2>/dev/null` in
3697 *posix
*) set -o posix
;;
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
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
3718 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3726 # Support unset when possible.
3727 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
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.)
3743 # Find who we are. Look in the path if we contain no directory separator.
3745 *[\\/]* ) as_myself
=$0 ;;
3746 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3750 test -z "$as_dir" && as_dir
=.
3751 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
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
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; }
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
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
3781 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3782 eval $as_var=C
; export $as_var
3784 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
3788 # Required to use basename.
3789 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3790 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3796 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3797 as_basename
=basename
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 ||
3809 sed '/^.*\/\([^/][^/]*\)\/*$/{
3830 test "x$as_lineno_1" != "x$as_lineno_2" &&
3831 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
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
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. :-)
3854 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
3866 # Exit status is that of the last command.
3871 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3877 ECHO_C
= ECHO_N
= ECHO_T
=
3880 case `echo 'x\c'` in
3881 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3888 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3889 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3895 rm -f conf$$ conf$$.exe conf$$.
file
3896 if test -d conf$$.dir
; then
3897 rm -f conf$$.dir
/conf$$.
file
3903 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
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 ||
3911 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3916 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3917 rmdir conf$$.dir
2>/dev
/null
3919 if mkdir
-p .
2>/dev
/null
; then
3922 test -d .
/-p && rmdir .
/-p
3926 if test -x / >/dev
/null
2>&1; then
3929 if ls -dL / >/dev
/null
2>&1; then
3936 if test -d "$1"; then
3942 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3943 ???[sx]*):;;*)false;;esac;fi
3947 as_executable_p
=$as_test_x
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'"
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'"
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.
3962 This file was extended by $as_me, which was
3963 generated by GNU Autoconf 2.61. Invocation command line was
3965 CONFIG_FILES = $CONFIG_FILES
3966 CONFIG_HEADERS = $CONFIG_HEADERS
3967 CONFIG_LINKS = $CONFIG_LINKS
3968 CONFIG_COMMANDS = $CONFIG_COMMANDS
3971 on `(hostname || uname -n) 2>/dev/null | sed 1q`
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"
3983 cat >>$CONFIG_STATUS <<\_ACEOF
3985 \`$as_me' instantiates files from templates according to the
3986 current configuration.
3988 Usage: $0 [OPTIONS] [FILE]...
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
4000 Configuration files:
4003 Configuration headers:
4006 Report bugs to <bug-autoconf@gnu.org>."
4009 cat >>$CONFIG_STATUS <<_ACEOF
4012 configured by $0, generated by GNU Autoconf 2.61,
4013 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
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."
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.
4031 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4032 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4043 # Handling of the options.
4044 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4046 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4047 echo "$ac_cs_version"; exit ;;
4048 --debug |
--debu |
--deb |
--de |
--d |
-d )
4050 --file |
--fil |
--fi |
--f )
4052 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4053 ac_need_defaults
=false
;;
4054 --header |
--heade |
--head |
--hea )
4056 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4057 ac_need_defaults
=false
;;
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)
4070 -*) { echo "$as_me: error: unrecognized option: $1
4071 Try \`$0 --help' for more information." >&2
4072 { (exit 1); exit 1; }; } ;;
4074 *) ac_config_targets
="$ac_config_targets $1"
4075 ac_need_defaults
=false
;;
4081 ac_configure_extra_args
=
4083 if $ac_cs_silent; then
4085 ac_configure_extra_args
="$ac_configure_extra_args --silent"
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
4094 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4098 cat >>$CONFIG_STATUS <<\_ACEOF
4102 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4103 ## Running $as_me. ##
4109 cat >>$CONFIG_STATUS <<_ACEOF
4112 cat >>$CONFIG_STATUS <<\_ACEOF
4114 # Handling of arguments.
4115 for ac_config_target
in $ac_config_targets
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" ;;
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; }; };;
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
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'.
4156 trap 'exit_status=$?
4157 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4159 trap '{ (exit 1); exit 1; }' 1 2 13 15
4161 # Create a (secure) tmp directory for tmp files.
4164 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4165 test -n "$tmp" && test -d "$tmp"
4168 tmp
=.
/conf$$
-$RANDOM
4169 (umask 077 && mkdir
"$tmp")
4172 echo "$me: cannot create a temporary directory in ." >&2
4173 { (exit 1); exit 1; }
4177 # Set up the sed scripts for CONFIG_FILES section.
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
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
4221 ECHO_C!$ECHO_C$ac_delim
4222 ECHO_N!$ECHO_N$ac_delim
4223 ECHO_T!$ECHO_T$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
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
4237 CXXFLAGS!$CXXFLAGS$ac_delim
4238 ac_ct_CXX!$ac_ct_CXX$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
4246 GOBJC!$GOBJC$ac_delim
4247 JAVAC!$JAVAC$ac_delim
4251 LIBOBJS!$LIBOBJS$ac_delim
4252 LTLIBOBJS!$LTLIBOBJS$ac_delim
4255 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 62; then
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; }; }
4262 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
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`
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
4277 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4278 s/^/s,@/; s/!/@,|#_!!_#|/
4281 s/'"$ac_delim"'$/,g/; t
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
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[ ]*=/{
4302 s/^\([^=]*=[ ]*\):*/\1/
4308 cat >>$CONFIG_STATUS <<\_ACEOF
4309 fi # test -n "$CONFIG_FILES"
4312 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
4315 :[FHLC
]) ac_mode
=$ac_tag; continue;;
4317 case $ac_mode$ac_tag in
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;;
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 `:'.
4347 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
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; }; };;
4353 ac_file_inputs
="$ac_file_inputs $ac_f"
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;}
4368 *:-:* |
*:-) cat >"$tmp/stdin";;
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 ||
4379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4398 -*) as_dir
=.
/$as_dir;;
4400 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
4404 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4405 *) as_qdir
=$as_dir;;
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 ||
4414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4431 test -d "$as_dir" && break
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; }; }; }
4440 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
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/ ;;
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
4456 .
) # We are building in place.
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 ;;
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 ;;
4469 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
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
=
4485 case `sed -n '/datarootdir/ {
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;}
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' ;;
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
4518 cat >>$CONFIG_STATUS <<\_ACEOF
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
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;}
4543 -) cat "$tmp/out"; rm -f "$tmp/out";;
4544 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
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'
4577 s/^[ ]*#[ ]*define[ ][ ]*//
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
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.)
4592 s,^[ #]*u.*,/* & */,' >>conftest.defines
4594 # Break up conftest.defines:
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"
4601 ac_in
='$ac_file_inputs'
4602 ac_out
='"$tmp/out1"'
4603 ac_nxt
='"$tmp/out2"'
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
4616 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
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
4625 rm -f conftest.defines conftest.
tail
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;}
4637 mv "$tmp/config.h" $ac_file
4640 echo "/* $configure_input */"
4652 { (exit 0); exit 0; }
4654 chmod +x
$CONFIG_STATUS
4655 ac_clean_files
=$ac_clean_files_save
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
4668 ac_config_status_args
=
4669 test "$silent" = yes &&
4670 ac_config_status_args
="$ac_config_status_args --quiet"
4672 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
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; }
4680 echo "configuration of ragel complete"