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
637 ac_subdirs_all='aarch64
669 # Initialize some variables set by options.
671 ac_init_version=false
672 ac_unrecognized_opts=
674 # The variables have the same names as the options, with
675 # dashes changed to underlines.
683 program_transform_name=s,x,x,
691 # Installation directory options.
692 # These are left unexpanded so users can "make install exec_prefix=/foo"
693 # and all the variables that are supposed to be based on exec_prefix
694 # by default will actually change.
695 # Use braces instead of parens because sh, perl, etc. also accept them.
696 # (The list follows the same order as the GNU Coding Standards.)
697 bindir='${exec_prefix}/bin'
698 sbindir='${exec_prefix}/sbin'
699 libexecdir='${exec_prefix}/libexec'
700 datarootdir='${prefix}/share'
701 datadir='${datarootdir}'
702 sysconfdir='${prefix}/etc'
703 sharedstatedir='${prefix}/com'
704 localstatedir='${prefix}/var'
705 includedir='${prefix}/include'
706 oldincludedir='/usr/include'
707 docdir='${datarootdir}/doc/${PACKAGE}'
708 infodir='${datarootdir}/info'
713 libdir='${exec_prefix}/lib'
714 localedir='${datarootdir}/locale'
715 mandir='${datarootdir}/man'
721 # If the previous option needs an argument, assign it.
722 if test -n "$ac_prev"; then
723 eval $ac_prev=\$ac_option
729 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
733 # Accept the important Cygnus configure options, so we can diagnose typos.
735 case $ac_dashdash$ac_option in
739 -bindir | --bindir | --bindi | --bind | --bin | --bi)
741 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
744 -build | --build | --buil | --bui | --bu)
745 ac_prev=build_alias ;;
746 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
747 build_alias=$ac_optarg ;;
749 -cache-file | --cache-file | --cache-fil | --cache-fi \
750 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
751 ac_prev=cache_file ;;
752 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
753 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
754 cache_file=$ac_optarg ;;
757 cache_file=config.cache ;;
759 -datadir | --datadir | --datadi | --datad)
761 -datadir=* | --datadir=* | --datadi=* | --datad=*)
762 datadir=$ac_optarg ;;
764 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
765 | --dataroo | --dataro | --datar)
766 ac_prev=datarootdir ;;
767 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
768 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
769 datarootdir=$ac_optarg ;;
771 -disable-* | --disable-*)
772 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
773 # Reject names that are not valid shell variable names.
774 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
775 as_fn_error "invalid feature name: $ac_useropt"
776 ac_useropt_orig=$ac_useropt
777 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
778 case $ac_user_opts in
782 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
783 ac_unrecognized_sep=', ';;
785 eval enable_$ac_useropt=no ;;
787 -docdir | --docdir | --docdi | --doc | --do)
789 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
792 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
794 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
797 -enable-* | --enable-*)
798 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
799 # Reject names that are not valid shell variable names.
800 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
801 as_fn_error "invalid feature name: $ac_useropt"
802 ac_useropt_orig=$ac_useropt
803 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
804 case $ac_user_opts in
808 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
809 ac_unrecognized_sep=', ';;
811 eval enable_$ac_useropt=\$ac_optarg ;;
813 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
814 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
815 | --exec | --exe | --ex)
816 ac_prev=exec_prefix ;;
817 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
818 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
819 | --exec=* | --exe=* | --ex=*)
820 exec_prefix=$ac_optarg ;;
822 -gas | --gas | --ga | --g)
823 # Obsolete; use --with-gas.
826 -help | --help | --hel | --he | -h)
828 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
829 ac_init_help=recursive ;;
830 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
831 ac_init_help=short ;;
833 -host | --host | --hos | --ho)
834 ac_prev=host_alias ;;
835 -host=* | --host=* | --hos=* | --ho=*)
836 host_alias=$ac_optarg ;;
838 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
840 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
842 htmldir=$ac_optarg ;;
844 -includedir | --includedir | --includedi | --included | --include \
845 | --includ | --inclu | --incl | --inc)
846 ac_prev=includedir ;;
847 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
848 | --includ=* | --inclu=* | --incl=* | --inc=*)
849 includedir=$ac_optarg ;;
851 -infodir | --infodir | --infodi | --infod | --info | --inf)
853 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
854 infodir=$ac_optarg ;;
856 -libdir | --libdir | --libdi | --libd)
858 -libdir=* | --libdir=* | --libdi=* | --libd=*)
861 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
862 | --libexe | --libex | --libe)
863 ac_prev=libexecdir ;;
864 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
865 | --libexe=* | --libex=* | --libe=*)
866 libexecdir=$ac_optarg ;;
868 -localedir | --localedir | --localedi | --localed | --locale)
870 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
871 localedir=$ac_optarg ;;
873 -localstatedir | --localstatedir | --localstatedi | --localstated \
874 | --localstate | --localstat | --localsta | --localst | --locals)
875 ac_prev=localstatedir ;;
876 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
877 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
878 localstatedir=$ac_optarg ;;
880 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
882 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
886 # Obsolete; use --without-fp.
889 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
890 | --no-cr | --no-c | -n)
893 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
894 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
897 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
898 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
899 | --oldin | --oldi | --old | --ol | --o)
900 ac_prev=oldincludedir ;;
901 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
902 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
903 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
904 oldincludedir=$ac_optarg ;;
906 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
908 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
911 -program-prefix | --program-prefix | --program-prefi | --program-pref \
912 | --program-pre | --program-pr | --program-p)
913 ac_prev=program_prefix ;;
914 -program-prefix=* | --program-prefix=* | --program-prefi=* \
915 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
916 program_prefix=$ac_optarg ;;
918 -program-suffix | --program-suffix | --program-suffi | --program-suff \
919 | --program-suf | --program-su | --program-s)
920 ac_prev=program_suffix ;;
921 -program-suffix=* | --program-suffix=* | --program-suffi=* \
922 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
923 program_suffix=$ac_optarg ;;
925 -program-transform-name | --program-transform-name \
926 | --program-transform-nam | --program-transform-na \
927 | --program-transform-n | --program-transform- \
928 | --program-transform | --program-transfor \
929 | --program-transfo | --program-transf \
930 | --program-trans | --program-tran \
931 | --progr-tra | --program-tr | --program-t)
932 ac_prev=program_transform_name ;;
933 -program-transform-name=* | --program-transform-name=* \
934 | --program-transform-nam=* | --program-transform-na=* \
935 | --program-transform-n=* | --program-transform-=* \
936 | --program-transform=* | --program-transfor=* \
937 | --program-transfo=* | --program-transf=* \
938 | --program-trans=* | --program-tran=* \
939 | --progr-tra=* | --program-tr=* | --program-t=*)
940 program_transform_name=$ac_optarg ;;
942 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
944 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
947 -psdir | --psdir | --psdi | --psd | --ps)
949 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
952 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
953 | -silent | --silent | --silen | --sile | --sil)
956 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
958 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
960 sbindir=$ac_optarg ;;
962 -sharedstatedir | --sharedstatedir | --sharedstatedi \
963 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
964 | --sharedst | --shareds | --shared | --share | --shar \
966 ac_prev=sharedstatedir ;;
967 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
968 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
969 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
971 sharedstatedir=$ac_optarg ;;
973 -site | --site | --sit)
975 -site=* | --site=* | --sit=*)
978 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
980 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
983 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
984 | --syscon | --sysco | --sysc | --sys | --sy)
985 ac_prev=sysconfdir ;;
986 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
987 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
988 sysconfdir=$ac_optarg ;;
990 -target | --target | --targe | --targ | --tar | --ta | --t)
991 ac_prev=target_alias ;;
992 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
993 target_alias=$ac_optarg ;;
995 -v | -verbose | --verbose | --verbos | --verbo | --verb)
998 -version | --version | --versio | --versi | --vers | -V)
1002 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005 as_fn_error "invalid package name: $ac_useropt"
1006 ac_useropt_orig=$ac_useropt
1007 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008 case $ac_user_opts in
1012 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1013 ac_unrecognized_sep=', ';;
1015 eval with_$ac_useropt=\$ac_optarg ;;
1017 -without-* | --without-*)
1018 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1019 # Reject names that are not valid shell variable names.
1020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1021 as_fn_error "invalid package name: $ac_useropt"
1022 ac_useropt_orig=$ac_useropt
1023 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024 case $ac_user_opts in
1028 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1029 ac_unrecognized_sep=', ';;
1031 eval with_$ac_useropt=no ;;
1034 # Obsolete; use --with-x.
1037 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1038 | --x-incl | --x-inc | --x-in | --x-i)
1039 ac_prev=x_includes ;;
1040 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1041 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1042 x_includes=$ac_optarg ;;
1044 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1045 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1046 ac_prev=x_libraries ;;
1047 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1048 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1049 x_libraries=$ac_optarg ;;
1051 -*) as_fn_error "unrecognized option: \`$ac_option'
1052 Try \`$0 --help' for more information."
1056 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1057 # Reject names that are not valid shell variable names.
1058 case $ac_envvar in #(
1059 '' | [0-9]* | *[!_$as_cr_alnum]* )
1060 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1062 eval $ac_envvar=\$ac_optarg
1063 export $ac_envvar ;;
1066 # FIXME: should be removed in autoconf 3.0.
1067 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1068 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1069 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1070 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1076 if test -n "$ac_prev"; then
1077 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1078 as_fn_error "missing argument to $ac_option"
1081 if test -n "$ac_unrecognized_opts"; then
1082 case $enable_option_checking in
1084 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1085 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1089 # Check all directory arguments for consistency.
1090 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1091 datadir sysconfdir sharedstatedir localstatedir includedir \
1092 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1093 libdir localedir mandir
1095 eval ac_val=\$$ac_var
1096 # Remove trailing slashes.
1099 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1100 eval $ac_var=\$ac_val;;
1102 # Be sure to have absolute directory names.
1104 [\\/$]* | ?:[\\/]* ) continue;;
1105 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1107 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1110 # There might be people who depend on the old broken behavior: `$host'
1111 # used to hold the argument of --host etc.
1112 # FIXME: To remove some day.
1115 target=$target_alias
1117 # FIXME: To remove some day.
1118 if test "x$host_alias" != x; then
1119 if test "x$build_alias" = x; then
1120 cross_compiling=maybe
1121 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1122 If a cross compiler is detected then cross compile mode will be used." >&2
1123 elif test "x$build_alias" != "x$host_alias"; then
1129 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1131 test "$silent" = yes && exec 6>/dev/null
1134 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1135 ac_ls_di=`ls -di .` &&
1136 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1137 as_fn_error "working directory cannot be determined"
1138 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1139 as_fn_error "pwd does not report name of working directory"
1142 # Find the source files, if location was not specified.
1143 if test -z "$srcdir"; then
1144 ac_srcdir_defaulted=yes
1145 # Try the directory containing this script, then the parent directory.
1146 ac_confdir=`$as_dirname -- "$as_myself" ||
1147 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1148 X"$as_myself" : 'X\(//\)[^/]' \| \
1149 X"$as_myself" : 'X\(//\)$' \| \
1150 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1151 $as_echo X"$as_myself" |
1152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1170 if test ! -r "$srcdir/$ac_unique_file"; then
1174 ac_srcdir_defaulted=no
1176 if test ! -r "$srcdir/$ac_unique_file"; then
1177 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1178 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1180 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1182 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1184 # When building in place, set srcdir=.
1185 if test "$ac_abs_confdir" = "$ac_pwd"; then
1188 # Remove unnecessary trailing slashes from srcdir.
1189 # Double slashes in file names in object file debugging info
1190 # mess up M-x gdb in Emacs.
1192 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1194 for ac_var in $ac_precious_vars; do
1195 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1196 eval ac_env_${ac_var}_value=\$${ac_var}
1197 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1198 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1202 # Report the --help message.
1204 if test "$ac_init_help" = "long"; then
1205 # Omit some internal or obsolete options to make the list less imposing.
1206 # This message is too long to be a string in the A/UX 3.1 sh.
1208 \`configure' configures this package to adapt to many kinds of systems.
1210 Usage: $0 [OPTION]... [VAR=VALUE]...
1212 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1213 VAR=VALUE. See below for descriptions of some of the useful variables.
1215 Defaults for the options are specified in brackets.
1218 -h, --help display this help and exit
1219 --help=short display options specific to this package
1220 --help=recursive display the short help of all the included packages
1221 -V, --version display version information and exit
1222 -q, --quiet, --silent do not print \`checking...' messages
1223 --cache-file=FILE cache test results in FILE [disabled]
1224 -C, --config-cache alias for \`--cache-file=config.cache'
1225 -n, --no-create do not create output files
1226 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1228 Installation directories:
1229 --prefix=PREFIX install architecture-independent files in PREFIX
1230 [$ac_default_prefix]
1231 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1234 By default, \`make install' will install all the files in
1235 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1236 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1237 for instance \`--prefix=\$HOME'.
1239 For better control, use the options below.
1241 Fine tuning of the installation directories:
1242 --bindir=DIR user executables [EPREFIX/bin]
1243 --sbindir=DIR system admin executables [EPREFIX/sbin]
1244 --libexecdir=DIR program executables [EPREFIX/libexec]
1245 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1246 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1247 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1248 --libdir=DIR object code libraries [EPREFIX/lib]
1249 --includedir=DIR C header files [PREFIX/include]
1250 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1251 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1252 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1253 --infodir=DIR info documentation [DATAROOTDIR/info]
1254 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1255 --mandir=DIR man documentation [DATAROOTDIR/man]
1256 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1257 --htmldir=DIR html documentation [DOCDIR]
1258 --dvidir=DIR dvi documentation [DOCDIR]
1259 --pdfdir=DIR pdf documentation [DOCDIR]
1260 --psdir=DIR ps documentation [DOCDIR]
1266 --program-prefix=PREFIX prepend PREFIX to installed program names
1267 --program-suffix=SUFFIX append SUFFIX to installed program names
1268 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1271 --build=BUILD configure for building on BUILD [guessed]
1272 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1273 --target=TARGET configure for building compilers for TARGET [HOST]
1277 if test -n "$ac_init_help"; then
1282 --disable-option-checking ignore unrecognized --enable/--with options
1283 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1284 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1285 --enable-sim Enable the GNU simulator
1287 Some influential environment variables:
1288 CC C compiler command
1289 CFLAGS C compiler flags
1290 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1291 nonstandard directory <lib dir>
1292 LIBS libraries to pass to the linker, e.g. -l<library>
1293 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1294 you have headers in a nonstandard directory <include dir>
1296 Use these variables to override the choices made by `configure' or to help
1297 it to find libraries and programs with nonstandard names/locations.
1299 Report bugs to the package provider.
1304 if test "$ac_init_help" = "recursive"; then
1305 # If there are subdirs, report their specific --help.
1306 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1307 test -d "$ac_dir" ||
1308 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1313 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1315 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1316 # A ".." for each directory in $ac_dir_suffix.
1317 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1318 case $ac_top_builddir_sub in
1319 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1320 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1323 ac_abs_top_builddir=$ac_pwd
1324 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1325 # for backward compatibility:
1326 ac_top_builddir=$ac_top_build_prefix
1329 .) # We are building in place.
1331 ac_top_srcdir=$ac_top_builddir_sub
1332 ac_abs_top_srcdir=$ac_pwd ;;
1333 [\\/]* | ?:[\\/]* ) # Absolute name.
1334 ac_srcdir=$srcdir$ac_dir_suffix;
1335 ac_top_srcdir=$srcdir
1336 ac_abs_top_srcdir=$srcdir ;;
1338 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1339 ac_top_srcdir=$ac_top_build_prefix$srcdir
1340 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1342 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1344 cd "$ac_dir" || { ac_status=$?; continue; }
1345 # Check for guested configure.
1346 if test -f "$ac_srcdir/configure.gnu"; then
1348 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1349 elif test -f "$ac_srcdir/configure"; then
1351 $SHELL "$ac_srcdir/configure" --help=recursive
1353 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1355 cd "$ac_pwd" || { ac_status=$?; break; }
1359 test -n "$ac_init_help" && exit $ac_status
1360 if $ac_init_version; then
1363 generated by GNU Autoconf 2.64
1365 Copyright (C) 2009 Free Software Foundation, Inc.
1366 This configure script is free software; the Free Software Foundation
1367 gives unlimited permission to copy, distribute and modify it.
1372 ## ------------------------ ##
1373 ## Autoconf initialization. ##
1374 ## ------------------------ ##
1376 # ac_fn_c_try_compile LINENO
1377 # --------------------------
1378 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1379 ac_fn_c_try_compile ()
1381 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1382 rm -f conftest.$ac_objext
1383 if { { ac_try="$ac_compile"
1385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1386 *) ac_try_echo=$ac_try;;
1388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1389 $as_echo "$ac_try_echo"; } >&5
1390 (eval "$ac_compile") 2>conftest.err
1392 if test -s conftest.err; then
1393 grep -v '^ *+' conftest.err >conftest.er1
1394 cat conftest.er1 >&5
1395 mv -f conftest.er1 conftest.err
1397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1398 test $ac_status = 0; } && {
1399 test -z "$ac_c_werror_flag" ||
1400 test ! -s conftest.err
1401 } && test -s conftest.$ac_objext; then :
1404 $as_echo "$as_me: failed program was:" >&5
1405 sed 's/^/| /' conftest.$ac_ext >&5
1409 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1412 } # ac_fn_c_try_compile
1413 cat >config.log <<_ACEOF
1414 This file contains any messages produced by compilers while
1415 running configure, to aid debugging if configure makes a mistake.
1417 It was created by $as_me, which was
1418 generated by GNU Autoconf 2.64. Invocation command line was
1430 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1431 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1432 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1433 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1434 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1436 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1437 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1439 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1440 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1441 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1442 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1443 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1444 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1445 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1453 test -z "$as_dir" && as_dir=.
1454 $as_echo "PATH: $as_dir"
1470 # Keep a trace of the command line.
1471 # Strip out --no-create and --no-recursion so they do not pile up.
1472 # Strip out --silent because we don't want to record it for future runs.
1473 # Also quote any args containing shell meta-characters.
1474 # Make two passes to allow for proper duplicate-argument suppression.
1478 ac_must_keep_next=false
1484 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1486 | -silent | --silent | --silen | --sile | --sil)
1489 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1492 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1494 as_fn_append ac_configure_args1 " '$ac_arg'"
1495 if test $ac_must_keep_next = true; then
1496 ac_must_keep_next=false # Got value, back to normal.
1499 *=* | --config-cache | -C | -disable-* | --disable-* \
1500 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1501 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1502 | -with-* | --with-* | -without-* | --without-* | --x)
1503 case "$ac_configure_args0 " in
1504 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1507 -* ) ac_must_keep_next=true ;;
1510 as_fn_append ac_configure_args " '$ac_arg'"
1515 { ac_configure_args0=; unset ac_configure_args0;}
1516 { ac_configure_args1=; unset ac_configure_args1;}
1518 # When interrupted or exit'd, cleanup temporary files, and complete
1519 # config.log. We remove comments because anyway the quotes in there
1520 # would cause problems or look ugly.
1521 # WARNING: Use '\'' to represent an apostrophe within the trap.
1522 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1523 trap 'exit_status=$?
1524 # Save into config.log some information that might help in debugging.
1529 ## ---------------- ##
1530 ## Cache variables. ##
1531 ## ---------------- ##
1534 # The following way of writing the cache mishandles newlines in values,
1536 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1537 eval ac_val=\$$ac_var
1541 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1542 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1545 _ | IFS | as_nl) ;; #(
1546 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1547 *) { eval $ac_var=; unset $ac_var;} ;;
1552 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1553 *${as_nl}ac_space=\ *)
1555 "s/'\''/'\''\\\\'\'''\''/g;
1556 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1559 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1567 ## ----------------- ##
1568 ## Output variables. ##
1569 ## ----------------- ##
1572 for ac_var in $ac_subst_vars
1574 eval ac_val=\$$ac_var
1576 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1578 $as_echo "$ac_var='\''$ac_val'\''"
1582 if test -n "$ac_subst_files"; then
1584 ## ------------------- ##
1585 ## File substitutions. ##
1586 ## ------------------- ##
1589 for ac_var in $ac_subst_files
1591 eval ac_val=\$$ac_var
1593 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1595 $as_echo "$ac_var='\''$ac_val'\''"
1600 if test -s confdefs.h; then
1610 test "$ac_signal" != 0 &&
1611 $as_echo "$as_me: caught signal $ac_signal"
1612 $as_echo "$as_me: exit $exit_status"
1614 rm -f core *.core core.conftest.* &&
1615 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1618 for ac_signal in 1 2 13 15; do
1619 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1623 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1624 rm -f -r conftest* confdefs.h
1626 $as_echo "/* confdefs.h */" > confdefs.h
1628 # Predefined preprocessor variables.
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE_NAME "$PACKAGE_NAME"
1634 cat >>confdefs.h <<_ACEOF
1635 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1638 cat >>confdefs.h <<_ACEOF
1639 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1642 cat >>confdefs.h <<_ACEOF
1643 #define PACKAGE_STRING "$PACKAGE_STRING"
1646 cat >>confdefs.h <<_ACEOF
1647 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1650 cat >>confdefs.h <<_ACEOF
1651 #define PACKAGE_URL "$PACKAGE_URL"
1655 # Let the site file select an alternate cache file if it wants to.
1656 # Prefer an explicitly selected file to automatically selected ones.
1659 if test -n "$CONFIG_SITE"; then
1660 ac_site_file1=$CONFIG_SITE
1661 elif test "x$prefix" != xNONE; then
1662 ac_site_file1=$prefix/share/config.site
1663 ac_site_file2=$prefix/etc/config.site
1665 ac_site_file1=$ac_default_prefix/share/config.site
1666 ac_site_file2=$ac_default_prefix/etc/config.site
1668 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1670 test "x$ac_site_file" = xNONE && continue
1671 if test -r "$ac_site_file"; then
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1673 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1674 sed 's/^/| /' "$ac_site_file" >&5
1679 if test -r "$cache_file"; then
1680 # Some versions of bash will fail to source /dev/null (special
1681 # files actually), so we avoid doing that.
1682 if test -f "$cache_file"; then
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1684 $as_echo "$as_me: loading cache $cache_file" >&6;}
1686 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1687 *) . "./$cache_file";;
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1692 $as_echo "$as_me: creating cache $cache_file" >&6;}
1696 # Check that the precious variables saved in the cache have kept the same
1698 ac_cache_corrupted=false
1699 for ac_var in $ac_precious_vars; do
1700 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1701 eval ac_new_set=\$ac_env_${ac_var}_set
1702 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1703 eval ac_new_val=\$ac_env_${ac_var}_value
1704 case $ac_old_set,$ac_new_set in
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1707 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1708 ac_cache_corrupted=: ;;
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1711 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1712 ac_cache_corrupted=: ;;
1715 if test "x$ac_old_val" != "x$ac_new_val"; then
1716 # differences in whitespace do not lead to failure.
1717 ac_old_val_w=`echo x $ac_old_val`
1718 ac_new_val_w=`echo x $ac_new_val`
1719 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1721 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1722 ac_cache_corrupted=:
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1725 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1726 eval $ac_var=\$ac_old_val
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1729 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1731 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1734 # Pass precious variables to config.status.
1735 if test "$ac_new_set" = set; then
1737 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1738 *) ac_arg=$ac_var=$ac_new_val ;;
1740 case " $ac_configure_args " in
1741 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1742 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1746 if $ac_cache_corrupted; then
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1750 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1751 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1753 ## -------------------- ##
1754 ## Main body of script. ##
1755 ## -------------------- ##
1758 ac_cpp='$CPP $CPPFLAGS'
1759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1769 ac_cpp='$CPP $CPPFLAGS'
1770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1773 if test -n "$ac_tool_prefix"; then
1774 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1775 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1777 $as_echo_n "checking for $ac_word... " >&6; }
1778 if test "${ac_cv_prog_CC+set}" = set; then :
1779 $as_echo_n "(cached) " >&6
1781 if test -n "$CC"; then
1782 ac_cv_prog_CC="$CC" # Let the user override the test.
1784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1788 test -z "$as_dir" && as_dir=.
1789 for ac_exec_ext in '' $ac_executable_extensions; do
1790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1791 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1802 if test -n "$CC"; then
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1804 $as_echo "$CC" >&6; }
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1807 $as_echo "no" >&6; }
1812 if test -z "$ac_cv_prog_CC"; then
1814 # Extract the first word of "gcc", so it can be a program name with args.
1815 set dummy gcc; ac_word=$2
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1817 $as_echo_n "checking for $ac_word... " >&6; }
1818 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1819 $as_echo_n "(cached) " >&6
1821 if test -n "$ac_ct_CC"; then
1822 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1828 test -z "$as_dir" && as_dir=.
1829 for ac_exec_ext in '' $ac_executable_extensions; do
1830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1831 ac_cv_prog_ac_ct_CC="gcc"
1832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1841 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1842 if test -n "$ac_ct_CC"; then
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1844 $as_echo "$ac_ct_CC" >&6; }
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1847 $as_echo "no" >&6; }
1850 if test "x$ac_ct_CC" = x; then
1853 case $cross_compiling:$ac_tool_warned in
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1857 ac_tool_warned=yes ;;
1865 if test -z "$CC"; then
1866 if test -n "$ac_tool_prefix"; then
1867 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1868 set dummy ${ac_tool_prefix}cc; ac_word=$2
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1870 $as_echo_n "checking for $ac_word... " >&6; }
1871 if test "${ac_cv_prog_CC+set}" = set; then :
1872 $as_echo_n "(cached) " >&6
1874 if test -n "$CC"; then
1875 ac_cv_prog_CC="$CC" # Let the user override the test.
1877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 test -z "$as_dir" && as_dir=.
1882 for ac_exec_ext in '' $ac_executable_extensions; do
1883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1884 ac_cv_prog_CC="${ac_tool_prefix}cc"
1885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1895 if test -n "$CC"; then
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1897 $as_echo "$CC" >&6; }
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1900 $as_echo "no" >&6; }
1906 if test -z "$CC"; then
1907 # Extract the first word of "cc", so it can be a program name with args.
1908 set dummy cc; ac_word=$2
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1910 $as_echo_n "checking for $ac_word... " >&6; }
1911 if test "${ac_cv_prog_CC+set}" = set; then :
1912 $as_echo_n "(cached) " >&6
1914 if test -n "$CC"; then
1915 ac_cv_prog_CC="$CC" # Let the user override the test.
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1922 test -z "$as_dir" && as_dir=.
1923 for ac_exec_ext in '' $ac_executable_extensions; do
1924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1925 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1926 ac_prog_rejected=yes
1930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1937 if test $ac_prog_rejected = yes; then
1938 # We found a bogon in the path, so make sure we never use it.
1939 set dummy $ac_cv_prog_CC
1941 if test $# != 0; then
1942 # We chose a different compiler from the bogus one.
1943 # However, it has the same basename, so the bogon will be chosen
1944 # first if we set CC to just the basename; use the full file name.
1946 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1952 if test -n "$CC"; then
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1954 $as_echo "$CC" >&6; }
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1957 $as_echo "no" >&6; }
1962 if test -z "$CC"; then
1963 if test -n "$ac_tool_prefix"; then
1964 for ac_prog in cl.exe
1966 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1967 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1969 $as_echo_n "checking for $ac_word... " >&6; }
1970 if test "${ac_cv_prog_CC+set}" = set; then :
1971 $as_echo_n "(cached) " >&6
1973 if test -n "$CC"; then
1974 ac_cv_prog_CC="$CC" # Let the user override the test.
1976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1980 test -z "$as_dir" && as_dir=.
1981 for ac_exec_ext in '' $ac_executable_extensions; do
1982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1983 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1994 if test -n "$CC"; then
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1996 $as_echo "$CC" >&6; }
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1999 $as_echo "no" >&6; }
2003 test -n "$CC" && break
2006 if test -z "$CC"; then
2008 for ac_prog in cl.exe
2010 # Extract the first word of "$ac_prog", so it can be a program name with args.
2011 set dummy $ac_prog; ac_word=$2
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2013 $as_echo_n "checking for $ac_word... " >&6; }
2014 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2015 $as_echo_n "(cached) " >&6
2017 if test -n "$ac_ct_CC"; then
2018 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2024 test -z "$as_dir" && as_dir=.
2025 for ac_exec_ext in '' $ac_executable_extensions; do
2026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2027 ac_cv_prog_ac_ct_CC="$ac_prog"
2028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2037 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2038 if test -n "$ac_ct_CC"; then
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2040 $as_echo "$ac_ct_CC" >&6; }
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2043 $as_echo "no" >&6; }
2047 test -n "$ac_ct_CC" && break
2050 if test "x$ac_ct_CC" = x; then
2053 case $cross_compiling:$ac_tool_warned in
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2057 ac_tool_warned=yes ;;
2066 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2068 as_fn_error "no acceptable C compiler found in \$PATH
2069 See \`config.log' for more details." "$LINENO" 5; }
2071 # Provide some information about the compiler.
2072 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2075 for ac_option in --version -v -V -qversion; do
2076 { { ac_try="$ac_compiler $ac_option >&5"
2078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2079 *) ac_try_echo=$ac_try;;
2081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2082 $as_echo "$ac_try_echo"; } >&5
2083 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2085 if test -s conftest.err; then
2087 ... rest of stderr output deleted ...
2088 10q' conftest.err >conftest.er1
2089 cat conftest.er1 >&5
2090 rm -f conftest.er1 conftest.err
2092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2093 test $ac_status = 0; }
2096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2107 ac_clean_files_save=$ac_clean_files
2108 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2109 # Try to create an executable without -o first, disregard a.out.
2110 # It will help us diagnose broken compilers, and finding out an intuition
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2113 $as_echo_n "checking for C compiler default output file name... " >&6; }
2114 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2116 # The possible output files:
2117 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2120 for ac_file in $ac_files
2123 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2124 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2129 if { { ac_try="$ac_link_default"
2131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2132 *) ac_try_echo=$ac_try;;
2134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2135 $as_echo "$ac_try_echo"; } >&5
2136 (eval "$ac_link_default") 2>&5
2138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2139 test $ac_status = 0; }; then :
2140 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2141 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2142 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2143 # so that the user can short-circuit this test for compilers unknown to
2145 for ac_file in $ac_files ''
2147 test -f "$ac_file" || continue
2149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2152 # We found the default executable, but exeext='' is most
2156 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2158 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2160 # We set ac_cv_exeext here because the later test for it is not
2161 # safe: cross compilers may not add the suffix if given an `-o'
2162 # argument, so we may need to know it at that point already.
2163 # Even if this section looks crufty: it has the advantage of
2170 test "$ac_cv_exeext" = no && ac_cv_exeext=
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2176 $as_echo "$ac_file" >&6; }
2177 if test -z "$ac_file"; then :
2178 $as_echo "$as_me: failed program was:" >&5
2179 sed 's/^/| /' conftest.$ac_ext >&5
2181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2183 { as_fn_set_status 77
2184 as_fn_error "C compiler cannot create executables
2185 See \`config.log' for more details." "$LINENO" 5; }; }
2187 ac_exeext=$ac_cv_exeext
2189 # Check that the compiler produces executables we can run. If not, either
2190 # the compiler is broken, or we cross compile.
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2192 $as_echo_n "checking whether the C compiler works... " >&6; }
2193 # If not cross compiling, check that we can run a simple program.
2194 if test "$cross_compiling" != yes; then
2195 if { ac_try='./$ac_file'
2196 { { case "(($ac_try" in
2197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2198 *) ac_try_echo=$ac_try;;
2200 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2201 $as_echo "$ac_try_echo"; } >&5
2202 (eval "$ac_try") 2>&5
2204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2205 test $ac_status = 0; }; }; then
2208 if test "$cross_compiling" = maybe; then
2211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2213 as_fn_error "cannot run C compiled programs.
2214 If you meant to cross compile, use \`--host'.
2215 See \`config.log' for more details." "$LINENO" 5; }
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2220 $as_echo "yes" >&6; }
2222 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2223 ac_clean_files=$ac_clean_files_save
2224 # Check that the compiler produces executables we can run. If not, either
2225 # the compiler is broken, or we cross compile.
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2227 $as_echo_n "checking whether we are cross compiling... " >&6; }
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2229 $as_echo "$cross_compiling" >&6; }
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2232 $as_echo_n "checking for suffix of executables... " >&6; }
2233 if { { ac_try="$ac_link"
2235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2236 *) ac_try_echo=$ac_try;;
2238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2239 $as_echo "$ac_try_echo"; } >&5
2240 (eval "$ac_link") 2>&5
2242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2243 test $ac_status = 0; }; then :
2244 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2245 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2246 # work properly (i.e., refer to `conftest.exe'), while it won't with
2248 for ac_file in conftest.exe conftest conftest.*; do
2249 test -f "$ac_file" || continue
2251 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2252 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2260 as_fn_error "cannot compute suffix of executables: cannot compile and link
2261 See \`config.log' for more details." "$LINENO" 5; }
2263 rm -f conftest$ac_cv_exeext
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2265 $as_echo "$ac_cv_exeext" >&6; }
2267 rm -f conftest.$ac_ext
2268 EXEEXT=$ac_cv_exeext
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2271 $as_echo_n "checking for suffix of object files... " >&6; }
2272 if test "${ac_cv_objext+set}" = set; then :
2273 $as_echo_n "(cached) " >&6
2275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2276 /* end confdefs.h. */
2286 rm -f conftest.o conftest.obj
2287 if { { ac_try="$ac_compile"
2289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2290 *) ac_try_echo=$ac_try;;
2292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2293 $as_echo "$ac_try_echo"; } >&5
2294 (eval "$ac_compile") 2>&5
2296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2297 test $ac_status = 0; }; then :
2298 for ac_file in conftest.o conftest.obj conftest.*; do
2299 test -f "$ac_file" || continue;
2301 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2302 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2307 $as_echo "$as_me: failed program was:" >&5
2308 sed 's/^/| /' conftest.$ac_ext >&5
2310 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2312 as_fn_error "cannot compute suffix of object files: cannot compile
2313 See \`config.log' for more details." "$LINENO" 5; }
2315 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2318 $as_echo "$ac_cv_objext" >&6; }
2319 OBJEXT=$ac_cv_objext
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2322 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2323 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2324 $as_echo_n "(cached) " >&6
2326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2327 /* end confdefs.h. */
2340 if ac_fn_c_try_compile "$LINENO"; then :
2345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2346 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2350 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2351 if test $ac_compiler_gnu = yes; then
2356 ac_test_CFLAGS=${CFLAGS+set}
2357 ac_save_CFLAGS=$CFLAGS
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2359 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2360 if test "${ac_cv_prog_cc_g+set}" = set; then :
2361 $as_echo_n "(cached) " >&6
2363 ac_save_c_werror_flag=$ac_c_werror_flag
2364 ac_c_werror_flag=yes
2367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2378 if ac_fn_c_try_compile "$LINENO"; then :
2382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2383 /* end confdefs.h. */
2393 if ac_fn_c_try_compile "$LINENO"; then :
2396 ac_c_werror_flag=$ac_save_c_werror_flag
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2409 if ac_fn_c_try_compile "$LINENO"; then :
2412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2417 ac_c_werror_flag=$ac_save_c_werror_flag
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2420 $as_echo "$ac_cv_prog_cc_g" >&6; }
2421 if test "$ac_test_CFLAGS" = set; then
2422 CFLAGS=$ac_save_CFLAGS
2423 elif test $ac_cv_prog_cc_g = yes; then
2424 if test "$GCC" = yes; then
2430 if test "$GCC" = yes; then
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2437 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2438 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2439 $as_echo_n "(cached) " >&6
2441 ac_cv_prog_cc_c89=no
2443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2444 /* end confdefs.h. */
2447 #include <sys/types.h>
2448 #include <sys/stat.h>
2449 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2450 struct buf { int x; };
2451 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2452 static char *e (p, i)
2458 static char *f (char * (*g) (char **, int), char **p, ...)
2463 s = g (p, va_arg (v,int));
2468 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2469 function prototypes and stuff, but not '\xHH' hex character constants.
2470 These don't provoke an error unfortunately, instead are silently treated
2471 as 'x'. The following induces an error, until -std is added to get
2472 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2473 array size at least. It's necessary to write '\x00'==0 to get something
2474 that's true only with -std. */
2475 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2477 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2478 inside strings and character constants. */
2480 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2482 int test (int i, double x);
2483 struct s1 {int (*f) (int a);};
2484 struct s2 {int (*f) (double a);};
2485 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2491 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2496 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2497 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2499 CC="$ac_save_CC $ac_arg"
2500 if ac_fn_c_try_compile "$LINENO"; then :
2501 ac_cv_prog_cc_c89=$ac_arg
2503 rm -f core conftest.err conftest.$ac_objext
2504 test "x$ac_cv_prog_cc_c89" != "xno" && break
2506 rm -f conftest.$ac_ext
2511 case "x$ac_cv_prog_cc_c89" in
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2514 $as_echo "none needed" >&6; } ;;
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2517 $as_echo "unsupported" >&6; } ;;
2519 CC="$CC $ac_cv_prog_cc_c89"
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2521 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2523 if test "x$ac_cv_prog_cc_c89" != xno; then :
2528 ac_cpp='$CPP $CPPFLAGS'
2529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2534 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2535 for ac_t in install-sh install.sh shtool; do
2536 if test -f "$ac_dir/$ac_t"; then
2538 ac_install_sh="$ac_aux_dir/$ac_t -c"
2543 if test -z "$ac_aux_dir"; then
2544 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2547 # These three variables are undocumented and unsupported,
2548 # and are intended to be withdrawn in a future Autoconf release.
2549 # They can cause serious problems if a builder's source tree is in a directory
2550 # whose full name contains unusual characters.
2551 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2552 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2553 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2556 # Find a good install program. We prefer a C program (faster),
2557 # so one script is as good as another. But avoid the broken or
2558 # incompatible versions:
2559 # SysV /etc/install, /usr/sbin/install
2560 # SunOS /usr/etc/install
2561 # IRIX /sbin/install
2563 # AmigaOS /C/install, which installs bootblocks on floppy discs
2564 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2565 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2566 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2567 # OS/2's system install, which has a completely different semantic
2568 # ./install, which can be erroneously created by make from ./install.sh.
2569 # Reject install programs that cannot install multiple files.
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2571 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2572 if test -z "$INSTALL"; then
2573 if test "${ac_cv_path_install+set}" = set; then :
2574 $as_echo_n "(cached) " >&6
2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580 test -z "$as_dir" && as_dir=.
2581 # Account for people who put trailing slashes in PATH elements.
2582 case $as_dir/ in #((
2583 ./ | .// | /[cC]/* | \
2584 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2585 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2588 # OSF1 and SCO ODT 3.0 have their own names for install.
2589 # Don't use installbsd from OSF since it installs stuff as root
2591 for ac_prog in ginstall scoinst install; do
2592 for ac_exec_ext in '' $ac_executable_extensions; do
2593 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2594 if test $ac_prog = install &&
2595 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2596 # AIX install. It has an incompatible calling convention.
2598 elif test $ac_prog = install &&
2599 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2600 # program-specific install script used by HP pwplus--don't use.
2603 rm -rf conftest.one conftest.two conftest.dir
2604 echo one > conftest.one
2605 echo two > conftest.two
2607 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2608 test -s conftest.one && test -s conftest.two &&
2609 test -s conftest.dir/conftest.one &&
2610 test -s conftest.dir/conftest.two
2612 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2625 rm -rf conftest.one conftest.two conftest.dir
2628 if test "${ac_cv_path_install+set}" = set; then
2629 INSTALL=$ac_cv_path_install
2631 # As a last resort, use the slow shell script. Don't cache a
2632 # value for INSTALL within a source directory, because that will
2633 # break other packages using the cache if that directory is
2634 # removed, or if the value is a relative name.
2635 INSTALL=$ac_install_sh
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2639 $as_echo "$INSTALL" >&6; }
2641 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2642 # It thinks the first close brace ends the variable substitution.
2643 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2645 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2647 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2649 if test -n "$ac_tool_prefix"; then
2650 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2651 set dummy ${ac_tool_prefix}ar; ac_word=$2
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2653 $as_echo_n "checking for $ac_word... " >&6; }
2654 if test "${ac_cv_prog_AR+set}" = set; then :
2655 $as_echo_n "(cached) " >&6
2657 if test -n "$AR"; then
2658 ac_cv_prog_AR="$AR" # Let the user override the test.
2660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 test -z "$as_dir" && as_dir=.
2665 for ac_exec_ext in '' $ac_executable_extensions; do
2666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2667 ac_cv_prog_AR="${ac_tool_prefix}ar"
2668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678 if test -n "$AR"; then
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2680 $as_echo "$AR" >&6; }
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2683 $as_echo "no" >&6; }
2688 if test -z "$ac_cv_prog_AR"; then
2690 # Extract the first word of "ar", so it can be a program name with args.
2691 set dummy ar; ac_word=$2
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2693 $as_echo_n "checking for $ac_word... " >&6; }
2694 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2695 $as_echo_n "(cached) " >&6
2697 if test -n "$ac_ct_AR"; then
2698 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704 test -z "$as_dir" && as_dir=.
2705 for ac_exec_ext in '' $ac_executable_extensions; do
2706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2707 ac_cv_prog_ac_ct_AR="ar"
2708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2717 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2718 if test -n "$ac_ct_AR"; then
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2720 $as_echo "$ac_ct_AR" >&6; }
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2723 $as_echo "no" >&6; }
2726 if test "x$ac_ct_AR" = x; then
2729 case $cross_compiling:$ac_tool_warned in
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2732 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2733 ac_tool_warned=yes ;;
2741 if test -n "$ac_tool_prefix"; then
2742 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2743 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2745 $as_echo_n "checking for $ac_word... " >&6; }
2746 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2747 $as_echo_n "(cached) " >&6
2749 if test -n "$RANLIB"; then
2750 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756 test -z "$as_dir" && as_dir=.
2757 for ac_exec_ext in '' $ac_executable_extensions; do
2758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2759 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 RANLIB=$ac_cv_prog_RANLIB
2770 if test -n "$RANLIB"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2772 $as_echo "$RANLIB" >&6; }
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2775 $as_echo "no" >&6; }
2780 if test -z "$ac_cv_prog_RANLIB"; then
2781 ac_ct_RANLIB=$RANLIB
2782 # Extract the first word of "ranlib", so it can be a program name with args.
2783 set dummy ranlib; ac_word=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2787 $as_echo_n "(cached) " >&6
2789 if test -n "$ac_ct_RANLIB"; then
2790 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799 ac_cv_prog_ac_ct_RANLIB="ranlib"
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2810 if test -n "$ac_ct_RANLIB"; then
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2812 $as_echo "$ac_ct_RANLIB" >&6; }
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2818 if test "x$ac_ct_RANLIB" = x; then
2821 case $cross_compiling:$ac_tool_warned in
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2825 ac_tool_warned=yes ;;
2827 RANLIB=$ac_ct_RANLIB
2830 RANLIB="$ac_cv_prog_RANLIB"
2834 # Make sure we can run config.sub.
2835 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2836 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2839 $as_echo_n "checking build system type... " >&6; }
2840 if test "${ac_cv_build+set}" = set; then :
2841 $as_echo_n "(cached) " >&6
2843 ac_build_alias=$build_alias
2844 test "x$ac_build_alias" = x &&
2845 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2846 test "x$ac_build_alias" = x &&
2847 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2848 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2849 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2853 $as_echo "$ac_cv_build" >&6; }
2854 case $ac_cv_build in
2856 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2859 ac_save_IFS=$IFS; IFS='-'
2865 # Remember, the first character of IFS is used to create $*,
2866 # except with old shells:
2869 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2873 $as_echo_n "checking host system type... " >&6; }
2874 if test "${ac_cv_host+set}" = set; then :
2875 $as_echo_n "(cached) " >&6
2877 if test "x$host_alias" = x; then
2878 ac_cv_host=$ac_cv_build
2880 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2881 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2886 $as_echo "$ac_cv_host" >&6; }
2889 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2892 ac_save_IFS=$IFS; IFS='-'
2898 # Remember, the first character of IFS is used to create $*,
2899 # except with old shells:
2902 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2906 $as_echo_n "checking target system type... " >&6; }
2907 if test "${ac_cv_target+set}" = set; then :
2908 $as_echo_n "(cached) " >&6
2910 if test "x$target_alias" = x; then
2911 ac_cv_target=$ac_cv_host
2913 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2914 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2919 $as_echo "$ac_cv_target" >&6; }
2920 case $ac_cv_target in
2922 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2924 target=$ac_cv_target
2925 ac_save_IFS=$IFS; IFS='-'
2931 # Remember, the first character of IFS is used to create $*,
2932 # except with old shells:
2935 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2938 # The aliases save the names the user supplied, while $host etc.
2939 # will get canonicalized.
2940 test -n "$target_alias" &&
2941 test "$program_prefix$program_suffix$program_transform_name" = \
2943 program_prefix=${target_alias}-
2945 test "$program_prefix" != NONE &&
2946 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2947 # Use a double $ so make ignores it.
2948 test "$program_suffix" != NONE &&
2949 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2950 # Double any \ or $.
2951 # By default was `s,x,x', remove it if useless.
2952 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2953 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2956 ac_cpp='$CPP $CPPFLAGS'
2957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2960 if test -n "$ac_tool_prefix"; then
2961 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2962 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2964 $as_echo_n "checking for $ac_word... " >&6; }
2965 if test "${ac_cv_prog_CC+set}" = set; then :
2966 $as_echo_n "(cached) " >&6
2968 if test -n "$CC"; then
2969 ac_cv_prog_CC="$CC" # Let the user override the test.
2971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2975 test -z "$as_dir" && as_dir=.
2976 for ac_exec_ext in '' $ac_executable_extensions; do
2977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2978 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 if test -n "$CC"; then
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2991 $as_echo "$CC" >&6; }
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2994 $as_echo "no" >&6; }
2999 if test -z "$ac_cv_prog_CC"; then
3001 # Extract the first word of "gcc", so it can be a program name with args.
3002 set dummy gcc; ac_word=$2
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3004 $as_echo_n "checking for $ac_word... " >&6; }
3005 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3006 $as_echo_n "(cached) " >&6
3008 if test -n "$ac_ct_CC"; then
3009 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 test -z "$as_dir" && as_dir=.
3016 for ac_exec_ext in '' $ac_executable_extensions; do
3017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3018 ac_cv_prog_ac_ct_CC="gcc"
3019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3028 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3029 if test -n "$ac_ct_CC"; then
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3031 $as_echo "$ac_ct_CC" >&6; }
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3034 $as_echo "no" >&6; }
3037 if test "x$ac_ct_CC" = x; then
3040 case $cross_compiling:$ac_tool_warned in
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3044 ac_tool_warned=yes ;;
3052 if test -z "$CC"; then
3053 if test -n "$ac_tool_prefix"; then
3054 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3055 set dummy ${ac_tool_prefix}cc; ac_word=$2
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3057 $as_echo_n "checking for $ac_word... " >&6; }
3058 if test "${ac_cv_prog_CC+set}" = set; then :
3059 $as_echo_n "(cached) " >&6
3061 if test -n "$CC"; then
3062 ac_cv_prog_CC="$CC" # Let the user override the test.
3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 test -z "$as_dir" && as_dir=.
3069 for ac_exec_ext in '' $ac_executable_extensions; do
3070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3071 ac_cv_prog_CC="${ac_tool_prefix}cc"
3072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3082 if test -n "$CC"; then
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3084 $as_echo "$CC" >&6; }
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3087 $as_echo "no" >&6; }
3093 if test -z "$CC"; then
3094 # Extract the first word of "cc", so it can be a program name with args.
3095 set dummy cc; ac_word=$2
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097 $as_echo_n "checking for $ac_word... " >&6; }
3098 if test "${ac_cv_prog_CC+set}" = set; then :
3099 $as_echo_n "(cached) " >&6
3101 if test -n "$CC"; then
3102 ac_cv_prog_CC="$CC" # Let the user override the test.
3105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109 test -z "$as_dir" && as_dir=.
3110 for ac_exec_ext in '' $ac_executable_extensions; do
3111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3112 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3113 ac_prog_rejected=yes
3117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3124 if test $ac_prog_rejected = yes; then
3125 # We found a bogon in the path, so make sure we never use it.
3126 set dummy $ac_cv_prog_CC
3128 if test $# != 0; then
3129 # We chose a different compiler from the bogus one.
3130 # However, it has the same basename, so the bogon will be chosen
3131 # first if we set CC to just the basename; use the full file name.
3133 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3139 if test -n "$CC"; then
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3141 $as_echo "$CC" >&6; }
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3149 if test -z "$CC"; then
3150 if test -n "$ac_tool_prefix"; then
3151 for ac_prog in cl.exe
3153 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3154 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3156 $as_echo_n "checking for $ac_word... " >&6; }
3157 if test "${ac_cv_prog_CC+set}" = set; then :
3158 $as_echo_n "(cached) " >&6
3160 if test -n "$CC"; then
3161 ac_cv_prog_CC="$CC" # Let the user override the test.
3163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3167 test -z "$as_dir" && as_dir=.
3168 for ac_exec_ext in '' $ac_executable_extensions; do
3169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3170 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181 if test -n "$CC"; then
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3183 $as_echo "$CC" >&6; }
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186 $as_echo "no" >&6; }
3190 test -n "$CC" && break
3193 if test -z "$CC"; then
3195 for ac_prog in cl.exe
3197 # Extract the first word of "$ac_prog", so it can be a program name with args.
3198 set dummy $ac_prog; ac_word=$2
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200 $as_echo_n "checking for $ac_word... " >&6; }
3201 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3202 $as_echo_n "(cached) " >&6
3204 if test -n "$ac_ct_CC"; then
3205 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3211 test -z "$as_dir" && as_dir=.
3212 for ac_exec_ext in '' $ac_executable_extensions; do
3213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3214 ac_cv_prog_ac_ct_CC="$ac_prog"
3215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3225 if test -n "$ac_ct_CC"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3227 $as_echo "$ac_ct_CC" >&6; }
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230 $as_echo "no" >&6; }
3234 test -n "$ac_ct_CC" && break
3237 if test "x$ac_ct_CC" = x; then
3240 case $cross_compiling:$ac_tool_warned in
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3244 ac_tool_warned=yes ;;
3253 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3255 as_fn_error "no acceptable C compiler found in \$PATH
3256 See \`config.log' for more details." "$LINENO" 5; }
3258 # Provide some information about the compiler.
3259 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3262 for ac_option in --version -v -V -qversion; do
3263 { { ac_try="$ac_compiler $ac_option >&5"
3265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3266 *) ac_try_echo=$ac_try;;
3268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3269 $as_echo "$ac_try_echo"; } >&5
3270 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3272 if test -s conftest.err; then
3274 ... rest of stderr output deleted ...
3275 10q' conftest.err >conftest.er1
3276 cat conftest.er1 >&5
3277 rm -f conftest.er1 conftest.err
3279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3280 test $ac_status = 0; }
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3284 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3285 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3286 $as_echo_n "(cached) " >&6
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3302 if ac_fn_c_try_compile "$LINENO"; then :
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3312 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3313 if test $ac_compiler_gnu = yes; then
3318 ac_test_CFLAGS=${CFLAGS+set}
3319 ac_save_CFLAGS=$CFLAGS
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3321 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3322 if test "${ac_cv_prog_cc_g+set}" = set; then :
3323 $as_echo_n "(cached) " >&6
3325 ac_save_c_werror_flag=$ac_c_werror_flag
3326 ac_c_werror_flag=yes
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3340 if ac_fn_c_try_compile "$LINENO"; then :
3344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3345 /* end confdefs.h. */
3355 if ac_fn_c_try_compile "$LINENO"; then :
3358 ac_c_werror_flag=$ac_save_c_werror_flag
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3371 if ac_fn_c_try_compile "$LINENO"; then :
3374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3379 ac_c_werror_flag=$ac_save_c_werror_flag
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3382 $as_echo "$ac_cv_prog_cc_g" >&6; }
3383 if test "$ac_test_CFLAGS" = set; then
3384 CFLAGS=$ac_save_CFLAGS
3385 elif test $ac_cv_prog_cc_g = yes; then
3386 if test "$GCC" = yes; then
3392 if test "$GCC" = yes; then
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3399 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3400 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3401 $as_echo_n "(cached) " >&6
3403 ac_cv_prog_cc_c89=no
3405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406 /* end confdefs.h. */
3409 #include <sys/types.h>
3410 #include <sys/stat.h>
3411 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3412 struct buf { int x; };
3413 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3414 static char *e (p, i)
3420 static char *f (char * (*g) (char **, int), char **p, ...)
3425 s = g (p, va_arg (v,int));
3430 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3431 function prototypes and stuff, but not '\xHH' hex character constants.
3432 These don't provoke an error unfortunately, instead are silently treated
3433 as 'x'. The following induces an error, until -std is added to get
3434 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3435 array size at least. It's necessary to write '\x00'==0 to get something
3436 that's true only with -std. */
3437 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3439 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3440 inside strings and character constants. */
3442 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3444 int test (int i, double x);
3445 struct s1 {int (*f) (int a);};
3446 struct s2 {int (*f) (double a);};
3447 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3453 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3458 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3459 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3461 CC="$ac_save_CC $ac_arg"
3462 if ac_fn_c_try_compile "$LINENO"; then :
3463 ac_cv_prog_cc_c89=$ac_arg
3465 rm -f core conftest.err conftest.$ac_objext
3466 test "x$ac_cv_prog_cc_c89" != "xno" && break
3468 rm -f conftest.$ac_ext
3473 case "x$ac_cv_prog_cc_c89" in
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3476 $as_echo "none needed" >&6; } ;;
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3479 $as_echo "unsupported" >&6; } ;;
3481 CC="$CC $ac_cv_prog_cc_c89"
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3483 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3485 if test "x$ac_cv_prog_cc_c89" != xno; then :
3490 ac_cpp='$CPP $CPPFLAGS'
3491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3499 if test -n "$ac_tool_prefix"; then
3500 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3501 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3503 $as_echo_n "checking for $ac_word... " >&6; }
3504 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3505 $as_echo_n "(cached) " >&6
3507 if test -n "$RANLIB"; then
3508 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3514 test -z "$as_dir" && as_dir=.
3515 for ac_exec_ext in '' $ac_executable_extensions; do
3516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3517 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3527 RANLIB=$ac_cv_prog_RANLIB
3528 if test -n "$RANLIB"; then
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3530 $as_echo "$RANLIB" >&6; }
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3533 $as_echo "no" >&6; }
3538 if test -z "$ac_cv_prog_RANLIB"; then
3539 ac_ct_RANLIB=$RANLIB
3540 # Extract the first word of "ranlib", so it can be a program name with args.
3541 set dummy ranlib; ac_word=$2
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3543 $as_echo_n "checking for $ac_word... " >&6; }
3544 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3545 $as_echo_n "(cached) " >&6
3547 if test -n "$ac_ct_RANLIB"; then
3548 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 test -z "$as_dir" && as_dir=.
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3557 ac_cv_prog_ac_ct_RANLIB="ranlib"
3558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3567 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3568 if test -n "$ac_ct_RANLIB"; then
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3570 $as_echo "$ac_ct_RANLIB" >&6; }
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3576 if test "x$ac_ct_RANLIB" = x; then
3579 case $cross_compiling:$ac_tool_warned in
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3583 ac_tool_warned=yes ;;
3585 RANLIB=$ac_ct_RANLIB
3588 RANLIB="$ac_cv_prog_RANLIB"
3592 # Put a plausible default for CC_FOR_BUILD in Makefile.
3593 if test "x$cross_compiling" = "xno"; then
3594 CC_FOR_BUILD='$(CC)'
3599 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
3602 # If a cpu ever has more than one simulator to choose from, use
3603 # --enable-sim=... to choose.
3604 # Check whether --enable-sim was given.
3605 if test "${enable_sim+set}" = set; then :
3606 enableval=$enable_sim; case "${enableval}" in
3608 *) as_fn_error "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
3614 if test "${enable_sim}" != no; then
3616 # WHEN ADDING ENTRIES TO THIS MATRIX:
3618 # Make sure that the left side always has two dashes. Otherwise you
3619 # can get spurious matches. Even for unambiguous cases, do this as a
3620 # convention, else the table becomes a real mess to understand and
3634 subdirs="$subdirs aarch64"
3641 subdirs="$subdirs arm"
3648 subdirs="$subdirs avr"
3655 subdirs="$subdirs bfin"
3662 subdirs="$subdirs cr16"
3666 cris-*-* | crisv32-*-*)
3669 subdirs="$subdirs cris"
3676 subdirs="$subdirs d10v"
3683 subdirs="$subdirs frv"
3690 subdirs="$subdirs h8300"
3697 subdirs="$subdirs iq2000"
3704 subdirs="$subdirs lm32"
3711 subdirs="$subdirs m32c"
3718 subdirs="$subdirs m32r"
3722 m68hc11-*-*|m6811-*-*)
3725 subdirs="$subdirs m68hc11"
3732 subdirs="$subdirs mcore"
3739 subdirs="$subdirs microblaze"
3746 subdirs="$subdirs mips"
3754 subdirs="$subdirs mn10300"
3762 subdirs="$subdirs moxie"
3769 subdirs="$subdirs msp430"
3776 subdirs="$subdirs rl78"
3783 subdirs="$subdirs rx"
3790 subdirs="$subdirs sh64"
3797 subdirs="$subdirs sh"
3801 sparc-*-rtems*|sparc-*-elf*)
3804 subdirs="$subdirs erc32"
3811 subdirs="$subdirs ppc"
3818 subdirs="$subdirs ft32"
3825 subdirs="$subdirs v850"
3831 # No simulator subdir, so the subdir "common" isn't needed.
3837 subdirs="$subdirs testsuite"
3839 if test "$sim_common" = yes; then
3840 subdirs="$subdirs common"
3843 if test "$sim_igen" = yes; then
3844 subdirs="$subdirs igen"
3849 ac_config_files="$ac_config_files Makefile"
3851 cat >confcache <<\_ACEOF
3852 # This file is a shell script that caches the results of configure
3853 # tests run on this system so they can be shared between configure
3854 # scripts and configure runs, see configure's option --config-cache.
3855 # It is not useful on other systems. If it contains results you don't
3856 # want to keep, you may remove or edit it.
3858 # config.status only pays attention to the cache file if you give it
3859 # the --recheck option to rerun configure.
3861 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3862 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3867 # The following way of writing the cache mishandles newlines in values,
3868 # but we know of no workaround that is simple, portable, and efficient.
3869 # So, we kill variables containing newlines.
3870 # Ultrix sh set writes to stderr and can't be redirected directly,
3871 # and sets the high bit in the cache file unless we assign to the vars.
3873 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3874 eval ac_val=\$$ac_var
3878 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3879 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3882 _ | IFS | as_nl) ;; #(
3883 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3884 *) { eval $ac_var=; unset $ac_var;} ;;
3890 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3891 *${as_nl}ac_space=\ *)
3892 # `set' does not quote correctly, so add quotes: double-quote
3893 # substitution turns \\\\ into \\, and sed turns \\ into \.
3896 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3899 # `set' quotes correctly as required by POSIX, so do not add quotes.
3900 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3909 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3911 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3913 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3914 if test -w "$cache_file"; then
3915 test "x$cache_file" != "x/dev/null" &&
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3917 $as_echo "$as_me: updating cache $cache_file" >&6;}
3918 cat confcache >$cache_file
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3921 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3926 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3927 # Let make expand exec_prefix.
3928 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3930 # Transform confdefs.h into DEFS.
3931 # Protect against shell expansion while executing Makefile rules.
3932 # Protect against Makefile macro expansion.
3934 # If the first sed substitution is executed (which looks for macros that
3935 # take arguments), then branch to the quote section. Otherwise,
3936 # look for a macro that doesn't take arguments.
3946 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3948 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3952 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3965 DEFS=`sed -n "$ac_script" confdefs.h`
3970 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3971 # 1. Remove the extension, and $U if already installed.
3972 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3973 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3974 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3975 # will be set to the directory where LIBOBJS objects are built.
3976 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3977 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3981 LTLIBOBJS=$ac_ltlibobjs
3985 : ${CONFIG_STATUS=./config.status}
3987 ac_clean_files_save=$ac_clean_files
3988 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3990 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3992 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3994 # Generated by $as_me.
3995 # Run this file to recreate the current configuration.
3996 # Compiler output produced by configure, useful for debugging
3997 # configure, is in config.log if it exists.
4003 SHELL=\${CONFIG_SHELL-$SHELL}
4006 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4007 ## -------------------- ##
4008 ## M4sh Initialization. ##
4009 ## -------------------- ##
4011 # Be more Bourne compatible
4012 DUALCASE=1; export DUALCASE # for MKS sh
4013 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4016 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4017 # is contrary to our usage. Disable this feature.
4018 alias -g '${1+"$@"}'='"$@"'
4019 setopt NO_GLOB_SUBST
4021 case `(set -o) 2>/dev/null` in #(
4033 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4034 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4035 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4036 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4037 # Prefer a ksh shell builtin over an external printf program on Solaris,
4038 # but without wasting forks for bash or zsh.
4039 if test -z "$BASH_VERSION$ZSH_VERSION" \
4040 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4041 as_echo='print -r --'
4042 as_echo_n='print -rn --'
4043 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4044 as_echo='printf %s\n'
4045 as_echo_n='printf %s'
4047 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4048 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4049 as_echo_n='/usr/ucb/echo -n'
4051 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4052 as_echo_n_body='eval
4056 expr "X$arg" : "X\\(.*\\)$as_nl";
4057 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4059 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4061 export as_echo_n_body
4062 as_echo_n='sh -c $as_echo_n_body as_echo'
4065 as_echo='sh -c $as_echo_body as_echo'
4068 # The user is always right.
4069 if test "${PATH_SEPARATOR+set}" != set; then
4071 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4072 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4079 # We need space, tab and new line, in precisely that order. Quoting is
4080 # there to prevent editors from complaining about space-tab.
4081 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4082 # splitting by setting IFS to empty value.)
4085 # Find who we are. Look in the path if we contain no directory separator.
4087 *[\\/]* ) as_myself=$0 ;;
4088 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4092 test -z "$as_dir" && as_dir=.
4093 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4099 # We did not find ourselves, most probably we were run as `sh COMMAND'
4100 # in which case we are not to be found in the path.
4101 if test "x$as_myself" = x; then
4104 if test ! -f "$as_myself"; then
4105 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4109 # Unset variables that we do not need and which cause bugs (e.g. in
4110 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4111 # suppresses any "Segmentation fault" message there. '((' could
4112 # trigger a bug in pdksh 5.2.14.
4113 for as_var in BASH_ENV ENV MAIL MAILPATH
4114 do eval test x\${$as_var+set} = xset \
4115 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4128 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4131 # as_fn_error ERROR [LINENO LOG_FD]
4132 # ---------------------------------
4133 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4134 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4135 # script with status $?, using 1 if that was 0.
4138 as_status=$?; test $as_status -eq 0 && as_status=1
4140 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4141 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4143 $as_echo "$as_me: error: $1" >&2
4144 as_fn_exit $as_status
4148 # as_fn_set_status STATUS
4149 # -----------------------
4150 # Set $? to STATUS, without forking.
4154 } # as_fn_set_status
4158 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4168 # Portably unset VAR.
4171 { eval $1=; unset $1;}
4173 as_unset=as_fn_unset
4174 # as_fn_append VAR VALUE
4175 # ----------------------
4176 # Append the text in VALUE to the end of the definition contained in VAR. Take
4177 # advantage of any shell optimizations that allow amortized linear growth over
4178 # repeated appends, instead of the typical quadratic growth present in naive
4180 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4181 eval 'as_fn_append ()
4192 # as_fn_arith ARG...
4193 # ------------------
4194 # Perform arithmetic evaluation on the ARGs, and store the result in the
4195 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4196 # must be portable across $(()) and expr.
4197 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4198 eval 'as_fn_arith ()
4205 as_val=`expr "$@" || test $? -eq 1`
4210 if expr a : '\(a\)' >/dev/null 2>&1 &&
4211 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4217 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4218 as_basename=basename
4223 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4229 as_me=`$as_basename -- "$0" ||
4230 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4231 X"$0" : 'X\(//\)$' \| \
4232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4234 sed '/^.*\/\([^/][^/]*\)\/*$/{
4248 # Avoid depending upon Character Ranges.
4249 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4250 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4251 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4252 as_cr_digits='0123456789'
4253 as_cr_alnum=$as_cr_Letters$as_cr_digits
4255 ECHO_C= ECHO_N= ECHO_T=
4256 case `echo -n x` in #(((((
4258 case `echo 'xy\c'` in
4259 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4261 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4268 rm -f conf$$ conf$$.exe conf$$.file
4269 if test -d conf$$.dir; then
4270 rm -f conf$$.dir/conf$$.file
4273 mkdir conf$$.dir 2>/dev/null
4275 if (echo >conf$$.file) 2>/dev/null; then
4276 if ln -s conf$$.file conf$$ 2>/dev/null; then
4278 # ... but there are two gotchas:
4279 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4280 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4281 # In both cases, we have to default to `cp -p'.
4282 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4284 elif ln conf$$.file conf$$ 2>/dev/null; then
4292 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4293 rmdir conf$$.dir 2>/dev/null
4298 # Create "$as_dir" as a directory, including parents if necessary.
4303 -*) as_dir=./$as_dir;;
4305 test -d "$as_dir" || eval $as_mkdir_p || {
4309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4310 *) as_qdir=$as_dir;;
4312 as_dirs="'$as_qdir' $as_dirs"
4313 as_dir=`$as_dirname -- "$as_dir" ||
4314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4315 X"$as_dir" : 'X\(//\)[^/]' \| \
4316 X"$as_dir" : 'X\(//\)$' \| \
4317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4318 $as_echo X"$as_dir" |
4319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4336 test -d "$as_dir" && break
4338 test -z "$as_dirs" || eval "mkdir $as_dirs"
4339 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4343 if mkdir -p . 2>/dev/null; then
4344 as_mkdir_p='mkdir -p "$as_dir"'
4346 test -d ./-p && rmdir ./-p
4350 if test -x / >/dev/null 2>&1; then
4353 if ls -dL / >/dev/null 2>&1; then
4360 if test -d "$1"; then
4366 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4367 ???[sx]*):;;*)false;;esac;fi
4371 as_executable_p=$as_test_x
4373 # Sed expression to map a string onto a valid CPP name.
4374 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4376 # Sed expression to map a string onto a valid variable name.
4377 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4381 ## ----------------------------------- ##
4382 ## Main body of $CONFIG_STATUS script. ##
4383 ## ----------------------------------- ##
4385 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4388 # Save the log message, to keep $0 and so on meaningful, and to
4389 # report actual input values of CONFIG_FILES etc. instead of their
4390 # values after options handling.
4392 This file was extended by $as_me, which was
4393 generated by GNU Autoconf 2.64. Invocation command line was
4395 CONFIG_FILES = $CONFIG_FILES
4396 CONFIG_HEADERS = $CONFIG_HEADERS
4397 CONFIG_LINKS = $CONFIG_LINKS
4398 CONFIG_COMMANDS = $CONFIG_COMMANDS
4401 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4406 case $ac_config_files in *"
4407 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4413 # Files that config.status was made for.
4414 config_files="$ac_config_files"
4418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4420 \`$as_me' instantiates files and other configuration actions
4421 from templates according to the current configuration. Unless the files
4422 and actions are specified as TAGs, all are instantiated by default.
4424 Usage: $0 [OPTION]... [TAG]...
4426 -h, --help print this help, then exit
4427 -V, --version print version number and configuration settings, then exit
4428 -q, --quiet, --silent
4429 do not print progress messages
4430 -d, --debug don't remove temporary files
4431 --recheck update $as_me by reconfiguring in the same conditions
4432 --file=FILE[:TEMPLATE]
4433 instantiate the configuration file FILE
4435 Configuration files:
4438 Report bugs to the package provider."
4441 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4444 configured by $0, generated by GNU Autoconf 2.64,
4445 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4447 Copyright (C) 2009 Free Software Foundation, Inc.
4448 This config.status script is free software; the Free Software Foundation
4449 gives unlimited permission to copy, distribute and modify it."
4454 test -n "\$AWK" || AWK=awk
4457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4458 # The default lists apply if the user does not specify any file.
4464 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4465 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4476 # Handling of the options.
4477 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4479 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4480 $as_echo "$ac_cs_version"; exit ;;
4481 --debug | --debu | --deb | --de | --d | -d )
4483 --file | --fil | --fi | --f )
4486 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4488 as_fn_append CONFIG_FILES " '$ac_optarg'"
4489 ac_need_defaults=false;;
4490 --he | --h | --help | --hel | -h )
4491 $as_echo "$ac_cs_usage"; exit ;;
4492 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4493 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4497 -*) as_fn_error "unrecognized option: \`$1'
4498 Try \`$0 --help' for more information." ;;
4500 *) as_fn_append ac_config_targets " $1"
4501 ac_need_defaults=false ;;
4507 ac_configure_extra_args=
4509 if $ac_cs_silent; then
4511 ac_configure_extra_args="$ac_configure_extra_args --silent"
4515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4516 if \$ac_cs_recheck; then
4517 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4519 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4520 CONFIG_SHELL='$SHELL'
4526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4530 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4531 ## Running $as_me. ##
4537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4542 # Handling of arguments.
4543 for ac_config_target in $ac_config_targets
4545 case $ac_config_target in
4546 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4548 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4553 # If the user did not use the arguments to specify the items to instantiate,
4554 # then the envvar interface is used. Set only those that are not.
4555 # We use the long form for the default assignment because of an extremely
4556 # bizarre bug on SunOS 4.1.3.
4557 if $ac_need_defaults; then
4558 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4561 # Have a temporary directory for convenience. Make it in the build tree
4562 # simply because there is no reason against having it here, and in addition,
4563 # creating and moving files from /tmp can sometimes cause problems.
4564 # Hook for its removal unless debugging.
4565 # Note that there is a small window in which the directory will not be cleaned:
4566 # after its creation but before its name has been assigned to `$tmp'.
4570 trap 'exit_status=$?
4571 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4573 trap 'as_fn_exit 1' 1 2 13 15
4575 # Create a (secure) tmp directory for tmp files.
4578 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4579 test -n "$tmp" && test -d "$tmp"
4582 tmp=./conf$$-$RANDOM
4583 (umask 077 && mkdir "$tmp")
4584 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4586 # Set up the scripts for CONFIG_FILES section.
4587 # No need to generate them if there are no CONFIG_FILES.
4588 # This happens for instance with `./config.status config.h'.
4589 if test -n "$CONFIG_FILES"; then
4592 ac_cr=`echo X | tr X '\015'`
4593 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4594 # But we know of no other shell where ac_cr would be empty at this
4595 # point, so we can use a bashism as a fallback.
4596 if test "x$ac_cr" = x; then
4597 eval ac_cr=\$\'\\r\'
4599 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4600 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4606 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4611 echo "cat >conf$$subs.awk <<_ACEOF" &&
4612 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4615 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4616 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4618 for ac_last_try in false false false false false :; do
4619 . ./conf$$subs.sh ||
4620 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4622 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4623 if test $ac_delim_n = $ac_delim_num; then
4625 elif $ac_last_try; then
4626 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4628 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4634 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4638 s/^/S["/; s/!.*/"]=/
4648 s/\(.\{148\}\).*/\1/
4650 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4655 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4662 s/\(.\{148\}\).*/\1/
4664 s/["\\]/\\&/g; s/^/"/; s/$/"/
4668 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4673 ' <conf$$subs.awk | sed '
4678 ' >>$CONFIG_STATUS || ac_write_fail=1
4679 rm -f conf$$subs.awk
4680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4682 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4683 for (key in S) S_is_set[key] = 1
4689 nfields = split(line, field, "@")
4691 len = length(field[1])
4692 for (i = 2; i < nfields; i++) {
4694 keylen = length(key)
4695 if (S_is_set[key]) {
4697 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4698 len += length(value) + length(field[++i])
4709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4710 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4711 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4714 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4715 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4718 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4719 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4720 # trailing colons and then remove the whole line if VPATH becomes empty
4721 # (actually we leave an empty line to preserve line numbers).
4722 if test "x$srcdir" = x.; then
4723 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4727 s/^\([^=]*=[ ]*\):*/\1/
4733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4734 fi # test -n "$CONFIG_FILES"
4737 eval set X " :F $CONFIG_FILES "
4742 :[FHLC]) ac_mode=$ac_tag; continue;;
4744 case $ac_mode$ac_tag in
4746 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4747 :[FH]-) ac_tag=-:-;;
4748 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4765 -) ac_f="$tmp/stdin";;
4766 *) # Look for the file first in the build tree, then in the source tree
4767 # (if the path is not absolute). The absolute path cannot be DOS-style,
4768 # because $ac_f cannot contain `:'.
4772 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4774 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4776 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4777 as_fn_append ac_file_inputs " '$ac_f'"
4780 # Let's still pretend it is `configure' which instantiates (i.e., don't
4781 # use $as_me), people would be surprised to read:
4782 # /* config.h. Generated by config.status. */
4783 configure_input='Generated from '`
4784 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4786 if test x"$ac_file" != x-; then
4787 configure_input="$ac_file. $configure_input"
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4789 $as_echo "$as_me: creating $ac_file" >&6;}
4791 # Neutralize special characters interpreted by sed in replacement strings.
4792 case $configure_input in #(
4793 *\&* | *\|* | *\\* )
4794 ac_sed_conf_input=`$as_echo "$configure_input" |
4795 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4796 *) ac_sed_conf_input=$configure_input;;
4800 *:-:* | *:-) cat >"$tmp/stdin" \
4801 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4806 ac_dir=`$as_dirname -- "$ac_file" ||
4807 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4808 X"$ac_file" : 'X\(//\)[^/]' \| \
4809 X"$ac_file" : 'X\(//\)$' \| \
4810 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4811 $as_echo X"$ac_file" |
4812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4829 as_dir="$ac_dir"; as_fn_mkdir_p
4833 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4835 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4836 # A ".." for each directory in $ac_dir_suffix.
4837 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4838 case $ac_top_builddir_sub in
4839 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4840 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4843 ac_abs_top_builddir=$ac_pwd
4844 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4845 # for backward compatibility:
4846 ac_top_builddir=$ac_top_build_prefix
4849 .) # We are building in place.
4851 ac_top_srcdir=$ac_top_builddir_sub
4852 ac_abs_top_srcdir=$ac_pwd ;;
4853 [\\/]* | ?:[\\/]* ) # Absolute name.
4854 ac_srcdir=$srcdir$ac_dir_suffix;
4855 ac_top_srcdir=$srcdir
4856 ac_abs_top_srcdir=$srcdir ;;
4858 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4859 ac_top_srcdir=$ac_top_build_prefix$srcdir
4860 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4862 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4872 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4873 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4878 # If the template does not know about datarootdir, expand it.
4879 # FIXME: This hack should be removed a few years after 2.60.
4880 ac_datarootdir_hack=; ac_datarootdir_seen=
4891 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4892 *datarootdir*) ac_datarootdir_seen=yes;;
4893 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4895 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4898 ac_datarootdir_hack='
4899 s&@datadir@&$datadir&g
4900 s&@docdir@&$docdir&g
4901 s&@infodir@&$infodir&g
4902 s&@localedir@&$localedir&g
4903 s&@mandir@&$mandir&g
4904 s&\\\${datarootdir}&$datarootdir&g' ;;
4908 # Neutralize VPATH when `$srcdir' = `.'.
4909 # Shell code in configure.ac might set extrasub.
4910 # FIXME: do we really want to maintain this feature?
4911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4912 ac_sed_extra="$ac_vpsub
4915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4917 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4918 s|@configure_input@|$ac_sed_conf_input|;t t
4919 s&@top_builddir@&$ac_top_builddir_sub&;t t
4920 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4921 s&@srcdir@&$ac_srcdir&;t t
4922 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4923 s&@top_srcdir@&$ac_top_srcdir&;t t
4924 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4925 s&@builddir@&$ac_builddir&;t t
4926 s&@abs_builddir@&$ac_abs_builddir&;t t
4927 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4928 s&@INSTALL@&$ac_INSTALL&;t t
4929 $ac_datarootdir_hack
4931 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4932 || as_fn_error "could not create $ac_file" "$LINENO" 5
4934 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4935 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4936 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4938 which seems to be undefined. Please make sure it is defined." >&5
4939 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4940 which seems to be undefined. Please make sure it is defined." >&2;}
4944 -) cat "$tmp/out" && rm -f "$tmp/out";;
4945 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4947 || as_fn_error "could not create $ac_file" "$LINENO" 5
4959 ac_clean_files=$ac_clean_files_save
4961 test $ac_write_fail = 0 ||
4962 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4965 # configure is writing to config.log, and then calls config.status.
4966 # config.status does its own redirection, appending to config.log.
4967 # Unfortunately, on DOS this fails, as config.log is still kept open
4968 # by configure, so config.status won't be able to write to it; its
4969 # output is simply discarded. So we exec the FD to /dev/null,
4970 # effectively closing config.log, so it can be properly (re)opened and
4971 # appended to by config.status. When coming back to configure, we
4972 # need to make the FD available again.
4973 if test "$no_create" != yes; then
4975 ac_config_status_args=
4976 test "$silent" = yes &&
4977 ac_config_status_args="$ac_config_status_args --quiet"
4979 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4981 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4982 # would make configure fail if this is the last instruction.
4983 $ac_cs_success || as_fn_exit $?
4987 # CONFIG_SUBDIRS section.
4989 if test "$no_recursion" != yes; then
4991 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4992 # so they do not pile up.
4993 ac_sub_configure_args=
4995 eval "set x $ac_configure_args"
4999 if test -n "$ac_prev"; then
5004 -cache-file | --cache-file | --cache-fil | --cache-fi \
5005 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5006 ac_prev=cache_file ;;
5007 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5008 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
5011 --config-cache | -C)
5013 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5015 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5021 --disable-option-checking)
5025 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5027 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
5031 # Always prepend --prefix to ensure using the same prefix
5032 # in subdir configurations.
5033 ac_arg="--prefix=$prefix"
5035 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5037 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
5040 if test "$silent" = yes; then
5041 ac_sub_configure_args="--silent $ac_sub_configure_args"
5044 # Always prepend --disable-option-checking to silence warnings, since
5045 # different subdirs can have different --enable and --with options.
5046 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
5049 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
5051 # Do not complain, so a configure script can configure whichever
5052 # parts of a large source tree are present.
5053 test -d "$srcdir/$ac_dir" || continue
5055 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
5056 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
5057 $as_echo "$ac_msg" >&6
5058 as_dir="$ac_dir"; as_fn_mkdir_p
5062 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5064 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5065 # A ".." for each directory in $ac_dir_suffix.
5066 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5067 case $ac_top_builddir_sub in
5068 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5069 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5072 ac_abs_top_builddir=$ac_pwd
5073 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5074 # for backward compatibility:
5075 ac_top_builddir=$ac_top_build_prefix
5078 .) # We are building in place.
5080 ac_top_srcdir=$ac_top_builddir_sub
5081 ac_abs_top_srcdir=$ac_pwd ;;
5082 [\\/]* | ?:[\\/]* ) # Absolute name.
5083 ac_srcdir=$srcdir$ac_dir_suffix;
5084 ac_top_srcdir=$srcdir
5085 ac_abs_top_srcdir=$srcdir ;;
5087 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5088 ac_top_srcdir=$ac_top_build_prefix$srcdir
5089 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5091 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5096 # Check for guested configure; otherwise get Cygnus style configure.
5097 if test -f "$ac_srcdir/configure.gnu"; then
5098 ac_sub_configure=$ac_srcdir/configure.gnu
5099 elif test -f "$ac_srcdir/configure"; then
5100 ac_sub_configure=$ac_srcdir/configure
5101 elif test -f "$ac_srcdir/configure.in"; then
5102 # This should be Cygnus configure.
5103 ac_sub_configure=$ac_aux_dir/configure
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
5106 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5110 # The recursion is here.
5111 if test -n "$ac_sub_configure"; then
5112 # Make the cache file name correct relative to the subdirectory.
5114 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5116 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
5119 { $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
5120 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5121 # The eval makes quoting arguments work.
5122 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5123 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5124 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
5130 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5132 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}