2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sim 0.
5 # Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim
271 $0: about your system, including any error possibly output
272 $0: before this message. Then install a modern shell, or
273 $0: manually run the script under such a shell if you do
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Create "$as_dir" as a directory, including parents if necessary.
323 -*) as_dir
=.
/$as_dir;;
325 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
329 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
332 as_dirs
="'$as_qdir' $as_dirs"
333 as_dir
=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
356 test -d "$as_dir" && break
358 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
359 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p
()
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
378 eval 'as_fn_append ()
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
402 as_val
=`expr "$@" || test $? -eq 1`
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
414 as_status
=$1; test $as_status -eq 0 && as_status
=1
416 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit
$as_status
423 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
430 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
436 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
442 as_me
=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
461 # Avoid depending upon Character Ranges.
462 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits
='0123456789'
466 as_cr_alnum
=$as_cr_Letters$as_cr_digits
469 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
470 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
489 chmod +x
"$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec
=no
; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
500 # Exit status is that of the last command.
504 ECHO_C
= ECHO_N
= ECHO_T
=
505 case `echo -n x` in #(((((
507 case `echo 'xy\c'` in
508 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
517 rm -f conf$$ conf$$.exe conf$$.
file
518 if test -d conf$$.dir
; then
519 rm -f conf$$.dir
/conf$$.
file
522 mkdir conf$$.dir
2>/dev
/null
524 if (echo >conf$$.
file) 2>/dev
/null
; then
525 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
533 elif ln conf$$.
file conf$$
2>/dev
/null
; then
541 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
542 rmdir conf$$.dir
2>/dev
/null
544 if mkdir
-p .
2>/dev
/null
; then
545 as_mkdir_p
='mkdir -p "$as_dir"'
547 test -d .
/-p && rmdir .
/-p
552 as_executable_p
=as_fn_executable_p
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
561 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
572 ac_default_prefix
=/usr
/local
574 ac_config_libobj_dir
=.
581 # Identity of this package.
583 PACKAGE_TARNAME
='sim'
585 PACKAGE_STRING
='sim 0'
586 PACKAGE_BUGREPORT
='https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim'
587 PACKAGE_URL
='https://sourceware.org/gdb/wiki/Sim/'
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
627 enable_option_checking
=no
628 ac_subst_vars
='am__EXEEXT_FALSE
632 SIM_ENABLE_IGEN_FALSE
658 INSTALL_STRIP_PROGRAM
671 MAINTAINER_MODE_FALSE
733 program_transform_name
746 enable_option_checking
747 enable_maintainer_mode
748 enable_dependency_tracking
754 enable_sim_environment
756 ac_precious_vars
='build_alias
765 ac_subdirs_all
='aarch64
798 # Initialize some variables set by options.
800 ac_init_version
=false
801 ac_unrecognized_opts
=
803 # The variables have the same names as the options, with
804 # dashes changed to underlines.
812 program_transform_name
=s
,x
,x
,
820 # Installation directory options.
821 # These are left unexpanded so users can "make install exec_prefix=/foo"
822 # and all the variables that are supposed to be based on exec_prefix
823 # by default will actually change.
824 # Use braces instead of parens because sh, perl, etc. also accept them.
825 # (The list follows the same order as the GNU Coding Standards.)
826 bindir
='${exec_prefix}/bin'
827 sbindir
='${exec_prefix}/sbin'
828 libexecdir
='${exec_prefix}/libexec'
829 datarootdir
='${prefix}/share'
830 datadir
='${datarootdir}'
831 sysconfdir
='${prefix}/etc'
832 sharedstatedir
='${prefix}/com'
833 localstatedir
='${prefix}/var'
834 includedir
='${prefix}/include'
835 oldincludedir
='/usr/include'
836 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
837 infodir
='${datarootdir}/info'
842 libdir
='${exec_prefix}/lib'
843 localedir
='${datarootdir}/locale'
844 mandir
='${datarootdir}/man'
850 # If the previous option needs an argument, assign it.
851 if test -n "$ac_prev"; then
852 eval $ac_prev=\
$ac_option
858 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
863 # Accept the important Cygnus configure options, so we can diagnose typos.
865 case $ac_dashdash$ac_option in
869 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
871 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
874 -build |
--build |
--buil |
--bui |
--bu)
875 ac_prev
=build_alias
;;
876 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
877 build_alias
=$ac_optarg ;;
879 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
880 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
881 ac_prev
=cache_file
;;
882 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
883 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
884 cache_file
=$ac_optarg ;;
887 cache_file
=config.cache
;;
889 -datadir |
--datadir |
--datadi |
--datad)
891 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
892 datadir
=$ac_optarg ;;
894 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
895 |
--dataroo |
--dataro |
--datar)
896 ac_prev
=datarootdir
;;
897 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
898 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
899 datarootdir
=$ac_optarg ;;
901 -disable-* |
--disable-*)
902 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
905 as_fn_error $?
"invalid feature name: $ac_useropt"
906 ac_useropt_orig
=$ac_useropt
907 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
908 case $ac_user_opts in
912 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
913 ac_unrecognized_sep
=', ';;
915 eval enable_
$ac_useropt=no
;;
917 -docdir |
--docdir |
--docdi |
--doc |
--do)
919 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
922 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
924 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
927 -enable-* |
--enable-*)
928 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
929 # Reject names that are not valid shell variable names.
930 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
931 as_fn_error $?
"invalid feature name: $ac_useropt"
932 ac_useropt_orig
=$ac_useropt
933 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
934 case $ac_user_opts in
938 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
939 ac_unrecognized_sep
=', ';;
941 eval enable_
$ac_useropt=\
$ac_optarg ;;
943 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
944 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
945 |
--exec |
--exe |
--ex)
946 ac_prev
=exec_prefix
;;
947 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
948 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
949 |
--exec=* |
--exe=* |
--ex=*)
950 exec_prefix
=$ac_optarg ;;
952 -gas |
--gas |
--ga |
--g)
953 # Obsolete; use --with-gas.
956 -help |
--help |
--hel |
--he |
-h)
958 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
959 ac_init_help
=recursive
;;
960 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
961 ac_init_help
=short
;;
963 -host |
--host |
--hos |
--ho)
964 ac_prev
=host_alias
;;
965 -host=* |
--host=* |
--hos=* |
--ho=*)
966 host_alias
=$ac_optarg ;;
968 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
970 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
972 htmldir
=$ac_optarg ;;
974 -includedir |
--includedir |
--includedi |
--included |
--include \
975 |
--includ |
--inclu |
--incl |
--inc)
976 ac_prev
=includedir
;;
977 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
978 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
979 includedir
=$ac_optarg ;;
981 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
983 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
984 infodir
=$ac_optarg ;;
986 -libdir |
--libdir |
--libdi |
--libd)
988 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
991 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
992 |
--libexe |
--libex |
--libe)
993 ac_prev
=libexecdir
;;
994 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
995 |
--libexe=* |
--libex=* |
--libe=*)
996 libexecdir
=$ac_optarg ;;
998 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1000 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1001 localedir
=$ac_optarg ;;
1003 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1004 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1005 ac_prev
=localstatedir
;;
1006 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1007 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1008 localstatedir
=$ac_optarg ;;
1010 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1012 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1013 mandir
=$ac_optarg ;;
1015 -nfp |
--nfp |
--nf)
1016 # Obsolete; use --without-fp.
1019 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1020 |
--no-cr |
--no-c |
-n)
1023 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1024 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1027 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1028 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1029 |
--oldin |
--oldi |
--old |
--ol |
--o)
1030 ac_prev
=oldincludedir
;;
1031 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1032 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1033 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1034 oldincludedir
=$ac_optarg ;;
1036 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1038 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1039 prefix
=$ac_optarg ;;
1041 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1042 |
--program-pre |
--program-pr |
--program-p)
1043 ac_prev
=program_prefix
;;
1044 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1045 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1046 program_prefix
=$ac_optarg ;;
1048 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1049 |
--program-suf |
--program-su |
--program-s)
1050 ac_prev
=program_suffix
;;
1051 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1052 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1053 program_suffix
=$ac_optarg ;;
1055 -program-transform-name |
--program-transform-name \
1056 |
--program-transform-nam |
--program-transform-na \
1057 |
--program-transform-n |
--program-transform- \
1058 |
--program-transform |
--program-transfor \
1059 |
--program-transfo |
--program-transf \
1060 |
--program-trans |
--program-tran \
1061 |
--progr-tra |
--program-tr |
--program-t)
1062 ac_prev
=program_transform_name
;;
1063 -program-transform-name=* |
--program-transform-name=* \
1064 |
--program-transform-nam=* |
--program-transform-na=* \
1065 |
--program-transform-n=* |
--program-transform-=* \
1066 |
--program-transform=* |
--program-transfor=* \
1067 |
--program-transfo=* |
--program-transf=* \
1068 |
--program-trans=* |
--program-tran=* \
1069 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1070 program_transform_name
=$ac_optarg ;;
1072 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1074 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1075 pdfdir
=$ac_optarg ;;
1077 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1079 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1082 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1083 |
-silent |
--silent |
--silen |
--sile |
--sil)
1086 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1088 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1090 sbindir
=$ac_optarg ;;
1092 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1093 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1094 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1096 ac_prev
=sharedstatedir
;;
1097 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1098 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1099 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1101 sharedstatedir
=$ac_optarg ;;
1103 -site |
--site |
--sit)
1105 -site=* |
--site=* |
--sit=*)
1108 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1110 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1111 srcdir
=$ac_optarg ;;
1113 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1114 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1115 ac_prev
=sysconfdir
;;
1116 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1117 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1118 sysconfdir
=$ac_optarg ;;
1120 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1121 ac_prev
=target_alias
;;
1122 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1123 target_alias
=$ac_optarg ;;
1125 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1128 -version |
--version |
--versio |
--versi |
--vers |
-V)
1129 ac_init_version
=: ;;
1132 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1133 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1135 as_fn_error $?
"invalid package name: $ac_useropt"
1136 ac_useropt_orig
=$ac_useropt
1137 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in
1142 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1143 ac_unrecognized_sep
=', ';;
1145 eval with_
$ac_useropt=\
$ac_optarg ;;
1147 -without-* |
--without-*)
1148 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1151 as_fn_error $?
"invalid package name: $ac_useropt"
1152 ac_useropt_orig
=$ac_useropt
1153 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1154 case $ac_user_opts in
1158 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1159 ac_unrecognized_sep
=', ';;
1161 eval with_
$ac_useropt=no
;;
1164 # Obsolete; use --with-x.
1167 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1168 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1169 ac_prev
=x_includes
;;
1170 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1171 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1172 x_includes
=$ac_optarg ;;
1174 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1175 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1176 ac_prev
=x_libraries
;;
1177 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1178 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1179 x_libraries
=$ac_optarg ;;
1181 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1182 Try \`$0 --help' for more information"
1186 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1187 # Reject names that are not valid shell variable names.
1188 case $ac_envvar in #(
1189 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1190 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1192 eval $ac_envvar=\
$ac_optarg
1193 export $ac_envvar ;;
1196 # FIXME: should be removed in autoconf 3.0.
1197 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1198 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1199 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1200 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1206 if test -n "$ac_prev"; then
1207 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1208 as_fn_error $?
"missing argument to $ac_option"
1211 if test -n "$ac_unrecognized_opts"; then
1212 case $enable_option_checking in
1214 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1215 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1219 # Check all directory arguments for consistency.
1220 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1221 datadir sysconfdir sharedstatedir localstatedir includedir \
1222 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1223 libdir localedir mandir
1225 eval ac_val
=\$
$ac_var
1226 # Remove trailing slashes.
1229 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1230 eval $ac_var=\
$ac_val;;
1232 # Be sure to have absolute directory names.
1234 [\\/$
]* | ?
:[\\/]* ) continue;;
1235 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1237 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1240 # There might be people who depend on the old broken behavior: `$host'
1241 # used to hold the argument of --host etc.
1242 # FIXME: To remove some day.
1245 target
=$target_alias
1247 # FIXME: To remove some day.
1248 if test "x$host_alias" != x
; then
1249 if test "x$build_alias" = x
; then
1250 cross_compiling
=maybe
1251 elif test "x$build_alias" != "x$host_alias"; then
1257 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1259 test "$silent" = yes && exec 6>/dev
/null
1262 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1263 ac_ls_di
=`ls -di .` &&
1264 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1265 as_fn_error $?
"working directory cannot be determined"
1266 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1267 as_fn_error $?
"pwd does not report name of working directory"
1270 # Find the source files, if location was not specified.
1271 if test -z "$srcdir"; then
1272 ac_srcdir_defaulted
=yes
1273 # Try the directory containing this script, then the parent directory.
1274 ac_confdir
=`$as_dirname -- "$as_myself" ||
1275 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1276 X"$as_myself" : 'X\(//\)[^/]' \| \
1277 X"$as_myself" : 'X\(//\)$' \| \
1278 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1279 $as_echo X"$as_myself" |
1280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1302 ac_srcdir_defaulted
=no
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1305 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1306 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1308 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1310 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1312 # When building in place, set srcdir=.
1313 if test "$ac_abs_confdir" = "$ac_pwd"; then
1316 # Remove unnecessary trailing slashes from srcdir.
1317 # Double slashes in file names in object file debugging info
1318 # mess up M-x gdb in Emacs.
1320 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1322 for ac_var
in $ac_precious_vars; do
1323 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1324 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1325 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1326 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1330 # Report the --help message.
1332 if test "$ac_init_help" = "long"; then
1333 # Omit some internal or obsolete options to make the list less imposing.
1334 # This message is too long to be a string in the A/UX 3.1 sh.
1336 \`configure' configures sim 0 to adapt to many kinds of systems.
1338 Usage: $0 [OPTION]... [VAR=VALUE]...
1340 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1341 VAR=VALUE. See below for descriptions of some of the useful variables.
1343 Defaults for the options are specified in brackets.
1346 -h, --help display this help and exit
1347 --help=short display options specific to this package
1348 --help=recursive display the short help of all the included packages
1349 -V, --version display version information and exit
1350 -q, --quiet, --silent do not print \`checking ...' messages
1351 --cache-file=FILE cache test results in FILE [disabled]
1352 -C, --config-cache alias for \`--cache-file=config.cache'
1353 -n, --no-create do not create output files
1354 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1356 Installation directories:
1357 --prefix=PREFIX install architecture-independent files in PREFIX
1358 [$ac_default_prefix]
1359 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1362 By default, \`make install' will install all the files in
1363 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1364 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1365 for instance \`--prefix=\$HOME'.
1367 For better control, use the options below.
1369 Fine tuning of the installation directories:
1370 --bindir=DIR user executables [EPREFIX/bin]
1371 --sbindir=DIR system admin executables [EPREFIX/sbin]
1372 --libexecdir=DIR program executables [EPREFIX/libexec]
1373 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1374 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1375 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1376 --libdir=DIR object code libraries [EPREFIX/lib]
1377 --includedir=DIR C header files [PREFIX/include]
1378 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1379 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1380 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1381 --infodir=DIR info documentation [DATAROOTDIR/info]
1382 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1383 --mandir=DIR man documentation [DATAROOTDIR/man]
1384 --docdir=DIR documentation root [DATAROOTDIR/doc/sim]
1385 --htmldir=DIR html documentation [DOCDIR]
1386 --dvidir=DIR dvi documentation [DOCDIR]
1387 --pdfdir=DIR pdf documentation [DOCDIR]
1388 --psdir=DIR ps documentation [DOCDIR]
1394 --program-prefix=PREFIX prepend PREFIX to installed program names
1395 --program-suffix=SUFFIX append SUFFIX to installed program names
1396 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1399 --build=BUILD configure
for building on BUILD
[guessed
]
1400 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1401 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1405 if test -n "$ac_init_help"; then
1406 case $ac_init_help in
1407 short | recursive
) echo "Configuration of sim 0:";;
1412 --disable-option-checking ignore unrecognized
--enable/--with options
1413 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1414 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1415 --enable-maintainer-mode
1416 enable make rules and dependencies not useful
(and
1417 sometimes confusing
) to the casual installer
1418 --enable-dependency-tracking
1419 do not reject slow dependency extractors
1420 --disable-dependency-tracking
1421 speeds up one-time build
1422 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1423 --disable-silent-rules verbose build output
(undo
: "make V=0")
1424 --enable-sim Enable the GNU simulator
1425 --enable-example-sims enable example GNU simulators
1426 --enable-targets alternative target configurations
1427 --enable-sim-assert Specify whether to perform random assertions
1428 --enable-sim-environment=environment
1429 Specify mixed
, user
, virtual or operating
1432 Some influential environment variables
:
1433 CC C compiler
command
1434 CFLAGS C compiler flags
1435 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1436 nonstandard directory
<lib dir
>
1437 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1438 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1439 you have headers
in a nonstandard directory
<include dir
>
1442 Use these variables to override the choices made by
`configure' or to help
1443 it to find libraries and programs with nonstandard names/locations.
1445 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
1446 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
1451 if test "$ac_init_help" = "recursive"; then
1452 # If there are subdirs, report their specific --help.
1453 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1454 test -d "$ac_dir" ||
1455 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1460 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1462 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1463 # A ".." for each directory in $ac_dir_suffix.
1464 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1465 case $ac_top_builddir_sub in
1466 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1467 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1470 ac_abs_top_builddir=$ac_pwd
1471 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1472 # for backward compatibility:
1473 ac_top_builddir=$ac_top_build_prefix
1476 .) # We are building in place.
1478 ac_top_srcdir=$ac_top_builddir_sub
1479 ac_abs_top_srcdir=$ac_pwd ;;
1480 [\\/]* | ?:[\\/]* ) # Absolute name.
1481 ac_srcdir=$srcdir$ac_dir_suffix;
1482 ac_top_srcdir=$srcdir
1483 ac_abs_top_srcdir=$srcdir ;;
1485 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1486 ac_top_srcdir=$ac_top_build_prefix$srcdir
1487 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1489 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1491 cd "$ac_dir" || { ac_status=$?; continue; }
1492 # Check for guested configure.
1493 if test -f "$ac_srcdir/configure.gnu"; then
1495 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1496 elif test -f "$ac_srcdir/configure"; then
1498 $SHELL "$ac_srcdir/configure" --help=recursive
1500 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1502 cd "$ac_pwd" || { ac_status=$?; break; }
1506 test -n "$ac_init_help" && exit $ac_status
1507 if $ac_init_version; then
1510 generated by GNU Autoconf 2.69
1512 Copyright (C) 2012 Free Software Foundation, Inc.
1513 This configure script is free software; the Free Software Foundation
1514 gives unlimited permission to copy, distribute and modify it.
1519 ## ------------------------ ##
1520 ## Autoconf initialization. ##
1521 ## ------------------------ ##
1523 # ac_fn_c_try_compile LINENO
1524 # --------------------------
1525 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1526 ac_fn_c_try_compile ()
1528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1529 rm -f conftest.$ac_objext
1530 if { { ac_try="$ac_compile"
1532 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1533 *) ac_try_echo
=$ac_try;;
1535 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1536 $as_echo "$ac_try_echo"; } >&5
1537 (eval "$ac_compile") 2>conftest.err
1539 if test -s conftest.err
; then
1540 grep -v '^ *+' conftest.err
>conftest.er1
1541 cat conftest.er1
>&5
1542 mv -f conftest.er1 conftest.err
1544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1545 test $ac_status = 0; } && {
1546 test -z "$ac_c_werror_flag" ||
1547 test ! -s conftest.err
1548 } && test -s conftest.
$ac_objext; then :
1551 $as_echo "$as_me: failed program was:" >&5
1552 sed 's/^/| /' conftest.
$ac_ext >&5
1556 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1557 as_fn_set_status
$ac_retval
1559 } # ac_fn_c_try_compile
1561 # ac_fn_c_try_cpp LINENO
1562 # ----------------------
1563 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1566 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1567 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1570 *) ac_try_echo=$ac_try;;
1572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1573 $as_echo "$ac_try_echo"; } >&5
1574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1576 if test -s conftest.err; then
1577 grep -v '^ *+' conftest.err >conftest.er1
1578 cat conftest.er1 >&5
1579 mv -f conftest.er1 conftest.err
1581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1582 test $ac_status = 0; } > conftest.i && {
1583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1584 test ! -s conftest.err
1588 $as_echo "$as_me: failed program was:" >&5
1589 sed 's/^/| /' conftest.$ac_ext >&5
1593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1594 as_fn_set_status $ac_retval
1598 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1599 # -------------------------------------------------------
1600 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1601 # the include files in INCLUDES and setting the cache variable VAR
1603 ac_fn_c_check_header_mongrel ()
1605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1606 if eval \${$3+:} false; then :
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1608 $as_echo_n "checking for $2... " >&6; }
1609 if eval \${$3+:} false; then :
1610 $as_echo_n "(cached) " >&6
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1614 $as_echo "$ac_res" >&6; }
1616 # Is the header compilable?
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1618 $as_echo_n "checking $2 usability... " >&6; }
1619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1620 /* end confdefs.h. */
1624 if ac_fn_c_try_compile "$LINENO"; then :
1625 ac_header_compiler=yes
1627 ac_header_compiler=no
1629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1631 $as_echo "$ac_header_compiler" >&6; }
1633 # Is the header present?
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1635 $as_echo_n "checking $2 presence... " >&6; }
1636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1637 /* end confdefs.h. */
1640 if ac_fn_c_try_cpp "$LINENO"; then :
1641 ac_header_preproc=yes
1643 ac_header_preproc=no
1645 rm -f conftest.err conftest.i conftest.$ac_ext
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1647 $as_echo "$ac_header_preproc" >&6; }
1649 # So? What about this header?
1650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1653 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1655 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1659 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1661 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1663 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1665 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1667 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1668 ( $as_echo "## -------------------------------------------------------------------------------------- ##
1669 ## Report this to https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim ##
1670 ## -------------------------------------------------------------------------------------- ##"
1671 ) | sed "s/^/$as_me: WARNING: /" >&2
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675 $as_echo_n "checking for $2... " >&6; }
1676 if eval \${$3+:} false; then :
1677 $as_echo_n "(cached) " >&6
1679 eval "$3=\$ac_header_compiler"
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687 } # ac_fn_c_check_header_mongrel
1689 # ac_fn_c_try_run LINENO
1690 # ----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1692 # that executables *can* be run.
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 if { { ac_try="$ac_link"
1698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1699 *) ac_try_echo
=$ac_try;;
1701 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_link") 2>&5
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1707 { { case "(($ac_try" in
1708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_try") 2>&5
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; }; }; then :
1719 $as_echo "$as_me: program exited with status $ac_status" >&5
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1723 ac_retval=$ac_status
1725 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 as_fn_set_status $ac_retval
1731 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1732 # -------------------------------------------------------
1733 # Tests whether HEADER exists and can be compiled using the include files in
1734 # INCLUDES, setting the cache variable VAR accordingly.
1735 ac_fn_c_check_header_compile ()
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if eval \${$3+:} false; then :
1741 $as_echo_n "(cached) " >&6
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1748 if ac_fn_c_try_compile "$LINENO"; then :
1753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1757 $as_echo "$ac_res" >&6; }
1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760 } # ac_fn_c_check_header_compile
1762 # ac_fn_c_try_link LINENO
1763 # -----------------------
1764 # Try to link conftest.$ac_ext, and return whether this succeeded.
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 rm -f conftest.$ac_objext conftest$ac_exeext
1769 if { { ac_try="$ac_link"
1771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1772 *) ac_try_echo
=$ac_try;;
1774 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_link") 2>conftest.err
1778 if test -s conftest.err
; then
1779 grep -v '^ *+' conftest.err
>conftest.er1
1780 cat conftest.er1
>&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && {
1785 test -z "$ac_c_werror_flag" ||
1786 test ! -s conftest.err
1787 } && test -s conftest
$ac_exeext && {
1788 test "$cross_compiling" = yes ||
1789 test -x conftest
$ac_exeext
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.
$ac_ext >&5
1798 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1799 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1800 # interfere with the next link command; also delete a directory that is
1801 # left behind by Apple's compiler. We do this before executing the actions.
1802 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804 as_fn_set_status
$ac_retval
1806 } # ac_fn_c_try_link
1808 # ac_fn_c_check_func LINENO FUNC VAR
1809 # ----------------------------------
1810 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1811 ac_fn_c_check_func
()
1813 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if eval \
${$3+:} false
; then :
1817 $as_echo_n "(cached) " >&6
1819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1820 /* end confdefs.h. */
1821 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1823 #define $2 innocuous_$2
1825 /* System header to define __stub macros and hopefully few prototypes,
1826 which can conflict with char $2 (); below.
1827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1828 <limits.h> exists even on freestanding compilers. */
1831 # include <limits.h>
1833 # include <assert.h>
1838 /* Override any GCC internal prototype to avoid an error.
1839 Use char because int might match the return type of a GCC
1840 builtin and then its argument prototype would still apply. */
1845 /* The GNU C library defines this for functions which it implements
1846 to always fail with ENOSYS. Some functions are actually named
1847 something starting with __ and the normal name is an alias. */
1848 #if defined __stub_$2 || defined __stub___$2
1860 if ac_fn_c_try_link
"$LINENO"; then :
1865 rm -f core conftest.err conftest.
$ac_objext \
1866 conftest
$ac_exeext conftest.
$ac_ext
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870 $as_echo "$ac_res" >&6; }
1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873 } # ac_fn_c_check_func
1875 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1876 # ----------------------------------------------------
1877 # Tries to find if the field MEMBER exists in type AGGR, after including
1878 # INCLUDES, setting cache variable VAR accordingly.
1879 ac_fn_c_check_member
()
1881 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1883 $as_echo_n "checking for $2.$3... " >&6; }
1884 if eval \
${$4+:} false
; then :
1885 $as_echo_n "(cached) " >&6
1887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1900 if ac_fn_c_try_compile
"$LINENO"; then :
1903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1910 if (sizeof ac_aggr.$3)
1916 if ac_fn_c_try_compile
"$LINENO"; then :
1921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930 } # ac_fn_c_check_member
1932 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1933 # -------------------------------------------
1934 # Tests whether TYPE exists after having included INCLUDES, setting cache
1935 # variable VAR accordingly.
1936 ac_fn_c_check_type
()
1938 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1940 $as_echo_n "checking for $2... " >&6; }
1941 if eval \
${$3+:} false
; then :
1942 $as_echo_n "(cached) " >&6
1945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h. */
1957 if ac_fn_c_try_compile
"$LINENO"; then :
1958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h. */
1970 if ac_fn_c_try_compile
"$LINENO"; then :
1975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1984 } # ac_fn_c_check_type
1985 cat >config.log
<<_ACEOF
1986 This file contains any messages produced by compilers while
1987 running configure, to aid debugging if configure makes a mistake.
1989 It was created by sim $as_me 0, which was
1990 generated by GNU Autoconf 2.69. Invocation command line was
2002 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2003 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2004 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2005 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2006 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2008 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2009 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2011 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2012 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2013 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2014 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2015 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2016 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2017 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2025 test -z "$as_dir" && as_dir
=.
2026 $as_echo "PATH: $as_dir"
2042 # Keep a trace of the command line.
2043 # Strip out --no-create and --no-recursion so they do not pile up.
2044 # Strip out --silent because we don't want to record it for future runs.
2045 # Also quote any args containing shell meta-characters.
2046 # Make two passes to allow for proper duplicate-argument suppression.
2050 ac_must_keep_next
=false
2056 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2057 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2058 |
-silent |
--silent |
--silen |
--sile |
--sil)
2061 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2064 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2066 as_fn_append ac_configure_args1
" '$ac_arg'"
2067 if test $ac_must_keep_next = true
; then
2068 ac_must_keep_next
=false
# Got value, back to normal.
2071 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2072 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2073 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2074 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2075 case "$ac_configure_args0 " in
2076 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2079 -* ) ac_must_keep_next
=true
;;
2082 as_fn_append ac_configure_args
" '$ac_arg'"
2087 { ac_configure_args0
=; unset ac_configure_args0
;}
2088 { ac_configure_args1
=; unset ac_configure_args1
;}
2090 # When interrupted or exit'd, cleanup temporary files, and complete
2091 # config.log. We remove comments because anyway the quotes in there
2092 # would cause problems or look ugly.
2093 # WARNING: Use '\'' to represent an apostrophe within the trap.
2094 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2095 trap 'exit_status=$?
2096 # Save into config.log some information that might help in debugging.
2100 $as_echo "## ---------------- ##
2101 ## Cache variables. ##
2102 ## ---------------- ##"
2104 # The following way of writing the cache mishandles newlines in values,
2106 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2107 eval ac_val=\$$ac_var
2111 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2112 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2115 _ | IFS | as_nl) ;; #(
2116 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2117 *) { eval $ac_var=; unset $ac_var;} ;;
2122 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2123 *${as_nl}ac_space=\ *)
2125 "s/'\''/'\''\\\\'\'''\''/g;
2126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2129 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2136 $as_echo "## ----------------- ##
2137 ## Output variables. ##
2138 ## ----------------- ##"
2140 for ac_var in $ac_subst_vars
2142 eval ac_val=\$$ac_var
2144 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2146 $as_echo "$ac_var='\''$ac_val'\''"
2150 if test -n "$ac_subst_files"; then
2151 $as_echo "## ------------------- ##
2152 ## File substitutions. ##
2153 ## ------------------- ##"
2155 for ac_var
in $ac_subst_files
2157 eval ac_val
=\$
$ac_var
2159 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2161 $as_echo "$ac_var='\''$ac_val'\''"
2166 if test -s confdefs.h; then
2167 $as_echo "## ----------- ##
2174 test "$ac_signal" != 0 &&
2175 $as_echo "$as_me: caught signal $ac_signal"
2176 $as_echo "$as_me: exit $exit_status"
2178 rm -f core *.core core.conftest.* &&
2179 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2182 for ac_signal
in 1 2 13 15; do
2183 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2188 rm -f -r conftest
* confdefs.h
2190 $as_echo "/* confdefs.h */" > confdefs.h
2192 # Predefined preprocessor variables.
2194 cat >>confdefs.h
<<_ACEOF
2195 #define PACKAGE_NAME "$PACKAGE_NAME"
2198 cat >>confdefs.h
<<_ACEOF
2199 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2202 cat >>confdefs.h
<<_ACEOF
2203 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2206 cat >>confdefs.h
<<_ACEOF
2207 #define PACKAGE_STRING "$PACKAGE_STRING"
2210 cat >>confdefs.h
<<_ACEOF
2211 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2214 cat >>confdefs.h
<<_ACEOF
2215 #define PACKAGE_URL "$PACKAGE_URL"
2219 # Let the site file select an alternate cache file if it wants to.
2220 # Prefer an explicitly selected file to automatically selected ones.
2223 if test -n "$CONFIG_SITE"; then
2224 # We do not want a PATH search for config.site.
2225 case $CONFIG_SITE in #((
2226 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2227 */*) ac_site_file1
=$CONFIG_SITE;;
2228 *) ac_site_file1
=.
/$CONFIG_SITE;;
2230 elif test "x$prefix" != xNONE
; then
2231 ac_site_file1
=$prefix/share
/config.site
2232 ac_site_file2
=$prefix/etc
/config.site
2234 ac_site_file1
=$ac_default_prefix/share
/config.site
2235 ac_site_file2
=$ac_default_prefix/etc
/config.site
2237 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2239 test "x$ac_site_file" = xNONE
&& continue
2240 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2242 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2243 sed 's/^/| /' "$ac_site_file" >&5
2245 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2247 as_fn_error $?
"failed to load site script $ac_site_file
2248 See \`config.log' for more details" "$LINENO" 5; }
2252 if test -r "$cache_file"; then
2253 # Some versions of bash will fail to source /dev/null (special files
2254 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2255 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2257 $as_echo "$as_me: loading cache $cache_file" >&6;}
2259 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2260 *) .
"./$cache_file";;
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2265 $as_echo "$as_me: creating cache $cache_file" >&6;}
2269 as_fn_append ac_header_list
" dlfcn.h"
2270 as_fn_append ac_header_list
" fcntl.h"
2271 as_fn_append ac_header_list
" fpu_control.h"
2272 as_fn_append ac_header_list
" termios.h"
2273 as_fn_append ac_header_list
" unistd.h"
2274 as_fn_append ac_header_list
" utime.h"
2275 as_fn_append ac_header_list
" linux/if_tun.h"
2276 as_fn_append ac_header_list
" linux/mii.h"
2277 as_fn_append ac_header_list
" linux/types.h"
2278 as_fn_append ac_header_list
" net/if.h"
2279 as_fn_append ac_header_list
" netinet/in.h"
2280 as_fn_append ac_header_list
" netinet/tcp.h"
2281 as_fn_append ac_header_list
" sys/ioctl.h"
2282 as_fn_append ac_header_list
" sys/mman.h"
2283 as_fn_append ac_header_list
" sys/param.h"
2284 as_fn_append ac_header_list
" sys/resource.h"
2285 as_fn_append ac_header_list
" sys/select.h"
2286 as_fn_append ac_header_list
" sys/socket.h"
2287 as_fn_append ac_header_list
" sys/stat.h"
2288 as_fn_append ac_func_list
" __setfpucw"
2289 as_fn_append ac_func_list
" aint"
2290 as_fn_append ac_func_list
" anint"
2291 as_fn_append ac_func_list
" chmod"
2292 as_fn_append ac_func_list
" execv"
2293 as_fn_append ac_func_list
" execve"
2294 as_fn_append ac_func_list
" fork"
2295 as_fn_append ac_func_list
" ftruncate"
2296 as_fn_append ac_func_list
" geteuid"
2297 as_fn_append ac_func_list
" getegid"
2298 as_fn_append ac_func_list
" getgid"
2299 as_fn_append ac_func_list
" getrusage"
2300 as_fn_append ac_func_list
" getuid"
2301 as_fn_append ac_func_list
" kill"
2302 as_fn_append ac_func_list
" lstat"
2303 as_fn_append ac_func_list
" mmap"
2304 as_fn_append ac_func_list
" munmap"
2305 as_fn_append ac_func_list
" posix_fallocate"
2306 as_fn_append ac_func_list
" pread"
2307 as_fn_append ac_func_list
" setuid"
2308 as_fn_append ac_func_list
" setgid"
2309 as_fn_append ac_func_list
" sigaction"
2310 as_fn_append ac_func_list
" sqrt"
2311 as_fn_append ac_func_list
" strsignal"
2312 as_fn_append ac_func_list
" time"
2313 as_fn_append ac_func_list
" truncate"
2314 as_fn_append ac_func_list
" utime"
2315 # Check that the precious variables saved in the cache have kept the same
2317 ac_cache_corrupted
=false
2318 for ac_var
in $ac_precious_vars; do
2319 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2320 eval ac_new_set
=\
$ac_env_${ac_var}_set
2321 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2322 eval ac_new_val
=\
$ac_env_${ac_var}_value
2323 case $ac_old_set,$ac_new_set in
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2326 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2327 ac_cache_corrupted
=: ;;
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2330 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2331 ac_cache_corrupted
=: ;;
2334 if test "x$ac_old_val" != "x$ac_new_val"; then
2335 # differences in whitespace do not lead to failure.
2336 ac_old_val_w
=`echo x $ac_old_val`
2337 ac_new_val_w
=`echo x $ac_new_val`
2338 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2340 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2341 ac_cache_corrupted
=:
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2344 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2345 eval $ac_var=\
$ac_old_val
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2348 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2350 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2353 # Pass precious variables to config.status.
2354 if test "$ac_new_set" = set; then
2356 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2357 *) ac_arg
=$ac_var=$ac_new_val ;;
2359 case " $ac_configure_args " in
2360 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2361 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2365 if $ac_cache_corrupted; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2369 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2370 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2372 ## -------------------- ##
2373 ## Main body of script. ##
2374 ## -------------------- ##
2377 ac_cpp
='$CPP $CPPFLAGS'
2378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2387 ac_config_headers
="$ac_config_headers config.h"
2391 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2392 if test -f "$ac_dir/install-sh"; then
2394 ac_install_sh
="$ac_aux_dir/install-sh -c"
2396 elif test -f "$ac_dir/install.sh"; then
2398 ac_install_sh
="$ac_aux_dir/install.sh -c"
2400 elif test -f "$ac_dir/shtool"; then
2402 ac_install_sh
="$ac_aux_dir/shtool install -c"
2406 if test -z "$ac_aux_dir"; then
2407 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2410 # These three variables are undocumented and unsupported,
2411 # and are intended to be withdrawn in a future Autoconf release.
2412 # They can cause serious problems if a builder's source tree is in a directory
2413 # whose full name contains unusual characters.
2414 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2415 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2416 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2419 # Make sure we can run config.sub.
2420 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2421 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2424 $as_echo_n "checking build system type... " >&6; }
2425 if ${ac_cv_build+:} false
; then :
2426 $as_echo_n "(cached) " >&6
2428 ac_build_alias
=$build_alias
2429 test "x$ac_build_alias" = x
&&
2430 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2431 test "x$ac_build_alias" = x
&&
2432 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2433 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2434 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2438 $as_echo "$ac_cv_build" >&6; }
2439 case $ac_cv_build in
2441 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2444 ac_save_IFS
=$IFS; IFS
='-'
2450 # Remember, the first character of IFS is used to create $*,
2451 # except with old shells:
2454 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2458 $as_echo_n "checking host system type... " >&6; }
2459 if ${ac_cv_host+:} false
; then :
2460 $as_echo_n "(cached) " >&6
2462 if test "x$host_alias" = x
; then
2463 ac_cv_host
=$ac_cv_build
2465 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2466 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2471 $as_echo "$ac_cv_host" >&6; }
2474 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2477 ac_save_IFS
=$IFS; IFS
='-'
2483 # Remember, the first character of IFS is used to create $*,
2484 # except with old shells:
2487 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2491 $as_echo_n "checking target system type... " >&6; }
2492 if ${ac_cv_target+:} false
; then :
2493 $as_echo_n "(cached) " >&6
2495 if test "x$target_alias" = x
; then
2496 ac_cv_target
=$ac_cv_host
2498 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2499 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2504 $as_echo "$ac_cv_target" >&6; }
2505 case $ac_cv_target in
2507 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2509 target
=$ac_cv_target
2510 ac_save_IFS
=$IFS; IFS
='-'
2516 # Remember, the first character of IFS is used to create $*,
2517 # except with old shells:
2520 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2523 # The aliases save the names the user supplied, while $host etc.
2524 # will get canonicalized.
2525 test -n "$target_alias" &&
2526 test "$program_prefix$program_suffix$program_transform_name" = \
2528 program_prefix
=${target_alias}-
2529 # Expand $ac_aux_dir to an absolute path.
2530 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2533 ac_cpp
='$CPP $CPPFLAGS'
2534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2537 if test -n "$ac_tool_prefix"; then
2538 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2539 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2541 $as_echo_n "checking for $ac_word... " >&6; }
2542 if ${ac_cv_prog_CC+:} false
; then :
2543 $as_echo_n "(cached) " >&6
2545 if test -n "$CC"; then
2546 ac_cv_prog_CC
="$CC" # Let the user override the test.
2548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2552 test -z "$as_dir" && as_dir
=.
2553 for ac_exec_ext
in '' $ac_executable_extensions; do
2554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2555 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2566 if test -n "$CC"; then
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2568 $as_echo "$CC" >&6; }
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2571 $as_echo "no" >&6; }
2576 if test -z "$ac_cv_prog_CC"; then
2578 # Extract the first word of "gcc", so it can be a program name with args.
2579 set dummy gcc
; ac_word
=$2
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2581 $as_echo_n "checking for $ac_word... " >&6; }
2582 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2583 $as_echo_n "(cached) " >&6
2585 if test -n "$ac_ct_CC"; then
2586 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2592 test -z "$as_dir" && as_dir
=.
2593 for ac_exec_ext
in '' $ac_executable_extensions; do
2594 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2595 ac_cv_prog_ac_ct_CC
="gcc"
2596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2605 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2606 if test -n "$ac_ct_CC"; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2608 $as_echo "$ac_ct_CC" >&6; }
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611 $as_echo "no" >&6; }
2614 if test "x$ac_ct_CC" = x
; then
2617 case $cross_compiling:$ac_tool_warned in
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2621 ac_tool_warned
=yes ;;
2629 if test -z "$CC"; then
2630 if test -n "$ac_tool_prefix"; then
2631 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2632 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2634 $as_echo_n "checking for $ac_word... " >&6; }
2635 if ${ac_cv_prog_CC+:} false
; then :
2636 $as_echo_n "(cached) " >&6
2638 if test -n "$CC"; then
2639 ac_cv_prog_CC
="$CC" # Let the user override the test.
2641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2645 test -z "$as_dir" && as_dir
=.
2646 for ac_exec_ext
in '' $ac_executable_extensions; do
2647 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2648 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 if test -n "$CC"; then
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2661 $as_echo "$CC" >&6; }
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2664 $as_echo "no" >&6; }
2670 if test -z "$CC"; then
2671 # Extract the first word of "cc", so it can be a program name with args.
2672 set dummy cc
; ac_word
=$2
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2674 $as_echo_n "checking for $ac_word... " >&6; }
2675 if ${ac_cv_prog_CC+:} false
; then :
2676 $as_echo_n "(cached) " >&6
2678 if test -n "$CC"; then
2679 ac_cv_prog_CC
="$CC" # Let the user override the test.
2682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2686 test -z "$as_dir" && as_dir
=.
2687 for ac_exec_ext
in '' $ac_executable_extensions; do
2688 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2689 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2690 ac_prog_rejected
=yes
2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 if test $ac_prog_rejected = yes; then
2702 # We found a bogon in the path, so make sure we never use it.
2703 set dummy
$ac_cv_prog_CC
2705 if test $# != 0; then
2706 # We chose a different compiler from the bogus one.
2707 # However, it has the same basename, so the bogon will be chosen
2708 # first if we set CC to just the basename; use the full file name.
2710 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2716 if test -n "$CC"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2718 $as_echo "$CC" >&6; }
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2726 if test -z "$CC"; then
2727 if test -n "$ac_tool_prefix"; then
2728 for ac_prog
in cl.exe
2730 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2731 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733 $as_echo_n "checking for $ac_word... " >&6; }
2734 if ${ac_cv_prog_CC+:} false
; then :
2735 $as_echo_n "(cached) " >&6
2737 if test -n "$CC"; then
2738 ac_cv_prog_CC
="$CC" # Let the user override the test.
2740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2744 test -z "$as_dir" && as_dir
=.
2745 for ac_exec_ext
in '' $ac_executable_extensions; do
2746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2747 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 if test -n "$CC"; then
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2760 $as_echo "$CC" >&6; }
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763 $as_echo "no" >&6; }
2767 test -n "$CC" && break
2770 if test -z "$CC"; then
2772 for ac_prog
in cl.exe
2774 # Extract the first word of "$ac_prog", so it can be a program name with args.
2775 set dummy
$ac_prog; ac_word
=$2
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2777 $as_echo_n "checking for $ac_word... " >&6; }
2778 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2779 $as_echo_n "(cached) " >&6
2781 if test -n "$ac_ct_CC"; then
2782 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2788 test -z "$as_dir" && as_dir
=.
2789 for ac_exec_ext
in '' $ac_executable_extensions; do
2790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2791 ac_cv_prog_ac_ct_CC
="$ac_prog"
2792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2802 if test -n "$ac_ct_CC"; then
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2804 $as_echo "$ac_ct_CC" >&6; }
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2807 $as_echo "no" >&6; }
2811 test -n "$ac_ct_CC" && break
2814 if test "x$ac_ct_CC" = x
; then
2817 case $cross_compiling:$ac_tool_warned in
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2821 ac_tool_warned
=yes ;;
2830 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2832 as_fn_error $?
"no acceptable C compiler found in \$PATH
2833 See \`config.log' for more details" "$LINENO" 5; }
2835 # Provide some information about the compiler.
2836 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2839 for ac_option
in --version -v -V -qversion; do
2840 { { ac_try
="$ac_compiler $ac_option >&5"
2842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2846 $as_echo "$ac_try_echo"; } >&5
2847 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2849 if test -s conftest.err; then
2851 ... rest of stderr output deleted ...
2852 10q' conftest.err >conftest.er1
2853 cat conftest.er1 >&5
2855 rm -f conftest.er1 conftest.err
2856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2857 test $ac_status = 0; }
2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2861 /* end confdefs.h. */
2871 ac_clean_files_save=$ac_clean_files
2872 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2873 # Try to create an executable without -o first, disregard a.out.
2874 # It will help us diagnose broken compilers, and finding out an intuition
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2877 $as_echo_n "checking whether the C compiler works... " >&6; }
2878 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2880 # The possible output files:
2881 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2884 for ac_file in $ac_files
2887 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2888 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2893 if { { ac_try="$ac_link_default"
2895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2896 *) ac_try_echo
=$ac_try;;
2898 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2899 $as_echo "$ac_try_echo"; } >&5
2900 (eval "$ac_link_default") 2>&5
2902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2903 test $ac_status = 0; }; then :
2904 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2905 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2906 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2907 # so that the user can short-circuit this test for compilers unknown to
2909 for ac_file
in $ac_files ''
2911 test -f "$ac_file" ||
continue
2913 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2916 # We found the default executable, but exeext='' is most
2920 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2922 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2924 # We set ac_cv_exeext here because the later test for it is not
2925 # safe: cross compilers may not add the suffix if given an `-o'
2926 # argument, so we may need to know it at that point already.
2927 # Even if this section looks crufty: it has the advantage of
2934 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2939 if test -z "$ac_file"; then :
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941 $as_echo "no" >&6; }
2942 $as_echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.
$ac_ext >&5
2945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2947 as_fn_error
77 "C compiler cannot create executables
2948 See \`config.log' for more details" "$LINENO" 5; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2951 $as_echo "yes" >&6; }
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2954 $as_echo_n "checking for C compiler default output file name... " >&6; }
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2956 $as_echo "$ac_file" >&6; }
2957 ac_exeext
=$ac_cv_exeext
2959 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2960 ac_clean_files
=$ac_clean_files_save
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2962 $as_echo_n "checking for suffix of executables... " >&6; }
2963 if { { ac_try
="$ac_link"
2965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2969 $as_echo "$ac_try_echo"; } >&5
2970 (eval "$ac_link") 2>&5
2972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2973 test $ac_status = 0; }; then :
2974 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2975 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2976 # work properly (i.e., refer to `conftest.exe'), while it won't with
2978 for ac_file
in conftest.exe conftest conftest.
*; do
2979 test -f "$ac_file" ||
continue
2981 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2982 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2988 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2990 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2991 See \`config.log' for more details" "$LINENO" 5; }
2993 rm -f conftest conftest
$ac_cv_exeext
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2995 $as_echo "$ac_cv_exeext" >&6; }
2997 rm -f conftest.
$ac_ext
2998 EXEEXT
=$ac_cv_exeext
3000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h. */
3006 FILE *f = fopen ("conftest.out", "w");
3007 return ferror (f) || fclose (f) != 0;
3013 ac_clean_files
="$ac_clean_files conftest.out"
3014 # Check that the compiler produces executables we can run. If not, either
3015 # the compiler is broken, or we cross compile.
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3017 $as_echo_n "checking whether we are cross compiling... " >&6; }
3018 if test "$cross_compiling" != yes; then
3019 { { ac_try
="$ac_link"
3021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3025 $as_echo "$ac_try_echo"; } >&5
3026 (eval "$ac_link") 2>&5
3028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3029 test $ac_status = 0; }
3030 if { ac_try='./conftest$ac_cv_exeext'
3031 { { case "(($ac_try" in
3032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3033 *) ac_try_echo
=$ac_try;;
3035 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3036 $as_echo "$ac_try_echo"; } >&5
3037 (eval "$ac_try") 2>&5
3039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3040 test $ac_status = 0; }; }; then
3043 if test "$cross_compiling" = maybe
; then
3046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3048 as_fn_error $?
"cannot run C compiled programs.
3049 If you meant to cross compile, use \`--host'.
3050 See \`config.log' for more details" "$LINENO" 5; }
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3055 $as_echo "$cross_compiling" >&6; }
3057 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3058 ac_clean_files
=$ac_clean_files_save
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3060 $as_echo_n "checking for suffix of object files... " >&6; }
3061 if ${ac_cv_objext+:} false
; then :
3062 $as_echo_n "(cached) " >&6
3064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3065 /* end confdefs.h. */
3075 rm -f conftest.o conftest.obj
3076 if { { ac_try
="$ac_compile"
3078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3082 $as_echo "$ac_try_echo"; } >&5
3083 (eval "$ac_compile") 2>&5
3085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3086 test $ac_status = 0; }; then :
3087 for ac_file in conftest.o conftest.obj conftest.*; do
3088 test -f "$ac_file" || continue;
3090 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3091 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3096 $as_echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3101 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3102 See \
`config.log' for more details" "$LINENO" 5; }
3104 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3107 $as_echo "$ac_cv_objext" >&6; }
3108 OBJEXT=$ac_cv_objext
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3111 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3112 if ${ac_cv_c_compiler_gnu+:} false; then :
3113 $as_echo_n "(cached) " >&6
3115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3116 /* end confdefs.h. */
3129 if ac_fn_c_try_compile "$LINENO"; then :
3134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3135 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3139 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3140 if test $ac_compiler_gnu = yes; then
3145 ac_test_CFLAGS=${CFLAGS+set}
3146 ac_save_CFLAGS=$CFLAGS
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3148 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3149 if ${ac_cv_prog_cc_g+:} false; then :
3150 $as_echo_n "(cached) " >&6
3152 ac_save_c_werror_flag=$ac_c_werror_flag
3153 ac_c_werror_flag=yes
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3167 if ac_fn_c_try_compile "$LINENO"; then :
3171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h. */
3182 if ac_fn_c_try_compile "$LINENO"; then :
3185 ac_c_werror_flag=$ac_save_c_werror_flag
3187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3188 /* end confdefs.h. */
3198 if ac_fn_c_try_compile "$LINENO"; then :
3201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206 ac_c_werror_flag=$ac_save_c_werror_flag
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3209 $as_echo "$ac_cv_prog_cc_g" >&6; }
3210 if test "$ac_test_CFLAGS" = set; then
3211 CFLAGS=$ac_save_CFLAGS
3212 elif test $ac_cv_prog_cc_g = yes; then
3213 if test "$GCC" = yes; then
3219 if test "$GCC" = yes; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3226 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3227 if ${ac_cv_prog_cc_c89+:} false; then :
3228 $as_echo_n "(cached) " >&6
3230 ac_cv_prog_cc_c89=no
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3237 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3238 struct buf { int x; };
3239 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3240 static char *e (p, i)
3246 static char *f (char * (*g) (char **, int), char **p, ...)
3251 s = g (p, va_arg (v,int));
3256 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3257 function prototypes and stuff, but not '\xHH' hex character constants.
3258 These don't provoke an error unfortunately, instead are silently treated
3259 as 'x'. The following induces an error, until -std is added to get
3260 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3261 array size at least. It's necessary to write '\x00'==0 to get something
3262 that's true only with -std. */
3263 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3265 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3266 inside strings and character constants. */
3268 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3270 int test (int i, double x);
3271 struct s1 {int (*f) (int a);};
3272 struct s2 {int (*f) (double a);};
3273 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3279 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3284 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3285 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3287 CC="$ac_save_CC $ac_arg"
3288 if ac_fn_c_try_compile "$LINENO"; then :
3289 ac_cv_prog_cc_c89=$ac_arg
3291 rm -f core conftest.err conftest.$ac_objext
3292 test "x$ac_cv_prog_cc_c89" != "xno" && break
3294 rm -f conftest.$ac_ext
3299 case "x$ac_cv_prog_cc_c89" in
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3302 $as_echo "none needed" >&6; } ;;
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3305 $as_echo "unsupported" >&6; } ;;
3307 CC="$CC $ac_cv_prog_cc_c89"
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3309 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3311 if test "x$ac_cv_prog_cc_c89" != xno; then :
3316 ac_cpp='$CPP $CPPFLAGS'
3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 ac_cpp='$CPP $CPPFLAGS'
3323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3327 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3328 if ${am_cv_prog_cc_c_o+:} false; then :
3329 $as_echo_n "(cached) " >&6
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h. */
3342 # Make sure it works both with $CC and with simple cc.
3343 # Following AC_PROG_CC_C_O, we do the test twice because some
3344 # compilers refuse to overwrite an existing .o file with -o,
3345 # though they will create one.
3346 am_cv_prog_cc_c_o=yes
3348 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3349 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); } \
3353 && test -f conftest2.$ac_objext; then
3356 am_cv_prog_cc_c_o=no
3360 rm -f core conftest*
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3364 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3365 if test "$am_cv_prog_cc_c_o" != yes; then
3366 # Losing compiler, so override with the script.
3367 # FIXME: It is wrong to rewrite CC.
3368 # But if we don't then we get into trouble of one sort or another.
3369 # A longer-term fix would be to have automake use am__CC in this case,
3370 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3371 CC="$am_aux_dir/compile $CC"
3374 ac_cpp='$CPP $CPPFLAGS'
3375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3382 ac_cpp='$CPP $CPPFLAGS'
3383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3387 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3388 # On Suns, sometimes $CPP names a directory.
3389 if test -n "$CPP" && test -d "$CPP"; then
3392 if test -z "$CPP"; then
3393 if ${ac_cv_prog_CPP+:} false; then :
3394 $as_echo_n "(cached) " >&6
3396 # Double quotes because CPP needs to be expanded
3397 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3400 for ac_c_preproc_warn_flag in '' yes
3402 # Use a header file that comes with gcc, so configuring glibc
3403 # with a fresh cross-compiler works.
3404 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3405 # <limits.h> exists even on freestanding compilers.
3406 # On the NeXT, cc -E runs the code through the compiler's parser,
3407 # not just through cpp. "Syntax error" is here to catch this case.
3408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3409 /* end confdefs.h. */
3411 # include <limits.h>
3413 # include <assert.h>
3417 if ac_fn_c_try_cpp "$LINENO"; then :
3420 # Broken: fails on valid input.
3423 rm -f conftest.err conftest.i conftest.$ac_ext
3425 # OK, works on sane cases. Now check whether nonexistent headers
3426 # can be detected and how.
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3429 #include <ac_nonexistent.h>
3431 if ac_fn_c_try_cpp "$LINENO"; then :
3432 # Broken: success on invalid input.
3435 # Passes both tests.
3439 rm -f conftest.err conftest.i conftest.$ac_ext
3442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3443 rm -f conftest.i conftest.err conftest.
$ac_ext
3444 if $ac_preproc_ok; then :
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3457 $as_echo "$CPP" >&6; }
3459 for ac_c_preproc_warn_flag
in '' yes
3461 # Use a header file that comes with gcc, so configuring glibc
3462 # with a fresh cross-compiler works.
3463 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3464 # <limits.h> exists even on freestanding compilers.
3465 # On the NeXT, cc -E runs the code through the compiler's parser,
3466 # not just through cpp. "Syntax error" is here to catch this case.
3467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3468 /* end confdefs.h. */
3470 # include <limits.h>
3472 # include <assert.h>
3476 if ac_fn_c_try_cpp
"$LINENO"; then :
3479 # Broken: fails on valid input.
3482 rm -f conftest.err conftest.i conftest.
$ac_ext
3484 # OK, works on sane cases. Now check whether nonexistent headers
3485 # can be detected and how.
3486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3487 /* end confdefs.h. */
3488 #include <ac_nonexistent.h>
3490 if ac_fn_c_try_cpp
"$LINENO"; then :
3491 # Broken: success on invalid input.
3494 # Passes both tests.
3498 rm -f conftest.err conftest.i conftest.
$ac_ext
3501 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3502 rm -f conftest.i conftest.err conftest.
$ac_ext
3503 if $ac_preproc_ok; then :
3506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3508 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3509 See \`config.log' for more details" "$LINENO" 5; }
3513 ac_cpp
='$CPP $CPPFLAGS'
3514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3520 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3521 if ${ac_cv_path_GREP+:} false
; then :
3522 $as_echo_n "(cached) " >&6
3524 if test -z "$GREP"; then
3525 ac_path_GREP_found
=false
3526 # Loop through the user's path and test for each of PROGNAME-LIST
3527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3528 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3531 test -z "$as_dir" && as_dir
=.
3532 for ac_prog
in grep ggrep
; do
3533 for ac_exec_ext
in '' $ac_executable_extensions; do
3534 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3535 as_fn_executable_p
"$ac_path_GREP" ||
continue
3536 # Check for GNU ac_path_GREP and select it if it is found.
3537 # Check for GNU $ac_path_GREP
3538 case `"$ac_path_GREP" --version 2>&1` in
3540 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3543 $as_echo_n 0123456789 >"conftest.in"
3546 cat "conftest.in" "conftest.in" >"conftest.tmp"
3547 mv "conftest.tmp" "conftest.in"
3548 cp "conftest.in" "conftest.nl"
3549 $as_echo 'GREP' >> "conftest.nl"
3550 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3551 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3552 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3553 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3554 # Best one so far, save it but keep looking for a better one
3555 ac_cv_path_GREP
="$ac_path_GREP"
3556 ac_path_GREP_max
=$ac_count
3558 # 10*(2^10) chars as input seems more than enough
3559 test $ac_count -gt 10 && break
3561 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3564 $ac_path_GREP_found && break 3
3569 if test -z "$ac_cv_path_GREP"; then
3570 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3573 ac_cv_path_GREP
=$GREP
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3578 $as_echo "$ac_cv_path_GREP" >&6; }
3579 GREP
="$ac_cv_path_GREP"
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3583 $as_echo_n "checking for egrep... " >&6; }
3584 if ${ac_cv_path_EGREP+:} false
; then :
3585 $as_echo_n "(cached) " >&6
3587 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3588 then ac_cv_path_EGREP
="$GREP -E"
3590 if test -z "$EGREP"; then
3591 ac_path_EGREP_found
=false
3592 # Loop through the user's path and test for each of PROGNAME-LIST
3593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3594 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3597 test -z "$as_dir" && as_dir
=.
3598 for ac_prog
in egrep; do
3599 for ac_exec_ext
in '' $ac_executable_extensions; do
3600 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3601 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3602 # Check for GNU ac_path_EGREP and select it if it is found.
3603 # Check for GNU $ac_path_EGREP
3604 case `"$ac_path_EGREP" --version 2>&1` in
3606 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3609 $as_echo_n 0123456789 >"conftest.in"
3612 cat "conftest.in" "conftest.in" >"conftest.tmp"
3613 mv "conftest.tmp" "conftest.in"
3614 cp "conftest.in" "conftest.nl"
3615 $as_echo 'EGREP' >> "conftest.nl"
3616 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3617 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3618 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3619 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3620 # Best one so far, save it but keep looking for a better one
3621 ac_cv_path_EGREP
="$ac_path_EGREP"
3622 ac_path_EGREP_max
=$ac_count
3624 # 10*(2^10) chars as input seems more than enough
3625 test $ac_count -gt 10 && break
3627 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3630 $ac_path_EGREP_found && break 3
3635 if test -z "$ac_cv_path_EGREP"; then
3636 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3639 ac_cv_path_EGREP
=$EGREP
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3645 $as_echo "$ac_cv_path_EGREP" >&6; }
3646 EGREP
="$ac_cv_path_EGREP"
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3650 $as_echo_n "checking for ANSI C header files... " >&6; }
3651 if ${ac_cv_header_stdc+:} false
; then :
3652 $as_echo_n "(cached) " >&6
3654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3669 if ac_fn_c_try_compile
"$LINENO"; then :
3670 ac_cv_header_stdc
=yes
3672 ac_cv_header_stdc
=no
3674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3676 if test $ac_cv_header_stdc = yes; then
3677 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3679 /* end confdefs.h. */
3683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3684 $EGREP "memchr" >/dev
/null
2>&1; then :
3687 ac_cv_header_stdc
=no
3693 if test $ac_cv_header_stdc = yes; then
3694 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3701 $EGREP "free" >/dev
/null
2>&1; then :
3704 ac_cv_header_stdc
=no
3710 if test $ac_cv_header_stdc = yes; then
3711 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3712 if test "$cross_compiling" = yes; then :
3715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3716 /* end confdefs.h. */
3719 #if ((' ' & 0x0FF) == 0x020)
3720 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3721 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3723 # define ISLOWER(c) \
3724 (('a' <= (c) && (c) <= 'i') \
3725 || ('j' <= (c) && (c) <= 'r') \
3726 || ('s' <= (c) && (c) <= 'z'))
3727 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3730 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3735 for (i = 0; i < 256; i++)
3736 if (XOR (islower (i), ISLOWER (i))
3737 || toupper (i) != TOUPPER (i))
3742 if ac_fn_c_try_run
"$LINENO"; then :
3745 ac_cv_header_stdc
=no
3747 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3748 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3754 $as_echo "$ac_cv_header_stdc" >&6; }
3755 if test $ac_cv_header_stdc = yes; then
3757 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3761 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3762 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3763 inttypes.h stdint.h unistd.h
3765 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3766 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3768 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3769 cat >>confdefs.h
<<_ACEOF
3770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3779 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3780 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3787 if test "$MINIX" = yes; then
3789 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3792 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3795 $as_echo "#define _MINIX 1" >>confdefs.h
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3801 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3802 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3803 $as_echo_n "(cached) " >&6
3805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3806 /* end confdefs.h. */
3808 # define __EXTENSIONS__ 1
3809 $ac_includes_default
3818 if ac_fn_c_try_compile
"$LINENO"; then :
3819 ac_cv_safe_to_define___extensions__
=yes
3821 ac_cv_safe_to_define___extensions__
=no
3823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3826 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3827 test $ac_cv_safe_to_define___extensions__ = yes &&
3828 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3830 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3832 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3834 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3836 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3839 test "$program_prefix" != NONE
&&
3840 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3841 # Use a double $ so make ignores it.
3842 test "$program_suffix" != NONE
&&
3843 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3844 # Double any \ or $.
3845 # By default was `s,x,x', remove it if useless.
3846 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3847 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3849 # Find a good install program. We prefer a C program (faster),
3850 # so one script is as good as another. But avoid the broken or
3851 # incompatible versions:
3852 # SysV /etc/install, /usr/sbin/install
3853 # SunOS /usr/etc/install
3854 # IRIX /sbin/install
3856 # AmigaOS /C/install, which installs bootblocks on floppy discs
3857 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3858 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3859 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3860 # OS/2's system install, which has a completely different semantic
3861 # ./install, which can be erroneously created by make from ./install.sh.
3862 # Reject install programs that cannot install multiple files.
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3864 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3865 if test -z "$INSTALL"; then
3866 if ${ac_cv_path_install+:} false
; then :
3867 $as_echo_n "(cached) " >&6
3869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3873 test -z "$as_dir" && as_dir
=.
3874 # Account for people who put trailing slashes in PATH elements.
3875 case $as_dir/ in #((
3876 .
/ | .
// |
/[cC
]/* | \
3877 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3878 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3881 # OSF1 and SCO ODT 3.0 have their own names for install.
3882 # Don't use installbsd from OSF since it installs stuff as root
3884 for ac_prog
in ginstall scoinst
install; do
3885 for ac_exec_ext
in '' $ac_executable_extensions; do
3886 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3887 if test $ac_prog = install &&
3888 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3889 # AIX install. It has an incompatible calling convention.
3891 elif test $ac_prog = install &&
3892 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3893 # program-specific install script used by HP pwplus--don't use.
3896 rm -rf conftest.one conftest.two conftest.dir
3897 echo one
> conftest.one
3898 echo two
> conftest.two
3900 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3901 test -s conftest.one
&& test -s conftest.two
&&
3902 test -s conftest.dir
/conftest.one
&&
3903 test -s conftest.dir
/conftest.two
3905 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3918 rm -rf conftest.one conftest.two conftest.dir
3921 if test "${ac_cv_path_install+set}" = set; then
3922 INSTALL
=$ac_cv_path_install
3924 # As a last resort, use the slow shell script. Don't cache a
3925 # value for INSTALL within a source directory, because that will
3926 # break other packages using the cache if that directory is
3927 # removed, or if the value is a relative name.
3928 INSTALL
=$ac_install_sh
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3932 $as_echo "$INSTALL" >&6; }
3934 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3935 # It thinks the first close brace ends the variable substitution.
3936 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3938 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3940 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3947 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3948 if ${ac_cv_c_bigendian+:} false
; then :
3949 $as_echo_n "(cached) " >&6
3951 ac_cv_c_bigendian
=unknown
3952 # See if we're dealing with a universal compiler.
3953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3955 #ifndef __APPLE_CC__
3956 not a universal capable compiler
3961 if ac_fn_c_try_compile
"$LINENO"; then :
3963 # Check for potential -arch flags. It is not universal unless
3964 # there are at least two -arch flags with different values.
3967 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3968 if test -n "$ac_prev"; then
3970 i?
86 | x86_64 | ppc | ppc64
)
3971 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
3974 ac_cv_c_bigendian
=universal
3980 elif test "x$ac_word" = "x-arch"; then
3985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3986 if test $ac_cv_c_bigendian = unknown
; then
3987 # See if sys/param.h defines the BYTE_ORDER macro.
3988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3989 /* end confdefs.h. */
3990 #include <sys/types.h>
3991 #include <sys/param.h>
3996 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3997 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4006 if ac_fn_c_try_compile
"$LINENO"; then :
4007 # It does; now see whether it defined to BIG_ENDIAN or not.
4008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4009 /* end confdefs.h. */
4010 #include <sys/types.h>
4011 #include <sys/param.h>
4016 #if BYTE_ORDER != BIG_ENDIAN
4024 if ac_fn_c_try_compile
"$LINENO"; then :
4025 ac_cv_c_bigendian
=yes
4027 ac_cv_c_bigendian
=no
4029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4033 if test $ac_cv_c_bigendian = unknown
; then
4034 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4036 /* end confdefs.h. */
4042 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4050 if ac_fn_c_try_compile
"$LINENO"; then :
4051 # It does; now see whether it defined to _BIG_ENDIAN or not.
4052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4053 /* end confdefs.h. */
4067 if ac_fn_c_try_compile
"$LINENO"; then :
4068 ac_cv_c_bigendian
=yes
4070 ac_cv_c_bigendian
=no
4072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4076 if test $ac_cv_c_bigendian = unknown
; then
4077 # Compile a test program.
4078 if test "$cross_compiling" = yes; then :
4079 # Try to guess by grepping values from an object file.
4080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4082 short int ascii_mm[] =
4083 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4084 short int ascii_ii[] =
4085 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4086 int use_ascii (int i) {
4087 return ascii_mm[i] + ascii_ii[i];
4089 short int ebcdic_ii[] =
4090 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4091 short int ebcdic_mm[] =
4092 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4093 int use_ebcdic (int i) {
4094 return ebcdic_mm[i] + ebcdic_ii[i];
4101 return use_ascii (foo) == use_ebcdic (foo);
4106 if ac_fn_c_try_compile
"$LINENO"; then :
4107 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4108 ac_cv_c_bigendian
=yes
4110 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4111 if test "$ac_cv_c_bigendian" = unknown
; then
4112 ac_cv_c_bigendian
=no
4114 # finding both strings is unlikely to happen, but who knows?
4115 ac_cv_c_bigendian
=unknown
4119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4123 $ac_includes_default
4128 /* Are we little or big endian? From Harbison&Steele. */
4132 char c[sizeof (long int)];
4135 return u.c[sizeof (long int) - 1] == 1;
4141 if ac_fn_c_try_run
"$LINENO"; then :
4142 ac_cv_c_bigendian
=no
4144 ac_cv_c_bigendian
=yes
4146 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4147 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4153 $as_echo "$ac_cv_c_bigendian" >&6; }
4154 case $ac_cv_c_bigendian in #(
4156 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4162 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4166 as_fn_error $?
"unknown endianness
4167 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4173 if test "x$cross_compiling" = "xno"; then
4174 : "${AR_FOR_BUILD:=\$(AR)}"
4175 : "${CC_FOR_BUILD:=\$(CC)}"
4176 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
4177 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
4178 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
4180 : "${AR_FOR_BUILD:=ar}"
4181 : "${CC_FOR_BUILD:=gcc}"
4182 : "${RANLIB_FOR_BUILD:=ranlib}"
4183 : "${CFLAGS_FOR_BUILD:=-g -O}"
4184 : "${LDLFAGS_FOR_BUILD:=}"
4193 if test -n "$ac_tool_prefix"; then
4194 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4195 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4197 $as_echo_n "checking for $ac_word... " >&6; }
4198 if ${ac_cv_prog_AR+:} false
; then :
4199 $as_echo_n "(cached) " >&6
4201 if test -n "$AR"; then
4202 ac_cv_prog_AR
="$AR" # Let the user override the test.
4204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4208 test -z "$as_dir" && as_dir
=.
4209 for ac_exec_ext
in '' $ac_executable_extensions; do
4210 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4211 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4222 if test -n "$AR"; then
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4224 $as_echo "$AR" >&6; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4232 if test -z "$ac_cv_prog_AR"; then
4234 # Extract the first word of "ar", so it can be a program name with args.
4235 set dummy
ar; ac_word
=$2
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4237 $as_echo_n "checking for $ac_word... " >&6; }
4238 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4239 $as_echo_n "(cached) " >&6
4241 if test -n "$ac_ct_AR"; then
4242 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4248 test -z "$as_dir" && as_dir
=.
4249 for ac_exec_ext
in '' $ac_executable_extensions; do
4250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4251 ac_cv_prog_ac_ct_AR
="ar"
4252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4261 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4262 if test -n "$ac_ct_AR"; then
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4264 $as_echo "$ac_ct_AR" >&6; }
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4267 $as_echo "no" >&6; }
4270 if test "x$ac_ct_AR" = x
; then
4273 case $cross_compiling:$ac_tool_warned in
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4277 ac_tool_warned
=yes ;;
4285 if test -n "$ac_tool_prefix"; then
4286 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4287 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4289 $as_echo_n "checking for $ac_word... " >&6; }
4290 if ${ac_cv_prog_RANLIB+:} false
; then :
4291 $as_echo_n "(cached) " >&6
4293 if test -n "$RANLIB"; then
4294 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4300 test -z "$as_dir" && as_dir
=.
4301 for ac_exec_ext
in '' $ac_executable_extensions; do
4302 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4303 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4313 RANLIB
=$ac_cv_prog_RANLIB
4314 if test -n "$RANLIB"; then
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4316 $as_echo "$RANLIB" >&6; }
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4319 $as_echo "no" >&6; }
4324 if test -z "$ac_cv_prog_RANLIB"; then
4325 ac_ct_RANLIB
=$RANLIB
4326 # Extract the first word of "ranlib", so it can be a program name with args.
4327 set dummy ranlib
; ac_word
=$2
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4329 $as_echo_n "checking for $ac_word... " >&6; }
4330 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4331 $as_echo_n "(cached) " >&6
4333 if test -n "$ac_ct_RANLIB"; then
4334 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4340 test -z "$as_dir" && as_dir
=.
4341 for ac_exec_ext
in '' $ac_executable_extensions; do
4342 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4343 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4353 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4354 if test -n "$ac_ct_RANLIB"; then
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4356 $as_echo "$ac_ct_RANLIB" >&6; }
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4359 $as_echo "no" >&6; }
4362 if test "x$ac_ct_RANLIB" = x
; then
4365 case $cross_compiling:$ac_tool_warned in
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4369 ac_tool_warned
=yes ;;
4371 RANLIB
=$ac_ct_RANLIB
4374 RANLIB
="$ac_cv_prog_RANLIB"
4378 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
4379 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
4380 # is C99. So handle it ourselves.
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
4384 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4386 /* end confdefs.h. */
4388 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4389 # error "C11 support not found"
4393 if ac_fn_c_try_compile
"$LINENO"; then :
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4395 $as_echo "yes" >&6; }
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4399 $as_echo "no" >&6; }
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4401 $as_echo_n "checking for -std=c11 support... " >&6; }
4404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4405 /* end confdefs.h. */
4407 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4408 # error "C11 support not found"
4412 if ac_fn_c_try_compile
"$LINENO"; then :
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4415 $as_echo "yes" >&6; }
4417 C_DIALECT
="-std=c11"
4420 as_fn_error $?
"C11 is required" "$LINENO" 5
4422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4430 for ac_header
in $ac_header_list
4432 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4433 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4435 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4436 cat >>confdefs.h
<<_ACEOF
4437 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4485 for ac_func
in $ac_func_list
4487 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4488 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4489 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4490 cat >>confdefs.h
<<_ACEOF
4491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4555 ac_fn_c_check_member
"$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
4556 #include <sys/types.h>
4558 #ifdef HAVE_SYS_STAT_H
4559 #include <sys/stat.h>
4562 if test "x$ac_cv_member_struct_stat_st_dev" = xyes
; then :
4564 cat >>confdefs.h
<<_ACEOF
4565 #define HAVE_STRUCT_STAT_ST_DEV 1
4570 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ino" "ac_cv_member_struct_stat_st_ino" "#ifdef HAVE_SYS_TYPES_H
4571 #include <sys/types.h>
4573 #ifdef HAVE_SYS_STAT_H
4574 #include <sys/stat.h>
4577 if test "x$ac_cv_member_struct_stat_st_ino" = xyes
; then :
4579 cat >>confdefs.h
<<_ACEOF
4580 #define HAVE_STRUCT_STAT_ST_INO 1
4585 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mode" "ac_cv_member_struct_stat_st_mode" "#ifdef HAVE_SYS_TYPES_H
4586 #include <sys/types.h>
4588 #ifdef HAVE_SYS_STAT_H
4589 #include <sys/stat.h>
4592 if test "x$ac_cv_member_struct_stat_st_mode" = xyes
; then :
4594 cat >>confdefs.h
<<_ACEOF
4595 #define HAVE_STRUCT_STAT_ST_MODE 1
4600 ac_fn_c_check_member
"$LINENO" "struct stat" "st_nlink" "ac_cv_member_struct_stat_st_nlink" "#ifdef HAVE_SYS_TYPES_H
4601 #include <sys/types.h>
4603 #ifdef HAVE_SYS_STAT_H
4604 #include <sys/stat.h>
4607 if test "x$ac_cv_member_struct_stat_st_nlink" = xyes
; then :
4609 cat >>confdefs.h
<<_ACEOF
4610 #define HAVE_STRUCT_STAT_ST_NLINK 1
4615 ac_fn_c_check_member
"$LINENO" "struct stat" "st_uid" "ac_cv_member_struct_stat_st_uid" "#ifdef HAVE_SYS_TYPES_H
4616 #include <sys/types.h>
4618 #ifdef HAVE_SYS_STAT_H
4619 #include <sys/stat.h>
4622 if test "x$ac_cv_member_struct_stat_st_uid" = xyes
; then :
4624 cat >>confdefs.h
<<_ACEOF
4625 #define HAVE_STRUCT_STAT_ST_UID 1
4630 ac_fn_c_check_member
"$LINENO" "struct stat" "st_gid" "ac_cv_member_struct_stat_st_gid" "#ifdef HAVE_SYS_TYPES_H
4631 #include <sys/types.h>
4633 #ifdef HAVE_SYS_STAT_H
4634 #include <sys/stat.h>
4637 if test "x$ac_cv_member_struct_stat_st_gid" = xyes
; then :
4639 cat >>confdefs.h
<<_ACEOF
4640 #define HAVE_STRUCT_STAT_ST_GID 1
4645 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "#ifdef HAVE_SYS_TYPES_H
4646 #include <sys/types.h>
4648 #ifdef HAVE_SYS_STAT_H
4649 #include <sys/stat.h>
4652 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
4654 cat >>confdefs.h
<<_ACEOF
4655 #define HAVE_STRUCT_STAT_ST_RDEV 1
4660 ac_fn_c_check_member
"$LINENO" "struct stat" "st_size" "ac_cv_member_struct_stat_st_size" "#ifdef HAVE_SYS_TYPES_H
4661 #include <sys/types.h>
4663 #ifdef HAVE_SYS_STAT_H
4664 #include <sys/stat.h>
4667 if test "x$ac_cv_member_struct_stat_st_size" = xyes
; then :
4669 cat >>confdefs.h
<<_ACEOF
4670 #define HAVE_STRUCT_STAT_ST_SIZE 1
4675 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "#ifdef HAVE_SYS_TYPES_H
4676 #include <sys/types.h>
4678 #ifdef HAVE_SYS_STAT_H
4679 #include <sys/stat.h>
4682 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
4684 cat >>confdefs.h
<<_ACEOF
4685 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
4690 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "#ifdef HAVE_SYS_TYPES_H
4691 #include <sys/types.h>
4693 #ifdef HAVE_SYS_STAT_H
4694 #include <sys/stat.h>
4697 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
4699 cat >>confdefs.h
<<_ACEOF
4700 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
4705 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atime" "ac_cv_member_struct_stat_st_atime" "#ifdef HAVE_SYS_TYPES_H
4706 #include <sys/types.h>
4708 #ifdef HAVE_SYS_STAT_H
4709 #include <sys/stat.h>
4712 if test "x$ac_cv_member_struct_stat_st_atime" = xyes
; then :
4714 cat >>confdefs.h
<<_ACEOF
4715 #define HAVE_STRUCT_STAT_ST_ATIME 1
4720 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtime" "ac_cv_member_struct_stat_st_mtime" "#ifdef HAVE_SYS_TYPES_H
4721 #include <sys/types.h>
4723 #ifdef HAVE_SYS_STAT_H
4724 #include <sys/stat.h>
4727 if test "x$ac_cv_member_struct_stat_st_mtime" = xyes
; then :
4729 cat >>confdefs.h
<<_ACEOF
4730 #define HAVE_STRUCT_STAT_ST_MTIME 1
4735 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctime" "ac_cv_member_struct_stat_st_ctime" "#ifdef HAVE_SYS_TYPES_H
4736 #include <sys/types.h>
4738 #ifdef HAVE_SYS_STAT_H
4739 #include <sys/stat.h>
4742 if test "x$ac_cv_member_struct_stat_st_ctime" = xyes
; then :
4744 cat >>confdefs.h
<<_ACEOF
4745 #define HAVE_STRUCT_STAT_ST_CTIME 1
4752 ac_fn_c_check_type
"$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default"
4753 if test "x$ac_cv_type___int128" = xyes
; then :
4755 cat >>confdefs.h
<<_ACEOF
4756 #define HAVE___INT128 1
4762 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
4763 #include <sys/socket.h>
4766 if test "x$ac_cv_type_socklen_t" = xyes
; then :
4768 cat >>confdefs.h
<<_ACEOF
4769 #define HAVE_SOCKLEN_T 1
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4777 $as_echo_n "checking return type of signal handlers... " >&6; }
4778 if ${ac_cv_type_signal+:} false
; then :
4779 $as_echo_n "(cached) " >&6
4781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4782 /* end confdefs.h. */
4783 #include <sys/types.h>
4789 return *(signal (0, 0)) (0) == 1;
4794 if ac_fn_c_try_compile
"$LINENO"; then :
4795 ac_cv_type_signal
=int
4797 ac_cv_type_signal
=void
4799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4802 $as_echo "$ac_cv_type_signal" >&6; }
4804 cat >>confdefs.h
<<_ACEOF
4805 #define RETSIGTYPE $ac_cv_type_signal
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4813 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4814 # Check whether --enable-maintainer-mode was given.
4815 if test "${enable_maintainer_mode+set}" = set; then :
4816 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4818 USE_MAINTAINER_MODE
=no
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4822 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4823 if test $USE_MAINTAINER_MODE = yes; then
4824 MAINTAINER_MODE_TRUE
=
4825 MAINTAINER_MODE_FALSE
='#'
4827 MAINTAINER_MODE_TRUE
='#'
4828 MAINTAINER_MODE_FALSE
=
4831 MAINT
=$MAINTAINER_MODE_TRUE
4834 am__api_version
='1.15'
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4837 $as_echo_n "checking whether build environment is sane... " >&6; }
4838 # Reject unsafe characters in $srcdir or the absolute working directory
4839 # name. Accept space and tab only in the latter.
4843 *[\\\"\
#\$\&\'\`$am_lf]*)
4844 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4847 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4848 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4851 # Do 'set' in a subshell so we don't clobber the current shell's
4852 # arguments. Must try -L first in case configure is actually a
4853 # symlink; some systems play weird games with the mod time of symlinks
4854 # (eg FreeBSD returns the mod time of the symlink's containing
4858 for am_try
in 1 2; do
4859 echo "timestamp, slept: $am_has_slept" > conftest.
file
4860 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4861 if test "$*" = "X"; then
4863 set X
`ls -t "$srcdir/configure" conftest.file`
4865 if test "$*" != "X $srcdir/configure conftest.file" \
4866 && test "$*" != "X conftest.file $srcdir/configure"; then
4868 # If neither matched, then we have a broken ls. This can happen
4869 # if, for instance, CONFIG_SHELL is bash and it inherits a
4870 # broken ls alias from the environment. This has actually
4871 # happened. Such a system could not be considered "sane".
4872 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4873 alias in your environment" "$LINENO" 5
4875 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4882 test "$2" = conftest.
file
4888 as_fn_error $?
"newly created file is older than distributed files!
4889 Check your system clock" "$LINENO" 5
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4892 $as_echo "yes" >&6; }
4893 # If we didn't sleep, we still need to ensure time stamps of config.status and
4894 # generated files are strictly newer.
4896 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4903 if test x
"${MISSING+set}" != xset
; then
4906 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4908 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4911 # Use eval to expand $SHELL
4912 if eval "$MISSING --is-lightweight"; then
4913 am_missing_run
="$MISSING "
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4917 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4920 if test x
"${install_sh+set}" != xset
; then
4923 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4925 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4929 # Installed binaries are usually stripped using 'strip' when the user
4930 # run "make install-strip". However 'strip' might not be the right
4931 # tool to use in cross-compilation environments, therefore Automake
4932 # will honor the 'STRIP' environment variable to overrule this program.
4933 if test "$cross_compiling" != no
; then
4934 if test -n "$ac_tool_prefix"; then
4935 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4936 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4938 $as_echo_n "checking for $ac_word... " >&6; }
4939 if ${ac_cv_prog_STRIP+:} false
; then :
4940 $as_echo_n "(cached) " >&6
4942 if test -n "$STRIP"; then
4943 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4949 test -z "$as_dir" && as_dir
=.
4950 for ac_exec_ext
in '' $ac_executable_extensions; do
4951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4952 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 STRIP
=$ac_cv_prog_STRIP
4963 if test -n "$STRIP"; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4965 $as_echo "$STRIP" >&6; }
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968 $as_echo "no" >&6; }
4973 if test -z "$ac_cv_prog_STRIP"; then
4975 # Extract the first word of "strip", so it can be a program name with args.
4976 set dummy strip
; ac_word
=$2
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4980 $as_echo_n "(cached) " >&6
4982 if test -n "$ac_ct_STRIP"; then
4983 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4989 test -z "$as_dir" && as_dir
=.
4990 for ac_exec_ext
in '' $ac_executable_extensions; do
4991 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4992 ac_cv_prog_ac_ct_STRIP
="strip"
4993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5003 if test -n "$ac_ct_STRIP"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5005 $as_echo "$ac_ct_STRIP" >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5011 if test "x$ac_ct_STRIP" = x
; then
5014 case $cross_compiling:$ac_tool_warned in
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5018 ac_tool_warned
=yes ;;
5023 STRIP
="$ac_cv_prog_STRIP"
5027 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5030 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5031 if test -z "$MKDIR_P"; then
5032 if ${ac_cv_path_mkdir+:} false
; then :
5033 $as_echo_n "(cached) " >&6
5035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5036 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
5039 test -z "$as_dir" && as_dir
=.
5040 for ac_prog
in mkdir gmkdir
; do
5041 for ac_exec_ext
in '' $ac_executable_extensions; do
5042 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
5043 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5044 'mkdir (GNU coreutils) '* | \
5045 'mkdir (coreutils) '* | \
5046 'mkdir (fileutils) '4.1*)
5047 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
5057 test -d .
/--version && rmdir .
/--version
5058 if test "${ac_cv_path_mkdir+set}" = set; then
5059 MKDIR_P
="$ac_cv_path_mkdir -p"
5061 # As a last resort, use the slow shell script. Don't cache a
5062 # value for MKDIR_P within a source directory, because that will
5063 # break other packages using the cache if that directory is
5064 # removed, or if the value is a relative name.
5065 MKDIR_P
="$ac_install_sh -d"
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5069 $as_echo "$MKDIR_P" >&6; }
5071 for ac_prog
in gawk mawk nawk
awk
5073 # Extract the first word of "$ac_prog", so it can be a program name with args.
5074 set dummy
$ac_prog; ac_word
=$2
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5076 $as_echo_n "checking for $ac_word... " >&6; }
5077 if ${ac_cv_prog_AWK+:} false
; then :
5078 $as_echo_n "(cached) " >&6
5080 if test -n "$AWK"; then
5081 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5087 test -z "$as_dir" && as_dir
=.
5088 for ac_exec_ext
in '' $ac_executable_extensions; do
5089 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5090 ac_cv_prog_AWK
="$ac_prog"
5091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5101 if test -n "$AWK"; then
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5103 $as_echo "$AWK" >&6; }
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5110 test -n "$AWK" && break
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5114 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5116 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5117 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5118 $as_echo_n "(cached) " >&6
5120 cat >conftest.
make <<\_ACEOF
5123 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5125 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5126 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5128 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5130 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5134 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5136 $as_echo "yes" >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5141 SET_MAKE
="MAKE=${MAKE-make}"
5144 rm -rf .tst
2>/dev
/null
5145 mkdir .tst
2>/dev
/null
5146 if test -d .tst
; then
5151 rmdir .tst
2>/dev
/null
5153 DEPDIR
="${am__leading_dot}deps"
5155 ac_config_commands
="$ac_config_commands depfiles"
5158 am_make
=${MAKE-make}
5159 cat > confinc
<< 'END'
5161 @
echo this is the am__doit target
5164 # If we don't find an include directive, just comment out the code.
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
5166 $as_echo_n "checking for style of include used by $am_make... " >&6; }
5170 # First try GNU make style include.
5171 echo "include confinc" > confmf
5172 # Ignore all kinds of additional output from 'make'.
5173 case `$am_make -s -f confmf 2> /dev/null` in #(
5174 *the\ am__doit\ target
*)
5180 # Now try BSD make style include.
5181 if test "$am__include" = "#"; then
5182 echo '.include "confinc"' > confmf
5183 case `$am_make -s -f confmf 2> /dev/null` in #(
5184 *the\ am__doit\ target
*)
5185 am__include
=.include
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
5194 $as_echo "$_am_result" >&6; }
5195 rm -f confinc confmf
5197 # Check whether --enable-dependency-tracking was given.
5198 if test "${enable_dependency_tracking+set}" = set; then :
5199 enableval
=$enable_dependency_tracking;
5202 if test "x$enable_dependency_tracking" != xno
; then
5203 am_depcomp
="$ac_aux_dir/depcomp"
5207 if test "x$enable_dependency_tracking" != xno; then
5216 # Check whether --enable-silent-rules was given.
5217 if test "${enable_silent_rules+set}" = set; then :
5218 enableval
=$enable_silent_rules;
5221 case $enable_silent_rules in # (((
5222 yes) AM_DEFAULT_VERBOSITY
=0;;
5223 no
) AM_DEFAULT_VERBOSITY
=1;;
5224 *) AM_DEFAULT_VERBOSITY
=1;;
5226 am_make
=${MAKE-make}
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5228 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5229 if ${am_cv_make_support_nested_variables+:} false
; then :
5230 $as_echo_n "(cached) " >&6
5232 if $as_echo 'TRUE=$(BAR$(V))
5238 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
5239 am_cv_make_support_nested_variables
=yes
5241 am_cv_make_support_nested_variables
=no
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5245 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5246 if test $am_cv_make_support_nested_variables = yes; then
5248 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
5250 AM_V
=$AM_DEFAULT_VERBOSITY
5251 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
5255 if test "`cd $srcdir && pwd`" != "`pwd`"; then
5256 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5257 # is not polluted with repeated "-I."
5258 am__isrc
=' -I$(srcdir)'
5259 # test to see if srcdir already configured
5260 if test -f $srcdir/config.status
; then
5261 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
5265 # test whether we have cygpath
5266 if test -z "$CYGPATH_W"; then
5267 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
5268 CYGPATH_W
='cygpath -w'
5275 # Define the identity of the package.
5280 cat >>confdefs.h
<<_ACEOF
5281 #define PACKAGE "$PACKAGE"
5285 cat >>confdefs.h
<<_ACEOF
5286 #define VERSION "$VERSION"
5289 # Some tools Automake needs.
5291 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5294 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
5297 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5300 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
5303 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
5305 # For better backward compatibility. To be removed once Automake 1.9.x
5306 # dies out for good. For more background, see:
5307 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
5308 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
5309 mkdir_p
='$(MKDIR_P)'
5311 # We need awk for the "check" target (and possibly the TAP driver). The
5312 # system "awk" is bad on some platforms.
5313 # Always define AMTAR for backward compatibility. Yes, it's still used
5314 # in the wild :-( We should find a proper way to deprecate it ...
5318 # We'll loop over all known methods to create a tar archive until one works.
5319 _am_tools
='gnutar pax cpio none'
5321 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
5327 depcc
="$CC" am_compiler_list
=
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5330 $as_echo_n "checking dependency style of $depcc... " >&6; }
5331 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
5332 $as_echo_n "(cached) " >&6
5334 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5335 # We make a subdir and do the tests there. Otherwise we can end up
5336 # making bogus files that we don't know about and never remove. For
5337 # instance it was reported that on HP-UX the gcc test will end up
5338 # making a dummy file named 'D' -- because '-MD' means "put the output
5342 # Copy depcomp to subdir because otherwise we won't find it if we're
5343 # using a relative directory.
5344 cp "$am_depcomp" conftest.dir
5346 # We will build objects and dependencies in a subdirectory because
5347 # it helps to detect inapplicable dependency modes. For instance
5348 # both Tru64's cc and ICC support -MD to output dependencies as a
5349 # side effect of compilation, but ICC will put the dependencies in
5350 # the current directory while Tru64 will put them in the object
5354 am_cv_CC_dependencies_compiler_type
=none
5355 if test "$am_compiler_list" = ""; then
5356 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5359 case " $depcc " in #(
5360 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5363 for depmode
in $am_compiler_list; do
5364 # Setup a source with many dependencies, because some compilers
5365 # like to wrap large dependency lists on column 80 (with \), and
5366 # we should not choose a depcomp mode which is confused by this.
5368 # We need to recreate these files for each test, as the compiler may
5369 # overwrite some of them when testing with obscure command lines.
5370 # This happens at least with the AIX C compiler.
5372 for i
in 1 2 3 4 5 6; do
5373 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5374 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5375 # Solaris 10 /bin/sh.
5376 echo '/* dummy */' > sub
/conftst
$i.h
5378 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5380 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5381 # mode. It turns out that the SunPro C++ compiler does not properly
5382 # handle '-M -o', and we need to detect this. Also, some Intel
5383 # versions had trouble with output in subdirs.
5384 am__obj
=sub
/conftest.
${OBJEXT-o}
5385 am__minus_obj
="-o $am__obj"
5388 # This depmode causes a compiler race in universal mode.
5389 test "$am__universal" = false ||
continue
5392 # After this tag, mechanisms are not by side-effect, so they'll
5393 # only be used when explicitly requested.
5394 if test "x$enable_dependency_tracking" = xyes
; then
5400 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5401 # This compiler won't grok '-c -o', but also, the minuso test has
5402 # not run yet. These depmodes are late enough in the game, and
5403 # so weak that their functioning should not be impacted.
5404 am__obj
=conftest.
${OBJEXT-o}
5409 if depmode
=$depmode \
5410 source=sub
/conftest.c object
=$am__obj \
5411 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5412 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5413 >/dev
/null
2>conftest.err
&&
5414 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5415 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5416 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5417 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5418 # icc doesn't choke on unknown options, it will just issue warnings
5419 # or remarks (even with -Werror). So we grep stderr for any message
5420 # that says an option was ignored or not supported.
5421 # When given -MP, icc 7.0 and 7.1 complain thusly:
5422 # icc: Command line warning: ignoring option '-M'; no argument required
5423 # The diagnosis changed in icc 8.0:
5424 # icc: Command line remark: option '-MP' not supported
5425 if (grep 'ignoring option' conftest.err ||
5426 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5427 am_cv_CC_dependencies_compiler_type
=$depmode
5436 am_cv_CC_dependencies_compiler_type
=none
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5441 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5442 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5445 test "x$enable_dependency_tracking" != xno \
5446 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5448 am__fastdepCC_FALSE
='#'
5450 am__fastdepCC_TRUE
='#'
5451 am__fastdepCC_FALSE
=
5456 # POSIX will say in a future version that running "rm -f" with no argument
5457 # is OK; and we want to be able to make that assumption in our Makefile
5458 # recipes. So use an aggressive probe to check that the usage we want is
5459 # actually supported "in the wild" to an acceptable degree.
5460 # See automake bug#10828.
5461 # To make any issue more visible, cause the running configure to be aborted
5462 # by default if the 'rm' program in use doesn't match our expectations; the
5463 # user can still override this though.
5464 if rm -f && rm -fr && rm -rf; then : OK
; else
5468 Your 'rm' program seems unable to run without file operands specified
5469 on the command line, even when the '-f' option is present. This is contrary
5470 to the behaviour of most rm programs out there, and not conforming with
5471 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
5473 Please tell bug-automake@gnu.org about your system, including the value
5474 of your $PATH and any error possibly output before this message. This
5475 can help us improve future automake versions.
5478 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
5479 echo 'Configuration will proceed anyway, since you have set the' >&2
5480 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
5484 Aborting the configuration process, to ensure you take notice of the issue.
5486 You can download and install GNU coreutils to get an 'rm' implementation
5487 that behaves properly: <http://www.gnu.org/software/coreutils/>.
5489 If you want to complete the configuration process using your problematic
5490 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
5491 to "yes", and re-run configure.
5494 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
5499 # If a cpu ever has more than one simulator to choose from, use
5500 # --enable-sim=... to choose.
5501 # Check whether --enable-sim was given.
5502 if test "${enable_sim+set}" = set; then :
5503 enableval
=$enable_sim; case "${enableval}" in
5505 *) as_fn_error $?
"bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
5510 # Check whether --enable-example-sims was given.
5511 if test "${enable_example_sims+set}" = set; then :
5512 enableval
=$enable_example_sims;
5516 # Check whether --enable-targets was given.
5517 if test "${enable_targets+set}" = set; then :
5518 enableval
=$enable_targets; case "${enableval}" in
5519 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
5521 no
) enable_targets
= ;;
5522 *) enable_targets
=$enableval ;;
5532 if test "${enable_sim}" != no
; then
5534 for targ
in `echo $target $enable_targets | sed 's/,/ /g'`
5539 if test "${targ}" = "${target}"; then
5540 SIM_PRIMARY_TARGET
=aarch64
5544 subdirs
="$subdirs aarch64"
5553 if test "${targ}" = "${target}"; then
5554 SIM_PRIMARY_TARGET
=arm
5556 subdirs
="$subdirs arm"
5565 if test "${targ}" = "${target}"; then
5566 SIM_PRIMARY_TARGET
=avr
5568 subdirs
="$subdirs avr"
5577 if test "${targ}" = "${target}"; then
5578 SIM_PRIMARY_TARGET
=bfin
5580 subdirs
="$subdirs bfin"
5589 if test "${targ}" = "${target}"; then
5590 SIM_PRIMARY_TARGET
=bpf
5592 subdirs
="$subdirs bpf"
5601 if test "${targ}" = "${target}"; then
5602 SIM_PRIMARY_TARGET
=cr16
5604 subdirs
="$subdirs cr16"
5612 all|cris-
*-* | crisv32-
*-*)
5613 if test "${targ}" = "${target}"; then
5614 SIM_PRIMARY_TARGET
=cris
5616 subdirs
="$subdirs cris"
5625 if test "${targ}" = "${target}"; then
5626 SIM_PRIMARY_TARGET
=d10v
5628 subdirs
="$subdirs d10v"
5637 if test "${targ}" = "${target}"; then
5638 SIM_PRIMARY_TARGET
=frv
5640 subdirs
="$subdirs frv"
5649 if test "${targ}" = "${target}"; then
5650 SIM_PRIMARY_TARGET
=h8300
5652 subdirs
="$subdirs h8300"
5661 if test "${targ}" = "${target}"; then
5662 SIM_PRIMARY_TARGET
=iq2000
5664 subdirs
="$subdirs iq2000"
5673 if test "${targ}" = "${target}"; then
5674 SIM_PRIMARY_TARGET
=lm32
5676 subdirs
="$subdirs lm32"
5685 if test "${targ}" = "${target}"; then
5686 SIM_PRIMARY_TARGET
=m32c
5688 subdirs
="$subdirs m32c"
5697 if test "${targ}" = "${target}"; then
5698 SIM_PRIMARY_TARGET
=m32r
5700 subdirs
="$subdirs m32r"
5708 all|m68hc11-
*-*|m6811-
*-*)
5709 if test "${targ}" = "${target}"; then
5710 SIM_PRIMARY_TARGET
=m68hc11
5712 subdirs
="$subdirs m68hc11"
5721 if test "${targ}" = "${target}"; then
5722 SIM_PRIMARY_TARGET
=mcore
5724 subdirs
="$subdirs mcore"
5733 if test "${targ}" = "${target}"; then
5734 SIM_PRIMARY_TARGET
=microblaze
5736 subdirs
="$subdirs microblaze"
5745 if test "${targ}" = "${target}"; then
5746 SIM_PRIMARY_TARGET
=mips
5748 subdirs
="$subdirs mips"
5757 if test "${targ}" = "${target}"; then
5758 SIM_PRIMARY_TARGET
=mn10300
5760 subdirs
="$subdirs mn10300"
5769 if test "${targ}" = "${target}"; then
5770 SIM_PRIMARY_TARGET
=moxie
5772 subdirs
="$subdirs moxie"
5781 if test "${targ}" = "${target}"; then
5782 SIM_PRIMARY_TARGET
=msp430
5784 subdirs
="$subdirs msp430"
5792 all|or1k-
*-* | or1knd-
*-*)
5793 if test "${targ}" = "${target}"; then
5794 SIM_PRIMARY_TARGET
=or1k
5796 subdirs
="$subdirs or1k"
5805 if test "${targ}" = "${target}"; then
5806 SIM_PRIMARY_TARGET
=pru
5808 subdirs
="$subdirs pru"
5817 if test "${targ}" = "${target}"; then
5818 SIM_PRIMARY_TARGET
=riscv
5820 subdirs
="$subdirs riscv"
5829 if test "${targ}" = "${target}"; then
5830 SIM_PRIMARY_TARGET
=rl78
5832 subdirs
="$subdirs rl78"
5841 if test "${targ}" = "${target}"; then
5842 SIM_PRIMARY_TARGET
=rx
5844 subdirs
="$subdirs rx"
5853 if test "${targ}" = "${target}"; then
5854 SIM_PRIMARY_TARGET
=sh
5856 subdirs
="$subdirs sh"
5864 all|sparc-
*-rtems*|sparc-
*-elf*)
5865 if test "${targ}" = "${target}"; then
5866 SIM_PRIMARY_TARGET
=erc32
5868 subdirs
="$subdirs erc32"
5877 if test "${targ}" = "${target}"; then
5878 SIM_PRIMARY_TARGET
=ppc
5880 subdirs
="$subdirs ppc"
5889 if test "${targ}" = "${target}"; then
5890 SIM_PRIMARY_TARGET
=ft32
5892 subdirs
="$subdirs ft32"
5901 if test "${targ}" = "${target}"; then
5902 SIM_PRIMARY_TARGET
=v850
5904 subdirs
="$subdirs v850"
5912 if test "x${enable_example_sims}" = xyes
; then
5913 subdirs
="$subdirs example-synacor"
5917 if test "$sim_igen" = "yes"; then
5918 SIM_ENABLE_IGEN_TRUE
=
5919 SIM_ENABLE_IGEN_FALSE
='#'
5921 SIM_ENABLE_IGEN_TRUE
='#'
5922 SIM_ENABLE_IGEN_FALSE
=
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sim asserts" >&5
5928 $as_echo_n "checking whether to enable sim asserts... " >&6; }
5930 # Check whether --enable-sim-assert was given.
5931 if test "${enable_sim_assert+set}" = set; then :
5932 enableval
=$enable_sim_assert; case "${enableval}" in
5933 yes) sim_assert
="1";;
5934 no
) sim_assert
="0";;
5935 *) as_fn_error $?
"--enable-sim-assert does not take a value" "$LINENO" 5;;
5939 cat >>confdefs.h
<<_ACEOF
5940 #define WITH_ASSERT $sim_assert
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
5944 $as_echo "$sim_assert" >&6; }
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
5948 $as_echo_n "checking default sim environment setting... " >&6; }
5949 sim_environment
="ALL_ENVIRONMENT"
5950 # Check whether --enable-sim-environment was given.
5951 if test "${enable_sim_environment+set}" = set; then :
5952 enableval
=$enable_sim_environment; case "${enableval}" in
5953 all | ALL
) sim_environment
="ALL_ENVIRONMENT";;
5954 user | USER
) sim_environment
="USER_ENVIRONMENT";;
5955 virtual | VIRTUAL
) sim_environment
="VIRTUAL_ENVIRONMENT";;
5956 operating | OPERATING
) sim_environment
="OPERATING_ENVIRONMENT";;
5957 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
5961 cat >>confdefs.h
<<_ACEOF
5962 #define WITH_ENVIRONMENT $sim_environment
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_environment" >&5
5966 $as_echo "$sim_environment" >&6; }
5969 ac_config_files
="$ac_config_files Makefile"
5971 cat >confcache
<<\_ACEOF
5972 # This file is a shell script that caches the results of configure
5973 # tests run on this system so they can be shared between configure
5974 # scripts and configure runs, see configure's option --config-cache.
5975 # It is not useful on other systems. If it contains results you don't
5976 # want to keep, you may remove or edit it.
5978 # config.status only pays attention to the cache file if you give it
5979 # the --recheck option to rerun configure.
5981 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5982 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5987 # The following way of writing the cache mishandles newlines in values,
5988 # but we know of no workaround that is simple, portable, and efficient.
5989 # So, we kill variables containing newlines.
5990 # Ultrix sh set writes to stderr and can't be redirected directly,
5991 # and sets the high bit in the cache file unless we assign to the vars.
5993 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5994 eval ac_val
=\$
$ac_var
5998 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5999 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6002 _ | IFS | as_nl
) ;; #(
6003 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6004 *) { eval $ac_var=; unset $ac_var;} ;;
6010 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6011 *${as_nl}ac_space
=\
*)
6012 # `set' does not quote correctly, so add quotes: double-quote
6013 # substitution turns \\\\ into \\, and sed turns \\ into \.
6016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6019 # `set' quotes correctly as required by POSIX, so do not add quotes.
6020 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6029 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6031 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6033 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6034 if test -w "$cache_file"; then
6035 if test "x$cache_file" != "x/dev/null"; then
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6037 $as_echo "$as_me: updating cache $cache_file" >&6;}
6038 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6039 cat confcache
>"$cache_file"
6041 case $cache_file in #(
6043 mv -f confcache
"$cache_file"$$
&&
6044 mv -f "$cache_file"$$
"$cache_file" ;; #(
6046 mv -f confcache
"$cache_file" ;;
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6052 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6057 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6058 # Let make expand exec_prefix.
6059 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6061 DEFS
=-DHAVE_CONFIG_H
6066 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6067 # 1. Remove the extension, and $U if already installed.
6068 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6069 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6070 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6071 # will be set to the directory where LIBOBJS objects are built.
6072 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6073 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6077 LTLIBOBJS
=$ac_ltlibobjs
6081 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6082 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
6083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6086 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6087 if test -n "$am_sleep_pid"; then
6088 # Hide warnings about reused PIDs.
6089 wait $am_sleep_pid 2>/dev
/null
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6092 $as_echo "done" >&6; }
6093 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6094 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6097 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6098 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6101 if test -n "$EXEEXT"; then
6103 am__EXEEXT_FALSE
='#'
6109 if test -z "${SIM_ENABLE_IGEN_TRUE}" && test -z "${SIM_ENABLE_IGEN_FALSE}"; then
6110 as_fn_error $?
"conditional \"SIM_ENABLE_IGEN\" was never defined.
6111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6114 : "${CONFIG_STATUS=./config.status}"
6116 ac_clean_files_save
=$ac_clean_files
6117 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6119 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6121 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6123 # Generated by $as_me.
6124 # Run this file to recreate the current configuration.
6125 # Compiler output produced by configure, useful for debugging
6126 # configure, is in config.log if it exists.
6132 SHELL=\${CONFIG_SHELL-$SHELL}
6135 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6136 ## -------------------- ##
6137 ## M4sh Initialization. ##
6138 ## -------------------- ##
6140 # Be more Bourne compatible
6141 DUALCASE
=1; export DUALCASE
# for MKS sh
6142 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6145 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6146 # is contrary to our usage. Disable this feature.
6147 alias -g '${1+"$@"}'='"$@"'
6148 setopt NO_GLOB_SUBST
6150 case `(set -o) 2>/dev/null` in #(
6162 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6163 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6164 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6165 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6166 # Prefer a ksh shell builtin over an external printf program on Solaris,
6167 # but without wasting forks for bash or zsh.
6168 if test -z "$BASH_VERSION$ZSH_VERSION" \
6169 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6170 as_echo='print
-r --'
6171 as_echo_n='print
-rn --'
6172 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6173 as_echo='printf %s
\n'
6174 as_echo_n='printf %s
'
6176 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6177 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6178 as_echo_n='/usr
/ucb
/echo -n'
6180 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6181 as_echo_n_body='eval
6185 expr "X$arg" : "X\\(.*\\)$as_nl";
6186 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6188 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6190 export as_echo_n_body
6191 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6194 as_echo='sh
-c $as_echo_body as_echo
'
6197 # The user is always right.
6198 if test "${PATH_SEPARATOR+set}" != set; then
6200 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6201 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6208 # We need space, tab and new line, in precisely that order. Quoting is
6209 # there to prevent editors from complaining about space-tab.
6210 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6211 # splitting by setting IFS to empty value.)
6214 # Find who we are. Look in the path if we contain no directory separator.
6217 *[\\/]* ) as_myself=$0 ;;
6218 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6222 test -z "$as_dir" && as_dir=.
6223 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6229 # We did not find ourselves, most probably we were run as `sh COMMAND'
6230 # in which case we are not to be found in the path.
6231 if test "x$as_myself" = x
; then
6234 if test ! -f "$as_myself"; then
6235 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6239 # Unset variables that we do not need and which cause bugs (e.g. in
6240 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6241 # suppresses any "Segmentation fault" message there. '((' could
6242 # trigger a bug in pdksh 5.2.14.
6243 for as_var
in BASH_ENV ENV MAIL MAILPATH
6244 do eval test x\
${$as_var+set} = xset \
6245 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6258 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6261 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6262 # ----------------------------------------
6263 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6264 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6265 # script with STATUS, using 1 if that was 0.
6268 as_status
=$1; test $as_status -eq 0 && as_status
=1
6270 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6271 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6273 $as_echo "$as_me: error: $2" >&2
6274 as_fn_exit
$as_status
6278 # as_fn_set_status STATUS
6279 # -----------------------
6280 # Set $? to STATUS, without forking.
6284 } # as_fn_set_status
6288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6298 # Portably unset VAR.
6301 { eval $1=; unset $1;}
6303 as_unset
=as_fn_unset
6304 # as_fn_append VAR VALUE
6305 # ----------------------
6306 # Append the text in VALUE to the end of the definition contained in VAR. Take
6307 # advantage of any shell optimizations that allow amortized linear growth over
6308 # repeated appends, instead of the typical quadratic growth present in naive
6310 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6311 eval 'as_fn_append ()
6322 # as_fn_arith ARG...
6323 # ------------------
6324 # Perform arithmetic evaluation on the ARGs, and store the result in the
6325 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6326 # must be portable across $(()) and expr.
6327 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6328 eval 'as_fn_arith ()
6335 as_val
=`expr "$@" || test $? -eq 1`
6340 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6341 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6347 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6348 as_basename
=basename
6353 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6359 as_me
=`$as_basename -- "$0" ||
6360 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6361 X"$0" : 'X\(//\)$' \| \
6362 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6364 sed '/^.*\/\([^/][^/]*\)\/*$/{
6378 # Avoid depending upon Character Ranges.
6379 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6380 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6381 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6382 as_cr_digits
='0123456789'
6383 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6385 ECHO_C
= ECHO_N
= ECHO_T
=
6386 case `echo -n x` in #(((((
6388 case `echo 'xy\c'` in
6389 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6391 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6398 rm -f conf$$ conf$$.exe conf$$.
file
6399 if test -d conf$$.dir
; then
6400 rm -f conf$$.dir
/conf$$.
file
6403 mkdir conf$$.dir
2>/dev
/null
6405 if (echo >conf$$.
file) 2>/dev
/null
; then
6406 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6408 # ... but there are two gotchas:
6409 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6410 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6411 # In both cases, we have to default to `cp -pR'.
6412 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6414 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6422 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6423 rmdir conf$$.dir
2>/dev
/null
6428 # Create "$as_dir" as a directory, including parents if necessary.
6433 -*) as_dir
=.
/$as_dir;;
6435 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6439 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6440 *) as_qdir
=$as_dir;;
6442 as_dirs
="'$as_qdir' $as_dirs"
6443 as_dir
=`$as_dirname -- "$as_dir" ||
6444 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6445 X"$as_dir" : 'X\(//\)[^/]' \| \
6446 X"$as_dir" : 'X\(//\)$' \| \
6447 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6448 $as_echo X"$as_dir" |
6449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6466 test -d "$as_dir" && break
6468 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6469 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6473 if mkdir
-p .
2>/dev
/null
; then
6474 as_mkdir_p
='mkdir -p "$as_dir"'
6476 test -d .
/-p && rmdir .
/-p
6481 # as_fn_executable_p FILE
6482 # -----------------------
6483 # Test if FILE is an executable regular file.
6484 as_fn_executable_p
()
6486 test -f "$1" && test -x "$1"
6487 } # as_fn_executable_p
6489 as_executable_p
=as_fn_executable_p
6491 # Sed expression to map a string onto a valid CPP name.
6492 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6494 # Sed expression to map a string onto a valid variable name.
6495 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6499 ## ----------------------------------- ##
6500 ## Main body of $CONFIG_STATUS script. ##
6501 ## ----------------------------------- ##
6503 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6506 # Save the log message, to keep $0 and so on meaningful, and to
6507 # report actual input values of CONFIG_FILES etc. instead of their
6508 # values after options handling.
6510 This file was extended by sim $as_me 0, which was
6511 generated by GNU Autoconf 2.69. Invocation command line was
6513 CONFIG_FILES = $CONFIG_FILES
6514 CONFIG_HEADERS = $CONFIG_HEADERS
6515 CONFIG_LINKS = $CONFIG_LINKS
6516 CONFIG_COMMANDS = $CONFIG_COMMANDS
6519 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6524 case $ac_config_files in *"
6525 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6528 case $ac_config_headers in *"
6529 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6534 # Files that config.status was made for.
6535 config_files="$ac_config_files"
6536 config_headers="$ac_config_headers"
6537 config_commands="$ac_config_commands"
6541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6543 \`$as_me' instantiates files and other configuration actions
6544 from templates according to the current configuration. Unless the files
6545 and actions are specified as TAGs, all are instantiated by default.
6547 Usage: $0 [OPTION]... [TAG]...
6549 -h, --help print this help, then exit
6550 -V, --version print version number and configuration settings, then exit
6551 --config print configuration, then exit
6552 -q, --quiet, --silent
6553 do not print progress messages
6554 -d, --debug don't remove temporary files
6555 --recheck update $as_me by reconfiguring in the same conditions
6556 --file=FILE[:TEMPLATE]
6557 instantiate the configuration file FILE
6558 --header=FILE[:TEMPLATE]
6559 instantiate the configuration header FILE
6561 Configuration files:
6564 Configuration headers:
6567 Configuration commands:
6570 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
6571 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
6574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6575 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6578 configured by $0, generated by GNU Autoconf 2.69,
6579 with options \\"\$ac_cs_config\\"
6581 Copyright (C) 2012 Free Software Foundation, Inc.
6582 This config.status script is free software; the Free Software Foundation
6583 gives unlimited permission to copy, distribute and modify it."
6590 test -n "\$AWK" || AWK=awk
6593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6594 # The default lists apply if the user does not specify any file.
6600 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6601 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6605 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6617 # Handling of the options.
6618 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6620 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6621 $as_echo "$ac_cs_version"; exit ;;
6622 --config |
--confi |
--conf |
--con |
--co |
--c )
6623 $as_echo "$ac_cs_config"; exit ;;
6624 --debug |
--debu |
--deb |
--de |
--d |
-d )
6626 --file |
--fil |
--fi |
--f )
6629 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6630 '') as_fn_error $?
"missing file argument" ;;
6632 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6633 ac_need_defaults
=false
;;
6634 --header |
--heade |
--head |
--hea )
6637 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6639 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6640 ac_need_defaults
=false
;;
6642 # Conflict between --help and --header
6643 as_fn_error $?
"ambiguous option: \`$1'
6644 Try \`$0 --help' for more information.";;
6645 --help |
--hel |
-h )
6646 $as_echo "$ac_cs_usage"; exit ;;
6647 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6648 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6652 -*) as_fn_error $?
"unrecognized option: \`$1'
6653 Try \`$0 --help' for more information." ;;
6655 *) as_fn_append ac_config_targets
" $1"
6656 ac_need_defaults
=false
;;
6662 ac_configure_extra_args
=
6664 if $ac_cs_silent; then
6666 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6671 if \$ac_cs_recheck; then
6672 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6674 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6675 CONFIG_SHELL='$SHELL'
6681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6685 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6686 ## Running $as_me. ##
6692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6696 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6702 # Handling of arguments.
6703 for ac_config_target
in $ac_config_targets
6705 case $ac_config_target in
6706 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6707 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6708 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6710 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6715 # If the user did not use the arguments to specify the items to instantiate,
6716 # then the envvar interface is used. Set only those that are not.
6717 # We use the long form for the default assignment because of an extremely
6718 # bizarre bug on SunOS 4.1.3.
6719 if $ac_need_defaults; then
6720 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6721 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6722 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6725 # Have a temporary directory for convenience. Make it in the build tree
6726 # simply because there is no reason against having it here, and in addition,
6727 # creating and moving files from /tmp can sometimes cause problems.
6728 # Hook for its removal unless debugging.
6729 # Note that there is a small window in which the directory will not be cleaned:
6730 # after its creation but before its name has been assigned to `$tmp'.
6734 trap 'exit_status=$?
6736 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6738 trap 'as_fn_exit 1' 1 2 13 15
6740 # Create a (secure) tmp directory for tmp files.
6743 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6747 tmp
=.
/conf$$
-$RANDOM
6748 (umask 077 && mkdir
"$tmp")
6749 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6752 # Set up the scripts for CONFIG_FILES section.
6753 # No need to generate them if there are no CONFIG_FILES.
6754 # This happens for instance with `./config.status config.h'.
6755 if test -n "$CONFIG_FILES"; then
6758 ac_cr
=`echo X | tr X '\015'`
6759 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6760 # But we know of no other shell where ac_cr would be empty at this
6761 # point, so we can use a bashism as a fallback.
6762 if test "x$ac_cr" = x
; then
6763 eval ac_cr
=\$
\'\\r
\'
6765 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6766 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6772 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6777 echo "cat >conf$$subs.awk <<_ACEOF" &&
6778 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6781 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6782 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6784 for ac_last_try in false false false false false :; do
6785 . ./conf$$subs.sh ||
6786 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6788 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6789 if test $ac_delim_n = $ac_delim_num; then
6791 elif $ac_last_try; then
6792 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6794 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6800 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6804 s/^/S["/; s
/!.
*/"]=/
6814 s/\(.\{148\}\)..*/\1/
6816 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6821 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6828 s/\(.\{148\}\)..*/\1/
6830 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6834 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6839 ' <conf$$subs.awk | sed '
6844 ' >>$CONFIG_STATUS || ac_write_fail=1
6845 rm -f conf$$subs.awk
6846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6848 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6849 for (key in S) S_is_set[key] = 1
6855 nfields = split(line, field, "@
")
6857 len = length(field[1])
6858 for (i = 2; i < nfields; i++) {
6860 keylen = length(key)
6861 if (S_is_set[key]) {
6863 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6864 len += length(value) + length(field[++i])
6875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6876 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6877 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6880 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6881 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6884 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6885 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6886 # trailing colons and then remove the whole line if VPATH becomes empty
6887 # (actually we leave an empty line to preserve line numbers).
6888 if test "x
$srcdir" = x.; then
6889 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6908 fi # test -n "$CONFIG_FILES"
6910 # Set up the scripts for CONFIG_HEADERS section.
6911 # No need to generate them if there are no CONFIG_HEADERS.
6912 # This happens for instance with `./config.status Makefile'.
6913 if test -n "$CONFIG_HEADERS"; then
6914 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6918 # Transform confdefs.h into an awk script `defines.awk', embedded as
6919 # here-document in config.status, that substitutes the proper values into
6920 # config.h.in to produce config.h.
6922 # Create a delimiter string that does not exist in confdefs.h, to ease
6923 # handling of long lines.
6925 for ac_last_try in false false :; do
6926 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6927 if test -z "$ac_tt"; then
6929 elif $ac_last_try; then
6930 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6932 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6936 # For the awk script, D is an array of macro values keyed by name,
6937 # likewise P contains macro parameters if any. Preserve backslash
6938 # newline sequences.
6940 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6942 s/.\{148\}/&'"$ac_delim"'/g
6945 s/^[ ]*#[ ]*define[ ][ ]*/ /
6952 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6954 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6958 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6959 D["\
1"]=" \
3\\\\\\n
"\\/p
6961 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6966 s/.\{148\}/&'"$ac_delim"'/g
6971 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6974 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6976 ' <confdefs.h | sed '
6977 s/'"$ac_delim"'/"\\\
6978 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6981 for (key in D) D_is_set[key] = 1
6984 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6986 split(line, arg, " ")
6987 if (arg[1] == "#") {
6991 defundef
= substr
(arg
[1], 2)
6994 split(mac1
, mac2
, "(") #)
6996 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6997 if (D_is_set
[macro
]) {
6998 # Preserve the white space surrounding the "#".
6999 print prefix
"define", macro P
[macro
] D
[macro
]
7002 # Replace #undef with comments. This is necessary, for example,
7003 # in the case of _POSIX_SOURCE, which is predefined and required
7004 # on some systems where configure will not decide to define it.
7005 if (defundef
== "undef") {
7006 print
"/*", prefix defundef
, macro
, "*/"
7014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7015 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7016 fi # test -n "$CONFIG_HEADERS"
7019 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7024 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7026 case $ac_mode$ac_tag in
7028 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7029 :[FH
]-) ac_tag
=-:-;;
7030 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7047 -) ac_f
="$ac_tmp/stdin";;
7048 *) # Look for the file first in the build tree, then in the source tree
7049 # (if the path is not absolute). The absolute path cannot be DOS-style,
7050 # because $ac_f cannot contain `:'.
7054 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7056 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7058 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7059 as_fn_append ac_file_inputs
" '$ac_f'"
7062 # Let's still pretend it is `configure' which instantiates (i.e., don't
7063 # use $as_me), people would be surprised to read:
7064 # /* config.h. Generated by config.status. */
7065 configure_input
='Generated from '`
7066 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7068 if test x
"$ac_file" != x-
; then
7069 configure_input
="$ac_file. $configure_input"
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7071 $as_echo "$as_me: creating $ac_file" >&6;}
7073 # Neutralize special characters interpreted by sed in replacement strings.
7074 case $configure_input in #(
7075 *\
&* |
*\|
* |
*\\* )
7076 ac_sed_conf_input
=`$as_echo "$configure_input" |
7077 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7078 *) ac_sed_conf_input
=$configure_input;;
7082 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7083 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7088 ac_dir
=`$as_dirname -- "$ac_file" ||
7089 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7090 X"$ac_file" : 'X\(//\)[^/]' \| \
7091 X"$ac_file" : 'X\(//\)$' \| \
7092 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7093 $as_echo X"$ac_file" |
7094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7111 as_dir
="$ac_dir"; as_fn_mkdir_p
7115 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7117 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7118 # A ".." for each directory in $ac_dir_suffix.
7119 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7120 case $ac_top_builddir_sub in
7121 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7122 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7125 ac_abs_top_builddir
=$ac_pwd
7126 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7127 # for backward compatibility:
7128 ac_top_builddir
=$ac_top_build_prefix
7131 .
) # We are building in place.
7133 ac_top_srcdir
=$ac_top_builddir_sub
7134 ac_abs_top_srcdir
=$ac_pwd ;;
7135 [\\/]* | ?
:[\\/]* ) # Absolute name.
7136 ac_srcdir
=$srcdir$ac_dir_suffix;
7137 ac_top_srcdir
=$srcdir
7138 ac_abs_top_srcdir
=$srcdir ;;
7140 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7141 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7142 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7144 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7154 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7155 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7159 [\\/$
]* | ?
:[\\/]* ) ;;
7160 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
7164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7165 # If the template does not know about datarootdir, expand it.
7166 # FIXME: This hack should be removed a few years after 2.60.
7167 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7178 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7179 *datarootdir
*) ac_datarootdir_seen
=yes;;
7180 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7182 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7185 ac_datarootdir_hack='
7186 s&@datadir@&$datadir&g
7187 s&@docdir@&$docdir&g
7188 s&@infodir@&$infodir&g
7189 s&@localedir@&$localedir&g
7190 s&@mandir@&$mandir&g
7191 s&\\\${datarootdir}&$datarootdir&g' ;;
7195 # Neutralize VPATH when `$srcdir' = `.'.
7196 # Shell code in configure.ac might set extrasub.
7197 # FIXME: do we really want to maintain this feature?
7198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7199 ac_sed_extra="$ac_vpsub
7202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7204 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7205 s|@configure_input@|
$ac_sed_conf_input|
;t t
7206 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7207 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7208 s
&@srcdir@
&$ac_srcdir&;t t
7209 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7210 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7211 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7212 s
&@builddir@
&$ac_builddir&;t t
7213 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7214 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7215 s
&@INSTALL@
&$ac_INSTALL&;t t
7216 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7217 $ac_datarootdir_hack
7219 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7220 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7222 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7223 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7224 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7225 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7227 which seems to be undefined. Please make sure it is defined" >&5
7228 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7229 which seems to be undefined. Please make sure it is defined" >&2;}
7231 rm -f "$ac_tmp/stdin"
7233 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7234 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7236 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7242 if test x"$ac_file" != x-; then
7244 $as_echo "/* $configure_input */" \
7245 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7246 } >"$ac_tmp/config.h" \
7247 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7248 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7250 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7253 mv "$ac_tmp/config.h" "$ac_file" \
7254 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7257 $as_echo "/* $configure_input */" \
7258 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7259 || as_fn_error $? "could not create -" "$LINENO" 5
7261 # Compute "$ac_file"'s index
in $config_headers.
7264 for _am_header
in $config_headers :; do
7266 $_am_arg |
$_am_arg:* )
7269 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7272 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7273 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7274 X"$_am_arg" : 'X\(//\)[^/]' \| \
7275 X"$_am_arg" : 'X\(//\)$' \| \
7276 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7277 $as_echo X"$_am_arg" |
7278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7294 s/.*/./; q'`/stamp-h
$_am_stamp_count
7297 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7298 $as_echo "$as_me: executing $ac_file commands" >&6;}
7303 case $ac_file$ac_mode in
7304 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
7305 # Older Autoconf quotes --file arguments for eval, but not when files
7306 # are listed without --file. Let's play safe and only enable the eval
7307 # if we detect the quoting.
7308 case $CONFIG_FILES in
7309 *\'*) eval set x
"$CONFIG_FILES" ;;
7310 *) set x
$CONFIG_FILES ;;
7315 # Strip MF so we end up with the name of the file.
7316 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7317 # Check whether this is an Automake generated Makefile or not.
7318 # We used to match only the files named 'Makefile.in', but
7319 # some people rename them; so instead we look at the file content.
7320 # Grep'ing the first line is not enough: some people post-process
7321 # each Makefile.in and add a new line on top of each file to say so.
7322 # Grep'ing the whole file is not good either: AIX grep has a line
7323 # limit of 2048, but all sed's we know have understand at least 4000.
7324 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
7325 dirpart
=`$as_dirname -- "$mf" ||
7326 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7327 X"$mf" : 'X\(//\)[^/]' \| \
7328 X"$mf" : 'X\(//\)$' \| \
7329 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7351 # Extract the definition of DEPDIR, am__include, and am__quote
7352 # from the Makefile without running 'make'.
7353 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7354 test -z "$DEPDIR" && continue
7355 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
7356 test -z "$am__include" && continue
7357 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
7358 # Find all dependency output files, they are included files with
7359 # $(DEPDIR) in their names. We invoke sed twice because it is the
7360 # simplest approach to changing $(DEPDIR) to its actual value in the
7362 for file in `sed -n "
7363 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7364 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7365 # Make sure the directory exists.
7366 test -f "$dirpart/$file" && continue
7367 fdir
=`$as_dirname -- "$file" ||
7368 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7369 X"$file" : 'X\(//\)[^/]' \| \
7370 X"$file" : 'X\(//\)$' \| \
7371 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7390 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
7391 # echo "creating $dirpart/$file"
7392 echo '# dummy' > "$dirpart/$file"
7404 ac_clean_files
=$ac_clean_files_save
7406 test $ac_write_fail = 0 ||
7407 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7410 # configure is writing to config.log, and then calls config.status.
7411 # config.status does its own redirection, appending to config.log.
7412 # Unfortunately, on DOS this fails, as config.log is still kept open
7413 # by configure, so config.status won't be able to write to it; its
7414 # output is simply discarded. So we exec the FD to /dev/null,
7415 # effectively closing config.log, so it can be properly (re)opened and
7416 # appended to by config.status. When coming back to configure, we
7417 # need to make the FD available again.
7418 if test "$no_create" != yes; then
7420 ac_config_status_args
=
7421 test "$silent" = yes &&
7422 ac_config_status_args
="$ac_config_status_args --quiet"
7424 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7426 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7427 # would make configure fail if this is the last instruction.
7428 $ac_cs_success || as_fn_exit
1
7432 # CONFIG_SUBDIRS section.
7434 if test "$no_recursion" != yes; then
7436 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
7437 # so they do not pile up.
7438 ac_sub_configure_args
=
7440 eval "set x $ac_configure_args"
7444 if test -n "$ac_prev"; then
7449 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
7450 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
7451 ac_prev
=cache_file
;;
7452 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
7453 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
7456 --config-cache |
-C)
7458 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
7460 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
7462 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
7464 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
7466 --disable-option-checking)
7470 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7472 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
7476 # Always prepend --prefix to ensure using the same prefix
7477 # in subdir configurations.
7478 ac_arg
="--prefix=$prefix"
7480 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7482 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
7485 if test "$silent" = yes; then
7486 ac_sub_configure_args
="--silent $ac_sub_configure_args"
7489 # Always prepend --disable-option-checking to silence warnings, since
7490 # different subdirs can have different --enable and --with options.
7491 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
7494 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
7496 # Do not complain, so a configure script can configure whichever
7497 # parts of a large source tree are present.
7498 test -d "$srcdir/$ac_dir" ||
continue
7500 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
7501 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
7502 $as_echo "$ac_msg" >&6
7503 as_dir
="$ac_dir"; as_fn_mkdir_p
7507 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7509 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7510 # A ".." for each directory in $ac_dir_suffix.
7511 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7512 case $ac_top_builddir_sub in
7513 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7514 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7517 ac_abs_top_builddir
=$ac_pwd
7518 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7519 # for backward compatibility:
7520 ac_top_builddir
=$ac_top_build_prefix
7523 .
) # We are building in place.
7525 ac_top_srcdir
=$ac_top_builddir_sub
7526 ac_abs_top_srcdir
=$ac_pwd ;;
7527 [\\/]* | ?
:[\\/]* ) # Absolute name.
7528 ac_srcdir
=$srcdir$ac_dir_suffix;
7529 ac_top_srcdir
=$srcdir
7530 ac_abs_top_srcdir
=$srcdir ;;
7532 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7533 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7534 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7536 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7541 # Check for guested configure; otherwise get Cygnus style configure.
7542 if test -f "$ac_srcdir/configure.gnu"; then
7543 ac_sub_configure
=$ac_srcdir/configure.gnu
7544 elif test -f "$ac_srcdir/configure"; then
7545 ac_sub_configure
=$ac_srcdir/configure
7546 elif test -f "$ac_srcdir/configure.in"; then
7547 # This should be Cygnus configure.
7548 ac_sub_configure
=$ac_aux_dir/configure
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
7551 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7555 # The recursion is here.
7556 if test -n "$ac_sub_configure"; then
7557 # Make the cache file name correct relative to the subdirectory.
7559 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
7561 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7565 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7566 # The eval makes quoting arguments work.
7567 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
7568 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
7569 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
7575 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7577 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}