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
612 program_transform_name
625 enable_option_checking
628 ac_precious_vars='build_alias
661 # Initialize some variables set by options.
663 ac_init_version=false
664 ac_unrecognized_opts=
666 # The variables have the same names as the options, with
667 # dashes changed to underlines.
675 program_transform_name=s,x,x,
683 # Installation directory options.
684 # These are left unexpanded so users can "make install exec_prefix=/foo"
685 # and all the variables that are supposed to be based on exec_prefix
686 # by default will actually change.
687 # Use braces instead of parens because sh, perl, etc. also accept them.
688 # (The list follows the same order as the GNU Coding Standards.)
689 bindir='${exec_prefix}/bin'
690 sbindir='${exec_prefix}/sbin'
691 libexecdir='${exec_prefix}/libexec'
692 datarootdir='${prefix}/share'
693 datadir='${datarootdir}'
694 sysconfdir='${prefix}/etc'
695 sharedstatedir='${prefix}/com'
696 localstatedir='${prefix}/var'
697 includedir='${prefix}/include'
698 oldincludedir='/usr/include'
699 docdir='${datarootdir}/doc/${PACKAGE}'
700 infodir='${datarootdir}/info'
705 libdir='${exec_prefix}/lib'
706 localedir='${datarootdir}/locale'
707 mandir='${datarootdir}/man'
713 # If the previous option needs an argument, assign it.
714 if test -n "$ac_prev"; then
715 eval $ac_prev=\$ac_option
721 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
725 # Accept the important Cygnus configure options, so we can diagnose typos.
727 case $ac_dashdash$ac_option in
731 -bindir | --bindir | --bindi | --bind | --bin | --bi)
733 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
736 -build | --build | --buil | --bui | --bu)
737 ac_prev=build_alias ;;
738 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
739 build_alias=$ac_optarg ;;
741 -cache-file | --cache-file | --cache-fil | --cache-fi \
742 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
743 ac_prev=cache_file ;;
744 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
745 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
746 cache_file=$ac_optarg ;;
749 cache_file=config.cache ;;
751 -datadir | --datadir | --datadi | --datad)
753 -datadir=* | --datadir=* | --datadi=* | --datad=*)
754 datadir=$ac_optarg ;;
756 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
757 | --dataroo | --dataro | --datar)
758 ac_prev=datarootdir ;;
759 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
760 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
761 datarootdir=$ac_optarg ;;
763 -disable-* | --disable-*)
764 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
765 # Reject names that are not valid shell variable names.
766 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
767 as_fn_error "invalid feature name: $ac_useropt"
768 ac_useropt_orig=$ac_useropt
769 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
770 case $ac_user_opts in
774 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
775 ac_unrecognized_sep=', ';;
777 eval enable_$ac_useropt=no ;;
779 -docdir | --docdir | --docdi | --doc | --do)
781 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
784 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
786 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
789 -enable-* | --enable-*)
790 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
793 as_fn_error "invalid feature name: $ac_useropt"
794 ac_useropt_orig=$ac_useropt
795 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
796 case $ac_user_opts in
800 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
801 ac_unrecognized_sep=', ';;
803 eval enable_$ac_useropt=\$ac_optarg ;;
805 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
806 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
807 | --exec | --exe | --ex)
808 ac_prev=exec_prefix ;;
809 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
810 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
811 | --exec=* | --exe=* | --ex=*)
812 exec_prefix=$ac_optarg ;;
814 -gas | --gas | --ga | --g)
815 # Obsolete; use --with-gas.
818 -help | --help | --hel | --he | -h)
820 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
821 ac_init_help=recursive ;;
822 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
823 ac_init_help=short ;;
825 -host | --host | --hos | --ho)
826 ac_prev=host_alias ;;
827 -host=* | --host=* | --hos=* | --ho=*)
828 host_alias=$ac_optarg ;;
830 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
832 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
834 htmldir=$ac_optarg ;;
836 -includedir | --includedir | --includedi | --included | --include \
837 | --includ | --inclu | --incl | --inc)
838 ac_prev=includedir ;;
839 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
840 | --includ=* | --inclu=* | --incl=* | --inc=*)
841 includedir=$ac_optarg ;;
843 -infodir | --infodir | --infodi | --infod | --info | --inf)
845 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
846 infodir=$ac_optarg ;;
848 -libdir | --libdir | --libdi | --libd)
850 -libdir=* | --libdir=* | --libdi=* | --libd=*)
853 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
854 | --libexe | --libex | --libe)
855 ac_prev=libexecdir ;;
856 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
857 | --libexe=* | --libex=* | --libe=*)
858 libexecdir=$ac_optarg ;;
860 -localedir | --localedir | --localedi | --localed | --locale)
862 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
863 localedir=$ac_optarg ;;
865 -localstatedir | --localstatedir | --localstatedi | --localstated \
866 | --localstate | --localstat | --localsta | --localst | --locals)
867 ac_prev=localstatedir ;;
868 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
869 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
870 localstatedir=$ac_optarg ;;
872 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
874 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
878 # Obsolete; use --without-fp.
881 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
882 | --no-cr | --no-c | -n)
885 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
886 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
889 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
890 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
891 | --oldin | --oldi | --old | --ol | --o)
892 ac_prev=oldincludedir ;;
893 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
894 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
895 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
896 oldincludedir=$ac_optarg ;;
898 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
900 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
903 -program-prefix | --program-prefix | --program-prefi | --program-pref \
904 | --program-pre | --program-pr | --program-p)
905 ac_prev=program_prefix ;;
906 -program-prefix=* | --program-prefix=* | --program-prefi=* \
907 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
908 program_prefix=$ac_optarg ;;
910 -program-suffix | --program-suffix | --program-suffi | --program-suff \
911 | --program-suf | --program-su | --program-s)
912 ac_prev=program_suffix ;;
913 -program-suffix=* | --program-suffix=* | --program-suffi=* \
914 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
915 program_suffix=$ac_optarg ;;
917 -program-transform-name | --program-transform-name \
918 | --program-transform-nam | --program-transform-na \
919 | --program-transform-n | --program-transform- \
920 | --program-transform | --program-transfor \
921 | --program-transfo | --program-transf \
922 | --program-trans | --program-tran \
923 | --progr-tra | --program-tr | --program-t)
924 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
934 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
936 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
939 -psdir | --psdir | --psdi | --psd | --ps)
941 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
944 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
945 | -silent | --silent | --silen | --sile | --sil)
948 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
950 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
952 sbindir=$ac_optarg ;;
954 -sharedstatedir | --sharedstatedir | --sharedstatedi \
955 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
956 | --sharedst | --shareds | --shared | --share | --shar \
958 ac_prev=sharedstatedir ;;
959 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
960 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
961 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
963 sharedstatedir=$ac_optarg ;;
965 -site | --site | --sit)
967 -site=* | --site=* | --sit=*)
970 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
972 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
975 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
976 | --syscon | --sysco | --sysc | --sys | --sy)
977 ac_prev=sysconfdir ;;
978 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
979 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
980 sysconfdir=$ac_optarg ;;
982 -target | --target | --targe | --targ | --tar | --ta | --t)
983 ac_prev=target_alias ;;
984 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
985 target_alias=$ac_optarg ;;
987 -v | -verbose | --verbose | --verbos | --verbo | --verb)
990 -version | --version | --versio | --versi | --vers | -V)
994 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
997 as_fn_error "invalid package name: $ac_useropt"
998 ac_useropt_orig=$ac_useropt
999 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000 case $ac_user_opts in
1004 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1005 ac_unrecognized_sep=', ';;
1007 eval with_$ac_useropt=\$ac_optarg ;;
1009 -without-* | --without-*)
1010 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1013 as_fn_error "invalid package name: $ac_useropt"
1014 ac_useropt_orig=$ac_useropt
1015 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1016 case $ac_user_opts in
1020 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1021 ac_unrecognized_sep=', ';;
1023 eval with_$ac_useropt=no ;;
1026 # Obsolete; use --with-x.
1029 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1030 | --x-incl | --x-inc | --x-in | --x-i)
1031 ac_prev=x_includes ;;
1032 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1033 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1034 x_includes=$ac_optarg ;;
1036 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1037 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1038 ac_prev=x_libraries ;;
1039 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1040 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1041 x_libraries=$ac_optarg ;;
1043 -*) as_fn_error "unrecognized option: \`$ac_option'
1044 Try \`$0 --help' for more information."
1048 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1049 # Reject names that are not valid shell variable names.
1050 case $ac_envvar in #(
1051 '' | [0-9]* | *[!_$as_cr_alnum]* )
1052 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1054 eval $ac_envvar=\$ac_optarg
1055 export $ac_envvar ;;
1058 # FIXME: should be removed in autoconf 3.0.
1059 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1060 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1061 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1062 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1068 if test -n "$ac_prev"; then
1069 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1070 as_fn_error "missing argument to $ac_option"
1073 if test -n "$ac_unrecognized_opts"; then
1074 case $enable_option_checking in
1076 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1077 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1081 # Check all directory arguments for consistency.
1082 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1083 datadir sysconfdir sharedstatedir localstatedir includedir \
1084 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1085 libdir localedir mandir
1087 eval ac_val=\$$ac_var
1088 # Remove trailing slashes.
1091 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1092 eval $ac_var=\$ac_val;;
1094 # Be sure to have absolute directory names.
1096 [\\/$]* | ?:[\\/]* ) continue;;
1097 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1099 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1102 # There might be people who depend on the old broken behavior: `$host'
1103 # used to hold the argument of --host etc.
1104 # FIXME: To remove some day.
1107 target=$target_alias
1109 # FIXME: To remove some day.
1110 if test "x$host_alias" != x; then
1111 if test "x$build_alias" = x; then
1112 cross_compiling=maybe
1113 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1114 If a cross compiler is detected then cross compile mode will be used." >&2
1115 elif test "x$build_alias" != "x$host_alias"; then
1121 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1123 test "$silent" = yes && exec 6>/dev/null
1126 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1127 ac_ls_di=`ls -di .` &&
1128 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1129 as_fn_error "working directory cannot be determined"
1130 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1131 as_fn_error "pwd does not report name of working directory"
1134 # Find the source files, if location was not specified.
1135 if test -z "$srcdir"; then
1136 ac_srcdir_defaulted=yes
1137 # Try the directory containing this script, then the parent directory.
1138 ac_confdir=`$as_dirname -- "$as_myself" ||
1139 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1140 X"$as_myself" : 'X\(//\)[^/]' \| \
1141 X"$as_myself" : 'X\(//\)$' \| \
1142 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1143 $as_echo X"$as_myself" |
1144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1162 if test ! -r "$srcdir/$ac_unique_file"; then
1166 ac_srcdir_defaulted=no
1168 if test ! -r "$srcdir/$ac_unique_file"; then
1169 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1170 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1172 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1174 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1176 # When building in place, set srcdir=.
1177 if test "$ac_abs_confdir" = "$ac_pwd"; then
1180 # Remove unnecessary trailing slashes from srcdir.
1181 # Double slashes in file names in object file debugging info
1182 # mess up M-x gdb in Emacs.
1184 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1186 for ac_var in $ac_precious_vars; do
1187 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1188 eval ac_env_${ac_var}_value=\$${ac_var}
1189 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1190 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1194 # Report the --help message.
1196 if test "$ac_init_help" = "long"; then
1197 # Omit some internal or obsolete options to make the list less imposing.
1198 # This message is too long to be a string in the A/UX 3.1 sh.
1200 \`configure' configures this package to adapt to many kinds of systems.
1202 Usage: $0 [OPTION]... [VAR=VALUE]...
1204 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1205 VAR=VALUE. See below for descriptions of some of the useful variables.
1207 Defaults for the options are specified in brackets.
1210 -h, --help display this help and exit
1211 --help=short display options specific to this package
1212 --help=recursive display the short help of all the included packages
1213 -V, --version display version information and exit
1214 -q, --quiet, --silent do not print \`checking...' messages
1215 --cache-file=FILE cache test results in FILE [disabled]
1216 -C, --config-cache alias for \`--cache-file=config.cache'
1217 -n, --no-create do not create output files
1218 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1220 Installation directories:
1221 --prefix=PREFIX install architecture-independent files in PREFIX
1222 [$ac_default_prefix]
1223 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1226 By default, \`make install' will install all the files in
1227 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1228 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1229 for instance \`--prefix=\$HOME'.
1231 For better control, use the options below.
1233 Fine tuning of the installation directories:
1234 --bindir=DIR user executables [EPREFIX/bin]
1235 --sbindir=DIR system admin executables [EPREFIX/sbin]
1236 --libexecdir=DIR program executables [EPREFIX/libexec]
1237 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1238 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1239 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1240 --libdir=DIR object code libraries [EPREFIX/lib]
1241 --includedir=DIR C header files [PREFIX/include]
1242 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1243 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1244 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1245 --infodir=DIR info documentation [DATAROOTDIR/info]
1246 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1247 --mandir=DIR man documentation [DATAROOTDIR/man]
1248 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1249 --htmldir=DIR html documentation [DOCDIR]
1250 --dvidir=DIR dvi documentation [DOCDIR]
1251 --pdfdir=DIR pdf documentation [DOCDIR]
1252 --psdir=DIR ps documentation [DOCDIR]
1258 --program-prefix=PREFIX prepend PREFIX to installed program names
1259 --program-suffix=SUFFIX append SUFFIX to installed program names
1260 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1263 --build=BUILD configure for building on BUILD [guessed]
1264 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1265 --target=TARGET configure for building compilers for TARGET [HOST]
1269 if test -n "$ac_init_help"; then
1274 --disable-option-checking ignore unrecognized --enable/--with options
1275 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1276 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1279 Some influential environment variables:
1280 CC C compiler command
1281 CFLAGS C compiler flags
1282 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1283 nonstandard directory <lib dir>
1284 LIBS libraries to pass to the linker, e.g. -l<library>
1285 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1286 you have headers in a nonstandard directory <include dir>
1288 Use these variables to override the choices made by `configure' or to help
1289 it to find libraries and programs with nonstandard names/locations.
1291 Report bugs to the package provider.
1296 if test "$ac_init_help" = "recursive"; then
1297 # If there are subdirs, report their specific --help.
1298 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1299 test -d "$ac_dir" ||
1300 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1305 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1307 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1308 # A ".." for each directory in $ac_dir_suffix.
1309 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1310 case $ac_top_builddir_sub in
1311 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1312 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1315 ac_abs_top_builddir=$ac_pwd
1316 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1317 # for backward compatibility:
1318 ac_top_builddir=$ac_top_build_prefix
1321 .) # We are building in place.
1323 ac_top_srcdir=$ac_top_builddir_sub
1324 ac_abs_top_srcdir=$ac_pwd ;;
1325 [\\/]* | ?:[\\/]* ) # Absolute name.
1326 ac_srcdir=$srcdir$ac_dir_suffix;
1327 ac_top_srcdir=$srcdir
1328 ac_abs_top_srcdir=$srcdir ;;
1330 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1331 ac_top_srcdir=$ac_top_build_prefix$srcdir
1332 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1334 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1336 cd "$ac_dir" || { ac_status=$?; continue; }
1337 # Check for guested configure.
1338 if test -f "$ac_srcdir/configure.gnu"; then
1340 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1341 elif test -f "$ac_srcdir/configure"; then
1343 $SHELL "$ac_srcdir/configure" --help=recursive
1345 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1347 cd "$ac_pwd" || { ac_status=$?; break; }
1351 test -n "$ac_init_help" && exit $ac_status
1352 if $ac_init_version; then
1355 generated by GNU Autoconf 2.64
1357 Copyright (C) 2009 Free Software Foundation, Inc.
1358 This configure script is free software; the Free Software Foundation
1359 gives unlimited permission to copy, distribute and modify it.
1364 ## ------------------------ ##
1365 ## Autoconf initialization. ##
1366 ## ------------------------ ##
1368 # ac_fn_c_try_compile LINENO
1369 # --------------------------
1370 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1371 ac_fn_c_try_compile ()
1373 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1374 rm -f conftest.$ac_objext
1375 if { { ac_try="$ac_compile"
1377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1378 *) ac_try_echo=$ac_try;;
1380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1381 $as_echo "$ac_try_echo"; } >&5
1382 (eval "$ac_compile") 2>conftest.err
1384 if test -s conftest.err; then
1385 grep -v '^ *+' conftest.err >conftest.er1
1386 cat conftest.er1 >&5
1387 mv -f conftest.er1 conftest.err
1389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1390 test $ac_status = 0; } && {
1391 test -z "$ac_c_werror_flag" ||
1392 test ! -s conftest.err
1393 } && test -s conftest.$ac_objext; then :
1396 $as_echo "$as_me: failed program was:" >&5
1397 sed 's/^/| /' conftest.$ac_ext >&5
1401 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1404 } # ac_fn_c_try_compile
1405 cat >config.log <<_ACEOF
1406 This file contains any messages produced by compilers while
1407 running configure, to aid debugging if configure makes a mistake.
1409 It was created by $as_me, which was
1410 generated by GNU Autoconf 2.64. Invocation command line was
1422 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1423 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1424 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1425 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1426 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1428 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1429 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1431 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1432 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1433 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1434 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1435 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1436 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1437 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1445 test -z "$as_dir" && as_dir=.
1446 $as_echo "PATH: $as_dir"
1462 # Keep a trace of the command line.
1463 # Strip out --no-create and --no-recursion so they do not pile up.
1464 # Strip out --silent because we don't want to record it for future runs.
1465 # Also quote any args containing shell meta-characters.
1466 # Make two passes to allow for proper duplicate-argument suppression.
1470 ac_must_keep_next=false
1476 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1477 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1478 | -silent | --silent | --silen | --sile | --sil)
1481 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1484 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1486 as_fn_append ac_configure_args1 " '$ac_arg'"
1487 if test $ac_must_keep_next = true; then
1488 ac_must_keep_next=false # Got value, back to normal.
1491 *=* | --config-cache | -C | -disable-* | --disable-* \
1492 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1493 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1494 | -with-* | --with-* | -without-* | --without-* | --x)
1495 case "$ac_configure_args0 " in
1496 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1499 -* ) ac_must_keep_next=true ;;
1502 as_fn_append ac_configure_args " '$ac_arg'"
1507 { ac_configure_args0=; unset ac_configure_args0;}
1508 { ac_configure_args1=; unset ac_configure_args1;}
1510 # When interrupted or exit'd, cleanup temporary files, and complete
1511 # config.log. We remove comments because anyway the quotes in there
1512 # would cause problems or look ugly.
1513 # WARNING: Use '\'' to represent an apostrophe within the trap.
1514 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1515 trap 'exit_status=$?
1516 # Save into config.log some information that might help in debugging.
1521 ## ---------------- ##
1522 ## Cache variables. ##
1523 ## ---------------- ##
1526 # The following way of writing the cache mishandles newlines in values,
1528 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1529 eval ac_val=\$$ac_var
1533 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1534 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1537 _ | IFS | as_nl) ;; #(
1538 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1539 *) { eval $ac_var=; unset $ac_var;} ;;
1544 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1545 *${as_nl}ac_space=\ *)
1547 "s/'\''/'\''\\\\'\'''\''/g;
1548 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1551 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1559 ## ----------------- ##
1560 ## Output variables. ##
1561 ## ----------------- ##
1564 for ac_var in $ac_subst_vars
1566 eval ac_val=\$$ac_var
1568 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1570 $as_echo "$ac_var='\''$ac_val'\''"
1574 if test -n "$ac_subst_files"; then
1576 ## ------------------- ##
1577 ## File substitutions. ##
1578 ## ------------------- ##
1581 for ac_var in $ac_subst_files
1583 eval ac_val=\$$ac_var
1585 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1587 $as_echo "$ac_var='\''$ac_val'\''"
1592 if test -s confdefs.h; then
1602 test "$ac_signal" != 0 &&
1603 $as_echo "$as_me: caught signal $ac_signal"
1604 $as_echo "$as_me: exit $exit_status"
1606 rm -f core *.core core.conftest.* &&
1607 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1610 for ac_signal in 1 2 13 15; do
1611 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1615 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1616 rm -f -r conftest* confdefs.h
1618 $as_echo "/* confdefs.h */" > confdefs.h
1620 # Predefined preprocessor variables.
1622 cat >>confdefs.h <<_ACEOF
1623 #define PACKAGE_NAME "$PACKAGE_NAME"
1626 cat >>confdefs.h <<_ACEOF
1627 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1634 cat >>confdefs.h <<_ACEOF
1635 #define PACKAGE_STRING "$PACKAGE_STRING"
1638 cat >>confdefs.h <<_ACEOF
1639 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1642 cat >>confdefs.h <<_ACEOF
1643 #define PACKAGE_URL "$PACKAGE_URL"
1647 # Let the site file select an alternate cache file if it wants to.
1648 # Prefer an explicitly selected file to automatically selected ones.
1651 if test -n "$CONFIG_SITE"; then
1652 ac_site_file1=$CONFIG_SITE
1653 elif test "x$prefix" != xNONE; then
1654 ac_site_file1=$prefix/share/config.site
1655 ac_site_file2=$prefix/etc/config.site
1657 ac_site_file1=$ac_default_prefix/share/config.site
1658 ac_site_file2=$ac_default_prefix/etc/config.site
1660 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1662 test "x$ac_site_file" = xNONE && continue
1663 if test -r "$ac_site_file"; then
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1665 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1666 sed 's/^/| /' "$ac_site_file" >&5
1671 if test -r "$cache_file"; then
1672 # Some versions of bash will fail to source /dev/null (special
1673 # files actually), so we avoid doing that.
1674 if test -f "$cache_file"; then
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1676 $as_echo "$as_me: loading cache $cache_file" >&6;}
1678 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1679 *) . "./$cache_file";;
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1684 $as_echo "$as_me: creating cache $cache_file" >&6;}
1688 # Check that the precious variables saved in the cache have kept the same
1690 ac_cache_corrupted=false
1691 for ac_var in $ac_precious_vars; do
1692 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1693 eval ac_new_set=\$ac_env_${ac_var}_set
1694 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1695 eval ac_new_val=\$ac_env_${ac_var}_value
1696 case $ac_old_set,$ac_new_set in
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1699 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1700 ac_cache_corrupted=: ;;
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1703 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1704 ac_cache_corrupted=: ;;
1707 if test "x$ac_old_val" != "x$ac_new_val"; then
1708 # differences in whitespace do not lead to failure.
1709 ac_old_val_w=`echo x $ac_old_val`
1710 ac_new_val_w=`echo x $ac_new_val`
1711 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1713 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1714 ac_cache_corrupted=:
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1717 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1718 eval $ac_var=\$ac_old_val
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1721 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1723 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1726 # Pass precious variables to config.status.
1727 if test "$ac_new_set" = set; then
1729 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1730 *) ac_arg=$ac_var=$ac_new_val ;;
1732 case " $ac_configure_args " in
1733 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1734 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1738 if $ac_cache_corrupted; then
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1742 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1743 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1745 ## -------------------- ##
1746 ## Main body of script. ##
1747 ## -------------------- ##
1750 ac_cpp='$CPP $CPPFLAGS'
1751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1761 ac_cpp='$CPP $CPPFLAGS'
1762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1765 if test -n "$ac_tool_prefix"; then
1766 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1767 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1769 $as_echo_n "checking for $ac_word... " >&6; }
1770 if test "${ac_cv_prog_CC+set}" = set; then :
1771 $as_echo_n "(cached) " >&6
1773 if test -n "$CC"; then
1774 ac_cv_prog_CC="$CC" # Let the user override the test.
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1780 test -z "$as_dir" && as_dir=.
1781 for ac_exec_ext in '' $ac_executable_extensions; do
1782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1783 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1794 if test -n "$CC"; then
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1796 $as_echo "$CC" >&6; }
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1799 $as_echo "no" >&6; }
1804 if test -z "$ac_cv_prog_CC"; then
1806 # Extract the first word of "gcc", so it can be a program name with args.
1807 set dummy gcc; ac_word=$2
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1809 $as_echo_n "checking for $ac_word... " >&6; }
1810 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1811 $as_echo_n "(cached) " >&6
1813 if test -n "$ac_ct_CC"; then
1814 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1820 test -z "$as_dir" && as_dir=.
1821 for ac_exec_ext in '' $ac_executable_extensions; do
1822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1823 ac_cv_prog_ac_ct_CC="gcc"
1824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1833 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1834 if test -n "$ac_ct_CC"; then
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1836 $as_echo "$ac_ct_CC" >&6; }
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1839 $as_echo "no" >&6; }
1842 if test "x$ac_ct_CC" = x; then
1845 case $cross_compiling:$ac_tool_warned in
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1849 ac_tool_warned=yes ;;
1857 if test -z "$CC"; then
1858 if test -n "$ac_tool_prefix"; then
1859 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1860 set dummy ${ac_tool_prefix}cc; ac_word=$2
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1862 $as_echo_n "checking for $ac_word... " >&6; }
1863 if test "${ac_cv_prog_CC+set}" = set; then :
1864 $as_echo_n "(cached) " >&6
1866 if test -n "$CC"; then
1867 ac_cv_prog_CC="$CC" # Let the user override the test.
1869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1873 test -z "$as_dir" && as_dir=.
1874 for ac_exec_ext in '' $ac_executable_extensions; do
1875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1876 ac_cv_prog_CC="${ac_tool_prefix}cc"
1877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1887 if test -n "$CC"; then
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1889 $as_echo "$CC" >&6; }
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1892 $as_echo "no" >&6; }
1898 if test -z "$CC"; then
1899 # Extract the first word of "cc", so it can be a program name with args.
1900 set dummy cc; ac_word=$2
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1902 $as_echo_n "checking for $ac_word... " >&6; }
1903 if test "${ac_cv_prog_CC+set}" = set; then :
1904 $as_echo_n "(cached) " >&6
1906 if test -n "$CC"; then
1907 ac_cv_prog_CC="$CC" # Let the user override the test.
1910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1914 test -z "$as_dir" && as_dir=.
1915 for ac_exec_ext in '' $ac_executable_extensions; do
1916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1917 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1918 ac_prog_rejected=yes
1922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1929 if test $ac_prog_rejected = yes; then
1930 # We found a bogon in the path, so make sure we never use it.
1931 set dummy $ac_cv_prog_CC
1933 if test $# != 0; then
1934 # We chose a different compiler from the bogus one.
1935 # However, it has the same basename, so the bogon will be chosen
1936 # first if we set CC to just the basename; use the full file name.
1938 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1944 if test -n "$CC"; then
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1946 $as_echo "$CC" >&6; }
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1949 $as_echo "no" >&6; }
1954 if test -z "$CC"; then
1955 if test -n "$ac_tool_prefix"; then
1956 for ac_prog in cl.exe
1958 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1959 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1961 $as_echo_n "checking for $ac_word... " >&6; }
1962 if test "${ac_cv_prog_CC+set}" = set; then :
1963 $as_echo_n "(cached) " >&6
1965 if test -n "$CC"; then
1966 ac_cv_prog_CC="$CC" # Let the user override the test.
1968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1972 test -z "$as_dir" && as_dir=.
1973 for ac_exec_ext in '' $ac_executable_extensions; do
1974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1975 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1986 if test -n "$CC"; then
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1988 $as_echo "$CC" >&6; }
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1991 $as_echo "no" >&6; }
1995 test -n "$CC" && break
1998 if test -z "$CC"; then
2000 for ac_prog in cl.exe
2002 # Extract the first word of "$ac_prog", so it can be a program name with args.
2003 set dummy $ac_prog; ac_word=$2
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2005 $as_echo_n "checking for $ac_word... " >&6; }
2006 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2007 $as_echo_n "(cached) " >&6
2009 if test -n "$ac_ct_CC"; then
2010 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2016 test -z "$as_dir" && as_dir=.
2017 for ac_exec_ext in '' $ac_executable_extensions; do
2018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2019 ac_cv_prog_ac_ct_CC="$ac_prog"
2020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2029 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2030 if test -n "$ac_ct_CC"; then
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2032 $as_echo "$ac_ct_CC" >&6; }
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2035 $as_echo "no" >&6; }
2039 test -n "$ac_ct_CC" && break
2042 if test "x$ac_ct_CC" = x; then
2045 case $cross_compiling:$ac_tool_warned in
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2049 ac_tool_warned=yes ;;
2058 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2060 as_fn_error "no acceptable C compiler found in \$PATH
2061 See \`config.log' for more details." "$LINENO" 5; }
2063 # Provide some information about the compiler.
2064 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2067 for ac_option in --version -v -V -qversion; do
2068 { { ac_try="$ac_compiler $ac_option >&5"
2070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2071 *) ac_try_echo=$ac_try;;
2073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2074 $as_echo "$ac_try_echo"; } >&5
2075 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2077 if test -s conftest.err; then
2079 ... rest of stderr output deleted ...
2080 10q' conftest.err >conftest.er1
2081 cat conftest.er1 >&5
2082 rm -f conftest.er1 conftest.err
2084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2085 test $ac_status = 0; }
2088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2089 /* end confdefs.h. */
2099 ac_clean_files_save=$ac_clean_files
2100 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2101 # Try to create an executable without -o first, disregard a.out.
2102 # It will help us diagnose broken compilers, and finding out an intuition
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2105 $as_echo_n "checking for C compiler default output file name... " >&6; }
2106 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2108 # The possible output files:
2109 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2112 for ac_file in $ac_files
2115 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2116 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2121 if { { ac_try="$ac_link_default"
2123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2124 *) ac_try_echo=$ac_try;;
2126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2127 $as_echo "$ac_try_echo"; } >&5
2128 (eval "$ac_link_default") 2>&5
2130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2131 test $ac_status = 0; }; then :
2132 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2133 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2134 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2135 # so that the user can short-circuit this test for compilers unknown to
2137 for ac_file in $ac_files ''
2139 test -f "$ac_file" || continue
2141 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2144 # We found the default executable, but exeext='' is most
2148 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2150 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2152 # We set ac_cv_exeext here because the later test for it is not
2153 # safe: cross compilers may not add the suffix if given an `-o'
2154 # argument, so we may need to know it at that point already.
2155 # Even if this section looks crufty: it has the advantage of
2162 test "$ac_cv_exeext" = no && ac_cv_exeext=
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2168 $as_echo "$ac_file" >&6; }
2169 if test -z "$ac_file"; then :
2170 $as_echo "$as_me: failed program was:" >&5
2171 sed 's/^/| /' conftest.$ac_ext >&5
2173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2175 { as_fn_set_status 77
2176 as_fn_error "C compiler cannot create executables
2177 See \`config.log' for more details." "$LINENO" 5; }; }
2179 ac_exeext=$ac_cv_exeext
2181 # Check that the compiler produces executables we can run. If not, either
2182 # the compiler is broken, or we cross compile.
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2184 $as_echo_n "checking whether the C compiler works... " >&6; }
2185 # If not cross compiling, check that we can run a simple program.
2186 if test "$cross_compiling" != yes; then
2187 if { ac_try='./$ac_file'
2188 { { case "(($ac_try" in
2189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2190 *) ac_try_echo=$ac_try;;
2192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2193 $as_echo "$ac_try_echo"; } >&5
2194 (eval "$ac_try") 2>&5
2196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2197 test $ac_status = 0; }; }; then
2200 if test "$cross_compiling" = maybe; then
2203 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2205 as_fn_error "cannot run C compiled programs.
2206 If you meant to cross compile, use \`--host'.
2207 See \`config.log' for more details." "$LINENO" 5; }
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2212 $as_echo "yes" >&6; }
2214 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2215 ac_clean_files=$ac_clean_files_save
2216 # Check that the compiler produces executables we can run. If not, either
2217 # the compiler is broken, or we cross compile.
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2219 $as_echo_n "checking whether we are cross compiling... " >&6; }
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2221 $as_echo "$cross_compiling" >&6; }
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2224 $as_echo_n "checking for suffix of executables... " >&6; }
2225 if { { ac_try="$ac_link"
2227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2228 *) ac_try_echo=$ac_try;;
2230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2231 $as_echo "$ac_try_echo"; } >&5
2232 (eval "$ac_link") 2>&5
2234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2235 test $ac_status = 0; }; then :
2236 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2237 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2238 # work properly (i.e., refer to `conftest.exe'), while it won't with
2240 for ac_file in conftest.exe conftest conftest.*; do
2241 test -f "$ac_file" || continue
2243 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2244 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2252 as_fn_error "cannot compute suffix of executables: cannot compile and link
2253 See \`config.log' for more details." "$LINENO" 5; }
2255 rm -f conftest$ac_cv_exeext
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2257 $as_echo "$ac_cv_exeext" >&6; }
2259 rm -f conftest.$ac_ext
2260 EXEEXT=$ac_cv_exeext
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2263 $as_echo_n "checking for suffix of object files... " >&6; }
2264 if test "${ac_cv_objext+set}" = set; then :
2265 $as_echo_n "(cached) " >&6
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2278 rm -f conftest.o conftest.obj
2279 if { { ac_try="$ac_compile"
2281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2282 *) ac_try_echo=$ac_try;;
2284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2285 $as_echo "$ac_try_echo"; } >&5
2286 (eval "$ac_compile") 2>&5
2288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2289 test $ac_status = 0; }; then :
2290 for ac_file in conftest.o conftest.obj conftest.*; do
2291 test -f "$ac_file" || continue;
2293 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2294 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2299 $as_echo "$as_me: failed program was:" >&5
2300 sed 's/^/| /' conftest.$ac_ext >&5
2302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2304 as_fn_error "cannot compute suffix of object files: cannot compile
2305 See \`config.log' for more details." "$LINENO" 5; }
2307 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2310 $as_echo "$ac_cv_objext" >&6; }
2311 OBJEXT=$ac_cv_objext
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2314 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2315 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2316 $as_echo_n "(cached) " >&6
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2332 if ac_fn_c_try_compile "$LINENO"; then :
2337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2338 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2342 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2343 if test $ac_compiler_gnu = yes; then
2348 ac_test_CFLAGS=${CFLAGS+set}
2349 ac_save_CFLAGS=$CFLAGS
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2351 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2352 if test "${ac_cv_prog_cc_g+set}" = set; then :
2353 $as_echo_n "(cached) " >&6
2355 ac_save_c_werror_flag=$ac_c_werror_flag
2356 ac_c_werror_flag=yes
2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h. */
2370 if ac_fn_c_try_compile "$LINENO"; then :
2374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2375 /* end confdefs.h. */
2385 if ac_fn_c_try_compile "$LINENO"; then :
2388 ac_c_werror_flag=$ac_save_c_werror_flag
2390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2391 /* end confdefs.h. */
2401 if ac_fn_c_try_compile "$LINENO"; then :
2404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2409 ac_c_werror_flag=$ac_save_c_werror_flag
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2412 $as_echo "$ac_cv_prog_cc_g" >&6; }
2413 if test "$ac_test_CFLAGS" = set; then
2414 CFLAGS=$ac_save_CFLAGS
2415 elif test $ac_cv_prog_cc_g = yes; then
2416 if test "$GCC" = yes; then
2422 if test "$GCC" = yes; then
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2429 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2430 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2431 $as_echo_n "(cached) " >&6
2433 ac_cv_prog_cc_c89=no
2435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2436 /* end confdefs.h. */
2439 #include <sys/types.h>
2440 #include <sys/stat.h>
2441 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2442 struct buf { int x; };
2443 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2444 static char *e (p, i)
2450 static char *f (char * (*g) (char **, int), char **p, ...)
2455 s = g (p, va_arg (v,int));
2460 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2461 function prototypes and stuff, but not '\xHH' hex character constants.
2462 These don't provoke an error unfortunately, instead are silently treated
2463 as 'x'. The following induces an error, until -std is added to get
2464 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2465 array size at least. It's necessary to write '\x00'==0 to get something
2466 that's true only with -std. */
2467 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2469 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2470 inside strings and character constants. */
2472 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2474 int test (int i, double x);
2475 struct s1 {int (*f) (int a);};
2476 struct s2 {int (*f) (double a);};
2477 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2483 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2488 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2489 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2491 CC="$ac_save_CC $ac_arg"
2492 if ac_fn_c_try_compile "$LINENO"; then :
2493 ac_cv_prog_cc_c89=$ac_arg
2495 rm -f core conftest.err conftest.$ac_objext
2496 test "x$ac_cv_prog_cc_c89" != "xno" && break
2498 rm -f conftest.$ac_ext
2503 case "x$ac_cv_prog_cc_c89" in
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2506 $as_echo "none needed" >&6; } ;;
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2509 $as_echo "unsupported" >&6; } ;;
2511 CC="$CC $ac_cv_prog_cc_c89"
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2513 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2515 if test "x$ac_cv_prog_cc_c89" != xno; then :
2520 ac_cpp='$CPP $CPPFLAGS'
2521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2526 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2527 for ac_t in install-sh install.sh shtool; do
2528 if test -f "$ac_dir/$ac_t"; then
2530 ac_install_sh="$ac_aux_dir/$ac_t -c"
2535 if test -z "$ac_aux_dir"; then
2536 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2539 # These three variables are undocumented and unsupported,
2540 # and are intended to be withdrawn in a future Autoconf release.
2541 # They can cause serious problems if a builder's source tree is in a directory
2542 # whose full name contains unusual characters.
2543 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2544 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2545 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2548 # Find a good install program. We prefer a C program (faster),
2549 # so one script is as good as another. But avoid the broken or
2550 # incompatible versions:
2551 # SysV /etc/install, /usr/sbin/install
2552 # SunOS /usr/etc/install
2553 # IRIX /sbin/install
2555 # AmigaOS /C/install, which installs bootblocks on floppy discs
2556 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2557 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2558 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2559 # OS/2's system install, which has a completely different semantic
2560 # ./install, which can be erroneously created by make from ./install.sh.
2561 # Reject install programs that cannot install multiple files.
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2563 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2564 if test -z "$INSTALL"; then
2565 if test "${ac_cv_path_install+set}" = set; then :
2566 $as_echo_n "(cached) " >&6
2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2572 test -z "$as_dir" && as_dir=.
2573 # Account for people who put trailing slashes in PATH elements.
2574 case $as_dir/ in #((
2575 ./ | .// | /[cC]/* | \
2576 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2577 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2580 # OSF1 and SCO ODT 3.0 have their own names for install.
2581 # Don't use installbsd from OSF since it installs stuff as root
2583 for ac_prog in ginstall scoinst install; do
2584 for ac_exec_ext in '' $ac_executable_extensions; do
2585 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2586 if test $ac_prog = install &&
2587 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2588 # AIX install. It has an incompatible calling convention.
2590 elif test $ac_prog = install &&
2591 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2592 # program-specific install script used by HP pwplus--don't use.
2595 rm -rf conftest.one conftest.two conftest.dir
2596 echo one > conftest.one
2597 echo two > conftest.two
2599 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2600 test -s conftest.one && test -s conftest.two &&
2601 test -s conftest.dir/conftest.one &&
2602 test -s conftest.dir/conftest.two
2604 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2617 rm -rf conftest.one conftest.two conftest.dir
2620 if test "${ac_cv_path_install+set}" = set; then
2621 INSTALL=$ac_cv_path_install
2623 # As a last resort, use the slow shell script. Don't cache a
2624 # value for INSTALL within a source directory, because that will
2625 # break other packages using the cache if that directory is
2626 # removed, or if the value is a relative name.
2627 INSTALL=$ac_install_sh
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2631 $as_echo "$INSTALL" >&6; }
2633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2634 # It thinks the first close brace ends the variable substitution.
2635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2639 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2641 if test -n "$ac_tool_prefix"; then
2642 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2643 set dummy ${ac_tool_prefix}ar; ac_word=$2
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2645 $as_echo_n "checking for $ac_word... " >&6; }
2646 if test "${ac_cv_prog_AR+set}" = set; then :
2647 $as_echo_n "(cached) " >&6
2649 if test -n "$AR"; then
2650 ac_cv_prog_AR="$AR" # Let the user override the test.
2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656 test -z "$as_dir" && as_dir=.
2657 for ac_exec_ext in '' $ac_executable_extensions; do
2658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2659 ac_cv_prog_AR="${ac_tool_prefix}ar"
2660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2670 if test -n "$AR"; then
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2672 $as_echo "$AR" >&6; }
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2675 $as_echo "no" >&6; }
2680 if test -z "$ac_cv_prog_AR"; then
2682 # Extract the first word of "ar", so it can be a program name with args.
2683 set dummy ar; ac_word=$2
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2685 $as_echo_n "checking for $ac_word... " >&6; }
2686 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2687 $as_echo_n "(cached) " >&6
2689 if test -n "$ac_ct_AR"; then
2690 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696 test -z "$as_dir" && as_dir=.
2697 for ac_exec_ext in '' $ac_executable_extensions; do
2698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2699 ac_cv_prog_ac_ct_AR="ar"
2700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2710 if test -n "$ac_ct_AR"; then
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2712 $as_echo "$ac_ct_AR" >&6; }
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715 $as_echo "no" >&6; }
2718 if test "x$ac_ct_AR" = x; then
2721 case $cross_compiling:$ac_tool_warned in
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2725 ac_tool_warned=yes ;;
2733 if test -n "$ac_tool_prefix"; then
2734 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2735 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2737 $as_echo_n "checking for $ac_word... " >&6; }
2738 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2739 $as_echo_n "(cached) " >&6
2741 if test -n "$RANLIB"; then
2742 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2748 test -z "$as_dir" && as_dir=.
2749 for ac_exec_ext in '' $ac_executable_extensions; do
2750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2751 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2761 RANLIB=$ac_cv_prog_RANLIB
2762 if test -n "$RANLIB"; then
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2764 $as_echo "$RANLIB" >&6; }
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2767 $as_echo "no" >&6; }
2772 if test -z "$ac_cv_prog_RANLIB"; then
2773 ac_ct_RANLIB=$RANLIB
2774 # Extract the first word of "ranlib", so it can be a program name with args.
2775 set dummy ranlib; ac_word=$2
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2777 $as_echo_n "checking for $ac_word... " >&6; }
2778 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2779 $as_echo_n "(cached) " >&6
2781 if test -n "$ac_ct_RANLIB"; then
2782 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2788 test -z "$as_dir" && as_dir=.
2789 for ac_exec_ext in '' $ac_executable_extensions; do
2790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2791 ac_cv_prog_ac_ct_RANLIB="ranlib"
2792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2802 if test -n "$ac_ct_RANLIB"; then
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2804 $as_echo "$ac_ct_RANLIB" >&6; }
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2807 $as_echo "no" >&6; }
2810 if test "x$ac_ct_RANLIB" = x; then
2813 case $cross_compiling:$ac_tool_warned in
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2817 ac_tool_warned=yes ;;
2819 RANLIB=$ac_ct_RANLIB
2822 RANLIB="$ac_cv_prog_RANLIB"
2826 # Make sure we can run config.sub.
2827 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2828 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2831 $as_echo_n "checking build system type... " >&6; }
2832 if test "${ac_cv_build+set}" = set; then :
2833 $as_echo_n "(cached) " >&6
2835 ac_build_alias=$build_alias
2836 test "x$ac_build_alias" = x &&
2837 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2838 test "x$ac_build_alias" = x &&
2839 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2840 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2841 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2845 $as_echo "$ac_cv_build" >&6; }
2846 case $ac_cv_build in
2848 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2851 ac_save_IFS=$IFS; IFS='-'
2857 # Remember, the first character of IFS is used to create $*,
2858 # except with old shells:
2861 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2865 $as_echo_n "checking host system type... " >&6; }
2866 if test "${ac_cv_host+set}" = set; then :
2867 $as_echo_n "(cached) " >&6
2869 if test "x$host_alias" = x; then
2870 ac_cv_host=$ac_cv_build
2872 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2873 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2878 $as_echo "$ac_cv_host" >&6; }
2881 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2884 ac_save_IFS=$IFS; IFS='-'
2890 # Remember, the first character of IFS is used to create $*,
2891 # except with old shells:
2894 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2898 $as_echo_n "checking target system type... " >&6; }
2899 if test "${ac_cv_target+set}" = set; then :
2900 $as_echo_n "(cached) " >&6
2902 if test "x$target_alias" = x; then
2903 ac_cv_target=$ac_cv_host
2905 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2906 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2911 $as_echo "$ac_cv_target" >&6; }
2912 case $ac_cv_target in
2914 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2916 target=$ac_cv_target
2917 ac_save_IFS=$IFS; IFS='-'
2923 # Remember, the first character of IFS is used to create $*,
2924 # except with old shells:
2927 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2930 # The aliases save the names the user supplied, while $host etc.
2931 # will get canonicalized.
2932 test -n "$target_alias" &&
2933 test "$program_prefix$program_suffix$program_transform_name" = \
2935 program_prefix=${target_alias}-
2937 test "$program_prefix" != NONE &&
2938 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2939 # Use a double $ so make ignores it.
2940 test "$program_suffix" != NONE &&
2941 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2942 # Double any \ or $.
2943 # By default was `s,x,x', remove it if useless.
2944 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2945 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2948 ac_cpp='$CPP $CPPFLAGS'
2949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2952 if test -n "$ac_tool_prefix"; then
2953 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2954 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 $as_echo_n "checking for $ac_word... " >&6; }
2957 if test "${ac_cv_prog_CC+set}" = set; then :
2958 $as_echo_n "(cached) " >&6
2960 if test -n "$CC"; then
2961 ac_cv_prog_CC="$CC" # Let the user override the test.
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir=.
2968 for ac_exec_ext in '' $ac_executable_extensions; do
2969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2970 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2981 if test -n "$CC"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2983 $as_echo "$CC" >&6; }
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986 $as_echo "no" >&6; }
2991 if test -z "$ac_cv_prog_CC"; then
2993 # Extract the first word of "gcc", so it can be a program name with args.
2994 set dummy gcc; ac_word=$2
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996 $as_echo_n "checking for $ac_word... " >&6; }
2997 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2998 $as_echo_n "(cached) " >&6
3000 if test -n "$ac_ct_CC"; then
3001 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3007 test -z "$as_dir" && as_dir=.
3008 for ac_exec_ext in '' $ac_executable_extensions; do
3009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3010 ac_cv_prog_ac_ct_CC="gcc"
3011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3020 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3021 if test -n "$ac_ct_CC"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3023 $as_echo "$ac_ct_CC" >&6; }
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026 $as_echo "no" >&6; }
3029 if test "x$ac_ct_CC" = x; then
3032 case $cross_compiling:$ac_tool_warned in
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3036 ac_tool_warned=yes ;;
3044 if test -z "$CC"; then
3045 if test -n "$ac_tool_prefix"; then
3046 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3047 set dummy ${ac_tool_prefix}cc; ac_word=$2
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3049 $as_echo_n "checking for $ac_word... " >&6; }
3050 if test "${ac_cv_prog_CC+set}" = set; then :
3051 $as_echo_n "(cached) " >&6
3053 if test -n "$CC"; then
3054 ac_cv_prog_CC="$CC" # Let the user override the test.
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3060 test -z "$as_dir" && as_dir=.
3061 for ac_exec_ext in '' $ac_executable_extensions; do
3062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3063 ac_cv_prog_CC="${ac_tool_prefix}cc"
3064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3074 if test -n "$CC"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3076 $as_echo "$CC" >&6; }
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3079 $as_echo "no" >&6; }
3085 if test -z "$CC"; then
3086 # Extract the first word of "cc", so it can be a program name with args.
3087 set dummy cc; ac_word=$2
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if test "${ac_cv_prog_CC+set}" = set; then :
3091 $as_echo_n "(cached) " >&6
3093 if test -n "$CC"; then
3094 ac_cv_prog_CC="$CC" # Let the user override the test.
3097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3101 test -z "$as_dir" && as_dir=.
3102 for ac_exec_ext in '' $ac_executable_extensions; do
3103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3104 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3105 ac_prog_rejected=yes
3109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 if test $ac_prog_rejected = yes; then
3117 # We found a bogon in the path, so make sure we never use it.
3118 set dummy $ac_cv_prog_CC
3120 if test $# != 0; then
3121 # We chose a different compiler from the bogus one.
3122 # However, it has the same basename, so the bogon will be chosen
3123 # first if we set CC to just the basename; use the full file name.
3125 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3131 if test -n "$CC"; then
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3133 $as_echo "$CC" >&6; }
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3136 $as_echo "no" >&6; }
3141 if test -z "$CC"; then
3142 if test -n "$ac_tool_prefix"; then
3143 for ac_prog in cl.exe
3145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3146 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3148 $as_echo_n "checking for $ac_word... " >&6; }
3149 if test "${ac_cv_prog_CC+set}" = set; then :
3150 $as_echo_n "(cached) " >&6
3152 if test -n "$CC"; then
3153 ac_cv_prog_CC="$CC" # Let the user override the test.
3155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3159 test -z "$as_dir" && as_dir=.
3160 for ac_exec_ext in '' $ac_executable_extensions; do
3161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3162 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173 if test -n "$CC"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3175 $as_echo "$CC" >&6; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3182 test -n "$CC" && break
3185 if test -z "$CC"; then
3187 for ac_prog in cl.exe
3189 # Extract the first word of "$ac_prog", so it can be a program name with args.
3190 set dummy $ac_prog; ac_word=$2
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3192 $as_echo_n "checking for $ac_word... " >&6; }
3193 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3194 $as_echo_n "(cached) " >&6
3196 if test -n "$ac_ct_CC"; then
3197 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203 test -z "$as_dir" && as_dir=.
3204 for ac_exec_ext in '' $ac_executable_extensions; do
3205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3206 ac_cv_prog_ac_ct_CC="$ac_prog"
3207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3217 if test -n "$ac_ct_CC"; then
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3219 $as_echo "$ac_ct_CC" >&6; }
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3222 $as_echo "no" >&6; }
3226 test -n "$ac_ct_CC" && break
3229 if test "x$ac_ct_CC" = x; then
3232 case $cross_compiling:$ac_tool_warned in
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3236 ac_tool_warned=yes ;;
3245 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3247 as_fn_error "no acceptable C compiler found in \$PATH
3248 See \`config.log' for more details." "$LINENO" 5; }
3250 # Provide some information about the compiler.
3251 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3254 for ac_option in --version -v -V -qversion; do
3255 { { ac_try="$ac_compiler $ac_option >&5"
3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3258 *) ac_try_echo=$ac_try;;
3260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3261 $as_echo "$ac_try_echo"; } >&5
3262 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3264 if test -s conftest.err; then
3266 ... rest of stderr output deleted ...
3267 10q' conftest.err >conftest.er1
3268 cat conftest.er1 >&5
3269 rm -f conftest.er1 conftest.err
3271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3272 test $ac_status = 0; }
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3276 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3277 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3278 $as_echo_n "(cached) " >&6
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3294 if ac_fn_c_try_compile "$LINENO"; then :
3299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3304 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3305 if test $ac_compiler_gnu = yes; then
3310 ac_test_CFLAGS=${CFLAGS+set}
3311 ac_save_CFLAGS=$CFLAGS
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3313 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3314 if test "${ac_cv_prog_cc_g+set}" = set; then :
3315 $as_echo_n "(cached) " >&6
3317 ac_save_c_werror_flag=$ac_c_werror_flag
3318 ac_c_werror_flag=yes
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3332 if ac_fn_c_try_compile "$LINENO"; then :
3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3347 if ac_fn_c_try_compile "$LINENO"; then :
3350 ac_c_werror_flag=$ac_save_c_werror_flag
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3363 if ac_fn_c_try_compile "$LINENO"; then :
3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3371 ac_c_werror_flag=$ac_save_c_werror_flag
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3374 $as_echo "$ac_cv_prog_cc_g" >&6; }
3375 if test "$ac_test_CFLAGS" = set; then
3376 CFLAGS=$ac_save_CFLAGS
3377 elif test $ac_cv_prog_cc_g = yes; then
3378 if test "$GCC" = yes; then
3384 if test "$GCC" = yes; then
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3391 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3392 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3393 $as_echo_n "(cached) " >&6
3395 ac_cv_prog_cc_c89=no
3397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3401 #include <sys/types.h>
3402 #include <sys/stat.h>
3403 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3404 struct buf { int x; };
3405 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3406 static char *e (p, i)
3412 static char *f (char * (*g) (char **, int), char **p, ...)
3417 s = g (p, va_arg (v,int));
3422 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3423 function prototypes and stuff, but not '\xHH' hex character constants.
3424 These don't provoke an error unfortunately, instead are silently treated
3425 as 'x'. The following induces an error, until -std is added to get
3426 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3427 array size at least. It's necessary to write '\x00'==0 to get something
3428 that's true only with -std. */
3429 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3431 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3432 inside strings and character constants. */
3434 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3436 int test (int i, double x);
3437 struct s1 {int (*f) (int a);};
3438 struct s2 {int (*f) (double a);};
3439 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3445 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3450 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3451 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3453 CC="$ac_save_CC $ac_arg"
3454 if ac_fn_c_try_compile "$LINENO"; then :
3455 ac_cv_prog_cc_c89=$ac_arg
3457 rm -f core conftest.err conftest.$ac_objext
3458 test "x$ac_cv_prog_cc_c89" != "xno" && break
3460 rm -f conftest.$ac_ext
3465 case "x$ac_cv_prog_cc_c89" in
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3468 $as_echo "none needed" >&6; } ;;
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3471 $as_echo "unsupported" >&6; } ;;
3473 CC="$CC $ac_cv_prog_cc_c89"
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3475 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3477 if test "x$ac_cv_prog_cc_c89" != xno; then :
3482 ac_cpp='$CPP $CPPFLAGS'
3483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3491 if test -n "$ac_tool_prefix"; then
3492 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3493 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3495 $as_echo_n "checking for $ac_word... " >&6; }
3496 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3497 $as_echo_n "(cached) " >&6
3499 if test -n "$RANLIB"; then
3500 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506 test -z "$as_dir" && as_dir=.
3507 for ac_exec_ext in '' $ac_executable_extensions; do
3508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3509 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3519 RANLIB=$ac_cv_prog_RANLIB
3520 if test -n "$RANLIB"; then
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3522 $as_echo "$RANLIB" >&6; }
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3525 $as_echo "no" >&6; }
3530 if test -z "$ac_cv_prog_RANLIB"; then
3531 ac_ct_RANLIB=$RANLIB
3532 # Extract the first word of "ranlib", so it can be a program name with args.
3533 set dummy ranlib; ac_word=$2
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3535 $as_echo_n "checking for $ac_word... " >&6; }
3536 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3537 $as_echo_n "(cached) " >&6
3539 if test -n "$ac_ct_RANLIB"; then
3540 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3546 test -z "$as_dir" && as_dir=.
3547 for ac_exec_ext in '' $ac_executable_extensions; do
3548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3549 ac_cv_prog_ac_ct_RANLIB="ranlib"
3550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3559 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3560 if test -n "$ac_ct_RANLIB"; then
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3562 $as_echo "$ac_ct_RANLIB" >&6; }
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565 $as_echo "no" >&6; }
3568 if test "x$ac_ct_RANLIB" = x; then
3571 case $cross_compiling:$ac_tool_warned in
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3574 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3575 ac_tool_warned=yes ;;
3577 RANLIB=$ac_ct_RANLIB
3580 RANLIB="$ac_cv_prog_RANLIB"
3584 # Put a plausible default for CC_FOR_BUILD in Makefile.
3585 if test "x$cross_compiling" = "xno"; then
3586 CC_FOR_BUILD='$(CC)'
3591 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
3594 # If a cpu ever has more than one simulator to choose from, use
3595 # --enable-sim=... to choose.
3596 # Check whether --enable-sim was given.
3597 if test "${enable_sim+set}" = set; then :
3598 enableval=$enable_sim; case "${enableval}" in
3600 *) as_fn_error "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
3605 # WHEN ADDING ENTRIES TO THIS MATRIX:
3607 # Make sure that the left side always has two dashes. Otherwise you
3608 # can get spurious matches. Even for unambiguous cases, do this as a
3609 # convention, else the table becomes a real mess to understand and
3612 if test "${enable_sim}" != no; then
3617 arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
3620 subdirs="$subdirs arm"
3625 subdirs="$subdirs avr"
3629 subdirs="$subdirs cr16"
3633 cris-*-* | crisv32-*-*)
3634 subdirs="$subdirs cris"
3639 subdirs="$subdirs d10v"
3643 subdirs="$subdirs frv"
3648 subdirs="$subdirs h8300"
3653 subdirs="$subdirs iq2000"
3658 subdirs="$subdirs lm32"
3663 subdirs="$subdirs m32c"
3667 subdirs="$subdirs m32r"
3671 m68hc11-*-*|m6811-*-*)
3672 subdirs="$subdirs m68hc11"
3677 subdirs="$subdirs mcore"
3682 subdirs="$subdirs mips"
3688 subdirs="$subdirs mn10300"
3693 subdirs="$subdirs moxie"
3698 subdirs="$subdirs sh64"
3703 subdirs="$subdirs sh"
3707 sparc-*-rtems*|sparc-*-elf*)
3708 subdirs="$subdirs erc32"
3713 subdirs="$subdirs ppc"
3717 subdirs="$subdirs v850"
3723 # No simulator subdir, so the subdir "common" isn't needed.
3727 if test "$testsuite" = yes; then
3728 subdirs="$subdirs testsuite"
3731 if test "$common" = yes; then
3732 subdirs="$subdirs common"
3735 if test "$igen" = yes; then
3736 subdirs="$subdirs igen"
3741 ac_config_files="$ac_config_files Makefile"
3743 cat >confcache <<\_ACEOF
3744 # This file is a shell script that caches the results of configure
3745 # tests run on this system so they can be shared between configure
3746 # scripts and configure runs, see configure's option --config-cache.
3747 # It is not useful on other systems. If it contains results you don't
3748 # want to keep, you may remove or edit it.
3750 # config.status only pays attention to the cache file if you give it
3751 # the --recheck option to rerun configure.
3753 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3754 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3759 # The following way of writing the cache mishandles newlines in values,
3760 # but we know of no workaround that is simple, portable, and efficient.
3761 # So, we kill variables containing newlines.
3762 # Ultrix sh set writes to stderr and can't be redirected directly,
3763 # and sets the high bit in the cache file unless we assign to the vars.
3765 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3766 eval ac_val=\$$ac_var
3770 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3771 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3774 _ | IFS | as_nl) ;; #(
3775 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3776 *) { eval $ac_var=; unset $ac_var;} ;;
3782 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3783 *${as_nl}ac_space=\ *)
3784 # `set' does not quote correctly, so add quotes: double-quote
3785 # substitution turns \\\\ into \\, and sed turns \\ into \.
3788 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3791 # `set' quotes correctly as required by POSIX, so do not add quotes.
3792 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3801 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3803 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3805 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3806 if test -w "$cache_file"; then
3807 test "x$cache_file" != "x/dev/null" &&
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3809 $as_echo "$as_me: updating cache $cache_file" >&6;}
3810 cat confcache >$cache_file
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3813 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3818 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3819 # Let make expand exec_prefix.
3820 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3822 # Transform confdefs.h into DEFS.
3823 # Protect against shell expansion while executing Makefile rules.
3824 # Protect against Makefile macro expansion.
3826 # If the first sed substitution is executed (which looks for macros that
3827 # take arguments), then branch to the quote section. Otherwise,
3828 # look for a macro that doesn't take arguments.
3838 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3840 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3844 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3857 DEFS=`sed -n "$ac_script" confdefs.h`
3862 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3863 # 1. Remove the extension, and $U if already installed.
3864 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3865 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3866 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3867 # will be set to the directory where LIBOBJS objects are built.
3868 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3869 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3873 LTLIBOBJS=$ac_ltlibobjs
3877 : ${CONFIG_STATUS=./config.status}
3879 ac_clean_files_save=$ac_clean_files
3880 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3882 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3884 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3886 # Generated by $as_me.
3887 # Run this file to recreate the current configuration.
3888 # Compiler output produced by configure, useful for debugging
3889 # configure, is in config.log if it exists.
3895 SHELL=\${CONFIG_SHELL-$SHELL}
3898 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3899 ## -------------------- ##
3900 ## M4sh Initialization. ##
3901 ## -------------------- ##
3903 # Be more Bourne compatible
3904 DUALCASE=1; export DUALCASE # for MKS sh
3905 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3908 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3909 # is contrary to our usage. Disable this feature.
3910 alias -g '${1+"$@"}'='"$@"'
3911 setopt NO_GLOB_SUBST
3913 case `(set -o) 2>/dev/null` in #(
3925 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3926 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3927 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3928 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3929 # Prefer a ksh shell builtin over an external printf program on Solaris,
3930 # but without wasting forks for bash or zsh.
3931 if test -z "$BASH_VERSION$ZSH_VERSION" \
3932 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3933 as_echo='print -r --'
3934 as_echo_n='print -rn --'
3935 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3936 as_echo='printf %s\n'
3937 as_echo_n='printf %s'
3939 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3940 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3941 as_echo_n='/usr/ucb/echo -n'
3943 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3944 as_echo_n_body='eval
3948 expr "X$arg" : "X\\(.*\\)$as_nl";
3949 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3951 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3953 export as_echo_n_body
3954 as_echo_n='sh -c $as_echo_n_body as_echo'
3957 as_echo='sh -c $as_echo_body as_echo'
3960 # The user is always right.
3961 if test "${PATH_SEPARATOR+set}" != set; then
3963 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3964 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3971 # We need space, tab and new line, in precisely that order. Quoting is
3972 # there to prevent editors from complaining about space-tab.
3973 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3974 # splitting by setting IFS to empty value.)
3977 # Find who we are. Look in the path if we contain no directory separator.
3979 *[\\/]* ) as_myself=$0 ;;
3980 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 test -z "$as_dir" && as_dir=.
3985 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3991 # We did not find ourselves, most probably we were run as `sh COMMAND'
3992 # in which case we are not to be found in the path.
3993 if test "x$as_myself" = x; then
3996 if test ! -f "$as_myself"; then
3997 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4001 # Unset variables that we do not need and which cause bugs (e.g. in
4002 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4003 # suppresses any "Segmentation fault" message there. '((' could
4004 # trigger a bug in pdksh 5.2.14.
4005 for as_var in BASH_ENV ENV MAIL MAILPATH
4006 do eval test x\${$as_var+set} = xset \
4007 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4020 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4023 # as_fn_error ERROR [LINENO LOG_FD]
4024 # ---------------------------------
4025 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4026 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4027 # script with status $?, using 1 if that was 0.
4030 as_status=$?; test $as_status -eq 0 && as_status=1
4032 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4033 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4035 $as_echo "$as_me: error: $1" >&2
4036 as_fn_exit $as_status
4040 # as_fn_set_status STATUS
4041 # -----------------------
4042 # Set $? to STATUS, without forking.
4046 } # as_fn_set_status
4050 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4060 # Portably unset VAR.
4063 { eval $1=; unset $1;}
4065 as_unset=as_fn_unset
4066 # as_fn_append VAR VALUE
4067 # ----------------------
4068 # Append the text in VALUE to the end of the definition contained in VAR. Take
4069 # advantage of any shell optimizations that allow amortized linear growth over
4070 # repeated appends, instead of the typical quadratic growth present in naive
4072 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4073 eval 'as_fn_append ()
4084 # as_fn_arith ARG...
4085 # ------------------
4086 # Perform arithmetic evaluation on the ARGs, and store the result in the
4087 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4088 # must be portable across $(()) and expr.
4089 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4090 eval 'as_fn_arith ()
4097 as_val=`expr "$@" || test $? -eq 1`
4102 if expr a : '\(a\)' >/dev/null 2>&1 &&
4103 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4109 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4110 as_basename=basename
4115 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4121 as_me=`$as_basename -- "$0" ||
4122 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4123 X"$0" : 'X\(//\)$' \| \
4124 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4126 sed '/^.*\/\([^/][^/]*\)\/*$/{
4140 # Avoid depending upon Character Ranges.
4141 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4142 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4143 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4144 as_cr_digits='0123456789'
4145 as_cr_alnum=$as_cr_Letters$as_cr_digits
4147 ECHO_C= ECHO_N= ECHO_T=
4148 case `echo -n x` in #(((((
4150 case `echo 'xy\c'` in
4151 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4153 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4160 rm -f conf$$ conf$$.exe conf$$.file
4161 if test -d conf$$.dir; then
4162 rm -f conf$$.dir/conf$$.file
4165 mkdir conf$$.dir 2>/dev/null
4167 if (echo >conf$$.file) 2>/dev/null; then
4168 if ln -s conf$$.file conf$$ 2>/dev/null; then
4170 # ... but there are two gotchas:
4171 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4172 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4173 # In both cases, we have to default to `cp -p'.
4174 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4176 elif ln conf$$.file conf$$ 2>/dev/null; then
4184 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4185 rmdir conf$$.dir 2>/dev/null
4190 # Create "$as_dir" as a directory, including parents if necessary.
4195 -*) as_dir=./$as_dir;;
4197 test -d "$as_dir" || eval $as_mkdir_p || {
4201 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4202 *) as_qdir=$as_dir;;
4204 as_dirs="'$as_qdir' $as_dirs"
4205 as_dir=`$as_dirname -- "$as_dir" ||
4206 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4207 X"$as_dir" : 'X\(//\)[^/]' \| \
4208 X"$as_dir" : 'X\(//\)$' \| \
4209 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4210 $as_echo X"$as_dir" |
4211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4228 test -d "$as_dir" && break
4230 test -z "$as_dirs" || eval "mkdir $as_dirs"
4231 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4235 if mkdir -p . 2>/dev/null; then
4236 as_mkdir_p='mkdir -p "$as_dir"'
4238 test -d ./-p && rmdir ./-p
4242 if test -x / >/dev/null 2>&1; then
4245 if ls -dL / >/dev/null 2>&1; then
4252 if test -d "$1"; then
4258 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4259 ???[sx]*):;;*)false;;esac;fi
4263 as_executable_p=$as_test_x
4265 # Sed expression to map a string onto a valid CPP name.
4266 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4268 # Sed expression to map a string onto a valid variable name.
4269 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4273 ## ----------------------------------- ##
4274 ## Main body of $CONFIG_STATUS script. ##
4275 ## ----------------------------------- ##
4277 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4280 # Save the log message, to keep $0 and so on meaningful, and to
4281 # report actual input values of CONFIG_FILES etc. instead of their
4282 # values after options handling.
4284 This file was extended by $as_me, which was
4285 generated by GNU Autoconf 2.64. Invocation command line was
4287 CONFIG_FILES = $CONFIG_FILES
4288 CONFIG_HEADERS = $CONFIG_HEADERS
4289 CONFIG_LINKS = $CONFIG_LINKS
4290 CONFIG_COMMANDS = $CONFIG_COMMANDS
4293 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4298 case $ac_config_files in *"
4299 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4305 # Files that config.status was made for.
4306 config_files="$ac_config_files"
4310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4312 \`$as_me' instantiates files and other configuration actions
4313 from templates according to the current configuration. Unless the files
4314 and actions are specified as TAGs, all are instantiated by default.
4316 Usage: $0 [OPTION]... [TAG]...
4318 -h, --help print this help, then exit
4319 -V, --version print version number and configuration settings, then exit
4320 -q, --quiet, --silent
4321 do not print progress messages
4322 -d, --debug don't remove temporary files
4323 --recheck update $as_me by reconfiguring in the same conditions
4324 --file=FILE[:TEMPLATE]
4325 instantiate the configuration file FILE
4327 Configuration files:
4330 Report bugs to the package provider."
4333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4336 configured by $0, generated by GNU Autoconf 2.64,
4337 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4339 Copyright (C) 2009 Free Software Foundation, Inc.
4340 This config.status script is free software; the Free Software Foundation
4341 gives unlimited permission to copy, distribute and modify it."
4346 test -n "\$AWK" || AWK=awk
4349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4350 # The default lists apply if the user does not specify any file.
4356 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4357 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4368 # Handling of the options.
4369 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4371 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4372 $as_echo "$ac_cs_version"; exit ;;
4373 --debug | --debu | --deb | --de | --d | -d )
4375 --file | --fil | --fi | --f )
4378 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4380 as_fn_append CONFIG_FILES " '$ac_optarg'"
4381 ac_need_defaults=false;;
4382 --he | --h | --help | --hel | -h )
4383 $as_echo "$ac_cs_usage"; exit ;;
4384 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4385 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4389 -*) as_fn_error "unrecognized option: \`$1'
4390 Try \`$0 --help' for more information." ;;
4392 *) as_fn_append ac_config_targets " $1"
4393 ac_need_defaults=false ;;
4399 ac_configure_extra_args=
4401 if $ac_cs_silent; then
4403 ac_configure_extra_args="$ac_configure_extra_args --silent"
4407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4408 if \$ac_cs_recheck; then
4409 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4411 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4412 CONFIG_SHELL='$SHELL'
4418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4422 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4423 ## Running $as_me. ##
4429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4434 # Handling of arguments.
4435 for ac_config_target in $ac_config_targets
4437 case $ac_config_target in
4438 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4440 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4445 # If the user did not use the arguments to specify the items to instantiate,
4446 # then the envvar interface is used. Set only those that are not.
4447 # We use the long form for the default assignment because of an extremely
4448 # bizarre bug on SunOS 4.1.3.
4449 if $ac_need_defaults; then
4450 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4453 # Have a temporary directory for convenience. Make it in the build tree
4454 # simply because there is no reason against having it here, and in addition,
4455 # creating and moving files from /tmp can sometimes cause problems.
4456 # Hook for its removal unless debugging.
4457 # Note that there is a small window in which the directory will not be cleaned:
4458 # after its creation but before its name has been assigned to `$tmp'.
4462 trap 'exit_status=$?
4463 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4465 trap 'as_fn_exit 1' 1 2 13 15
4467 # Create a (secure) tmp directory for tmp files.
4470 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4471 test -n "$tmp" && test -d "$tmp"
4474 tmp=./conf$$-$RANDOM
4475 (umask 077 && mkdir "$tmp")
4476 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4478 # Set up the scripts for CONFIG_FILES section.
4479 # No need to generate them if there are no CONFIG_FILES.
4480 # This happens for instance with `./config.status config.h'.
4481 if test -n "$CONFIG_FILES"; then
4484 ac_cr=`echo X | tr X '\015'`
4485 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4486 # But we know of no other shell where ac_cr would be empty at this
4487 # point, so we can use a bashism as a fallback.
4488 if test "x$ac_cr" = x; then
4489 eval ac_cr=\$\'\\r\'
4491 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4492 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4498 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4503 echo "cat >conf$$subs.awk <<_ACEOF" &&
4504 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4507 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4508 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4510 for ac_last_try in false false false false false :; do
4511 . ./conf$$subs.sh ||
4512 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4514 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4515 if test $ac_delim_n = $ac_delim_num; then
4517 elif $ac_last_try; then
4518 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4520 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4526 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4530 s/^/S["/; s/!.*/"]=/
4540 s/\(.\{148\}\).*/\1/
4542 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4547 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4554 s/\(.\{148\}\).*/\1/
4556 s/["\\]/\\&/g; s/^/"/; s/$/"/
4560 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4565 ' <conf$$subs.awk | sed '
4570 ' >>$CONFIG_STATUS || ac_write_fail=1
4571 rm -f conf$$subs.awk
4572 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4574 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4575 for (key in S) S_is_set[key] = 1
4581 nfields = split(line, field, "@")
4583 len = length(field[1])
4584 for (i = 2; i < nfields; i++) {
4586 keylen = length(key)
4587 if (S_is_set[key]) {
4589 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4590 len += length(value) + length(field[++i])
4601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4602 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4603 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4606 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4607 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4610 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4611 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4612 # trailing colons and then remove the whole line if VPATH becomes empty
4613 # (actually we leave an empty line to preserve line numbers).
4614 if test "x$srcdir" = x.; then
4615 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4619 s/^\([^=]*=[ ]*\):*/\1/
4625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4626 fi # test -n "$CONFIG_FILES"
4629 eval set X " :F $CONFIG_FILES "
4634 :[FHLC]) ac_mode=$ac_tag; continue;;
4636 case $ac_mode$ac_tag in
4638 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4639 :[FH]-) ac_tag=-:-;;
4640 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4657 -) ac_f="$tmp/stdin";;
4658 *) # Look for the file first in the build tree, then in the source tree
4659 # (if the path is not absolute). The absolute path cannot be DOS-style,
4660 # because $ac_f cannot contain `:'.
4664 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4666 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4668 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4669 as_fn_append ac_file_inputs " '$ac_f'"
4672 # Let's still pretend it is `configure' which instantiates (i.e., don't
4673 # use $as_me), people would be surprised to read:
4674 # /* config.h. Generated by config.status. */
4675 configure_input='Generated from '`
4676 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4678 if test x"$ac_file" != x-; then
4679 configure_input="$ac_file. $configure_input"
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4681 $as_echo "$as_me: creating $ac_file" >&6;}
4683 # Neutralize special characters interpreted by sed in replacement strings.
4684 case $configure_input in #(
4685 *\&* | *\|* | *\\* )
4686 ac_sed_conf_input=`$as_echo "$configure_input" |
4687 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4688 *) ac_sed_conf_input=$configure_input;;
4692 *:-:* | *:-) cat >"$tmp/stdin" \
4693 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4698 ac_dir=`$as_dirname -- "$ac_file" ||
4699 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4700 X"$ac_file" : 'X\(//\)[^/]' \| \
4701 X"$ac_file" : 'X\(//\)$' \| \
4702 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4703 $as_echo X"$ac_file" |
4704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4721 as_dir="$ac_dir"; as_fn_mkdir_p
4725 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4727 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4728 # A ".." for each directory in $ac_dir_suffix.
4729 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4730 case $ac_top_builddir_sub in
4731 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4732 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4735 ac_abs_top_builddir=$ac_pwd
4736 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4737 # for backward compatibility:
4738 ac_top_builddir=$ac_top_build_prefix
4741 .) # We are building in place.
4743 ac_top_srcdir=$ac_top_builddir_sub
4744 ac_abs_top_srcdir=$ac_pwd ;;
4745 [\\/]* | ?:[\\/]* ) # Absolute name.
4746 ac_srcdir=$srcdir$ac_dir_suffix;
4747 ac_top_srcdir=$srcdir
4748 ac_abs_top_srcdir=$srcdir ;;
4750 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4751 ac_top_srcdir=$ac_top_build_prefix$srcdir
4752 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4754 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4764 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4765 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4770 # If the template does not know about datarootdir, expand it.
4771 # FIXME: This hack should be removed a few years after 2.60.
4772 ac_datarootdir_hack=; ac_datarootdir_seen=
4783 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4784 *datarootdir*) ac_datarootdir_seen=yes;;
4785 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4787 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4790 ac_datarootdir_hack='
4791 s&@datadir@&$datadir&g
4792 s&@docdir@&$docdir&g
4793 s&@infodir@&$infodir&g
4794 s&@localedir@&$localedir&g
4795 s&@mandir@&$mandir&g
4796 s&\\\${datarootdir}&$datarootdir&g' ;;
4800 # Neutralize VPATH when `$srcdir' = `.'.
4801 # Shell code in configure.ac might set extrasub.
4802 # FIXME: do we really want to maintain this feature?
4803 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4804 ac_sed_extra="$ac_vpsub
4807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4809 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4810 s|@configure_input@|$ac_sed_conf_input|;t t
4811 s&@top_builddir@&$ac_top_builddir_sub&;t t
4812 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4813 s&@srcdir@&$ac_srcdir&;t t
4814 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4815 s&@top_srcdir@&$ac_top_srcdir&;t t
4816 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4817 s&@builddir@&$ac_builddir&;t t
4818 s&@abs_builddir@&$ac_abs_builddir&;t t
4819 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4820 s&@INSTALL@&$ac_INSTALL&;t t
4821 $ac_datarootdir_hack
4823 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4824 || as_fn_error "could not create $ac_file" "$LINENO" 5
4826 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4827 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4828 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4830 which seems to be undefined. Please make sure it is defined." >&5
4831 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4832 which seems to be undefined. Please make sure it is defined." >&2;}
4836 -) cat "$tmp/out" && rm -f "$tmp/out";;
4837 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4839 || as_fn_error "could not create $ac_file" "$LINENO" 5
4851 ac_clean_files=$ac_clean_files_save
4853 test $ac_write_fail = 0 ||
4854 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4857 # configure is writing to config.log, and then calls config.status.
4858 # config.status does its own redirection, appending to config.log.
4859 # Unfortunately, on DOS this fails, as config.log is still kept open
4860 # by configure, so config.status won't be able to write to it; its
4861 # output is simply discarded. So we exec the FD to /dev/null,
4862 # effectively closing config.log, so it can be properly (re)opened and
4863 # appended to by config.status. When coming back to configure, we
4864 # need to make the FD available again.
4865 if test "$no_create" != yes; then
4867 ac_config_status_args=
4868 test "$silent" = yes &&
4869 ac_config_status_args="$ac_config_status_args --quiet"
4871 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4873 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4874 # would make configure fail if this is the last instruction.
4875 $ac_cs_success || as_fn_exit $?
4879 # CONFIG_SUBDIRS section.
4881 if test "$no_recursion" != yes; then
4883 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4884 # so they do not pile up.
4885 ac_sub_configure_args=
4887 eval "set x $ac_configure_args"
4891 if test -n "$ac_prev"; then
4896 -cache-file | --cache-file | --cache-fil | --cache-fi \
4897 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4898 ac_prev=cache_file ;;
4899 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4900 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4903 --config-cache | -C)
4905 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4907 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4909 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4911 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4913 --disable-option-checking)
4917 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4919 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
4923 # Always prepend --prefix to ensure using the same prefix
4924 # in subdir configurations.
4925 ac_arg="--prefix=$prefix"
4927 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4929 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
4932 if test "$silent" = yes; then
4933 ac_sub_configure_args="--silent $ac_sub_configure_args"
4936 # Always prepend --disable-option-checking to silence warnings, since
4937 # different subdirs can have different --enable and --with options.
4938 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
4941 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4943 # Do not complain, so a configure script can configure whichever
4944 # parts of a large source tree are present.
4945 test -d "$srcdir/$ac_dir" || continue
4947 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4948 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4949 $as_echo "$ac_msg" >&6
4950 as_dir="$ac_dir"; as_fn_mkdir_p
4954 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4956 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4957 # A ".." for each directory in $ac_dir_suffix.
4958 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4959 case $ac_top_builddir_sub in
4960 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4961 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4964 ac_abs_top_builddir=$ac_pwd
4965 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4966 # for backward compatibility:
4967 ac_top_builddir=$ac_top_build_prefix
4970 .) # We are building in place.
4972 ac_top_srcdir=$ac_top_builddir_sub
4973 ac_abs_top_srcdir=$ac_pwd ;;
4974 [\\/]* | ?:[\\/]* ) # Absolute name.
4975 ac_srcdir=$srcdir$ac_dir_suffix;
4976 ac_top_srcdir=$srcdir
4977 ac_abs_top_srcdir=$srcdir ;;
4979 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4980 ac_top_srcdir=$ac_top_build_prefix$srcdir
4981 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4983 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4988 # Check for guested configure; otherwise get Cygnus style configure.
4989 if test -f "$ac_srcdir/configure.gnu"; then
4990 ac_sub_configure=$ac_srcdir/configure.gnu
4991 elif test -f "$ac_srcdir/configure"; then
4992 ac_sub_configure=$ac_srcdir/configure
4993 elif test -f "$ac_srcdir/configure.in"; then
4994 # This should be Cygnus configure.
4995 ac_sub_configure=$ac_aux_dir/configure
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4998 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5002 # The recursion is here.
5003 if test -n "$ac_sub_configure"; then
5004 # Make the cache file name correct relative to the subdirectory.
5006 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5008 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
5011 { $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
5012 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5013 # The eval makes quoting arguments work.
5014 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5015 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5016 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
5022 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5024 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}