2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev
/null
; then :
204 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
209 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
212 test -z "$as_dir" && as_dir
=.
216 for as_base
in sh bash ksh sh5
; do
217 # Try only shells that exist, to save several forks.
218 as_shell
=$as_dir/$as_base
219 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
221 CONFIG_SHELL
=$as_shell as_have_required
=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$SHELL as_have_required
=yes
237 if test "x$CONFIG_SHELL" != x
; then :
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
245 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
247 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 if test x
$as_have_required = xno
; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x
${ZSH_VERSION+set} = xset
; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
275 SHELL
=${CONFIG_SHELL-/bin/sh}
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE
= GREP_OPTIONS
=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
286 # Portably unset VAR.
289 { eval $1=; unset $1;}
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 # Create "$as_dir" as a directory, including parents if necessary.
318 -*) as_dir
=.
/$as_dir;;
320 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
324 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
327 as_dirs
="'$as_qdir' $as_dirs"
328 as_dir
=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351 test -d "$as_dir" && break
353 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
354 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p
()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
373 eval 'as_fn_append ()
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
397 as_val
=`expr "$@" || test $? -eq 1`
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
409 as_status
=$1; test $as_status -eq 0 && as_status
=1
411 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit
$as_status
418 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
425 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
437 as_me
=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 # Avoid depending upon Character Ranges.
457 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits
='0123456789'
461 as_cr_alnum
=$as_cr_Letters$as_cr_digits
464 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
465 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 chmod +x
"$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec
=no
; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
495 # Exit status is that of the last command.
499 ECHO_C
= ECHO_N
= ECHO_T
=
500 case `echo -n x` in #(((((
502 case `echo 'xy\c'` in
503 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
517 mkdir conf$$.dir
2>/dev
/null
519 if (echo >conf$$.
file) 2>/dev
/null
; then
520 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
536 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
537 rmdir conf$$.dir
2>/dev
/null
539 if mkdir
-p .
2>/dev
/null
; then
540 as_mkdir_p
='mkdir -p "$as_dir"'
542 test -d .
/-p && rmdir .
/-p
547 as_executable_p
=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
567 ac_default_prefix
=/usr
/local
569 ac_config_libobj_dir
=.
576 # Identity of this package.
584 ac_unique_file
="Makefile.in"
585 ac_subst_vars
='LTLIBOBJS
592 sim_multi_igen_configs
595 sim_micromips16_flags
601 MAINTAINER_MODE_FALSE
655 program_transform_name
675 enable_option_checking
676 enable_maintainer_mode
678 enable_sim_reserved_bits
683 ac_precious_vars
='build_alias
693 # Initialize some variables set by options.
695 ac_init_version
=false
696 ac_unrecognized_opts
=
698 # The variables have the same names as the options, with
699 # dashes changed to underlines.
707 program_transform_name
=s
,x
,x
,
715 # Installation directory options.
716 # These are left unexpanded so users can "make install exec_prefix=/foo"
717 # and all the variables that are supposed to be based on exec_prefix
718 # by default will actually change.
719 # Use braces instead of parens because sh, perl, etc. also accept them.
720 # (The list follows the same order as the GNU Coding Standards.)
721 bindir
='${exec_prefix}/bin'
722 sbindir
='${exec_prefix}/sbin'
723 libexecdir
='${exec_prefix}/libexec'
724 datarootdir
='${prefix}/share'
725 datadir
='${datarootdir}'
726 sysconfdir
='${prefix}/etc'
727 sharedstatedir
='${prefix}/com'
728 localstatedir
='${prefix}/var'
729 includedir
='${prefix}/include'
730 oldincludedir
='/usr/include'
731 docdir
='${datarootdir}/doc/${PACKAGE}'
732 infodir
='${datarootdir}/info'
737 libdir
='${exec_prefix}/lib'
738 localedir
='${datarootdir}/locale'
739 mandir
='${datarootdir}/man'
745 # If the previous option needs an argument, assign it.
746 if test -n "$ac_prev"; then
747 eval $ac_prev=\
$ac_option
753 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
758 # Accept the important Cygnus configure options, so we can diagnose typos.
760 case $ac_dashdash$ac_option in
764 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
766 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
769 -build |
--build |
--buil |
--bui |
--bu)
770 ac_prev
=build_alias
;;
771 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
772 build_alias
=$ac_optarg ;;
774 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
775 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
776 ac_prev
=cache_file
;;
777 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
778 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
779 cache_file
=$ac_optarg ;;
782 cache_file
=config.cache
;;
784 -datadir |
--datadir |
--datadi |
--datad)
786 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
787 datadir
=$ac_optarg ;;
789 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
790 |
--dataroo |
--dataro |
--datar)
791 ac_prev
=datarootdir
;;
792 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
793 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
794 datarootdir
=$ac_optarg ;;
796 -disable-* |
--disable-*)
797 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
798 # Reject names that are not valid shell variable names.
799 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
800 as_fn_error $?
"invalid feature name: $ac_useropt"
801 ac_useropt_orig
=$ac_useropt
802 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
803 case $ac_user_opts in
807 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
808 ac_unrecognized_sep
=', ';;
810 eval enable_
$ac_useropt=no
;;
812 -docdir |
--docdir |
--docdi |
--doc |
--do)
814 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
817 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
819 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
822 -enable-* |
--enable-*)
823 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
826 as_fn_error $?
"invalid feature name: $ac_useropt"
827 ac_useropt_orig
=$ac_useropt
828 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
833 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
834 ac_unrecognized_sep
=', ';;
836 eval enable_
$ac_useropt=\
$ac_optarg ;;
838 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
839 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
840 |
--exec |
--exe |
--ex)
841 ac_prev
=exec_prefix
;;
842 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
843 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
844 |
--exec=* |
--exe=* |
--ex=*)
845 exec_prefix
=$ac_optarg ;;
847 -gas |
--gas |
--ga |
--g)
848 # Obsolete; use --with-gas.
851 -help |
--help |
--hel |
--he |
-h)
853 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
854 ac_init_help
=recursive
;;
855 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
856 ac_init_help
=short
;;
858 -host |
--host |
--hos |
--ho)
859 ac_prev
=host_alias
;;
860 -host=* |
--host=* |
--hos=* |
--ho=*)
861 host_alias
=$ac_optarg ;;
863 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
865 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
867 htmldir
=$ac_optarg ;;
869 -includedir |
--includedir |
--includedi |
--included |
--include \
870 |
--includ |
--inclu |
--incl |
--inc)
871 ac_prev
=includedir
;;
872 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
873 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
874 includedir
=$ac_optarg ;;
876 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
878 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
879 infodir
=$ac_optarg ;;
881 -libdir |
--libdir |
--libdi |
--libd)
883 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
886 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
887 |
--libexe |
--libex |
--libe)
888 ac_prev
=libexecdir
;;
889 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
890 |
--libexe=* |
--libex=* |
--libe=*)
891 libexecdir
=$ac_optarg ;;
893 -localedir |
--localedir |
--localedi |
--localed |
--locale)
895 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
896 localedir
=$ac_optarg ;;
898 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
899 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
900 ac_prev
=localstatedir
;;
901 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
902 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
903 localstatedir
=$ac_optarg ;;
905 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
907 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
911 # Obsolete; use --without-fp.
914 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
915 |
--no-cr |
--no-c |
-n)
918 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
919 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
922 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
923 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
924 |
--oldin |
--oldi |
--old |
--ol |
--o)
925 ac_prev
=oldincludedir
;;
926 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
927 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
928 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
929 oldincludedir
=$ac_optarg ;;
931 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
933 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
936 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
937 |
--program-pre |
--program-pr |
--program-p)
938 ac_prev
=program_prefix
;;
939 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
940 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
941 program_prefix
=$ac_optarg ;;
943 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
944 |
--program-suf |
--program-su |
--program-s)
945 ac_prev
=program_suffix
;;
946 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
947 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
948 program_suffix
=$ac_optarg ;;
950 -program-transform-name |
--program-transform-name \
951 |
--program-transform-nam |
--program-transform-na \
952 |
--program-transform-n |
--program-transform- \
953 |
--program-transform |
--program-transfor \
954 |
--program-transfo |
--program-transf \
955 |
--program-trans |
--program-tran \
956 |
--progr-tra |
--program-tr |
--program-t)
957 ac_prev
=program_transform_name
;;
958 -program-transform-name=* |
--program-transform-name=* \
959 |
--program-transform-nam=* |
--program-transform-na=* \
960 |
--program-transform-n=* |
--program-transform-=* \
961 |
--program-transform=* |
--program-transfor=* \
962 |
--program-transfo=* |
--program-transf=* \
963 |
--program-trans=* |
--program-tran=* \
964 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
965 program_transform_name
=$ac_optarg ;;
967 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
969 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
972 -psdir |
--psdir |
--psdi |
--psd |
--ps)
974 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
977 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
978 |
-silent |
--silent |
--silen |
--sile |
--sil)
981 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
983 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
985 sbindir
=$ac_optarg ;;
987 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
988 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
989 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
991 ac_prev
=sharedstatedir
;;
992 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
993 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
994 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
996 sharedstatedir
=$ac_optarg ;;
998 -site |
--site |
--sit)
1000 -site=* |
--site=* |
--sit=*)
1003 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1005 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1006 srcdir
=$ac_optarg ;;
1008 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1009 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1010 ac_prev
=sysconfdir
;;
1011 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1012 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1013 sysconfdir
=$ac_optarg ;;
1015 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1016 ac_prev
=target_alias
;;
1017 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1018 target_alias
=$ac_optarg ;;
1020 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1023 -version |
--version |
--versio |
--versi |
--vers |
-V)
1024 ac_init_version
=: ;;
1027 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1030 as_fn_error $?
"invalid package name: $ac_useropt"
1031 ac_useropt_orig
=$ac_useropt
1032 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1037 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1038 ac_unrecognized_sep
=', ';;
1040 eval with_
$ac_useropt=\
$ac_optarg ;;
1042 -without-* |
--without-*)
1043 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1046 as_fn_error $?
"invalid package name: $ac_useropt"
1047 ac_useropt_orig
=$ac_useropt
1048 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1053 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1054 ac_unrecognized_sep
=', ';;
1056 eval with_
$ac_useropt=no
;;
1059 # Obsolete; use --with-x.
1062 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1063 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1064 ac_prev
=x_includes
;;
1065 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1066 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1067 x_includes
=$ac_optarg ;;
1069 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1070 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1071 ac_prev
=x_libraries
;;
1072 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1073 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1074 x_libraries
=$ac_optarg ;;
1076 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1077 Try \`$0 --help' for more information"
1081 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1082 # Reject names that are not valid shell variable names.
1083 case $ac_envvar in #(
1084 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1085 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1087 eval $ac_envvar=\
$ac_optarg
1088 export $ac_envvar ;;
1091 # FIXME: should be removed in autoconf 3.0.
1092 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1093 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1094 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1095 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1101 if test -n "$ac_prev"; then
1102 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1103 as_fn_error $?
"missing argument to $ac_option"
1106 if test -n "$ac_unrecognized_opts"; then
1107 case $enable_option_checking in
1109 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1110 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1114 # Check all directory arguments for consistency.
1115 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1116 datadir sysconfdir sharedstatedir localstatedir includedir \
1117 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1118 libdir localedir mandir
1120 eval ac_val
=\$
$ac_var
1121 # Remove trailing slashes.
1124 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1125 eval $ac_var=\
$ac_val;;
1127 # Be sure to have absolute directory names.
1129 [\\/$
]* | ?
:[\\/]* ) continue;;
1130 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1132 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1135 # There might be people who depend on the old broken behavior: `$host'
1136 # used to hold the argument of --host etc.
1137 # FIXME: To remove some day.
1140 target
=$target_alias
1142 # FIXME: To remove some day.
1143 if test "x$host_alias" != x
; then
1144 if test "x$build_alias" = x
; then
1145 cross_compiling
=maybe
1146 elif test "x$build_alias" != "x$host_alias"; then
1152 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1154 test "$silent" = yes && exec 6>/dev
/null
1157 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1158 ac_ls_di
=`ls -di .` &&
1159 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1160 as_fn_error $?
"working directory cannot be determined"
1161 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1162 as_fn_error $?
"pwd does not report name of working directory"
1165 # Find the source files, if location was not specified.
1166 if test -z "$srcdir"; then
1167 ac_srcdir_defaulted
=yes
1168 # Try the directory containing this script, then the parent directory.
1169 ac_confdir
=`$as_dirname -- "$as_myself" ||
1170 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1171 X"$as_myself" : 'X\(//\)[^/]' \| \
1172 X"$as_myself" : 'X\(//\)$' \| \
1173 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1174 $as_echo X"$as_myself" |
1175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1193 if test ! -r "$srcdir/$ac_unique_file"; then
1197 ac_srcdir_defaulted
=no
1199 if test ! -r "$srcdir/$ac_unique_file"; then
1200 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1201 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1203 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1205 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1207 # When building in place, set srcdir=.
1208 if test "$ac_abs_confdir" = "$ac_pwd"; then
1211 # Remove unnecessary trailing slashes from srcdir.
1212 # Double slashes in file names in object file debugging info
1213 # mess up M-x gdb in Emacs.
1215 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1217 for ac_var
in $ac_precious_vars; do
1218 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1219 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1220 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1221 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1225 # Report the --help message.
1227 if test "$ac_init_help" = "long"; then
1228 # Omit some internal or obsolete options to make the list less imposing.
1229 # This message is too long to be a string in the A/UX 3.1 sh.
1231 \`configure' configures this package to adapt to many kinds of systems.
1233 Usage: $0 [OPTION]... [VAR=VALUE]...
1235 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1236 VAR=VALUE. See below for descriptions of some of the useful variables.
1238 Defaults for the options are specified in brackets.
1241 -h, --help display this help and exit
1242 --help=short display options specific to this package
1243 --help=recursive display the short help of all the included packages
1244 -V, --version display version information and exit
1245 -q, --quiet, --silent do not print \`checking ...' messages
1246 --cache-file=FILE cache test results in FILE [disabled]
1247 -C, --config-cache alias for \`--cache-file=config.cache'
1248 -n, --no-create do not create output files
1249 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1251 Installation directories:
1252 --prefix=PREFIX install architecture-independent files in PREFIX
1253 [$ac_default_prefix]
1254 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1257 By default, \`make install' will install all the files in
1258 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1259 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1260 for instance \`--prefix=\$HOME'.
1262 For better control, use the options below.
1264 Fine tuning of the installation directories:
1265 --bindir=DIR user executables [EPREFIX/bin]
1266 --sbindir=DIR system admin executables [EPREFIX/sbin]
1267 --libexecdir=DIR program executables [EPREFIX/libexec]
1268 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1269 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1270 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1271 --libdir=DIR object code libraries [EPREFIX/lib]
1272 --includedir=DIR C header files [PREFIX/include]
1273 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1274 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1275 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1276 --infodir=DIR info documentation [DATAROOTDIR/info]
1277 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1278 --mandir=DIR man documentation [DATAROOTDIR/man]
1279 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1280 --htmldir=DIR html documentation [DOCDIR]
1281 --dvidir=DIR dvi documentation [DOCDIR]
1282 --pdfdir=DIR pdf documentation [DOCDIR]
1283 --psdir=DIR ps documentation [DOCDIR]
1290 if test -n "$ac_init_help"; then
1295 --disable-option-checking ignore unrecognized
--enable/--with options
1296 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1297 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1298 --enable-maintainer-mode
1299 enable make rules and dependencies not useful
(and
1300 sometimes confusing
) to the casual installer
1301 --enable-sim-inline=inlines
1302 Specify
which functions should be inlined
1303 --enable-sim-reserved-bits
1304 Specify whether to check reserved bits
in
1306 --enable-sim-bitsize=N Specify target bitsize
(32 or
64)
1307 --enable-sim-float Specify that the target processor has floating point
1309 --enable-sim-hardware=LIST
1310 Specify the hardware to be included
in the build.
1312 Some influential environment variables
:
1313 CC C compiler
command
1314 CFLAGS C compiler flags
1315 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1316 nonstandard directory
<lib dir
>
1317 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1318 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1319 you have headers
in a nonstandard directory
<include dir
>
1321 Use these variables to override the choices made by
`configure' or to help
1322 it to find libraries and programs with nonstandard names/locations.
1324 Report bugs to the package provider.
1329 if test "$ac_init_help" = "recursive"; then
1330 # If there are subdirs, report their specific --help.
1331 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1332 test -d "$ac_dir" ||
1333 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1338 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1341 # A ".." for each directory in $ac_dir_suffix.
1342 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1343 case $ac_top_builddir_sub in
1344 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1345 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1348 ac_abs_top_builddir=$ac_pwd
1349 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1350 # for backward compatibility:
1351 ac_top_builddir=$ac_top_build_prefix
1354 .) # We are building in place.
1356 ac_top_srcdir=$ac_top_builddir_sub
1357 ac_abs_top_srcdir=$ac_pwd ;;
1358 [\\/]* | ?:[\\/]* ) # Absolute name.
1359 ac_srcdir=$srcdir$ac_dir_suffix;
1360 ac_top_srcdir=$srcdir
1361 ac_abs_top_srcdir=$srcdir ;;
1363 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1364 ac_top_srcdir=$ac_top_build_prefix$srcdir
1365 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1367 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1369 cd "$ac_dir" || { ac_status=$?; continue; }
1370 # Check for guested configure.
1371 if test -f "$ac_srcdir/configure.gnu"; then
1373 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1374 elif test -f "$ac_srcdir/configure"; then
1376 $SHELL "$ac_srcdir/configure" --help=recursive
1378 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1380 cd "$ac_pwd" || { ac_status=$?; break; }
1384 test -n "$ac_init_help" && exit $ac_status
1385 if $ac_init_version; then
1388 generated by GNU Autoconf 2.69
1390 Copyright (C) 2012 Free Software Foundation, Inc.
1391 This configure script is free software; the Free Software Foundation
1392 gives unlimited permission to copy, distribute and modify it.
1397 ## ------------------------ ##
1398 ## Autoconf initialization. ##
1399 ## ------------------------ ##
1401 # ac_fn_c_try_compile LINENO
1402 # --------------------------
1403 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1404 ac_fn_c_try_compile ()
1406 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1407 rm -f conftest.$ac_objext
1408 if { { ac_try="$ac_compile"
1410 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1411 *) ac_try_echo
=$ac_try;;
1413 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1414 $as_echo "$ac_try_echo"; } >&5
1415 (eval "$ac_compile") 2>conftest.err
1417 if test -s conftest.err
; then
1418 grep -v '^ *+' conftest.err
>conftest.er1
1419 cat conftest.er1
>&5
1420 mv -f conftest.er1 conftest.err
1422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1423 test $ac_status = 0; } && {
1424 test -z "$ac_c_werror_flag" ||
1425 test ! -s conftest.err
1426 } && test -s conftest.
$ac_objext; then :
1429 $as_echo "$as_me: failed program was:" >&5
1430 sed 's/^/| /' conftest.
$ac_ext >&5
1434 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1435 as_fn_set_status
$ac_retval
1437 } # ac_fn_c_try_compile
1438 cat >config.log
<<_ACEOF
1439 This file contains any messages produced by compilers while
1440 running configure, to aid debugging if configure makes a mistake.
1442 It was created by $as_me, which was
1443 generated by GNU Autoconf 2.69. Invocation command line was
1455 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1456 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1457 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1458 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1459 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1461 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1462 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1464 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1465 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1466 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1467 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1468 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1469 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1470 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1478 test -z "$as_dir" && as_dir
=.
1479 $as_echo "PATH: $as_dir"
1495 # Keep a trace of the command line.
1496 # Strip out --no-create and --no-recursion so they do not pile up.
1497 # Strip out --silent because we don't want to record it for future runs.
1498 # Also quote any args containing shell meta-characters.
1499 # Make two passes to allow for proper duplicate-argument suppression.
1503 ac_must_keep_next
=false
1509 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1510 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1511 |
-silent |
--silent |
--silen |
--sile |
--sil)
1514 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1517 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1519 as_fn_append ac_configure_args1
" '$ac_arg'"
1520 if test $ac_must_keep_next = true
; then
1521 ac_must_keep_next
=false
# Got value, back to normal.
1524 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1525 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1526 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1527 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1528 case "$ac_configure_args0 " in
1529 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1532 -* ) ac_must_keep_next
=true
;;
1535 as_fn_append ac_configure_args
" '$ac_arg'"
1540 { ac_configure_args0
=; unset ac_configure_args0
;}
1541 { ac_configure_args1
=; unset ac_configure_args1
;}
1543 # When interrupted or exit'd, cleanup temporary files, and complete
1544 # config.log. We remove comments because anyway the quotes in there
1545 # would cause problems or look ugly.
1546 # WARNING: Use '\'' to represent an apostrophe within the trap.
1547 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1548 trap 'exit_status=$?
1549 # Save into config.log some information that might help in debugging.
1553 $as_echo "## ---------------- ##
1554 ## Cache variables. ##
1555 ## ---------------- ##"
1557 # The following way of writing the cache mishandles newlines in values,
1559 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1560 eval ac_val=\$$ac_var
1564 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1565 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1568 _ | IFS | as_nl) ;; #(
1569 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1570 *) { eval $ac_var=; unset $ac_var;} ;;
1575 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1576 *${as_nl}ac_space=\ *)
1578 "s/'\''/'\''\\\\'\'''\''/g;
1579 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1582 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1589 $as_echo "## ----------------- ##
1590 ## Output variables. ##
1591 ## ----------------- ##"
1593 for ac_var in $ac_subst_vars
1595 eval ac_val=\$$ac_var
1597 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1599 $as_echo "$ac_var='\''$ac_val'\''"
1603 if test -n "$ac_subst_files"; then
1604 $as_echo "## ------------------- ##
1605 ## File substitutions. ##
1606 ## ------------------- ##"
1608 for ac_var
in $ac_subst_files
1610 eval ac_val
=\$
$ac_var
1612 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1614 $as_echo "$ac_var='\''$ac_val'\''"
1619 if test -s confdefs.h; then
1620 $as_echo "## ----------- ##
1627 test "$ac_signal" != 0 &&
1628 $as_echo "$as_me: caught signal $ac_signal"
1629 $as_echo "$as_me: exit $exit_status"
1631 rm -f core *.core core.conftest.* &&
1632 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1635 for ac_signal
in 1 2 13 15; do
1636 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1640 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1641 rm -f -r conftest
* confdefs.h
1643 $as_echo "/* confdefs.h */" > confdefs.h
1645 # Predefined preprocessor variables.
1647 cat >>confdefs.h
<<_ACEOF
1648 #define PACKAGE_NAME "$PACKAGE_NAME"
1651 cat >>confdefs.h
<<_ACEOF
1652 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1655 cat >>confdefs.h
<<_ACEOF
1656 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1659 cat >>confdefs.h
<<_ACEOF
1660 #define PACKAGE_STRING "$PACKAGE_STRING"
1663 cat >>confdefs.h
<<_ACEOF
1664 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1667 cat >>confdefs.h
<<_ACEOF
1668 #define PACKAGE_URL "$PACKAGE_URL"
1672 # Let the site file select an alternate cache file if it wants to.
1673 # Prefer an explicitly selected file to automatically selected ones.
1676 if test -n "$CONFIG_SITE"; then
1677 # We do not want a PATH search for config.site.
1678 case $CONFIG_SITE in #((
1679 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1680 */*) ac_site_file1
=$CONFIG_SITE;;
1681 *) ac_site_file1
=.
/$CONFIG_SITE;;
1683 elif test "x$prefix" != xNONE
; then
1684 ac_site_file1
=$prefix/share
/config.site
1685 ac_site_file2
=$prefix/etc
/config.site
1687 ac_site_file1
=$ac_default_prefix/share
/config.site
1688 ac_site_file2
=$ac_default_prefix/etc
/config.site
1690 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1692 test "x$ac_site_file" = xNONE
&& continue
1693 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1695 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1696 sed 's/^/| /' "$ac_site_file" >&5
1698 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1700 as_fn_error $?
"failed to load site script $ac_site_file
1701 See \`config.log' for more details" "$LINENO" 5; }
1705 if test -r "$cache_file"; then
1706 # Some versions of bash will fail to source /dev/null (special files
1707 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1708 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1710 $as_echo "$as_me: loading cache $cache_file" >&6;}
1712 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1713 *) .
"./$cache_file";;
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1718 $as_echo "$as_me: creating cache $cache_file" >&6;}
1722 # Check that the precious variables saved in the cache have kept the same
1724 ac_cache_corrupted
=false
1725 for ac_var
in $ac_precious_vars; do
1726 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1727 eval ac_new_set
=\
$ac_env_${ac_var}_set
1728 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1729 eval ac_new_val
=\
$ac_env_${ac_var}_value
1730 case $ac_old_set,$ac_new_set in
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1733 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1734 ac_cache_corrupted
=: ;;
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1737 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1738 ac_cache_corrupted
=: ;;
1741 if test "x$ac_old_val" != "x$ac_new_val"; then
1742 # differences in whitespace do not lead to failure.
1743 ac_old_val_w
=`echo x $ac_old_val`
1744 ac_new_val_w
=`echo x $ac_new_val`
1745 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1747 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1748 ac_cache_corrupted
=:
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1751 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1752 eval $ac_var=\
$ac_old_val
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1755 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1757 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1760 # Pass precious variables to config.status.
1761 if test "$ac_new_set" = set; then
1763 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1764 *) ac_arg
=$ac_var=$ac_new_val ;;
1766 case " $ac_configure_args " in
1767 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1768 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1772 if $ac_cache_corrupted; then
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1776 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1777 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1779 ## -------------------- ##
1780 ## Main body of script. ##
1781 ## -------------------- ##
1784 ac_cpp
='$CPP $CPPFLAGS'
1785 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1786 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1787 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1796 ac_cpp
='$CPP $CPPFLAGS'
1797 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1798 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1799 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1800 if test -n "$ac_tool_prefix"; then
1801 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1802 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1804 $as_echo_n "checking for $ac_word... " >&6; }
1805 if ${ac_cv_prog_CC+:} false
; then :
1806 $as_echo_n "(cached) " >&6
1808 if test -n "$CC"; then
1809 ac_cv_prog_CC
="$CC" # Let the user override the test.
1811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1815 test -z "$as_dir" && as_dir
=.
1816 for ac_exec_ext
in '' $ac_executable_extensions; do
1817 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1818 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1829 if test -n "$CC"; then
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1831 $as_echo "$CC" >&6; }
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1834 $as_echo "no" >&6; }
1839 if test -z "$ac_cv_prog_CC"; then
1841 # Extract the first word of "gcc", so it can be a program name with args.
1842 set dummy gcc
; ac_word
=$2
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1844 $as_echo_n "checking for $ac_word... " >&6; }
1845 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1846 $as_echo_n "(cached) " >&6
1848 if test -n "$ac_ct_CC"; then
1849 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1855 test -z "$as_dir" && as_dir
=.
1856 for ac_exec_ext
in '' $ac_executable_extensions; do
1857 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1858 ac_cv_prog_ac_ct_CC
="gcc"
1859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1868 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1869 if test -n "$ac_ct_CC"; then
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1871 $as_echo "$ac_ct_CC" >&6; }
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1874 $as_echo "no" >&6; }
1877 if test "x$ac_ct_CC" = x
; then
1880 case $cross_compiling:$ac_tool_warned in
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1884 ac_tool_warned
=yes ;;
1892 if test -z "$CC"; then
1893 if test -n "$ac_tool_prefix"; then
1894 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1895 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1897 $as_echo_n "checking for $ac_word... " >&6; }
1898 if ${ac_cv_prog_CC+:} false
; then :
1899 $as_echo_n "(cached) " >&6
1901 if test -n "$CC"; then
1902 ac_cv_prog_CC
="$CC" # Let the user override the test.
1904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1908 test -z "$as_dir" && as_dir
=.
1909 for ac_exec_ext
in '' $ac_executable_extensions; do
1910 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1911 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1922 if test -n "$CC"; then
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1924 $as_echo "$CC" >&6; }
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1927 $as_echo "no" >&6; }
1933 if test -z "$CC"; then
1934 # Extract the first word of "cc", so it can be a program name with args.
1935 set dummy cc
; ac_word
=$2
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1937 $as_echo_n "checking for $ac_word... " >&6; }
1938 if ${ac_cv_prog_CC+:} false
; then :
1939 $as_echo_n "(cached) " >&6
1941 if test -n "$CC"; then
1942 ac_cv_prog_CC
="$CC" # Let the user override the test.
1945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1949 test -z "$as_dir" && as_dir
=.
1950 for ac_exec_ext
in '' $ac_executable_extensions; do
1951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1952 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1953 ac_prog_rejected
=yes
1957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1964 if test $ac_prog_rejected = yes; then
1965 # We found a bogon in the path, so make sure we never use it.
1966 set dummy
$ac_cv_prog_CC
1968 if test $# != 0; then
1969 # We chose a different compiler from the bogus one.
1970 # However, it has the same basename, so the bogon will be chosen
1971 # first if we set CC to just the basename; use the full file name.
1973 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1979 if test -n "$CC"; then
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1981 $as_echo "$CC" >&6; }
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1984 $as_echo "no" >&6; }
1989 if test -z "$CC"; then
1990 if test -n "$ac_tool_prefix"; then
1991 for ac_prog
in cl.exe
1993 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1994 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1996 $as_echo_n "checking for $ac_word... " >&6; }
1997 if ${ac_cv_prog_CC+:} false
; then :
1998 $as_echo_n "(cached) " >&6
2000 if test -n "$CC"; then
2001 ac_cv_prog_CC
="$CC" # Let the user override the test.
2003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2007 test -z "$as_dir" && as_dir
=.
2008 for ac_exec_ext
in '' $ac_executable_extensions; do
2009 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2010 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2021 if test -n "$CC"; then
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2023 $as_echo "$CC" >&6; }
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2026 $as_echo "no" >&6; }
2030 test -n "$CC" && break
2033 if test -z "$CC"; then
2035 for ac_prog
in cl.exe
2037 # Extract the first word of "$ac_prog", so it can be a program name with args.
2038 set dummy
$ac_prog; ac_word
=$2
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2040 $as_echo_n "checking for $ac_word... " >&6; }
2041 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2042 $as_echo_n "(cached) " >&6
2044 if test -n "$ac_ct_CC"; then
2045 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2051 test -z "$as_dir" && as_dir
=.
2052 for ac_exec_ext
in '' $ac_executable_extensions; do
2053 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2054 ac_cv_prog_ac_ct_CC
="$ac_prog"
2055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2064 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2065 if test -n "$ac_ct_CC"; then
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2067 $as_echo "$ac_ct_CC" >&6; }
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2070 $as_echo "no" >&6; }
2074 test -n "$ac_ct_CC" && break
2077 if test "x$ac_ct_CC" = x
; then
2080 case $cross_compiling:$ac_tool_warned in
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2084 ac_tool_warned
=yes ;;
2093 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2095 as_fn_error $?
"no acceptable C compiler found in \$PATH
2096 See \`config.log' for more details" "$LINENO" 5; }
2098 # Provide some information about the compiler.
2099 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2102 for ac_option
in --version -v -V -qversion; do
2103 { { ac_try
="$ac_compiler $ac_option >&5"
2105 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2106 *) ac_try_echo=$ac_try;;
2108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2109 $as_echo "$ac_try_echo"; } >&5
2110 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2112 if test -s conftest.err; then
2114 ... rest of stderr output deleted ...
2115 10q' conftest.err >conftest.er1
2116 cat conftest.er1 >&5
2118 rm -f conftest.er1 conftest.err
2119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2120 test $ac_status = 0; }
2123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h. */
2134 ac_clean_files_save=$ac_clean_files
2135 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2136 # Try to create an executable without -o first, disregard a.out.
2137 # It will help us diagnose broken compilers, and finding out an intuition
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2140 $as_echo_n "checking whether the C compiler works... " >&6; }
2141 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2143 # The possible output files:
2144 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2147 for ac_file in $ac_files
2150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2151 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2156 if { { ac_try="$ac_link_default"
2158 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2159 *) ac_try_echo
=$ac_try;;
2161 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2162 $as_echo "$ac_try_echo"; } >&5
2163 (eval "$ac_link_default") 2>&5
2165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2166 test $ac_status = 0; }; then :
2167 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2168 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2169 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2170 # so that the user can short-circuit this test for compilers unknown to
2172 for ac_file
in $ac_files ''
2174 test -f "$ac_file" ||
continue
2176 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2179 # We found the default executable, but exeext='' is most
2183 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2185 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2187 # We set ac_cv_exeext here because the later test for it is not
2188 # safe: cross compilers may not add the suffix if given an `-o'
2189 # argument, so we may need to know it at that point already.
2190 # Even if this section looks crufty: it has the advantage of
2197 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2202 if test -z "$ac_file"; then :
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2204 $as_echo "no" >&6; }
2205 $as_echo "$as_me: failed program was:" >&5
2206 sed 's/^/| /' conftest.
$ac_ext >&5
2208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2210 as_fn_error
77 "C compiler cannot create executables
2211 See \`config.log' for more details" "$LINENO" 5; }
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2214 $as_echo "yes" >&6; }
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2217 $as_echo_n "checking for C compiler default output file name... " >&6; }
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2219 $as_echo "$ac_file" >&6; }
2220 ac_exeext
=$ac_cv_exeext
2222 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2223 ac_clean_files
=$ac_clean_files_save
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2225 $as_echo_n "checking for suffix of executables... " >&6; }
2226 if { { ac_try
="$ac_link"
2228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2229 *) ac_try_echo=$ac_try;;
2231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2232 $as_echo "$ac_try_echo"; } >&5
2233 (eval "$ac_link") 2>&5
2235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2236 test $ac_status = 0; }; then :
2237 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2238 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2239 # work properly (i.e., refer to `conftest.exe'), while it won't with
2241 for ac_file
in conftest.exe conftest conftest.
*; do
2242 test -f "$ac_file" ||
continue
2244 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2245 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2253 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2254 See \`config.log' for more details" "$LINENO" 5; }
2256 rm -f conftest conftest
$ac_cv_exeext
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2258 $as_echo "$ac_cv_exeext" >&6; }
2260 rm -f conftest.
$ac_ext
2261 EXEEXT
=$ac_cv_exeext
2263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2264 /* end confdefs.h. */
2269 FILE *f = fopen ("conftest.out", "w");
2270 return ferror (f) || fclose (f) != 0;
2276 ac_clean_files
="$ac_clean_files conftest.out"
2277 # Check that the compiler produces executables we can run. If not, either
2278 # the compiler is broken, or we cross compile.
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2280 $as_echo_n "checking whether we are cross compiling... " >&6; }
2281 if test "$cross_compiling" != yes; then
2282 { { ac_try
="$ac_link"
2284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2285 *) ac_try_echo=$ac_try;;
2287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2288 $as_echo "$ac_try_echo"; } >&5
2289 (eval "$ac_link") 2>&5
2291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2292 test $ac_status = 0; }
2293 if { ac_try='./conftest$ac_cv_exeext'
2294 { { case "(($ac_try" in
2295 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2296 *) ac_try_echo
=$ac_try;;
2298 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2299 $as_echo "$ac_try_echo"; } >&5
2300 (eval "$ac_try") 2>&5
2302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2303 test $ac_status = 0; }; }; then
2306 if test "$cross_compiling" = maybe
; then
2309 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2311 as_fn_error $?
"cannot run C compiled programs.
2312 If you meant to cross compile, use \`--host'.
2313 See \`config.log' for more details" "$LINENO" 5; }
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2318 $as_echo "$cross_compiling" >&6; }
2320 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2321 ac_clean_files
=$ac_clean_files_save
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2323 $as_echo_n "checking for suffix of object files... " >&6; }
2324 if ${ac_cv_objext+:} false
; then :
2325 $as_echo_n "(cached) " >&6
2327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2328 /* end confdefs.h. */
2338 rm -f conftest.o conftest.obj
2339 if { { ac_try
="$ac_compile"
2341 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2342 *) ac_try_echo=$ac_try;;
2344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2345 $as_echo "$ac_try_echo"; } >&5
2346 (eval "$ac_compile") 2>&5
2348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2349 test $ac_status = 0; }; then :
2350 for ac_file in conftest.o conftest.obj conftest.*; do
2351 test -f "$ac_file" || continue;
2353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2354 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2359 $as_echo "$as_me: failed program was:" >&5
2360 sed 's/^/| /' conftest.$ac_ext >&5
2362 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2364 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2365 See \
`config.log' for more details" "$LINENO" 5; }
2367 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2370 $as_echo "$ac_cv_objext" >&6; }
2371 OBJEXT=$ac_cv_objext
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2374 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2375 if ${ac_cv_c_compiler_gnu+:} false; then :
2376 $as_echo_n "(cached) " >&6
2378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2379 /* end confdefs.h. */
2392 if ac_fn_c_try_compile "$LINENO"; then :
2397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2398 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2402 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2403 if test $ac_compiler_gnu = yes; then
2408 ac_test_CFLAGS=${CFLAGS+set}
2409 ac_save_CFLAGS=$CFLAGS
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2411 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2412 if ${ac_cv_prog_cc_g+:} false; then :
2413 $as_echo_n "(cached) " >&6
2415 ac_save_c_werror_flag=$ac_c_werror_flag
2416 ac_c_werror_flag=yes
2419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2420 /* end confdefs.h. */
2430 if ac_fn_c_try_compile "$LINENO"; then :
2434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2435 /* end confdefs.h. */
2445 if ac_fn_c_try_compile "$LINENO"; then :
2448 ac_c_werror_flag=$ac_save_c_werror_flag
2450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2451 /* end confdefs.h. */
2461 if ac_fn_c_try_compile "$LINENO"; then :
2464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2469 ac_c_werror_flag=$ac_save_c_werror_flag
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2472 $as_echo "$ac_cv_prog_cc_g" >&6; }
2473 if test "$ac_test_CFLAGS" = set; then
2474 CFLAGS=$ac_save_CFLAGS
2475 elif test $ac_cv_prog_cc_g = yes; then
2476 if test "$GCC" = yes; then
2482 if test "$GCC" = yes; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2489 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2490 if ${ac_cv_prog_cc_c89+:} false; then :
2491 $as_echo_n "(cached) " >&6
2493 ac_cv_prog_cc_c89=no
2495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2496 /* end confdefs.h. */
2500 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2501 struct buf { int x; };
2502 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2503 static char *e (p, i)
2509 static char *f (char * (*g) (char **, int), char **p, ...)
2514 s = g (p, va_arg (v,int));
2519 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2520 function prototypes and stuff, but not '\xHH' hex character constants.
2521 These don't provoke an error unfortunately, instead are silently treated
2522 as 'x'. The following induces an error, until -std is added to get
2523 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2524 array size at least. It's necessary to write '\x00'==0 to get something
2525 that's true only with -std. */
2526 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2528 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2529 inside strings and character constants. */
2531 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2533 int test (int i, double x);
2534 struct s1 {int (*f) (int a);};
2535 struct s2 {int (*f) (double a);};
2536 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2542 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2547 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2548 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2550 CC="$ac_save_CC $ac_arg"
2551 if ac_fn_c_try_compile "$LINENO"; then :
2552 ac_cv_prog_cc_c89=$ac_arg
2554 rm -f core conftest.err conftest.$ac_objext
2555 test "x$ac_cv_prog_cc_c89" != "xno" && break
2557 rm -f conftest.$ac_ext
2562 case "x$ac_cv_prog_cc_c89" in
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2565 $as_echo "none needed" >&6; } ;;
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2568 $as_echo "unsupported" >&6; } ;;
2570 CC="$CC $ac_cv_prog_cc_c89"
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2572 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2574 if test "x$ac_cv_prog_cc_c89" != xno; then :
2579 ac_cpp='$CPP $CPPFLAGS'
2580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2585 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2586 if test -f "$ac_dir/install-sh"; then
2588 ac_install_sh="$ac_aux_dir/install-sh -c"
2590 elif test -f "$ac_dir/install.sh"; then
2592 ac_install_sh="$ac_aux_dir/install.sh -c"
2594 elif test -f "$ac_dir/shtool"; then
2596 ac_install_sh="$ac_aux_dir/shtool install -c"
2600 if test -z "$ac_aux_dir"; then
2601 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2604 # These three variables are undocumented and unsupported,
2605 # and are intended to be withdrawn in a future Autoconf release.
2606 # They can cause serious problems if a builder's source tree is in a directory
2607 # whose full name contains unusual characters.
2608 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2609 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2610 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2613 # Find a good install program. We prefer a C program (faster),
2614 # so one script is as good as another. But avoid the broken or
2615 # incompatible versions:
2616 # SysV /etc/install, /usr/sbin/install
2617 # SunOS /usr/etc/install
2618 # IRIX /sbin/install
2620 # AmigaOS /C/install, which installs bootblocks on floppy discs
2621 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2622 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2623 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2624 # OS/2's system install, which has a completely different semantic
2625 # ./install, which can be erroneously created by make from ./install.sh.
2626 # Reject install programs that cannot install multiple files.
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2628 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2629 if test -z "$INSTALL"; then
2630 if ${ac_cv_path_install+:} false; then :
2631 $as_echo_n "(cached) " >&6
2633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2637 test -z "$as_dir" && as_dir=.
2638 # Account for people who put trailing slashes in PATH elements.
2639 case $as_dir/ in #((
2640 ./ | .// | /[cC]/* | \
2641 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2642 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2645 # OSF1 and SCO ODT 3.0 have their own names for install.
2646 # Don't use installbsd from OSF since it installs stuff as root
2648 for ac_prog in ginstall scoinst install; do
2649 for ac_exec_ext in '' $ac_executable_extensions; do
2650 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2651 if test $ac_prog = install &&
2652 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2653 # AIX install. It has an incompatible calling convention.
2655 elif test $ac_prog = install &&
2656 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2657 # program-specific install script used by HP pwplus--don't use.
2660 rm -rf conftest.one conftest.two conftest.dir
2661 echo one > conftest.one
2662 echo two > conftest.two
2664 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2665 test -s conftest.one && test -s conftest.two &&
2666 test -s conftest.dir/conftest.one &&
2667 test -s conftest.dir/conftest.two
2669 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2682 rm -rf conftest.one conftest.two conftest.dir
2685 if test "${ac_cv_path_install+set}" = set; then
2686 INSTALL=$ac_cv_path_install
2688 # As a last resort, use the slow shell script. Don't cache a
2689 # value for INSTALL within a source directory, because that will
2690 # break other packages using the cache if that directory is
2691 # removed, or if the value is a relative name.
2692 INSTALL=$ac_install_sh
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2696 $as_echo "$INSTALL" >&6; }
2698 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2699 # It thinks the first close brace ends the variable substitution.
2700 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2702 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2704 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2706 rm -rf .tst 2>/dev/null
2707 mkdir .tst 2>/dev/null
2708 if test -d .tst; then
2713 rmdir .tst 2>/dev/null
2715 DEPDIR="${am__leading_dot}deps"
2717 # Dependency checking.
2720 ac_config_commands="$ac_config_commands depdir"
2723 depcc="$CC" am_compiler_list=
2725 am_depcomp=$ac_aux_dir/depcomp
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
2727 $as_echo_n "checking dependency style of $depcc... " >&6; }
2728 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
2729 $as_echo_n "(cached) " >&6
2731 if test -f "$am_depcomp"; then
2732 # We make a subdir and do the tests there. Otherwise we can end up
2733 # making bogus files that we don't know about and never remove. For
2734 # instance it was reported that on HP-UX the gcc test will end up
2735 # making a dummy file named `D
' -- because `-MD' means
`put the output
2738 # Copy depcomp to subdir because otherwise we won't find it if we're
2739 # using a relative directory.
2740 cp "$am_depcomp" conftest.dir
2742 # We will build objects and dependencies in a subdirectory because
2743 # it helps to detect inapplicable dependency modes. For instance
2744 # both Tru64's cc and ICC support -MD to output dependencies as a
2745 # side effect of compilation, but ICC will put the dependencies in
2746 # the current directory while Tru64 will put them in the object
2750 am_cv_CC_dependencies_compiler_type=none
2751 if test "$am_compiler_list" = ""; then
2752 am_compiler_list=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
2754 for depmode in $am_compiler_list; do
2755 if test $depmode = none; then break; fi
2757 $as_echo "$as_me:$LINENO: trying $depmode" >&5
2758 # Setup a source with many dependencies, because some compilers
2759 # like to wrap large dependency lists on column 80 (with \), and
2760 # we should not choose a depcomp mode which is confused by this.
2762 # We need to recreate these files for each test, as the compiler may
2763 # overwrite some of them when testing with obscure command lines.
2764 # This happens at least with the AIX C compiler.
2766 for i in 1 2 3 4 5 6; do
2767 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2768 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
2769 # Solaris 8's
{/usr
,}/bin
/sh.
2770 touch sub
/conftst
$i.h
2772 echo "include sub/conftest.Po" > confmf
2774 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2775 # mode. It turns out that the SunPro C++ compiler does not properly
2776 # handle `-M -o', and we need to detect this.
2777 depcmd
="depmode=$depmode \
2778 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2779 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2780 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
2781 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
2782 if env
$depcmd > conftest.err
2>&1 &&
2783 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
2784 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
2785 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
2786 # icc doesn't choke on unknown options, it will just issue warnings
2787 # or remarks (even with -Werror). So we grep stderr for any message
2788 # that says an option was ignored or not supported.
2789 # When given -MP, icc 7.0 and 7.1 complain thusly:
2790 # icc: Command line warning: ignoring option '-M'; no argument required
2791 # The diagnosis changed in icc 8.0:
2792 # icc: Command line remark: option '-MP' not supported
2793 if (grep 'ignoring option' conftest.err ||
2794 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2795 am_cv_CC_dependencies_compiler_type
=$depmode
2796 $as_echo "$as_me:$LINENO: success" >&5
2800 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
2801 sed -e 's/^/| /' < conftest.err
>&5
2807 am_cv_CC_dependencies_compiler_type
=none
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
2812 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2813 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
2814 then as_fn_error $?
"no usable dependency style found" "$LINENO" 5
2815 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2821 # If we haven't got the data from the intl directory,
2822 # assume NLS is disabled.
2831 if test -f ..
/..
/intl
/config.intl
; then
2832 . ..
/..
/intl
/config.intl
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2835 $as_echo_n "checking whether NLS is requested... " >&6; }
2836 if test x
"$USE_NLS" != xyes
; then
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2841 $as_echo "yes" >&6; }
2843 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
2847 $as_echo_n "checking for catalogs to be installed... " >&6; }
2848 # Look for .po and .gmo files in the source directory.
2851 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2852 # If there aren't any .gmo files the shell will give us the
2853 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2855 case "$cat" in *\
**)
2858 # The quadruple backslash is collapsed to a double backslash
2859 # by the backticks, then collapsed again by the double quotes,
2860 # leaving us with one backslash in the sed expression (right
2861 # before the dot that mustn't act as a wildcard).
2862 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2863 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2864 # The user is allowed to set LINGUAS to a list of languages to
2865 # install catalogs for. If it's empty that means "all of them."
2866 if test "x$LINGUAS" = x
; then
2867 CATALOGS
="$CATALOGS $cat"
2868 XLINGUAS
="$XLINGUAS $lang"
2870 case "$LINGUAS" in *$lang*)
2871 CATALOGS
="$CATALOGS $cat"
2872 XLINGUAS
="$XLINGUAS $lang"
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
2879 $as_echo "$LINGUAS" >&6; }
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2894 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2895 # Check whether --enable-maintainer-mode was given.
2896 if test "${enable_maintainer_mode+set}" = set; then :
2897 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2899 USE_MAINTAINER_MODE
=no
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2903 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2904 if test $USE_MAINTAINER_MODE = yes; then
2905 MAINTAINER_MODE_TRUE
=
2906 MAINTAINER_MODE_FALSE
='#'
2908 MAINTAINER_MODE_TRUE
='#'
2909 MAINTAINER_MODE_FALSE
=
2912 MAINT
=$MAINTAINER_MODE_TRUE
2917 sim_inline
="-DDEFAULT_INLINE=0"
2918 # Check whether --enable-sim-inline was given.
2919 if test "${enable_sim_inline+set}" = set; then :
2920 enableval
=$enable_sim_inline; sim_inline
=""
2921 case "$enableval" in
2922 no
) sim_inline
="-DDEFAULT_INLINE=0";;
2923 0) sim_inline
="-DDEFAULT_INLINE=0";;
2924 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
2925 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
2926 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
2929 *_INLINE
=*) new_flag
="-D$x";;
2930 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
2931 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
2932 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
2934 if test x
"$sim_inline" = x
""; then
2935 sim_inline
="$new_flag"
2937 sim_inline
="$sim_inline $new_flag"
2941 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
2942 echo "Setting inline flags = $sim_inline" 6>&1
2949 default_sim_reserved_bits
="1"
2950 # Check whether --enable-sim-reserved-bits was given.
2951 if test "${enable_sim_reserved_bits+set}" = set; then :
2952 enableval
=$enable_sim_reserved_bits; case "${enableval}" in
2953 yes) sim_reserved_bits
="-DWITH_RESERVED_BITS=1";;
2954 no
) sim_reserved_bits
="-DWITH_RESERVED_BITS=0";;
2955 *) as_fn_error $?
"\"--enable-sim-reserved-bits does not take a value\"" "$LINENO" 5; sim_reserved_bits
="";;
2957 if test x
"$silent" != x
"yes" && test x
"$sim_reserved_bits" != x
""; then
2958 echo "Setting reserved flags = $sim_reserved_bits" 6>&1
2961 sim_reserved_bits
="-DWITH_RESERVED_BITS=${default_sim_reserved_bits}"
2967 # Instead of defining a `subtarget' macro, code should be checking
2968 # the value of {STATE,CPU}_ARCHITECTURE to identify the architecture
2972 mips64vr
*-*-*) SIM_SUBTARGET
="-DTARGET_ENABLE_FR=1" ;;
2973 mips
*tx39
*) SIM_SUBTARGET
="-DSUBTARGET_R3900=1";;
2974 mips
*-sde-elf*) SIM_SUBTARGET
="-DTARGET_ENABLE_FR=1";;
2975 mips
*-mti-elf*) SIM_SUBTARGET
="-DTARGET_ENABLE_FR=1";;
2976 mipsisa32
*-*-*) SIM_SUBTARGET
="-DTARGET_ENABLE_FR=1";;
2977 mipsisa64
*-*-*) SIM_SUBTARGET
="-DTARGET_ENABLE_FR=1";;
2978 *) SIM_SUBTARGET
="";;
2985 # Select the bitsize of the target
2989 mips
*-sde-elf*) mips_bitsize
=64 ; mips_msb
=63 ;;
2990 mips
*-mti-elf*) mips_bitsize
=64 ; mips_msb
=63 ;;
2991 mips64
*-*-*) mips_bitsize
=64 ; mips_msb
=63 ;;
2992 mips16
*-*-*) mips_bitsize
=64 ; mips_msb
=63 ;;
2993 mipsisa32
*-*-*) mips_bitsize
=32 ; mips_msb
=31 ;;
2994 mipsisa64
*-*-*) mips_bitsize
=64 ; mips_msb
=63 ;;
2995 mips
*-*-*) mips_bitsize
=32 ; mips_msb
=31 ;;
2996 *) mips_bitsize
=64 ; mips_msb
=63 ;;
2998 wire_word_bitsize
="$mips_bitsize"
2999 wire_word_msb
="$mips_msb"
3000 wire_address_bitsize
="$mips_addr_bitsize"
3001 wire_cell_bitsize
=""
3002 # Check whether --enable-sim-bitsize was given.
3003 if test "${enable_sim_bitsize+set}" = set; then :
3004 enableval
=$enable_sim_bitsize; sim_bitsize
=
3005 case "${enableval}" in
3006 64,63 |
64,63,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=63";;
3007 32,31 |
32,31,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31";;
3008 64,0 |
64,0,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0";;
3009 32,0 |
64,0,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0";;
3010 32) if test x
"$wire_word_msb" != x
-a x
"$wire_word_msb" != x0
; then
3011 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31"
3013 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0"
3015 64) if test x
"$wire_word_msb" != x
-a x
"$wire_word_msb" != x0
; then
3016 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=63"
3018 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=0"
3020 *) as_fn_error $?
"\"--enable-sim-bitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5 ;;
3023 tmp
=`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9]*,*//"`
3026 x32 | x32
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZE=32" ;;
3027 x64 | x64
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZE=64" ;;
3028 * ) as_fn_error $?
"\"--enable-sim-bitsize was given address size $enableval. Expected 32 or 64\"" "$LINENO" 5 ;;
3031 tmp
=`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9*]*,*[0-9]*,*//"`
3034 x32 | x32
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE=32" ;;
3035 x64 | x64
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE=64" ;;
3036 * ) as_fn_error $?
"\"--enable-sim-bitsize was given cell size $enableval. Expected 32 or 64\"" "$LINENO" 5 ;;
3038 if test x
"$silent" != x
"yes" && test x
"$sim_bitsize" != x
""; then
3039 echo "Setting bitsize flags = $sim_bitsize" 6>&1
3043 if test x
"$wire_word_bitsize" != x
; then
3044 sim_bitsize
="$sim_bitsize -DWITH_TARGET_WORD_BITSIZE=$wire_word_bitsize"
3046 if test x
"$wire_word_msb" != x
; then
3047 sim_bitsize
="$sim_bitsize -DWITH_TARGET_WORD_MSB=$wire_word_msb"
3049 if test x
"$wire_address_bitsize" != x
; then
3050 sim_bitsize
="$sim_bitsize -DWITH_TARGET_ADDRESS_BITSIZE=$wire_address_bitsize"
3052 if test x
"$wire_cell_bitsize" != x
; then
3053 sim_bitsize
="$sim_bitsize -DWITH_TARGET_CELL_BITSIZE=$wire_cell_bitsize"
3061 # Select the floating hardware support of the target
3063 mips_fpu
=HARDWARE_FLOATING_POINT
3066 mips
*tx39
*) mips_fpu
=HARD_FLOATING_POINT
; mips_fpu_bitsize
=32 ;;
3067 mips
*-sde-elf*) mips_fpu
=HARD_FLOATING_POINT
; mips_fpu_bitsize
=64 ;;
3068 mips
*-mti-elf*) mips_fpu
=HARD_FLOATING_POINT
; mips_fpu_bitsize
=64 ;;
3069 mips64
*-*-*) mips_fpu
=HARD_FLOATING_POINT
;;
3070 mips16
*-*-*) mips_fpu
=HARD_FLOATING_POINT
;;
3071 mipsisa32
*-*-*) mips_fpu
=HARD_FLOATING_POINT
; mips_fpu_bitsize
=64 ;;
3072 mipsisa64
*-*-*) mips_fpu
=HARD_FLOATING_POINT
; mips_fpu_bitsize
=64 ;;
3073 mips
*-*-*) mips_fpu
=HARD_FLOATING_POINT
; mips_fpu_bitsize
=32 ;;
3074 *) mips_fpu
=HARD_FLOATING_POINT
;;
3077 default_sim_float
="$mips_fpu"
3078 default_sim_float_bitsize
="$mips_fpu_bitsize"
3079 # Check whether --enable-sim-float was given.
3080 if test "${enable_sim_float+set}" = set; then :
3081 enableval
=$enable_sim_float; case "${enableval}" in
3082 yes | hard
) sim_float
="-DWITH_FLOATING_POINT=HARD_FLOATING_POINT";;
3083 no | soft
) sim_float
="-DWITH_FLOATING_POINT=SOFT_FLOATING_POINT";;
3084 32) sim_float
="-DWITH_FLOATING_POINT=HARD_FLOATING_POINT -DWITH_TARGET_FLOATING_POINT_BITSIZE=32";;
3085 64) sim_float
="-DWITH_FLOATING_POINT=HARD_FLOATING_POINT -DWITH_TARGET_FLOATING_POINT_BITSIZE=64";;
3086 *) as_fn_error $?
"\"Unknown value $enableval passed to --enable-sim-float\"" "$LINENO" 5; sim_float
="";;
3088 if test x
"$silent" != x
"yes" && test x
"$sim_float" != x
""; then
3089 echo "Setting float flags = $sim_float" 6>&1
3094 if test x
"${default_sim_float}" != x
""; then
3095 sim_float
="-DWITH_FLOATING_POINT=${default_sim_float}"
3097 if test x
"${default_sim_float_bitsize}" != x
""; then
3098 sim_float
="$sim_float -DWITH_TARGET_FLOATING_POINT_BITSIZE=${default_sim_float_bitsize}"
3107 # Select the IGEN architecture
3110 sim_igen_machine
="-M mipsIV"
3111 sim_m16_machine
="-M mips16,mipsIII"
3112 sim_igen_filter
="32,64,f"
3114 sim_mach_default
="mips8000"
3117 mips
*tx39
*) sim_gen
=IGEN
3118 sim_igen_filter
="32,f"
3119 sim_igen_machine
="-M r3900"
3121 mips64vr43
*-*-*) sim_gen
=IGEN
3122 sim_igen_machine
="-M mipsIV"
3123 sim_mach_default
="mips8000"
3125 mips64vr5
*-*-*) sim_gen
=IGEN
3126 sim_igen_machine
="-M vr5000"
3127 sim_mach_default
="mips5000"
3129 mips64vr41
*) sim_gen
=M16
3130 sim_igen_machine
="-M vr4100"
3131 sim_m16_machine
="-M vr4100"
3132 sim_igen_filter
="32,64,f"
3134 sim_mach_default
="mips4100"
3136 mips64vr-
*-* | mips64vrel-
*-*)
3138 sim_multi_configs
="\
3139 vr4100:mipsIII,mips16,vr4100:32,64:mips4100,mips4111\
3140 vr4120:mipsIII,mips16,vr4120:32,64:mips4120\
3141 vr5000:mipsIV:32,64,f:mips4300,mips5000\
3142 vr5400:mipsIV,vr5400:32,64,f:mips5400\
3143 vr5500:mipsIV,vr5500:32,64,f:mips5500"
3144 sim_multi_default
=mips5000
3146 mips
*-sde-elf* | mips
*-mti-elf*)
3148 sim_multi_configs
="\
3149 micromips:micromips64,micromipsdsp:32,64,f:mips_micromips\
3150 mips64r2:mips64r2,mips3d,mips16,mips16e,mdmx,dsp,dsp2,smartmips:32,64,f:mipsisa64r2"
3151 sim_multi_default
=mipsisa64r2
3153 mips64
*-*-*) sim_igen_filter
="32,64,f"
3156 mips16
*-*-*) sim_gen
=M16
3157 sim_igen_filter
="32,64,f"
3160 mipsisa32r2
*-*-*) sim_gen
=MULTI
3161 sim_multi_configs
="\
3162 micromips:micromips32,micromipsdsp:32,f:mips_micromips\
3163 mips32r2:mips32r2,mips3d,mips16,mips16e,mdmx,dsp,dsp2,smartmips:32,f:mipsisa32r2"
3164 sim_multi_default
=mipsisa32r2
3166 mipsisa32
*-*-*) sim_gen
=M16
3167 sim_igen_machine
="-M mips32,mips16,mips16e,smartmips"
3168 sim_m16_machine
="-M mips16,mips16e,mips32"
3169 sim_igen_filter
="32,f"
3170 sim_mach_default
="mipsisa32"
3172 mipsisa64r2
*-*-*) sim_gen
=M16
3173 sim_igen_machine
="-M mips64r2,mips3d,mips16,mips16e,mdmx,dsp,dsp2"
3174 sim_m16_machine
="-M mips16,mips16e,mips64r2"
3175 sim_igen_filter
="32,64,f"
3176 sim_mach_default
="mipsisa64r2"
3178 mipsisa64sb1
*-*-*) sim_gen
=IGEN
3179 sim_igen_machine
="-M mips64,mips3d,sb1"
3180 sim_igen_filter
="32,64,f"
3181 sim_mach_default
="mips_sb1"
3183 mipsisa64
*-*-*) sim_gen
=M16
3184 sim_igen_machine
="-M mips64,mips3d,mips16,mips16e,mdmx"
3185 sim_m16_machine
="-M mips16,mips16e,mips64"
3186 sim_igen_filter
="32,64,f"
3187 sim_mach_default
="mipsisa64"
3189 mips
*lsi
*) sim_gen
=M16
3190 sim_igen_machine
="-M mipsIII,mips16"
3191 sim_m16_machine
="-M mips16,mipsIII"
3192 sim_igen_filter
="32,f"
3194 sim_mach_default
="mips4000"
3196 mips
*-*-*) sim_gen
=IGEN
3197 sim_igen_filter
="32,f"
3201 # The MULTI generator can combine several simulation engines into one.
3202 # executable. A configuration which uses the MULTI should set two
3203 # variables: ${sim_multi_configs} and ${sim_multi_default}.
3205 # ${sim_multi_configs} is the list of engines to build. Each
3206 # space-separated entry has the form NAME:MACHINE:FILTER:BFDMACHS,
3209 # - NAME is a C-compatible prefix for the engine,
3210 # - MACHINE is a -M argument,
3211 # - FILTER is a -F argument, and
3212 # - BFDMACHS is a comma-separated list of bfd machines that the
3213 # simulator can run.
3215 # Each entry will have a separate simulation engine whose prefix is
3216 # m32<NAME>. If the machine list includes "mips16", there will also
3217 # be a mips16 engine, prefix m16<NAME>. The mips16 engine will be
3218 # generated using the same machine list as the 32-bit version,
3219 # but the filter will be "16" instead of FILTER.
3221 # The simulator compares the bfd mach against BFDMACHS to decide
3222 # which engine to use. Entries in BFDMACHS should be bfd_mach
3223 # values with "bfd_mach_" removed. ${sim_multi_default} says
3224 # which entry should be the default.
3225 if test ${sim_gen} = MULTI
; then
3227 # Simple sanity check.
3228 if test -z "${sim_multi_configs}" ||
test -z "${sim_multi_default}"; then
3229 as_fn_error $?
"Error in configure.ac: MULTI simulator not set up correctly" "$LINENO" 5
3232 # Start in a known state.
3233 rm -f multi-include.h multi-run.c
3237 sim_multi_igen_configs
=
3240 cat << __EOF__ > multi-run.c
3241 /* Main entry point for MULTI simulators.
3242 Copyright (C) 2003-2021 Free Software Foundation, Inc.
3244 This program is free software; you can redistribute it and/or modify
3245 it under the terms of the GNU General Public License as published by
3246 the Free Software Foundation; either version 3 of the License, or
3247 (at your option) any later version.
3249 This program is distributed in the hope that it will be useful,
3250 but WITHOUT ANY WARRANTY; without even the implied warranty of
3251 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3252 GNU General Public License for more details.
3254 You should have received a copy of the GNU General Public License
3255 along with this program. If not, see <http://www.gnu.org/licenses/>.
3259 This file was generated by sim/mips/configure. */
3261 #include "sim-main.h"
3262 #include "multi-include.h"
3263 #include "elf-bfd.h"
3264 #include "elf/mips.h"
3270 sim_engine_run (SIM_DESC sd,
3273 int signal) /* ignore */
3277 if (STATE_ARCHITECTURE (sd) == NULL)
3278 mach = bfd_mach_${sim_multi_default};
3279 else if (elf_elfheader (STATE_PROG_BFD (sd))->e_flags
3280 & EF_MIPS_ARCH_ASE_MICROMIPS)
3281 mach = bfd_mach_mips_micromips;
3283 mach = STATE_ARCHITECTURE (SD)->mach;
3289 for fc in ${sim_multi_configs}; do
3291 # Split up the entry. ${c} contains the first three elements.
3292 # Note: outer sqaure brackets are m4 quotes.
3293 c
=`echo ${fc} | sed 's/:[^:]*$//'`
3294 bfdmachs
=`echo ${fc} | sed 's/.*://'`
3295 name
=`echo ${c} | sed 's/:.*//'`
3296 machine
=`echo ${c} | sed 's/.*:\(.*\):.*/\1/'`
3297 filter
=`echo ${c} | sed 's/.*://'`
3299 # Build the following lists:
3301 # sim_multi_flags: all -M and -F flags used by the simulator
3302 # sim_multi_src: all makefile-generated source files
3303 # sim_multi_obj: the objects for ${sim_multi_src}
3304 # sim_multi_igen_configs: igen configuration strings.
3306 # Each entry in ${sim_multi_igen_configs} is a prefix (m32
3307 # or m16) followed by the NAME, MACHINE and FILTER part of
3308 # the ${sim_multi_configs} entry.
3309 sim_multi_flags
="${sim_multi_flags} -F ${filter} -M ${machine}"
3311 # Check whether special handling is needed.
3314 # Run igen twice, once for normal mode and once for mips16.
3317 # The top-level function for the mips16 simulator is
3318 # in a file m16${name}_run.c, generated by the
3319 # tmp-run-multi Makefile rule.
3320 sim_multi_src
="${sim_multi_src} m16${name}_run.c"
3321 sim_multi_obj
="${sim_multi_obj} m16${name}_run.o"
3322 sim_multi_flags
="${sim_multi_flags} -F 16"
3325 # Run igen thrice, once for micromips32, once for micromips16,
3327 ws
="micromips_m32 micromips16 micromips32"
3329 # The top-level function for the micromips simulator is
3330 # in a file micromips${name}_run.c, generated by the
3331 # tmp-run-multi Makefile rule.
3332 sim_multi_src
="${sim_multi_src} micromips${name}_run.c"
3333 sim_multi_obj
="${sim_multi_obj} micromips${name}_run.o"
3334 sim_multi_flags
="${sim_multi_flags} -F 16,32"
3337 # Run igen thrice, once for micromips64, once for micromips16,
3339 ws
="micromips_m64 micromips16 micromips64"
3341 # The top-level function for the micromips simulator is
3342 # in a file micromips${name}_run.c, generated by the
3343 # tmp-run-multi Makefile rule.
3344 sim_multi_src
="${sim_multi_src} micromips${name}_run.c"
3345 sim_multi_obj
="${sim_multi_obj} micromips${name}_run.o"
3346 sim_multi_flags
="${sim_multi_flags} -F 16,32,64"
3353 # Now add the list of igen-generated files to ${sim_multi_src}
3354 # and ${sim_multi_obj}.
3356 for base
in engine icache idecode model semantics support
; do
3357 sim_multi_src
="${sim_multi_src} ${w}${name}_${base}.c"
3358 sim_multi_src
="${sim_multi_src} ${w}${name}_${base}.h"
3359 sim_multi_obj
="${sim_multi_obj} ${w}${name}_${base}.o"
3361 sim_multi_igen_configs
="${sim_multi_igen_configs} ${w}${c}"
3364 # Add an include for the engine.h file. This file declares the
3365 # top-level foo_engine_run() function.
3366 echo "#include \"${w}${name}_engine.h\"" >> multi-include.h
3368 # Add case statements for this engine to sim_engine_run().
3369 for mach
in `echo ${bfdmachs} | sed 's/,/ /g'`; do
3370 echo " case bfd_mach_${mach}:" >> multi-run.c
3371 if test ${mach} = ${sim_multi_default}; then
3372 echo " default:" >> multi-run.c
3373 sim_seen_default
=yes
3376 echo " ${w}${name}_engine_run (sd, next_cpu_nr, nr_cpus, signal);" \
3378 echo " break;" >> multi-run.c
3381 # Check whether we added a 'default:' label.
3382 if test ${sim_seen_default} = no
; then
3383 as_fn_error $?
"Error in configure.ac: \${sim_multi_configs} doesn't have an entry for \${sim_multi_default}" "$LINENO" 5
3386 cat << __EOF__ >> multi-run.c
3391 mips_mach_multi (SIM_DESC sd)
3393 if (STATE_ARCHITECTURE (sd) == NULL)
3394 return bfd_mach_${sim_multi_default};
3396 switch (STATE_ARCHITECTURE (SD)->mach)
3400 # Add case statements for this engine to mips_mach_multi().
3401 for fc in ${sim_multi_configs}; do
3403 # Split up the entry. ${c} contains the first three elements.
3404 # Note: outer sqaure brackets are m4 quotes.
3405 c
=`echo ${fc} | sed 's/:[^:]*$//'`
3406 bfdmachs
=`echo ${fc} | sed 's/.*://'`
3408 for mach
in `echo ${bfdmachs} | sed 's/,/ /g'`; do
3409 echo " case bfd_mach_${mach}:" >> multi-run.c
3413 cat << __EOF__ >> multi-run.c
3414 return (STATE_ARCHITECTURE (SD)->mach);
3416 return bfd_mach_${sim_multi_default};
3421 SIM_SUBTARGET
="$SIM_SUBTARGET -DMIPS_MACH_MULTI"
3424 sim_multi_src
=doesnt-exist.c
3426 if test x
"${sim_mach_default}" = x
""; then
3427 as_fn_error $?
"Error in configure.ac: \${sim_mach_default} not defined" "$LINENO" 5
3429 SIM_SUBTARGET
="$SIM_SUBTARGET -DMIPS_MACH_DEFAULT=bfd_mach_${sim_mach_default}"
3431 sim_igen_flags
="-F ${sim_igen_filter} ${sim_igen_machine} ${sim_igen_smp}"
3432 sim_m16_flags
=" -F ${sim_m16_filter} ${sim_m16_machine} ${sim_igen_smp}"
3433 sim_micromips16_flags
=" -F ${sim_micromips16_filter} ${sim_micromips16_machine} ${sim_igen_smp}"
3434 sim_micromips_flags
=" -F ${sim_micromips_filter} ${sim_micromips_machine} ${sim_igen_smp}"
3445 # Add simulated hardware devices
3448 hardware
="cfi core pal glue tx3904cpu tx3904irc tx3904tmr tx3904sio"
3449 sim_hw_cflags
="-DWITH_HW=1"
3451 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
3453 # Check whether --enable-sim-hardware was given.
3454 if test "${enable_sim_hardware+set}" = set; then :
3455 enableval
=$enable_sim_hardware;
3457 enable_sim_hardware
="yes"
3460 case ${enable_sim_hardware} in
3462 ,*) hardware
="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
3463 *,) hardware
="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
3464 *) hardware
="`echo ${enableval} | sed -e 's/,/ /'`"'';;
3467 if test "$enable_sim_hardware" = no
; then
3469 sim_hw_cflags
="-DWITH_HW=0"
3472 sim_hw_cflags
="-DWITH_HW=1"
3475 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS)"
3476 for i
in $hardware ; do
3479 *) sim_hw
="$sim_hw $i" ; sim_hw_objs
="$sim_hw_objs dv-$i.o";;
3482 # mingw does not support sockser
3485 *) # TODO: We don't add dv-sockser to sim_hw as it is not a "real" device
3486 # that you instatiate. Instead, other code will call into it directly.
3487 # At some point, we should convert it over.
3488 sim_hw_objs
="$sim_hw_objs dv-sockser.o"
3489 sim_hw_cflags
="$sim_hw_cflags -DHAVE_DV_SOCKSER"
3492 if test x
"$silent" != x
"yes"; then
3493 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
3500 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
3501 cgen_breaks
="break cgen_rtx_error";
3504 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
3506 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
3508 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
3510 ac_config_commands
="$ac_config_commands Makefile"
3512 ac_config_commands
="$ac_config_commands stamp-h"
3524 cat >confcache
<<\_ACEOF
3525 # This file is a shell script that caches the results of configure
3526 # tests run on this system so they can be shared between configure
3527 # scripts and configure runs, see configure's option --config-cache.
3528 # It is not useful on other systems. If it contains results you don't
3529 # want to keep, you may remove or edit it.
3531 # config.status only pays attention to the cache file if you give it
3532 # the --recheck option to rerun configure.
3534 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3535 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3540 # The following way of writing the cache mishandles newlines in values,
3541 # but we know of no workaround that is simple, portable, and efficient.
3542 # So, we kill variables containing newlines.
3543 # Ultrix sh set writes to stderr and can't be redirected directly,
3544 # and sets the high bit in the cache file unless we assign to the vars.
3546 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3547 eval ac_val
=\$
$ac_var
3551 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3552 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3555 _ | IFS | as_nl
) ;; #(
3556 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3557 *) { eval $ac_var=; unset $ac_var;} ;;
3563 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3564 *${as_nl}ac_space
=\
*)
3565 # `set' does not quote correctly, so add quotes: double-quote
3566 # substitution turns \\\\ into \\, and sed turns \\ into \.
3569 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3572 # `set' quotes correctly as required by POSIX, so do not add quotes.
3573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3582 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3584 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3586 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3587 if test -w "$cache_file"; then
3588 if test "x$cache_file" != "x/dev/null"; then
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3590 $as_echo "$as_me: updating cache $cache_file" >&6;}
3591 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3592 cat confcache
>"$cache_file"
3594 case $cache_file in #(
3596 mv -f confcache
"$cache_file"$$
&&
3597 mv -f "$cache_file"$$
"$cache_file" ;; #(
3599 mv -f confcache
"$cache_file" ;;
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3605 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3610 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3611 # Let make expand exec_prefix.
3612 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3614 # Transform confdefs.h into DEFS.
3615 # Protect against shell expansion while executing Makefile rules.
3616 # Protect against Makefile macro expansion.
3618 # If the first sed substitution is executed (which looks for macros that
3619 # take arguments), then branch to the quote section. Otherwise,
3620 # look for a macro that doesn't take arguments.
3630 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3632 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3636 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3649 DEFS
=`sed -n "$ac_script" confdefs.h`
3655 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3656 # 1. Remove the extension, and $U if already installed.
3657 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3658 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3659 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3660 # will be set to the directory where LIBOBJS objects are built.
3661 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3662 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3666 LTLIBOBJS
=$ac_ltlibobjs
3669 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3670 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
3671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3674 : "${CONFIG_STATUS=./config.status}"
3676 ac_clean_files_save
=$ac_clean_files
3677 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3679 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3681 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3683 # Generated by $as_me.
3684 # Run this file to recreate the current configuration.
3685 # Compiler output produced by configure, useful for debugging
3686 # configure, is in config.log if it exists.
3692 SHELL=\${CONFIG_SHELL-$SHELL}
3695 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3696 ## -------------------- ##
3697 ## M4sh Initialization. ##
3698 ## -------------------- ##
3700 # Be more Bourne compatible
3701 DUALCASE
=1; export DUALCASE
# for MKS sh
3702 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3705 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3706 # is contrary to our usage. Disable this feature.
3707 alias -g '${1+"$@"}'='"$@"'
3708 setopt NO_GLOB_SUBST
3710 case `(set -o) 2>/dev/null` in #(
3722 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3723 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3724 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3725 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3726 # Prefer a ksh shell builtin over an external printf program on Solaris,
3727 # but without wasting forks for bash or zsh.
3728 if test -z "$BASH_VERSION$ZSH_VERSION" \
3729 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3730 as_echo='print
-r --'
3731 as_echo_n='print
-rn --'
3732 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3733 as_echo='printf %s
\n'
3734 as_echo_n='printf %s
'
3736 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3737 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3738 as_echo_n='/usr
/ucb
/echo -n'
3740 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3741 as_echo_n_body='eval
3745 expr "X$arg" : "X\\(.*\\)$as_nl";
3746 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3748 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3750 export as_echo_n_body
3751 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3754 as_echo='sh
-c $as_echo_body as_echo
'
3757 # The user is always right.
3758 if test "${PATH_SEPARATOR+set}" != set; then
3760 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3761 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3768 # We need space, tab and new line, in precisely that order. Quoting is
3769 # there to prevent editors from complaining about space-tab.
3770 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3771 # splitting by setting IFS to empty value.)
3774 # Find who we are. Look in the path if we contain no directory separator.
3777 *[\\/]* ) as_myself=$0 ;;
3778 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3782 test -z "$as_dir" && as_dir=.
3783 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3789 # We did not find ourselves, most probably we were run as `sh COMMAND'
3790 # in which case we are not to be found in the path.
3791 if test "x$as_myself" = x
; then
3794 if test ! -f "$as_myself"; then
3795 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3799 # Unset variables that we do not need and which cause bugs (e.g. in
3800 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3801 # suppresses any "Segmentation fault" message there. '((' could
3802 # trigger a bug in pdksh 5.2.14.
3803 for as_var
in BASH_ENV ENV MAIL MAILPATH
3804 do eval test x\
${$as_var+set} = xset \
3805 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3818 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3821 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3822 # ----------------------------------------
3823 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3824 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3825 # script with STATUS, using 1 if that was 0.
3828 as_status
=$1; test $as_status -eq 0 && as_status
=1
3830 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3831 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3833 $as_echo "$as_me: error: $2" >&2
3834 as_fn_exit
$as_status
3838 # as_fn_set_status STATUS
3839 # -----------------------
3840 # Set $? to STATUS, without forking.
3844 } # as_fn_set_status
3848 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3858 # Portably unset VAR.
3861 { eval $1=; unset $1;}
3863 as_unset
=as_fn_unset
3864 # as_fn_append VAR VALUE
3865 # ----------------------
3866 # Append the text in VALUE to the end of the definition contained in VAR. Take
3867 # advantage of any shell optimizations that allow amortized linear growth over
3868 # repeated appends, instead of the typical quadratic growth present in naive
3870 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3871 eval 'as_fn_append ()
3882 # as_fn_arith ARG...
3883 # ------------------
3884 # Perform arithmetic evaluation on the ARGs, and store the result in the
3885 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3886 # must be portable across $(()) and expr.
3887 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3888 eval 'as_fn_arith ()
3895 as_val
=`expr "$@" || test $? -eq 1`
3900 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3901 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3907 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3908 as_basename
=basename
3913 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3919 as_me
=`$as_basename -- "$0" ||
3920 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3921 X"$0" : 'X\(//\)$' \| \
3922 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3924 sed '/^.*\/\([^/][^/]*\)\/*$/{
3938 # Avoid depending upon Character Ranges.
3939 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3940 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3941 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3942 as_cr_digits
='0123456789'
3943 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3945 ECHO_C
= ECHO_N
= ECHO_T
=
3946 case `echo -n x` in #(((((
3948 case `echo 'xy\c'` in
3949 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3951 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3958 rm -f conf$$ conf$$.exe conf$$.
file
3959 if test -d conf$$.dir
; then
3960 rm -f conf$$.dir
/conf$$.
file
3963 mkdir conf$$.dir
2>/dev
/null
3965 if (echo >conf$$.
file) 2>/dev
/null
; then
3966 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3968 # ... but there are two gotchas:
3969 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3970 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3971 # In both cases, we have to default to `cp -pR'.
3972 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3974 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3982 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3983 rmdir conf$$.dir
2>/dev
/null
3988 # Create "$as_dir" as a directory, including parents if necessary.
3993 -*) as_dir
=.
/$as_dir;;
3995 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3999 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4000 *) as_qdir
=$as_dir;;
4002 as_dirs
="'$as_qdir' $as_dirs"
4003 as_dir
=`$as_dirname -- "$as_dir" ||
4004 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4005 X"$as_dir" : 'X\(//\)[^/]' \| \
4006 X"$as_dir" : 'X\(//\)$' \| \
4007 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4008 $as_echo X"$as_dir" |
4009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4026 test -d "$as_dir" && break
4028 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4029 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4033 if mkdir
-p .
2>/dev
/null
; then
4034 as_mkdir_p
='mkdir -p "$as_dir"'
4036 test -d .
/-p && rmdir .
/-p
4041 # as_fn_executable_p FILE
4042 # -----------------------
4043 # Test if FILE is an executable regular file.
4044 as_fn_executable_p
()
4046 test -f "$1" && test -x "$1"
4047 } # as_fn_executable_p
4049 as_executable_p
=as_fn_executable_p
4051 # Sed expression to map a string onto a valid CPP name.
4052 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4054 # Sed expression to map a string onto a valid variable name.
4055 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4059 ## ----------------------------------- ##
4060 ## Main body of $CONFIG_STATUS script. ##
4061 ## ----------------------------------- ##
4063 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4066 # Save the log message, to keep $0 and so on meaningful, and to
4067 # report actual input values of CONFIG_FILES etc. instead of their
4068 # values after options handling.
4070 This file was extended by $as_me, which was
4071 generated by GNU Autoconf 2.69. Invocation command line was
4073 CONFIG_FILES = $CONFIG_FILES
4074 CONFIG_HEADERS = $CONFIG_HEADERS
4075 CONFIG_LINKS = $CONFIG_LINKS
4076 CONFIG_COMMANDS = $CONFIG_COMMANDS
4079 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4084 case $ac_config_files in *"
4085 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4091 # Files that config.status was made for.
4092 config_files="$ac_config_files"
4093 config_commands="$ac_config_commands"
4097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4099 \`$as_me' instantiates files and other configuration actions
4100 from templates according to the current configuration. Unless the files
4101 and actions are specified as TAGs, all are instantiated by default.
4103 Usage: $0 [OPTION]... [TAG]...
4105 -h, --help print this help, then exit
4106 -V, --version print version number and configuration settings, then exit
4107 --config print configuration, then exit
4108 -q, --quiet, --silent
4109 do not print progress messages
4110 -d, --debug don't remove temporary files
4111 --recheck update $as_me by reconfiguring in the same conditions
4112 --file=FILE[:TEMPLATE]
4113 instantiate the configuration file FILE
4115 Configuration files:
4118 Configuration commands:
4121 Report bugs to the package provider."
4124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4125 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4128 configured by $0, generated by GNU Autoconf 2.69,
4129 with options \\"\$ac_cs_config\\"
4131 Copyright (C) 2012 Free Software Foundation, Inc.
4132 This config.status script is free software; the Free Software Foundation
4133 gives unlimited permission to copy, distribute and modify it."
4138 test -n "\$AWK" || AWK=awk
4141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4142 # The default lists apply if the user does not specify any file.
4148 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4149 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4153 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4165 # Handling of the options.
4166 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4168 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4169 $as_echo "$ac_cs_version"; exit ;;
4170 --config |
--confi |
--conf |
--con |
--co |
--c )
4171 $as_echo "$ac_cs_config"; exit ;;
4172 --debug |
--debu |
--deb |
--de |
--d |
-d )
4174 --file |
--fil |
--fi |
--f )
4177 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4178 '') as_fn_error $?
"missing file argument" ;;
4180 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4181 ac_need_defaults
=false
;;
4182 --he |
--h |
--help |
--hel |
-h )
4183 $as_echo "$ac_cs_usage"; exit ;;
4184 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4185 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4189 -*) as_fn_error $?
"unrecognized option: \`$1'
4190 Try \`$0 --help' for more information." ;;
4192 *) as_fn_append ac_config_targets
" $1"
4193 ac_need_defaults
=false
;;
4199 ac_configure_extra_args
=
4201 if $ac_cs_silent; then
4203 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4208 if \$ac_cs_recheck; then
4209 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4211 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4212 CONFIG_SHELL='$SHELL'
4218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4222 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4223 ## Running $as_me. ##
4229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4233 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
4237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4239 # Handling of arguments.
4240 for ac_config_target
in $ac_config_targets
4242 case $ac_config_target in
4243 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
4244 "Makefile.sim") CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
4245 "Make-common.sim") CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
4246 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
4247 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
4248 "stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
4250 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4255 # If the user did not use the arguments to specify the items to instantiate,
4256 # then the envvar interface is used. Set only those that are not.
4257 # We use the long form for the default assignment because of an extremely
4258 # bizarre bug on SunOS 4.1.3.
4259 if $ac_need_defaults; then
4260 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4261 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4264 # Have a temporary directory for convenience. Make it in the build tree
4265 # simply because there is no reason against having it here, and in addition,
4266 # creating and moving files from /tmp can sometimes cause problems.
4267 # Hook for its removal unless debugging.
4268 # Note that there is a small window in which the directory will not be cleaned:
4269 # after its creation but before its name has been assigned to `$tmp'.
4273 trap 'exit_status=$?
4275 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4277 trap 'as_fn_exit 1' 1 2 13 15
4279 # Create a (secure) tmp directory for tmp files.
4282 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4286 tmp
=.
/conf$$
-$RANDOM
4287 (umask 077 && mkdir
"$tmp")
4288 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4291 # Set up the scripts for CONFIG_FILES section.
4292 # No need to generate them if there are no CONFIG_FILES.
4293 # This happens for instance with `./config.status config.h'.
4294 if test -n "$CONFIG_FILES"; then
4297 ac_cr
=`echo X | tr X '\015'`
4298 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4299 # But we know of no other shell where ac_cr would be empty at this
4300 # point, so we can use a bashism as a fallback.
4301 if test "x$ac_cr" = x
; then
4302 eval ac_cr
=\$
\'\\r
\'
4304 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4305 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4311 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4316 echo "cat >conf$$subs.awk <<_ACEOF" &&
4317 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4320 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4321 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4323 for ac_last_try in false false false false false :; do
4324 . ./conf$$subs.sh ||
4325 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4327 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4328 if test $ac_delim_n = $ac_delim_num; then
4330 elif $ac_last_try; then
4331 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4333 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4339 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4343 s/^/S["/; s
/!.
*/"]=/
4353 s/\(.\{148\}\)..*/\1/
4355 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4360 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4367 s/\(.\{148\}\)..*/\1/
4369 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4373 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4378 ' <conf$$subs.awk | sed '
4383 ' >>$CONFIG_STATUS || ac_write_fail=1
4384 rm -f conf$$subs.awk
4385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4387 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4388 for (key in S) S_is_set[key] = 1
4394 nfields = split(line, field, "@
")
4396 len = length(field[1])
4397 for (i = 2; i < nfields; i++) {
4399 keylen = length(key)
4400 if (S_is_set[key]) {
4402 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4403 len += length(value) + length(field[++i])
4414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4415 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4416 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4419 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4420 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4423 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4424 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4425 # trailing colons and then remove the whole line if VPATH becomes empty
4426 # (actually we leave an empty line to preserve line numbers).
4427 if test "x
$srcdir" = x.; then
4428 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4447 fi # test -n "$CONFIG_FILES"
4450 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
4455 :[FHLC]) ac_mode=$ac_tag; continue;;
4457 case $ac_mode$ac_tag in
4459 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4460 :[FH]-) ac_tag=-:-;;
4461 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4478 -) ac_f="$ac_tmp/stdin";;
4479 *) # Look for the file first in the build tree, then in the source tree
4480 # (if the path is not absolute). The absolute path cannot be DOS-style,
4481 # because $ac_f cannot contain `:'.
4485 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4487 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4489 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4490 as_fn_append ac_file_inputs " '$ac_f'"
4493 # Let's still pretend it is `configure' which instantiates (i.e., don't
4494 # use $as_me), people would be surprised to read:
4495 # /* config.h. Generated by config.status. */
4496 configure_input='Generated from '`
4497 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4499 if test x"$ac_file" != x-; then
4500 configure_input="$ac_file.
$configure_input"
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4502 $as_echo "$as_me: creating
$ac_file" >&6;}
4504 # Neutralize special characters interpreted by sed in replacement strings.
4505 case $configure_input in #(
4506 *\&* | *\|* | *\\* )
4507 ac_sed_conf_input=`$as_echo "$configure_input" |
4508 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4509 *) ac_sed_conf_input=$configure_input;;
4513 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
4514 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
4519 ac_dir=`$as_dirname -- "$ac_file" ||
4520 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4521 X"$ac_file" : 'X\(//\)[^/]' \| \
4522 X"$ac_file" : 'X\(//\)$' \| \
4523 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4524 $as_echo X"$ac_file" |
4525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4542 as_dir="$ac_dir"; as_fn_mkdir_p
4546 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4548 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4549 # A "..
" for each directory in $ac_dir_suffix.
4550 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4551 case $ac_top_builddir_sub in
4552 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4553 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4556 ac_abs_top_builddir=$ac_pwd
4557 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4558 # for backward compatibility:
4559 ac_top_builddir=$ac_top_build_prefix
4562 .) # We are building in place.
4564 ac_top_srcdir=$ac_top_builddir_sub
4565 ac_abs_top_srcdir=$ac_pwd ;;
4566 [\\/]* | ?:[\\/]* ) # Absolute name.
4567 ac_srcdir=$srcdir$ac_dir_suffix;
4568 ac_top_srcdir=$srcdir
4569 ac_abs_top_srcdir=$srcdir ;;
4571 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4572 ac_top_srcdir=$ac_top_build_prefix$srcdir
4573 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4575 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4585 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4586 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4591 # If the template does not know about datarootdir, expand it.
4592 # FIXME: This hack should be removed a few years after 2.60.
4593 ac_datarootdir_hack=; ac_datarootdir_seen=
4604 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4605 *datarootdir*) ac_datarootdir_seen=yes;;
4606 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4608 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4611 ac_datarootdir_hack='
4612 s&@datadir@&$datadir&g
4613 s&@docdir@&$docdir&g
4614 s&@infodir@&$infodir&g
4615 s&@localedir@&$localedir&g
4616 s&@mandir@&$mandir&g
4617 s&\\\${datarootdir}&$datarootdir&g' ;;
4621 # Neutralize VPATH when `$srcdir' = `.'.
4622 # Shell code in configure.ac might set extrasub.
4623 # FIXME: do we really want to maintain this feature?
4624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4625 ac_sed_extra="$ac_vpsub
4628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4630 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4631 s|@configure_input@|
$ac_sed_conf_input|
;t t
4632 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4633 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4634 s
&@srcdir@
&$ac_srcdir&;t t
4635 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4636 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4637 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4638 s
&@builddir@
&$ac_builddir&;t t
4639 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4640 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4641 s
&@INSTALL@
&$ac_INSTALL&;t t
4642 $ac_datarootdir_hack
4644 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
4645 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
4647 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4648 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
4649 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4650 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4652 which seems to be undefined. Please make sure it is defined" >&5
4653 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4654 which seems to be undefined. Please make sure it is defined" >&2;}
4656 rm -f "$ac_tmp/stdin"
4658 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4659 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4661 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4665 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4666 $as_echo "$as_me: executing $ac_file commands" >&6;}
4671 case $ac_file$ac_mode in
4672 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
4673 "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
4674 rm -f Makesim1.tmp Makesim2.tmp Makefile
4675 sed -n -e '/^
## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp
4676 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
4677 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
4678 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
4679 <Makefile.sim
>Makefile
4680 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
4682 "stamp-h":C
) echo > stamp-h
;;
4690 ac_clean_files
=$ac_clean_files_save
4692 test $ac_write_fail = 0 ||
4693 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
4696 # configure is writing to config.log, and then calls config.status.
4697 # config.status does its own redirection, appending to config.log.
4698 # Unfortunately, on DOS this fails, as config.log is still kept open
4699 # by configure, so config.status won't be able to write to it; its
4700 # output is simply discarded. So we exec the FD to /dev/null,
4701 # effectively closing config.log, so it can be properly (re)opened and
4702 # appended to by config.status. When coming back to configure, we
4703 # need to make the FD available again.
4704 if test "$no_create" != yes; then
4706 ac_config_status_args
=
4707 test "$silent" = yes &&
4708 ac_config_status_args
="$ac_config_status_args --quiet"
4710 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4712 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4713 # would make configure fail if this is the last instruction.
4714 $ac_cs_success || as_fn_exit
1
4716 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4718 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}