2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for riscv-tests 1.0.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 # Preserve -v and -x to the replacement shell.
220 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
228 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
231 if test x
$as_have_required = xno
; then :
232 $as_echo "$0: This script requires a shell more modern than all"
233 $as_echo "$0: the shells that I found on your system."
234 if test x
${ZSH_VERSION+set} = xset
; then
235 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
236 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
238 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
239 $0: including any error possibly output before this
240 $0: message. Then install a modern shell, or manually run
241 $0: the script under such a shell if you do have one."
247 SHELL
=${CONFIG_SHELL-/bin/sh}
249 # Unset more variables known to interfere with behavior of common tools.
250 CLICOLOR_FORCE
= GREP_OPTIONS
=
251 unset CLICOLOR_FORCE GREP_OPTIONS
253 ## --------------------- ##
254 ## M4sh Shell Functions. ##
255 ## --------------------- ##
258 # Portably unset VAR.
261 { eval $1=; unset $1;}
265 # as_fn_set_status STATUS
266 # -----------------------
267 # Set $? to STATUS, without forking.
275 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
285 # Create "$as_dir" as a directory, including parents if necessary.
290 -*) as_dir
=.
/$as_dir;;
292 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
296 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
299 as_dirs
="'$as_qdir' $as_dirs"
300 as_dir
=`$as_dirname -- "$as_dir" ||
301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
302 X"$as_dir" : 'X\(//\)[^/]' \| \
303 X"$as_dir" : 'X\(//\)$' \| \
304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
305 $as_echo X"$as_dir" |
306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
323 test -d "$as_dir" && break
325 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
326 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
330 # as_fn_append VAR VALUE
331 # ----------------------
332 # Append the text in VALUE to the end of the definition contained in VAR. Take
333 # advantage of any shell optimizations that allow amortized linear growth over
334 # repeated appends, instead of the typical quadratic growth present in naive
336 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
337 eval 'as_fn_append ()
350 # Perform arithmetic evaluation on the ARGs, and store the result in the
351 # global $as_val. Take advantage of shells that can avoid forks. The arguments
352 # must be portable across $(()) and expr.
353 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
361 as_val
=`expr "$@" || test $? -eq 1`
366 # as_fn_error STATUS ERROR [LINENO LOG_FD]
367 # ----------------------------------------
368 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
369 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
370 # script with STATUS, using 1 if that was 0.
373 as_status
=$1; test $as_status -eq 0 && as_status
=1
375 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
376 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
378 $as_echo "$as_me: error: $2" >&2
379 as_fn_exit
$as_status
382 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
383 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
389 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
401 as_me
=`$as_basename -- "$0" ||
402 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
403 X"$0" : 'X\(//\)$' \| \
404 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
406 sed '/^.*\/\([^/][^/]*\)\/*$/{
420 # Avoid depending upon Character Ranges.
421 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
422 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
423 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
424 as_cr_digits
='0123456789'
425 as_cr_alnum
=$as_cr_Letters$as_cr_digits
428 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
429 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
430 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
431 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
432 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
444 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
448 chmod +x
"$as_me.lineno" ||
449 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
455 # Exit status is that of the last command.
459 ECHO_C
= ECHO_N
= ECHO_T
=
460 case `echo -n x` in #(((((
462 case `echo 'xy\c'` in
463 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
465 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
472 rm -f conf$$ conf$$.exe conf$$.
file
473 if test -d conf$$.dir
; then
474 rm -f conf$$.dir
/conf$$.
file
477 mkdir conf$$.dir
2>/dev
/null
479 if (echo >conf$$.
file) 2>/dev
/null
; then
480 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
482 # ... but there are two gotchas:
483 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
484 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
485 # In both cases, we have to default to `cp -p'.
486 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
488 elif ln conf$$.
file conf$$
2>/dev
/null
; then
496 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
497 rmdir conf$$.dir
2>/dev
/null
499 if mkdir
-p .
2>/dev
/null
; then
500 as_mkdir_p
='mkdir -p "$as_dir"'
502 test -d .
/-p && rmdir .
/-p
506 if test -x / >/dev
/null
2>&1; then
509 if ls -dL / >/dev
/null
2>&1; then
516 if test -d "$1"; then
522 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
523 ???[sx]*):;;*)false;;esac;fi
527 as_executable_p
=$as_test_x
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
540 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='riscv-tests'
558 PACKAGE_TARNAME
='riscv-tests'
559 PACKAGE_VERSION
='1.0'
560 PACKAGE_STRING
='riscv-tests 1.0'
564 ac_subst_vars
='LTLIBOBJS
600 program_transform_name
613 enable_option_checking
615 ac_precious_vars
='build_alias
625 # Initialize some variables set by options.
627 ac_init_version
=false
628 ac_unrecognized_opts
=
630 # The variables have the same names as the options, with
631 # dashes changed to underlines.
639 program_transform_name
=s
,x
,x
,
647 # Installation directory options.
648 # These are left unexpanded so users can "make install exec_prefix=/foo"
649 # and all the variables that are supposed to be based on exec_prefix
650 # by default will actually change.
651 # Use braces instead of parens because sh, perl, etc. also accept them.
652 # (The list follows the same order as the GNU Coding Standards.)
653 bindir
='${exec_prefix}/bin'
654 sbindir
='${exec_prefix}/sbin'
655 libexecdir
='${exec_prefix}/libexec'
656 datarootdir
='${prefix}/share'
657 datadir
='${datarootdir}'
658 sysconfdir
='${prefix}/etc'
659 sharedstatedir
='${prefix}/com'
660 localstatedir
='${prefix}/var'
661 includedir
='${prefix}/include'
662 oldincludedir
='/usr/include'
663 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
664 infodir
='${datarootdir}/info'
669 libdir
='${exec_prefix}/lib'
670 localedir
='${datarootdir}/locale'
671 mandir
='${datarootdir}/man'
677 # If the previous option needs an argument, assign it.
678 if test -n "$ac_prev"; then
679 eval $ac_prev=\
$ac_option
685 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
690 # Accept the important Cygnus configure options, so we can diagnose typos.
692 case $ac_dashdash$ac_option in
696 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
698 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
701 -build |
--build |
--buil |
--bui |
--bu)
702 ac_prev
=build_alias
;;
703 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
704 build_alias
=$ac_optarg ;;
706 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
707 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
708 ac_prev
=cache_file
;;
709 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
710 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
711 cache_file
=$ac_optarg ;;
714 cache_file
=config.cache
;;
716 -datadir |
--datadir |
--datadi |
--datad)
718 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
719 datadir
=$ac_optarg ;;
721 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
722 |
--dataroo |
--dataro |
--datar)
723 ac_prev
=datarootdir
;;
724 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
725 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
726 datarootdir
=$ac_optarg ;;
728 -disable-* |
--disable-*)
729 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
730 # Reject names that are not valid shell variable names.
731 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
732 as_fn_error $?
"invalid feature name: $ac_useropt"
733 ac_useropt_orig
=$ac_useropt
734 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
735 case $ac_user_opts in
739 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
740 ac_unrecognized_sep
=', ';;
742 eval enable_
$ac_useropt=no
;;
744 -docdir |
--docdir |
--docdi |
--doc |
--do)
746 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
749 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
751 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
754 -enable-* |
--enable-*)
755 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
758 as_fn_error $?
"invalid feature name: $ac_useropt"
759 ac_useropt_orig
=$ac_useropt
760 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
761 case $ac_user_opts in
765 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
766 ac_unrecognized_sep
=', ';;
768 eval enable_
$ac_useropt=\
$ac_optarg ;;
770 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
771 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
772 |
--exec |
--exe |
--ex)
773 ac_prev
=exec_prefix
;;
774 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
775 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
776 |
--exec=* |
--exe=* |
--ex=*)
777 exec_prefix
=$ac_optarg ;;
779 -gas |
--gas |
--ga |
--g)
780 # Obsolete; use --with-gas.
783 -help |
--help |
--hel |
--he |
-h)
785 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
786 ac_init_help
=recursive
;;
787 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
788 ac_init_help
=short
;;
790 -host |
--host |
--hos |
--ho)
791 ac_prev
=host_alias
;;
792 -host=* |
--host=* |
--hos=* |
--ho=*)
793 host_alias
=$ac_optarg ;;
795 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
797 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
799 htmldir
=$ac_optarg ;;
801 -includedir |
--includedir |
--includedi |
--included |
--include \
802 |
--includ |
--inclu |
--incl |
--inc)
803 ac_prev
=includedir
;;
804 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
805 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
806 includedir
=$ac_optarg ;;
808 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
810 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
811 infodir
=$ac_optarg ;;
813 -libdir |
--libdir |
--libdi |
--libd)
815 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
818 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
819 |
--libexe |
--libex |
--libe)
820 ac_prev
=libexecdir
;;
821 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
822 |
--libexe=* |
--libex=* |
--libe=*)
823 libexecdir
=$ac_optarg ;;
825 -localedir |
--localedir |
--localedi |
--localed |
--locale)
827 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
828 localedir
=$ac_optarg ;;
830 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
831 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
832 ac_prev
=localstatedir
;;
833 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
834 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
835 localstatedir
=$ac_optarg ;;
837 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
839 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
843 # Obsolete; use --without-fp.
846 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
847 |
--no-cr |
--no-c |
-n)
850 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
851 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
854 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
855 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
856 |
--oldin |
--oldi |
--old |
--ol |
--o)
857 ac_prev
=oldincludedir
;;
858 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
859 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
860 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
861 oldincludedir
=$ac_optarg ;;
863 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
865 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
868 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
869 |
--program-pre |
--program-pr |
--program-p)
870 ac_prev
=program_prefix
;;
871 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
872 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
873 program_prefix
=$ac_optarg ;;
875 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
876 |
--program-suf |
--program-su |
--program-s)
877 ac_prev
=program_suffix
;;
878 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
879 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
880 program_suffix
=$ac_optarg ;;
882 -program-transform-name |
--program-transform-name \
883 |
--program-transform-nam |
--program-transform-na \
884 |
--program-transform-n |
--program-transform- \
885 |
--program-transform |
--program-transfor \
886 |
--program-transfo |
--program-transf \
887 |
--program-trans |
--program-tran \
888 |
--progr-tra |
--program-tr |
--program-t)
889 ac_prev
=program_transform_name
;;
890 -program-transform-name=* |
--program-transform-name=* \
891 |
--program-transform-nam=* |
--program-transform-na=* \
892 |
--program-transform-n=* |
--program-transform-=* \
893 |
--program-transform=* |
--program-transfor=* \
894 |
--program-transfo=* |
--program-transf=* \
895 |
--program-trans=* |
--program-tran=* \
896 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
897 program_transform_name
=$ac_optarg ;;
899 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
901 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
904 -psdir |
--psdir |
--psdi |
--psd |
--ps)
906 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
909 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
910 |
-silent |
--silent |
--silen |
--sile |
--sil)
913 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
915 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
917 sbindir
=$ac_optarg ;;
919 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
920 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
921 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
923 ac_prev
=sharedstatedir
;;
924 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
925 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
926 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
928 sharedstatedir
=$ac_optarg ;;
930 -site |
--site |
--sit)
932 -site=* |
--site=* |
--sit=*)
935 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
937 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
940 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
941 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
942 ac_prev
=sysconfdir
;;
943 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
944 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
945 sysconfdir
=$ac_optarg ;;
947 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
948 ac_prev
=target_alias
;;
949 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
950 target_alias
=$ac_optarg ;;
952 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
955 -version |
--version |
--versio |
--versi |
--vers |
-V)
959 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
960 # Reject names that are not valid shell variable names.
961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
962 as_fn_error $?
"invalid package name: $ac_useropt"
963 ac_useropt_orig
=$ac_useropt
964 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965 case $ac_user_opts in
969 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
970 ac_unrecognized_sep
=', ';;
972 eval with_
$ac_useropt=\
$ac_optarg ;;
974 -without-* |
--without-*)
975 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
978 as_fn_error $?
"invalid package name: $ac_useropt"
979 ac_useropt_orig
=$ac_useropt
980 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981 case $ac_user_opts in
985 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
986 ac_unrecognized_sep
=', ';;
988 eval with_
$ac_useropt=no
;;
991 # Obsolete; use --with-x.
994 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
995 |
--x-incl |
--x-inc |
--x-in |
--x-i)
996 ac_prev
=x_includes
;;
997 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
998 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
999 x_includes
=$ac_optarg ;;
1001 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1002 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1003 ac_prev
=x_libraries
;;
1004 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1005 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1006 x_libraries
=$ac_optarg ;;
1008 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1009 Try \`$0 --help' for more information"
1013 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1014 # Reject names that are not valid shell variable names.
1015 case $ac_envvar in #(
1016 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1017 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1019 eval $ac_envvar=\
$ac_optarg
1020 export $ac_envvar ;;
1023 # FIXME: should be removed in autoconf 3.0.
1024 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1025 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1026 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1027 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1033 if test -n "$ac_prev"; then
1034 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1035 as_fn_error $?
"missing argument to $ac_option"
1038 if test -n "$ac_unrecognized_opts"; then
1039 case $enable_option_checking in
1041 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1042 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1046 # Check all directory arguments for consistency.
1047 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1048 datadir sysconfdir sharedstatedir localstatedir includedir \
1049 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1050 libdir localedir mandir
1052 eval ac_val
=\$
$ac_var
1053 # Remove trailing slashes.
1056 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1057 eval $ac_var=\
$ac_val;;
1059 # Be sure to have absolute directory names.
1061 [\\/$
]* | ?
:[\\/]* ) continue;;
1062 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1064 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1067 # There might be people who depend on the old broken behavior: `$host'
1068 # used to hold the argument of --host etc.
1069 # FIXME: To remove some day.
1072 target
=$target_alias
1074 # FIXME: To remove some day.
1075 if test "x$host_alias" != x
; then
1076 if test "x$build_alias" = x
; then
1077 cross_compiling
=maybe
1078 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1079 If a cross compiler is detected then cross compile mode will be used" >&2
1080 elif test "x$build_alias" != "x$host_alias"; then
1086 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1088 test "$silent" = yes && exec 6>/dev
/null
1091 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1092 ac_ls_di
=`ls -di .` &&
1093 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1094 as_fn_error $?
"working directory cannot be determined"
1095 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1096 as_fn_error $?
"pwd does not report name of working directory"
1099 # Find the source files, if location was not specified.
1100 if test -z "$srcdir"; then
1101 ac_srcdir_defaulted
=yes
1102 # Try the directory containing this script, then the parent directory.
1103 ac_confdir
=`$as_dirname -- "$as_myself" ||
1104 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1105 X"$as_myself" : 'X\(//\)[^/]' \| \
1106 X"$as_myself" : 'X\(//\)$' \| \
1107 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1108 $as_echo X"$as_myself" |
1109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1127 if test ! -r "$srcdir/$ac_unique_file"; then
1131 ac_srcdir_defaulted
=no
1133 if test ! -r "$srcdir/$ac_unique_file"; then
1134 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1135 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1137 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1139 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1141 # When building in place, set srcdir=.
1142 if test "$ac_abs_confdir" = "$ac_pwd"; then
1145 # Remove unnecessary trailing slashes from srcdir.
1146 # Double slashes in file names in object file debugging info
1147 # mess up M-x gdb in Emacs.
1149 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1151 for ac_var
in $ac_precious_vars; do
1152 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1153 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1154 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1155 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1159 # Report the --help message.
1161 if test "$ac_init_help" = "long"; then
1162 # Omit some internal or obsolete options to make the list less imposing.
1163 # This message is too long to be a string in the A/UX 3.1 sh.
1165 \`configure' configures riscv-tests 1.0 to adapt to many kinds of systems.
1167 Usage: $0 [OPTION]... [VAR=VALUE]...
1169 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1170 VAR=VALUE. See below for descriptions of some of the useful variables.
1172 Defaults for the options are specified in brackets.
1175 -h, --help display this help and exit
1176 --help=short display options specific to this package
1177 --help=recursive display the short help of all the included packages
1178 -V, --version display version information and exit
1179 -q, --quiet, --silent do not print \`checking ...' messages
1180 --cache-file=FILE cache test results in FILE [disabled]
1181 -C, --config-cache alias for \`--cache-file=config.cache'
1182 -n, --no-create do not create output files
1183 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1185 Installation directories:
1186 --prefix=PREFIX install architecture-independent files in PREFIX
1187 [$ac_default_prefix]
1188 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1191 By default, \`make install' will install all the files in
1192 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1193 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1194 for instance \`--prefix=\$HOME'.
1196 For better control, use the options below.
1198 Fine tuning of the installation directories:
1199 --bindir=DIR user executables [EPREFIX/bin]
1200 --sbindir=DIR system admin executables [EPREFIX/sbin]
1201 --libexecdir=DIR program executables [EPREFIX/libexec]
1202 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1203 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1204 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1205 --libdir=DIR object code libraries [EPREFIX/lib]
1206 --includedir=DIR C header files [PREFIX/include]
1207 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1208 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1209 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1210 --infodir=DIR info documentation [DATAROOTDIR/info]
1211 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1212 --mandir=DIR man documentation [DATAROOTDIR/man]
1213 --docdir=DIR documentation root [DATAROOTDIR/doc/riscv-tests]
1214 --htmldir=DIR html documentation [DOCDIR]
1215 --dvidir=DIR dvi documentation [DOCDIR]
1216 --pdfdir=DIR pdf documentation [DOCDIR]
1217 --psdir=DIR ps documentation [DOCDIR]
1224 if test -n "$ac_init_help"; then
1225 case $ac_init_help in
1226 short | recursive
) echo "Configuration of riscv-tests 1.0:";;
1230 Some influential environment variables
:
1231 CC C compiler
command
1232 CFLAGS C compiler flags
1233 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1234 nonstandard directory
<lib dir
>
1235 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1236 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1237 you have headers
in a nonstandard directory
<include dir
>
1239 Use these variables to override the choices made by
`configure' or to help
1240 it to find libraries and programs with nonstandard names/locations.
1242 Report bugs to the package provider.
1247 if test "$ac_init_help" = "recursive"; then
1248 # If there are subdirs, report their specific --help.
1249 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1250 test -d "$ac_dir" ||
1251 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1256 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1258 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1259 # A ".." for each directory in $ac_dir_suffix.
1260 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1261 case $ac_top_builddir_sub in
1262 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1263 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1266 ac_abs_top_builddir=$ac_pwd
1267 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1268 # for backward compatibility:
1269 ac_top_builddir=$ac_top_build_prefix
1272 .) # We are building in place.
1274 ac_top_srcdir=$ac_top_builddir_sub
1275 ac_abs_top_srcdir=$ac_pwd ;;
1276 [\\/]* | ?:[\\/]* ) # Absolute name.
1277 ac_srcdir=$srcdir$ac_dir_suffix;
1278 ac_top_srcdir=$srcdir
1279 ac_abs_top_srcdir=$srcdir ;;
1281 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1282 ac_top_srcdir=$ac_top_build_prefix$srcdir
1283 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1285 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1287 cd "$ac_dir" || { ac_status=$?; continue; }
1288 # Check for guested configure.
1289 if test -f "$ac_srcdir/configure.gnu"; then
1291 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1292 elif test -f "$ac_srcdir/configure"; then
1294 $SHELL "$ac_srcdir/configure" --help=recursive
1296 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1298 cd "$ac_pwd" || { ac_status=$?; break; }
1302 test -n "$ac_init_help" && exit $ac_status
1303 if $ac_init_version; then
1305 riscv-tests configure 1.0
1306 generated by GNU Autoconf 2.68
1308 Copyright (C) 2010 Free Software Foundation, Inc.
1309 This configure script is free software; the Free Software Foundation
1310 gives unlimited permission to copy, distribute and modify it.
1315 ## ------------------------ ##
1316 ## Autoconf initialization. ##
1317 ## ------------------------ ##
1319 # ac_fn_c_try_compile LINENO
1320 # --------------------------
1321 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1322 ac_fn_c_try_compile ()
1324 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1325 rm -f conftest.$ac_objext
1326 if { { ac_try="$ac_compile"
1328 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1329 *) ac_try_echo
=$ac_try;;
1331 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1332 $as_echo "$ac_try_echo"; } >&5
1333 (eval "$ac_compile") 2>conftest.err
1335 if test -s conftest.err
; then
1336 grep -v '^ *+' conftest.err
>conftest.er1
1337 cat conftest.er1
>&5
1338 mv -f conftest.er1 conftest.err
1340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1341 test $ac_status = 0; } && {
1342 test -z "$ac_c_werror_flag" ||
1343 test ! -s conftest.err
1344 } && test -s conftest.
$ac_objext; then :
1347 $as_echo "$as_me: failed program was:" >&5
1348 sed 's/^/| /' conftest.
$ac_ext >&5
1352 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1353 as_fn_set_status
$ac_retval
1355 } # ac_fn_c_try_compile
1356 cat >config.log
<<_ACEOF
1357 This file contains any messages produced by compilers while
1358 running configure, to aid debugging if configure makes a mistake.
1360 It was created by riscv-tests $as_me 1.0, which was
1361 generated by GNU Autoconf 2.68. Invocation command line was
1373 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1374 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1375 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1376 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1377 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1379 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1380 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1382 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1383 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1384 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1385 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1386 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1387 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1388 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1396 test -z "$as_dir" && as_dir
=.
1397 $as_echo "PATH: $as_dir"
1413 # Keep a trace of the command line.
1414 # Strip out --no-create and --no-recursion so they do not pile up.
1415 # Strip out --silent because we don't want to record it for future runs.
1416 # Also quote any args containing shell meta-characters.
1417 # Make two passes to allow for proper duplicate-argument suppression.
1421 ac_must_keep_next
=false
1427 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1428 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1429 |
-silent |
--silent |
--silen |
--sile |
--sil)
1432 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1435 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1437 as_fn_append ac_configure_args1
" '$ac_arg'"
1438 if test $ac_must_keep_next = true
; then
1439 ac_must_keep_next
=false
# Got value, back to normal.
1442 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1443 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1444 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1445 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1446 case "$ac_configure_args0 " in
1447 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1450 -* ) ac_must_keep_next
=true
;;
1453 as_fn_append ac_configure_args
" '$ac_arg'"
1458 { ac_configure_args0
=; unset ac_configure_args0
;}
1459 { ac_configure_args1
=; unset ac_configure_args1
;}
1461 # When interrupted or exit'd, cleanup temporary files, and complete
1462 # config.log. We remove comments because anyway the quotes in there
1463 # would cause problems or look ugly.
1464 # WARNING: Use '\'' to represent an apostrophe within the trap.
1465 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1466 trap 'exit_status=$?
1467 # Save into config.log some information that might help in debugging.
1471 $as_echo "## ---------------- ##
1472 ## Cache variables. ##
1473 ## ---------------- ##"
1475 # The following way of writing the cache mishandles newlines in values,
1477 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1478 eval ac_val=\$$ac_var
1482 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1483 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1486 _ | IFS | as_nl) ;; #(
1487 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1488 *) { eval $ac_var=; unset $ac_var;} ;;
1493 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1494 *${as_nl}ac_space=\ *)
1496 "s/'\''/'\''\\\\'\'''\''/g;
1497 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1500 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1507 $as_echo "## ----------------- ##
1508 ## Output variables. ##
1509 ## ----------------- ##"
1511 for ac_var in $ac_subst_vars
1513 eval ac_val=\$$ac_var
1515 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1517 $as_echo "$ac_var='\''$ac_val'\''"
1521 if test -n "$ac_subst_files"; then
1522 $as_echo "## ------------------- ##
1523 ## File substitutions. ##
1524 ## ------------------- ##"
1526 for ac_var
in $ac_subst_files
1528 eval ac_val
=\$
$ac_var
1530 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1532 $as_echo "$ac_var='\''$ac_val'\''"
1537 if test -s confdefs.h; then
1538 $as_echo "## ----------- ##
1545 test "$ac_signal" != 0 &&
1546 $as_echo "$as_me: caught signal $ac_signal"
1547 $as_echo "$as_me: exit $exit_status"
1549 rm -f core *.core core.conftest.* &&
1550 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1553 for ac_signal
in 1 2 13 15; do
1554 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1558 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1559 rm -f -r conftest
* confdefs.h
1561 $as_echo "/* confdefs.h */" > confdefs.h
1563 # Predefined preprocessor variables.
1565 cat >>confdefs.h
<<_ACEOF
1566 #define PACKAGE_NAME "$PACKAGE_NAME"
1569 cat >>confdefs.h
<<_ACEOF
1570 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1573 cat >>confdefs.h
<<_ACEOF
1574 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1577 cat >>confdefs.h
<<_ACEOF
1578 #define PACKAGE_STRING "$PACKAGE_STRING"
1581 cat >>confdefs.h
<<_ACEOF
1582 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1585 cat >>confdefs.h
<<_ACEOF
1586 #define PACKAGE_URL "$PACKAGE_URL"
1590 # Let the site file select an alternate cache file if it wants to.
1591 # Prefer an explicitly selected file to automatically selected ones.
1594 if test -n "$CONFIG_SITE"; then
1595 # We do not want a PATH search for config.site.
1596 case $CONFIG_SITE in #((
1597 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1598 */*) ac_site_file1
=$CONFIG_SITE;;
1599 *) ac_site_file1
=.
/$CONFIG_SITE;;
1601 elif test "x$prefix" != xNONE
; then
1602 ac_site_file1
=$prefix/share
/config.site
1603 ac_site_file2
=$prefix/etc
/config.site
1605 ac_site_file1
=$ac_default_prefix/share
/config.site
1606 ac_site_file2
=$ac_default_prefix/etc
/config.site
1608 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1610 test "x$ac_site_file" = xNONE
&& continue
1611 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1613 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1614 sed 's/^/| /' "$ac_site_file" >&5
1616 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1618 as_fn_error $?
"failed to load site script $ac_site_file
1619 See \`config.log' for more details" "$LINENO" 5; }
1623 if test -r "$cache_file"; then
1624 # Some versions of bash will fail to source /dev/null (special files
1625 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1626 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1628 $as_echo "$as_me: loading cache $cache_file" >&6;}
1630 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1631 *) .
"./$cache_file";;
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1636 $as_echo "$as_me: creating cache $cache_file" >&6;}
1640 # Check that the precious variables saved in the cache have kept the same
1642 ac_cache_corrupted
=false
1643 for ac_var
in $ac_precious_vars; do
1644 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1645 eval ac_new_set
=\
$ac_env_${ac_var}_set
1646 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1647 eval ac_new_val
=\
$ac_env_${ac_var}_value
1648 case $ac_old_set,$ac_new_set in
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1651 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1652 ac_cache_corrupted
=: ;;
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1655 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1656 ac_cache_corrupted
=: ;;
1659 if test "x$ac_old_val" != "x$ac_new_val"; then
1660 # differences in whitespace do not lead to failure.
1661 ac_old_val_w
=`echo x $ac_old_val`
1662 ac_new_val_w
=`echo x $ac_new_val`
1663 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1665 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1666 ac_cache_corrupted
=:
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1669 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1670 eval $ac_var=\
$ac_old_val
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1673 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1675 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1678 # Pass precious variables to config.status.
1679 if test "$ac_new_set" = set; then
1681 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1682 *) ac_arg
=$ac_var=$ac_new_val ;;
1684 case " $ac_configure_args " in
1685 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1686 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1690 if $ac_cache_corrupted; then
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1694 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1695 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1697 ## -------------------- ##
1698 ## Main body of script. ##
1699 ## -------------------- ##
1702 ac_cpp
='$CPP $CPPFLAGS'
1703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1711 ac_cpp
='$CPP $CPPFLAGS'
1712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1715 if test -n "$ac_tool_prefix"; then
1716 for ac_prog
in riscv64-unknown-elf-gcc
1718 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1719 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1721 $as_echo_n "checking for $ac_word... " >&6; }
1722 if ${ac_cv_prog_CC+:} false
; then :
1723 $as_echo_n "(cached) " >&6
1725 if test -n "$CC"; then
1726 ac_cv_prog_CC
="$CC" # Let the user override the test.
1728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1732 test -z "$as_dir" && as_dir
=.
1733 for ac_exec_ext
in '' $ac_executable_extensions; do
1734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1735 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1746 if test -n "$CC"; then
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1748 $as_echo "$CC" >&6; }
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1751 $as_echo "no" >&6; }
1755 test -n "$CC" && break
1758 if test -z "$CC"; then
1760 for ac_prog
in riscv64-unknown-elf-gcc
1762 # Extract the first word of "$ac_prog", so it can be a program name with args.
1763 set dummy
$ac_prog; ac_word
=$2
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1765 $as_echo_n "checking for $ac_word... " >&6; }
1766 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1767 $as_echo_n "(cached) " >&6
1769 if test -n "$ac_ct_CC"; then
1770 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir
=.
1777 for ac_exec_ext
in '' $ac_executable_extensions; do
1778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1779 ac_cv_prog_ac_ct_CC
="$ac_prog"
1780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1789 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1790 if test -n "$ac_ct_CC"; then
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1792 $as_echo "$ac_ct_CC" >&6; }
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1795 $as_echo "no" >&6; }
1799 test -n "$ac_ct_CC" && break
1802 if test "x$ac_ct_CC" = x
; then
1805 case $cross_compiling:$ac_tool_warned in
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1809 ac_tool_warned
=yes ;;
1816 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1818 as_fn_error $?
"no acceptable C compiler found in \$PATH
1819 See \`config.log' for more details" "$LINENO" 5; }
1821 # Provide some information about the compiler.
1822 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1825 for ac_option
in --version -v -V -qversion; do
1826 { { ac_try
="$ac_compiler $ac_option >&5"
1828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1829 *) ac_try_echo=$ac_try;;
1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1835 if test -s conftest.err; then
1837 ... rest of stderr output deleted ...
1838 10q' conftest.err >conftest.er1
1839 cat conftest.er1 >&5
1841 rm -f conftest.er1 conftest.err
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; }
1846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1857 ac_clean_files_save=$ac_clean_files
1858 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1859 # Try to create an executable without -o first, disregard a.out.
1860 # It will help us diagnose broken compilers, and finding out an intuition
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
1863 $as_echo_n "checking whether the C compiler works... " >&6; }
1864 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1866 # The possible output files:
1867 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
1870 for ac_file in $ac_files
1873 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1874 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
1879 if { { ac_try="$ac_link_default"
1881 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1882 *) ac_try_echo
=$ac_try;;
1884 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886 (eval "$ac_link_default") 2>&5
1888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889 test $ac_status = 0; }; then :
1890 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
1891 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
1892 # in a Makefile. We should not override ac_cv_exeext if it was cached,
1893 # so that the user can short-circuit this test for compilers unknown to
1895 for ac_file
in $ac_files ''
1897 test -f "$ac_file" ||
continue
1899 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
1902 # We found the default executable, but exeext='' is most
1906 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
1908 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1910 # We set ac_cv_exeext here because the later test for it is not
1911 # safe: cross compilers may not add the suffix if given an `-o'
1912 # argument, so we may need to know it at that point already.
1913 # Even if this section looks crufty: it has the advantage of
1920 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
1925 if test -z "$ac_file"; then :
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1927 $as_echo "no" >&6; }
1928 $as_echo "$as_me: failed program was:" >&5
1929 sed 's/^/| /' conftest.
$ac_ext >&5
1931 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1933 as_fn_error
77 "C compiler cannot create executables
1934 See \`config.log' for more details" "$LINENO" 5; }
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1937 $as_echo "yes" >&6; }
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
1940 $as_echo_n "checking for C compiler default output file name... " >&6; }
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
1942 $as_echo "$ac_file" >&6; }
1943 ac_exeext
=$ac_cv_exeext
1945 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
1946 ac_clean_files
=$ac_clean_files_save
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
1948 $as_echo_n "checking for suffix of executables... " >&6; }
1949 if { { ac_try
="$ac_link"
1951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1952 *) ac_try_echo=$ac_try;;
1954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1955 $as_echo "$ac_try_echo"; } >&5
1956 (eval "$ac_link") 2>&5
1958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959 test $ac_status = 0; }; then :
1960 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1961 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1962 # work properly (i.e., refer to `conftest.exe'), while it won't with
1964 for ac_file
in conftest.exe conftest conftest.
*; do
1965 test -f "$ac_file" ||
continue
1967 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
1968 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1976 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
1977 See \`config.log' for more details" "$LINENO" 5; }
1979 rm -f conftest conftest
$ac_cv_exeext
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
1981 $as_echo "$ac_cv_exeext" >&6; }
1983 rm -f conftest.
$ac_ext
1984 EXEEXT
=$ac_cv_exeext
1986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1992 FILE *f = fopen ("conftest.out", "w");
1993 return ferror (f) || fclose (f) != 0;
1999 ac_clean_files
="$ac_clean_files conftest.out"
2000 # Check that the compiler produces executables we can run. If not, either
2001 # the compiler is broken, or we cross compile.
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2003 $as_echo_n "checking whether we are cross compiling... " >&6; }
2004 if test "$cross_compiling" != yes; then
2005 { { ac_try
="$ac_link"
2007 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2008 *) ac_try_echo=$ac_try;;
2010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2011 $as_echo "$ac_try_echo"; } >&5
2012 (eval "$ac_link") 2>&5
2014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2015 test $ac_status = 0; }
2016 if { ac_try='./conftest$ac_cv_exeext'
2017 { { case "(($ac_try" in
2018 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2019 *) ac_try_echo
=$ac_try;;
2021 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2022 $as_echo "$ac_try_echo"; } >&5
2023 (eval "$ac_try") 2>&5
2025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2026 test $ac_status = 0; }; }; then
2029 if test "$cross_compiling" = maybe
; then
2032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2034 as_fn_error $?
"cannot run C compiled programs.
2035 If you meant to cross compile, use \`--host'.
2036 See \`config.log' for more details" "$LINENO" 5; }
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2041 $as_echo "$cross_compiling" >&6; }
2043 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2044 ac_clean_files
=$ac_clean_files_save
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2046 $as_echo_n "checking for suffix of object files... " >&6; }
2047 if ${ac_cv_objext+:} false
; then :
2048 $as_echo_n "(cached) " >&6
2050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2051 /* end confdefs.h. */
2061 rm -f conftest.o conftest.obj
2062 if { { ac_try
="$ac_compile"
2064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2065 *) ac_try_echo=$ac_try;;
2067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2068 $as_echo "$ac_try_echo"; } >&5
2069 (eval "$ac_compile") 2>&5
2071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2072 test $ac_status = 0; }; then :
2073 for ac_file in conftest.o conftest.obj conftest.*; do
2074 test -f "$ac_file" || continue;
2076 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2077 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2082 $as_echo "$as_me: failed program was:" >&5
2083 sed 's/^/| /' conftest.$ac_ext >&5
2085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2087 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2088 See \
`config.log' for more details" "$LINENO" 5; }
2090 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2093 $as_echo "$ac_cv_objext" >&6; }
2094 OBJEXT=$ac_cv_objext
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2097 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2098 if ${ac_cv_c_compiler_gnu+:} false; then :
2099 $as_echo_n "(cached) " >&6
2101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2102 /* end confdefs.h. */
2115 if ac_fn_c_try_compile "$LINENO"; then :
2120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2121 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2125 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2126 if test $ac_compiler_gnu = yes; then
2131 ac_test_CFLAGS=${CFLAGS+set}
2132 ac_save_CFLAGS=$CFLAGS
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2134 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2135 if ${ac_cv_prog_cc_g+:} false; then :
2136 $as_echo_n "(cached) " >&6
2138 ac_save_c_werror_flag=$ac_c_werror_flag
2139 ac_c_werror_flag=yes
2142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2143 /* end confdefs.h. */
2153 if ac_fn_c_try_compile "$LINENO"; then :
2157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2158 /* end confdefs.h. */
2168 if ac_fn_c_try_compile "$LINENO"; then :
2171 ac_c_werror_flag=$ac_save_c_werror_flag
2173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2174 /* end confdefs.h. */
2184 if ac_fn_c_try_compile "$LINENO"; then :
2187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2192 ac_c_werror_flag=$ac_save_c_werror_flag
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2195 $as_echo "$ac_cv_prog_cc_g" >&6; }
2196 if test "$ac_test_CFLAGS" = set; then
2197 CFLAGS=$ac_save_CFLAGS
2198 elif test $ac_cv_prog_cc_g = yes; then
2199 if test "$GCC" = yes; then
2205 if test "$GCC" = yes; then
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2212 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2213 if ${ac_cv_prog_cc_c89+:} false; then :
2214 $as_echo_n "(cached) " >&6
2216 ac_cv_prog_cc_c89=no
2218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2219 /* end confdefs.h. */
2222 #include <sys/types.h>
2223 #include <sys/stat.h>
2224 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2225 struct buf { int x; };
2226 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2227 static char *e (p, i)
2233 static char *f (char * (*g) (char **, int), char **p, ...)
2238 s = g (p, va_arg (v,int));
2243 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2244 function prototypes and stuff, but not '\xHH' hex character constants.
2245 These don't provoke an error unfortunately, instead are silently treated
2246 as 'x'. The following induces an error, until -std is added to get
2247 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2248 array size at least. It's necessary to write '\x00'==0 to get something
2249 that's true only with -std. */
2250 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2252 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2253 inside strings and character constants. */
2255 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2257 int test (int i, double x);
2258 struct s1 {int (*f) (int a);};
2259 struct s2 {int (*f) (double a);};
2260 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2266 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2271 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2272 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2274 CC="$ac_save_CC $ac_arg"
2275 if ac_fn_c_try_compile "$LINENO"; then :
2276 ac_cv_prog_cc_c89=$ac_arg
2278 rm -f core conftest.err conftest.$ac_objext
2279 test "x$ac_cv_prog_cc_c89" != "xno" && break
2281 rm -f conftest.$ac_ext
2286 case "x$ac_cv_prog_cc_c89" in
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2289 $as_echo "none needed" >&6; } ;;
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2292 $as_echo "unsupported" >&6; } ;;
2294 CC="$CC $ac_cv_prog_cc_c89"
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2296 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2298 if test "x$ac_cv_prog_cc_c89" != xno; then :
2303 ac_cpp='$CPP $CPPFLAGS'
2304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2309 ac_config_files="$ac_config_files Makefile"
2311 cat >confcache <<\_ACEOF
2312 # This file is a shell script that caches the results of configure
2313 # tests run on this system so they can be shared between configure
2314 # scripts and configure runs, see configure's option --config-cache.
2315 # It is not useful on other systems. If it contains results you don't
2316 # want to keep, you may remove or edit it.
2318 # config.status only pays attention to the cache file if you give it
2319 # the --recheck option to rerun configure.
2321 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
2322 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2327 # The following way of writing the cache mishandles newlines in values,
2328 # but we know of no workaround that is simple, portable, and efficient.
2329 # So, we kill variables containing newlines.
2330 # Ultrix sh set writes to stderr and can't be redirected directly,
2331 # and sets the high bit in the cache file unless we assign to the vars.
2333 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2334 eval ac_val
=\$
$ac_var
2338 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2339 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2342 _ | IFS | as_nl
) ;; #(
2343 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
2344 *) { eval $ac_var=; unset $ac_var;} ;;
2350 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2351 *${as_nl}ac_space
=\
*)
2352 # `set' does not quote correctly, so add quotes: double-quote
2353 # substitution turns \\\\ into \\, and sed turns \\ into \.
2356 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2359 # `set' quotes correctly as required by POSIX, so do not add quotes.
2360 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2369 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2371 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2373 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
2374 if test -w "$cache_file"; then
2375 if test "x$cache_file" != "x/dev/null"; then
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2377 $as_echo "$as_me: updating cache $cache_file" >&6;}
2378 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
2379 cat confcache
>"$cache_file"
2381 case $cache_file in #(
2383 mv -f confcache
"$cache_file"$$
&&
2384 mv -f "$cache_file"$$
"$cache_file" ;; #(
2386 mv -f confcache
"$cache_file" ;;
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2392 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2397 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2398 # Let make expand exec_prefix.
2399 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2401 # Transform confdefs.h into DEFS.
2402 # Protect against shell expansion while executing Makefile rules.
2403 # Protect against Makefile macro expansion.
2405 # If the first sed substitution is executed (which looks for macros that
2406 # take arguments), then branch to the quote section. Otherwise,
2407 # look for a macro that doesn't take arguments.
2417 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2419 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2423 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2436 DEFS
=`sed -n "$ac_script" confdefs.h`
2442 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
2443 # 1. Remove the extension, and $U if already installed.
2444 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
2445 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
2446 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2447 # will be set to the directory where LIBOBJS objects are built.
2448 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2449 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
2453 LTLIBOBJS
=$ac_ltlibobjs
2457 : "${CONFIG_STATUS=./config.status}"
2459 ac_clean_files_save
=$ac_clean_files
2460 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2462 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2464 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2466 # Generated by $as_me.
2467 # Run this file to recreate the current configuration.
2468 # Compiler output produced by configure, useful for debugging
2469 # configure, is in config.log if it exists.
2475 SHELL=\${CONFIG_SHELL-$SHELL}
2478 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
2479 ## -------------------- ##
2480 ## M4sh Initialization. ##
2481 ## -------------------- ##
2483 # Be more Bourne compatible
2484 DUALCASE
=1; export DUALCASE
# for MKS sh
2485 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
2488 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2489 # is contrary to our usage. Disable this feature.
2490 alias -g '${1+"$@"}'='"$@"'
2491 setopt NO_GLOB_SUBST
2493 case `(set -o) 2>/dev/null` in #(
2505 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2506 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2507 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2508 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2509 # Prefer a ksh shell builtin over an external printf program on Solaris,
2510 # but without wasting forks for bash or zsh.
2511 if test -z "$BASH_VERSION$ZSH_VERSION" \
2512 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2513 as_echo='print
-r --'
2514 as_echo_n='print
-rn --'
2515 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2516 as_echo='printf %s
\n'
2517 as_echo_n='printf %s
'
2519 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2520 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
2521 as_echo_n='/usr
/ucb
/echo -n'
2523 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2524 as_echo_n_body='eval
2528 expr "X$arg" : "X\\(.*\\)$as_nl";
2529 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2531 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
2533 export as_echo_n_body
2534 as_echo_n='sh
-c $as_echo_n_body as_echo
'
2537 as_echo='sh
-c $as_echo_body as_echo
'
2540 # The user is always right.
2541 if test "${PATH_SEPARATOR+set}" != set; then
2543 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2544 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2551 # We need space, tab and new line, in precisely that order. Quoting is
2552 # there to prevent editors from complaining about space-tab.
2553 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2554 # splitting by setting IFS to empty value.)
2557 # Find who we are. Look in the path if we contain no directory separator.
2560 *[\\/]* ) as_myself=$0 ;;
2561 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2565 test -z "$as_dir" && as_dir=.
2566 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2572 # We did not find ourselves, most probably we were run as `sh COMMAND'
2573 # in which case we are not to be found in the path.
2574 if test "x$as_myself" = x
; then
2577 if test ! -f "$as_myself"; then
2578 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2582 # Unset variables that we do not need and which cause bugs (e.g. in
2583 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2584 # suppresses any "Segmentation fault" message there. '((' could
2585 # trigger a bug in pdksh 5.2.14.
2586 for as_var
in BASH_ENV ENV MAIL MAILPATH
2587 do eval test x\
${$as_var+set} = xset \
2588 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
2601 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
2604 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2605 # ----------------------------------------
2606 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2607 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2608 # script with STATUS, using 1 if that was 0.
2611 as_status
=$1; test $as_status -eq 0 && as_status
=1
2613 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2614 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2616 $as_echo "$as_me: error: $2" >&2
2617 as_fn_exit
$as_status
2621 # as_fn_set_status STATUS
2622 # -----------------------
2623 # Set $? to STATUS, without forking.
2627 } # as_fn_set_status
2631 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2641 # Portably unset VAR.
2644 { eval $1=; unset $1;}
2646 as_unset
=as_fn_unset
2647 # as_fn_append VAR VALUE
2648 # ----------------------
2649 # Append the text in VALUE to the end of the definition contained in VAR. Take
2650 # advantage of any shell optimizations that allow amortized linear growth over
2651 # repeated appends, instead of the typical quadratic growth present in naive
2653 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
2654 eval 'as_fn_append ()
2665 # as_fn_arith ARG...
2666 # ------------------
2667 # Perform arithmetic evaluation on the ARGs, and store the result in the
2668 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2669 # must be portable across $(()) and expr.
2670 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
2671 eval 'as_fn_arith ()
2678 as_val
=`expr "$@" || test $? -eq 1`
2683 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
2684 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
2690 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2691 as_basename
=basename
2696 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
2702 as_me
=`$as_basename -- "$0" ||
2703 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2704 X"$0" : 'X\(//\)$' \| \
2705 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2707 sed '/^.*\/\([^/][^/]*\)\/*$/{
2721 # Avoid depending upon Character Ranges.
2722 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
2723 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2724 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
2725 as_cr_digits
='0123456789'
2726 as_cr_alnum
=$as_cr_Letters$as_cr_digits
2728 ECHO_C
= ECHO_N
= ECHO_T
=
2729 case `echo -n x` in #(((((
2731 case `echo 'xy\c'` in
2732 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
2734 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
2741 rm -f conf$$ conf$$.exe conf$$.
file
2742 if test -d conf$$.dir
; then
2743 rm -f conf$$.dir
/conf$$.
file
2746 mkdir conf$$.dir
2>/dev
/null
2748 if (echo >conf$$.
file) 2>/dev
/null
; then
2749 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
2751 # ... but there are two gotchas:
2752 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2753 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2754 # In both cases, we have to default to `cp -p'.
2755 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
2757 elif ln conf$$.
file conf$$
2>/dev
/null
; then
2765 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
2766 rmdir conf$$.dir
2>/dev
/null
2771 # Create "$as_dir" as a directory, including parents if necessary.
2776 -*) as_dir
=.
/$as_dir;;
2778 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
2782 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2783 *) as_qdir
=$as_dir;;
2785 as_dirs
="'$as_qdir' $as_dirs"
2786 as_dir
=`$as_dirname -- "$as_dir" ||
2787 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2788 X"$as_dir" : 'X\(//\)[^/]' \| \
2789 X"$as_dir" : 'X\(//\)$' \| \
2790 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2791 $as_echo X"$as_dir" |
2792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2809 test -d "$as_dir" && break
2811 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
2812 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
2816 if mkdir
-p .
2>/dev
/null
; then
2817 as_mkdir_p
='mkdir -p "$as_dir"'
2819 test -d .
/-p && rmdir .
/-p
2823 if test -x / >/dev
/null
2>&1; then
2826 if ls -dL / >/dev
/null
2>&1; then
2833 if test -d "$1"; then
2839 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2840 ???[sx]*):;;*)false;;esac;fi
2844 as_executable_p
=$as_test_x
2846 # Sed expression to map a string onto a valid CPP name.
2847 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2849 # Sed expression to map a string onto a valid variable name.
2850 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2854 ## ----------------------------------- ##
2855 ## Main body of $CONFIG_STATUS script. ##
2856 ## ----------------------------------- ##
2858 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
2860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
2861 # Save the log message, to keep $0 and so on meaningful, and to
2862 # report actual input values of CONFIG_FILES etc. instead of their
2863 # values after options handling.
2865 This file was extended by riscv-tests $as_me 1.0, which was
2866 generated by GNU Autoconf 2.68. Invocation command line was
2868 CONFIG_FILES = $CONFIG_FILES
2869 CONFIG_HEADERS = $CONFIG_HEADERS
2870 CONFIG_LINKS = $CONFIG_LINKS
2871 CONFIG_COMMANDS = $CONFIG_COMMANDS
2874 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2879 case $ac_config_files in *"
2880 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
2885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2886 # Files that config.status was made for.
2887 config_files="$ac_config_files"
2891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
2893 \`$as_me' instantiates files and other configuration actions
2894 from templates according to the current configuration. Unless the files
2895 and actions are specified as TAGs, all are instantiated by default.
2897 Usage: $0 [OPTION]... [TAG]...
2899 -h, --help print this help, then exit
2900 -V, --version print version number and configuration settings, then exit
2901 --config print configuration, then exit
2902 -q, --quiet, --silent
2903 do not print progress messages
2904 -d, --debug don't remove temporary files
2905 --recheck update $as_me by reconfiguring in the same conditions
2906 --file=FILE[:TEMPLATE]
2907 instantiate the configuration file FILE
2909 Configuration files:
2912 Report bugs to the package provider."
2915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2916 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2918 riscv-tests config.status 1.0
2919 configured by $0, generated by GNU Autoconf 2.68,
2920 with options \\"\$ac_cs_config\\"
2922 Copyright (C) 2010 Free Software Foundation, Inc.
2923 This config.status script is free software; the Free Software Foundation
2924 gives unlimited permission to copy, distribute and modify it."
2928 test -n "\$AWK" || AWK=awk
2931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
2932 # The default lists apply if the user does not specify any file.
2938 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
2939 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
2943 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
2955 # Handling of the options.
2956 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
2958 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
2959 $as_echo "$ac_cs_version"; exit ;;
2960 --config |
--confi |
--conf |
--con |
--co |
--c )
2961 $as_echo "$ac_cs_config"; exit ;;
2962 --debug |
--debu |
--deb |
--de |
--d |
-d )
2964 --file |
--fil |
--fi |
--f )
2967 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2968 '') as_fn_error $?
"missing file argument" ;;
2970 as_fn_append CONFIG_FILES
" '$ac_optarg'"
2971 ac_need_defaults
=false
;;
2972 --he |
--h |
--help |
--hel |
-h )
2973 $as_echo "$ac_cs_usage"; exit ;;
2974 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2975 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
2979 -*) as_fn_error $?
"unrecognized option: \`$1'
2980 Try \`$0 --help' for more information." ;;
2982 *) as_fn_append ac_config_targets
" $1"
2983 ac_need_defaults
=false
;;
2989 ac_configure_extra_args
=
2991 if $ac_cs_silent; then
2993 ac_configure_extra_args
="$ac_configure_extra_args --silent"
2997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2998 if \$ac_cs_recheck; then
2999 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3001 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3002 CONFIG_SHELL='$SHELL'
3008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3012 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3013 ## Running $as_me. ##
3019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3024 # Handling of arguments.
3025 for ac_config_target
in $ac_config_targets
3027 case $ac_config_target in
3028 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3030 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3035 # If the user did not use the arguments to specify the items to instantiate,
3036 # then the envvar interface is used. Set only those that are not.
3037 # We use the long form for the default assignment because of an extremely
3038 # bizarre bug on SunOS 4.1.3.
3039 if $ac_need_defaults; then
3040 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3043 # Have a temporary directory for convenience. Make it in the build tree
3044 # simply because there is no reason against having it here, and in addition,
3045 # creating and moving files from /tmp can sometimes cause problems.
3046 # Hook for its removal unless debugging.
3047 # Note that there is a small window in which the directory will not be cleaned:
3048 # after its creation but before its name has been assigned to `$tmp'.
3052 trap 'exit_status=$?
3054 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3056 trap 'as_fn_exit 1' 1 2 13 15
3058 # Create a (secure) tmp directory for tmp files.
3061 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3065 tmp
=.
/conf$$
-$RANDOM
3066 (umask 077 && mkdir
"$tmp")
3067 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
3070 # Set up the scripts for CONFIG_FILES section.
3071 # No need to generate them if there are no CONFIG_FILES.
3072 # This happens for instance with `./config.status config.h'.
3073 if test -n "$CONFIG_FILES"; then
3076 ac_cr
=`echo X | tr X '\015'`
3077 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3078 # But we know of no other shell where ac_cr would be empty at this
3079 # point, so we can use a bashism as a fallback.
3080 if test "x$ac_cr" = x
; then
3081 eval ac_cr
=\$
\'\\r
\'
3083 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3084 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3090 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3095 echo "cat >conf$$subs.awk <<_ACEOF" &&
3096 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3099 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3100 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3102 for ac_last_try in false false false false false :; do
3103 . ./conf$$subs.sh ||
3104 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3106 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
3107 if test $ac_delim_n = $ac_delim_num; then
3109 elif $ac_last_try; then
3110 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3112 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3118 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
3122 s/^/S["/; s
/!.
*/"]=/
3132 s/\(.\{148\}\)..*/\1/
3134 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
3139 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3146 s/\(.\{148\}\)..*/\1/
3148 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
3152 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3157 ' <conf$$subs.awk | sed '
3162 ' >>$CONFIG_STATUS || ac_write_fail=1
3163 rm -f conf$$subs.awk
3164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3166 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
3167 for (key in S) S_is_set[key] = 1
3173 nfields = split(line, field, "@
")
3175 len = length(field[1])
3176 for (i = 2; i < nfields; i++) {
3178 keylen = length(key)
3179 if (S_is_set[key]) {
3181 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3182 len += length(value) + length(field[++i])
3193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3194 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3195 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
3198 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
3199 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
3202 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3203 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
3204 # trailing colons and then remove the whole line if VPATH becomes empty
3205 # (actually we leave an empty line to preserve line numbers).
3206 if test "x
$srcdir" = x.; then
3207 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3226 fi # test -n "$CONFIG_FILES"
3229 eval set X " :F
$CONFIG_FILES "
3234 :[FHLC]) ac_mode=$ac_tag; continue;;
3236 case $ac_mode$ac_tag in
3238 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
3239 :[FH]-) ac_tag=-:-;;
3240 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3257 -) ac_f="$ac_tmp/stdin";;
3258 *) # Look for the file first in the build tree, then in the source tree
3259 # (if the path is not absolute). The absolute path cannot be DOS-style,
3260 # because $ac_f cannot contain `:'.
3264 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3266 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3268 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
3269 as_fn_append ac_file_inputs " '$ac_f'"
3272 # Let's still pretend it is `configure' which instantiates (i.e., don't
3273 # use $as_me), people would be surprised to read:
3274 # /* config.h. Generated by config.status. */
3275 configure_input='Generated from '`
3276 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3278 if test x"$ac_file" != x-; then
3279 configure_input="$ac_file.
$configure_input"
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
3281 $as_echo "$as_me: creating
$ac_file" >&6;}
3283 # Neutralize special characters interpreted by sed in replacement strings.
3284 case $configure_input in #(
3285 *\&* | *\|* | *\\* )
3286 ac_sed_conf_input=`$as_echo "$configure_input" |
3287 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3288 *) ac_sed_conf_input=$configure_input;;
3292 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
3293 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
3298 ac_dir=`$as_dirname -- "$ac_file" ||
3299 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3300 X"$ac_file" : 'X\(//\)[^/]' \| \
3301 X"$ac_file" : 'X\(//\)$' \| \
3302 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3303 $as_echo X"$ac_file" |
3304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3321 as_dir="$ac_dir"; as_fn_mkdir_p
3325 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3327 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3328 # A "..
" for each directory in $ac_dir_suffix.
3329 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3330 case $ac_top_builddir_sub in
3331 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3332 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3335 ac_abs_top_builddir=$ac_pwd
3336 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3337 # for backward compatibility:
3338 ac_top_builddir=$ac_top_build_prefix
3341 .) # We are building in place.
3343 ac_top_srcdir=$ac_top_builddir_sub
3344 ac_abs_top_srcdir=$ac_pwd ;;
3345 [\\/]* | ?:[\\/]* ) # Absolute name.
3346 ac_srcdir=$srcdir$ac_dir_suffix;
3347 ac_top_srcdir=$srcdir
3348 ac_abs_top_srcdir=$srcdir ;;
3350 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3351 ac_top_srcdir=$ac_top_build_prefix$srcdir
3352 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3354 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3366 # If the template does not know about datarootdir, expand it.
3367 # FIXME: This hack should be removed a few years after 2.60.
3368 ac_datarootdir_hack=; ac_datarootdir_seen=
3379 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
3380 *datarootdir*) ac_datarootdir_seen=yes;;
3381 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
3383 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
3385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3386 ac_datarootdir_hack='
3387 s&@datadir@&$datadir&g
3388 s&@docdir@&$docdir&g
3389 s&@infodir@&$infodir&g
3390 s&@localedir@&$localedir&g
3391 s&@mandir@&$mandir&g
3392 s&\\\${datarootdir}&$datarootdir&g' ;;
3396 # Neutralize VPATH when `$srcdir' = `.'.
3397 # Shell code in configure.ac might set extrasub.
3398 # FIXME: do we really want to maintain this feature?
3399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3400 ac_sed_extra="$ac_vpsub
3403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3405 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
3406 s|@configure_input@|
$ac_sed_conf_input|
;t t
3407 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
3408 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
3409 s
&@srcdir@
&$ac_srcdir&;t t
3410 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
3411 s
&@top_srcdir@
&$ac_top_srcdir&;t t
3412 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
3413 s
&@builddir@
&$ac_builddir&;t t
3414 s
&@abs_builddir@
&$ac_abs_builddir&;t t
3415 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
3416 $ac_datarootdir_hack
3418 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
3419 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
3421 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3422 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
3423 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3424 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
3426 which seems to be undefined. Please make sure it is defined" >&5
3427 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
3428 which seems to be undefined. Please make sure it is defined" >&2;}
3430 rm -f "$ac_tmp/stdin"
3432 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3433 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3435 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3447 ac_clean_files=$ac_clean_files_save
3449 test $ac_write_fail = 0 ||
3450 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3453 # configure is writing to config.log, and then calls config.status.
3454 # config.status does its own redirection, appending to config.log.
3455 # Unfortunately, on DOS this fails, as config.log is still kept open
3456 # by configure, so config.status won't be able to
write to it
; its
3457 # output is simply discarded. So we exec the FD to /dev/null,
3458 # effectively closing config.log, so it can be properly (re)opened and
3459 # appended to by config.status. When coming back to configure, we
3460 # need to make the FD available again.
3461 if test "$no_create" != yes; then
3463 ac_config_status_args
=
3464 test "$silent" = yes &&
3465 ac_config_status_args
="$ac_config_status_args --quiet"
3467 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
3469 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3470 # would make configure fail if this is the last instruction.
3471 $ac_cs_success || as_fn_exit
1
3473 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3475 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}