2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for RISC-V ISA Simulator ?.
5 # Report bugs to <Andrew Waterman>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and Andrew Waterman
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='RISC-V ISA Simulator'
582 PACKAGE_TARNAME
='spike'
584 PACKAGE_STRING
='RISC-V ISA Simulator ?'
585 PACKAGE_BUGREPORT
='Andrew Waterman'
588 ac_unique_file
="riscv/common.h"
589 ac_subst_vars
='LTLIBOBJS
650 program_transform_name
663 enable_option_checking
665 enable_optional_subprojects
670 ac_precious_vars
='build_alias
686 # Initialize some variables set by options.
688 ac_init_version
=false
689 ac_unrecognized_opts
=
691 # The variables have the same names as the options, with
692 # dashes changed to underlines.
700 program_transform_name
=s
,x
,x
,
708 # Installation directory options.
709 # These are left unexpanded so users can "make install exec_prefix=/foo"
710 # and all the variables that are supposed to be based on exec_prefix
711 # by default will actually change.
712 # Use braces instead of parens because sh, perl, etc. also accept them.
713 # (The list follows the same order as the GNU Coding Standards.)
714 bindir
='${exec_prefix}/bin'
715 sbindir
='${exec_prefix}/sbin'
716 libexecdir
='${exec_prefix}/libexec'
717 datarootdir
='${prefix}/share'
718 datadir
='${datarootdir}'
719 sysconfdir
='${prefix}/etc'
720 sharedstatedir
='${prefix}/com'
721 localstatedir
='${prefix}/var'
722 includedir
='${prefix}/include'
723 oldincludedir
='/usr/include'
724 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
725 infodir
='${datarootdir}/info'
730 libdir
='${exec_prefix}/lib'
731 localedir
='${datarootdir}/locale'
732 mandir
='${datarootdir}/man'
738 # If the previous option needs an argument, assign it.
739 if test -n "$ac_prev"; then
740 eval $ac_prev=\
$ac_option
746 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
751 # Accept the important Cygnus configure options, so we can diagnose typos.
753 case $ac_dashdash$ac_option in
757 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
759 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
762 -build |
--build |
--buil |
--bui |
--bu)
763 ac_prev
=build_alias
;;
764 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
765 build_alias
=$ac_optarg ;;
767 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
768 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
769 ac_prev
=cache_file
;;
770 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
771 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
772 cache_file
=$ac_optarg ;;
775 cache_file
=config.cache
;;
777 -datadir |
--datadir |
--datadi |
--datad)
779 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
780 datadir
=$ac_optarg ;;
782 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
783 |
--dataroo |
--dataro |
--datar)
784 ac_prev
=datarootdir
;;
785 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
786 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
787 datarootdir
=$ac_optarg ;;
789 -disable-* |
--disable-*)
790 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
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--disable-$ac_useropt_orig"
801 ac_unrecognized_sep
=', ';;
803 eval enable_
$ac_useropt=no
;;
805 -docdir |
--docdir |
--docdi |
--doc |
--do)
807 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
810 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
812 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
815 -enable-* |
--enable-*)
816 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
817 # Reject names that are not valid shell variable names.
818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
819 as_fn_error $?
"invalid feature name: $ac_useropt"
820 ac_useropt_orig
=$ac_useropt
821 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822 case $ac_user_opts in
826 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
827 ac_unrecognized_sep
=', ';;
829 eval enable_
$ac_useropt=\
$ac_optarg ;;
831 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
832 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
833 |
--exec |
--exe |
--ex)
834 ac_prev
=exec_prefix
;;
835 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
836 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
837 |
--exec=* |
--exe=* |
--ex=*)
838 exec_prefix
=$ac_optarg ;;
840 -gas |
--gas |
--ga |
--g)
841 # Obsolete; use --with-gas.
844 -help |
--help |
--hel |
--he |
-h)
846 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
847 ac_init_help
=recursive
;;
848 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
849 ac_init_help
=short
;;
851 -host |
--host |
--hos |
--ho)
852 ac_prev
=host_alias
;;
853 -host=* |
--host=* |
--hos=* |
--ho=*)
854 host_alias
=$ac_optarg ;;
856 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
858 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
860 htmldir
=$ac_optarg ;;
862 -includedir |
--includedir |
--includedi |
--included |
--include \
863 |
--includ |
--inclu |
--incl |
--inc)
864 ac_prev
=includedir
;;
865 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
866 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
867 includedir
=$ac_optarg ;;
869 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
871 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
872 infodir
=$ac_optarg ;;
874 -libdir |
--libdir |
--libdi |
--libd)
876 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
879 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
880 |
--libexe |
--libex |
--libe)
881 ac_prev
=libexecdir
;;
882 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
883 |
--libexe=* |
--libex=* |
--libe=*)
884 libexecdir
=$ac_optarg ;;
886 -localedir |
--localedir |
--localedi |
--localed |
--locale)
888 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
889 localedir
=$ac_optarg ;;
891 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
892 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
893 ac_prev
=localstatedir
;;
894 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
895 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
896 localstatedir
=$ac_optarg ;;
898 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
900 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
904 # Obsolete; use --without-fp.
907 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
908 |
--no-cr |
--no-c |
-n)
911 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
912 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
915 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
916 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
917 |
--oldin |
--oldi |
--old |
--ol |
--o)
918 ac_prev
=oldincludedir
;;
919 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
920 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
921 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
922 oldincludedir
=$ac_optarg ;;
924 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
926 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
929 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
930 |
--program-pre |
--program-pr |
--program-p)
931 ac_prev
=program_prefix
;;
932 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
933 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
934 program_prefix
=$ac_optarg ;;
936 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
937 |
--program-suf |
--program-su |
--program-s)
938 ac_prev
=program_suffix
;;
939 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
940 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
941 program_suffix
=$ac_optarg ;;
943 -program-transform-name |
--program-transform-name \
944 |
--program-transform-nam |
--program-transform-na \
945 |
--program-transform-n |
--program-transform- \
946 |
--program-transform |
--program-transfor \
947 |
--program-transfo |
--program-transf \
948 |
--program-trans |
--program-tran \
949 |
--progr-tra |
--program-tr |
--program-t)
950 ac_prev
=program_transform_name
;;
951 -program-transform-name=* |
--program-transform-name=* \
952 |
--program-transform-nam=* |
--program-transform-na=* \
953 |
--program-transform-n=* |
--program-transform-=* \
954 |
--program-transform=* |
--program-transfor=* \
955 |
--program-transfo=* |
--program-transf=* \
956 |
--program-trans=* |
--program-tran=* \
957 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
958 program_transform_name
=$ac_optarg ;;
960 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
962 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
965 -psdir |
--psdir |
--psdi |
--psd |
--ps)
967 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
970 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
971 |
-silent |
--silent |
--silen |
--sile |
--sil)
974 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
976 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
978 sbindir
=$ac_optarg ;;
980 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
981 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
982 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
984 ac_prev
=sharedstatedir
;;
985 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
986 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
987 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
989 sharedstatedir
=$ac_optarg ;;
991 -site |
--site |
--sit)
993 -site=* |
--site=* |
--sit=*)
996 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
998 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1001 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1002 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1003 ac_prev
=sysconfdir
;;
1004 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1005 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1006 sysconfdir
=$ac_optarg ;;
1008 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1009 ac_prev
=target_alias
;;
1010 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1011 target_alias
=$ac_optarg ;;
1013 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1016 -version |
--version |
--versio |
--versi |
--vers |
-V)
1017 ac_init_version
=: ;;
1020 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1023 as_fn_error $?
"invalid package name: $ac_useropt"
1024 ac_useropt_orig
=$ac_useropt
1025 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1030 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1031 ac_unrecognized_sep
=', ';;
1033 eval with_
$ac_useropt=\
$ac_optarg ;;
1035 -without-* |
--without-*)
1036 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1039 as_fn_error $?
"invalid package name: $ac_useropt"
1040 ac_useropt_orig
=$ac_useropt
1041 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in
1046 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1047 ac_unrecognized_sep
=', ';;
1049 eval with_
$ac_useropt=no
;;
1052 # Obsolete; use --with-x.
1055 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1056 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1057 ac_prev
=x_includes
;;
1058 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1059 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1060 x_includes
=$ac_optarg ;;
1062 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1063 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1064 ac_prev
=x_libraries
;;
1065 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1066 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1067 x_libraries
=$ac_optarg ;;
1069 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1070 Try \`$0 --help' for more information"
1074 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1075 # Reject names that are not valid shell variable names.
1076 case $ac_envvar in #(
1077 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1078 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1080 eval $ac_envvar=\
$ac_optarg
1081 export $ac_envvar ;;
1084 # FIXME: should be removed in autoconf 3.0.
1085 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1086 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1087 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1088 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1094 if test -n "$ac_prev"; then
1095 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1096 as_fn_error $?
"missing argument to $ac_option"
1099 if test -n "$ac_unrecognized_opts"; then
1100 case $enable_option_checking in
1102 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1103 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1107 # Check all directory arguments for consistency.
1108 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1109 datadir sysconfdir sharedstatedir localstatedir includedir \
1110 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1111 libdir localedir mandir
1113 eval ac_val
=\$
$ac_var
1114 # Remove trailing slashes.
1117 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1118 eval $ac_var=\
$ac_val;;
1120 # Be sure to have absolute directory names.
1122 [\\/$
]* | ?
:[\\/]* ) continue;;
1123 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1125 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1128 # There might be people who depend on the old broken behavior: `$host'
1129 # used to hold the argument of --host etc.
1130 # FIXME: To remove some day.
1133 target
=$target_alias
1135 # FIXME: To remove some day.
1136 if test "x$host_alias" != x
; then
1137 if test "x$build_alias" = x
; then
1138 cross_compiling
=maybe
1139 elif test "x$build_alias" != "x$host_alias"; then
1145 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1147 test "$silent" = yes && exec 6>/dev
/null
1150 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1151 ac_ls_di
=`ls -di .` &&
1152 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1153 as_fn_error $?
"working directory cannot be determined"
1154 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1155 as_fn_error $?
"pwd does not report name of working directory"
1158 # Find the source files, if location was not specified.
1159 if test -z "$srcdir"; then
1160 ac_srcdir_defaulted
=yes
1161 # Try the directory containing this script, then the parent directory.
1162 ac_confdir
=`$as_dirname -- "$as_myself" ||
1163 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1164 X"$as_myself" : 'X\(//\)[^/]' \| \
1165 X"$as_myself" : 'X\(//\)$' \| \
1166 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1167 $as_echo X"$as_myself" |
1168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1186 if test ! -r "$srcdir/$ac_unique_file"; then
1190 ac_srcdir_defaulted
=no
1192 if test ! -r "$srcdir/$ac_unique_file"; then
1193 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1194 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1196 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1198 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1200 # When building in place, set srcdir=.
1201 if test "$ac_abs_confdir" = "$ac_pwd"; then
1204 # Remove unnecessary trailing slashes from srcdir.
1205 # Double slashes in file names in object file debugging info
1206 # mess up M-x gdb in Emacs.
1208 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1210 for ac_var
in $ac_precious_vars; do
1211 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1212 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1213 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1214 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1218 # Report the --help message.
1220 if test "$ac_init_help" = "long"; then
1221 # Omit some internal or obsolete options to make the list less imposing.
1222 # This message is too long to be a string in the A/UX 3.1 sh.
1224 \`configure' configures RISC-V ISA Simulator ? to adapt to many kinds of systems.
1226 Usage: $0 [OPTION]... [VAR=VALUE]...
1228 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1229 VAR=VALUE. See below for descriptions of some of the useful variables.
1231 Defaults for the options are specified in brackets.
1234 -h, --help display this help and exit
1235 --help=short display options specific to this package
1236 --help=recursive display the short help of all the included packages
1237 -V, --version display version information and exit
1238 -q, --quiet, --silent do not print \`checking ...' messages
1239 --cache-file=FILE cache test results in FILE [disabled]
1240 -C, --config-cache alias for \`--cache-file=config.cache'
1241 -n, --no-create do not create output files
1242 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1244 Installation directories:
1245 --prefix=PREFIX install architecture-independent files in PREFIX
1246 [$ac_default_prefix]
1247 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1250 By default, \`make install' will install all the files in
1251 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1252 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1253 for instance \`--prefix=\$HOME'.
1255 For better control, use the options below.
1257 Fine tuning of the installation directories:
1258 --bindir=DIR user executables [EPREFIX/bin]
1259 --sbindir=DIR system admin executables [EPREFIX/sbin]
1260 --libexecdir=DIR program executables [EPREFIX/libexec]
1261 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1262 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1263 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1264 --libdir=DIR object code libraries [EPREFIX/lib]
1265 --includedir=DIR C header files [PREFIX/include]
1266 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1267 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1268 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1269 --infodir=DIR info documentation [DATAROOTDIR/info]
1270 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1271 --mandir=DIR man documentation [DATAROOTDIR/man]
1272 --docdir=DIR documentation root [DATAROOTDIR/doc/spike]
1273 --htmldir=DIR html documentation [DOCDIR]
1274 --dvidir=DIR dvi documentation [DOCDIR]
1275 --pdfdir=DIR pdf documentation [DOCDIR]
1276 --psdir=DIR ps documentation [DOCDIR]
1282 --build=BUILD configure
for building on BUILD
[guessed
]
1283 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1287 if test -n "$ac_init_help"; then
1288 case $ac_init_help in
1289 short | recursive
) echo "Configuration of RISC-V ISA Simulator ?:";;
1294 --disable-option-checking ignore unrecognized
--enable/--with options
1295 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1296 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1297 --enable-stow Enable stow-based
install
1298 --enable-optional-subprojects
1299 Enable all optional subprojects
1300 --enable-commitlog Enable commit log generation
1301 --enable-histogram Enable PC histogram generation
1304 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1305 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1306 --with-fesvr path to your fesvr installation
if not
in a standard
1309 Some influential environment variables
:
1310 CC C compiler
command
1311 CFLAGS C compiler flags
1312 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1313 nonstandard directory
<lib dir
>
1314 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1315 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1316 you have headers
in a nonstandard directory
<include dir
>
1317 CXX C
++ compiler
command
1318 CXXFLAGS C
++ compiler flags
1319 STOW_ROOT Root
for non-native stow-based installs
1320 STOW_PREFIX Prefix
for stow-based installs
1323 Use these variables to override the choices made by
`configure' or to help
1324 it to find libraries and programs with nonstandard names/locations.
1326 Report bugs to <Andrew Waterman>.
1331 if test "$ac_init_help" = "recursive"; then
1332 # If there are subdirs, report their specific --help.
1333 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1334 test -d "$ac_dir" ||
1335 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1343 # A ".." for each directory in $ac_dir_suffix.
1344 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1345 case $ac_top_builddir_sub in
1346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1350 ac_abs_top_builddir=$ac_pwd
1351 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1352 # for backward compatibility:
1353 ac_top_builddir=$ac_top_build_prefix
1356 .) # We are building in place.
1358 ac_top_srcdir=$ac_top_builddir_sub
1359 ac_abs_top_srcdir=$ac_pwd ;;
1360 [\\/]* | ?:[\\/]* ) # Absolute name.
1361 ac_srcdir=$srcdir$ac_dir_suffix;
1362 ac_top_srcdir=$srcdir
1363 ac_abs_top_srcdir=$srcdir ;;
1365 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1366 ac_top_srcdir=$ac_top_build_prefix$srcdir
1367 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1371 cd "$ac_dir" || { ac_status=$?; continue; }
1372 # Check for guested configure.
1373 if test -f "$ac_srcdir/configure.gnu"; then
1375 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1376 elif test -f "$ac_srcdir/configure"; then
1378 $SHELL "$ac_srcdir/configure" --help=recursive
1380 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1382 cd "$ac_pwd" || { ac_status=$?; break; }
1386 test -n "$ac_init_help" && exit $ac_status
1387 if $ac_init_version; then
1389 RISC-V ISA Simulator configure ?
1390 generated by GNU Autoconf 2.69
1392 Copyright (C) 2012 Free Software Foundation, Inc.
1393 This configure script is free software; the Free Software Foundation
1394 gives unlimited permission to copy, distribute and modify it.
1399 ## ------------------------ ##
1400 ## Autoconf initialization. ##
1401 ## ------------------------ ##
1403 # ac_fn_c_try_compile LINENO
1404 # --------------------------
1405 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1406 ac_fn_c_try_compile ()
1408 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1409 rm -f conftest.$ac_objext
1410 if { { ac_try="$ac_compile"
1412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1413 *) ac_try_echo
=$ac_try;;
1415 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1416 $as_echo "$ac_try_echo"; } >&5
1417 (eval "$ac_compile") 2>conftest.err
1419 if test -s conftest.err
; then
1420 grep -v '^ *+' conftest.err
>conftest.er1
1421 cat conftest.er1
>&5
1422 mv -f conftest.er1 conftest.err
1424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1425 test $ac_status = 0; } && {
1426 test -z "$ac_c_werror_flag" ||
1427 test ! -s conftest.err
1428 } && test -s conftest.
$ac_objext; then :
1431 $as_echo "$as_me: failed program was:" >&5
1432 sed 's/^/| /' conftest.
$ac_ext >&5
1436 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1437 as_fn_set_status
$ac_retval
1439 } # ac_fn_c_try_compile
1441 # ac_fn_cxx_try_compile LINENO
1442 # ----------------------------
1443 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1444 ac_fn_cxx_try_compile
()
1446 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1447 rm -f conftest.
$ac_objext
1448 if { { ac_try
="$ac_compile"
1450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1451 *) ac_try_echo=$ac_try;;
1453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1454 $as_echo "$ac_try_echo"; } >&5
1455 (eval "$ac_compile") 2>conftest.err
1457 if test -s conftest.err; then
1458 grep -v '^ *+' conftest.err >conftest.er1
1459 cat conftest.er1 >&5
1460 mv -f conftest.er1 conftest.err
1462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1463 test $ac_status = 0; } && {
1464 test -z "$ac_cxx_werror_flag" ||
1465 test ! -s conftest.err
1466 } && test -s conftest.$ac_objext; then :
1469 $as_echo "$as_me: failed program was:" >&5
1470 sed 's/^/| /' conftest.$ac_ext >&5
1474 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1475 as_fn_set_status $ac_retval
1477 } # ac_fn_cxx_try_compile
1479 # ac_fn_c_try_cpp LINENO
1480 # ----------------------
1481 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1485 if { { ac_try="$ac_cpp conftest.$ac_ext"
1487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1488 *) ac_try_echo
=$ac_try;;
1490 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1491 $as_echo "$ac_try_echo"; } >&5
1492 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1494 if test -s conftest.err
; then
1495 grep -v '^ *+' conftest.err
>conftest.er1
1496 cat conftest.er1
>&5
1497 mv -f conftest.er1 conftest.err
1499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1500 test $ac_status = 0; } > conftest.i
&& {
1501 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1502 test ! -s conftest.err
1506 $as_echo "$as_me: failed program was:" >&5
1507 sed 's/^/| /' conftest.
$ac_ext >&5
1511 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1512 as_fn_set_status
$ac_retval
1516 # ac_fn_c_try_run LINENO
1517 # ----------------------
1518 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1519 # that executables *can* be run.
1522 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1523 if { { ac_try
="$ac_link"
1525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1526 *) ac_try_echo=$ac_try;;
1528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1529 $as_echo "$ac_try_echo"; } >&5
1530 (eval "$ac_link") 2>&5
1532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1533 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1534 { { case "(($ac_try" in
1535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1536 *) ac_try_echo
=$ac_try;;
1538 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540 (eval "$ac_try") 2>&5
1542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1543 test $ac_status = 0; }; }; then :
1546 $as_echo "$as_me: program exited with status $ac_status" >&5
1547 $as_echo "$as_me: failed program was:" >&5
1548 sed 's/^/| /' conftest.
$ac_ext >&5
1550 ac_retval
=$ac_status
1552 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1554 as_fn_set_status
$ac_retval
1558 # ac_fn_cxx_try_link LINENO
1559 # -------------------------
1560 # Try to link conftest.$ac_ext, and return whether this succeeded.
1561 ac_fn_cxx_try_link
()
1563 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1564 rm -f conftest.
$ac_objext conftest
$ac_exeext
1565 if { { ac_try
="$ac_link"
1567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1568 *) ac_try_echo=$ac_try;;
1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_link") 2>conftest.err
1574 if test -s conftest.err; then
1575 grep -v '^ *+' conftest.err >conftest.er1
1576 cat conftest.er1 >&5
1577 mv -f conftest.er1 conftest.err
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } && {
1581 test -z "$ac_cxx_werror_flag" ||
1582 test ! -s conftest.err
1583 } && test -s conftest$ac_exeext && {
1584 test "$cross_compiling" = yes ||
1585 test -x conftest$ac_exeext
1589 $as_echo "$as_me: failed program was:" >&5
1590 sed 's/^/| /' conftest.$ac_ext >&5
1594 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1595 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1596 # interfere with the next link command; also delete a directory that is
1597 # left behind by Apple's compiler. We do this before executing the actions.
1598 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600 as_fn_set_status $ac_retval
1602 } # ac_fn_cxx_try_link
1603 cat >config.log <<_ACEOF
1604 This file contains any messages produced by compilers while
1605 running configure, to aid debugging if configure makes a mistake.
1607 It was created by RISC-V ISA Simulator $as_me ?, which was
1608 generated by GNU Autoconf 2.69. Invocation command line was
1620 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1621 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1622 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1623 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1624 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1626 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1627 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1629 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1630 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1631 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1632 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1633 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1634 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1635 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1643 test -z "$as_dir" && as_dir=.
1644 $as_echo "PATH: $as_dir"
1660 # Keep a trace of the command line.
1661 # Strip out --no-create and --no-recursion so they do not pile up.
1662 # Strip out --silent because we don't want to record it for future runs.
1663 # Also quote any args containing shell meta-characters.
1664 # Make two passes to allow for proper duplicate-argument suppression.
1668 ac_must_keep_next=false
1674 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1675 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1676 | -silent | --silent | --silen | --sile | --sil)
1679 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1682 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1684 as_fn_append ac_configure_args1 " '$ac_arg'"
1685 if test $ac_must_keep_next = true; then
1686 ac_must_keep_next=false # Got value, back to normal.
1689 *=* | --config-cache | -C | -disable-* | --disable-* \
1690 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1691 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1692 | -with-* | --with-* | -without-* | --without-* | --x)
1693 case "$ac_configure_args0 " in
1694 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1697 -* ) ac_must_keep_next=true ;;
1700 as_fn_append ac_configure_args " '$ac_arg'"
1705 { ac_configure_args0=; unset ac_configure_args0;}
1706 { ac_configure_args1=; unset ac_configure_args1;}
1708 # When interrupted or exit'd, cleanup temporary files, and complete
1709 # config.log. We remove comments because anyway the quotes in there
1710 # would cause problems or look ugly.
1711 # WARNING: Use '\'' to represent an apostrophe within the trap.
1712 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1713 trap 'exit_status=$?
1714 # Save into config.log some information that might help in debugging.
1718 $as_echo "## ---------------- ##
1719 ## Cache variables. ##
1720 ## ---------------- ##"
1722 # The following way of writing the cache mishandles newlines in values,
1724 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1725 eval ac_val=\$$ac_var
1729 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1730 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1733 _ | IFS | as_nl) ;; #(
1734 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1735 *) { eval $ac_var=; unset $ac_var;} ;;
1740 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1741 *${as_nl}ac_space=\ *)
1743 "s/'\''/'\''\\\\'\'''\''/g;
1744 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1747 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1754 $as_echo "## ----------------- ##
1755 ## Output variables. ##
1756 ## ----------------- ##"
1758 for ac_var in $ac_subst_vars
1760 eval ac_val=\$$ac_var
1762 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1764 $as_echo "$ac_var='\''$ac_val'\''"
1768 if test -n "$ac_subst_files"; then
1769 $as_echo "## ------------------- ##
1770 ## File substitutions. ##
1771 ## ------------------- ##"
1773 for ac_var in $ac_subst_files
1775 eval ac_val=\$$ac_var
1777 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1779 $as_echo "$ac_var='\''$ac_val'\''"
1784 if test -s confdefs.h; then
1785 $as_echo "## ----------- ##
1792 test "$ac_signal" != 0 &&
1793 $as_echo "$as_me: caught signal $ac_signal"
1794 $as_echo "$as_me: exit $exit_status"
1796 rm -f core *.core core.conftest.* &&
1797 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1800 for ac_signal in 1 2 13 15; do
1801 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1805 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1806 rm -f -r conftest* confdefs.h
1808 $as_echo "/* confdefs.h */" > confdefs.h
1810 # Predefined preprocessor variables.
1812 cat >>confdefs.h <<_ACEOF
1813 #define PACKAGE_NAME "$PACKAGE_NAME"
1816 cat >>confdefs.h <<_ACEOF
1817 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1820 cat >>confdefs.h <<_ACEOF
1821 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1824 cat >>confdefs.h <<_ACEOF
1825 #define PACKAGE_STRING "$PACKAGE_STRING"
1828 cat >>confdefs.h <<_ACEOF
1829 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1832 cat >>confdefs.h <<_ACEOF
1833 #define PACKAGE_URL "$PACKAGE_URL"
1837 # Let the site file select an alternate cache file if it wants to.
1838 # Prefer an explicitly selected file to automatically selected ones.
1841 if test -n "$CONFIG_SITE"; then
1842 # We do not want a PATH search for config.site.
1843 case $CONFIG_SITE in #((
1844 -*) ac_site_file1=./$CONFIG_SITE;;
1845 */*) ac_site_file1=$CONFIG_SITE;;
1846 *) ac_site_file1=./$CONFIG_SITE;;
1848 elif test "x$prefix" != xNONE; then
1849 ac_site_file1=$prefix/share/config.site
1850 ac_site_file2=$prefix/etc/config.site
1852 ac_site_file1=$ac_default_prefix/share/config.site
1853 ac_site_file2=$ac_default_prefix/etc/config.site
1855 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1857 test "x$ac_site_file" = xNONE && continue
1858 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1860 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1861 sed 's/^/| /' "$ac_site_file" >&5
1863 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1864 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1865 as_fn_error $? "failed to load site
script $ac_site_file
1866 See \
`config.log' for more details" "$LINENO" 5; }
1870 if test -r "$cache_file"; then
1871 # Some versions of bash will fail to source /dev/null (special files
1872 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1873 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1875 $as_echo "$as_me: loading cache $cache_file" >&6;}
1877 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1878 *) . "./$cache_file";;
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1883 $as_echo "$as_me: creating cache $cache_file" >&6;}
1887 # Check that the precious variables saved in the cache have kept the same
1889 ac_cache_corrupted=false
1890 for ac_var in $ac_precious_vars; do
1891 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1892 eval ac_new_set=\$ac_env_${ac_var}_set
1893 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1894 eval ac_new_val=\$ac_env_${ac_var}_value
1895 case $ac_old_set,$ac_new_set in
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1898 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1899 ac_cache_corrupted=: ;;
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1902 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1903 ac_cache_corrupted=: ;;
1906 if test "x$ac_old_val" != "x$ac_new_val"; then
1907 # differences in whitespace do not lead to failure.
1908 ac_old_val_w=`echo x
$ac_old_val`
1909 ac_new_val_w=`echo x
$ac_new_val`
1910 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1912 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1913 ac_cache_corrupted=:
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1916 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1917 eval $ac_var=\$ac_old_val
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1920 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1922 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1925 # Pass precious variables to config.status.
1926 if test "$ac_new_set" = set; then
1928 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1929 *) ac_arg=$ac_var=$ac_new_val ;;
1931 case " $ac_configure_args " in
1932 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1933 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1937 if $ac_cache_corrupted; then
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1941 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1942 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1944 ## -------------------- ##
1945 ## Main body of script. ##
1946 ## -------------------- ##
1949 ac_cpp='$CPP $CPPFLAGS'
1950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1957 for ac_dir in scripts "$srcdir"/scripts; do
1958 if test -f "$ac_dir/install-sh"; then
1960 ac_install_sh="$ac_aux_dir/install-sh -c"
1962 elif test -f "$ac_dir/install.sh"; then
1964 ac_install_sh="$ac_aux_dir/install.sh -c"
1966 elif test -f "$ac_dir/shtool"; then
1968 ac_install_sh="$ac_aux_dir/shtool install -c"
1972 if test -z "$ac_aux_dir"; then
1973 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts \"$srcdir\"/scripts" "$LINENO" 5
1976 # These three variables are undocumented and unsupported,
1977 # and are intended to be withdrawn in a future Autoconf release.
1978 # They can cause serious problems if a builder's source tree is in a directory
1979 # whose full name contains unusual characters.
1980 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1981 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1982 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1985 # Make sure we can run config.sub.
1986 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1987 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1990 $as_echo_n "checking build system type... " >&6; }
1991 if ${ac_cv_build+:} false; then :
1992 $as_echo_n "(cached) " >&6
1994 ac_build_alias=$build_alias
1995 test "x$ac_build_alias" = x &&
1996 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1997 test "x$ac_build_alias" = x &&
1998 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1999 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2000 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2004 $as_echo "$ac_cv_build" >&6; }
2005 case $ac_cv_build in
2007 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2010 ac_save_IFS=$IFS; IFS='-'
2016 # Remember, the first character of IFS is used to create $*,
2017 # except with old shells:
2020 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2024 $as_echo_n "checking host system type... " >&6; }
2025 if ${ac_cv_host+:} false; then :
2026 $as_echo_n "(cached) " >&6
2028 if test "x$host_alias" = x; then
2029 ac_cv_host=$ac_cv_build
2031 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2032 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2037 $as_echo "$ac_cv_host" >&6; }
2040 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2043 ac_save_IFS=$IFS; IFS='-'
2049 # Remember, the first character of IFS is used to create $*,
2050 # except with old shells:
2053 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2057 #-------------------------------------------------------------------------
2058 # Checks for programs
2059 #-------------------------------------------------------------------------
2062 ac_cpp='$CPP $CPPFLAGS'
2063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2066 if test -n "$ac_tool_prefix"; then
2067 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2068 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2070 $as_echo_n "checking for $ac_word... " >&6; }
2071 if ${ac_cv_prog_CC+:} false; then :
2072 $as_echo_n "(cached) " >&6
2074 if test -n "$CC"; then
2075 ac_cv_prog_CC="$CC" # Let the user override the test.
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2081 test -z "$as_dir" && as_dir=.
2082 for ac_exec_ext in '' $ac_executable_extensions; do
2083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2084 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 if test -n "$CC"; then
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2097 $as_echo "$CC" >&6; }
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2100 $as_echo "no" >&6; }
2105 if test -z "$ac_cv_prog_CC"; then
2107 # Extract the first word of "gcc", so it can be a program name with args.
2108 set dummy gcc; ac_word=$2
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2110 $as_echo_n "checking for $ac_word... " >&6; }
2111 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2112 $as_echo_n "(cached) " >&6
2114 if test -n "$ac_ct_CC"; then
2115 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121 test -z "$as_dir" && as_dir=.
2122 for ac_exec_ext in '' $ac_executable_extensions; do
2123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2124 ac_cv_prog_ac_ct_CC="gcc"
2125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2134 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2135 if test -n "$ac_ct_CC"; then
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2137 $as_echo "$ac_ct_CC" >&6; }
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2140 $as_echo "no" >&6; }
2143 if test "x$ac_ct_CC" = x; then
2146 case $cross_compiling:$ac_tool_warned in
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2150 ac_tool_warned=yes ;;
2158 if test -z "$CC"; then
2159 if test -n "$ac_tool_prefix"; then
2160 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2161 set dummy ${ac_tool_prefix}cc; ac_word=$2
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2163 $as_echo_n "checking for $ac_word... " >&6; }
2164 if ${ac_cv_prog_CC+:} false; then :
2165 $as_echo_n "(cached) " >&6
2167 if test -n "$CC"; then
2168 ac_cv_prog_CC="$CC" # Let the user override the test.
2170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174 test -z "$as_dir" && as_dir=.
2175 for ac_exec_ext in '' $ac_executable_extensions; do
2176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2177 ac_cv_prog_CC="${ac_tool_prefix}cc"
2178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2188 if test -n "$CC"; then
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2190 $as_echo "$CC" >&6; }
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2193 $as_echo "no" >&6; }
2199 if test -z "$CC"; then
2200 # Extract the first word of "cc", so it can be a program name with args.
2201 set dummy cc; ac_word=$2
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2203 $as_echo_n "checking for $ac_word... " >&6; }
2204 if ${ac_cv_prog_CC+:} false; then :
2205 $as_echo_n "(cached) " >&6
2207 if test -n "$CC"; then
2208 ac_cv_prog_CC="$CC" # Let the user override the test.
2211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215 test -z "$as_dir" && as_dir=.
2216 for ac_exec_ext in '' $ac_executable_extensions; do
2217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2218 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2219 ac_prog_rejected=yes
2223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2230 if test $ac_prog_rejected = yes; then
2231 # We found a bogon in the path, so make sure we never use it.
2232 set dummy $ac_cv_prog_CC
2234 if test $# != 0; then
2235 # We chose a different compiler from the bogus one.
2236 # However, it has the same basename, so the bogon will be chosen
2237 # first if we set CC to just the basename; use the full file name.
2239 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2245 if test -n "$CC"; then
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2247 $as_echo "$CC" >&6; }
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2250 $as_echo "no" >&6; }
2255 if test -z "$CC"; then
2256 if test -n "$ac_tool_prefix"; then
2257 for ac_prog in cl.exe
2259 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2260 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2262 $as_echo_n "checking for $ac_word... " >&6; }
2263 if ${ac_cv_prog_CC+:} false; then :
2264 $as_echo_n "(cached) " >&6
2266 if test -n "$CC"; then
2267 ac_cv_prog_CC="$CC" # Let the user override the test.
2269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273 test -z "$as_dir" && as_dir=.
2274 for ac_exec_ext in '' $ac_executable_extensions; do
2275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2276 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 if test -n "$CC"; then
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2289 $as_echo "$CC" >&6; }
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2292 $as_echo "no" >&6; }
2296 test -n "$CC" && break
2299 if test -z "$CC"; then
2301 for ac_prog in cl.exe
2303 # Extract the first word of "$ac_prog", so it can be a program name with args.
2304 set dummy $ac_prog; ac_word=$2
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2306 $as_echo_n "checking for $ac_word... " >&6; }
2307 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2308 $as_echo_n "(cached) " >&6
2310 if test -n "$ac_ct_CC"; then
2311 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir=.
2318 for ac_exec_ext in '' $ac_executable_extensions; do
2319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2320 ac_cv_prog_ac_ct_CC="$ac_prog"
2321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2330 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2331 if test -n "$ac_ct_CC"; then
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2333 $as_echo "$ac_ct_CC" >&6; }
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2336 $as_echo "no" >&6; }
2340 test -n "$ac_ct_CC" && break
2343 if test "x$ac_ct_CC" = x; then
2346 case $cross_compiling:$ac_tool_warned in
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2350 ac_tool_warned=yes ;;
2359 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2361 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2362 See \
`config.log' for more details" "$LINENO" 5; }
2364 # Provide some information about the compiler.
2365 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2368 for ac_option in --version -v -V -qversion; do
2369 { { ac_try="$ac_compiler $ac_option >&5"
2371 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2372 *) ac_try_echo
=$ac_try;;
2374 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2375 $as_echo "$ac_try_echo"; } >&5
2376 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2378 if test -s conftest.err
; then
2380 ... rest of stderr output deleted ...
2381 10q' conftest.err
>conftest.er1
2382 cat conftest.er1
>&5
2384 rm -f conftest.er1 conftest.err
2385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2386 test $ac_status = 0; }
2389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2390 /* end confdefs.h. */
2400 ac_clean_files_save
=$ac_clean_files
2401 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2402 # Try to create an executable without -o first, disregard a.out.
2403 # It will help us diagnose broken compilers, and finding out an intuition
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2406 $as_echo_n "checking whether the C compiler works... " >&6; }
2407 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2409 # The possible output files:
2410 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2413 for ac_file
in $ac_files
2416 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2417 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2422 if { { ac_try
="$ac_link_default"
2424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2425 *) ac_try_echo=$ac_try;;
2427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2428 $as_echo "$ac_try_echo"; } >&5
2429 (eval "$ac_link_default") 2>&5
2431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2432 test $ac_status = 0; }; then :
2433 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2434 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2435 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2436 # so that the user can short-circuit this test for compilers unknown to
2438 for ac_file in $ac_files ''
2440 test -f "$ac_file" || continue
2442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2445 # We found the default executable, but exeext='' is most
2449 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2451 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2453 # We set ac_cv_exeext here because the later test for it is not
2454 # safe: cross compilers may not add the suffix if given an `-o'
2455 # argument, so we may need to know it at that point already.
2456 # Even if this section looks crufty: it has the advantage of
2463 test "$ac_cv_exeext" = no && ac_cv_exeext=
2468 if test -z "$ac_file"; then :
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2470 $as_echo "no" >&6; }
2471 $as_echo "$as_me: failed program was:" >&5
2472 sed 's
/^
/|
/' conftest.$ac_ext >&5
2474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2475 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2476 as_fn_error 77 "C compiler cannot create executables
2477 See \`config.log
' for more details" "$LINENO" 5; }
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2480 $as_echo "yes" >&6; }
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2483 $as_echo_n "checking for C compiler default output file name... " >&6; }
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2485 $as_echo "$ac_file" >&6; }
2486 ac_exeext=$ac_cv_exeext
2488 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2489 ac_clean_files=$ac_clean_files_save
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2491 $as_echo_n "checking for suffix of executables... " >&6; }
2492 if { { ac_try="$ac_link"
2494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2495 *) ac_try_echo=$ac_try;;
2497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2498 $as_echo "$ac_try_echo"; } >&5
2499 (eval "$ac_link") 2>&5
2501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2502 test $ac_status = 0; }; then :
2503 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2504 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2505 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2507 for ac_file
in conftest.exe conftest conftest.
*; do
2508 test -f "$ac_file" ||
continue
2510 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2511 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2517 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2519 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2520 See \`config.log' for more details" "$LINENO" 5; }
2522 rm -f conftest conftest
$ac_cv_exeext
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2524 $as_echo "$ac_cv_exeext" >&6; }
2526 rm -f conftest.
$ac_ext
2527 EXEEXT
=$ac_cv_exeext
2529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2530 /* end confdefs.h. */
2535 FILE *f = fopen ("conftest.out", "w");
2536 return ferror (f) || fclose (f) != 0;
2542 ac_clean_files
="$ac_clean_files conftest.out"
2543 # Check that the compiler produces executables we can run. If not, either
2544 # the compiler is broken, or we cross compile.
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2546 $as_echo_n "checking whether we are cross compiling... " >&6; }
2547 if test "$cross_compiling" != yes; then
2548 { { ac_try
="$ac_link"
2550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2551 *) ac_try_echo=$ac_try;;
2553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2554 $as_echo "$ac_try_echo"; } >&5
2555 (eval "$ac_link") 2>&5
2557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2558 test $ac_status = 0; }
2559 if { ac_try='./conftest$ac_cv_exeext'
2560 { { case "(($ac_try" in
2561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2562 *) ac_try_echo
=$ac_try;;
2564 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2565 $as_echo "$ac_try_echo"; } >&5
2566 (eval "$ac_try") 2>&5
2568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2569 test $ac_status = 0; }; }; then
2572 if test "$cross_compiling" = maybe
; then
2575 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2577 as_fn_error $?
"cannot run C compiled programs.
2578 If you meant to cross compile, use \`--host'.
2579 See \`config.log' for more details" "$LINENO" 5; }
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2584 $as_echo "$cross_compiling" >&6; }
2586 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2587 ac_clean_files
=$ac_clean_files_save
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2589 $as_echo_n "checking for suffix of object files... " >&6; }
2590 if ${ac_cv_objext+:} false
; then :
2591 $as_echo_n "(cached) " >&6
2593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2594 /* end confdefs.h. */
2604 rm -f conftest.o conftest.obj
2605 if { { ac_try
="$ac_compile"
2607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2608 *) ac_try_echo=$ac_try;;
2610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2611 $as_echo "$ac_try_echo"; } >&5
2612 (eval "$ac_compile") 2>&5
2614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2615 test $ac_status = 0; }; then :
2616 for ac_file in conftest.o conftest.obj conftest.*; do
2617 test -f "$ac_file" || continue;
2619 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2620 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2625 $as_echo "$as_me: failed program was:" >&5
2626 sed 's/^/| /' conftest.$ac_ext >&5
2628 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2630 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2631 See \
`config.log' for more details" "$LINENO" 5; }
2633 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2636 $as_echo "$ac_cv_objext" >&6; }
2637 OBJEXT=$ac_cv_objext
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2640 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2641 if ${ac_cv_c_compiler_gnu+:} false; then :
2642 $as_echo_n "(cached) " >&6
2644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2645 /* end confdefs.h. */
2658 if ac_fn_c_try_compile "$LINENO"; then :
2663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2664 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2668 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2669 if test $ac_compiler_gnu = yes; then
2674 ac_test_CFLAGS=${CFLAGS+set}
2675 ac_save_CFLAGS=$CFLAGS
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2677 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2678 if ${ac_cv_prog_cc_g+:} false; then :
2679 $as_echo_n "(cached) " >&6
2681 ac_save_c_werror_flag=$ac_c_werror_flag
2682 ac_c_werror_flag=yes
2685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2686 /* end confdefs.h. */
2696 if ac_fn_c_try_compile "$LINENO"; then :
2700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2701 /* end confdefs.h. */
2711 if ac_fn_c_try_compile "$LINENO"; then :
2714 ac_c_werror_flag=$ac_save_c_werror_flag
2716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2717 /* end confdefs.h. */
2727 if ac_fn_c_try_compile "$LINENO"; then :
2730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2735 ac_c_werror_flag=$ac_save_c_werror_flag
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2738 $as_echo "$ac_cv_prog_cc_g" >&6; }
2739 if test "$ac_test_CFLAGS" = set; then
2740 CFLAGS=$ac_save_CFLAGS
2741 elif test $ac_cv_prog_cc_g = yes; then
2742 if test "$GCC" = yes; then
2748 if test "$GCC" = yes; then
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2755 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2756 if ${ac_cv_prog_cc_c89+:} false; then :
2757 $as_echo_n "(cached) " >&6
2759 ac_cv_prog_cc_c89=no
2761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2762 /* end confdefs.h. */
2766 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2767 struct buf { int x; };
2768 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2769 static char *e (p, i)
2775 static char *f (char * (*g) (char **, int), char **p, ...)
2780 s = g (p, va_arg (v,int));
2785 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2786 function prototypes and stuff, but not '\xHH' hex character constants.
2787 These don't provoke an error unfortunately, instead are silently treated
2788 as 'x'. The following induces an error, until -std is added to get
2789 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2790 array size at least. It's necessary to write '\x00'==0 to get something
2791 that's true only with -std. */
2792 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2794 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2795 inside strings and character constants. */
2797 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2799 int test (int i, double x);
2800 struct s1 {int (*f) (int a);};
2801 struct s2 {int (*f) (double a);};
2802 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2808 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2813 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2814 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2816 CC="$ac_save_CC $ac_arg"
2817 if ac_fn_c_try_compile "$LINENO"; then :
2818 ac_cv_prog_cc_c89=$ac_arg
2820 rm -f core conftest.err conftest.$ac_objext
2821 test "x$ac_cv_prog_cc_c89" != "xno" && break
2823 rm -f conftest.$ac_ext
2828 case "x$ac_cv_prog_cc_c89" in
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2831 $as_echo "none needed" >&6; } ;;
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2834 $as_echo "unsupported" >&6; } ;;
2836 CC="$CC $ac_cv_prog_cc_c89"
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2838 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2840 if test "x$ac_cv_prog_cc_c89" != xno; then :
2845 ac_cpp='$CPP $CPPFLAGS'
2846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2851 ac_cpp='$CXXCPP $CPPFLAGS'
2852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2855 if test -z "$CXX"; then
2856 if test -n "$CCC"; then
2859 if test -n "$ac_tool_prefix"; then
2860 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2862 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2863 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2865 $as_echo_n "checking for $ac_word... " >&6; }
2866 if ${ac_cv_prog_CXX+:} false; then :
2867 $as_echo_n "(cached) " >&6
2869 if test -n "$CXX"; then
2870 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir=.
2877 for ac_exec_ext in '' $ac_executable_extensions; do
2878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2879 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2890 if test -n "$CXX"; then
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2892 $as_echo "$CXX" >&6; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2899 test -n "$CXX" && break
2902 if test -z "$CXX"; then
2904 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2906 # Extract the first word of "$ac_prog", so it can be a program name with args.
2907 set dummy $ac_prog; ac_word=$2
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2909 $as_echo_n "checking for $ac_word... " >&6; }
2910 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2911 $as_echo_n "(cached) " >&6
2913 if test -n "$ac_ct_CXX"; then
2914 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 test -z "$as_dir" && as_dir=.
2921 for ac_exec_ext in '' $ac_executable_extensions; do
2922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2923 ac_cv_prog_ac_ct_CXX="$ac_prog"
2924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2934 if test -n "$ac_ct_CXX"; then
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2936 $as_echo "$ac_ct_CXX" >&6; }
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939 $as_echo "no" >&6; }
2943 test -n "$ac_ct_CXX" && break
2946 if test "x$ac_ct_CXX" = x; then
2949 case $cross_compiling:$ac_tool_warned in
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2953 ac_tool_warned=yes ;;
2961 # Provide some information about the compiler.
2962 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2965 for ac_option in --version -v -V -qversion; do
2966 { { ac_try="$ac_compiler $ac_option >&5"
2968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2969 *) ac_try_echo
=$ac_try;;
2971 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2972 $as_echo "$ac_try_echo"; } >&5
2973 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2975 if test -s conftest.err
; then
2977 ... rest of stderr output deleted ...
2978 10q' conftest.err
>conftest.er1
2979 cat conftest.er1
>&5
2981 rm -f conftest.er1 conftest.err
2982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2983 test $ac_status = 0; }
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2987 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2988 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
2989 $as_echo_n "(cached) " >&6
2991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
3005 if ac_fn_cxx_try_compile
"$LINENO"; then :
3010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3011 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3015 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3016 if test $ac_compiler_gnu = yes; then
3021 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3022 ac_save_CXXFLAGS
=$CXXFLAGS
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3024 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3025 if ${ac_cv_prog_cxx_g+:} false
; then :
3026 $as_echo_n "(cached) " >&6
3028 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3029 ac_cxx_werror_flag
=yes
3032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3033 /* end confdefs.h. */
3043 if ac_fn_cxx_try_compile
"$LINENO"; then :
3044 ac_cv_prog_cxx_g
=yes
3047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3048 /* end confdefs.h. */
3058 if ac_fn_cxx_try_compile
"$LINENO"; then :
3061 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3064 /* end confdefs.h. */
3074 if ac_fn_cxx_try_compile
"$LINENO"; then :
3075 ac_cv_prog_cxx_g
=yes
3077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3082 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3085 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3086 if test "$ac_test_CXXFLAGS" = set; then
3087 CXXFLAGS
=$ac_save_CXXFLAGS
3088 elif test $ac_cv_prog_cxx_g = yes; then
3089 if test "$GXX" = yes; then
3095 if test "$GXX" = yes; then
3102 ac_cpp
='$CPP $CPPFLAGS'
3103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3107 if test -n "$ac_tool_prefix"; then
3108 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3109 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3111 $as_echo_n "checking for $ac_word... " >&6; }
3112 if ${ac_cv_prog_AR+:} false
; then :
3113 $as_echo_n "(cached) " >&6
3115 if test -n "$AR"; then
3116 ac_cv_prog_AR
="$AR" # Let the user override the test.
3118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3122 test -z "$as_dir" && as_dir
=.
3123 for ac_exec_ext
in '' $ac_executable_extensions; do
3124 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3125 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3136 if test -n "$AR"; then
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3138 $as_echo "$AR" >&6; }
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3141 $as_echo "no" >&6; }
3146 if test -z "$ac_cv_prog_AR"; then
3148 # Extract the first word of "ar", so it can be a program name with args.
3149 set dummy
ar; ac_word
=$2
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151 $as_echo_n "checking for $ac_word... " >&6; }
3152 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
3153 $as_echo_n "(cached) " >&6
3155 if test -n "$ac_ct_AR"; then
3156 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3162 test -z "$as_dir" && as_dir
=.
3163 for ac_exec_ext
in '' $ac_executable_extensions; do
3164 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3165 ac_cv_prog_ac_ct_AR
="ar"
3166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3175 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3176 if test -n "$ac_ct_AR"; then
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3178 $as_echo "$ac_ct_AR" >&6; }
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3181 $as_echo "no" >&6; }
3184 if test "x$ac_ct_AR" = x
; then
3187 case $cross_compiling:$ac_tool_warned in
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3191 ac_tool_warned
=yes ;;
3199 if test -n "$ac_tool_prefix"; then
3200 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3201 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3203 $as_echo_n "checking for $ac_word... " >&6; }
3204 if ${ac_cv_prog_RANLIB+:} false
; then :
3205 $as_echo_n "(cached) " >&6
3207 if test -n "$RANLIB"; then
3208 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3214 test -z "$as_dir" && as_dir
=.
3215 for ac_exec_ext
in '' $ac_executable_extensions; do
3216 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3217 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 RANLIB
=$ac_cv_prog_RANLIB
3228 if test -n "$RANLIB"; then
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3230 $as_echo "$RANLIB" >&6; }
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3233 $as_echo "no" >&6; }
3238 if test -z "$ac_cv_prog_RANLIB"; then
3239 ac_ct_RANLIB
=$RANLIB
3240 # Extract the first word of "ranlib", so it can be a program name with args.
3241 set dummy ranlib
; ac_word
=$2
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3243 $as_echo_n "checking for $ac_word... " >&6; }
3244 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
3245 $as_echo_n "(cached) " >&6
3247 if test -n "$ac_ct_RANLIB"; then
3248 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3254 test -z "$as_dir" && as_dir
=.
3255 for ac_exec_ext
in '' $ac_executable_extensions; do
3256 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3257 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3267 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3268 if test -n "$ac_ct_RANLIB"; then
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3270 $as_echo "$ac_ct_RANLIB" >&6; }
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3273 $as_echo "no" >&6; }
3276 if test "x$ac_ct_RANLIB" = x
; then
3279 case $cross_compiling:$ac_tool_warned in
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3283 ac_tool_warned
=yes ;;
3285 RANLIB
=$ac_ct_RANLIB
3288 RANLIB
="$ac_cv_prog_RANLIB"
3292 #-------------------------------------------------------------------------
3293 # MCPPBS specific program checks
3294 #-------------------------------------------------------------------------
3295 # These macros check to see if we can do a stow-based install and also
3296 # check for an isa simulator suitable for running the unit test programs
3299 # Find a good install program. We prefer a C program (faster),
3300 # so one script is as good as another. But avoid the broken or
3301 # incompatible versions:
3302 # SysV /etc/install, /usr/sbin/install
3303 # SunOS /usr/etc/install
3304 # IRIX /sbin/install
3306 # AmigaOS /C/install, which installs bootblocks on floppy discs
3307 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3308 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3309 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3310 # OS/2's system install, which has a completely different semantic
3311 # ./install, which can be erroneously created by make from ./install.sh.
3312 # Reject install programs that cannot install multiple files.
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3314 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3315 if test -z "$INSTALL"; then
3316 if ${ac_cv_path_install+:} false
; then :
3317 $as_echo_n "(cached) " >&6
3319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3323 test -z "$as_dir" && as_dir
=.
3324 # Account for people who put trailing slashes in PATH elements.
3325 case $as_dir/ in #((
3326 .
/ | .
// |
/[cC
]/* | \
3327 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3328 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3331 # OSF1 and SCO ODT 3.0 have their own names for install.
3332 # Don't use installbsd from OSF since it installs stuff as root
3334 for ac_prog
in ginstall scoinst
install; do
3335 for ac_exec_ext
in '' $ac_executable_extensions; do
3336 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3337 if test $ac_prog = install &&
3338 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3339 # AIX install. It has an incompatible calling convention.
3341 elif test $ac_prog = install &&
3342 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3343 # program-specific install script used by HP pwplus--don't use.
3346 rm -rf conftest.one conftest.two conftest.dir
3347 echo one
> conftest.one
3348 echo two
> conftest.two
3350 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3351 test -s conftest.one
&& test -s conftest.two
&&
3352 test -s conftest.dir
/conftest.one
&&
3353 test -s conftest.dir
/conftest.two
3355 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3368 rm -rf conftest.one conftest.two conftest.dir
3371 if test "${ac_cv_path_install+set}" = set; then
3372 INSTALL
=$ac_cv_path_install
3374 # As a last resort, use the slow shell script. Don't cache a
3375 # value for INSTALL within a source directory, because that will
3376 # break other packages using the cache if that directory is
3377 # removed, or if the value is a relative name.
3378 INSTALL
=$ac_install_sh
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3382 $as_echo "$INSTALL" >&6; }
3384 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3385 # It thinks the first close brace ends the variable substitution.
3386 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3388 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3390 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3394 # Configure command line option
3396 # Check whether --enable-stow was given.
3397 if test "${enable_stow+set}" = set; then :
3398 enableval
=$enable_stow; enable_stow
="yes"
3406 # Environment variables
3411 # Check for install script
3415 # Deterimine if native build and set prefix appropriately
3417 if test ${enable_stow} = "yes" ; then :
3421 # Extract the first word of "$ac_prog", so it can be a program name with args.
3422 set dummy
$ac_prog; ac_word
=$2
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3424 $as_echo_n "checking for $ac_word... " >&6; }
3425 if ${ac_cv_prog_stow+:} false
; then :
3426 $as_echo_n "(cached) " >&6
3428 if test -n "$stow"; then
3429 ac_cv_prog_stow
="$stow" # Let the user override the test.
3431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3435 test -z "$as_dir" && as_dir
=.
3436 for ac_exec_ext
in '' $ac_executable_extensions; do
3437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3438 ac_cv_prog_stow
="$ac_prog"
3439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3448 stow
=$ac_cv_prog_stow
3449 if test -n "$stow"; then
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $stow" >&5
3451 $as_echo "$stow" >&6; }
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3454 $as_echo "no" >&6; }
3458 test -n "$stow" && break
3460 test -n "$stow" || stow
="no"
3462 if test ${stow} = "no" ; then :
3464 as_fn_error $?
"Cannot use --enable-stow since stow is not available" "$LINENO" 5
3468 # Check if native or non-native build
3470 if test "${build}" = "${host}" ; then :
3473 # build == host so this is a native build. Make sure --prefix not
3474 # set and $STOW_PREFIX is set, then set prefix=$STOW_PREFIX.
3476 if test "${prefix}" = "NONE" && test -n "${STOW_PREFIX}" ; then :
3478 prefix
="${STOW_PREFIX}"
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \$STOW_PREFIX from environment" >&5
3480 $as_echo "$as_me: Using \$STOW_PREFIX from environment" >&6;}
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: prefix=${prefix}" >&5
3482 $as_echo "$as_me: prefix=${prefix}" >&6;}
3490 # build != host so this is a non-native build. Make sure --prefix
3491 # not set and $STOW_ROOT is set, then set
3492 # prefix=$STOW_ROOT/${host_alias}.
3494 if test "${prefix}" = "NONE" && test -n "${STOW_ROOT}" ; then :
3496 prefix
="${STOW_ROOT}/${host_alias}"
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \$STOW_ROOT from environment" >&5
3498 $as_echo "$as_me: Using \$STOW_ROOT from environment" >&6;}
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: prefix=${prefix}" >&5
3500 $as_echo "$as_me: prefix=${prefix}" >&6;}
3512 #-------------------------------------------------------------------------
3513 # Checks for header files
3514 #-------------------------------------------------------------------------
3518 ac_cpp
='$CPP $CPPFLAGS'
3519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3523 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3524 # On Suns, sometimes $CPP names a directory.
3525 if test -n "$CPP" && test -d "$CPP"; then
3528 if test -z "$CPP"; then
3529 if ${ac_cv_prog_CPP+:} false
; then :
3530 $as_echo_n "(cached) " >&6
3532 # Double quotes because CPP needs to be expanded
3533 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3536 for ac_c_preproc_warn_flag
in '' yes
3538 # Use a header file that comes with gcc, so configuring glibc
3539 # with a fresh cross-compiler works.
3540 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3541 # <limits.h> exists even on freestanding compilers.
3542 # On the NeXT, cc -E runs the code through the compiler's parser,
3543 # not just through cpp. "Syntax error" is here to catch this case.
3544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3547 # include <limits.h>
3549 # include <assert.h>
3553 if ac_fn_c_try_cpp
"$LINENO"; then :
3556 # Broken: fails on valid input.
3559 rm -f conftest.err conftest.i conftest.
$ac_ext
3561 # OK, works on sane cases. Now check whether nonexistent headers
3562 # can be detected and how.
3563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3564 /* end confdefs.h. */
3565 #include <ac_nonexistent.h>
3567 if ac_fn_c_try_cpp
"$LINENO"; then :
3568 # Broken: success on invalid input.
3571 # Passes both tests.
3575 rm -f conftest.err conftest.i conftest.
$ac_ext
3578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3579 rm -f conftest.i conftest.err conftest.
$ac_ext
3580 if $ac_preproc_ok; then :
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3593 $as_echo "$CPP" >&6; }
3595 for ac_c_preproc_warn_flag
in '' yes
3597 # Use a header file that comes with gcc, so configuring glibc
3598 # with a fresh cross-compiler works.
3599 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3600 # <limits.h> exists even on freestanding compilers.
3601 # On the NeXT, cc -E runs the code through the compiler's parser,
3602 # not just through cpp. "Syntax error" is here to catch this case.
3603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h. */
3606 # include <limits.h>
3608 # include <assert.h>
3612 if ac_fn_c_try_cpp
"$LINENO"; then :
3615 # Broken: fails on valid input.
3618 rm -f conftest.err conftest.i conftest.
$ac_ext
3620 # OK, works on sane cases. Now check whether nonexistent headers
3621 # can be detected and how.
3622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h. */
3624 #include <ac_nonexistent.h>
3626 if ac_fn_c_try_cpp
"$LINENO"; then :
3627 # Broken: success on invalid input.
3630 # Passes both tests.
3634 rm -f conftest.err conftest.i conftest.
$ac_ext
3637 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3638 rm -f conftest.i conftest.err conftest.
$ac_ext
3639 if $ac_preproc_ok; then :
3642 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3644 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3645 See \`config.log' for more details" "$LINENO" 5; }
3649 ac_cpp
='$CPP $CPPFLAGS'
3650 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3651 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3652 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3656 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3657 if ${ac_cv_path_GREP+:} false
; then :
3658 $as_echo_n "(cached) " >&6
3660 if test -z "$GREP"; then
3661 ac_path_GREP_found
=false
3662 # Loop through the user's path and test for each of PROGNAME-LIST
3663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3664 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3667 test -z "$as_dir" && as_dir
=.
3668 for ac_prog
in grep ggrep
; do
3669 for ac_exec_ext
in '' $ac_executable_extensions; do
3670 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3671 as_fn_executable_p
"$ac_path_GREP" ||
continue
3672 # Check for GNU ac_path_GREP and select it if it is found.
3673 # Check for GNU $ac_path_GREP
3674 case `"$ac_path_GREP" --version 2>&1` in
3676 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3679 $as_echo_n 0123456789 >"conftest.in"
3682 cat "conftest.in" "conftest.in" >"conftest.tmp"
3683 mv "conftest.tmp" "conftest.in"
3684 cp "conftest.in" "conftest.nl"
3685 $as_echo 'GREP' >> "conftest.nl"
3686 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3687 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3688 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3689 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3690 # Best one so far, save it but keep looking for a better one
3691 ac_cv_path_GREP
="$ac_path_GREP"
3692 ac_path_GREP_max
=$ac_count
3694 # 10*(2^10) chars as input seems more than enough
3695 test $ac_count -gt 10 && break
3697 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3700 $ac_path_GREP_found && break 3
3705 if test -z "$ac_cv_path_GREP"; then
3706 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3709 ac_cv_path_GREP
=$GREP
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3714 $as_echo "$ac_cv_path_GREP" >&6; }
3715 GREP
="$ac_cv_path_GREP"
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3719 $as_echo_n "checking for egrep... " >&6; }
3720 if ${ac_cv_path_EGREP+:} false
; then :
3721 $as_echo_n "(cached) " >&6
3723 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3724 then ac_cv_path_EGREP
="$GREP -E"
3726 if test -z "$EGREP"; then
3727 ac_path_EGREP_found
=false
3728 # Loop through the user's path and test for each of PROGNAME-LIST
3729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3730 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3733 test -z "$as_dir" && as_dir
=.
3734 for ac_prog
in egrep; do
3735 for ac_exec_ext
in '' $ac_executable_extensions; do
3736 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3737 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3738 # Check for GNU ac_path_EGREP and select it if it is found.
3739 # Check for GNU $ac_path_EGREP
3740 case `"$ac_path_EGREP" --version 2>&1` in
3742 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3745 $as_echo_n 0123456789 >"conftest.in"
3748 cat "conftest.in" "conftest.in" >"conftest.tmp"
3749 mv "conftest.tmp" "conftest.in"
3750 cp "conftest.in" "conftest.nl"
3751 $as_echo 'EGREP' >> "conftest.nl"
3752 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3753 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3754 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3755 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3756 # Best one so far, save it but keep looking for a better one
3757 ac_cv_path_EGREP
="$ac_path_EGREP"
3758 ac_path_EGREP_max
=$ac_count
3760 # 10*(2^10) chars as input seems more than enough
3761 test $ac_count -gt 10 && break
3763 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3766 $ac_path_EGREP_found && break 3
3771 if test -z "$ac_cv_path_EGREP"; then
3772 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3775 ac_cv_path_EGREP
=$EGREP
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3781 $as_echo "$ac_cv_path_EGREP" >&6; }
3782 EGREP
="$ac_cv_path_EGREP"
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3786 $as_echo_n "checking for ANSI C header files... " >&6; }
3787 if ${ac_cv_header_stdc+:} false
; then :
3788 $as_echo_n "(cached) " >&6
3790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3791 /* end confdefs.h. */
3805 if ac_fn_c_try_compile
"$LINENO"; then :
3806 ac_cv_header_stdc
=yes
3808 ac_cv_header_stdc
=no
3810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3812 if test $ac_cv_header_stdc = yes; then
3813 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h. */
3819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3820 $EGREP "memchr" >/dev
/null
2>&1; then :
3823 ac_cv_header_stdc
=no
3829 if test $ac_cv_header_stdc = yes; then
3830 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h. */
3836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3837 $EGREP "free" >/dev
/null
2>&1; then :
3840 ac_cv_header_stdc
=no
3846 if test $ac_cv_header_stdc = yes; then
3847 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3848 if test "$cross_compiling" = yes; then :
3851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3852 /* end confdefs.h. */
3855 #if ((' ' & 0x0FF) == 0x020)
3856 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3857 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3859 # define ISLOWER(c) \
3860 (('a' <= (c) && (c) <= 'i') \
3861 || ('j' <= (c) && (c) <= 'r') \
3862 || ('s' <= (c) && (c) <= 'z'))
3863 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3866 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3871 for (i = 0; i < 256; i++)
3872 if (XOR (islower (i), ISLOWER (i))
3873 || toupper (i) != TOUPPER (i))
3878 if ac_fn_c_try_run
"$LINENO"; then :
3881 ac_cv_header_stdc
=no
3883 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3884 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3890 $as_echo "$ac_cv_header_stdc" >&6; }
3891 if test $ac_cv_header_stdc = yes; then
3893 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3898 #-------------------------------------------------------------------------
3899 # Default compiler flags
3900 #-------------------------------------------------------------------------
3902 CFLAGS
="-Wall -Wno-unused -O2"
3904 CXXFLAGS
="-Wall -Wno-unused -O2 -std=c++11"
3907 #-------------------------------------------------------------------------
3908 # MCPPBS subproject list
3909 #-------------------------------------------------------------------------
3910 # Order list so that subprojects only depend on those listed earlier.
3911 # The '*' suffix indicates an optional subproject. The '**' suffix
3912 # indicates an optional subproject which is also the name of a group.
3917 # Add command line argument to enable all optional subprojects
3919 # Check whether --enable-optional-subprojects was given.
3920 if test "${enable_optional_subprojects+set}" = set; then :
3921 enableval
=$enable_optional_subprojects;
3925 # Loop through the subprojects given in the macro argument
3929 # Determine if this is a required or an optional subproject
3933 # Determine if there is a group with the same name
3937 # Create variations of the subproject name suitable for use as a CPP
3938 # enabled define, a shell enabled variable, and a shell function
3950 # Add subproject to our running list
3952 subprojects
="$subprojects riscv"
3954 # Process the subproject appropriately. If enabled add it to the
3955 # $enabled_subprojects running shell variable, set a
3956 # SUBPROJECT_ENABLED C define, and include the appropriate
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring default subproject : riscv" >&5
3961 $as_echo "$as_me: configuring default subproject : riscv" >&6;}
3962 ac_config_files
="$ac_config_files riscv.mk:riscv/riscv.mk.in"
3964 enable_riscv_sproj
="yes"
3965 subprojects_enabled
="$subprojects_enabled riscv"
3967 $as_echo "#define RISCV_ENABLED /**/" >>confdefs.h
3970 ac_cpp
='$CXXCPP $CPPFLAGS'
3971 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3972 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3973 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
3977 $as_echo_n "checking for library containing dlopen... " >&6; }
3978 if ${ac_cv_search_dlopen+:} false
; then :
3979 $as_echo_n "(cached) " >&6
3981 ac_func_search_save_LIBS
=$LIBS
3982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3985 /* Override any GCC internal prototype to avoid an error.
3986 Use char because int might match the return type of a GCC
3987 builtin and then its argument prototype would still apply. */
4000 for ac_lib
in '' dl dld
; do
4001 if test -z "$ac_lib"; then
4002 ac_res
="none required"
4005 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4007 if ac_fn_cxx_try_link
"$LINENO"; then :
4008 ac_cv_search_dlopen
=$ac_res
4010 rm -f core conftest.err conftest.
$ac_objext \
4012 if ${ac_cv_search_dlopen+:} false
; then :
4016 if ${ac_cv_search_dlopen+:} false
; then :
4019 ac_cv_search_dlopen
=no
4022 LIBS
=$ac_func_search_save_LIBS
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
4025 $as_echo "$ac_cv_search_dlopen" >&6; }
4026 ac_res
=$ac_cv_search_dlopen
4027 if test "$ac_res" != no
; then :
4028 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4032 as_fn_error $?
"unable to find the dlopen() function" "$LINENO" 5
4038 # Check whether --with-fesvr was given.
4039 if test "${with_fesvr+set}" = set; then :
4040 withval
=$with_fesvr;
4041 LDFLAGS
="-L$withval/lib $LDFLAGS"
4042 CPPFLAGS
="-I$withval/include $CPPFLAGS"
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfesvr_is_present in -lfesvr" >&5
4049 $as_echo_n "checking for libfesvr_is_present in -lfesvr... " >&6; }
4050 if ${ac_cv_lib_fesvr_libfesvr_is_present+:} false
; then :
4051 $as_echo_n "(cached) " >&6
4053 ac_check_lib_save_LIBS
=$LIBS
4054 LIBS
="-lfesvr -pthread $LIBS"
4055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4058 /* Override any GCC internal prototype to avoid an error.
4059 Use char because int might match the return type of a GCC
4060 builtin and then its argument prototype would still apply. */
4064 char libfesvr_is_present ();
4068 return libfesvr_is_present ();
4073 if ac_fn_cxx_try_link
"$LINENO"; then :
4074 ac_cv_lib_fesvr_libfesvr_is_present
=yes
4076 ac_cv_lib_fesvr_libfesvr_is_present
=no
4078 rm -f core conftest.err conftest.
$ac_objext \
4079 conftest
$ac_exeext conftest.
$ac_ext
4080 LIBS
=$ac_check_lib_save_LIBS
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fesvr_libfesvr_is_present" >&5
4083 $as_echo "$ac_cv_lib_fesvr_libfesvr_is_present" >&6; }
4084 if test "x$ac_cv_lib_fesvr_libfesvr_is_present" = xyes
; then :
4085 cat >>confdefs.h
<<_ACEOF
4086 #define HAVE_LIBFESVR 1
4089 LIBS
="-lfesvr $LIBS"
4092 as_fn_error $?
"libfesvr is required" "$LINENO" 5
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
4097 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
4098 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
4099 $as_echo_n "(cached) " >&6
4101 ac_check_lib_save_LIBS
=$LIBS
4102 LIBS
="-lpthread $LIBS"
4103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4104 /* end confdefs.h. */
4106 /* Override any GCC internal prototype to avoid an error.
4107 Use char because int might match the return type of a GCC
4108 builtin and then its argument prototype would still apply. */
4112 char pthread_create ();
4116 return pthread_create ();
4121 if ac_fn_cxx_try_link
"$LINENO"; then :
4122 ac_cv_lib_pthread_pthread_create
=yes
4124 ac_cv_lib_pthread_pthread_create
=no
4126 rm -f core conftest.err conftest.
$ac_objext \
4127 conftest
$ac_exeext conftest.
$ac_ext
4128 LIBS
=$ac_check_lib_save_LIBS
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
4131 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
4132 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
4133 cat >>confdefs.h
<<_ACEOF
4134 #define HAVE_LIBPTHREAD 1
4137 LIBS
="-lpthread $LIBS"
4140 as_fn_error $?
"libpthread is required" "$LINENO" 5
4144 # Check whether --enable-commitlog was given.
4145 if test "${enable_commitlog+set}" = set; then :
4146 enableval
=$enable_commitlog;
4149 if test "x$enable_commitlog" = "xyes"; then :
4152 $as_echo "#define RISCV_ENABLE_COMMITLOG /**/" >>confdefs.h
4157 # Check whether --enable-histogram was given.
4158 if test "${enable_histogram+set}" = set; then :
4159 enableval
=$enable_histogram;
4162 if test "x$enable_histogram" = "xyes"; then :
4165 $as_echo "#define RISCV_ENABLE_HISTOGRAM /**/" >>confdefs.h
4174 # Determine if this is a required or an optional subproject
4178 # Determine if there is a group with the same name
4182 # Create variations of the subproject name suitable for use as a CPP
4183 # enabled define, a shell enabled variable, and a shell function
4195 # Add subproject to our running list
4197 subprojects
="$subprojects hwacha"
4199 # Process the subproject appropriately. If enabled add it to the
4200 # $enabled_subprojects running shell variable, set a
4201 # SUBPROJECT_ENABLED C define, and include the appropriate
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring default subproject : hwacha" >&5
4206 $as_echo "$as_me: configuring default subproject : hwacha" >&6;}
4207 ac_config_files
="$ac_config_files hwacha.mk:hwacha/hwacha.mk.in"
4209 enable_hwacha_sproj
="yes"
4210 subprojects_enabled
="$subprojects_enabled hwacha"
4212 $as_echo "#define HWACHA_ENABLED /**/" >>confdefs.h
4219 # Determine if this is a required or an optional subproject
4223 # Determine if there is a group with the same name
4227 # Create variations of the subproject name suitable for use as a CPP
4228 # enabled define, a shell enabled variable, and a shell function
4240 # Add subproject to our running list
4242 subprojects
="$subprojects dummy_rocc"
4244 # Process the subproject appropriately. If enabled add it to the
4245 # $enabled_subprojects running shell variable, set a
4246 # SUBPROJECT_ENABLED C define, and include the appropriate
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring default subproject : dummy_rocc" >&5
4251 $as_echo "$as_me: configuring default subproject : dummy_rocc" >&6;}
4252 ac_config_files
="$ac_config_files dummy_rocc.mk:dummy_rocc/dummy_rocc.mk.in"
4254 enable_dummy_rocc_sproj
="yes"
4255 subprojects_enabled
="$subprojects_enabled dummy_rocc"
4257 $as_echo "#define DUMMY_ROCC_ENABLED /**/" >>confdefs.h
4264 # Determine if this is a required or an optional subproject
4268 # Determine if there is a group with the same name
4272 # Create variations of the subproject name suitable for use as a CPP
4273 # enabled define, a shell enabled variable, and a shell function
4285 # Add subproject to our running list
4287 subprojects
="$subprojects softfloat"
4289 # Process the subproject appropriately. If enabled add it to the
4290 # $enabled_subprojects running shell variable, set a
4291 # SUBPROJECT_ENABLED C define, and include the appropriate
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring default subproject : softfloat" >&5
4296 $as_echo "$as_me: configuring default subproject : softfloat" >&6;}
4297 ac_config_files
="$ac_config_files softfloat.mk:softfloat/softfloat.mk.in"
4299 enable_softfloat_sproj
="yes"
4300 subprojects_enabled
="$subprojects_enabled softfloat"
4302 $as_echo "#define SOFTFLOAT_ENABLED /**/" >>confdefs.h
4309 # Determine if this is a required or an optional subproject
4313 # Determine if there is a group with the same name
4317 # Create variations of the subproject name suitable for use as a CPP
4318 # enabled define, a shell enabled variable, and a shell function
4330 # Add subproject to our running list
4332 subprojects
="$subprojects spike_main"
4334 # Process the subproject appropriately. If enabled add it to the
4335 # $enabled_subprojects running shell variable, set a
4336 # SUBPROJECT_ENABLED C define, and include the appropriate
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring default subproject : spike_main" >&5
4341 $as_echo "$as_me: configuring default subproject : spike_main" >&6;}
4342 ac_config_files
="$ac_config_files spike_main.mk:spike_main/spike_main.mk.in"
4344 enable_spike_main_sproj
="yes"
4345 subprojects_enabled
="$subprojects_enabled spike_main"
4347 $as_echo "#define SPIKE_MAIN_ENABLED /**/" >>confdefs.h
4354 # Output make variables
4361 #-------------------------------------------------------------------------
4362 # MCPPBS subproject groups
4363 #-------------------------------------------------------------------------
4364 # If a group has the same name as a subproject then you must add the
4365 # '**' suffix in the subproject list above. The list of subprojects in a
4366 # group should be ordered so that subprojets only depend on those listed
4367 # earlier. Here is an example:
4369 # MCPPBS_GROUP( [group-name], [sproja,sprojb,...] )
4372 #-------------------------------------------------------------------------
4374 #-------------------------------------------------------------------------
4376 ac_config_headers
="$ac_config_headers config.h"
4378 ac_config_files
="$ac_config_files Makefile"
4380 cat >confcache
<<\_ACEOF
4381 # This file is a shell script that caches the results of configure
4382 # tests run on this system so they can be shared between configure
4383 # scripts and configure runs, see configure's option --config-cache.
4384 # It is not useful on other systems. If it contains results you don't
4385 # want to keep, you may remove or edit it.
4387 # config.status only pays attention to the cache file if you give it
4388 # the --recheck option to rerun configure.
4390 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4391 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4396 # The following way of writing the cache mishandles newlines in values,
4397 # but we know of no workaround that is simple, portable, and efficient.
4398 # So, we kill variables containing newlines.
4399 # Ultrix sh set writes to stderr and can't be redirected directly,
4400 # and sets the high bit in the cache file unless we assign to the vars.
4402 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4403 eval ac_val
=\$
$ac_var
4407 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4408 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4411 _ | IFS | as_nl
) ;; #(
4412 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4413 *) { eval $ac_var=; unset $ac_var;} ;;
4419 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4420 *${as_nl}ac_space
=\
*)
4421 # `set' does not quote correctly, so add quotes: double-quote
4422 # substitution turns \\\\ into \\, and sed turns \\ into \.
4425 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4428 # `set' quotes correctly as required by POSIX, so do not add quotes.
4429 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4438 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4440 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4442 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4443 if test -w "$cache_file"; then
4444 if test "x$cache_file" != "x/dev/null"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4446 $as_echo "$as_me: updating cache $cache_file" >&6;}
4447 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4448 cat confcache
>"$cache_file"
4450 case $cache_file in #(
4452 mv -f confcache
"$cache_file"$$
&&
4453 mv -f "$cache_file"$$
"$cache_file" ;; #(
4455 mv -f confcache
"$cache_file" ;;
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4461 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4466 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4467 # Let make expand exec_prefix.
4468 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4470 DEFS
=-DHAVE_CONFIG_H
4475 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4476 # 1. Remove the extension, and $U if already installed.
4477 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4478 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4479 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4480 # will be set to the directory where LIBOBJS objects are built.
4481 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4482 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4486 LTLIBOBJS
=$ac_ltlibobjs
4490 : "${CONFIG_STATUS=./config.status}"
4492 ac_clean_files_save
=$ac_clean_files
4493 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4495 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4497 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4499 # Generated by $as_me.
4500 # Run this file to recreate the current configuration.
4501 # Compiler output produced by configure, useful for debugging
4502 # configure, is in config.log if it exists.
4508 SHELL=\${CONFIG_SHELL-$SHELL}
4511 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4512 ## -------------------- ##
4513 ## M4sh Initialization. ##
4514 ## -------------------- ##
4516 # Be more Bourne compatible
4517 DUALCASE
=1; export DUALCASE
# for MKS sh
4518 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4521 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4522 # is contrary to our usage. Disable this feature.
4523 alias -g '${1+"$@"}'='"$@"'
4524 setopt NO_GLOB_SUBST
4526 case `(set -o) 2>/dev/null` in #(
4538 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4539 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4540 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4542 # Prefer a ksh shell builtin over an external printf program on Solaris,
4543 # but without wasting forks for bash or zsh.
4544 if test -z "$BASH_VERSION$ZSH_VERSION" \
4545 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4546 as_echo='print
-r --'
4547 as_echo_n='print
-rn --'
4548 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4549 as_echo='printf %s
\n'
4550 as_echo_n='printf %s
'
4552 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4553 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4554 as_echo_n='/usr
/ucb
/echo -n'
4556 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4557 as_echo_n_body='eval
4561 expr "X$arg" : "X\\(.*\\)$as_nl";
4562 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4564 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4566 export as_echo_n_body
4567 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4570 as_echo='sh
-c $as_echo_body as_echo
'
4573 # The user is always right.
4574 if test "${PATH_SEPARATOR+set}" != set; then
4576 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4577 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4584 # We need space, tab and new line, in precisely that order. Quoting is
4585 # there to prevent editors from complaining about space-tab.
4586 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4587 # splitting by setting IFS to empty value.)
4590 # Find who we are. Look in the path if we contain no directory separator.
4593 *[\\/]* ) as_myself=$0 ;;
4594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598 test -z "$as_dir" && as_dir=.
4599 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4605 # We did not find ourselves, most probably we were run as `sh COMMAND'
4606 # in which case we are not to be found in the path.
4607 if test "x$as_myself" = x
; then
4610 if test ! -f "$as_myself"; then
4611 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4615 # Unset variables that we do not need and which cause bugs (e.g. in
4616 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4617 # suppresses any "Segmentation fault" message there. '((' could
4618 # trigger a bug in pdksh 5.2.14.
4619 for as_var
in BASH_ENV ENV MAIL MAILPATH
4620 do eval test x\
${$as_var+set} = xset \
4621 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4634 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4637 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4638 # ----------------------------------------
4639 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4640 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4641 # script with STATUS, using 1 if that was 0.
4644 as_status
=$1; test $as_status -eq 0 && as_status
=1
4646 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4647 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4649 $as_echo "$as_me: error: $2" >&2
4650 as_fn_exit
$as_status
4654 # as_fn_set_status STATUS
4655 # -----------------------
4656 # Set $? to STATUS, without forking.
4660 } # as_fn_set_status
4664 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4674 # Portably unset VAR.
4677 { eval $1=; unset $1;}
4679 as_unset
=as_fn_unset
4680 # as_fn_append VAR VALUE
4681 # ----------------------
4682 # Append the text in VALUE to the end of the definition contained in VAR. Take
4683 # advantage of any shell optimizations that allow amortized linear growth over
4684 # repeated appends, instead of the typical quadratic growth present in naive
4686 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4687 eval 'as_fn_append ()
4698 # as_fn_arith ARG...
4699 # ------------------
4700 # Perform arithmetic evaluation on the ARGs, and store the result in the
4701 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4702 # must be portable across $(()) and expr.
4703 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4704 eval 'as_fn_arith ()
4711 as_val
=`expr "$@" || test $? -eq 1`
4716 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4717 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4723 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4724 as_basename
=basename
4729 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4735 as_me
=`$as_basename -- "$0" ||
4736 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4737 X"$0" : 'X\(//\)$' \| \
4738 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4740 sed '/^.*\/\([^/][^/]*\)\/*$/{
4754 # Avoid depending upon Character Ranges.
4755 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4756 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4757 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4758 as_cr_digits
='0123456789'
4759 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4761 ECHO_C
= ECHO_N
= ECHO_T
=
4762 case `echo -n x` in #(((((
4764 case `echo 'xy\c'` in
4765 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4767 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4774 rm -f conf$$ conf$$.exe conf$$.
file
4775 if test -d conf$$.dir
; then
4776 rm -f conf$$.dir
/conf$$.
file
4779 mkdir conf$$.dir
2>/dev
/null
4781 if (echo >conf$$.
file) 2>/dev
/null
; then
4782 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4784 # ... but there are two gotchas:
4785 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4786 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4787 # In both cases, we have to default to `cp -pR'.
4788 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4790 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4798 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4799 rmdir conf$$.dir
2>/dev
/null
4804 # Create "$as_dir" as a directory, including parents if necessary.
4809 -*) as_dir
=.
/$as_dir;;
4811 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4815 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4816 *) as_qdir
=$as_dir;;
4818 as_dirs
="'$as_qdir' $as_dirs"
4819 as_dir
=`$as_dirname -- "$as_dir" ||
4820 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4821 X"$as_dir" : 'X\(//\)[^/]' \| \
4822 X"$as_dir" : 'X\(//\)$' \| \
4823 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4824 $as_echo X"$as_dir" |
4825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4842 test -d "$as_dir" && break
4844 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4845 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4849 if mkdir
-p .
2>/dev
/null
; then
4850 as_mkdir_p
='mkdir -p "$as_dir"'
4852 test -d .
/-p && rmdir .
/-p
4857 # as_fn_executable_p FILE
4858 # -----------------------
4859 # Test if FILE is an executable regular file.
4860 as_fn_executable_p
()
4862 test -f "$1" && test -x "$1"
4863 } # as_fn_executable_p
4865 as_executable_p
=as_fn_executable_p
4867 # Sed expression to map a string onto a valid CPP name.
4868 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4870 # Sed expression to map a string onto a valid variable name.
4871 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4875 ## ----------------------------------- ##
4876 ## Main body of $CONFIG_STATUS script. ##
4877 ## ----------------------------------- ##
4879 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4882 # Save the log message, to keep $0 and so on meaningful, and to
4883 # report actual input values of CONFIG_FILES etc. instead of their
4884 # values after options handling.
4886 This file was extended by RISC-V ISA Simulator $as_me ?, which was
4887 generated by GNU Autoconf 2.69. Invocation command line was
4889 CONFIG_FILES = $CONFIG_FILES
4890 CONFIG_HEADERS = $CONFIG_HEADERS
4891 CONFIG_LINKS = $CONFIG_LINKS
4892 CONFIG_COMMANDS = $CONFIG_COMMANDS
4895 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4900 case $ac_config_files in *"
4901 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4904 case $ac_config_headers in *"
4905 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
4909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4910 # Files that config.status was made for.
4911 config_files="$ac_config_files"
4912 config_headers="$ac_config_headers"
4916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4918 \`$as_me' instantiates files and other configuration actions
4919 from templates according to the current configuration. Unless the files
4920 and actions are specified as TAGs, all are instantiated by default.
4922 Usage: $0 [OPTION]... [TAG]...
4924 -h, --help print this help, then exit
4925 -V, --version print version number and configuration settings, then exit
4926 --config print configuration, then exit
4927 -q, --quiet, --silent
4928 do not print progress messages
4929 -d, --debug don't remove temporary files
4930 --recheck update $as_me by reconfiguring in the same conditions
4931 --file=FILE[:TEMPLATE]
4932 instantiate the configuration file FILE
4933 --header=FILE[:TEMPLATE]
4934 instantiate the configuration header FILE
4936 Configuration files:
4939 Configuration headers:
4942 Report bugs to <Andrew Waterman>."
4945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4946 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4948 RISC-V ISA Simulator config.status ?
4949 configured by $0, generated by GNU Autoconf 2.69,
4950 with options \\"\$ac_cs_config\\"
4952 Copyright (C) 2012 Free Software Foundation, Inc.
4953 This config.status script is free software; the Free Software Foundation
4954 gives unlimited permission to copy, distribute and modify it."
4959 test -n "\$AWK" || AWK=awk
4962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4963 # The default lists apply if the user does not specify any file.
4969 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4970 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4974 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4986 # Handling of the options.
4987 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4989 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4990 $as_echo "$ac_cs_version"; exit ;;
4991 --config |
--confi |
--conf |
--con |
--co |
--c )
4992 $as_echo "$ac_cs_config"; exit ;;
4993 --debug |
--debu |
--deb |
--de |
--d |
-d )
4995 --file |
--fil |
--fi |
--f )
4998 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4999 '') as_fn_error $?
"missing file argument" ;;
5001 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5002 ac_need_defaults
=false
;;
5003 --header |
--heade |
--head |
--hea )
5006 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5008 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5009 ac_need_defaults
=false
;;
5011 # Conflict between --help and --header
5012 as_fn_error $?
"ambiguous option: \`$1'
5013 Try \`$0 --help' for more information.";;
5014 --help |
--hel |
-h )
5015 $as_echo "$ac_cs_usage"; exit ;;
5016 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5017 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5021 -*) as_fn_error $?
"unrecognized option: \`$1'
5022 Try \`$0 --help' for more information." ;;
5024 *) as_fn_append ac_config_targets
" $1"
5025 ac_need_defaults
=false
;;
5031 ac_configure_extra_args
=
5033 if $ac_cs_silent; then
5035 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5040 if \$ac_cs_recheck; then
5041 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5043 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5044 CONFIG_SHELL='$SHELL'
5050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5054 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5055 ## Running $as_me. ##
5061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5066 # Handling of arguments.
5067 for ac_config_target
in $ac_config_targets
5069 case $ac_config_target in
5070 "riscv.mk") CONFIG_FILES
="$CONFIG_FILES riscv.mk:riscv/riscv.mk.in" ;;
5071 "hwacha.mk") CONFIG_FILES
="$CONFIG_FILES hwacha.mk:hwacha/hwacha.mk.in" ;;
5072 "dummy_rocc.mk") CONFIG_FILES
="$CONFIG_FILES dummy_rocc.mk:dummy_rocc/dummy_rocc.mk.in" ;;
5073 "softfloat.mk") CONFIG_FILES
="$CONFIG_FILES softfloat.mk:softfloat/softfloat.mk.in" ;;
5074 "spike_main.mk") CONFIG_FILES
="$CONFIG_FILES spike_main.mk:spike_main/spike_main.mk.in" ;;
5075 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5076 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5078 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5083 # If the user did not use the arguments to specify the items to instantiate,
5084 # then the envvar interface is used. Set only those that are not.
5085 # We use the long form for the default assignment because of an extremely
5086 # bizarre bug on SunOS 4.1.3.
5087 if $ac_need_defaults; then
5088 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5089 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5092 # Have a temporary directory for convenience. Make it in the build tree
5093 # simply because there is no reason against having it here, and in addition,
5094 # creating and moving files from /tmp can sometimes cause problems.
5095 # Hook for its removal unless debugging.
5096 # Note that there is a small window in which the directory will not be cleaned:
5097 # after its creation but before its name has been assigned to `$tmp'.
5101 trap 'exit_status=$?
5103 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5105 trap 'as_fn_exit 1' 1 2 13 15
5107 # Create a (secure) tmp directory for tmp files.
5110 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5114 tmp
=.
/conf$$
-$RANDOM
5115 (umask 077 && mkdir
"$tmp")
5116 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5119 # Set up the scripts for CONFIG_FILES section.
5120 # No need to generate them if there are no CONFIG_FILES.
5121 # This happens for instance with `./config.status config.h'.
5122 if test -n "$CONFIG_FILES"; then
5125 ac_cr
=`echo X | tr X '\015'`
5126 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5127 # But we know of no other shell where ac_cr would be empty at this
5128 # point, so we can use a bashism as a fallback.
5129 if test "x$ac_cr" = x
; then
5130 eval ac_cr
=\$
\'\\r
\'
5132 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5133 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5139 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5144 echo "cat >conf$$subs.awk <<_ACEOF" &&
5145 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5148 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5149 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5151 for ac_last_try in false false false false false :; do
5152 . ./conf$$subs.sh ||
5153 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5155 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5156 if test $ac_delim_n = $ac_delim_num; then
5158 elif $ac_last_try; then
5159 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5161 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5167 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5171 s/^/S["/; s
/!.
*/"]=/
5181 s/\(.\{148\}\)..*/\1/
5183 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5188 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5195 s/\(.\{148\}\)..*/\1/
5197 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5201 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5206 ' <conf$$subs.awk | sed '
5211 ' >>$CONFIG_STATUS || ac_write_fail=1
5212 rm -f conf$$subs.awk
5213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5215 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5216 for (key in S) S_is_set[key] = 1
5222 nfields = split(line, field, "@
")
5224 len = length(field[1])
5225 for (i = 2; i < nfields; i++) {
5227 keylen = length(key)
5228 if (S_is_set[key]) {
5230 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5231 len += length(value) + length(field[++i])
5242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5243 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5244 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5247 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5248 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5251 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5252 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5253 # trailing colons and then remove the whole line if VPATH becomes empty
5254 # (actually we leave an empty line to preserve line numbers).
5255 if test "x
$srcdir" = x.; then
5256 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5275 fi # test -n "$CONFIG_FILES"
5277 # Set up the scripts for CONFIG_HEADERS section.
5278 # No need to generate them if there are no CONFIG_HEADERS.
5279 # This happens for instance with `./config.status Makefile'.
5280 if test -n "$CONFIG_HEADERS"; then
5281 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
5285 # Transform confdefs.h into an awk script `defines.awk', embedded as
5286 # here-document in config.status, that substitutes the proper values into
5287 # config.h.in to produce config.h.
5289 # Create a delimiter string that does not exist in confdefs.h, to ease
5290 # handling of long lines.
5292 for ac_last_try in false false :; do
5293 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
5294 if test -z "$ac_tt"; then
5296 elif $ac_last_try; then
5297 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
5299 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5303 # For the awk script, D is an array of macro values keyed by name,
5304 # likewise P contains macro parameters if any. Preserve backslash
5305 # newline sequences.
5307 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5309 s/.\{148\}/&'"$ac_delim"'/g
5312 s/^[ ]*#[ ]*define[ ][ ]*/ /
5319 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5321 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5325 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5326 D["\
1"]=" \
3\\\\\\n
"\\/p
5328 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5333 s/.\{148\}/&'"$ac_delim"'/g
5338 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5341 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5343 ' <confdefs.h | sed '
5344 s/'"$ac_delim"'/"\\\
5345 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5348 for (key in D) D_is_set[key] = 1
5351 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5353 split(line, arg, " ")
5354 if (arg[1] == "#") {
5358 defundef
= substr
(arg
[1], 2)
5361 split(mac1
, mac2
, "(") #)
5363 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5364 if (D_is_set
[macro
]) {
5365 # Preserve the white space surrounding the "#".
5366 print prefix
"define", macro P
[macro
] D
[macro
]
5369 # Replace #undef with comments. This is necessary, for example,
5370 # in the case of _POSIX_SOURCE, which is predefined and required
5371 # on some systems where configure will not decide to define it.
5372 if (defundef
== "undef") {
5373 print
"/*", prefix defundef
, macro
, "*/"
5381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5382 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
5383 fi # test -n "$CONFIG_HEADERS"
5386 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
5391 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5393 case $ac_mode$ac_tag in
5395 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5396 :[FH
]-) ac_tag
=-:-;;
5397 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5414 -) ac_f
="$ac_tmp/stdin";;
5415 *) # Look for the file first in the build tree, then in the source tree
5416 # (if the path is not absolute). The absolute path cannot be DOS-style,
5417 # because $ac_f cannot contain `:'.
5421 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5423 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5425 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5426 as_fn_append ac_file_inputs
" '$ac_f'"
5429 # Let's still pretend it is `configure' which instantiates (i.e., don't
5430 # use $as_me), people would be surprised to read:
5431 # /* config.h. Generated by config.status. */
5432 configure_input
='Generated from '`
5433 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5435 if test x
"$ac_file" != x-
; then
5436 configure_input
="$ac_file. $configure_input"
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5438 $as_echo "$as_me: creating $ac_file" >&6;}
5440 # Neutralize special characters interpreted by sed in replacement strings.
5441 case $configure_input in #(
5442 *\
&* |
*\|
* |
*\\* )
5443 ac_sed_conf_input
=`$as_echo "$configure_input" |
5444 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5445 *) ac_sed_conf_input
=$configure_input;;
5449 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
5450 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
5455 ac_dir
=`$as_dirname -- "$ac_file" ||
5456 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5457 X"$ac_file" : 'X\(//\)[^/]' \| \
5458 X"$ac_file" : 'X\(//\)$' \| \
5459 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5460 $as_echo X"$ac_file" |
5461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5478 as_dir
="$ac_dir"; as_fn_mkdir_p
5482 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5484 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5485 # A ".." for each directory in $ac_dir_suffix.
5486 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5487 case $ac_top_builddir_sub in
5488 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5489 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5492 ac_abs_top_builddir
=$ac_pwd
5493 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5494 # for backward compatibility:
5495 ac_top_builddir
=$ac_top_build_prefix
5498 .
) # We are building in place.
5500 ac_top_srcdir
=$ac_top_builddir_sub
5501 ac_abs_top_srcdir
=$ac_pwd ;;
5502 [\\/]* | ?
:[\\/]* ) # Absolute name.
5503 ac_srcdir
=$srcdir$ac_dir_suffix;
5504 ac_top_srcdir
=$srcdir
5505 ac_abs_top_srcdir
=$srcdir ;;
5507 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5508 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5509 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5511 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5521 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5522 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5527 # If the template does not know about datarootdir, expand it.
5528 # FIXME: This hack should be removed a few years after 2.60.
5529 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5540 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5541 *datarootdir
*) ac_datarootdir_seen
=yes;;
5542 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5544 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5547 ac_datarootdir_hack='
5548 s&@datadir@&$datadir&g
5549 s&@docdir@&$docdir&g
5550 s&@infodir@&$infodir&g
5551 s&@localedir@&$localedir&g
5552 s&@mandir@&$mandir&g
5553 s&\\\${datarootdir}&$datarootdir&g' ;;
5557 # Neutralize VPATH when `$srcdir' = `.'.
5558 # Shell code in configure.ac might set extrasub.
5559 # FIXME: do we really want to maintain this feature?
5560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5561 ac_sed_extra="$ac_vpsub
5564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5566 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5567 s|@configure_input@|
$ac_sed_conf_input|
;t t
5568 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5569 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5570 s
&@srcdir@
&$ac_srcdir&;t t
5571 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5572 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5573 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5574 s
&@builddir@
&$ac_builddir&;t t
5575 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5576 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5577 s
&@INSTALL@
&$ac_INSTALL&;t t
5578 $ac_datarootdir_hack
5580 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5581 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5583 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5584 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5585 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5586 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5588 which seems to be undefined. Please make sure it is defined" >&5
5589 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5590 which seems to be undefined. Please make sure it is defined" >&2;}
5592 rm -f "$ac_tmp/stdin"
5594 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5595 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5597 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5603 if test x"$ac_file" != x-; then
5605 $as_echo "/* $configure_input */" \
5606 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5607 } >"$ac_tmp/config.h" \
5608 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5609 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5611 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5614 mv "$ac_tmp/config.h" "$ac_file" \
5615 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5618 $as_echo "/* $configure_input */" \
5619 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5620 || as_fn_error $? "could not create -" "$LINENO" 5
5632 ac_clean_files=$ac_clean_files_save
5634 test $ac_write_fail = 0 ||
5635 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5638 # configure is writing to config.log, and then calls config.status.
5639 # config.status does its own redirection, appending to config.log.
5640 # Unfortunately, on DOS this fails, as config.log is still kept open
5641 # by configure, so config.status won't be able to
write to it
; its
5642 # output is simply discarded. So we exec the FD to /dev/null,
5643 # effectively closing config.log, so it can be properly (re)opened and
5644 # appended to by config.status. When coming back to configure, we
5645 # need to make the FD available again.
5646 if test "$no_create" != yes; then
5648 ac_config_status_args
=
5649 test "$silent" = yes &&
5650 ac_config_status_args
="$ac_config_status_args --quiet"
5652 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5654 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5655 # would make configure fail if this is the last instruction.
5656 $ac_cs_success || as_fn_exit
1
5658 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5660 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}