2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
172 if (eval "$as_required") 2>/dev/null; then :
177 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185 test -z "$as_dir" && as_dir=.
189 for as_base in sh bash ksh sh5; do
190 # Try only shells that exist, to save several forks.
191 as_shell=$as_dir/$as_base
192 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
194 CONFIG_SHELL=$as_shell as_have_required=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
205 CONFIG_SHELL=$SHELL as_have_required=yes
210 if test "x$CONFIG_SHELL" != x; then :
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
216 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 if test x$as_have_required = xno; then :
222 $as_echo "$0: This script requires a shell more modern than all"
223 $as_echo "$0: the shells that I found on your system."
224 if test x${ZSH_VERSION+set} = xset ; then
225 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229 $0: including any error possibly output before this
230 $0: message. Then install a modern shell, or manually run
231 $0: the script under such a shell if you do have one."
237 SHELL=${CONFIG_SHELL-/bin/sh}
239 # Unset more variables known to interfere with behavior of common tools.
240 CLICOLOR_FORCE= GREP_OPTIONS=
241 unset CLICOLOR_FORCE GREP_OPTIONS
243 ## --------------------- ##
244 ## M4sh Shell Functions. ##
245 ## --------------------- ##
248 # Portably unset VAR.
251 { eval $1=; unset $1;}
255 # as_fn_set_status STATUS
256 # -----------------------
257 # Set $? to STATUS, without forking.
265 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 # Create "$as_dir" as a directory, including parents if necessary.
280 -*) as_dir=./$as_dir;;
282 test -d "$as_dir" || eval $as_mkdir_p || {
286 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289 as_dirs="'$as_qdir' $as_dirs"
290 as_dir=`$as_dirname -- "$as_dir" ||
291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292 X"$as_dir" : 'X\(//\)[^/]' \| \
293 X"$as_dir" : 'X\(//\)$' \| \
294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295 $as_echo X"$as_dir" |
296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
313 test -d "$as_dir" && break
315 test -z "$as_dirs" || eval "mkdir $as_dirs"
316 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320 # as_fn_append VAR VALUE
321 # ----------------------
322 # Append the text in VALUE to the end of the definition contained in VAR. Take
323 # advantage of any shell optimizations that allow amortized linear growth over
324 # repeated appends, instead of the typical quadratic growth present in naive
326 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
327 eval 'as_fn_append ()
340 # Perform arithmetic evaluation on the ARGs, and store the result in the
341 # global $as_val. Take advantage of shells that can avoid forks. The arguments
342 # must be portable across $(()) and expr.
343 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351 as_val=`expr "$@" || test $? -eq 1`
356 # as_fn_error ERROR [LINENO LOG_FD]
357 # ---------------------------------
358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360 # script with status $?, using 1 if that was 0.
363 as_status=$?; test $as_status -eq 0 && as_status=1
365 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit $as_status
372 if expr a : '\(a\)' >/dev/null 2>&1 &&
373 test "X`expr 00001 : '.*\(...\)'`" = X001; then
379 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
385 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
391 as_me=`$as_basename -- "$0" ||
392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393 X"$0" : 'X\(//\)$' \| \
394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396 sed '/^.*\/\([^/][^/]*\)\/*$/{
410 # Avoid depending upon Character Ranges.
411 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
412 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
414 as_cr_digits='0123456789'
415 as_cr_alnum=$as_cr_Letters$as_cr_digits
418 as_lineno_1=$LINENO as_lineno_1a=$LINENO
419 as_lineno_2=$LINENO as_lineno_2a=$LINENO
420 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
422 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 chmod +x "$as_me.lineno" ||
439 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
441 # Don't try to exec as it changes $[0], causing all sort of problems
442 # (the dirname of $[0] is not the place where we might find the
443 # original and so on. Autoconf is especially sensitive to this).
445 # Exit status is that of the last command.
449 ECHO_C= ECHO_N= ECHO_T=
450 case `echo -n x` in #(((((
452 case `echo 'xy\c'` in
453 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
455 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
462 rm -f conf$$ conf$$.exe conf$$.file
463 if test -d conf$$.dir; then
464 rm -f conf$$.dir/conf$$.file
467 mkdir conf$$.dir 2>/dev/null
469 if (echo >conf$$.file) 2>/dev/null; then
470 if ln -s conf$$.file conf$$ 2>/dev/null; then
472 # ... but there are two gotchas:
473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475 # In both cases, we have to default to `cp -p'.
476 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
478 elif ln conf$$.file conf$$ 2>/dev/null; then
486 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487 rmdir conf$$.dir 2>/dev/null
489 if mkdir -p . 2>/dev/null; then
490 as_mkdir_p='mkdir -p "$as_dir"'
492 test -d ./-p && rmdir ./-p
496 if test -x / >/dev/null 2>&1; then
499 if ls -dL / >/dev/null 2>&1; then
506 if test -d "$1"; then
512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513 ???[sx]*):;;*)false;;esac;fi
517 as_executable_p=$as_test_x
519 # Sed expression to map a string onto a valid CPP name.
520 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522 # Sed expression to map a string onto a valid variable name.
523 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
526 exec 7<&0 </dev/null 6>&1
529 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530 # so uname gets run too.
531 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536 ac_default_prefix=/usr/local
538 ac_config_libobj_dir=.
545 # Identity of this package.
553 ac_unique_file="Makefile.in"
554 enable_option_checking=no
555 ac_subst_vars='LTLIBOBJS
613 program_transform_name
626 enable_option_checking
629 ac_precious_vars='build_alias
665 # Initialize some variables set by options.
667 ac_init_version=false
668 ac_unrecognized_opts=
670 # The variables have the same names as the options, with
671 # dashes changed to underlines.
679 program_transform_name=s,x,x,
687 # Installation directory options.
688 # These are left unexpanded so users can "make install exec_prefix=/foo"
689 # and all the variables that are supposed to be based on exec_prefix
690 # by default will actually change.
691 # Use braces instead of parens because sh, perl, etc. also accept them.
692 # (The list follows the same order as the GNU Coding Standards.)
693 bindir='${exec_prefix}/bin'
694 sbindir='${exec_prefix}/sbin'
695 libexecdir='${exec_prefix}/libexec'
696 datarootdir='${prefix}/share'
697 datadir='${datarootdir}'
698 sysconfdir='${prefix}/etc'
699 sharedstatedir='${prefix}/com'
700 localstatedir='${prefix}/var'
701 includedir='${prefix}/include'
702 oldincludedir='/usr/include'
703 docdir='${datarootdir}/doc/${PACKAGE}'
704 infodir='${datarootdir}/info'
709 libdir='${exec_prefix}/lib'
710 localedir='${datarootdir}/locale'
711 mandir='${datarootdir}/man'
717 # If the previous option needs an argument, assign it.
718 if test -n "$ac_prev"; then
719 eval $ac_prev=\$ac_option
725 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
729 # Accept the important Cygnus configure options, so we can diagnose typos.
731 case $ac_dashdash$ac_option in
735 -bindir | --bindir | --bindi | --bind | --bin | --bi)
737 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
740 -build | --build | --buil | --bui | --bu)
741 ac_prev=build_alias ;;
742 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
743 build_alias=$ac_optarg ;;
745 -cache-file | --cache-file | --cache-fil | --cache-fi \
746 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
747 ac_prev=cache_file ;;
748 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
749 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
750 cache_file=$ac_optarg ;;
753 cache_file=config.cache ;;
755 -datadir | --datadir | --datadi | --datad)
757 -datadir=* | --datadir=* | --datadi=* | --datad=*)
758 datadir=$ac_optarg ;;
760 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
761 | --dataroo | --dataro | --datar)
762 ac_prev=datarootdir ;;
763 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
764 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
765 datarootdir=$ac_optarg ;;
767 -disable-* | --disable-*)
768 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
769 # Reject names that are not valid shell variable names.
770 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
771 as_fn_error "invalid feature name: $ac_useropt"
772 ac_useropt_orig=$ac_useropt
773 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
774 case $ac_user_opts in
778 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
779 ac_unrecognized_sep=', ';;
781 eval enable_$ac_useropt=no ;;
783 -docdir | --docdir | --docdi | --doc | --do)
785 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
788 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
790 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
793 -enable-* | --enable-*)
794 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
797 as_fn_error "invalid feature name: $ac_useropt"
798 ac_useropt_orig=$ac_useropt
799 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
800 case $ac_user_opts in
804 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
805 ac_unrecognized_sep=', ';;
807 eval enable_$ac_useropt=\$ac_optarg ;;
809 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
810 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
811 | --exec | --exe | --ex)
812 ac_prev=exec_prefix ;;
813 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
814 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
815 | --exec=* | --exe=* | --ex=*)
816 exec_prefix=$ac_optarg ;;
818 -gas | --gas | --ga | --g)
819 # Obsolete; use --with-gas.
822 -help | --help | --hel | --he | -h)
824 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
825 ac_init_help=recursive ;;
826 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
827 ac_init_help=short ;;
829 -host | --host | --hos | --ho)
830 ac_prev=host_alias ;;
831 -host=* | --host=* | --hos=* | --ho=*)
832 host_alias=$ac_optarg ;;
834 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
836 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
838 htmldir=$ac_optarg ;;
840 -includedir | --includedir | --includedi | --included | --include \
841 | --includ | --inclu | --incl | --inc)
842 ac_prev=includedir ;;
843 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
844 | --includ=* | --inclu=* | --incl=* | --inc=*)
845 includedir=$ac_optarg ;;
847 -infodir | --infodir | --infodi | --infod | --info | --inf)
849 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
850 infodir=$ac_optarg ;;
852 -libdir | --libdir | --libdi | --libd)
854 -libdir=* | --libdir=* | --libdi=* | --libd=*)
857 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
858 | --libexe | --libex | --libe)
859 ac_prev=libexecdir ;;
860 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
861 | --libexe=* | --libex=* | --libe=*)
862 libexecdir=$ac_optarg ;;
864 -localedir | --localedir | --localedi | --localed | --locale)
866 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
867 localedir=$ac_optarg ;;
869 -localstatedir | --localstatedir | --localstatedi | --localstated \
870 | --localstate | --localstat | --localsta | --localst | --locals)
871 ac_prev=localstatedir ;;
872 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
873 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
874 localstatedir=$ac_optarg ;;
876 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
878 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
882 # Obsolete; use --without-fp.
885 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
886 | --no-cr | --no-c | -n)
889 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
890 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
893 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
894 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
895 | --oldin | --oldi | --old | --ol | --o)
896 ac_prev=oldincludedir ;;
897 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
898 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
899 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
900 oldincludedir=$ac_optarg ;;
902 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
904 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
907 -program-prefix | --program-prefix | --program-prefi | --program-pref \
908 | --program-pre | --program-pr | --program-p)
909 ac_prev=program_prefix ;;
910 -program-prefix=* | --program-prefix=* | --program-prefi=* \
911 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
912 program_prefix=$ac_optarg ;;
914 -program-suffix | --program-suffix | --program-suffi | --program-suff \
915 | --program-suf | --program-su | --program-s)
916 ac_prev=program_suffix ;;
917 -program-suffix=* | --program-suffix=* | --program-suffi=* \
918 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
919 program_suffix=$ac_optarg ;;
921 -program-transform-name | --program-transform-name \
922 | --program-transform-nam | --program-transform-na \
923 | --program-transform-n | --program-transform- \
924 | --program-transform | --program-transfor \
925 | --program-transfo | --program-transf \
926 | --program-trans | --program-tran \
927 | --progr-tra | --program-tr | --program-t)
928 ac_prev=program_transform_name ;;
929 -program-transform-name=* | --program-transform-name=* \
930 | --program-transform-nam=* | --program-transform-na=* \
931 | --program-transform-n=* | --program-transform-=* \
932 | --program-transform=* | --program-transfor=* \
933 | --program-transfo=* | --program-transf=* \
934 | --program-trans=* | --program-tran=* \
935 | --progr-tra=* | --program-tr=* | --program-t=*)
936 program_transform_name=$ac_optarg ;;
938 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
940 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
943 -psdir | --psdir | --psdi | --psd | --ps)
945 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
948 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
949 | -silent | --silent | --silen | --sile | --sil)
952 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
954 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
956 sbindir=$ac_optarg ;;
958 -sharedstatedir | --sharedstatedir | --sharedstatedi \
959 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
960 | --sharedst | --shareds | --shared | --share | --shar \
962 ac_prev=sharedstatedir ;;
963 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
964 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
965 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
967 sharedstatedir=$ac_optarg ;;
969 -site | --site | --sit)
971 -site=* | --site=* | --sit=*)
974 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
976 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
979 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
980 | --syscon | --sysco | --sysc | --sys | --sy)
981 ac_prev=sysconfdir ;;
982 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
983 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
984 sysconfdir=$ac_optarg ;;
986 -target | --target | --targe | --targ | --tar | --ta | --t)
987 ac_prev=target_alias ;;
988 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
989 target_alias=$ac_optarg ;;
991 -v | -verbose | --verbose | --verbos | --verbo | --verb)
994 -version | --version | --versio | --versi | --vers | -V)
998 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
999 # Reject names that are not valid shell variable names.
1000 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1001 as_fn_error "invalid package name: $ac_useropt"
1002 ac_useropt_orig=$ac_useropt
1003 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1004 case $ac_user_opts in
1008 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1009 ac_unrecognized_sep=', ';;
1011 eval with_$ac_useropt=\$ac_optarg ;;
1013 -without-* | --without-*)
1014 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1017 as_fn_error "invalid package name: $ac_useropt"
1018 ac_useropt_orig=$ac_useropt
1019 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1020 case $ac_user_opts in
1024 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1025 ac_unrecognized_sep=', ';;
1027 eval with_$ac_useropt=no ;;
1030 # Obsolete; use --with-x.
1033 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1034 | --x-incl | --x-inc | --x-in | --x-i)
1035 ac_prev=x_includes ;;
1036 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1037 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1038 x_includes=$ac_optarg ;;
1040 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1041 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1042 ac_prev=x_libraries ;;
1043 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1044 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1045 x_libraries=$ac_optarg ;;
1047 -*) as_fn_error "unrecognized option: \`$ac_option'
1048 Try \`$0 --help' for more information."
1052 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1053 # Reject names that are not valid shell variable names.
1054 case $ac_envvar in #(
1055 '' | [0-9]* | *[!_$as_cr_alnum]* )
1056 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1058 eval $ac_envvar=\$ac_optarg
1059 export $ac_envvar ;;
1062 # FIXME: should be removed in autoconf 3.0.
1063 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1064 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1065 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1066 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1072 if test -n "$ac_prev"; then
1073 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1074 as_fn_error "missing argument to $ac_option"
1077 if test -n "$ac_unrecognized_opts"; then
1078 case $enable_option_checking in
1080 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1081 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1085 # Check all directory arguments for consistency.
1086 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1087 datadir sysconfdir sharedstatedir localstatedir includedir \
1088 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1089 libdir localedir mandir
1091 eval ac_val=\$$ac_var
1092 # Remove trailing slashes.
1095 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1096 eval $ac_var=\$ac_val;;
1098 # Be sure to have absolute directory names.
1100 [\\/$]* | ?:[\\/]* ) continue;;
1101 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1103 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1106 # There might be people who depend on the old broken behavior: `$host'
1107 # used to hold the argument of --host etc.
1108 # FIXME: To remove some day.
1111 target=$target_alias
1113 # FIXME: To remove some day.
1114 if test "x$host_alias" != x; then
1115 if test "x$build_alias" = x; then
1116 cross_compiling=maybe
1117 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1118 If a cross compiler is detected then cross compile mode will be used." >&2
1119 elif test "x$build_alias" != "x$host_alias"; then
1125 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1127 test "$silent" = yes && exec 6>/dev/null
1130 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1131 ac_ls_di=`ls -di .` &&
1132 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1133 as_fn_error "working directory cannot be determined"
1134 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1135 as_fn_error "pwd does not report name of working directory"
1138 # Find the source files, if location was not specified.
1139 if test -z "$srcdir"; then
1140 ac_srcdir_defaulted=yes
1141 # Try the directory containing this script, then the parent directory.
1142 ac_confdir=`$as_dirname -- "$as_myself" ||
1143 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1144 X"$as_myself" : 'X\(//\)[^/]' \| \
1145 X"$as_myself" : 'X\(//\)$' \| \
1146 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1147 $as_echo X"$as_myself" |
1148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1166 if test ! -r "$srcdir/$ac_unique_file"; then
1170 ac_srcdir_defaulted=no
1172 if test ! -r "$srcdir/$ac_unique_file"; then
1173 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1174 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1176 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1178 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1180 # When building in place, set srcdir=.
1181 if test "$ac_abs_confdir" = "$ac_pwd"; then
1184 # Remove unnecessary trailing slashes from srcdir.
1185 # Double slashes in file names in object file debugging info
1186 # mess up M-x gdb in Emacs.
1188 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1190 for ac_var in $ac_precious_vars; do
1191 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1192 eval ac_env_${ac_var}_value=\$${ac_var}
1193 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1194 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1198 # Report the --help message.
1200 if test "$ac_init_help" = "long"; then
1201 # Omit some internal or obsolete options to make the list less imposing.
1202 # This message is too long to be a string in the A/UX 3.1 sh.
1204 \`configure' configures this package to adapt to many kinds of systems.
1206 Usage: $0 [OPTION]... [VAR=VALUE]...
1208 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1209 VAR=VALUE. See below for descriptions of some of the useful variables.
1211 Defaults for the options are specified in brackets.
1214 -h, --help display this help and exit
1215 --help=short display options specific to this package
1216 --help=recursive display the short help of all the included packages
1217 -V, --version display version information and exit
1218 -q, --quiet, --silent do not print \`checking...' messages
1219 --cache-file=FILE cache test results in FILE [disabled]
1220 -C, --config-cache alias for \`--cache-file=config.cache'
1221 -n, --no-create do not create output files
1222 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1224 Installation directories:
1225 --prefix=PREFIX install architecture-independent files in PREFIX
1226 [$ac_default_prefix]
1227 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1230 By default, \`make install' will install all the files in
1231 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1232 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1233 for instance \`--prefix=\$HOME'.
1235 For better control, use the options below.
1237 Fine tuning of the installation directories:
1238 --bindir=DIR user executables [EPREFIX/bin]
1239 --sbindir=DIR system admin executables [EPREFIX/sbin]
1240 --libexecdir=DIR program executables [EPREFIX/libexec]
1241 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1242 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1243 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1244 --libdir=DIR object code libraries [EPREFIX/lib]
1245 --includedir=DIR C header files [PREFIX/include]
1246 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1247 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1248 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1249 --infodir=DIR info documentation [DATAROOTDIR/info]
1250 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1251 --mandir=DIR man documentation [DATAROOTDIR/man]
1252 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1253 --htmldir=DIR html documentation [DOCDIR]
1254 --dvidir=DIR dvi documentation [DOCDIR]
1255 --pdfdir=DIR pdf documentation [DOCDIR]
1256 --psdir=DIR ps documentation [DOCDIR]
1262 --program-prefix=PREFIX prepend PREFIX to installed program names
1263 --program-suffix=SUFFIX append SUFFIX to installed program names
1264 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1267 --build=BUILD configure for building on BUILD [guessed]
1268 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1269 --target=TARGET configure for building compilers for TARGET [HOST]
1273 if test -n "$ac_init_help"; then
1278 --disable-option-checking ignore unrecognized --enable/--with options
1279 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1280 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1283 Some influential environment variables:
1284 CC C compiler command
1285 CFLAGS C compiler flags
1286 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1287 nonstandard directory <lib dir>
1288 LIBS libraries to pass to the linker, e.g. -l<library>
1289 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1290 you have headers in a nonstandard directory <include dir>
1292 Use these variables to override the choices made by `configure' or to help
1293 it to find libraries and programs with nonstandard names/locations.
1295 Report bugs to the package provider.
1300 if test "$ac_init_help" = "recursive"; then
1301 # If there are subdirs, report their specific --help.
1302 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1303 test -d "$ac_dir" ||
1304 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1309 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1311 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1312 # A ".." for each directory in $ac_dir_suffix.
1313 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1314 case $ac_top_builddir_sub in
1315 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1316 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1319 ac_abs_top_builddir=$ac_pwd
1320 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1321 # for backward compatibility:
1322 ac_top_builddir=$ac_top_build_prefix
1325 .) # We are building in place.
1327 ac_top_srcdir=$ac_top_builddir_sub
1328 ac_abs_top_srcdir=$ac_pwd ;;
1329 [\\/]* | ?:[\\/]* ) # Absolute name.
1330 ac_srcdir=$srcdir$ac_dir_suffix;
1331 ac_top_srcdir=$srcdir
1332 ac_abs_top_srcdir=$srcdir ;;
1334 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1335 ac_top_srcdir=$ac_top_build_prefix$srcdir
1336 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1338 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1340 cd "$ac_dir" || { ac_status=$?; continue; }
1341 # Check for guested configure.
1342 if test -f "$ac_srcdir/configure.gnu"; then
1344 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1345 elif test -f "$ac_srcdir/configure"; then
1347 $SHELL "$ac_srcdir/configure" --help=recursive
1349 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1351 cd "$ac_pwd" || { ac_status=$?; break; }
1355 test -n "$ac_init_help" && exit $ac_status
1356 if $ac_init_version; then
1359 generated by GNU Autoconf 2.64
1361 Copyright (C) 2009 Free Software Foundation, Inc.
1362 This configure script is free software; the Free Software Foundation
1363 gives unlimited permission to copy, distribute and modify it.
1368 ## ------------------------ ##
1369 ## Autoconf initialization. ##
1370 ## ------------------------ ##
1372 # ac_fn_c_try_compile LINENO
1373 # --------------------------
1374 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1375 ac_fn_c_try_compile ()
1377 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1378 rm -f conftest.$ac_objext
1379 if { { ac_try="$ac_compile"
1381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1382 *) ac_try_echo=$ac_try;;
1384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1385 $as_echo "$ac_try_echo"; } >&5
1386 (eval "$ac_compile") 2>conftest.err
1388 if test -s conftest.err; then
1389 grep -v '^ *+' conftest.err >conftest.er1
1390 cat conftest.er1 >&5
1391 mv -f conftest.er1 conftest.err
1393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1394 test $ac_status = 0; } && {
1395 test -z "$ac_c_werror_flag" ||
1396 test ! -s conftest.err
1397 } && test -s conftest.$ac_objext; then :
1400 $as_echo "$as_me: failed program was:" >&5
1401 sed 's/^/| /' conftest.$ac_ext >&5
1405 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1408 } # ac_fn_c_try_compile
1409 cat >config.log <<_ACEOF
1410 This file contains any messages produced by compilers while
1411 running configure, to aid debugging if configure makes a mistake.
1413 It was created by $as_me, which was
1414 generated by GNU Autoconf 2.64. Invocation command line was
1426 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1427 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1428 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1429 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1430 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1432 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1433 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1435 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1436 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1437 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1438 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1439 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1440 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1441 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1449 test -z "$as_dir" && as_dir=.
1450 $as_echo "PATH: $as_dir"
1466 # Keep a trace of the command line.
1467 # Strip out --no-create and --no-recursion so they do not pile up.
1468 # Strip out --silent because we don't want to record it for future runs.
1469 # Also quote any args containing shell meta-characters.
1470 # Make two passes to allow for proper duplicate-argument suppression.
1474 ac_must_keep_next=false
1480 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1481 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1482 | -silent | --silent | --silen | --sile | --sil)
1485 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1488 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1490 as_fn_append ac_configure_args1 " '$ac_arg'"
1491 if test $ac_must_keep_next = true; then
1492 ac_must_keep_next=false # Got value, back to normal.
1495 *=* | --config-cache | -C | -disable-* | --disable-* \
1496 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1497 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1498 | -with-* | --with-* | -without-* | --without-* | --x)
1499 case "$ac_configure_args0 " in
1500 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1503 -* ) ac_must_keep_next=true ;;
1506 as_fn_append ac_configure_args " '$ac_arg'"
1511 { ac_configure_args0=; unset ac_configure_args0;}
1512 { ac_configure_args1=; unset ac_configure_args1;}
1514 # When interrupted or exit'd, cleanup temporary files, and complete
1515 # config.log. We remove comments because anyway the quotes in there
1516 # would cause problems or look ugly.
1517 # WARNING: Use '\'' to represent an apostrophe within the trap.
1518 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1519 trap 'exit_status=$?
1520 # Save into config.log some information that might help in debugging.
1525 ## ---------------- ##
1526 ## Cache variables. ##
1527 ## ---------------- ##
1530 # The following way of writing the cache mishandles newlines in values,
1532 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1533 eval ac_val=\$$ac_var
1537 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1538 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1541 _ | IFS | as_nl) ;; #(
1542 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1543 *) { eval $ac_var=; unset $ac_var;} ;;
1548 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1549 *${as_nl}ac_space=\ *)
1551 "s/'\''/'\''\\\\'\'''\''/g;
1552 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1555 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1563 ## ----------------- ##
1564 ## Output variables. ##
1565 ## ----------------- ##
1568 for ac_var in $ac_subst_vars
1570 eval ac_val=\$$ac_var
1572 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1574 $as_echo "$ac_var='\''$ac_val'\''"
1578 if test -n "$ac_subst_files"; then
1580 ## ------------------- ##
1581 ## File substitutions. ##
1582 ## ------------------- ##
1585 for ac_var in $ac_subst_files
1587 eval ac_val=\$$ac_var
1589 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1591 $as_echo "$ac_var='\''$ac_val'\''"
1596 if test -s confdefs.h; then
1606 test "$ac_signal" != 0 &&
1607 $as_echo "$as_me: caught signal $ac_signal"
1608 $as_echo "$as_me: exit $exit_status"
1610 rm -f core *.core core.conftest.* &&
1611 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1614 for ac_signal in 1 2 13 15; do
1615 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1619 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1620 rm -f -r conftest* confdefs.h
1622 $as_echo "/* confdefs.h */" > confdefs.h
1624 # Predefined preprocessor variables.
1626 cat >>confdefs.h <<_ACEOF
1627 #define PACKAGE_NAME "$PACKAGE_NAME"
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1634 cat >>confdefs.h <<_ACEOF
1635 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1638 cat >>confdefs.h <<_ACEOF
1639 #define PACKAGE_STRING "$PACKAGE_STRING"
1642 cat >>confdefs.h <<_ACEOF
1643 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1646 cat >>confdefs.h <<_ACEOF
1647 #define PACKAGE_URL "$PACKAGE_URL"
1651 # Let the site file select an alternate cache file if it wants to.
1652 # Prefer an explicitly selected file to automatically selected ones.
1655 if test -n "$CONFIG_SITE"; then
1656 ac_site_file1=$CONFIG_SITE
1657 elif test "x$prefix" != xNONE; then
1658 ac_site_file1=$prefix/share/config.site
1659 ac_site_file2=$prefix/etc/config.site
1661 ac_site_file1=$ac_default_prefix/share/config.site
1662 ac_site_file2=$ac_default_prefix/etc/config.site
1664 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1666 test "x$ac_site_file" = xNONE && continue
1667 if test -r "$ac_site_file"; then
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1669 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1670 sed 's/^/| /' "$ac_site_file" >&5
1675 if test -r "$cache_file"; then
1676 # Some versions of bash will fail to source /dev/null (special
1677 # files actually), so we avoid doing that.
1678 if test -f "$cache_file"; then
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1680 $as_echo "$as_me: loading cache $cache_file" >&6;}
1682 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1683 *) . "./$cache_file";;
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1688 $as_echo "$as_me: creating cache $cache_file" >&6;}
1692 # Check that the precious variables saved in the cache have kept the same
1694 ac_cache_corrupted=false
1695 for ac_var in $ac_precious_vars; do
1696 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1697 eval ac_new_set=\$ac_env_${ac_var}_set
1698 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1699 eval ac_new_val=\$ac_env_${ac_var}_value
1700 case $ac_old_set,$ac_new_set in
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1703 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1704 ac_cache_corrupted=: ;;
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1707 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1708 ac_cache_corrupted=: ;;
1711 if test "x$ac_old_val" != "x$ac_new_val"; then
1712 # differences in whitespace do not lead to failure.
1713 ac_old_val_w=`echo x $ac_old_val`
1714 ac_new_val_w=`echo x $ac_new_val`
1715 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1717 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1718 ac_cache_corrupted=:
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1721 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1722 eval $ac_var=\$ac_old_val
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1725 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1727 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1730 # Pass precious variables to config.status.
1731 if test "$ac_new_set" = set; then
1733 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1734 *) ac_arg=$ac_var=$ac_new_val ;;
1736 case " $ac_configure_args " in
1737 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1738 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1742 if $ac_cache_corrupted; then
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1746 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1747 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1749 ## -------------------- ##
1750 ## Main body of script. ##
1751 ## -------------------- ##
1754 ac_cpp='$CPP $CPPFLAGS'
1755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1765 ac_cpp='$CPP $CPPFLAGS'
1766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1769 if test -n "$ac_tool_prefix"; then
1770 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1771 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1773 $as_echo_n "checking for $ac_word... " >&6; }
1774 if test "${ac_cv_prog_CC+set}" = set; then :
1775 $as_echo_n "(cached) " >&6
1777 if test -n "$CC"; then
1778 ac_cv_prog_CC="$CC" # Let the user override the test.
1780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1784 test -z "$as_dir" && as_dir=.
1785 for ac_exec_ext in '' $ac_executable_extensions; do
1786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1787 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1798 if test -n "$CC"; then
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1800 $as_echo "$CC" >&6; }
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1803 $as_echo "no" >&6; }
1808 if test -z "$ac_cv_prog_CC"; then
1810 # Extract the first word of "gcc", so it can be a program name with args.
1811 set dummy gcc; ac_word=$2
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1813 $as_echo_n "checking for $ac_word... " >&6; }
1814 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1815 $as_echo_n "(cached) " >&6
1817 if test -n "$ac_ct_CC"; then
1818 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1824 test -z "$as_dir" && as_dir=.
1825 for ac_exec_ext in '' $ac_executable_extensions; do
1826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1827 ac_cv_prog_ac_ct_CC="gcc"
1828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1837 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1838 if test -n "$ac_ct_CC"; then
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1840 $as_echo "$ac_ct_CC" >&6; }
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1843 $as_echo "no" >&6; }
1846 if test "x$ac_ct_CC" = x; then
1849 case $cross_compiling:$ac_tool_warned in
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1853 ac_tool_warned=yes ;;
1861 if test -z "$CC"; then
1862 if test -n "$ac_tool_prefix"; then
1863 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1864 set dummy ${ac_tool_prefix}cc; ac_word=$2
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1866 $as_echo_n "checking for $ac_word... " >&6; }
1867 if test "${ac_cv_prog_CC+set}" = set; then :
1868 $as_echo_n "(cached) " >&6
1870 if test -n "$CC"; then
1871 ac_cv_prog_CC="$CC" # Let the user override the test.
1873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877 test -z "$as_dir" && as_dir=.
1878 for ac_exec_ext in '' $ac_executable_extensions; do
1879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1880 ac_cv_prog_CC="${ac_tool_prefix}cc"
1881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1891 if test -n "$CC"; then
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1893 $as_echo "$CC" >&6; }
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1896 $as_echo "no" >&6; }
1902 if test -z "$CC"; then
1903 # Extract the first word of "cc", so it can be a program name with args.
1904 set dummy cc; ac_word=$2
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1906 $as_echo_n "checking for $ac_word... " >&6; }
1907 if test "${ac_cv_prog_CC+set}" = set; then :
1908 $as_echo_n "(cached) " >&6
1910 if test -n "$CC"; then
1911 ac_cv_prog_CC="$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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1922 ac_prog_rejected=yes
1926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1933 if test $ac_prog_rejected = yes; then
1934 # We found a bogon in the path, so make sure we never use it.
1935 set dummy $ac_cv_prog_CC
1937 if test $# != 0; then
1938 # We chose a different compiler from the bogus one.
1939 # However, it has the same basename, so the bogon will be chosen
1940 # first if we set CC to just the basename; use the full file name.
1942 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1948 if test -n "$CC"; then
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1950 $as_echo "$CC" >&6; }
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1953 $as_echo "no" >&6; }
1958 if test -z "$CC"; then
1959 if test -n "$ac_tool_prefix"; then
1960 for ac_prog in cl.exe
1962 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1963 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1965 $as_echo_n "checking for $ac_word... " >&6; }
1966 if test "${ac_cv_prog_CC+set}" = set; then :
1967 $as_echo_n "(cached) " >&6
1969 if test -n "$CC"; then
1970 ac_cv_prog_CC="$CC" # Let the user override the test.
1972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976 test -z "$as_dir" && as_dir=.
1977 for ac_exec_ext in '' $ac_executable_extensions; do
1978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1979 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1990 if test -n "$CC"; then
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1992 $as_echo "$CC" >&6; }
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1995 $as_echo "no" >&6; }
1999 test -n "$CC" && break
2002 if test -z "$CC"; then
2004 for ac_prog in cl.exe
2006 # Extract the first word of "$ac_prog", so it can be a program name with args.
2007 set dummy $ac_prog; ac_word=$2
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2009 $as_echo_n "checking for $ac_word... " >&6; }
2010 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2011 $as_echo_n "(cached) " >&6
2013 if test -n "$ac_ct_CC"; then
2014 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2020 test -z "$as_dir" && as_dir=.
2021 for ac_exec_ext in '' $ac_executable_extensions; do
2022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2023 ac_cv_prog_ac_ct_CC="$ac_prog"
2024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2033 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2034 if test -n "$ac_ct_CC"; then
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2036 $as_echo "$ac_ct_CC" >&6; }
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2039 $as_echo "no" >&6; }
2043 test -n "$ac_ct_CC" && break
2046 if test "x$ac_ct_CC" = x; then
2049 case $cross_compiling:$ac_tool_warned in
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2053 ac_tool_warned=yes ;;
2062 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2064 as_fn_error "no acceptable C compiler found in \$PATH
2065 See \`config.log' for more details." "$LINENO" 5; }
2067 # Provide some information about the compiler.
2068 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2071 for ac_option in --version -v -V -qversion; do
2072 { { ac_try="$ac_compiler $ac_option >&5"
2074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2075 *) ac_try_echo=$ac_try;;
2077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2078 $as_echo "$ac_try_echo"; } >&5
2079 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2081 if test -s conftest.err; then
2083 ... rest of stderr output deleted ...
2084 10q' conftest.err >conftest.er1
2085 cat conftest.er1 >&5
2086 rm -f conftest.er1 conftest.err
2088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2089 test $ac_status = 0; }
2092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2103 ac_clean_files_save=$ac_clean_files
2104 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2105 # Try to create an executable without -o first, disregard a.out.
2106 # It will help us diagnose broken compilers, and finding out an intuition
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2109 $as_echo_n "checking for C compiler default output file name... " >&6; }
2110 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2112 # The possible output files:
2113 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2116 for ac_file in $ac_files
2119 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2120 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2125 if { { ac_try="$ac_link_default"
2127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2128 *) ac_try_echo=$ac_try;;
2130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2131 $as_echo "$ac_try_echo"; } >&5
2132 (eval "$ac_link_default") 2>&5
2134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2135 test $ac_status = 0; }; then :
2136 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2137 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2138 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2139 # so that the user can short-circuit this test for compilers unknown to
2141 for ac_file in $ac_files ''
2143 test -f "$ac_file" || continue
2145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2148 # We found the default executable, but exeext='' is most
2152 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2154 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2156 # We set ac_cv_exeext here because the later test for it is not
2157 # safe: cross compilers may not add the suffix if given an `-o'
2158 # argument, so we may need to know it at that point already.
2159 # Even if this section looks crufty: it has the advantage of
2166 test "$ac_cv_exeext" = no && ac_cv_exeext=
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2172 $as_echo "$ac_file" >&6; }
2173 if test -z "$ac_file"; then :
2174 $as_echo "$as_me: failed program was:" >&5
2175 sed 's/^/| /' conftest.$ac_ext >&5
2177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2179 { as_fn_set_status 77
2180 as_fn_error "C compiler cannot create executables
2181 See \`config.log' for more details." "$LINENO" 5; }; }
2183 ac_exeext=$ac_cv_exeext
2185 # Check that the compiler produces executables we can run. If not, either
2186 # the compiler is broken, or we cross compile.
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2188 $as_echo_n "checking whether the C compiler works... " >&6; }
2189 # If not cross compiling, check that we can run a simple program.
2190 if test "$cross_compiling" != yes; then
2191 if { ac_try='./$ac_file'
2192 { { case "(($ac_try" in
2193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2194 *) ac_try_echo=$ac_try;;
2196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2197 $as_echo "$ac_try_echo"; } >&5
2198 (eval "$ac_try") 2>&5
2200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2201 test $ac_status = 0; }; }; then
2204 if test "$cross_compiling" = maybe; then
2207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2209 as_fn_error "cannot run C compiled programs.
2210 If you meant to cross compile, use \`--host'.
2211 See \`config.log' for more details." "$LINENO" 5; }
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2216 $as_echo "yes" >&6; }
2218 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2219 ac_clean_files=$ac_clean_files_save
2220 # Check that the compiler produces executables we can run. If not, either
2221 # the compiler is broken, or we cross compile.
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2223 $as_echo_n "checking whether we are cross compiling... " >&6; }
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2225 $as_echo "$cross_compiling" >&6; }
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2228 $as_echo_n "checking for suffix of executables... " >&6; }
2229 if { { ac_try="$ac_link"
2231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2232 *) ac_try_echo=$ac_try;;
2234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2235 $as_echo "$ac_try_echo"; } >&5
2236 (eval "$ac_link") 2>&5
2238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2239 test $ac_status = 0; }; then :
2240 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2241 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2242 # work properly (i.e., refer to `conftest.exe'), while it won't with
2244 for ac_file in conftest.exe conftest conftest.*; do
2245 test -f "$ac_file" || continue
2247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2248 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2256 as_fn_error "cannot compute suffix of executables: cannot compile and link
2257 See \`config.log' for more details." "$LINENO" 5; }
2259 rm -f conftest$ac_cv_exeext
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2261 $as_echo "$ac_cv_exeext" >&6; }
2263 rm -f conftest.$ac_ext
2264 EXEEXT=$ac_cv_exeext
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2267 $as_echo_n "checking for suffix of object files... " >&6; }
2268 if test "${ac_cv_objext+set}" = set; then :
2269 $as_echo_n "(cached) " >&6
2271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2272 /* end confdefs.h. */
2282 rm -f conftest.o conftest.obj
2283 if { { ac_try="$ac_compile"
2285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2286 *) ac_try_echo=$ac_try;;
2288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2289 $as_echo "$ac_try_echo"; } >&5
2290 (eval "$ac_compile") 2>&5
2292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2293 test $ac_status = 0; }; then :
2294 for ac_file in conftest.o conftest.obj conftest.*; do
2295 test -f "$ac_file" || continue;
2297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2298 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2303 $as_echo "$as_me: failed program was:" >&5
2304 sed 's/^/| /' conftest.$ac_ext >&5
2306 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2308 as_fn_error "cannot compute suffix of object files: cannot compile
2309 See \`config.log' for more details." "$LINENO" 5; }
2311 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2314 $as_echo "$ac_cv_objext" >&6; }
2315 OBJEXT=$ac_cv_objext
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2318 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2319 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2320 $as_echo_n "(cached) " >&6
2322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2323 /* end confdefs.h. */
2336 if ac_fn_c_try_compile "$LINENO"; then :
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2346 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2347 if test $ac_compiler_gnu = yes; then
2352 ac_test_CFLAGS=${CFLAGS+set}
2353 ac_save_CFLAGS=$CFLAGS
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2355 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2356 if test "${ac_cv_prog_cc_g+set}" = set; then :
2357 $as_echo_n "(cached) " >&6
2359 ac_save_c_werror_flag=$ac_c_werror_flag
2360 ac_c_werror_flag=yes
2363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2364 /* end confdefs.h. */
2374 if ac_fn_c_try_compile "$LINENO"; then :
2378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2379 /* end confdefs.h. */
2389 if ac_fn_c_try_compile "$LINENO"; then :
2392 ac_c_werror_flag=$ac_save_c_werror_flag
2394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2395 /* end confdefs.h. */
2405 if ac_fn_c_try_compile "$LINENO"; then :
2408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2413 ac_c_werror_flag=$ac_save_c_werror_flag
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2416 $as_echo "$ac_cv_prog_cc_g" >&6; }
2417 if test "$ac_test_CFLAGS" = set; then
2418 CFLAGS=$ac_save_CFLAGS
2419 elif test $ac_cv_prog_cc_g = yes; then
2420 if test "$GCC" = yes; then
2426 if test "$GCC" = yes; then
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2433 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2434 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2435 $as_echo_n "(cached) " >&6
2437 ac_cv_prog_cc_c89=no
2439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2440 /* end confdefs.h. */
2443 #include <sys/types.h>
2444 #include <sys/stat.h>
2445 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2446 struct buf { int x; };
2447 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2448 static char *e (p, i)
2454 static char *f (char * (*g) (char **, int), char **p, ...)
2459 s = g (p, va_arg (v,int));
2464 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2465 function prototypes and stuff, but not '\xHH' hex character constants.
2466 These don't provoke an error unfortunately, instead are silently treated
2467 as 'x'. The following induces an error, until -std is added to get
2468 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2469 array size at least. It's necessary to write '\x00'==0 to get something
2470 that's true only with -std. */
2471 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2473 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2474 inside strings and character constants. */
2476 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2478 int test (int i, double x);
2479 struct s1 {int (*f) (int a);};
2480 struct s2 {int (*f) (double a);};
2481 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2487 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2492 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2493 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2495 CC="$ac_save_CC $ac_arg"
2496 if ac_fn_c_try_compile "$LINENO"; then :
2497 ac_cv_prog_cc_c89=$ac_arg
2499 rm -f core conftest.err conftest.$ac_objext
2500 test "x$ac_cv_prog_cc_c89" != "xno" && break
2502 rm -f conftest.$ac_ext
2507 case "x$ac_cv_prog_cc_c89" in
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2510 $as_echo "none needed" >&6; } ;;
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2513 $as_echo "unsupported" >&6; } ;;
2515 CC="$CC $ac_cv_prog_cc_c89"
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2517 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2519 if test "x$ac_cv_prog_cc_c89" != xno; then :
2524 ac_cpp='$CPP $CPPFLAGS'
2525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2530 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2531 for ac_t in install-sh install.sh shtool; do
2532 if test -f "$ac_dir/$ac_t"; then
2534 ac_install_sh="$ac_aux_dir/$ac_t -c"
2539 if test -z "$ac_aux_dir"; then
2540 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2543 # These three variables are undocumented and unsupported,
2544 # and are intended to be withdrawn in a future Autoconf release.
2545 # They can cause serious problems if a builder's source tree is in a directory
2546 # whose full name contains unusual characters.
2547 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2548 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2549 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2552 # Find a good install program. We prefer a C program (faster),
2553 # so one script is as good as another. But avoid the broken or
2554 # incompatible versions:
2555 # SysV /etc/install, /usr/sbin/install
2556 # SunOS /usr/etc/install
2557 # IRIX /sbin/install
2559 # AmigaOS /C/install, which installs bootblocks on floppy discs
2560 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2561 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2562 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2563 # OS/2's system install, which has a completely different semantic
2564 # ./install, which can be erroneously created by make from ./install.sh.
2565 # Reject install programs that cannot install multiple files.
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2567 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2568 if test -z "$INSTALL"; then
2569 if test "${ac_cv_path_install+set}" = set; then :
2570 $as_echo_n "(cached) " >&6
2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir=.
2577 # Account for people who put trailing slashes in PATH elements.
2578 case $as_dir/ in #((
2579 ./ | .// | /[cC]/* | \
2580 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2581 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2584 # OSF1 and SCO ODT 3.0 have their own names for install.
2585 # Don't use installbsd from OSF since it installs stuff as root
2587 for ac_prog in ginstall scoinst install; do
2588 for ac_exec_ext in '' $ac_executable_extensions; do
2589 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2590 if test $ac_prog = install &&
2591 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2592 # AIX install. It has an incompatible calling convention.
2594 elif test $ac_prog = install &&
2595 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2596 # program-specific install script used by HP pwplus--don't use.
2599 rm -rf conftest.one conftest.two conftest.dir
2600 echo one > conftest.one
2601 echo two > conftest.two
2603 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2604 test -s conftest.one && test -s conftest.two &&
2605 test -s conftest.dir/conftest.one &&
2606 test -s conftest.dir/conftest.two
2608 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2621 rm -rf conftest.one conftest.two conftest.dir
2624 if test "${ac_cv_path_install+set}" = set; then
2625 INSTALL=$ac_cv_path_install
2627 # As a last resort, use the slow shell script. Don't cache a
2628 # value for INSTALL within a source directory, because that will
2629 # break other packages using the cache if that directory is
2630 # removed, or if the value is a relative name.
2631 INSTALL=$ac_install_sh
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2635 $as_echo "$INSTALL" >&6; }
2637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2638 # It thinks the first close brace ends the variable substitution.
2639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2643 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2645 if test -n "$ac_tool_prefix"; then
2646 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2647 set dummy ${ac_tool_prefix}ar; ac_word=$2
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649 $as_echo_n "checking for $ac_word... " >&6; }
2650 if test "${ac_cv_prog_AR+set}" = set; then :
2651 $as_echo_n "(cached) " >&6
2653 if test -n "$AR"; then
2654 ac_cv_prog_AR="$AR" # Let the user override the test.
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 test -z "$as_dir" && as_dir=.
2661 for ac_exec_ext in '' $ac_executable_extensions; do
2662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2663 ac_cv_prog_AR="${ac_tool_prefix}ar"
2664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2674 if test -n "$AR"; then
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2676 $as_echo "$AR" >&6; }
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679 $as_echo "no" >&6; }
2684 if test -z "$ac_cv_prog_AR"; then
2686 # Extract the first word of "ar", so it can be a program name with args.
2687 set dummy ar; ac_word=$2
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689 $as_echo_n "checking for $ac_word... " >&6; }
2690 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2691 $as_echo_n "(cached) " >&6
2693 if test -n "$ac_ct_AR"; then
2694 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir=.
2701 for ac_exec_ext in '' $ac_executable_extensions; do
2702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2703 ac_cv_prog_ac_ct_AR="ar"
2704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2714 if test -n "$ac_ct_AR"; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2716 $as_echo "$ac_ct_AR" >&6; }
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719 $as_echo "no" >&6; }
2722 if test "x$ac_ct_AR" = x; then
2725 case $cross_compiling:$ac_tool_warned in
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2729 ac_tool_warned=yes ;;
2737 if test -n "$ac_tool_prefix"; then
2738 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2739 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741 $as_echo_n "checking for $ac_word... " >&6; }
2742 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2743 $as_echo_n "(cached) " >&6
2745 if test -n "$RANLIB"; then
2746 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir=.
2753 for ac_exec_ext in '' $ac_executable_extensions; do
2754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2755 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2765 RANLIB=$ac_cv_prog_RANLIB
2766 if test -n "$RANLIB"; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2768 $as_echo "$RANLIB" >&6; }
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2776 if test -z "$ac_cv_prog_RANLIB"; then
2777 ac_ct_RANLIB=$RANLIB
2778 # Extract the first word of "ranlib", so it can be a program name with args.
2779 set dummy ranlib; ac_word=$2
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781 $as_echo_n "checking for $ac_word... " >&6; }
2782 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2783 $as_echo_n "(cached) " >&6
2785 if test -n "$ac_ct_RANLIB"; then
2786 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir=.
2793 for ac_exec_ext in '' $ac_executable_extensions; do
2794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795 ac_cv_prog_ac_ct_RANLIB="ranlib"
2796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2806 if test -n "$ac_ct_RANLIB"; then
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2808 $as_echo "$ac_ct_RANLIB" >&6; }
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811 $as_echo "no" >&6; }
2814 if test "x$ac_ct_RANLIB" = x; then
2817 case $cross_compiling:$ac_tool_warned in
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2821 ac_tool_warned=yes ;;
2823 RANLIB=$ac_ct_RANLIB
2826 RANLIB="$ac_cv_prog_RANLIB"
2830 # Make sure we can run config.sub.
2831 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2832 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2835 $as_echo_n "checking build system type... " >&6; }
2836 if test "${ac_cv_build+set}" = set; then :
2837 $as_echo_n "(cached) " >&6
2839 ac_build_alias=$build_alias
2840 test "x$ac_build_alias" = x &&
2841 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2842 test "x$ac_build_alias" = x &&
2843 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2844 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2845 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2849 $as_echo "$ac_cv_build" >&6; }
2850 case $ac_cv_build in
2852 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2855 ac_save_IFS=$IFS; IFS='-'
2861 # Remember, the first character of IFS is used to create $*,
2862 # except with old shells:
2865 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2869 $as_echo_n "checking host system type... " >&6; }
2870 if test "${ac_cv_host+set}" = set; then :
2871 $as_echo_n "(cached) " >&6
2873 if test "x$host_alias" = x; then
2874 ac_cv_host=$ac_cv_build
2876 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2877 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2882 $as_echo "$ac_cv_host" >&6; }
2885 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2888 ac_save_IFS=$IFS; IFS='-'
2894 # Remember, the first character of IFS is used to create $*,
2895 # except with old shells:
2898 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2902 $as_echo_n "checking target system type... " >&6; }
2903 if test "${ac_cv_target+set}" = set; then :
2904 $as_echo_n "(cached) " >&6
2906 if test "x$target_alias" = x; then
2907 ac_cv_target=$ac_cv_host
2909 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2910 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2915 $as_echo "$ac_cv_target" >&6; }
2916 case $ac_cv_target in
2918 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2920 target=$ac_cv_target
2921 ac_save_IFS=$IFS; IFS='-'
2927 # Remember, the first character of IFS is used to create $*,
2928 # except with old shells:
2931 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2934 # The aliases save the names the user supplied, while $host etc.
2935 # will get canonicalized.
2936 test -n "$target_alias" &&
2937 test "$program_prefix$program_suffix$program_transform_name" = \
2939 program_prefix=${target_alias}-
2941 test "$program_prefix" != NONE &&
2942 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2943 # Use a double $ so make ignores it.
2944 test "$program_suffix" != NONE &&
2945 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2946 # Double any \ or $.
2947 # By default was `s,x,x', remove it if useless.
2948 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2949 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2952 ac_cpp='$CPP $CPPFLAGS'
2953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2956 if test -n "$ac_tool_prefix"; then
2957 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2958 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if test "${ac_cv_prog_CC+set}" = set; then :
2962 $as_echo_n "(cached) " >&6
2964 if test -n "$CC"; then
2965 ac_cv_prog_CC="$CC" # Let the user override the test.
2967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2971 test -z "$as_dir" && as_dir=.
2972 for ac_exec_ext in '' $ac_executable_extensions; do
2973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2974 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985 if test -n "$CC"; then
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2987 $as_echo "$CC" >&6; }
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990 $as_echo "no" >&6; }
2995 if test -z "$ac_cv_prog_CC"; then
2997 # Extract the first word of "gcc", so it can be a program name with args.
2998 set dummy gcc; ac_word=$2
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3000 $as_echo_n "checking for $ac_word... " >&6; }
3001 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3002 $as_echo_n "(cached) " >&6
3004 if test -n "$ac_ct_CC"; then
3005 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3011 test -z "$as_dir" && as_dir=.
3012 for ac_exec_ext in '' $ac_executable_extensions; do
3013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3014 ac_cv_prog_ac_ct_CC="gcc"
3015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3024 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3025 if test -n "$ac_ct_CC"; then
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3027 $as_echo "$ac_ct_CC" >&6; }
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3030 $as_echo "no" >&6; }
3033 if test "x$ac_ct_CC" = x; then
3036 case $cross_compiling:$ac_tool_warned in
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3040 ac_tool_warned=yes ;;
3048 if test -z "$CC"; then
3049 if test -n "$ac_tool_prefix"; then
3050 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3051 set dummy ${ac_tool_prefix}cc; ac_word=$2
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3053 $as_echo_n "checking for $ac_word... " >&6; }
3054 if test "${ac_cv_prog_CC+set}" = set; then :
3055 $as_echo_n "(cached) " >&6
3057 if test -n "$CC"; then
3058 ac_cv_prog_CC="$CC" # Let the user override the test.
3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064 test -z "$as_dir" && as_dir=.
3065 for ac_exec_ext in '' $ac_executable_extensions; do
3066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3067 ac_cv_prog_CC="${ac_tool_prefix}cc"
3068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3078 if test -n "$CC"; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3080 $as_echo "$CC" >&6; }
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083 $as_echo "no" >&6; }
3089 if test -z "$CC"; then
3090 # Extract the first word of "cc", so it can be a program name with args.
3091 set dummy cc; ac_word=$2
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3093 $as_echo_n "checking for $ac_word... " >&6; }
3094 if test "${ac_cv_prog_CC+set}" = set; then :
3095 $as_echo_n "(cached) " >&6
3097 if test -n "$CC"; then
3098 ac_cv_prog_CC="$CC" # Let the user override the test.
3101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105 test -z "$as_dir" && as_dir=.
3106 for ac_exec_ext in '' $ac_executable_extensions; do
3107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3108 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3109 ac_prog_rejected=yes
3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3120 if test $ac_prog_rejected = yes; then
3121 # We found a bogon in the path, so make sure we never use it.
3122 set dummy $ac_cv_prog_CC
3124 if test $# != 0; then
3125 # We chose a different compiler from the bogus one.
3126 # However, it has the same basename, so the bogon will be chosen
3127 # first if we set CC to just the basename; use the full file name.
3129 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3135 if test -n "$CC"; then
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3137 $as_echo "$CC" >&6; }
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3140 $as_echo "no" >&6; }
3145 if test -z "$CC"; then
3146 if test -n "$ac_tool_prefix"; then
3147 for ac_prog in cl.exe
3149 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3150 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3152 $as_echo_n "checking for $ac_word... " >&6; }
3153 if test "${ac_cv_prog_CC+set}" = set; then :
3154 $as_echo_n "(cached) " >&6
3156 if test -n "$CC"; then
3157 ac_cv_prog_CC="$CC" # Let the user override the test.
3159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3163 test -z "$as_dir" && as_dir=.
3164 for ac_exec_ext in '' $ac_executable_extensions; do
3165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3166 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3177 if test -n "$CC"; then
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3179 $as_echo "$CC" >&6; }
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3182 $as_echo "no" >&6; }
3186 test -n "$CC" && break
3189 if test -z "$CC"; then
3191 for ac_prog in cl.exe
3193 # Extract the first word of "$ac_prog", so it can be a program name with args.
3194 set dummy $ac_prog; ac_word=$2
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196 $as_echo_n "checking for $ac_word... " >&6; }
3197 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3198 $as_echo_n "(cached) " >&6
3200 if test -n "$ac_ct_CC"; then
3201 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207 test -z "$as_dir" && as_dir=.
3208 for ac_exec_ext in '' $ac_executable_extensions; do
3209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3210 ac_cv_prog_ac_ct_CC="$ac_prog"
3211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3221 if test -n "$ac_ct_CC"; then
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3223 $as_echo "$ac_ct_CC" >&6; }
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226 $as_echo "no" >&6; }
3230 test -n "$ac_ct_CC" && break
3233 if test "x$ac_ct_CC" = x; then
3236 case $cross_compiling:$ac_tool_warned in
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3240 ac_tool_warned=yes ;;
3249 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3251 as_fn_error "no acceptable C compiler found in \$PATH
3252 See \`config.log' for more details." "$LINENO" 5; }
3254 # Provide some information about the compiler.
3255 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3258 for ac_option in --version -v -V -qversion; do
3259 { { ac_try="$ac_compiler $ac_option >&5"
3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3262 *) ac_try_echo=$ac_try;;
3264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3265 $as_echo "$ac_try_echo"; } >&5
3266 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3268 if test -s conftest.err; then
3270 ... rest of stderr output deleted ...
3271 10q' conftest.err >conftest.er1
3272 cat conftest.er1 >&5
3273 rm -f conftest.er1 conftest.err
3275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3276 test $ac_status = 0; }
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3280 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3281 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3282 $as_echo_n "(cached) " >&6
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3298 if ac_fn_c_try_compile "$LINENO"; then :
3303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3304 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3308 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3309 if test $ac_compiler_gnu = yes; then
3314 ac_test_CFLAGS=${CFLAGS+set}
3315 ac_save_CFLAGS=$CFLAGS
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3317 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3318 if test "${ac_cv_prog_cc_g+set}" = set; then :
3319 $as_echo_n "(cached) " >&6
3321 ac_save_c_werror_flag=$ac_c_werror_flag
3322 ac_c_werror_flag=yes
3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3326 /* end confdefs.h. */
3336 if ac_fn_c_try_compile "$LINENO"; then :
3340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3351 if ac_fn_c_try_compile "$LINENO"; then :
3354 ac_c_werror_flag=$ac_save_c_werror_flag
3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3367 if ac_fn_c_try_compile "$LINENO"; then :
3370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3375 ac_c_werror_flag=$ac_save_c_werror_flag
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3378 $as_echo "$ac_cv_prog_cc_g" >&6; }
3379 if test "$ac_test_CFLAGS" = set; then
3380 CFLAGS=$ac_save_CFLAGS
3381 elif test $ac_cv_prog_cc_g = yes; then
3382 if test "$GCC" = yes; then
3388 if test "$GCC" = yes; then
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3395 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3396 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3397 $as_echo_n "(cached) " >&6
3399 ac_cv_prog_cc_c89=no
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3405 #include <sys/types.h>
3406 #include <sys/stat.h>
3407 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3408 struct buf { int x; };
3409 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3410 static char *e (p, i)
3416 static char *f (char * (*g) (char **, int), char **p, ...)
3421 s = g (p, va_arg (v,int));
3426 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3427 function prototypes and stuff, but not '\xHH' hex character constants.
3428 These don't provoke an error unfortunately, instead are silently treated
3429 as 'x'. The following induces an error, until -std is added to get
3430 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3431 array size at least. It's necessary to write '\x00'==0 to get something
3432 that's true only with -std. */
3433 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3435 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3436 inside strings and character constants. */
3438 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3440 int test (int i, double x);
3441 struct s1 {int (*f) (int a);};
3442 struct s2 {int (*f) (double a);};
3443 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3449 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3454 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3455 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3457 CC="$ac_save_CC $ac_arg"
3458 if ac_fn_c_try_compile "$LINENO"; then :
3459 ac_cv_prog_cc_c89=$ac_arg
3461 rm -f core conftest.err conftest.$ac_objext
3462 test "x$ac_cv_prog_cc_c89" != "xno" && break
3464 rm -f conftest.$ac_ext
3469 case "x$ac_cv_prog_cc_c89" in
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3472 $as_echo "none needed" >&6; } ;;
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3475 $as_echo "unsupported" >&6; } ;;
3477 CC="$CC $ac_cv_prog_cc_c89"
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3479 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3481 if test "x$ac_cv_prog_cc_c89" != xno; then :
3486 ac_cpp='$CPP $CPPFLAGS'
3487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3495 if test -n "$ac_tool_prefix"; then
3496 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3497 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3499 $as_echo_n "checking for $ac_word... " >&6; }
3500 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3501 $as_echo_n "(cached) " >&6
3503 if test -n "$RANLIB"; then
3504 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3513 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 RANLIB=$ac_cv_prog_RANLIB
3524 if test -n "$RANLIB"; then
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3526 $as_echo "$RANLIB" >&6; }
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3529 $as_echo "no" >&6; }
3534 if test -z "$ac_cv_prog_RANLIB"; then
3535 ac_ct_RANLIB=$RANLIB
3536 # Extract the first word of "ranlib", so it can be a program name with args.
3537 set dummy ranlib; ac_word=$2
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3539 $as_echo_n "checking for $ac_word... " >&6; }
3540 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3541 $as_echo_n "(cached) " >&6
3543 if test -n "$ac_ct_RANLIB"; then
3544 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 test -z "$as_dir" && as_dir=.
3551 for ac_exec_ext in '' $ac_executable_extensions; do
3552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3553 ac_cv_prog_ac_ct_RANLIB="ranlib"
3554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3563 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3564 if test -n "$ac_ct_RANLIB"; then
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3566 $as_echo "$ac_ct_RANLIB" >&6; }
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569 $as_echo "no" >&6; }
3572 if test "x$ac_ct_RANLIB" = x; then
3575 case $cross_compiling:$ac_tool_warned in
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3579 ac_tool_warned=yes ;;
3581 RANLIB=$ac_ct_RANLIB
3584 RANLIB="$ac_cv_prog_RANLIB"
3588 # Put a plausible default for CC_FOR_BUILD in Makefile.
3589 if test "x$cross_compiling" = "xno"; then
3590 CC_FOR_BUILD='$(CC)'
3595 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
3598 # If a cpu ever has more than one simulator to choose from, use
3599 # --enable-sim=... to choose.
3600 # Check whether --enable-sim was given.
3601 if test "${enable_sim+set}" = set; then :
3602 enableval=$enable_sim; case "${enableval}" in
3604 *) as_fn_error "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
3610 if test "${enable_sim}" != no; then
3612 # WHEN ADDING ENTRIES TO THIS MATRIX:
3614 # Make sure that the left side always has two dashes. Otherwise you
3615 # can get spurious matches. Even for unambiguous cases, do this as a
3616 # convention, else the table becomes a real mess to understand and
3631 subdirs="$subdirs arm"
3639 subdirs="$subdirs avr"
3646 subdirs="$subdirs bfin"
3653 subdirs="$subdirs cr16"
3658 cris-*-* | crisv32-*-*)
3661 subdirs="$subdirs cris"
3669 subdirs="$subdirs d10v"
3676 subdirs="$subdirs frv"
3684 subdirs="$subdirs h8300"
3692 subdirs="$subdirs iq2000"
3700 subdirs="$subdirs lm32"
3708 subdirs="$subdirs m32c"
3715 subdirs="$subdirs m32r"
3720 m68hc11-*-*|m6811-*-*)
3723 subdirs="$subdirs m68hc11"
3731 subdirs="$subdirs mcore"
3739 subdirs="$subdirs microblaze"
3747 subdirs="$subdirs mips"
3756 subdirs="$subdirs mn10300"
3764 subdirs="$subdirs moxie"
3772 subdirs="$subdirs rx"
3779 subdirs="$subdirs sh64"
3787 subdirs="$subdirs sh"
3792 sparc-*-rtems*|sparc-*-elf*)
3795 subdirs="$subdirs erc32"
3803 subdirs="$subdirs ppc"
3810 subdirs="$subdirs v850"
3817 # No simulator subdir, so the subdir "common" isn't needed.
3823 if test "$sim_testsuite" = yes; then
3824 subdirs="$subdirs testsuite"
3827 if test "$sim_common" = yes; then
3828 subdirs="$subdirs common"
3831 if test "$sim_igen" = yes; then
3832 subdirs="$subdirs igen"
3837 ac_config_files="$ac_config_files Makefile"
3839 cat >confcache <<\_ACEOF
3840 # This file is a shell script that caches the results of configure
3841 # tests run on this system so they can be shared between configure
3842 # scripts and configure runs, see configure's option --config-cache.
3843 # It is not useful on other systems. If it contains results you don't
3844 # want to keep, you may remove or edit it.
3846 # config.status only pays attention to the cache file if you give it
3847 # the --recheck option to rerun configure.
3849 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3850 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3855 # The following way of writing the cache mishandles newlines in values,
3856 # but we know of no workaround that is simple, portable, and efficient.
3857 # So, we kill variables containing newlines.
3858 # Ultrix sh set writes to stderr and can't be redirected directly,
3859 # and sets the high bit in the cache file unless we assign to the vars.
3861 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3862 eval ac_val=\$$ac_var
3866 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3867 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3870 _ | IFS | as_nl) ;; #(
3871 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3872 *) { eval $ac_var=; unset $ac_var;} ;;
3878 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3879 *${as_nl}ac_space=\ *)
3880 # `set' does not quote correctly, so add quotes: double-quote
3881 # substitution turns \\\\ into \\, and sed turns \\ into \.
3884 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3887 # `set' quotes correctly as required by POSIX, so do not add quotes.
3888 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3897 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3899 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3901 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3902 if test -w "$cache_file"; then
3903 test "x$cache_file" != "x/dev/null" &&
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3905 $as_echo "$as_me: updating cache $cache_file" >&6;}
3906 cat confcache >$cache_file
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3909 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3914 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3915 # Let make expand exec_prefix.
3916 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3918 # Transform confdefs.h into DEFS.
3919 # Protect against shell expansion while executing Makefile rules.
3920 # Protect against Makefile macro expansion.
3922 # If the first sed substitution is executed (which looks for macros that
3923 # take arguments), then branch to the quote section. Otherwise,
3924 # look for a macro that doesn't take arguments.
3934 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3936 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3940 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3953 DEFS=`sed -n "$ac_script" confdefs.h`
3958 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3959 # 1. Remove the extension, and $U if already installed.
3960 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3961 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3962 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3963 # will be set to the directory where LIBOBJS objects are built.
3964 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3965 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3969 LTLIBOBJS=$ac_ltlibobjs
3973 : ${CONFIG_STATUS=./config.status}
3975 ac_clean_files_save=$ac_clean_files
3976 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3978 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3980 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3982 # Generated by $as_me.
3983 # Run this file to recreate the current configuration.
3984 # Compiler output produced by configure, useful for debugging
3985 # configure, is in config.log if it exists.
3991 SHELL=\${CONFIG_SHELL-$SHELL}
3994 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3995 ## -------------------- ##
3996 ## M4sh Initialization. ##
3997 ## -------------------- ##
3999 # Be more Bourne compatible
4000 DUALCASE=1; export DUALCASE # for MKS sh
4001 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4004 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4005 # is contrary to our usage. Disable this feature.
4006 alias -g '${1+"$@"}'='"$@"'
4007 setopt NO_GLOB_SUBST
4009 case `(set -o) 2>/dev/null` in #(
4021 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4022 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4023 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4024 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4025 # Prefer a ksh shell builtin over an external printf program on Solaris,
4026 # but without wasting forks for bash or zsh.
4027 if test -z "$BASH_VERSION$ZSH_VERSION" \
4028 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4029 as_echo='print -r --'
4030 as_echo_n='print -rn --'
4031 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4032 as_echo='printf %s\n'
4033 as_echo_n='printf %s'
4035 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4036 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4037 as_echo_n='/usr/ucb/echo -n'
4039 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4040 as_echo_n_body='eval
4044 expr "X$arg" : "X\\(.*\\)$as_nl";
4045 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4047 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4049 export as_echo_n_body
4050 as_echo_n='sh -c $as_echo_n_body as_echo'
4053 as_echo='sh -c $as_echo_body as_echo'
4056 # The user is always right.
4057 if test "${PATH_SEPARATOR+set}" != set; then
4059 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4060 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4067 # We need space, tab and new line, in precisely that order. Quoting is
4068 # there to prevent editors from complaining about space-tab.
4069 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4070 # splitting by setting IFS to empty value.)
4073 # Find who we are. Look in the path if we contain no directory separator.
4075 *[\\/]* ) as_myself=$0 ;;
4076 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4080 test -z "$as_dir" && as_dir=.
4081 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4087 # We did not find ourselves, most probably we were run as `sh COMMAND'
4088 # in which case we are not to be found in the path.
4089 if test "x$as_myself" = x; then
4092 if test ! -f "$as_myself"; then
4093 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4097 # Unset variables that we do not need and which cause bugs (e.g. in
4098 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4099 # suppresses any "Segmentation fault" message there. '((' could
4100 # trigger a bug in pdksh 5.2.14.
4101 for as_var in BASH_ENV ENV MAIL MAILPATH
4102 do eval test x\${$as_var+set} = xset \
4103 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4116 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4119 # as_fn_error ERROR [LINENO LOG_FD]
4120 # ---------------------------------
4121 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4122 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4123 # script with status $?, using 1 if that was 0.
4126 as_status=$?; test $as_status -eq 0 && as_status=1
4128 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4129 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4131 $as_echo "$as_me: error: $1" >&2
4132 as_fn_exit $as_status
4136 # as_fn_set_status STATUS
4137 # -----------------------
4138 # Set $? to STATUS, without forking.
4142 } # as_fn_set_status
4146 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4156 # Portably unset VAR.
4159 { eval $1=; unset $1;}
4161 as_unset=as_fn_unset
4162 # as_fn_append VAR VALUE
4163 # ----------------------
4164 # Append the text in VALUE to the end of the definition contained in VAR. Take
4165 # advantage of any shell optimizations that allow amortized linear growth over
4166 # repeated appends, instead of the typical quadratic growth present in naive
4168 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4169 eval 'as_fn_append ()
4180 # as_fn_arith ARG...
4181 # ------------------
4182 # Perform arithmetic evaluation on the ARGs, and store the result in the
4183 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4184 # must be portable across $(()) and expr.
4185 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4186 eval 'as_fn_arith ()
4193 as_val=`expr "$@" || test $? -eq 1`
4198 if expr a : '\(a\)' >/dev/null 2>&1 &&
4199 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4205 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4206 as_basename=basename
4211 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4217 as_me=`$as_basename -- "$0" ||
4218 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4219 X"$0" : 'X\(//\)$' \| \
4220 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4222 sed '/^.*\/\([^/][^/]*\)\/*$/{
4236 # Avoid depending upon Character Ranges.
4237 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4238 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4239 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4240 as_cr_digits='0123456789'
4241 as_cr_alnum=$as_cr_Letters$as_cr_digits
4243 ECHO_C= ECHO_N= ECHO_T=
4244 case `echo -n x` in #(((((
4246 case `echo 'xy\c'` in
4247 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4249 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4256 rm -f conf$$ conf$$.exe conf$$.file
4257 if test -d conf$$.dir; then
4258 rm -f conf$$.dir/conf$$.file
4261 mkdir conf$$.dir 2>/dev/null
4263 if (echo >conf$$.file) 2>/dev/null; then
4264 if ln -s conf$$.file conf$$ 2>/dev/null; then
4266 # ... but there are two gotchas:
4267 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4268 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4269 # In both cases, we have to default to `cp -p'.
4270 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4272 elif ln conf$$.file conf$$ 2>/dev/null; then
4280 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4281 rmdir conf$$.dir 2>/dev/null
4286 # Create "$as_dir" as a directory, including parents if necessary.
4291 -*) as_dir=./$as_dir;;
4293 test -d "$as_dir" || eval $as_mkdir_p || {
4297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4298 *) as_qdir=$as_dir;;
4300 as_dirs="'$as_qdir' $as_dirs"
4301 as_dir=`$as_dirname -- "$as_dir" ||
4302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4303 X"$as_dir" : 'X\(//\)[^/]' \| \
4304 X"$as_dir" : 'X\(//\)$' \| \
4305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4306 $as_echo X"$as_dir" |
4307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4324 test -d "$as_dir" && break
4326 test -z "$as_dirs" || eval "mkdir $as_dirs"
4327 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4331 if mkdir -p . 2>/dev/null; then
4332 as_mkdir_p='mkdir -p "$as_dir"'
4334 test -d ./-p && rmdir ./-p
4338 if test -x / >/dev/null 2>&1; then
4341 if ls -dL / >/dev/null 2>&1; then
4348 if test -d "$1"; then
4354 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4355 ???[sx]*):;;*)false;;esac;fi
4359 as_executable_p=$as_test_x
4361 # Sed expression to map a string onto a valid CPP name.
4362 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4364 # Sed expression to map a string onto a valid variable name.
4365 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4369 ## ----------------------------------- ##
4370 ## Main body of $CONFIG_STATUS script. ##
4371 ## ----------------------------------- ##
4373 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4376 # Save the log message, to keep $0 and so on meaningful, and to
4377 # report actual input values of CONFIG_FILES etc. instead of their
4378 # values after options handling.
4380 This file was extended by $as_me, which was
4381 generated by GNU Autoconf 2.64. Invocation command line was
4383 CONFIG_FILES = $CONFIG_FILES
4384 CONFIG_HEADERS = $CONFIG_HEADERS
4385 CONFIG_LINKS = $CONFIG_LINKS
4386 CONFIG_COMMANDS = $CONFIG_COMMANDS
4389 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4394 case $ac_config_files in *"
4395 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4401 # Files that config.status was made for.
4402 config_files="$ac_config_files"
4406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4408 \`$as_me' instantiates files and other configuration actions
4409 from templates according to the current configuration. Unless the files
4410 and actions are specified as TAGs, all are instantiated by default.
4412 Usage: $0 [OPTION]... [TAG]...
4414 -h, --help print this help, then exit
4415 -V, --version print version number and configuration settings, then exit
4416 -q, --quiet, --silent
4417 do not print progress messages
4418 -d, --debug don't remove temporary files
4419 --recheck update $as_me by reconfiguring in the same conditions
4420 --file=FILE[:TEMPLATE]
4421 instantiate the configuration file FILE
4423 Configuration files:
4426 Report bugs to the package provider."
4429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4432 configured by $0, generated by GNU Autoconf 2.64,
4433 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4435 Copyright (C) 2009 Free Software Foundation, Inc.
4436 This config.status script is free software; the Free Software Foundation
4437 gives unlimited permission to copy, distribute and modify it."
4442 test -n "\$AWK" || AWK=awk
4445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4446 # The default lists apply if the user does not specify any file.
4452 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4453 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4464 # Handling of the options.
4465 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4467 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4468 $as_echo "$ac_cs_version"; exit ;;
4469 --debug | --debu | --deb | --de | --d | -d )
4471 --file | --fil | --fi | --f )
4474 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4476 as_fn_append CONFIG_FILES " '$ac_optarg'"
4477 ac_need_defaults=false;;
4478 --he | --h | --help | --hel | -h )
4479 $as_echo "$ac_cs_usage"; exit ;;
4480 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4481 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4485 -*) as_fn_error "unrecognized option: \`$1'
4486 Try \`$0 --help' for more information." ;;
4488 *) as_fn_append ac_config_targets " $1"
4489 ac_need_defaults=false ;;
4495 ac_configure_extra_args=
4497 if $ac_cs_silent; then
4499 ac_configure_extra_args="$ac_configure_extra_args --silent"
4503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4504 if \$ac_cs_recheck; then
4505 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4507 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4508 CONFIG_SHELL='$SHELL'
4514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4518 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4519 ## Running $as_me. ##
4525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4530 # Handling of arguments.
4531 for ac_config_target in $ac_config_targets
4533 case $ac_config_target in
4534 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4536 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4541 # If the user did not use the arguments to specify the items to instantiate,
4542 # then the envvar interface is used. Set only those that are not.
4543 # We use the long form for the default assignment because of an extremely
4544 # bizarre bug on SunOS 4.1.3.
4545 if $ac_need_defaults; then
4546 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4549 # Have a temporary directory for convenience. Make it in the build tree
4550 # simply because there is no reason against having it here, and in addition,
4551 # creating and moving files from /tmp can sometimes cause problems.
4552 # Hook for its removal unless debugging.
4553 # Note that there is a small window in which the directory will not be cleaned:
4554 # after its creation but before its name has been assigned to `$tmp'.
4558 trap 'exit_status=$?
4559 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4561 trap 'as_fn_exit 1' 1 2 13 15
4563 # Create a (secure) tmp directory for tmp files.
4566 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4567 test -n "$tmp" && test -d "$tmp"
4570 tmp=./conf$$-$RANDOM
4571 (umask 077 && mkdir "$tmp")
4572 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4574 # Set up the scripts for CONFIG_FILES section.
4575 # No need to generate them if there are no CONFIG_FILES.
4576 # This happens for instance with `./config.status config.h'.
4577 if test -n "$CONFIG_FILES"; then
4580 ac_cr=`echo X | tr X '\015'`
4581 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4582 # But we know of no other shell where ac_cr would be empty at this
4583 # point, so we can use a bashism as a fallback.
4584 if test "x$ac_cr" = x; then
4585 eval ac_cr=\$\'\\r\'
4587 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4588 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4594 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4599 echo "cat >conf$$subs.awk <<_ACEOF" &&
4600 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4603 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4604 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4606 for ac_last_try in false false false false false :; do
4607 . ./conf$$subs.sh ||
4608 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4610 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4611 if test $ac_delim_n = $ac_delim_num; then
4613 elif $ac_last_try; then
4614 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4616 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4622 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4626 s/^/S["/; s/!.*/"]=/
4636 s/\(.\{148\}\).*/\1/
4638 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4643 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4650 s/\(.\{148\}\).*/\1/
4652 s/["\\]/\\&/g; s/^/"/; s/$/"/
4656 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4661 ' <conf$$subs.awk | sed '
4666 ' >>$CONFIG_STATUS || ac_write_fail=1
4667 rm -f conf$$subs.awk
4668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4670 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4671 for (key in S) S_is_set[key] = 1
4677 nfields = split(line, field, "@")
4679 len = length(field[1])
4680 for (i = 2; i < nfields; i++) {
4682 keylen = length(key)
4683 if (S_is_set[key]) {
4685 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4686 len += length(value) + length(field[++i])
4697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4698 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4699 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4702 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4703 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4706 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4707 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4708 # trailing colons and then remove the whole line if VPATH becomes empty
4709 # (actually we leave an empty line to preserve line numbers).
4710 if test "x$srcdir" = x.; then
4711 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4715 s/^\([^=]*=[ ]*\):*/\1/
4721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4722 fi # test -n "$CONFIG_FILES"
4725 eval set X " :F $CONFIG_FILES "
4730 :[FHLC]) ac_mode=$ac_tag; continue;;
4732 case $ac_mode$ac_tag in
4734 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4735 :[FH]-) ac_tag=-:-;;
4736 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4753 -) ac_f="$tmp/stdin";;
4754 *) # Look for the file first in the build tree, then in the source tree
4755 # (if the path is not absolute). The absolute path cannot be DOS-style,
4756 # because $ac_f cannot contain `:'.
4760 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4762 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4764 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4765 as_fn_append ac_file_inputs " '$ac_f'"
4768 # Let's still pretend it is `configure' which instantiates (i.e., don't
4769 # use $as_me), people would be surprised to read:
4770 # /* config.h. Generated by config.status. */
4771 configure_input='Generated from '`
4772 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4774 if test x"$ac_file" != x-; then
4775 configure_input="$ac_file. $configure_input"
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4777 $as_echo "$as_me: creating $ac_file" >&6;}
4779 # Neutralize special characters interpreted by sed in replacement strings.
4780 case $configure_input in #(
4781 *\&* | *\|* | *\\* )
4782 ac_sed_conf_input=`$as_echo "$configure_input" |
4783 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4784 *) ac_sed_conf_input=$configure_input;;
4788 *:-:* | *:-) cat >"$tmp/stdin" \
4789 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4794 ac_dir=`$as_dirname -- "$ac_file" ||
4795 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4796 X"$ac_file" : 'X\(//\)[^/]' \| \
4797 X"$ac_file" : 'X\(//\)$' \| \
4798 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4799 $as_echo X"$ac_file" |
4800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4817 as_dir="$ac_dir"; as_fn_mkdir_p
4821 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4823 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4824 # A ".." for each directory in $ac_dir_suffix.
4825 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4826 case $ac_top_builddir_sub in
4827 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4828 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4831 ac_abs_top_builddir=$ac_pwd
4832 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4833 # for backward compatibility:
4834 ac_top_builddir=$ac_top_build_prefix
4837 .) # We are building in place.
4839 ac_top_srcdir=$ac_top_builddir_sub
4840 ac_abs_top_srcdir=$ac_pwd ;;
4841 [\\/]* | ?:[\\/]* ) # Absolute name.
4842 ac_srcdir=$srcdir$ac_dir_suffix;
4843 ac_top_srcdir=$srcdir
4844 ac_abs_top_srcdir=$srcdir ;;
4846 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4847 ac_top_srcdir=$ac_top_build_prefix$srcdir
4848 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4850 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4860 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4861 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4866 # If the template does not know about datarootdir, expand it.
4867 # FIXME: This hack should be removed a few years after 2.60.
4868 ac_datarootdir_hack=; ac_datarootdir_seen=
4879 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4880 *datarootdir*) ac_datarootdir_seen=yes;;
4881 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4883 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4886 ac_datarootdir_hack='
4887 s&@datadir@&$datadir&g
4888 s&@docdir@&$docdir&g
4889 s&@infodir@&$infodir&g
4890 s&@localedir@&$localedir&g
4891 s&@mandir@&$mandir&g
4892 s&\\\${datarootdir}&$datarootdir&g' ;;
4896 # Neutralize VPATH when `$srcdir' = `.'.
4897 # Shell code in configure.ac might set extrasub.
4898 # FIXME: do we really want to maintain this feature?
4899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4900 ac_sed_extra="$ac_vpsub
4903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4905 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4906 s|@configure_input@|$ac_sed_conf_input|;t t
4907 s&@top_builddir@&$ac_top_builddir_sub&;t t
4908 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4909 s&@srcdir@&$ac_srcdir&;t t
4910 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4911 s&@top_srcdir@&$ac_top_srcdir&;t t
4912 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4913 s&@builddir@&$ac_builddir&;t t
4914 s&@abs_builddir@&$ac_abs_builddir&;t t
4915 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4916 s&@INSTALL@&$ac_INSTALL&;t t
4917 $ac_datarootdir_hack
4919 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4920 || as_fn_error "could not create $ac_file" "$LINENO" 5
4922 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4923 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4924 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4926 which seems to be undefined. Please make sure it is defined." >&5
4927 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4928 which seems to be undefined. Please make sure it is defined." >&2;}
4932 -) cat "$tmp/out" && rm -f "$tmp/out";;
4933 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4935 || as_fn_error "could not create $ac_file" "$LINENO" 5
4947 ac_clean_files=$ac_clean_files_save
4949 test $ac_write_fail = 0 ||
4950 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4953 # configure is writing to config.log, and then calls config.status.
4954 # config.status does its own redirection, appending to config.log.
4955 # Unfortunately, on DOS this fails, as config.log is still kept open
4956 # by configure, so config.status won't be able to write to it; its
4957 # output is simply discarded. So we exec the FD to /dev/null,
4958 # effectively closing config.log, so it can be properly (re)opened and
4959 # appended to by config.status. When coming back to configure, we
4960 # need to make the FD available again.
4961 if test "$no_create" != yes; then
4963 ac_config_status_args=
4964 test "$silent" = yes &&
4965 ac_config_status_args="$ac_config_status_args --quiet"
4967 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4969 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4970 # would make configure fail if this is the last instruction.
4971 $ac_cs_success || as_fn_exit $?
4975 # CONFIG_SUBDIRS section.
4977 if test "$no_recursion" != yes; then
4979 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4980 # so they do not pile up.
4981 ac_sub_configure_args=
4983 eval "set x $ac_configure_args"
4987 if test -n "$ac_prev"; then
4992 -cache-file | --cache-file | --cache-fil | --cache-fi \
4993 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4994 ac_prev=cache_file ;;
4995 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4996 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4999 --config-cache | -C)
5001 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5003 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5005 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5007 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5009 --disable-option-checking)
5013 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5015 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
5019 # Always prepend --prefix to ensure using the same prefix
5020 # in subdir configurations.
5021 ac_arg="--prefix=$prefix"
5023 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5025 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
5028 if test "$silent" = yes; then
5029 ac_sub_configure_args="--silent $ac_sub_configure_args"
5032 # Always prepend --disable-option-checking to silence warnings, since
5033 # different subdirs can have different --enable and --with options.
5034 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
5037 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
5039 # Do not complain, so a configure script can configure whichever
5040 # parts of a large source tree are present.
5041 test -d "$srcdir/$ac_dir" || continue
5043 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
5044 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
5045 $as_echo "$ac_msg" >&6
5046 as_dir="$ac_dir"; as_fn_mkdir_p
5050 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5052 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5053 # A ".." for each directory in $ac_dir_suffix.
5054 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5055 case $ac_top_builddir_sub in
5056 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5057 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5060 ac_abs_top_builddir=$ac_pwd
5061 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5062 # for backward compatibility:
5063 ac_top_builddir=$ac_top_build_prefix
5066 .) # We are building in place.
5068 ac_top_srcdir=$ac_top_builddir_sub
5069 ac_abs_top_srcdir=$ac_pwd ;;
5070 [\\/]* | ?:[\\/]* ) # Absolute name.
5071 ac_srcdir=$srcdir$ac_dir_suffix;
5072 ac_top_srcdir=$srcdir
5073 ac_abs_top_srcdir=$srcdir ;;
5075 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5076 ac_top_srcdir=$ac_top_build_prefix$srcdir
5077 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5079 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5084 # Check for guested configure; otherwise get Cygnus style configure.
5085 if test -f "$ac_srcdir/configure.gnu"; then
5086 ac_sub_configure=$ac_srcdir/configure.gnu
5087 elif test -f "$ac_srcdir/configure"; then
5088 ac_sub_configure=$ac_srcdir/configure
5089 elif test -f "$ac_srcdir/configure.in"; then
5090 # This should be Cygnus configure.
5091 ac_sub_configure=$ac_aux_dir/configure
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
5094 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5098 # The recursion is here.
5099 if test -n "$ac_sub_configure"; then
5100 # Make the cache file name correct relative to the subdirectory.
5102 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5104 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5108 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5109 # The eval makes quoting arguments work.
5110 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5111 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5112 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
5118 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5120 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}