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
631 SIM_ENABLE_IGEN_FALSE
657 INSTALL_STRIP_PROGRAM
670 MAINTAINER_MODE_FALSE
736 program_transform_name
749 enable_option_checking
752 enable_maintainer_mode
753 enable_dependency_tracking
760 enable_sim_environment
765 ac_precious_vars
='build_alias
774 ac_subdirs_all
='aarch64
807 # Initialize some variables set by options.
809 ac_init_version
=false
810 ac_unrecognized_opts
=
812 # The variables have the same names as the options, with
813 # dashes changed to underlines.
821 program_transform_name
=s
,x
,x
,
829 # Installation directory options.
830 # These are left unexpanded so users can "make install exec_prefix=/foo"
831 # and all the variables that are supposed to be based on exec_prefix
832 # by default will actually change.
833 # Use braces instead of parens because sh, perl, etc. also accept them.
834 # (The list follows the same order as the GNU Coding Standards.)
835 bindir
='${exec_prefix}/bin'
836 sbindir
='${exec_prefix}/sbin'
837 libexecdir
='${exec_prefix}/libexec'
838 datarootdir
='${prefix}/share'
839 datadir
='${datarootdir}'
840 sysconfdir
='${prefix}/etc'
841 sharedstatedir
='${prefix}/com'
842 localstatedir
='${prefix}/var'
843 includedir
='${prefix}/include'
844 oldincludedir
='/usr/include'
845 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
846 infodir
='${datarootdir}/info'
851 libdir
='${exec_prefix}/lib'
852 localedir
='${datarootdir}/locale'
853 mandir
='${datarootdir}/man'
859 # If the previous option needs an argument, assign it.
860 if test -n "$ac_prev"; then
861 eval $ac_prev=\
$ac_option
867 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
872 # Accept the important Cygnus configure options, so we can diagnose typos.
874 case $ac_dashdash$ac_option in
878 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
880 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
883 -build |
--build |
--buil |
--bui |
--bu)
884 ac_prev
=build_alias
;;
885 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
886 build_alias
=$ac_optarg ;;
888 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
889 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
890 ac_prev
=cache_file
;;
891 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
892 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
893 cache_file
=$ac_optarg ;;
896 cache_file
=config.cache
;;
898 -datadir |
--datadir |
--datadi |
--datad)
900 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
901 datadir
=$ac_optarg ;;
903 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
904 |
--dataroo |
--dataro |
--datar)
905 ac_prev
=datarootdir
;;
906 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
907 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
908 datarootdir
=$ac_optarg ;;
910 -disable-* |
--disable-*)
911 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
914 as_fn_error $?
"invalid feature name: $ac_useropt"
915 ac_useropt_orig
=$ac_useropt
916 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917 case $ac_user_opts in
921 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
922 ac_unrecognized_sep
=', ';;
924 eval enable_
$ac_useropt=no
;;
926 -docdir |
--docdir |
--docdi |
--doc |
--do)
928 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
931 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
933 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
936 -enable-* |
--enable-*)
937 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
940 as_fn_error $?
"invalid feature name: $ac_useropt"
941 ac_useropt_orig
=$ac_useropt
942 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943 case $ac_user_opts in
947 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
948 ac_unrecognized_sep
=', ';;
950 eval enable_
$ac_useropt=\
$ac_optarg ;;
952 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
953 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
954 |
--exec |
--exe |
--ex)
955 ac_prev
=exec_prefix
;;
956 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
957 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
958 |
--exec=* |
--exe=* |
--ex=*)
959 exec_prefix
=$ac_optarg ;;
961 -gas |
--gas |
--ga |
--g)
962 # Obsolete; use --with-gas.
965 -help |
--help |
--hel |
--he |
-h)
967 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
968 ac_init_help
=recursive
;;
969 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
970 ac_init_help
=short
;;
972 -host |
--host |
--hos |
--ho)
973 ac_prev
=host_alias
;;
974 -host=* |
--host=* |
--hos=* |
--ho=*)
975 host_alias
=$ac_optarg ;;
977 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
979 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
981 htmldir
=$ac_optarg ;;
983 -includedir |
--includedir |
--includedi |
--included |
--include \
984 |
--includ |
--inclu |
--incl |
--inc)
985 ac_prev
=includedir
;;
986 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
987 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
988 includedir
=$ac_optarg ;;
990 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
992 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
993 infodir
=$ac_optarg ;;
995 -libdir |
--libdir |
--libdi |
--libd)
997 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1000 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1001 |
--libexe |
--libex |
--libe)
1002 ac_prev
=libexecdir
;;
1003 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1004 |
--libexe=* |
--libex=* |
--libe=*)
1005 libexecdir
=$ac_optarg ;;
1007 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1008 ac_prev
=localedir
;;
1009 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1010 localedir
=$ac_optarg ;;
1012 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1013 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1014 ac_prev
=localstatedir
;;
1015 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1016 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1017 localstatedir
=$ac_optarg ;;
1019 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1021 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1022 mandir
=$ac_optarg ;;
1024 -nfp |
--nfp |
--nf)
1025 # Obsolete; use --without-fp.
1028 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1029 |
--no-cr |
--no-c |
-n)
1032 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1033 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1036 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1037 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1038 |
--oldin |
--oldi |
--old |
--ol |
--o)
1039 ac_prev
=oldincludedir
;;
1040 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1041 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1042 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1043 oldincludedir
=$ac_optarg ;;
1045 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1047 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1048 prefix
=$ac_optarg ;;
1050 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1051 |
--program-pre |
--program-pr |
--program-p)
1052 ac_prev
=program_prefix
;;
1053 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1054 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1055 program_prefix
=$ac_optarg ;;
1057 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1058 |
--program-suf |
--program-su |
--program-s)
1059 ac_prev
=program_suffix
;;
1060 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1061 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1062 program_suffix
=$ac_optarg ;;
1064 -program-transform-name |
--program-transform-name \
1065 |
--program-transform-nam |
--program-transform-na \
1066 |
--program-transform-n |
--program-transform- \
1067 |
--program-transform |
--program-transfor \
1068 |
--program-transfo |
--program-transf \
1069 |
--program-trans |
--program-tran \
1070 |
--progr-tra |
--program-tr |
--program-t)
1071 ac_prev
=program_transform_name
;;
1072 -program-transform-name=* |
--program-transform-name=* \
1073 |
--program-transform-nam=* |
--program-transform-na=* \
1074 |
--program-transform-n=* |
--program-transform-=* \
1075 |
--program-transform=* |
--program-transfor=* \
1076 |
--program-transfo=* |
--program-transf=* \
1077 |
--program-trans=* |
--program-tran=* \
1078 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1079 program_transform_name
=$ac_optarg ;;
1081 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1083 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1084 pdfdir
=$ac_optarg ;;
1086 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1088 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1091 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1092 |
-silent |
--silent |
--silen |
--sile |
--sil)
1095 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1097 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1099 sbindir
=$ac_optarg ;;
1101 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1102 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1103 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1105 ac_prev
=sharedstatedir
;;
1106 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1107 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1108 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1110 sharedstatedir
=$ac_optarg ;;
1112 -site |
--site |
--sit)
1114 -site=* |
--site=* |
--sit=*)
1117 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1119 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1120 srcdir
=$ac_optarg ;;
1122 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1123 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1124 ac_prev
=sysconfdir
;;
1125 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1126 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1127 sysconfdir
=$ac_optarg ;;
1129 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1130 ac_prev
=target_alias
;;
1131 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1132 target_alias
=$ac_optarg ;;
1134 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1137 -version |
--version |
--versio |
--versi |
--vers |
-V)
1138 ac_init_version
=: ;;
1141 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1144 as_fn_error $?
"invalid package name: $ac_useropt"
1145 ac_useropt_orig
=$ac_useropt
1146 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147 case $ac_user_opts in
1151 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1152 ac_unrecognized_sep
=', ';;
1154 eval with_
$ac_useropt=\
$ac_optarg ;;
1156 -without-* |
--without-*)
1157 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1158 # Reject names that are not valid shell variable names.
1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1160 as_fn_error $?
"invalid package name: $ac_useropt"
1161 ac_useropt_orig
=$ac_useropt
1162 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163 case $ac_user_opts in
1167 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1168 ac_unrecognized_sep
=', ';;
1170 eval with_
$ac_useropt=no
;;
1173 # Obsolete; use --with-x.
1176 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1177 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1178 ac_prev
=x_includes
;;
1179 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1180 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1181 x_includes
=$ac_optarg ;;
1183 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1184 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1185 ac_prev
=x_libraries
;;
1186 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1187 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1188 x_libraries
=$ac_optarg ;;
1190 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1191 Try \`$0 --help' for more information"
1195 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1196 # Reject names that are not valid shell variable names.
1197 case $ac_envvar in #(
1198 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1199 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1201 eval $ac_envvar=\
$ac_optarg
1202 export $ac_envvar ;;
1205 # FIXME: should be removed in autoconf 3.0.
1206 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1207 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1208 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1209 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1215 if test -n "$ac_prev"; then
1216 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1217 as_fn_error $?
"missing argument to $ac_option"
1220 if test -n "$ac_unrecognized_opts"; then
1221 case $enable_option_checking in
1223 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1224 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1228 # Check all directory arguments for consistency.
1229 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1230 datadir sysconfdir sharedstatedir localstatedir includedir \
1231 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1232 libdir localedir mandir
1234 eval ac_val
=\$
$ac_var
1235 # Remove trailing slashes.
1238 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1239 eval $ac_var=\
$ac_val;;
1241 # Be sure to have absolute directory names.
1243 [\\/$
]* | ?
:[\\/]* ) continue;;
1244 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1246 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1249 # There might be people who depend on the old broken behavior: `$host'
1250 # used to hold the argument of --host etc.
1251 # FIXME: To remove some day.
1254 target
=$target_alias
1256 # FIXME: To remove some day.
1257 if test "x$host_alias" != x
; then
1258 if test "x$build_alias" = x
; then
1259 cross_compiling
=maybe
1260 elif test "x$build_alias" != "x$host_alias"; then
1266 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1268 test "$silent" = yes && exec 6>/dev
/null
1271 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1272 ac_ls_di
=`ls -di .` &&
1273 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1274 as_fn_error $?
"working directory cannot be determined"
1275 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1276 as_fn_error $?
"pwd does not report name of working directory"
1279 # Find the source files, if location was not specified.
1280 if test -z "$srcdir"; then
1281 ac_srcdir_defaulted
=yes
1282 # Try the directory containing this script, then the parent directory.
1283 ac_confdir
=`$as_dirname -- "$as_myself" ||
1284 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1285 X"$as_myself" : 'X\(//\)[^/]' \| \
1286 X"$as_myself" : 'X\(//\)$' \| \
1287 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1288 $as_echo X"$as_myself" |
1289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1307 if test ! -r "$srcdir/$ac_unique_file"; then
1311 ac_srcdir_defaulted
=no
1313 if test ! -r "$srcdir/$ac_unique_file"; then
1314 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1315 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1317 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1319 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1321 # When building in place, set srcdir=.
1322 if test "$ac_abs_confdir" = "$ac_pwd"; then
1325 # Remove unnecessary trailing slashes from srcdir.
1326 # Double slashes in file names in object file debugging info
1327 # mess up M-x gdb in Emacs.
1329 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1331 for ac_var
in $ac_precious_vars; do
1332 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1333 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1334 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1335 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1339 # Report the --help message.
1341 if test "$ac_init_help" = "long"; then
1342 # Omit some internal or obsolete options to make the list less imposing.
1343 # This message is too long to be a string in the A/UX 3.1 sh.
1345 \`configure' configures sim 0 to adapt to many kinds of systems.
1347 Usage: $0 [OPTION]... [VAR=VALUE]...
1349 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1350 VAR=VALUE. See below for descriptions of some of the useful variables.
1352 Defaults for the options are specified in brackets.
1355 -h, --help display this help and exit
1356 --help=short display options specific to this package
1357 --help=recursive display the short help of all the included packages
1358 -V, --version display version information and exit
1359 -q, --quiet, --silent do not print \`checking ...' messages
1360 --cache-file=FILE cache test results in FILE [disabled]
1361 -C, --config-cache alias for \`--cache-file=config.cache'
1362 -n, --no-create do not create output files
1363 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1365 Installation directories:
1366 --prefix=PREFIX install architecture-independent files in PREFIX
1367 [$ac_default_prefix]
1368 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1371 By default, \`make install' will install all the files in
1372 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1373 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1374 for instance \`--prefix=\$HOME'.
1376 For better control, use the options below.
1378 Fine tuning of the installation directories:
1379 --bindir=DIR user executables [EPREFIX/bin]
1380 --sbindir=DIR system admin executables [EPREFIX/sbin]
1381 --libexecdir=DIR program executables [EPREFIX/libexec]
1382 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1383 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1384 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1385 --libdir=DIR object code libraries [EPREFIX/lib]
1386 --includedir=DIR C header files [PREFIX/include]
1387 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1388 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1389 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1390 --infodir=DIR info documentation [DATAROOTDIR/info]
1391 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1392 --mandir=DIR man documentation [DATAROOTDIR/man]
1393 --docdir=DIR documentation root [DATAROOTDIR/doc/sim]
1394 --htmldir=DIR html documentation [DOCDIR]
1395 --dvidir=DIR dvi documentation [DOCDIR]
1396 --pdfdir=DIR pdf documentation [DOCDIR]
1397 --psdir=DIR ps documentation [DOCDIR]
1403 --program-prefix=PREFIX prepend PREFIX to installed program names
1404 --program-suffix=SUFFIX append SUFFIX to installed program names
1405 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1408 --build=BUILD configure
for building on BUILD
[guessed
]
1409 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1410 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1414 if test -n "$ac_init_help"; then
1415 case $ac_init_help in
1416 short | recursive
) echo "Configuration of sim 0:";;
1421 --disable-option-checking ignore unrecognized
--enable/--with options
1422 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1423 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1424 --enable-maintainer-mode
1425 enable make rules and dependencies not useful
(and
1426 sometimes confusing
) to the casual installer
1427 --enable-dependency-tracking
1428 do not reject slow dependency extractors
1429 --disable-dependency-tracking
1430 speeds up one-time build
1431 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1432 --disable-silent-rules verbose build output
(undo
: "make V=0")
1433 --enable-sim Enable the GNU simulator
1434 --enable-example-sims enable example GNU simulators
1435 --enable-targets alternative target configurations
1436 --enable-sim-assert Specify whether to perform random assertions
1437 --enable-sim-debug=opts Enable debugging flags
(for developers of the sim
1439 --enable-sim-environment=environment
1440 Specify mixed
, user
, virtual or operating
1442 --enable-sim-profile=opts
1443 Enable profiling flags
1444 --enable-sim-stdio Specify whether to use stdio
for console
1446 --enable-sim-trace=opts Enable tracing of simulated programs
1449 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1450 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1451 --with-pkgversion=PKG Use PKG
in the version string
in place of
"SIM"
1452 --with-bugurl=URL Direct users to URL to report a bug
1454 Some influential environment variables
:
1455 CC C compiler
command
1456 CFLAGS C compiler flags
1457 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1458 nonstandard directory
<lib dir
>
1459 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1460 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1461 you have headers
in a nonstandard directory
<include dir
>
1464 Use these variables to override the choices made by
`configure' or to help
1465 it to find libraries and programs with nonstandard names/locations.
1467 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
1468 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
1473 if test "$ac_init_help" = "recursive"; then
1474 # If there are subdirs, report their specific --help.
1475 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1476 test -d "$ac_dir" ||
1477 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1482 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1484 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1485 # A ".." for each directory in $ac_dir_suffix.
1486 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1487 case $ac_top_builddir_sub in
1488 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1489 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1492 ac_abs_top_builddir=$ac_pwd
1493 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1494 # for backward compatibility:
1495 ac_top_builddir=$ac_top_build_prefix
1498 .) # We are building in place.
1500 ac_top_srcdir=$ac_top_builddir_sub
1501 ac_abs_top_srcdir=$ac_pwd ;;
1502 [\\/]* | ?:[\\/]* ) # Absolute name.
1503 ac_srcdir=$srcdir$ac_dir_suffix;
1504 ac_top_srcdir=$srcdir
1505 ac_abs_top_srcdir=$srcdir ;;
1507 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1508 ac_top_srcdir=$ac_top_build_prefix$srcdir
1509 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1511 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1513 cd "$ac_dir" || { ac_status=$?; continue; }
1514 # Check for guested configure.
1515 if test -f "$ac_srcdir/configure.gnu"; then
1517 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1518 elif test -f "$ac_srcdir/configure"; then
1520 $SHELL "$ac_srcdir/configure" --help=recursive
1522 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1524 cd "$ac_pwd" || { ac_status=$?; break; }
1528 test -n "$ac_init_help" && exit $ac_status
1529 if $ac_init_version; then
1532 generated by GNU Autoconf 2.69
1534 Copyright (C) 2012 Free Software Foundation, Inc.
1535 This configure script is free software; the Free Software Foundation
1536 gives unlimited permission to copy, distribute and modify it.
1541 ## ------------------------ ##
1542 ## Autoconf initialization. ##
1543 ## ------------------------ ##
1545 # ac_fn_c_try_compile LINENO
1546 # --------------------------
1547 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1548 ac_fn_c_try_compile ()
1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551 rm -f conftest.$ac_objext
1552 if { { ac_try="$ac_compile"
1554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1555 *) ac_try_echo
=$ac_try;;
1557 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1558 $as_echo "$ac_try_echo"; } >&5
1559 (eval "$ac_compile") 2>conftest.err
1561 if test -s conftest.err
; then
1562 grep -v '^ *+' conftest.err
>conftest.er1
1563 cat conftest.er1
>&5
1564 mv -f conftest.er1 conftest.err
1566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1567 test $ac_status = 0; } && {
1568 test -z "$ac_c_werror_flag" ||
1569 test ! -s conftest.err
1570 } && test -s conftest.
$ac_objext; then :
1573 $as_echo "$as_me: failed program was:" >&5
1574 sed 's/^/| /' conftest.
$ac_ext >&5
1578 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1579 as_fn_set_status
$ac_retval
1581 } # ac_fn_c_try_compile
1583 # ac_fn_c_try_cpp LINENO
1584 # ----------------------
1585 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1588 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1589 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1592 *) ac_try_echo=$ac_try;;
1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 $as_echo "$ac_try_echo"; } >&5
1596 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1598 if test -s conftest.err; then
1599 grep -v '^ *+' conftest.err >conftest.er1
1600 cat conftest.er1 >&5
1601 mv -f conftest.er1 conftest.err
1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604 test $ac_status = 0; } > conftest.i && {
1605 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1606 test ! -s conftest.err
1610 $as_echo "$as_me: failed program was:" >&5
1611 sed 's/^/| /' conftest.$ac_ext >&5
1615 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1616 as_fn_set_status $ac_retval
1620 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1621 # -------------------------------------------------------
1622 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1623 # the include files in INCLUDES and setting the cache variable VAR
1625 ac_fn_c_check_header_mongrel ()
1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628 if eval \${$3+:} false; then :
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if eval \${$3+:} false; then :
1632 $as_echo_n "(cached) " >&6
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1636 $as_echo "$ac_res" >&6; }
1638 # Is the header compilable?
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1640 $as_echo_n "checking $2 usability... " >&6; }
1641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642 /* end confdefs.h. */
1646 if ac_fn_c_try_compile "$LINENO"; then :
1647 ac_header_compiler=yes
1649 ac_header_compiler=no
1651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1653 $as_echo "$ac_header_compiler" >&6; }
1655 # Is the header present?
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1657 $as_echo_n "checking $2 presence... " >&6; }
1658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1659 /* end confdefs.h. */
1662 if ac_fn_c_try_cpp "$LINENO"; then :
1663 ac_header_preproc=yes
1665 ac_header_preproc=no
1667 rm -f conftest.err conftest.i conftest.$ac_ext
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1669 $as_echo "$ac_header_preproc" >&6; }
1671 # So? What about this header?
1672 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1675 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1677 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1681 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1683 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1685 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1687 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1689 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1690 ( $as_echo "## -------------------------------------------------------------------------------------- ##
1691 ## Report this to https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim ##
1692 ## -------------------------------------------------------------------------------------- ##"
1693 ) | sed "s/^/$as_me: WARNING: /" >&2
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1697 $as_echo_n "checking for $2... " >&6; }
1698 if eval \${$3+:} false; then :
1699 $as_echo_n "(cached) " >&6
1701 eval "$3=\$ac_header_compiler"
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1705 $as_echo "$ac_res" >&6; }
1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1709 } # ac_fn_c_check_header_mongrel
1711 # ac_fn_c_try_run LINENO
1712 # ----------------------
1713 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1714 # that executables *can* be run.
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 if { { ac_try="$ac_link"
1720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1721 *) ac_try_echo
=$ac_try;;
1723 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_link") 2>&5
1727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1729 { { case "(($ac_try" in
1730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1731 *) ac_try_echo=$ac_try;;
1733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1734 $as_echo "$ac_try_echo"; } >&5
1735 (eval "$ac_try") 2>&5
1737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738 test $ac_status = 0; }; }; then :
1741 $as_echo "$as_me: program exited with status $ac_status" >&5
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1745 ac_retval=$ac_status
1747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749 as_fn_set_status $ac_retval
1753 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1754 # -------------------------------------------------------
1755 # Tests whether HEADER exists and can be compiled using the include files in
1756 # INCLUDES, setting the cache variable VAR accordingly.
1757 ac_fn_c_check_header_compile ()
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761 $as_echo_n "checking for $2... " >&6; }
1762 if eval \${$3+:} false; then :
1763 $as_echo_n "(cached) " >&6
1765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1766 /* end confdefs.h. */
1770 if ac_fn_c_try_compile "$LINENO"; then :
1775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779 $as_echo "$ac_res" >&6; }
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1782 } # ac_fn_c_check_header_compile
1784 # ac_fn_c_try_link LINENO
1785 # -----------------------
1786 # Try to link conftest.$ac_ext, and return whether this succeeded.
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 rm -f conftest.$ac_objext conftest$ac_exeext
1791 if { { ac_try="$ac_link"
1793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1794 *) ac_try_echo
=$ac_try;;
1796 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_link") 2>conftest.err
1800 if test -s conftest.err
; then
1801 grep -v '^ *+' conftest.err
>conftest.er1
1802 cat conftest.er1
>&5
1803 mv -f conftest.er1 conftest.err
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; } && {
1807 test -z "$ac_c_werror_flag" ||
1808 test ! -s conftest.err
1809 } && test -s conftest
$ac_exeext && {
1810 test "$cross_compiling" = yes ||
1811 test -x conftest
$ac_exeext
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.
$ac_ext >&5
1820 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1821 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1822 # interfere with the next link command; also delete a directory that is
1823 # left behind by Apple's compiler. We do this before executing the actions.
1824 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826 as_fn_set_status
$ac_retval
1828 } # ac_fn_c_try_link
1830 # ac_fn_c_check_func LINENO FUNC VAR
1831 # ----------------------------------
1832 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1833 ac_fn_c_check_func
()
1835 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1837 $as_echo_n "checking for $2... " >&6; }
1838 if eval \
${$3+:} false
; then :
1839 $as_echo_n "(cached) " >&6
1841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1842 /* end confdefs.h. */
1843 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1845 #define $2 innocuous_$2
1847 /* System header to define __stub macros and hopefully few prototypes,
1848 which can conflict with char $2 (); below.
1849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1850 <limits.h> exists even on freestanding compilers. */
1853 # include <limits.h>
1855 # include <assert.h>
1860 /* Override any GCC internal prototype to avoid an error.
1861 Use char because int might match the return type of a GCC
1862 builtin and then its argument prototype would still apply. */
1867 /* The GNU C library defines this for functions which it implements
1868 to always fail with ENOSYS. Some functions are actually named
1869 something starting with __ and the normal name is an alias. */
1870 #if defined __stub_$2 || defined __stub___$2
1882 if ac_fn_c_try_link
"$LINENO"; then :
1887 rm -f core conftest.err conftest.
$ac_objext \
1888 conftest
$ac_exeext conftest.
$ac_ext
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1892 $as_echo "$ac_res" >&6; }
1893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895 } # ac_fn_c_check_func
1897 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1898 # ----------------------------------------------------
1899 # Tries to find if the field MEMBER exists in type AGGR, after including
1900 # INCLUDES, setting cache variable VAR accordingly.
1901 ac_fn_c_check_member
()
1903 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1905 $as_echo_n "checking for $2.$3... " >&6; }
1906 if eval \
${$4+:} false
; then :
1907 $as_echo_n "(cached) " >&6
1909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1910 /* end confdefs.h. */
1922 if ac_fn_c_try_compile
"$LINENO"; then :
1925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1932 if (sizeof ac_aggr.$3)
1938 if ac_fn_c_try_compile
"$LINENO"; then :
1943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1949 $as_echo "$ac_res" >&6; }
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952 } # ac_fn_c_check_member
1954 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1955 # ---------------------------------------------
1956 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1958 ac_fn_c_check_decl
()
1960 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1961 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1962 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1964 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1965 if eval \
${$3+:} false
; then :
1966 $as_echo_n "(cached) " >&6
1968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1969 /* end confdefs.h. */
1974 #ifndef $as_decl_name
1976 (void) $as_decl_use;
1978 (void) $as_decl_name;
1986 if ac_fn_c_try_compile
"$LINENO"; then :
1991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998 } # ac_fn_c_check_decl
2000 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2001 # -------------------------------------------
2002 # Tests whether TYPE exists after having included INCLUDES, setting cache
2003 # variable VAR accordingly.
2004 ac_fn_c_check_type
()
2006 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2008 $as_echo_n "checking for $2... " >&6; }
2009 if eval \
${$3+:} false
; then :
2010 $as_echo_n "(cached) " >&6
2013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h. */
2025 if ac_fn_c_try_compile
"$LINENO"; then :
2026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2038 if ac_fn_c_try_compile
"$LINENO"; then :
2043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2049 $as_echo "$ac_res" >&6; }
2050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2052 } # ac_fn_c_check_type
2053 cat >config.log
<<_ACEOF
2054 This file contains any messages produced by compilers while
2055 running configure, to aid debugging if configure makes a mistake.
2057 It was created by sim $as_me 0, which was
2058 generated by GNU Autoconf 2.69. Invocation command line was
2070 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2071 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2072 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2073 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2074 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2076 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2077 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2079 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2080 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2081 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2082 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2083 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2084 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2085 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2093 test -z "$as_dir" && as_dir
=.
2094 $as_echo "PATH: $as_dir"
2110 # Keep a trace of the command line.
2111 # Strip out --no-create and --no-recursion so they do not pile up.
2112 # Strip out --silent because we don't want to record it for future runs.
2113 # Also quote any args containing shell meta-characters.
2114 # Make two passes to allow for proper duplicate-argument suppression.
2118 ac_must_keep_next
=false
2124 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2125 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2126 |
-silent |
--silent |
--silen |
--sile |
--sil)
2129 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2132 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2134 as_fn_append ac_configure_args1
" '$ac_arg'"
2135 if test $ac_must_keep_next = true
; then
2136 ac_must_keep_next
=false
# Got value, back to normal.
2139 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2140 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2141 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2142 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2143 case "$ac_configure_args0 " in
2144 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2147 -* ) ac_must_keep_next
=true
;;
2150 as_fn_append ac_configure_args
" '$ac_arg'"
2155 { ac_configure_args0
=; unset ac_configure_args0
;}
2156 { ac_configure_args1
=; unset ac_configure_args1
;}
2158 # When interrupted or exit'd, cleanup temporary files, and complete
2159 # config.log. We remove comments because anyway the quotes in there
2160 # would cause problems or look ugly.
2161 # WARNING: Use '\'' to represent an apostrophe within the trap.
2162 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2163 trap 'exit_status=$?
2164 # Save into config.log some information that might help in debugging.
2168 $as_echo "## ---------------- ##
2169 ## Cache variables. ##
2170 ## ---------------- ##"
2172 # The following way of writing the cache mishandles newlines in values,
2174 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2175 eval ac_val=\$$ac_var
2179 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2180 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2183 _ | IFS | as_nl) ;; #(
2184 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2185 *) { eval $ac_var=; unset $ac_var;} ;;
2190 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2191 *${as_nl}ac_space=\ *)
2193 "s/'\''/'\''\\\\'\'''\''/g;
2194 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2197 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2204 $as_echo "## ----------------- ##
2205 ## Output variables. ##
2206 ## ----------------- ##"
2208 for ac_var in $ac_subst_vars
2210 eval ac_val=\$$ac_var
2212 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2214 $as_echo "$ac_var='\''$ac_val'\''"
2218 if test -n "$ac_subst_files"; then
2219 $as_echo "## ------------------- ##
2220 ## File substitutions. ##
2221 ## ------------------- ##"
2223 for ac_var
in $ac_subst_files
2225 eval ac_val
=\$
$ac_var
2227 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2229 $as_echo "$ac_var='\''$ac_val'\''"
2234 if test -s confdefs.h; then
2235 $as_echo "## ----------- ##
2242 test "$ac_signal" != 0 &&
2243 $as_echo "$as_me: caught signal $ac_signal"
2244 $as_echo "$as_me: exit $exit_status"
2246 rm -f core *.core core.conftest.* &&
2247 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2250 for ac_signal
in 1 2 13 15; do
2251 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2255 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2256 rm -f -r conftest
* confdefs.h
2258 $as_echo "/* confdefs.h */" > confdefs.h
2260 # Predefined preprocessor variables.
2262 cat >>confdefs.h
<<_ACEOF
2263 #define PACKAGE_NAME "$PACKAGE_NAME"
2266 cat >>confdefs.h
<<_ACEOF
2267 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2270 cat >>confdefs.h
<<_ACEOF
2271 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2274 cat >>confdefs.h
<<_ACEOF
2275 #define PACKAGE_STRING "$PACKAGE_STRING"
2278 cat >>confdefs.h
<<_ACEOF
2279 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2282 cat >>confdefs.h
<<_ACEOF
2283 #define PACKAGE_URL "$PACKAGE_URL"
2287 # Let the site file select an alternate cache file if it wants to.
2288 # Prefer an explicitly selected file to automatically selected ones.
2291 if test -n "$CONFIG_SITE"; then
2292 # We do not want a PATH search for config.site.
2293 case $CONFIG_SITE in #((
2294 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2295 */*) ac_site_file1
=$CONFIG_SITE;;
2296 *) ac_site_file1
=.
/$CONFIG_SITE;;
2298 elif test "x$prefix" != xNONE
; then
2299 ac_site_file1
=$prefix/share
/config.site
2300 ac_site_file2
=$prefix/etc
/config.site
2302 ac_site_file1
=$ac_default_prefix/share
/config.site
2303 ac_site_file2
=$ac_default_prefix/etc
/config.site
2305 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2307 test "x$ac_site_file" = xNONE
&& continue
2308 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2310 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2311 sed 's/^/| /' "$ac_site_file" >&5
2313 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2315 as_fn_error $?
"failed to load site script $ac_site_file
2316 See \`config.log' for more details" "$LINENO" 5; }
2320 if test -r "$cache_file"; then
2321 # Some versions of bash will fail to source /dev/null (special files
2322 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2323 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2325 $as_echo "$as_me: loading cache $cache_file" >&6;}
2327 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2328 *) .
"./$cache_file";;
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2333 $as_echo "$as_me: creating cache $cache_file" >&6;}
2337 as_fn_append ac_header_list
" dlfcn.h"
2338 as_fn_append ac_header_list
" fcntl.h"
2339 as_fn_append ac_header_list
" fpu_control.h"
2340 as_fn_append ac_header_list
" termios.h"
2341 as_fn_append ac_header_list
" unistd.h"
2342 as_fn_append ac_header_list
" utime.h"
2343 as_fn_append ac_header_list
" linux/if_tun.h"
2344 as_fn_append ac_header_list
" linux/mii.h"
2345 as_fn_append ac_header_list
" linux/types.h"
2346 as_fn_append ac_header_list
" net/if.h"
2347 as_fn_append ac_header_list
" netinet/in.h"
2348 as_fn_append ac_header_list
" netinet/tcp.h"
2349 as_fn_append ac_header_list
" sys/ioctl.h"
2350 as_fn_append ac_header_list
" sys/mman.h"
2351 as_fn_append ac_header_list
" sys/mount.h"
2352 as_fn_append ac_header_list
" sys/param.h"
2353 as_fn_append ac_header_list
" sys/resource.h"
2354 as_fn_append ac_header_list
" sys/select.h"
2355 as_fn_append ac_header_list
" sys/socket.h"
2356 as_fn_append ac_header_list
" sys/stat.h"
2357 as_fn_append ac_header_list
" sys/statfs.h"
2358 as_fn_append ac_header_list
" sys/termio.h"
2359 as_fn_append ac_header_list
" sys/termios.h"
2360 as_fn_append ac_header_list
" sys/types.h"
2361 as_fn_append ac_header_list
" sys/vfs.h"
2362 as_fn_append ac_func_list
" __setfpucw"
2363 as_fn_append ac_func_list
" access"
2364 as_fn_append ac_func_list
" aint"
2365 as_fn_append ac_func_list
" anint"
2366 as_fn_append ac_func_list
" cfgetispeed"
2367 as_fn_append ac_func_list
" cfgetospeed"
2368 as_fn_append ac_func_list
" cfsetispeed"
2369 as_fn_append ac_func_list
" cfsetospeed"
2370 as_fn_append ac_func_list
" chdir"
2371 as_fn_append ac_func_list
" chmod"
2372 as_fn_append ac_func_list
" dup"
2373 as_fn_append ac_func_list
" dup2"
2374 as_fn_append ac_func_list
" execv"
2375 as_fn_append ac_func_list
" execve"
2376 as_fn_append ac_func_list
" fcntl"
2377 as_fn_append ac_func_list
" fork"
2378 as_fn_append ac_func_list
" fstat"
2379 as_fn_append ac_func_list
" fstatfs"
2380 as_fn_append ac_func_list
" ftruncate"
2381 as_fn_append ac_func_list
" getdirentries"
2382 as_fn_append ac_func_list
" getegid"
2383 as_fn_append ac_func_list
" geteuid"
2384 as_fn_append ac_func_list
" getgid"
2385 as_fn_append ac_func_list
" getpid"
2386 as_fn_append ac_func_list
" getppid"
2387 as_fn_append ac_func_list
" getrusage"
2388 as_fn_append ac_func_list
" gettimeofday"
2389 as_fn_append ac_func_list
" getuid"
2390 as_fn_append ac_func_list
" ioctl"
2391 as_fn_append ac_func_list
" kill"
2392 as_fn_append ac_func_list
" link"
2393 as_fn_append ac_func_list
" lseek"
2394 as_fn_append ac_func_list
" mmap"
2395 as_fn_append ac_func_list
" munmap"
2396 as_fn_append ac_func_list
" pipe"
2397 as_fn_append ac_func_list
" posix_fallocate"
2398 as_fn_append ac_func_list
" pread"
2399 as_fn_append ac_func_list
" rmdir"
2400 as_fn_append ac_func_list
" setregid"
2401 as_fn_append ac_func_list
" setreuid"
2402 as_fn_append ac_func_list
" setgid"
2403 as_fn_append ac_func_list
" setuid"
2404 as_fn_append ac_func_list
" sigaction"
2405 as_fn_append ac_func_list
" sigprocmask"
2406 as_fn_append ac_func_list
" sqrt"
2407 as_fn_append ac_func_list
" stat"
2408 as_fn_append ac_func_list
" strsignal"
2409 as_fn_append ac_func_list
" symlink"
2410 as_fn_append ac_func_list
" tcdrain"
2411 as_fn_append ac_func_list
" tcflow"
2412 as_fn_append ac_func_list
" tcflush"
2413 as_fn_append ac_func_list
" tcgetattr"
2414 as_fn_append ac_func_list
" tcgetpgrp"
2415 as_fn_append ac_func_list
" tcsendbreak"
2416 as_fn_append ac_func_list
" tcsetattr"
2417 as_fn_append ac_func_list
" tcsetpgrp"
2418 as_fn_append ac_func_list
" time"
2419 as_fn_append ac_func_list
" truncate"
2420 as_fn_append ac_func_list
" umask"
2421 as_fn_append ac_func_list
" unlink"
2422 as_fn_append ac_func_list
" utime"
2423 # Check that the precious variables saved in the cache have kept the same
2425 ac_cache_corrupted
=false
2426 for ac_var
in $ac_precious_vars; do
2427 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2428 eval ac_new_set
=\
$ac_env_${ac_var}_set
2429 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2430 eval ac_new_val
=\
$ac_env_${ac_var}_value
2431 case $ac_old_set,$ac_new_set in
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2434 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2435 ac_cache_corrupted
=: ;;
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2438 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2439 ac_cache_corrupted
=: ;;
2442 if test "x$ac_old_val" != "x$ac_new_val"; then
2443 # differences in whitespace do not lead to failure.
2444 ac_old_val_w
=`echo x $ac_old_val`
2445 ac_new_val_w
=`echo x $ac_new_val`
2446 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2448 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2449 ac_cache_corrupted
=:
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2452 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2453 eval $ac_var=\
$ac_old_val
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2456 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2458 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2461 # Pass precious variables to config.status.
2462 if test "$ac_new_set" = set; then
2464 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2465 *) ac_arg
=$ac_var=$ac_new_val ;;
2467 case " $ac_configure_args " in
2468 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2469 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2473 if $ac_cache_corrupted; then
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2477 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2478 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2480 ## -------------------- ##
2481 ## Main body of script. ##
2482 ## -------------------- ##
2485 ac_cpp
='$CPP $CPPFLAGS'
2486 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2487 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2488 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2497 # Check whether --with-pkgversion was given.
2498 if test "${with_pkgversion+set}" = set; then :
2499 withval
=$with_pkgversion; case "$withval" in
2500 yes) as_fn_error $?
"package version not specified" "$LINENO" 5 ;;
2502 *) PKGVERSION
="($withval) " ;;
2512 cat >>confdefs.h
<<_ACEOF
2513 #define PKGVERSION "$PKGVERSION"
2518 # Check whether --with-bugurl was given.
2519 if test "${with_bugurl+set}" = set; then :
2520 withval
=$with_bugurl; case "$withval" in
2521 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
2524 *) BUGURL
="$withval"
2528 BUGURL
="$PACKAGE_BUGREPORT"
2538 REPORT_BUGS_TO
="<$BUGURL>"
2539 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
2546 cat >>confdefs.h
<<_ACEOF
2547 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
2551 ac_config_headers
="$ac_config_headers config.h"
2555 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2556 if test -f "$ac_dir/install-sh"; then
2558 ac_install_sh
="$ac_aux_dir/install-sh -c"
2560 elif test -f "$ac_dir/install.sh"; then
2562 ac_install_sh
="$ac_aux_dir/install.sh -c"
2564 elif test -f "$ac_dir/shtool"; then
2566 ac_install_sh
="$ac_aux_dir/shtool install -c"
2570 if test -z "$ac_aux_dir"; then
2571 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2574 # These three variables are undocumented and unsupported,
2575 # and are intended to be withdrawn in a future Autoconf release.
2576 # They can cause serious problems if a builder's source tree is in a directory
2577 # whose full name contains unusual characters.
2578 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2579 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2580 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2583 # Make sure we can run config.sub.
2584 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2585 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2588 $as_echo_n "checking build system type... " >&6; }
2589 if ${ac_cv_build+:} false
; then :
2590 $as_echo_n "(cached) " >&6
2592 ac_build_alias
=$build_alias
2593 test "x$ac_build_alias" = x
&&
2594 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2595 test "x$ac_build_alias" = x
&&
2596 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2597 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2598 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2602 $as_echo "$ac_cv_build" >&6; }
2603 case $ac_cv_build in
2605 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2608 ac_save_IFS
=$IFS; IFS
='-'
2614 # Remember, the first character of IFS is used to create $*,
2615 # except with old shells:
2618 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2622 $as_echo_n "checking host system type... " >&6; }
2623 if ${ac_cv_host+:} false
; then :
2624 $as_echo_n "(cached) " >&6
2626 if test "x$host_alias" = x
; then
2627 ac_cv_host
=$ac_cv_build
2629 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2630 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2635 $as_echo "$ac_cv_host" >&6; }
2638 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2641 ac_save_IFS
=$IFS; IFS
='-'
2647 # Remember, the first character of IFS is used to create $*,
2648 # except with old shells:
2651 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2655 $as_echo_n "checking target system type... " >&6; }
2656 if ${ac_cv_target+:} false
; then :
2657 $as_echo_n "(cached) " >&6
2659 if test "x$target_alias" = x
; then
2660 ac_cv_target
=$ac_cv_host
2662 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2663 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2668 $as_echo "$ac_cv_target" >&6; }
2669 case $ac_cv_target in
2671 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2673 target
=$ac_cv_target
2674 ac_save_IFS
=$IFS; IFS
='-'
2680 # Remember, the first character of IFS is used to create $*,
2681 # except with old shells:
2684 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2687 # The aliases save the names the user supplied, while $host etc.
2688 # will get canonicalized.
2689 test -n "$target_alias" &&
2690 test "$program_prefix$program_suffix$program_transform_name" = \
2692 program_prefix
=${target_alias}-
2693 # Expand $ac_aux_dir to an absolute path.
2694 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2697 ac_cpp
='$CPP $CPPFLAGS'
2698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2701 if test -n "$ac_tool_prefix"; then
2702 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2703 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2705 $as_echo_n "checking for $ac_word... " >&6; }
2706 if ${ac_cv_prog_CC+:} false
; then :
2707 $as_echo_n "(cached) " >&6
2709 if test -n "$CC"; then
2710 ac_cv_prog_CC
="$CC" # Let the user override the test.
2712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2716 test -z "$as_dir" && as_dir
=.
2717 for ac_exec_ext
in '' $ac_executable_extensions; do
2718 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2719 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2730 if test -n "$CC"; then
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2732 $as_echo "$CC" >&6; }
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2735 $as_echo "no" >&6; }
2740 if test -z "$ac_cv_prog_CC"; then
2742 # Extract the first word of "gcc", so it can be a program name with args.
2743 set dummy gcc
; ac_word
=$2
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2745 $as_echo_n "checking for $ac_word... " >&6; }
2746 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2747 $as_echo_n "(cached) " >&6
2749 if test -n "$ac_ct_CC"; then
2750 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2756 test -z "$as_dir" && as_dir
=.
2757 for ac_exec_ext
in '' $ac_executable_extensions; do
2758 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2759 ac_cv_prog_ac_ct_CC
="gcc"
2760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2770 if test -n "$ac_ct_CC"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2772 $as_echo "$ac_ct_CC" >&6; }
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2775 $as_echo "no" >&6; }
2778 if test "x$ac_ct_CC" = x
; then
2781 case $cross_compiling:$ac_tool_warned in
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2785 ac_tool_warned
=yes ;;
2793 if test -z "$CC"; then
2794 if test -n "$ac_tool_prefix"; then
2795 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2796 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2798 $as_echo_n "checking for $ac_word... " >&6; }
2799 if ${ac_cv_prog_CC+:} false
; then :
2800 $as_echo_n "(cached) " >&6
2802 if test -n "$CC"; then
2803 ac_cv_prog_CC
="$CC" # Let the user override the test.
2805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2809 test -z "$as_dir" && as_dir
=.
2810 for ac_exec_ext
in '' $ac_executable_extensions; do
2811 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2812 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2823 if test -n "$CC"; then
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2825 $as_echo "$CC" >&6; }
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2828 $as_echo "no" >&6; }
2834 if test -z "$CC"; then
2835 # Extract the first word of "cc", so it can be a program name with args.
2836 set dummy cc
; ac_word
=$2
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838 $as_echo_n "checking for $ac_word... " >&6; }
2839 if ${ac_cv_prog_CC+:} false
; then :
2840 $as_echo_n "(cached) " >&6
2842 if test -n "$CC"; then
2843 ac_cv_prog_CC
="$CC" # Let the user override the test.
2846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2850 test -z "$as_dir" && as_dir
=.
2851 for ac_exec_ext
in '' $ac_executable_extensions; do
2852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2853 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2854 ac_prog_rejected
=yes
2858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865 if test $ac_prog_rejected = yes; then
2866 # We found a bogon in the path, so make sure we never use it.
2867 set dummy
$ac_cv_prog_CC
2869 if test $# != 0; then
2870 # We chose a different compiler from the bogus one.
2871 # However, it has the same basename, so the bogon will be chosen
2872 # first if we set CC to just the basename; use the full file name.
2874 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2880 if test -n "$CC"; then
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2882 $as_echo "$CC" >&6; }
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2885 $as_echo "no" >&6; }
2890 if test -z "$CC"; then
2891 if test -n "$ac_tool_prefix"; then
2892 for ac_prog
in cl.exe
2894 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2895 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2897 $as_echo_n "checking for $ac_word... " >&6; }
2898 if ${ac_cv_prog_CC+:} false
; then :
2899 $as_echo_n "(cached) " >&6
2901 if test -n "$CC"; then
2902 ac_cv_prog_CC
="$CC" # Let the user override the test.
2904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2908 test -z "$as_dir" && as_dir
=.
2909 for ac_exec_ext
in '' $ac_executable_extensions; do
2910 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2911 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2922 if test -n "$CC"; then
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2924 $as_echo "$CC" >&6; }
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2927 $as_echo "no" >&6; }
2931 test -n "$CC" && break
2934 if test -z "$CC"; then
2936 for ac_prog
in cl.exe
2938 # Extract the first word of "$ac_prog", so it can be a program name with args.
2939 set dummy
$ac_prog; ac_word
=$2
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2941 $as_echo_n "checking for $ac_word... " >&6; }
2942 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2943 $as_echo_n "(cached) " >&6
2945 if test -n "$ac_ct_CC"; then
2946 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2952 test -z "$as_dir" && as_dir
=.
2953 for ac_exec_ext
in '' $ac_executable_extensions; do
2954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2955 ac_cv_prog_ac_ct_CC
="$ac_prog"
2956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2965 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2966 if test -n "$ac_ct_CC"; then
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2968 $as_echo "$ac_ct_CC" >&6; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971 $as_echo "no" >&6; }
2975 test -n "$ac_ct_CC" && break
2978 if test "x$ac_ct_CC" = x
; then
2981 case $cross_compiling:$ac_tool_warned in
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2985 ac_tool_warned
=yes ;;
2994 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2996 as_fn_error $?
"no acceptable C compiler found in \$PATH
2997 See \`config.log' for more details" "$LINENO" 5; }
2999 # Provide some information about the compiler.
3000 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3003 for ac_option
in --version -v -V -qversion; do
3004 { { ac_try
="$ac_compiler $ac_option >&5"
3006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3010 $as_echo "$ac_try_echo"; } >&5
3011 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3013 if test -s conftest.err; then
3015 ... rest of stderr output deleted ...
3016 10q' conftest.err >conftest.er1
3017 cat conftest.er1 >&5
3019 rm -f conftest.er1 conftest.err
3020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3021 test $ac_status = 0; }
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3035 ac_clean_files_save=$ac_clean_files
3036 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3037 # Try to create an executable without -o first, disregard a.out.
3038 # It will help us diagnose broken compilers, and finding out an intuition
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3041 $as_echo_n "checking whether the C compiler works... " >&6; }
3042 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3044 # The possible output files:
3045 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3048 for ac_file in $ac_files
3051 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3052 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3057 if { { ac_try="$ac_link_default"
3059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3060 *) ac_try_echo
=$ac_try;;
3062 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3063 $as_echo "$ac_try_echo"; } >&5
3064 (eval "$ac_link_default") 2>&5
3066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3067 test $ac_status = 0; }; then :
3068 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3069 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3070 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3071 # so that the user can short-circuit this test for compilers unknown to
3073 for ac_file
in $ac_files ''
3075 test -f "$ac_file" ||
continue
3077 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3080 # We found the default executable, but exeext='' is most
3084 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3086 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3088 # We set ac_cv_exeext here because the later test for it is not
3089 # safe: cross compilers may not add the suffix if given an `-o'
3090 # argument, so we may need to know it at that point already.
3091 # Even if this section looks crufty: it has the advantage of
3098 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3103 if test -z "$ac_file"; then :
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3105 $as_echo "no" >&6; }
3106 $as_echo "$as_me: failed program was:" >&5
3107 sed 's/^/| /' conftest.
$ac_ext >&5
3109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3111 as_fn_error
77 "C compiler cannot create executables
3112 See \`config.log' for more details" "$LINENO" 5; }
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3115 $as_echo "yes" >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3118 $as_echo_n "checking for C compiler default output file name... " >&6; }
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3120 $as_echo "$ac_file" >&6; }
3121 ac_exeext
=$ac_cv_exeext
3123 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3124 ac_clean_files
=$ac_clean_files_save
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3126 $as_echo_n "checking for suffix of executables... " >&6; }
3127 if { { ac_try
="$ac_link"
3129 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3133 $as_echo "$ac_try_echo"; } >&5
3134 (eval "$ac_link") 2>&5
3136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3137 test $ac_status = 0; }; then :
3138 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3139 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3140 # work properly (i.e., refer to `conftest.exe'), while it won't with
3142 for ac_file
in conftest.exe conftest conftest.
*; do
3143 test -f "$ac_file" ||
continue
3145 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3146 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3154 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3155 See \`config.log' for more details" "$LINENO" 5; }
3157 rm -f conftest conftest
$ac_cv_exeext
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3159 $as_echo "$ac_cv_exeext" >&6; }
3161 rm -f conftest.
$ac_ext
3162 EXEEXT
=$ac_cv_exeext
3164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3165 /* end confdefs.h. */
3170 FILE *f = fopen ("conftest.out", "w");
3171 return ferror (f) || fclose (f) != 0;
3177 ac_clean_files
="$ac_clean_files conftest.out"
3178 # Check that the compiler produces executables we can run. If not, either
3179 # the compiler is broken, or we cross compile.
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3181 $as_echo_n "checking whether we are cross compiling... " >&6; }
3182 if test "$cross_compiling" != yes; then
3183 { { ac_try
="$ac_link"
3185 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3186 *) ac_try_echo=$ac_try;;
3188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3189 $as_echo "$ac_try_echo"; } >&5
3190 (eval "$ac_link") 2>&5
3192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3193 test $ac_status = 0; }
3194 if { ac_try='./conftest$ac_cv_exeext'
3195 { { case "(($ac_try" in
3196 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3197 *) ac_try_echo
=$ac_try;;
3199 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3200 $as_echo "$ac_try_echo"; } >&5
3201 (eval "$ac_try") 2>&5
3203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3204 test $ac_status = 0; }; }; then
3207 if test "$cross_compiling" = maybe
; then
3210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3212 as_fn_error $?
"cannot run C compiled programs.
3213 If you meant to cross compile, use \`--host'.
3214 See \`config.log' for more details" "$LINENO" 5; }
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3219 $as_echo "$cross_compiling" >&6; }
3221 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3222 ac_clean_files
=$ac_clean_files_save
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3224 $as_echo_n "checking for suffix of object files... " >&6; }
3225 if ${ac_cv_objext+:} false
; then :
3226 $as_echo_n "(cached) " >&6
3228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3229 /* end confdefs.h. */
3239 rm -f conftest.o conftest.obj
3240 if { { ac_try
="$ac_compile"
3242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3243 *) ac_try_echo=$ac_try;;
3245 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3246 $as_echo "$ac_try_echo"; } >&5
3247 (eval "$ac_compile") 2>&5
3249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3250 test $ac_status = 0; }; then :
3251 for ac_file in conftest.o conftest.obj conftest.*; do
3252 test -f "$ac_file" || continue;
3254 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3255 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3260 $as_echo "$as_me: failed program was:" >&5
3261 sed 's/^/| /' conftest.$ac_ext >&5
3263 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3265 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3266 See \
`config.log' for more details" "$LINENO" 5; }
3268 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3271 $as_echo "$ac_cv_objext" >&6; }
3272 OBJEXT=$ac_cv_objext
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3275 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3276 if ${ac_cv_c_compiler_gnu+:} false; then :
3277 $as_echo_n "(cached) " >&6
3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 /* end confdefs.h. */
3293 if ac_fn_c_try_compile "$LINENO"; then :
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3303 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3304 if test $ac_compiler_gnu = yes; then
3309 ac_test_CFLAGS=${CFLAGS+set}
3310 ac_save_CFLAGS=$CFLAGS
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3312 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3313 if ${ac_cv_prog_cc_g+:} false; then :
3314 $as_echo_n "(cached) " >&6
3316 ac_save_c_werror_flag=$ac_c_werror_flag
3317 ac_c_werror_flag=yes
3320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3321 /* end confdefs.h. */
3331 if ac_fn_c_try_compile "$LINENO"; then :
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3346 if ac_fn_c_try_compile "$LINENO"; then :
3349 ac_c_werror_flag=$ac_save_c_werror_flag
3351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352 /* end confdefs.h. */
3362 if ac_fn_c_try_compile "$LINENO"; then :
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370 ac_c_werror_flag=$ac_save_c_werror_flag
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3373 $as_echo "$ac_cv_prog_cc_g" >&6; }
3374 if test "$ac_test_CFLAGS" = set; then
3375 CFLAGS=$ac_save_CFLAGS
3376 elif test $ac_cv_prog_cc_g = yes; then
3377 if test "$GCC" = yes; then
3383 if test "$GCC" = yes; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3390 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3391 if ${ac_cv_prog_cc_c89+:} false; then :
3392 $as_echo_n "(cached) " >&6
3394 ac_cv_prog_cc_c89=no
3396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h. */
3401 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3402 struct buf { int x; };
3403 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3404 static char *e (p, i)
3410 static char *f (char * (*g) (char **, int), char **p, ...)
3415 s = g (p, va_arg (v,int));
3420 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3421 function prototypes and stuff, but not '\xHH' hex character constants.
3422 These don't provoke an error unfortunately, instead are silently treated
3423 as 'x'. The following induces an error, until -std is added to get
3424 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3425 array size at least. It's necessary to write '\x00'==0 to get something
3426 that's true only with -std. */
3427 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3429 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3430 inside strings and character constants. */
3432 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3434 int test (int i, double x);
3435 struct s1 {int (*f) (int a);};
3436 struct s2 {int (*f) (double a);};
3437 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3443 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3448 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3449 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3451 CC="$ac_save_CC $ac_arg"
3452 if ac_fn_c_try_compile "$LINENO"; then :
3453 ac_cv_prog_cc_c89=$ac_arg
3455 rm -f core conftest.err conftest.$ac_objext
3456 test "x$ac_cv_prog_cc_c89" != "xno" && break
3458 rm -f conftest.$ac_ext
3463 case "x$ac_cv_prog_cc_c89" in
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3466 $as_echo "none needed" >&6; } ;;
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3469 $as_echo "unsupported" >&6; } ;;
3471 CC="$CC $ac_cv_prog_cc_c89"
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3473 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3475 if test "x$ac_cv_prog_cc_c89" != xno; then :
3480 ac_cpp='$CPP $CPPFLAGS'
3481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3486 ac_cpp='$CPP $CPPFLAGS'
3487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3491 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3492 if ${am_cv_prog_cc_c_o+:} false; then :
3493 $as_echo_n "(cached) " >&6
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3506 # Make sure it works both with $CC and with simple cc.
3507 # Following AC_PROG_CC_C_O, we do the test twice because some
3508 # compilers refuse to overwrite an existing .o file with -o,
3509 # though they will create one.
3510 am_cv_prog_cc_c_o=yes
3512 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3513 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); } \
3517 && test -f conftest2.$ac_objext; then
3520 am_cv_prog_cc_c_o=no
3524 rm -f core conftest*
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3528 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3529 if test "$am_cv_prog_cc_c_o" != yes; then
3530 # Losing compiler, so override with the script.
3531 # FIXME: It is wrong to rewrite CC.
3532 # But if we don't then we get into trouble of one sort or another.
3533 # A longer-term fix would be to have automake use am__CC in this case,
3534 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3535 CC="$am_aux_dir/compile $CC"
3538 ac_cpp='$CPP $CPPFLAGS'
3539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3546 ac_cpp='$CPP $CPPFLAGS'
3547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3551 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3552 # On Suns, sometimes $CPP names a directory.
3553 if test -n "$CPP" && test -d "$CPP"; then
3556 if test -z "$CPP"; then
3557 if ${ac_cv_prog_CPP+:} false; then :
3558 $as_echo_n "(cached) " >&6
3560 # Double quotes because CPP needs to be expanded
3561 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3564 for ac_c_preproc_warn_flag in '' yes
3566 # Use a header file that comes with gcc, so configuring glibc
3567 # with a fresh cross-compiler works.
3568 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3569 # <limits.h> exists even on freestanding compilers.
3570 # On the NeXT, cc -E runs the code through the compiler's parser,
3571 # not just through cpp. "Syntax error" is here to catch this case.
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3575 # include <limits.h>
3577 # include <assert.h>
3581 if ac_fn_c_try_cpp "$LINENO"; then :
3584 # Broken: fails on valid input.
3587 rm -f conftest.err conftest.i conftest.$ac_ext
3589 # OK, works on sane cases. Now check whether nonexistent headers
3590 # can be detected and how.
3591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3592 /* end confdefs.h. */
3593 #include <ac_nonexistent.h>
3595 if ac_fn_c_try_cpp "$LINENO"; then :
3596 # Broken: success on invalid input.
3599 # Passes both tests.
3603 rm -f conftest.err conftest.i conftest.$ac_ext
3606 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3607 rm -f conftest.i conftest.err conftest.
$ac_ext
3608 if $ac_preproc_ok; then :
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3621 $as_echo "$CPP" >&6; }
3623 for ac_c_preproc_warn_flag
in '' yes
3625 # Use a header file that comes with gcc, so configuring glibc
3626 # with a fresh cross-compiler works.
3627 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3628 # <limits.h> exists even on freestanding compilers.
3629 # On the NeXT, cc -E runs the code through the compiler's parser,
3630 # not just through cpp. "Syntax error" is here to catch this case.
3631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3634 # include <limits.h>
3636 # include <assert.h>
3640 if ac_fn_c_try_cpp
"$LINENO"; then :
3643 # Broken: fails on valid input.
3646 rm -f conftest.err conftest.i conftest.
$ac_ext
3648 # OK, works on sane cases. Now check whether nonexistent headers
3649 # can be detected and how.
3650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3651 /* end confdefs.h. */
3652 #include <ac_nonexistent.h>
3654 if ac_fn_c_try_cpp
"$LINENO"; then :
3655 # Broken: success on invalid input.
3658 # Passes both tests.
3662 rm -f conftest.err conftest.i conftest.
$ac_ext
3665 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3666 rm -f conftest.i conftest.err conftest.
$ac_ext
3667 if $ac_preproc_ok; then :
3670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3672 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3673 See \`config.log' for more details" "$LINENO" 5; }
3677 ac_cpp
='$CPP $CPPFLAGS'
3678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3684 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3685 if ${ac_cv_path_GREP+:} false
; then :
3686 $as_echo_n "(cached) " >&6
3688 if test -z "$GREP"; then
3689 ac_path_GREP_found
=false
3690 # Loop through the user's path and test for each of PROGNAME-LIST
3691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3692 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3695 test -z "$as_dir" && as_dir
=.
3696 for ac_prog
in grep ggrep
; do
3697 for ac_exec_ext
in '' $ac_executable_extensions; do
3698 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3699 as_fn_executable_p
"$ac_path_GREP" ||
continue
3700 # Check for GNU ac_path_GREP and select it if it is found.
3701 # Check for GNU $ac_path_GREP
3702 case `"$ac_path_GREP" --version 2>&1` in
3704 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3707 $as_echo_n 0123456789 >"conftest.in"
3710 cat "conftest.in" "conftest.in" >"conftest.tmp"
3711 mv "conftest.tmp" "conftest.in"
3712 cp "conftest.in" "conftest.nl"
3713 $as_echo 'GREP' >> "conftest.nl"
3714 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3715 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3716 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3717 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3718 # Best one so far, save it but keep looking for a better one
3719 ac_cv_path_GREP
="$ac_path_GREP"
3720 ac_path_GREP_max
=$ac_count
3722 # 10*(2^10) chars as input seems more than enough
3723 test $ac_count -gt 10 && break
3725 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3728 $ac_path_GREP_found && break 3
3733 if test -z "$ac_cv_path_GREP"; then
3734 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3737 ac_cv_path_GREP
=$GREP
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3742 $as_echo "$ac_cv_path_GREP" >&6; }
3743 GREP
="$ac_cv_path_GREP"
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3747 $as_echo_n "checking for egrep... " >&6; }
3748 if ${ac_cv_path_EGREP+:} false
; then :
3749 $as_echo_n "(cached) " >&6
3751 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3752 then ac_cv_path_EGREP
="$GREP -E"
3754 if test -z "$EGREP"; then
3755 ac_path_EGREP_found
=false
3756 # Loop through the user's path and test for each of PROGNAME-LIST
3757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3758 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3761 test -z "$as_dir" && as_dir
=.
3762 for ac_prog
in egrep; do
3763 for ac_exec_ext
in '' $ac_executable_extensions; do
3764 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3765 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3766 # Check for GNU ac_path_EGREP and select it if it is found.
3767 # Check for GNU $ac_path_EGREP
3768 case `"$ac_path_EGREP" --version 2>&1` in
3770 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3773 $as_echo_n 0123456789 >"conftest.in"
3776 cat "conftest.in" "conftest.in" >"conftest.tmp"
3777 mv "conftest.tmp" "conftest.in"
3778 cp "conftest.in" "conftest.nl"
3779 $as_echo 'EGREP' >> "conftest.nl"
3780 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3781 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3782 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3783 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3784 # Best one so far, save it but keep looking for a better one
3785 ac_cv_path_EGREP
="$ac_path_EGREP"
3786 ac_path_EGREP_max
=$ac_count
3788 # 10*(2^10) chars as input seems more than enough
3789 test $ac_count -gt 10 && break
3791 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3794 $ac_path_EGREP_found && break 3
3799 if test -z "$ac_cv_path_EGREP"; then
3800 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3803 ac_cv_path_EGREP
=$EGREP
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3809 $as_echo "$ac_cv_path_EGREP" >&6; }
3810 EGREP
="$ac_cv_path_EGREP"
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3814 $as_echo_n "checking for ANSI C header files... " >&6; }
3815 if ${ac_cv_header_stdc+:} false
; then :
3816 $as_echo_n "(cached) " >&6
3818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3819 /* end confdefs.h. */
3833 if ac_fn_c_try_compile
"$LINENO"; then :
3834 ac_cv_header_stdc
=yes
3836 ac_cv_header_stdc
=no
3838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3840 if test $ac_cv_header_stdc = yes; then
3841 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3843 /* end confdefs.h. */
3847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3848 $EGREP "memchr" >/dev
/null
2>&1; then :
3851 ac_cv_header_stdc
=no
3857 if test $ac_cv_header_stdc = yes; then
3858 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3860 /* end confdefs.h. */
3864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3865 $EGREP "free" >/dev
/null
2>&1; then :
3868 ac_cv_header_stdc
=no
3874 if test $ac_cv_header_stdc = yes; then
3875 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3876 if test "$cross_compiling" = yes; then :
3879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3883 #if ((' ' & 0x0FF) == 0x020)
3884 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3885 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3887 # define ISLOWER(c) \
3888 (('a' <= (c) && (c) <= 'i') \
3889 || ('j' <= (c) && (c) <= 'r') \
3890 || ('s' <= (c) && (c) <= 'z'))
3891 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3894 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3899 for (i = 0; i < 256; i++)
3900 if (XOR (islower (i), ISLOWER (i))
3901 || toupper (i) != TOUPPER (i))
3906 if ac_fn_c_try_run
"$LINENO"; then :
3909 ac_cv_header_stdc
=no
3911 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3912 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3918 $as_echo "$ac_cv_header_stdc" >&6; }
3919 if test $ac_cv_header_stdc = yes; then
3921 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3925 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3926 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3927 inttypes.h stdint.h unistd.h
3929 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3930 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3932 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3933 cat >>confdefs.h
<<_ACEOF
3934 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3943 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3944 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3951 if test "$MINIX" = yes; then
3953 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3956 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3959 $as_echo "#define _MINIX 1" >>confdefs.h
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3965 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3966 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3967 $as_echo_n "(cached) " >&6
3969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3970 /* end confdefs.h. */
3972 # define __EXTENSIONS__ 1
3973 $ac_includes_default
3982 if ac_fn_c_try_compile
"$LINENO"; then :
3983 ac_cv_safe_to_define___extensions__
=yes
3985 ac_cv_safe_to_define___extensions__
=no
3987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3990 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3991 test $ac_cv_safe_to_define___extensions__ = yes &&
3992 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3994 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3996 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3998 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4000 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4003 test "$program_prefix" != NONE
&&
4004 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4005 # Use a double $ so make ignores it.
4006 test "$program_suffix" != NONE
&&
4007 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4008 # Double any \ or $.
4009 # By default was `s,x,x', remove it if useless.
4010 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4011 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4013 # Find a good install program. We prefer a C program (faster),
4014 # so one script is as good as another. But avoid the broken or
4015 # incompatible versions:
4016 # SysV /etc/install, /usr/sbin/install
4017 # SunOS /usr/etc/install
4018 # IRIX /sbin/install
4020 # AmigaOS /C/install, which installs bootblocks on floppy discs
4021 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4022 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4023 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4024 # OS/2's system install, which has a completely different semantic
4025 # ./install, which can be erroneously created by make from ./install.sh.
4026 # Reject install programs that cannot install multiple files.
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4028 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4029 if test -z "$INSTALL"; then
4030 if ${ac_cv_path_install+:} false
; then :
4031 $as_echo_n "(cached) " >&6
4033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4037 test -z "$as_dir" && as_dir
=.
4038 # Account for people who put trailing slashes in PATH elements.
4039 case $as_dir/ in #((
4040 .
/ | .
// |
/[cC
]/* | \
4041 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4042 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4045 # OSF1 and SCO ODT 3.0 have their own names for install.
4046 # Don't use installbsd from OSF since it installs stuff as root
4048 for ac_prog
in ginstall scoinst
install; do
4049 for ac_exec_ext
in '' $ac_executable_extensions; do
4050 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4051 if test $ac_prog = install &&
4052 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4053 # AIX install. It has an incompatible calling convention.
4055 elif test $ac_prog = install &&
4056 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4057 # program-specific install script used by HP pwplus--don't use.
4060 rm -rf conftest.one conftest.two conftest.dir
4061 echo one
> conftest.one
4062 echo two
> conftest.two
4064 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4065 test -s conftest.one
&& test -s conftest.two
&&
4066 test -s conftest.dir
/conftest.one
&&
4067 test -s conftest.dir
/conftest.two
4069 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4082 rm -rf conftest.one conftest.two conftest.dir
4085 if test "${ac_cv_path_install+set}" = set; then
4086 INSTALL
=$ac_cv_path_install
4088 # As a last resort, use the slow shell script. Don't cache a
4089 # value for INSTALL within a source directory, because that will
4090 # break other packages using the cache if that directory is
4091 # removed, or if the value is a relative name.
4092 INSTALL
=$ac_install_sh
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4096 $as_echo "$INSTALL" >&6; }
4098 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4099 # It thinks the first close brace ends the variable substitution.
4100 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4102 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4104 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4111 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4112 if ${ac_cv_c_bigendian+:} false
; then :
4113 $as_echo_n "(cached) " >&6
4115 ac_cv_c_bigendian
=unknown
4116 # See if we're dealing with a universal compiler.
4117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4119 #ifndef __APPLE_CC__
4120 not a universal capable compiler
4125 if ac_fn_c_try_compile
"$LINENO"; then :
4127 # Check for potential -arch flags. It is not universal unless
4128 # there are at least two -arch flags with different values.
4131 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4132 if test -n "$ac_prev"; then
4134 i?
86 | x86_64 | ppc | ppc64
)
4135 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4138 ac_cv_c_bigendian
=universal
4144 elif test "x$ac_word" = "x-arch"; then
4149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4150 if test $ac_cv_c_bigendian = unknown
; then
4151 # See if sys/param.h defines the BYTE_ORDER macro.
4152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4154 #include <sys/types.h>
4155 #include <sys/param.h>
4160 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4161 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4170 if ac_fn_c_try_compile
"$LINENO"; then :
4171 # It does; now see whether it defined to BIG_ENDIAN or not.
4172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4174 #include <sys/types.h>
4175 #include <sys/param.h>
4180 #if BYTE_ORDER != BIG_ENDIAN
4188 if ac_fn_c_try_compile
"$LINENO"; then :
4189 ac_cv_c_bigendian
=yes
4191 ac_cv_c_bigendian
=no
4193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4197 if test $ac_cv_c_bigendian = unknown
; then
4198 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4206 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4214 if ac_fn_c_try_compile
"$LINENO"; then :
4215 # It does; now see whether it defined to _BIG_ENDIAN or not.
4216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4231 if ac_fn_c_try_compile
"$LINENO"; then :
4232 ac_cv_c_bigendian
=yes
4234 ac_cv_c_bigendian
=no
4236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4240 if test $ac_cv_c_bigendian = unknown
; then
4241 # Compile a test program.
4242 if test "$cross_compiling" = yes; then :
4243 # Try to guess by grepping values from an object file.
4244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4246 short int ascii_mm[] =
4247 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4248 short int ascii_ii[] =
4249 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4250 int use_ascii (int i) {
4251 return ascii_mm[i] + ascii_ii[i];
4253 short int ebcdic_ii[] =
4254 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4255 short int ebcdic_mm[] =
4256 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4257 int use_ebcdic (int i) {
4258 return ebcdic_mm[i] + ebcdic_ii[i];
4265 return use_ascii (foo) == use_ebcdic (foo);
4270 if ac_fn_c_try_compile
"$LINENO"; then :
4271 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4272 ac_cv_c_bigendian
=yes
4274 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4275 if test "$ac_cv_c_bigendian" = unknown
; then
4276 ac_cv_c_bigendian
=no
4278 # finding both strings is unlikely to happen, but who knows?
4279 ac_cv_c_bigendian
=unknown
4283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4287 $ac_includes_default
4292 /* Are we little or big endian? From Harbison&Steele. */
4296 char c[sizeof (long int)];
4299 return u.c[sizeof (long int) - 1] == 1;
4305 if ac_fn_c_try_run
"$LINENO"; then :
4306 ac_cv_c_bigendian
=no
4308 ac_cv_c_bigendian
=yes
4310 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4311 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4317 $as_echo "$ac_cv_c_bigendian" >&6; }
4318 case $ac_cv_c_bigendian in #(
4320 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4326 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4330 as_fn_error $?
"unknown endianness
4331 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4337 if test "x$cross_compiling" = "xno"; then
4338 : "${AR_FOR_BUILD:=\$(AR)}"
4339 : "${CC_FOR_BUILD:=\$(CC)}"
4340 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
4341 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
4342 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
4344 : "${AR_FOR_BUILD:=ar}"
4345 : "${CC_FOR_BUILD:=gcc}"
4346 : "${RANLIB_FOR_BUILD:=ranlib}"
4347 : "${CFLAGS_FOR_BUILD:=-g -O}"
4348 : "${LDLFAGS_FOR_BUILD:=}"
4357 if test -n "$ac_tool_prefix"; then
4358 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4359 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4361 $as_echo_n "checking for $ac_word... " >&6; }
4362 if ${ac_cv_prog_AR+:} false
; then :
4363 $as_echo_n "(cached) " >&6
4365 if test -n "$AR"; then
4366 ac_cv_prog_AR
="$AR" # Let the user override the test.
4368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4372 test -z "$as_dir" && as_dir
=.
4373 for ac_exec_ext
in '' $ac_executable_extensions; do
4374 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4375 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4386 if test -n "$AR"; then
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4388 $as_echo "$AR" >&6; }
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4391 $as_echo "no" >&6; }
4396 if test -z "$ac_cv_prog_AR"; then
4398 # Extract the first word of "ar", so it can be a program name with args.
4399 set dummy
ar; ac_word
=$2
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401 $as_echo_n "checking for $ac_word... " >&6; }
4402 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4403 $as_echo_n "(cached) " >&6
4405 if test -n "$ac_ct_AR"; then
4406 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4412 test -z "$as_dir" && as_dir
=.
4413 for ac_exec_ext
in '' $ac_executable_extensions; do
4414 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_prog_ac_ct_AR
="ar"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4425 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4426 if test -n "$ac_ct_AR"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4428 $as_echo "$ac_ct_AR" >&6; }
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4434 if test "x$ac_ct_AR" = x
; then
4437 case $cross_compiling:$ac_tool_warned in
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4441 ac_tool_warned
=yes ;;
4449 if test -n "$ac_tool_prefix"; then
4450 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4451 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453 $as_echo_n "checking for $ac_word... " >&6; }
4454 if ${ac_cv_prog_RANLIB+:} false
; then :
4455 $as_echo_n "(cached) " >&6
4457 if test -n "$RANLIB"; then
4458 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4464 test -z "$as_dir" && as_dir
=.
4465 for ac_exec_ext
in '' $ac_executable_extensions; do
4466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4467 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4477 RANLIB
=$ac_cv_prog_RANLIB
4478 if test -n "$RANLIB"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4480 $as_echo "$RANLIB" >&6; }
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4488 if test -z "$ac_cv_prog_RANLIB"; then
4489 ac_ct_RANLIB
=$RANLIB
4490 # Extract the first word of "ranlib", so it can be a program name with args.
4491 set dummy ranlib
; ac_word
=$2
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4493 $as_echo_n "checking for $ac_word... " >&6; }
4494 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4495 $as_echo_n "(cached) " >&6
4497 if test -n "$ac_ct_RANLIB"; then
4498 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4504 test -z "$as_dir" && as_dir
=.
4505 for ac_exec_ext
in '' $ac_executable_extensions; do
4506 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4507 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4517 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4518 if test -n "$ac_ct_RANLIB"; then
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4520 $as_echo "$ac_ct_RANLIB" >&6; }
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4523 $as_echo "no" >&6; }
4526 if test "x$ac_ct_RANLIB" = x
; then
4529 case $cross_compiling:$ac_tool_warned in
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4533 ac_tool_warned
=yes ;;
4535 RANLIB
=$ac_ct_RANLIB
4538 RANLIB
="$ac_cv_prog_RANLIB"
4542 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
4543 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
4544 # is C99. So handle it ourselves.
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
4548 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4552 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4553 # error "C11 support not found"
4557 if ac_fn_c_try_compile
"$LINENO"; then :
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4559 $as_echo "yes" >&6; }
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4563 $as_echo "no" >&6; }
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4565 $as_echo_n "checking for -std=c11 support... " >&6; }
4568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4571 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4572 # error "C11 support not found"
4576 if ac_fn_c_try_compile
"$LINENO"; then :
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4579 $as_echo "yes" >&6; }
4581 C_DIALECT
="-std=c11"
4584 as_fn_error $?
"C11 is required" "$LINENO" 5
4586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4594 for ac_header
in $ac_header_list
4596 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4597 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4599 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4600 cat >>confdefs.h
<<_ACEOF
4601 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4661 for ac_func
in $ac_func_list
4663 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4664 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4665 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4666 cat >>confdefs.h
<<_ACEOF
4667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4796 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4797 if ${ac_cv_struct_tm+:} false
; then :
4798 $as_echo_n "(cached) " >&6
4800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4802 #include <sys/types.h>
4809 int *p = &tm.tm_sec;
4815 if ac_fn_c_try_compile
"$LINENO"; then :
4816 ac_cv_struct_tm
=time.h
4818 ac_cv_struct_tm
=sys
/time.h
4820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4823 $as_echo "$ac_cv_struct_tm" >&6; }
4824 if test $ac_cv_struct_tm = sys
/time.h
; then
4826 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
4831 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
4832 if ${ac_cv_type_uid_t+:} false
; then :
4833 $as_echo_n "(cached) " >&6
4835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4837 #include <sys/types.h>
4840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4841 $EGREP "uid_t" >/dev
/null
2>&1; then :
4842 ac_cv_type_uid_t
=yes
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
4850 $as_echo "$ac_cv_type_uid_t" >&6; }
4851 if test $ac_cv_type_uid_t = no
; then
4853 $as_echo "#define uid_t int" >>confdefs.h
4856 $as_echo "#define gid_t int" >>confdefs.h
4862 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4863 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4865 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4866 if eval \
${$as_ac_Header+:} false
; then :
4867 $as_echo_n "(cached) " >&6
4869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4870 /* end confdefs.h. */
4871 #include <sys/types.h>
4883 if ac_fn_c_try_compile
"$LINENO"; then :
4884 eval "$as_ac_Header=yes"
4886 eval "$as_ac_Header=no"
4888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4890 eval ac_res
=\$
$as_ac_Header
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4892 $as_echo "$ac_res" >&6; }
4893 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4894 cat >>confdefs.h
<<_ACEOF
4895 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4898 ac_header_dirent
=$ac_hdr; break
4902 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4903 if test $ac_header_dirent = dirent.h
; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4905 $as_echo_n "checking for library containing opendir... " >&6; }
4906 if ${ac_cv_search_opendir+:} false
; then :
4907 $as_echo_n "(cached) " >&6
4909 ac_func_search_save_LIBS
=$LIBS
4910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4911 /* end confdefs.h. */
4913 /* Override any GCC internal prototype to avoid an error.
4914 Use char because int might match the return type of a GCC
4915 builtin and then its argument prototype would still apply. */
4928 for ac_lib
in '' dir
; do
4929 if test -z "$ac_lib"; then
4930 ac_res
="none required"
4933 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4935 if ac_fn_c_try_link
"$LINENO"; then :
4936 ac_cv_search_opendir
=$ac_res
4938 rm -f core conftest.err conftest.
$ac_objext \
4940 if ${ac_cv_search_opendir+:} false
; then :
4944 if ${ac_cv_search_opendir+:} false
; then :
4947 ac_cv_search_opendir
=no
4950 LIBS
=$ac_func_search_save_LIBS
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4953 $as_echo "$ac_cv_search_opendir" >&6; }
4954 ac_res
=$ac_cv_search_opendir
4955 if test "$ac_res" != no
; then :
4956 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4962 $as_echo_n "checking for library containing opendir... " >&6; }
4963 if ${ac_cv_search_opendir+:} false
; then :
4964 $as_echo_n "(cached) " >&6
4966 ac_func_search_save_LIBS
=$LIBS
4967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4968 /* end confdefs.h. */
4970 /* Override any GCC internal prototype to avoid an error.
4971 Use char because int might match the return type of a GCC
4972 builtin and then its argument prototype would still apply. */
4985 for ac_lib
in '' x
; do
4986 if test -z "$ac_lib"; then
4987 ac_res
="none required"
4990 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4992 if ac_fn_c_try_link
"$LINENO"; then :
4993 ac_cv_search_opendir
=$ac_res
4995 rm -f core conftest.err conftest.
$ac_objext \
4997 if ${ac_cv_search_opendir+:} false
; then :
5001 if ${ac_cv_search_opendir+:} false
; then :
5004 ac_cv_search_opendir
=no
5007 LIBS
=$ac_func_search_save_LIBS
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5010 $as_echo "$ac_cv_search_opendir" >&6; }
5011 ac_res
=$ac_cv_search_opendir
5012 if test "$ac_res" != no
; then :
5013 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5022 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
5023 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
5025 cat >>confdefs.h
<<_ACEOF
5026 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
5030 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
5035 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
5036 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
5038 cat >>confdefs.h
<<_ACEOF
5039 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5043 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
5046 case " $LIBOBJS " in
5047 *" fileblocks.$ac_objext "* ) ;;
5048 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
5055 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
5056 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
5058 cat >>confdefs.h
<<_ACEOF
5059 #define HAVE_STRUCT_STAT_ST_RDEV 1
5063 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
5068 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
5069 #include <$ac_cv_struct_tm>
5072 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
5074 cat >>confdefs.h
<<_ACEOF
5075 #define HAVE_STRUCT_TM_TM_ZONE 1
5081 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
5083 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
5086 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
5088 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
5094 cat >>confdefs.h
<<_ACEOF
5095 #define HAVE_DECL_TZNAME $ac_have_decl
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
5099 $as_echo_n "checking for tzname... " >&6; }
5100 if ${ac_cv_var_tzname+:} false
; then :
5101 $as_echo_n "(cached) " >&6
5103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5104 /* end confdefs.h. */
5106 #if !HAVE_DECL_TZNAME
5107 extern char *tzname[];
5113 return tzname[0][0];
5118 if ac_fn_c_try_link
"$LINENO"; then :
5119 ac_cv_var_tzname
=yes
5123 rm -f core conftest.err conftest.
$ac_objext \
5124 conftest
$ac_exeext conftest.
$ac_ext
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
5127 $as_echo "$ac_cv_var_tzname" >&6; }
5128 if test $ac_cv_var_tzname = yes; then
5130 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
5136 ac_fn_c_check_member
"$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
5137 #include <sys/types.h>
5139 #ifdef HAVE_SYS_STAT_H
5140 #include <sys/stat.h>
5143 if test "x$ac_cv_member_struct_stat_st_dev" = xyes
; then :
5145 cat >>confdefs.h
<<_ACEOF
5146 #define HAVE_STRUCT_STAT_ST_DEV 1
5151 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ino" "ac_cv_member_struct_stat_st_ino" "#ifdef HAVE_SYS_TYPES_H
5152 #include <sys/types.h>
5154 #ifdef HAVE_SYS_STAT_H
5155 #include <sys/stat.h>
5158 if test "x$ac_cv_member_struct_stat_st_ino" = xyes
; then :
5160 cat >>confdefs.h
<<_ACEOF
5161 #define HAVE_STRUCT_STAT_ST_INO 1
5166 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mode" "ac_cv_member_struct_stat_st_mode" "#ifdef HAVE_SYS_TYPES_H
5167 #include <sys/types.h>
5169 #ifdef HAVE_SYS_STAT_H
5170 #include <sys/stat.h>
5173 if test "x$ac_cv_member_struct_stat_st_mode" = xyes
; then :
5175 cat >>confdefs.h
<<_ACEOF
5176 #define HAVE_STRUCT_STAT_ST_MODE 1
5181 ac_fn_c_check_member
"$LINENO" "struct stat" "st_nlink" "ac_cv_member_struct_stat_st_nlink" "#ifdef HAVE_SYS_TYPES_H
5182 #include <sys/types.h>
5184 #ifdef HAVE_SYS_STAT_H
5185 #include <sys/stat.h>
5188 if test "x$ac_cv_member_struct_stat_st_nlink" = xyes
; then :
5190 cat >>confdefs.h
<<_ACEOF
5191 #define HAVE_STRUCT_STAT_ST_NLINK 1
5196 ac_fn_c_check_member
"$LINENO" "struct stat" "st_uid" "ac_cv_member_struct_stat_st_uid" "#ifdef HAVE_SYS_TYPES_H
5197 #include <sys/types.h>
5199 #ifdef HAVE_SYS_STAT_H
5200 #include <sys/stat.h>
5203 if test "x$ac_cv_member_struct_stat_st_uid" = xyes
; then :
5205 cat >>confdefs.h
<<_ACEOF
5206 #define HAVE_STRUCT_STAT_ST_UID 1
5211 ac_fn_c_check_member
"$LINENO" "struct stat" "st_gid" "ac_cv_member_struct_stat_st_gid" "#ifdef HAVE_SYS_TYPES_H
5212 #include <sys/types.h>
5214 #ifdef HAVE_SYS_STAT_H
5215 #include <sys/stat.h>
5218 if test "x$ac_cv_member_struct_stat_st_gid" = xyes
; then :
5220 cat >>confdefs.h
<<_ACEOF
5221 #define HAVE_STRUCT_STAT_ST_GID 1
5226 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "#ifdef HAVE_SYS_TYPES_H
5227 #include <sys/types.h>
5229 #ifdef HAVE_SYS_STAT_H
5230 #include <sys/stat.h>
5233 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
5235 cat >>confdefs.h
<<_ACEOF
5236 #define HAVE_STRUCT_STAT_ST_RDEV 1
5241 ac_fn_c_check_member
"$LINENO" "struct stat" "st_size" "ac_cv_member_struct_stat_st_size" "#ifdef HAVE_SYS_TYPES_H
5242 #include <sys/types.h>
5244 #ifdef HAVE_SYS_STAT_H
5245 #include <sys/stat.h>
5248 if test "x$ac_cv_member_struct_stat_st_size" = xyes
; then :
5250 cat >>confdefs.h
<<_ACEOF
5251 #define HAVE_STRUCT_STAT_ST_SIZE 1
5256 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "#ifdef HAVE_SYS_TYPES_H
5257 #include <sys/types.h>
5259 #ifdef HAVE_SYS_STAT_H
5260 #include <sys/stat.h>
5263 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
5265 cat >>confdefs.h
<<_ACEOF
5266 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
5271 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "#ifdef HAVE_SYS_TYPES_H
5272 #include <sys/types.h>
5274 #ifdef HAVE_SYS_STAT_H
5275 #include <sys/stat.h>
5278 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
5280 cat >>confdefs.h
<<_ACEOF
5281 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5286 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atime" "ac_cv_member_struct_stat_st_atime" "#ifdef HAVE_SYS_TYPES_H
5287 #include <sys/types.h>
5289 #ifdef HAVE_SYS_STAT_H
5290 #include <sys/stat.h>
5293 if test "x$ac_cv_member_struct_stat_st_atime" = xyes
; then :
5295 cat >>confdefs.h
<<_ACEOF
5296 #define HAVE_STRUCT_STAT_ST_ATIME 1
5301 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtime" "ac_cv_member_struct_stat_st_mtime" "#ifdef HAVE_SYS_TYPES_H
5302 #include <sys/types.h>
5304 #ifdef HAVE_SYS_STAT_H
5305 #include <sys/stat.h>
5308 if test "x$ac_cv_member_struct_stat_st_mtime" = xyes
; then :
5310 cat >>confdefs.h
<<_ACEOF
5311 #define HAVE_STRUCT_STAT_ST_MTIME 1
5316 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctime" "ac_cv_member_struct_stat_st_ctime" "#ifdef HAVE_SYS_TYPES_H
5317 #include <sys/types.h>
5319 #ifdef HAVE_SYS_STAT_H
5320 #include <sys/stat.h>
5323 if test "x$ac_cv_member_struct_stat_st_ctime" = xyes
; then :
5325 cat >>confdefs.h
<<_ACEOF
5326 #define HAVE_STRUCT_STAT_ST_CTIME 1
5333 ac_fn_c_check_type
"$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default"
5334 if test "x$ac_cv_type___int128" = xyes
; then :
5336 cat >>confdefs.h
<<_ACEOF
5337 #define HAVE___INT128 1
5343 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
5344 #include <sys/socket.h>
5347 if test "x$ac_cv_type_socklen_t" = xyes
; then :
5349 cat >>confdefs.h
<<_ACEOF
5350 #define HAVE_SOCKLEN_T 1
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
5358 $as_echo_n "checking type of array argument to getgroups... " >&6; }
5359 if ${ac_cv_type_getgroups+:} false
; then :
5360 $as_echo_n "(cached) " >&6
5362 if test "$cross_compiling" = yes; then :
5363 ac_cv_type_getgroups
=cross
5365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5367 /* Thanks to Mike Rendell for this test. */
5368 $ac_includes_default
5371 #define MAX(x, y) ((x) > (y) ? (x) : (y))
5378 union { gid_t gval; long int lval; } val;
5381 for (i = 0; i < NGID; i++)
5382 gidset[i] = val.gval;
5383 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
5385 /* Exit non-zero if getgroups seems to require an array of ints. This
5386 happens when gid_t is short int but getgroups modifies an array
5388 return n > 0 && gidset[n] != val.gval;
5391 if ac_fn_c_try_run
"$LINENO"; then :
5392 ac_cv_type_getgroups
=gid_t
5394 ac_cv_type_getgroups
=int
5396 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5397 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5400 if test $ac_cv_type_getgroups = cross
; then
5401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5407 $EGREP "getgroups.*int.*gid_t" >/dev
/null
2>&1; then :
5408 ac_cv_type_getgroups
=gid_t
5410 ac_cv_type_getgroups
=int
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
5417 $as_echo "$ac_cv_type_getgroups" >&6; }
5419 cat >>confdefs.h
<<_ACEOF
5420 #define GETGROUPS_T $ac_cv_type_getgroups
5424 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
5425 if test "x$ac_cv_type_mode_t" = xyes
; then :
5429 cat >>confdefs.h
<<_ACEOF
5435 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5436 if test "x$ac_cv_type_off_t" = xyes
; then :
5440 cat >>confdefs.h
<<_ACEOF
5441 #define off_t long int
5446 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
5447 if test "x$ac_cv_type_pid_t" = xyes
; then :
5451 cat >>confdefs.h
<<_ACEOF
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
5458 $as_echo_n "checking return type of signal handlers... " >&6; }
5459 if ${ac_cv_type_signal+:} false
; then :
5460 $as_echo_n "(cached) " >&6
5462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5463 /* end confdefs.h. */
5464 #include <sys/types.h>
5470 return *(signal (0, 0)) (0) == 1;
5475 if ac_fn_c_try_compile
"$LINENO"; then :
5476 ac_cv_type_signal
=int
5478 ac_cv_type_signal
=void
5480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
5483 $as_echo "$ac_cv_type_signal" >&6; }
5485 cat >>confdefs.h
<<_ACEOF
5486 #define RETSIGTYPE $ac_cv_type_signal
5490 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5491 if test "x$ac_cv_type_size_t" = xyes
; then :
5495 cat >>confdefs.h
<<_ACEOF
5496 #define size_t unsigned int
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
5502 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
5503 if ${ac_cv_type_uid_t+:} false
; then :
5504 $as_echo_n "(cached) " >&6
5506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5507 /* end confdefs.h. */
5508 #include <sys/types.h>
5511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5512 $EGREP "uid_t" >/dev
/null
2>&1; then :
5513 ac_cv_type_uid_t
=yes
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
5521 $as_echo "$ac_cv_type_uid_t" >&6; }
5522 if test $ac_cv_type_uid_t = no
; then
5524 $as_echo "#define uid_t int" >>confdefs.h
5527 $as_echo "#define gid_t int" >>confdefs.h
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5535 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5536 # Check whether --enable-maintainer-mode was given.
5537 if test "${enable_maintainer_mode+set}" = set; then :
5538 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5540 USE_MAINTAINER_MODE
=no
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5544 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5545 if test $USE_MAINTAINER_MODE = yes; then
5546 MAINTAINER_MODE_TRUE
=
5547 MAINTAINER_MODE_FALSE
='#'
5549 MAINTAINER_MODE_TRUE
='#'
5550 MAINTAINER_MODE_FALSE
=
5553 MAINT
=$MAINTAINER_MODE_TRUE
5556 am__api_version
='1.15'
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
5559 $as_echo_n "checking whether build environment is sane... " >&6; }
5560 # Reject unsafe characters in $srcdir or the absolute working directory
5561 # name. Accept space and tab only in the latter.
5565 *[\\\"\
#\$\&\'\`$am_lf]*)
5566 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
5569 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
5570 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
5573 # Do 'set' in a subshell so we don't clobber the current shell's
5574 # arguments. Must try -L first in case configure is actually a
5575 # symlink; some systems play weird games with the mod time of symlinks
5576 # (eg FreeBSD returns the mod time of the symlink's containing
5580 for am_try
in 1 2; do
5581 echo "timestamp, slept: $am_has_slept" > conftest.
file
5582 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5583 if test "$*" = "X"; then
5585 set X
`ls -t "$srcdir/configure" conftest.file`
5587 if test "$*" != "X $srcdir/configure conftest.file" \
5588 && test "$*" != "X conftest.file $srcdir/configure"; then
5590 # If neither matched, then we have a broken ls. This can happen
5591 # if, for instance, CONFIG_SHELL is bash and it inherits a
5592 # broken ls alias from the environment. This has actually
5593 # happened. Such a system could not be considered "sane".
5594 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
5595 alias in your environment" "$LINENO" 5
5597 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
5604 test "$2" = conftest.
file
5610 as_fn_error $?
"newly created file is older than distributed files!
5611 Check your system clock" "$LINENO" 5
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5614 $as_echo "yes" >&6; }
5615 # If we didn't sleep, we still need to ensure time stamps of config.status and
5616 # generated files are strictly newer.
5618 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
5625 if test x
"${MISSING+set}" != xset
; then
5628 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
5630 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
5633 # Use eval to expand $SHELL
5634 if eval "$MISSING --is-lightweight"; then
5635 am_missing_run
="$MISSING "
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
5639 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
5642 if test x
"${install_sh+set}" != xset
; then
5645 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
5647 install_sh
="\${SHELL} $am_aux_dir/install-sh"
5651 # Installed binaries are usually stripped using 'strip' when the user
5652 # run "make install-strip". However 'strip' might not be the right
5653 # tool to use in cross-compilation environments, therefore Automake
5654 # will honor the 'STRIP' environment variable to overrule this program.
5655 if test "$cross_compiling" != no
; then
5656 if test -n "$ac_tool_prefix"; then
5657 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5658 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 $as_echo_n "checking for $ac_word... " >&6; }
5661 if ${ac_cv_prog_STRIP+:} false
; then :
5662 $as_echo_n "(cached) " >&6
5664 if test -n "$STRIP"; then
5665 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5671 test -z "$as_dir" && as_dir
=.
5672 for ac_exec_ext
in '' $ac_executable_extensions; do
5673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 STRIP
=$ac_cv_prog_STRIP
5685 if test -n "$STRIP"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5687 $as_echo "$STRIP" >&6; }
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 $as_echo "no" >&6; }
5695 if test -z "$ac_cv_prog_STRIP"; then
5697 # Extract the first word of "strip", so it can be a program name with args.
5698 set dummy strip
; ac_word
=$2
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5700 $as_echo_n "checking for $ac_word... " >&6; }
5701 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5702 $as_echo_n "(cached) " >&6
5704 if test -n "$ac_ct_STRIP"; then
5705 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5711 test -z "$as_dir" && as_dir
=.
5712 for ac_exec_ext
in '' $ac_executable_extensions; do
5713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5714 ac_cv_prog_ac_ct_STRIP
="strip"
5715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5725 if test -n "$ac_ct_STRIP"; then
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5727 $as_echo "$ac_ct_STRIP" >&6; }
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5730 $as_echo "no" >&6; }
5733 if test "x$ac_ct_STRIP" = x
; then
5736 case $cross_compiling:$ac_tool_warned in
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5740 ac_tool_warned
=yes ;;
5745 STRIP
="$ac_cv_prog_STRIP"
5749 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5752 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5753 if test -z "$MKDIR_P"; then
5754 if ${ac_cv_path_mkdir+:} false
; then :
5755 $as_echo_n "(cached) " >&6
5757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5758 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
5761 test -z "$as_dir" && as_dir
=.
5762 for ac_prog
in mkdir gmkdir
; do
5763 for ac_exec_ext
in '' $ac_executable_extensions; do
5764 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
5765 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5766 'mkdir (GNU coreutils) '* | \
5767 'mkdir (coreutils) '* | \
5768 'mkdir (fileutils) '4.1*)
5769 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
5779 test -d .
/--version && rmdir .
/--version
5780 if test "${ac_cv_path_mkdir+set}" = set; then
5781 MKDIR_P
="$ac_cv_path_mkdir -p"
5783 # As a last resort, use the slow shell script. Don't cache a
5784 # value for MKDIR_P within a source directory, because that will
5785 # break other packages using the cache if that directory is
5786 # removed, or if the value is a relative name.
5787 MKDIR_P
="$ac_install_sh -d"
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5791 $as_echo "$MKDIR_P" >&6; }
5793 for ac_prog
in gawk mawk nawk
awk
5795 # Extract the first word of "$ac_prog", so it can be a program name with args.
5796 set dummy
$ac_prog; ac_word
=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if ${ac_cv_prog_AWK+:} false
; then :
5800 $as_echo_n "(cached) " >&6
5802 if test -n "$AWK"; then
5803 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir
=.
5810 for ac_exec_ext
in '' $ac_executable_extensions; do
5811 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5812 ac_cv_prog_AWK
="$ac_prog"
5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5823 if test -n "$AWK"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5825 $as_echo "$AWK" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5832 test -n "$AWK" && break
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5836 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5838 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5839 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5840 $as_echo_n "(cached) " >&6
5842 cat >conftest.
make <<\_ACEOF
5845 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5847 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5848 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5850 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5852 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5856 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5858 $as_echo "yes" >&6; }
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862 $as_echo "no" >&6; }
5863 SET_MAKE
="MAKE=${MAKE-make}"
5866 rm -rf .tst
2>/dev
/null
5867 mkdir .tst
2>/dev
/null
5868 if test -d .tst
; then
5873 rmdir .tst
2>/dev
/null
5875 DEPDIR
="${am__leading_dot}deps"
5877 ac_config_commands
="$ac_config_commands depfiles"
5880 am_make
=${MAKE-make}
5881 cat > confinc
<< 'END'
5883 @
echo this is the am__doit target
5886 # If we don't find an include directive, just comment out the code.
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
5888 $as_echo_n "checking for style of include used by $am_make... " >&6; }
5892 # First try GNU make style include.
5893 echo "include confinc" > confmf
5894 # Ignore all kinds of additional output from 'make'.
5895 case `$am_make -s -f confmf 2> /dev/null` in #(
5896 *the\ am__doit\ target
*)
5902 # Now try BSD make style include.
5903 if test "$am__include" = "#"; then
5904 echo '.include "confinc"' > confmf
5905 case `$am_make -s -f confmf 2> /dev/null` in #(
5906 *the\ am__doit\ target
*)
5907 am__include
=.include
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
5916 $as_echo "$_am_result" >&6; }
5917 rm -f confinc confmf
5919 # Check whether --enable-dependency-tracking was given.
5920 if test "${enable_dependency_tracking+set}" = set; then :
5921 enableval
=$enable_dependency_tracking;
5924 if test "x$enable_dependency_tracking" != xno
; then
5925 am_depcomp
="$ac_aux_dir/depcomp"
5929 if test "x$enable_dependency_tracking" != xno; then
5938 # Check whether --enable-silent-rules was given.
5939 if test "${enable_silent_rules+set}" = set; then :
5940 enableval
=$enable_silent_rules;
5943 case $enable_silent_rules in # (((
5944 yes) AM_DEFAULT_VERBOSITY
=0;;
5945 no
) AM_DEFAULT_VERBOSITY
=1;;
5946 *) AM_DEFAULT_VERBOSITY
=1;;
5948 am_make
=${MAKE-make}
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5950 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5951 if ${am_cv_make_support_nested_variables+:} false
; then :
5952 $as_echo_n "(cached) " >&6
5954 if $as_echo 'TRUE=$(BAR$(V))
5960 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
5961 am_cv_make_support_nested_variables
=yes
5963 am_cv_make_support_nested_variables
=no
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5967 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5968 if test $am_cv_make_support_nested_variables = yes; then
5970 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
5972 AM_V
=$AM_DEFAULT_VERBOSITY
5973 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
5977 if test "`cd $srcdir && pwd`" != "`pwd`"; then
5978 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5979 # is not polluted with repeated "-I."
5980 am__isrc
=' -I$(srcdir)'
5981 # test to see if srcdir already configured
5982 if test -f $srcdir/config.status
; then
5983 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
5987 # test whether we have cygpath
5988 if test -z "$CYGPATH_W"; then
5989 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
5990 CYGPATH_W
='cygpath -w'
5997 # Define the identity of the package.
6002 cat >>confdefs.h
<<_ACEOF
6003 #define PACKAGE "$PACKAGE"
6007 cat >>confdefs.h
<<_ACEOF
6008 #define VERSION "$VERSION"
6011 # Some tools Automake needs.
6013 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
6016 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
6019 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
6022 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
6025 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
6027 # For better backward compatibility. To be removed once Automake 1.9.x
6028 # dies out for good. For more background, see:
6029 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
6030 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
6031 mkdir_p
='$(MKDIR_P)'
6033 # We need awk for the "check" target (and possibly the TAP driver). The
6034 # system "awk" is bad on some platforms.
6035 # Always define AMTAR for backward compatibility. Yes, it's still used
6036 # in the wild :-( We should find a proper way to deprecate it ...
6040 # We'll loop over all known methods to create a tar archive until one works.
6041 _am_tools
='gnutar pax cpio none'
6043 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
6049 depcc
="$CC" am_compiler_list
=
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6052 $as_echo_n "checking dependency style of $depcc... " >&6; }
6053 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
6054 $as_echo_n "(cached) " >&6
6056 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6057 # We make a subdir and do the tests there. Otherwise we can end up
6058 # making bogus files that we don't know about and never remove. For
6059 # instance it was reported that on HP-UX the gcc test will end up
6060 # making a dummy file named 'D' -- because '-MD' means "put the output
6064 # Copy depcomp to subdir because otherwise we won't find it if we're
6065 # using a relative directory.
6066 cp "$am_depcomp" conftest.dir
6068 # We will build objects and dependencies in a subdirectory because
6069 # it helps to detect inapplicable dependency modes. For instance
6070 # both Tru64's cc and ICC support -MD to output dependencies as a
6071 # side effect of compilation, but ICC will put the dependencies in
6072 # the current directory while Tru64 will put them in the object
6076 am_cv_CC_dependencies_compiler_type
=none
6077 if test "$am_compiler_list" = ""; then
6078 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6081 case " $depcc " in #(
6082 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6085 for depmode
in $am_compiler_list; do
6086 # Setup a source with many dependencies, because some compilers
6087 # like to wrap large dependency lists on column 80 (with \), and
6088 # we should not choose a depcomp mode which is confused by this.
6090 # We need to recreate these files for each test, as the compiler may
6091 # overwrite some of them when testing with obscure command lines.
6092 # This happens at least with the AIX C compiler.
6094 for i
in 1 2 3 4 5 6; do
6095 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6096 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6097 # Solaris 10 /bin/sh.
6098 echo '/* dummy */' > sub
/conftst
$i.h
6100 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6102 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6103 # mode. It turns out that the SunPro C++ compiler does not properly
6104 # handle '-M -o', and we need to detect this. Also, some Intel
6105 # versions had trouble with output in subdirs.
6106 am__obj
=sub
/conftest.
${OBJEXT-o}
6107 am__minus_obj
="-o $am__obj"
6110 # This depmode causes a compiler race in universal mode.
6111 test "$am__universal" = false ||
continue
6114 # After this tag, mechanisms are not by side-effect, so they'll
6115 # only be used when explicitly requested.
6116 if test "x$enable_dependency_tracking" = xyes
; then
6122 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6123 # This compiler won't grok '-c -o', but also, the minuso test has
6124 # not run yet. These depmodes are late enough in the game, and
6125 # so weak that their functioning should not be impacted.
6126 am__obj
=conftest.
${OBJEXT-o}
6131 if depmode
=$depmode \
6132 source=sub
/conftest.c object
=$am__obj \
6133 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6134 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6135 >/dev
/null
2>conftest.err
&&
6136 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6137 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6138 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6139 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6140 # icc doesn't choke on unknown options, it will just issue warnings
6141 # or remarks (even with -Werror). So we grep stderr for any message
6142 # that says an option was ignored or not supported.
6143 # When given -MP, icc 7.0 and 7.1 complain thusly:
6144 # icc: Command line warning: ignoring option '-M'; no argument required
6145 # The diagnosis changed in icc 8.0:
6146 # icc: Command line remark: option '-MP' not supported
6147 if (grep 'ignoring option' conftest.err ||
6148 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6149 am_cv_CC_dependencies_compiler_type
=$depmode
6158 am_cv_CC_dependencies_compiler_type
=none
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6163 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6164 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6167 test "x$enable_dependency_tracking" != xno \
6168 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6170 am__fastdepCC_FALSE
='#'
6172 am__fastdepCC_TRUE
='#'
6173 am__fastdepCC_FALSE
=
6178 # POSIX will say in a future version that running "rm -f" with no argument
6179 # is OK; and we want to be able to make that assumption in our Makefile
6180 # recipes. So use an aggressive probe to check that the usage we want is
6181 # actually supported "in the wild" to an acceptable degree.
6182 # See automake bug#10828.
6183 # To make any issue more visible, cause the running configure to be aborted
6184 # by default if the 'rm' program in use doesn't match our expectations; the
6185 # user can still override this though.
6186 if rm -f && rm -fr && rm -rf; then : OK
; else
6190 Your 'rm' program seems unable to run without file operands specified
6191 on the command line, even when the '-f' option is present. This is contrary
6192 to the behaviour of most rm programs out there, and not conforming with
6193 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
6195 Please tell bug-automake@gnu.org about your system, including the value
6196 of your $PATH and any error possibly output before this message. This
6197 can help us improve future automake versions.
6200 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
6201 echo 'Configuration will proceed anyway, since you have set the' >&2
6202 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
6206 Aborting the configuration process, to ensure you take notice of the issue.
6208 You can download and install GNU coreutils to get an 'rm' implementation
6209 that behaves properly: <http://www.gnu.org/software/coreutils/>.
6211 If you want to complete the configuration process using your problematic
6212 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
6213 to "yes", and re-run configure.
6216 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
6221 # If a cpu ever has more than one simulator to choose from, use
6222 # --enable-sim=... to choose.
6223 # Check whether --enable-sim was given.
6224 if test "${enable_sim+set}" = set; then :
6225 enableval
=$enable_sim; case "${enableval}" in
6227 *) as_fn_error $?
"bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
6232 # Check whether --enable-example-sims was given.
6233 if test "${enable_example_sims+set}" = set; then :
6234 enableval
=$enable_example_sims;
6238 # Check whether --enable-targets was given.
6239 if test "${enable_targets+set}" = set; then :
6240 enableval
=$enable_targets; case "${enableval}" in
6241 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
6243 no
) enable_targets
= ;;
6244 *) enable_targets
=$enableval ;;
6254 if test "${enable_sim}" != no
; then
6256 for targ
in `echo $target $enable_targets | sed 's/,/ /g'`
6261 if test "${targ}" = "${target}"; then
6262 SIM_PRIMARY_TARGET
=aarch64
6266 subdirs
="$subdirs aarch64"
6275 if test "${targ}" = "${target}"; then
6276 SIM_PRIMARY_TARGET
=arm
6278 subdirs
="$subdirs arm"
6287 if test "${targ}" = "${target}"; then
6288 SIM_PRIMARY_TARGET
=avr
6290 subdirs
="$subdirs avr"
6299 if test "${targ}" = "${target}"; then
6300 SIM_PRIMARY_TARGET
=bfin
6302 subdirs
="$subdirs bfin"
6311 if test "${targ}" = "${target}"; then
6312 SIM_PRIMARY_TARGET
=bpf
6314 subdirs
="$subdirs bpf"
6323 if test "${targ}" = "${target}"; then
6324 SIM_PRIMARY_TARGET
=cr16
6326 subdirs
="$subdirs cr16"
6334 all|cris-
*-* | crisv32-
*-*)
6335 if test "${targ}" = "${target}"; then
6336 SIM_PRIMARY_TARGET
=cris
6338 subdirs
="$subdirs cris"
6347 if test "${targ}" = "${target}"; then
6348 SIM_PRIMARY_TARGET
=d10v
6350 subdirs
="$subdirs d10v"
6359 if test "${targ}" = "${target}"; then
6360 SIM_PRIMARY_TARGET
=frv
6362 subdirs
="$subdirs frv"
6371 if test "${targ}" = "${target}"; then
6372 SIM_PRIMARY_TARGET
=h8300
6374 subdirs
="$subdirs h8300"
6383 if test "${targ}" = "${target}"; then
6384 SIM_PRIMARY_TARGET
=iq2000
6386 subdirs
="$subdirs iq2000"
6395 if test "${targ}" = "${target}"; then
6396 SIM_PRIMARY_TARGET
=lm32
6398 subdirs
="$subdirs lm32"
6407 if test "${targ}" = "${target}"; then
6408 SIM_PRIMARY_TARGET
=m32c
6410 subdirs
="$subdirs m32c"
6419 if test "${targ}" = "${target}"; then
6420 SIM_PRIMARY_TARGET
=m32r
6422 subdirs
="$subdirs m32r"
6430 all|m68hc11-
*-*|m6811-
*-*)
6431 if test "${targ}" = "${target}"; then
6432 SIM_PRIMARY_TARGET
=m68hc11
6434 subdirs
="$subdirs m68hc11"
6443 if test "${targ}" = "${target}"; then
6444 SIM_PRIMARY_TARGET
=mcore
6446 subdirs
="$subdirs mcore"
6455 if test "${targ}" = "${target}"; then
6456 SIM_PRIMARY_TARGET
=microblaze
6458 subdirs
="$subdirs microblaze"
6467 if test "${targ}" = "${target}"; then
6468 SIM_PRIMARY_TARGET
=mips
6470 subdirs
="$subdirs mips"
6479 if test "${targ}" = "${target}"; then
6480 SIM_PRIMARY_TARGET
=mn10300
6482 subdirs
="$subdirs mn10300"
6491 if test "${targ}" = "${target}"; then
6492 SIM_PRIMARY_TARGET
=moxie
6494 subdirs
="$subdirs moxie"
6503 if test "${targ}" = "${target}"; then
6504 SIM_PRIMARY_TARGET
=msp430
6506 subdirs
="$subdirs msp430"
6514 all|or1k-
*-* | or1knd-
*-*)
6515 if test "${targ}" = "${target}"; then
6516 SIM_PRIMARY_TARGET
=or1k
6518 subdirs
="$subdirs or1k"
6527 if test "${targ}" = "${target}"; then
6528 SIM_PRIMARY_TARGET
=pru
6530 subdirs
="$subdirs pru"
6539 if test "${targ}" = "${target}"; then
6540 SIM_PRIMARY_TARGET
=riscv
6542 subdirs
="$subdirs riscv"
6551 if test "${targ}" = "${target}"; then
6552 SIM_PRIMARY_TARGET
=rl78
6554 subdirs
="$subdirs rl78"
6563 if test "${targ}" = "${target}"; then
6564 SIM_PRIMARY_TARGET
=rx
6566 subdirs
="$subdirs rx"
6575 if test "${targ}" = "${target}"; then
6576 SIM_PRIMARY_TARGET
=sh
6578 subdirs
="$subdirs sh"
6586 all|sparc-
*-rtems*|sparc-
*-elf*)
6587 if test "${targ}" = "${target}"; then
6588 SIM_PRIMARY_TARGET
=erc32
6590 subdirs
="$subdirs erc32"
6599 if test "${targ}" = "${target}"; then
6600 SIM_PRIMARY_TARGET
=ppc
6602 subdirs
="$subdirs ppc"
6611 if test "${targ}" = "${target}"; then
6612 SIM_PRIMARY_TARGET
=ft32
6614 subdirs
="$subdirs ft32"
6623 if test "${targ}" = "${target}"; then
6624 SIM_PRIMARY_TARGET
=v850
6626 subdirs
="$subdirs v850"
6634 if test "x${enable_example_sims}" = xyes
; then
6635 subdirs
="$subdirs example-synacor"
6639 if test "$sim_igen" = "yes"; then
6640 SIM_ENABLE_IGEN_TRUE
=
6641 SIM_ENABLE_IGEN_FALSE
='#'
6643 SIM_ENABLE_IGEN_TRUE
='#'
6644 SIM_ENABLE_IGEN_FALSE
=
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sim asserts" >&5
6650 $as_echo_n "checking whether to enable sim asserts... " >&6; }
6652 # Check whether --enable-sim-assert was given.
6653 if test "${enable_sim_assert+set}" = set; then :
6654 enableval
=$enable_sim_assert; case "${enableval}" in
6655 yes) sim_assert
="1";;
6656 no
) sim_assert
="0";;
6657 *) as_fn_error $?
"--enable-sim-assert does not take a value" "$LINENO" 5;;
6661 cat >>confdefs.h
<<_ACEOF
6662 #define WITH_ASSERT $sim_assert
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
6666 $as_echo "$sim_assert" >&6; }
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim debug setting" >&5
6669 $as_echo_n "checking for sim debug setting... " >&6; }
6671 # Check whether --enable-sim-debug was given.
6672 if test "${enable_sim_debug+set}" = set; then :
6673 enableval
=$enable_sim_debug; case "${enableval}" in
6674 yes) sim_debug
="7";;
6676 *) sim_debug
="($enableval)";;
6679 if test "$sim_debug" != "0"; then
6681 cat >>confdefs.h
<<_ACEOF
6682 #define DEBUG $sim_debug
6687 cat >>confdefs.h
<<_ACEOF
6688 #define WITH_DEBUG $sim_debug
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_debug" >&5
6692 $as_echo "$sim_debug" >&6; }
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
6696 $as_echo_n "checking default sim environment setting... " >&6; }
6697 sim_environment
="ALL_ENVIRONMENT"
6698 # Check whether --enable-sim-environment was given.
6699 if test "${enable_sim_environment+set}" = set; then :
6700 enableval
=$enable_sim_environment; case "${enableval}" in
6701 all | ALL
) sim_environment
="ALL_ENVIRONMENT";;
6702 user | USER
) sim_environment
="USER_ENVIRONMENT";;
6703 virtual | VIRTUAL
) sim_environment
="VIRTUAL_ENVIRONMENT";;
6704 operating | OPERATING
) sim_environment
="OPERATING_ENVIRONMENT";;
6705 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
6709 cat >>confdefs.h
<<_ACEOF
6710 #define WITH_ENVIRONMENT $sim_environment
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_environment" >&5
6714 $as_echo "$sim_environment" >&6; }
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim profile settings" >&5
6717 $as_echo_n "checking for sim profile settings... " >&6; }
6720 # Check whether --enable-sim-profile was given.
6721 if test "${enable_sim_profile+set}" = set; then :
6722 enableval
=$enable_sim_profile; case "${enableval}" in
6723 yes) profile
="1" sim_profile
="-1";;
6724 no
) profile
="0" sim_profile
="0";;
6726 profile
="(${enableval})" sim_profile
="(${enableval})";;
6730 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6731 if test x
"$sim_profile" = x
; then
6732 sim_profile
="(PROFILE_$x"
6734 sim_profile
="${sim_profile}|PROFILE_$x"
6737 sim_profile
="$sim_profile)" ;;
6741 cat >>confdefs.h
<<_ACEOF
6742 #define PROFILE $profile
6746 cat >>confdefs.h
<<_ACEOF
6747 #define WITH_PROFILE $sim_profile
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_profile" >&5
6751 $as_echo "$sim_profile" >&6; }
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim stdio debug behavior" >&5
6754 $as_echo_n "checking for sim stdio debug behavior... " >&6; }
6756 # Check whether --enable-sim-stdio was given.
6757 if test "${enable_sim_stdio+set}" = set; then :
6758 enableval
=$enable_sim_stdio; case "${enableval}" in
6759 yes) sim_stdio
="DO_USE_STDIO";;
6760 no
) sim_stdio
="DONT_USE_STDIO";;
6761 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-stdio" "$LINENO" 5;;
6765 cat >>confdefs.h
<<_ACEOF
6766 #define WITH_STDIO $sim_stdio
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_stdio" >&5
6770 $as_echo "$sim_stdio" >&6; }
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim trace settings" >&5
6773 $as_echo_n "checking for sim trace settings... " >&6; }
6774 sim_trace
="~TRACE_debug"
6775 # Check whether --enable-sim-trace was given.
6776 if test "${enable_sim_trace+set}" = set; then :
6777 enableval
=$enable_sim_trace; case "${enableval}" in
6778 yes) sim_trace
="-1";;
6781 sim_trace
="'(${enableval})'";;
6784 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6785 if test x
"$sim_trace" = x
; then
6786 sim_trace
="(TRACE_$x"
6788 sim_trace
="${sim_trace}|TRACE_$x"
6791 sim_trace
="$sim_trace)" ;;
6795 cat >>confdefs.h
<<_ACEOF
6796 #define WITH_TRACE $sim_trace
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_trace" >&5
6800 $as_echo "$sim_trace" >&6; }
6803 ac_config_files
="$ac_config_files Makefile"
6805 cat >confcache
<<\_ACEOF
6806 # This file is a shell script that caches the results of configure
6807 # tests run on this system so they can be shared between configure
6808 # scripts and configure runs, see configure's option --config-cache.
6809 # It is not useful on other systems. If it contains results you don't
6810 # want to keep, you may remove or edit it.
6812 # config.status only pays attention to the cache file if you give it
6813 # the --recheck option to rerun configure.
6815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6821 # The following way of writing the cache mishandles newlines in values,
6822 # but we know of no workaround that is simple, portable, and efficient.
6823 # So, we kill variables containing newlines.
6824 # Ultrix sh set writes to stderr and can't be redirected directly,
6825 # and sets the high bit in the cache file unless we assign to the vars.
6827 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6828 eval ac_val
=\$
$ac_var
6832 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6833 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6836 _ | IFS | as_nl
) ;; #(
6837 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6838 *) { eval $ac_var=; unset $ac_var;} ;;
6844 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6845 *${as_nl}ac_space
=\
*)
6846 # `set' does not quote correctly, so add quotes: double-quote
6847 # substitution turns \\\\ into \\, and sed turns \\ into \.
6850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6853 # `set' quotes correctly as required by POSIX, so do not add quotes.
6854 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6863 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6865 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6867 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6868 if test -w "$cache_file"; then
6869 if test "x$cache_file" != "x/dev/null"; then
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6871 $as_echo "$as_me: updating cache $cache_file" >&6;}
6872 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6873 cat confcache
>"$cache_file"
6875 case $cache_file in #(
6877 mv -f confcache
"$cache_file"$$
&&
6878 mv -f "$cache_file"$$
"$cache_file" ;; #(
6880 mv -f confcache
"$cache_file" ;;
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6886 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6891 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6892 # Let make expand exec_prefix.
6893 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6895 DEFS
=-DHAVE_CONFIG_H
6900 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6901 # 1. Remove the extension, and $U if already installed.
6902 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6903 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6904 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6905 # will be set to the directory where LIBOBJS objects are built.
6906 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6907 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6911 LTLIBOBJS
=$ac_ltlibobjs
6915 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6916 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
6917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6920 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6921 if test -n "$am_sleep_pid"; then
6922 # Hide warnings about reused PIDs.
6923 wait $am_sleep_pid 2>/dev
/null
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6926 $as_echo "done" >&6; }
6927 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6928 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6931 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6932 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6935 if test -n "$EXEEXT"; then
6937 am__EXEEXT_FALSE
='#'
6943 if test -z "${SIM_ENABLE_IGEN_TRUE}" && test -z "${SIM_ENABLE_IGEN_FALSE}"; then
6944 as_fn_error $?
"conditional \"SIM_ENABLE_IGEN\" was never defined.
6945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6948 : "${CONFIG_STATUS=./config.status}"
6950 ac_clean_files_save
=$ac_clean_files
6951 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6953 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6955 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6957 # Generated by $as_me.
6958 # Run this file to recreate the current configuration.
6959 # Compiler output produced by configure, useful for debugging
6960 # configure, is in config.log if it exists.
6966 SHELL=\${CONFIG_SHELL-$SHELL}
6969 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6970 ## -------------------- ##
6971 ## M4sh Initialization. ##
6972 ## -------------------- ##
6974 # Be more Bourne compatible
6975 DUALCASE
=1; export DUALCASE
# for MKS sh
6976 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6979 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6980 # is contrary to our usage. Disable this feature.
6981 alias -g '${1+"$@"}'='"$@"'
6982 setopt NO_GLOB_SUBST
6984 case `(set -o) 2>/dev/null` in #(
6996 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6997 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6998 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6999 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7000 # Prefer a ksh shell builtin over an external printf program on Solaris,
7001 # but without wasting forks for bash or zsh.
7002 if test -z "$BASH_VERSION$ZSH_VERSION" \
7003 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7004 as_echo='print
-r --'
7005 as_echo_n='print
-rn --'
7006 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7007 as_echo='printf %s
\n'
7008 as_echo_n='printf %s
'
7010 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7011 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7012 as_echo_n='/usr
/ucb
/echo -n'
7014 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7015 as_echo_n_body='eval
7019 expr "X$arg" : "X\\(.*\\)$as_nl";
7020 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7022 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7024 export as_echo_n_body
7025 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7028 as_echo='sh
-c $as_echo_body as_echo
'
7031 # The user is always right.
7032 if test "${PATH_SEPARATOR+set}" != set; then
7034 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7035 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7042 # We need space, tab and new line, in precisely that order. Quoting is
7043 # there to prevent editors from complaining about space-tab.
7044 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7045 # splitting by setting IFS to empty value.)
7048 # Find who we are. Look in the path if we contain no directory separator.
7051 *[\\/]* ) as_myself=$0 ;;
7052 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7056 test -z "$as_dir" && as_dir=.
7057 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7063 # We did not find ourselves, most probably we were run as `sh COMMAND'
7064 # in which case we are not to be found in the path.
7065 if test "x$as_myself" = x
; then
7068 if test ! -f "$as_myself"; then
7069 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7073 # Unset variables that we do not need and which cause bugs (e.g. in
7074 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7075 # suppresses any "Segmentation fault" message there. '((' could
7076 # trigger a bug in pdksh 5.2.14.
7077 for as_var
in BASH_ENV ENV MAIL MAILPATH
7078 do eval test x\
${$as_var+set} = xset \
7079 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7092 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7095 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7096 # ----------------------------------------
7097 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7098 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7099 # script with STATUS, using 1 if that was 0.
7102 as_status
=$1; test $as_status -eq 0 && as_status
=1
7104 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7105 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7107 $as_echo "$as_me: error: $2" >&2
7108 as_fn_exit
$as_status
7112 # as_fn_set_status STATUS
7113 # -----------------------
7114 # Set $? to STATUS, without forking.
7118 } # as_fn_set_status
7122 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7132 # Portably unset VAR.
7135 { eval $1=; unset $1;}
7137 as_unset
=as_fn_unset
7138 # as_fn_append VAR VALUE
7139 # ----------------------
7140 # Append the text in VALUE to the end of the definition contained in VAR. Take
7141 # advantage of any shell optimizations that allow amortized linear growth over
7142 # repeated appends, instead of the typical quadratic growth present in naive
7144 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7145 eval 'as_fn_append ()
7156 # as_fn_arith ARG...
7157 # ------------------
7158 # Perform arithmetic evaluation on the ARGs, and store the result in the
7159 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7160 # must be portable across $(()) and expr.
7161 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7162 eval 'as_fn_arith ()
7169 as_val
=`expr "$@" || test $? -eq 1`
7174 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7175 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7181 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7182 as_basename
=basename
7187 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7193 as_me
=`$as_basename -- "$0" ||
7194 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7195 X"$0" : 'X\(//\)$' \| \
7196 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7198 sed '/^.*\/\([^/][^/]*\)\/*$/{
7212 # Avoid depending upon Character Ranges.
7213 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7214 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7215 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7216 as_cr_digits
='0123456789'
7217 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7219 ECHO_C
= ECHO_N
= ECHO_T
=
7220 case `echo -n x` in #(((((
7222 case `echo 'xy\c'` in
7223 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7225 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7232 rm -f conf$$ conf$$.exe conf$$.
file
7233 if test -d conf$$.dir
; then
7234 rm -f conf$$.dir
/conf$$.
file
7237 mkdir conf$$.dir
2>/dev
/null
7239 if (echo >conf$$.
file) 2>/dev
/null
; then
7240 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7242 # ... but there are two gotchas:
7243 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7244 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7245 # In both cases, we have to default to `cp -pR'.
7246 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7248 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7256 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7257 rmdir conf$$.dir
2>/dev
/null
7262 # Create "$as_dir" as a directory, including parents if necessary.
7267 -*) as_dir
=.
/$as_dir;;
7269 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7273 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7274 *) as_qdir
=$as_dir;;
7276 as_dirs
="'$as_qdir' $as_dirs"
7277 as_dir
=`$as_dirname -- "$as_dir" ||
7278 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7279 X"$as_dir" : 'X\(//\)[^/]' \| \
7280 X"$as_dir" : 'X\(//\)$' \| \
7281 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7282 $as_echo X"$as_dir" |
7283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7300 test -d "$as_dir" && break
7302 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7303 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7307 if mkdir
-p .
2>/dev
/null
; then
7308 as_mkdir_p
='mkdir -p "$as_dir"'
7310 test -d .
/-p && rmdir .
/-p
7315 # as_fn_executable_p FILE
7316 # -----------------------
7317 # Test if FILE is an executable regular file.
7318 as_fn_executable_p
()
7320 test -f "$1" && test -x "$1"
7321 } # as_fn_executable_p
7323 as_executable_p
=as_fn_executable_p
7325 # Sed expression to map a string onto a valid CPP name.
7326 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7328 # Sed expression to map a string onto a valid variable name.
7329 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7333 ## ----------------------------------- ##
7334 ## Main body of $CONFIG_STATUS script. ##
7335 ## ----------------------------------- ##
7337 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7340 # Save the log message, to keep $0 and so on meaningful, and to
7341 # report actual input values of CONFIG_FILES etc. instead of their
7342 # values after options handling.
7344 This file was extended by sim $as_me 0, which was
7345 generated by GNU Autoconf 2.69. Invocation command line was
7347 CONFIG_FILES = $CONFIG_FILES
7348 CONFIG_HEADERS = $CONFIG_HEADERS
7349 CONFIG_LINKS = $CONFIG_LINKS
7350 CONFIG_COMMANDS = $CONFIG_COMMANDS
7353 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7358 case $ac_config_files in *"
7359 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7362 case $ac_config_headers in *"
7363 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7368 # Files that config.status was made for.
7369 config_files="$ac_config_files"
7370 config_headers="$ac_config_headers"
7371 config_commands="$ac_config_commands"
7375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7377 \`$as_me' instantiates files and other configuration actions
7378 from templates according to the current configuration. Unless the files
7379 and actions are specified as TAGs, all are instantiated by default.
7381 Usage: $0 [OPTION]... [TAG]...
7383 -h, --help print this help, then exit
7384 -V, --version print version number and configuration settings, then exit
7385 --config print configuration, then exit
7386 -q, --quiet, --silent
7387 do not print progress messages
7388 -d, --debug don't remove temporary files
7389 --recheck update $as_me by reconfiguring in the same conditions
7390 --file=FILE[:TEMPLATE]
7391 instantiate the configuration file FILE
7392 --header=FILE[:TEMPLATE]
7393 instantiate the configuration header FILE
7395 Configuration files:
7398 Configuration headers:
7401 Configuration commands:
7404 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
7405 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
7408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7409 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7412 configured by $0, generated by GNU Autoconf 2.69,
7413 with options \\"\$ac_cs_config\\"
7415 Copyright (C) 2012 Free Software Foundation, Inc.
7416 This config.status script is free software; the Free Software Foundation
7417 gives unlimited permission to copy, distribute and modify it."
7424 test -n "\$AWK" || AWK=awk
7427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7428 # The default lists apply if the user does not specify any file.
7434 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7435 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7439 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7451 # Handling of the options.
7452 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7454 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7455 $as_echo "$ac_cs_version"; exit ;;
7456 --config |
--confi |
--conf |
--con |
--co |
--c )
7457 $as_echo "$ac_cs_config"; exit ;;
7458 --debug |
--debu |
--deb |
--de |
--d |
-d )
7460 --file |
--fil |
--fi |
--f )
7463 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7464 '') as_fn_error $?
"missing file argument" ;;
7466 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7467 ac_need_defaults
=false
;;
7468 --header |
--heade |
--head |
--hea )
7471 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7473 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7474 ac_need_defaults
=false
;;
7476 # Conflict between --help and --header
7477 as_fn_error $?
"ambiguous option: \`$1'
7478 Try \`$0 --help' for more information.";;
7479 --help |
--hel |
-h )
7480 $as_echo "$ac_cs_usage"; exit ;;
7481 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7482 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7486 -*) as_fn_error $?
"unrecognized option: \`$1'
7487 Try \`$0 --help' for more information." ;;
7489 *) as_fn_append ac_config_targets
" $1"
7490 ac_need_defaults
=false
;;
7496 ac_configure_extra_args
=
7498 if $ac_cs_silent; then
7500 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7505 if \$ac_cs_recheck; then
7506 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7508 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7509 CONFIG_SHELL='$SHELL'
7515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7519 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7520 ## Running $as_me. ##
7526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7530 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7536 # Handling of arguments.
7537 for ac_config_target
in $ac_config_targets
7539 case $ac_config_target in
7540 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7541 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7542 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7544 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7549 # If the user did not use the arguments to specify the items to instantiate,
7550 # then the envvar interface is used. Set only those that are not.
7551 # We use the long form for the default assignment because of an extremely
7552 # bizarre bug on SunOS 4.1.3.
7553 if $ac_need_defaults; then
7554 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7555 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7556 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7559 # Have a temporary directory for convenience. Make it in the build tree
7560 # simply because there is no reason against having it here, and in addition,
7561 # creating and moving files from /tmp can sometimes cause problems.
7562 # Hook for its removal unless debugging.
7563 # Note that there is a small window in which the directory will not be cleaned:
7564 # after its creation but before its name has been assigned to `$tmp'.
7568 trap 'exit_status=$?
7570 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7572 trap 'as_fn_exit 1' 1 2 13 15
7574 # Create a (secure) tmp directory for tmp files.
7577 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7581 tmp
=.
/conf$$
-$RANDOM
7582 (umask 077 && mkdir
"$tmp")
7583 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7586 # Set up the scripts for CONFIG_FILES section.
7587 # No need to generate them if there are no CONFIG_FILES.
7588 # This happens for instance with `./config.status config.h'.
7589 if test -n "$CONFIG_FILES"; then
7592 ac_cr
=`echo X | tr X '\015'`
7593 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7594 # But we know of no other shell where ac_cr would be empty at this
7595 # point, so we can use a bashism as a fallback.
7596 if test "x$ac_cr" = x
; then
7597 eval ac_cr
=\$
\'\\r
\'
7599 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7600 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7606 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7611 echo "cat >conf$$subs.awk <<_ACEOF" &&
7612 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7615 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7616 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7618 for ac_last_try in false false false false false :; do
7619 . ./conf$$subs.sh ||
7620 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7622 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7623 if test $ac_delim_n = $ac_delim_num; then
7625 elif $ac_last_try; then
7626 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7628 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7634 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7638 s/^/S["/; s
/!.
*/"]=/
7648 s/\(.\{148\}\)..*/\1/
7650 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7655 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7662 s/\(.\{148\}\)..*/\1/
7664 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7668 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7673 ' <conf$$subs.awk | sed '
7678 ' >>$CONFIG_STATUS || ac_write_fail=1
7679 rm -f conf$$subs.awk
7680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7682 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7683 for (key in S) S_is_set[key] = 1
7689 nfields = split(line, field, "@
")
7691 len = length(field[1])
7692 for (i = 2; i < nfields; i++) {
7694 keylen = length(key)
7695 if (S_is_set[key]) {
7697 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7698 len += length(value) + length(field[++i])
7709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7710 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7711 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7714 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7715 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7718 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7719 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7720 # trailing colons and then remove the whole line if VPATH becomes empty
7721 # (actually we leave an empty line to preserve line numbers).
7722 if test "x
$srcdir" = x.; then
7723 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7742 fi # test -n "$CONFIG_FILES"
7744 # Set up the scripts for CONFIG_HEADERS section.
7745 # No need to generate them if there are no CONFIG_HEADERS.
7746 # This happens for instance with `./config.status Makefile'.
7747 if test -n "$CONFIG_HEADERS"; then
7748 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7752 # Transform confdefs.h into an awk script `defines.awk', embedded as
7753 # here-document in config.status, that substitutes the proper values into
7754 # config.h.in to produce config.h.
7756 # Create a delimiter string that does not exist in confdefs.h, to ease
7757 # handling of long lines.
7759 for ac_last_try in false false :; do
7760 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7761 if test -z "$ac_tt"; then
7763 elif $ac_last_try; then
7764 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7766 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7770 # For the awk script, D is an array of macro values keyed by name,
7771 # likewise P contains macro parameters if any. Preserve backslash
7772 # newline sequences.
7774 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7776 s/.\{148\}/&'"$ac_delim"'/g
7779 s/^[ ]*#[ ]*define[ ][ ]*/ /
7786 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7788 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7792 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7793 D["\
1"]=" \
3\\\\\\n
"\\/p
7795 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7800 s/.\{148\}/&'"$ac_delim"'/g
7805 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7808 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7810 ' <confdefs.h | sed '
7811 s/'"$ac_delim"'/"\\\
7812 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7815 for (key in D) D_is_set[key] = 1
7818 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7820 split(line, arg, " ")
7821 if (arg[1] == "#") {
7825 defundef
= substr
(arg
[1], 2)
7828 split(mac1
, mac2
, "(") #)
7830 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7831 if (D_is_set
[macro
]) {
7832 # Preserve the white space surrounding the "#".
7833 print prefix
"define", macro P
[macro
] D
[macro
]
7836 # Replace #undef with comments. This is necessary, for example,
7837 # in the case of _POSIX_SOURCE, which is predefined and required
7838 # on some systems where configure will not decide to define it.
7839 if (defundef
== "undef") {
7840 print
"/*", prefix defundef
, macro
, "*/"
7848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7849 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7850 fi # test -n "$CONFIG_HEADERS"
7853 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7858 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7860 case $ac_mode$ac_tag in
7862 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7863 :[FH
]-) ac_tag
=-:-;;
7864 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7881 -) ac_f
="$ac_tmp/stdin";;
7882 *) # Look for the file first in the build tree, then in the source tree
7883 # (if the path is not absolute). The absolute path cannot be DOS-style,
7884 # because $ac_f cannot contain `:'.
7888 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7890 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7892 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7893 as_fn_append ac_file_inputs
" '$ac_f'"
7896 # Let's still pretend it is `configure' which instantiates (i.e., don't
7897 # use $as_me), people would be surprised to read:
7898 # /* config.h. Generated by config.status. */
7899 configure_input
='Generated from '`
7900 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7902 if test x
"$ac_file" != x-
; then
7903 configure_input
="$ac_file. $configure_input"
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7905 $as_echo "$as_me: creating $ac_file" >&6;}
7907 # Neutralize special characters interpreted by sed in replacement strings.
7908 case $configure_input in #(
7909 *\
&* |
*\|
* |
*\\* )
7910 ac_sed_conf_input
=`$as_echo "$configure_input" |
7911 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7912 *) ac_sed_conf_input
=$configure_input;;
7916 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7917 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7922 ac_dir
=`$as_dirname -- "$ac_file" ||
7923 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7924 X"$ac_file" : 'X\(//\)[^/]' \| \
7925 X"$ac_file" : 'X\(//\)$' \| \
7926 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7927 $as_echo X"$ac_file" |
7928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7945 as_dir
="$ac_dir"; as_fn_mkdir_p
7949 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7951 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7952 # A ".." for each directory in $ac_dir_suffix.
7953 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7954 case $ac_top_builddir_sub in
7955 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7956 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7959 ac_abs_top_builddir
=$ac_pwd
7960 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7961 # for backward compatibility:
7962 ac_top_builddir
=$ac_top_build_prefix
7965 .
) # We are building in place.
7967 ac_top_srcdir
=$ac_top_builddir_sub
7968 ac_abs_top_srcdir
=$ac_pwd ;;
7969 [\\/]* | ?
:[\\/]* ) # Absolute name.
7970 ac_srcdir
=$srcdir$ac_dir_suffix;
7971 ac_top_srcdir
=$srcdir
7972 ac_abs_top_srcdir
=$srcdir ;;
7974 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7975 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7976 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7978 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7988 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7989 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7993 [\\/$
]* | ?
:[\\/]* ) ;;
7994 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
7998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7999 # If the template does not know about datarootdir, expand it.
8000 # FIXME: This hack should be removed a few years after 2.60.
8001 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8012 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8013 *datarootdir
*) ac_datarootdir_seen
=yes;;
8014 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8016 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8019 ac_datarootdir_hack='
8020 s&@datadir@&$datadir&g
8021 s&@docdir@&$docdir&g
8022 s&@infodir@&$infodir&g
8023 s&@localedir@&$localedir&g
8024 s&@mandir@&$mandir&g
8025 s&\\\${datarootdir}&$datarootdir&g' ;;
8029 # Neutralize VPATH when `$srcdir' = `.'.
8030 # Shell code in configure.ac might set extrasub.
8031 # FIXME: do we really want to maintain this feature?
8032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8033 ac_sed_extra="$ac_vpsub
8036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8038 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8039 s|@configure_input@|
$ac_sed_conf_input|
;t t
8040 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8041 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8042 s
&@srcdir@
&$ac_srcdir&;t t
8043 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8044 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8045 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8046 s
&@builddir@
&$ac_builddir&;t t
8047 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8048 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8049 s
&@INSTALL@
&$ac_INSTALL&;t t
8050 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8051 $ac_datarootdir_hack
8053 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8054 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8056 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8057 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8058 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8059 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8061 which seems to be undefined. Please make sure it is defined" >&5
8062 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8063 which seems to be undefined. Please make sure it is defined" >&2;}
8065 rm -f "$ac_tmp/stdin"
8067 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8068 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8070 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8076 if test x"$ac_file" != x-; then
8078 $as_echo "/* $configure_input */" \
8079 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8080 } >"$ac_tmp/config.h" \
8081 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8082 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8084 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8087 mv "$ac_tmp/config.h" "$ac_file" \
8088 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8091 $as_echo "/* $configure_input */" \
8092 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8093 || as_fn_error $? "could not create -" "$LINENO" 5
8095 # Compute "$ac_file"'s index
in $config_headers.
8098 for _am_header
in $config_headers :; do
8100 $_am_arg |
$_am_arg:* )
8103 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8106 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8107 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8108 X"$_am_arg" : 'X\(//\)[^/]' \| \
8109 X"$_am_arg" : 'X\(//\)$' \| \
8110 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8111 $as_echo X"$_am_arg" |
8112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8128 s/.*/./; q'`/stamp-h
$_am_stamp_count
8131 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8132 $as_echo "$as_me: executing $ac_file commands" >&6;}
8137 case $ac_file$ac_mode in
8138 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
8139 # Older Autoconf quotes --file arguments for eval, but not when files
8140 # are listed without --file. Let's play safe and only enable the eval
8141 # if we detect the quoting.
8142 case $CONFIG_FILES in
8143 *\'*) eval set x
"$CONFIG_FILES" ;;
8144 *) set x
$CONFIG_FILES ;;
8149 # Strip MF so we end up with the name of the file.
8150 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8151 # Check whether this is an Automake generated Makefile or not.
8152 # We used to match only the files named 'Makefile.in', but
8153 # some people rename them; so instead we look at the file content.
8154 # Grep'ing the first line is not enough: some people post-process
8155 # each Makefile.in and add a new line on top of each file to say so.
8156 # Grep'ing the whole file is not good either: AIX grep has a line
8157 # limit of 2048, but all sed's we know have understand at least 4000.
8158 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
8159 dirpart
=`$as_dirname -- "$mf" ||
8160 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8161 X"$mf" : 'X\(//\)[^/]' \| \
8162 X"$mf" : 'X\(//\)$' \| \
8163 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8185 # Extract the definition of DEPDIR, am__include, and am__quote
8186 # from the Makefile without running 'make'.
8187 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8188 test -z "$DEPDIR" && continue
8189 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8190 test -z "$am__include" && continue
8191 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8192 # Find all dependency output files, they are included files with
8193 # $(DEPDIR) in their names. We invoke sed twice because it is the
8194 # simplest approach to changing $(DEPDIR) to its actual value in the
8196 for file in `sed -n "
8197 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8198 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8199 # Make sure the directory exists.
8200 test -f "$dirpart/$file" && continue
8201 fdir
=`$as_dirname -- "$file" ||
8202 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8203 X"$file" : 'X\(//\)[^/]' \| \
8204 X"$file" : 'X\(//\)$' \| \
8205 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8224 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
8225 # echo "creating $dirpart/$file"
8226 echo '# dummy' > "$dirpart/$file"
8238 ac_clean_files
=$ac_clean_files_save
8240 test $ac_write_fail = 0 ||
8241 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8244 # configure is writing to config.log, and then calls config.status.
8245 # config.status does its own redirection, appending to config.log.
8246 # Unfortunately, on DOS this fails, as config.log is still kept open
8247 # by configure, so config.status won't be able to write to it; its
8248 # output is simply discarded. So we exec the FD to /dev/null,
8249 # effectively closing config.log, so it can be properly (re)opened and
8250 # appended to by config.status. When coming back to configure, we
8251 # need to make the FD available again.
8252 if test "$no_create" != yes; then
8254 ac_config_status_args
=
8255 test "$silent" = yes &&
8256 ac_config_status_args
="$ac_config_status_args --quiet"
8258 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8260 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8261 # would make configure fail if this is the last instruction.
8262 $ac_cs_success || as_fn_exit
1
8266 # CONFIG_SUBDIRS section.
8268 if test "$no_recursion" != yes; then
8270 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
8271 # so they do not pile up.
8272 ac_sub_configure_args
=
8274 eval "set x $ac_configure_args"
8278 if test -n "$ac_prev"; then
8283 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8284 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8285 ac_prev
=cache_file
;;
8286 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8287 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8290 --config-cache |
-C)
8292 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8294 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8296 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8298 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8300 --disable-option-checking)
8304 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8306 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
8310 # Always prepend --prefix to ensure using the same prefix
8311 # in subdir configurations.
8312 ac_arg
="--prefix=$prefix"
8314 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8316 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
8319 if test "$silent" = yes; then
8320 ac_sub_configure_args
="--silent $ac_sub_configure_args"
8323 # Always prepend --disable-option-checking to silence warnings, since
8324 # different subdirs can have different --enable and --with options.
8325 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
8328 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8330 # Do not complain, so a configure script can configure whichever
8331 # parts of a large source tree are present.
8332 test -d "$srcdir/$ac_dir" ||
continue
8334 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8335 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
8336 $as_echo "$ac_msg" >&6
8337 as_dir
="$ac_dir"; as_fn_mkdir_p
8341 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8343 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8344 # A ".." for each directory in $ac_dir_suffix.
8345 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8346 case $ac_top_builddir_sub in
8347 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8348 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8351 ac_abs_top_builddir
=$ac_pwd
8352 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8353 # for backward compatibility:
8354 ac_top_builddir
=$ac_top_build_prefix
8357 .
) # We are building in place.
8359 ac_top_srcdir
=$ac_top_builddir_sub
8360 ac_abs_top_srcdir
=$ac_pwd ;;
8361 [\\/]* | ?
:[\\/]* ) # Absolute name.
8362 ac_srcdir
=$srcdir$ac_dir_suffix;
8363 ac_top_srcdir
=$srcdir
8364 ac_abs_top_srcdir
=$srcdir ;;
8366 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8367 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8368 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8370 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8375 # Check for guested configure; otherwise get Cygnus style configure.
8376 if test -f "$ac_srcdir/configure.gnu"; then
8377 ac_sub_configure
=$ac_srcdir/configure.gnu
8378 elif test -f "$ac_srcdir/configure"; then
8379 ac_sub_configure
=$ac_srcdir/configure
8380 elif test -f "$ac_srcdir/configure.in"; then
8381 # This should be Cygnus configure.
8382 ac_sub_configure
=$ac_aux_dir/configure
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
8385 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8389 # The recursion is here.
8390 if test -n "$ac_sub_configure"; then
8391 # Make the cache file name correct relative to the subdirectory.
8393 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8395 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
8398 { $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
8399 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8400 # The eval makes quoting arguments work.
8401 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8402 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8403 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
8409 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8411 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}