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>
625 enable_option_checking
=no
626 ac_subst_vars
='am__EXEEXT_FALSE
630 SIM_ENABLE_IGEN_FALSE
656 INSTALL_STRIP_PROGRAM
669 MAINTAINER_MODE_FALSE
729 program_transform_name
742 enable_option_checking
743 enable_maintainer_mode
744 enable_dependency_tracking
750 ac_precious_vars
='build_alias
759 ac_subdirs_all
='aarch64
792 # Initialize some variables set by options.
794 ac_init_version
=false
795 ac_unrecognized_opts
=
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
806 program_transform_name
=s
,x
,x
,
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir
='${exec_prefix}/bin'
821 sbindir
='${exec_prefix}/sbin'
822 libexecdir
='${exec_prefix}/libexec'
823 datarootdir
='${prefix}/share'
824 datadir
='${datarootdir}'
825 sysconfdir
='${prefix}/etc'
826 sharedstatedir
='${prefix}/com'
827 localstatedir
='${prefix}/var'
828 includedir
='${prefix}/include'
829 oldincludedir
='/usr/include'
830 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir
='${datarootdir}/info'
836 libdir
='${exec_prefix}/lib'
837 localedir
='${datarootdir}/locale'
838 mandir
='${datarootdir}/man'
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\
$ac_option
852 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857 # Accept the important Cygnus configure options, so we can diagnose typos.
859 case $ac_dashdash$ac_option in
863 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
865 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
868 -build |
--build |
--buil |
--bui |
--bu)
869 ac_prev
=build_alias
;;
870 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
871 build_alias
=$ac_optarg ;;
873 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
874 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
875 ac_prev
=cache_file
;;
876 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
877 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
878 cache_file
=$ac_optarg ;;
881 cache_file
=config.cache
;;
883 -datadir |
--datadir |
--datadi |
--datad)
885 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
886 datadir
=$ac_optarg ;;
888 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
889 |
--dataroo |
--dataro |
--datar)
890 ac_prev
=datarootdir
;;
891 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
892 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
893 datarootdir
=$ac_optarg ;;
895 -disable-* |
--disable-*)
896 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
899 as_fn_error $?
"invalid feature name: $ac_useropt"
900 ac_useropt_orig
=$ac_useropt
901 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
906 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907 ac_unrecognized_sep
=', ';;
909 eval enable_
$ac_useropt=no
;;
911 -docdir |
--docdir |
--docdi |
--doc |
--do)
913 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
916 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
918 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
921 -enable-* |
--enable-*)
922 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
925 as_fn_error $?
"invalid feature name: $ac_useropt"
926 ac_useropt_orig
=$ac_useropt
927 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928 case $ac_user_opts in
932 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933 ac_unrecognized_sep
=', ';;
935 eval enable_
$ac_useropt=\
$ac_optarg ;;
937 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
938 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
939 |
--exec |
--exe |
--ex)
940 ac_prev
=exec_prefix
;;
941 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
942 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
943 |
--exec=* |
--exe=* |
--ex=*)
944 exec_prefix
=$ac_optarg ;;
946 -gas |
--gas |
--ga |
--g)
947 # Obsolete; use --with-gas.
950 -help |
--help |
--hel |
--he |
-h)
952 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
953 ac_init_help
=recursive
;;
954 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
955 ac_init_help
=short
;;
957 -host |
--host |
--hos |
--ho)
958 ac_prev
=host_alias
;;
959 -host=* |
--host=* |
--hos=* |
--ho=*)
960 host_alias
=$ac_optarg ;;
962 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
964 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
966 htmldir
=$ac_optarg ;;
968 -includedir |
--includedir |
--includedi |
--included |
--include \
969 |
--includ |
--inclu |
--incl |
--inc)
970 ac_prev
=includedir
;;
971 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
972 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
973 includedir
=$ac_optarg ;;
975 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
977 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
978 infodir
=$ac_optarg ;;
980 -libdir |
--libdir |
--libdi |
--libd)
982 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
985 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
986 |
--libexe |
--libex |
--libe)
987 ac_prev
=libexecdir
;;
988 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
989 |
--libexe=* |
--libex=* |
--libe=*)
990 libexecdir
=$ac_optarg ;;
992 -localedir |
--localedir |
--localedi |
--localed |
--locale)
994 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
995 localedir
=$ac_optarg ;;
997 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
998 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
999 ac_prev
=localstatedir
;;
1000 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1001 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1002 localstatedir
=$ac_optarg ;;
1004 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1006 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1007 mandir
=$ac_optarg ;;
1009 -nfp |
--nfp |
--nf)
1010 # Obsolete; use --without-fp.
1013 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1014 |
--no-cr |
--no-c |
-n)
1017 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1018 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1021 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1022 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1023 |
--oldin |
--oldi |
--old |
--ol |
--o)
1024 ac_prev
=oldincludedir
;;
1025 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1026 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1027 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1028 oldincludedir
=$ac_optarg ;;
1030 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1032 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1033 prefix
=$ac_optarg ;;
1035 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1036 |
--program-pre |
--program-pr |
--program-p)
1037 ac_prev
=program_prefix
;;
1038 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1039 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1040 program_prefix
=$ac_optarg ;;
1042 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1043 |
--program-suf |
--program-su |
--program-s)
1044 ac_prev
=program_suffix
;;
1045 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1046 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1047 program_suffix
=$ac_optarg ;;
1049 -program-transform-name |
--program-transform-name \
1050 |
--program-transform-nam |
--program-transform-na \
1051 |
--program-transform-n |
--program-transform- \
1052 |
--program-transform |
--program-transfor \
1053 |
--program-transfo |
--program-transf \
1054 |
--program-trans |
--program-tran \
1055 |
--progr-tra |
--program-tr |
--program-t)
1056 ac_prev
=program_transform_name
;;
1057 -program-transform-name=* |
--program-transform-name=* \
1058 |
--program-transform-nam=* |
--program-transform-na=* \
1059 |
--program-transform-n=* |
--program-transform-=* \
1060 |
--program-transform=* |
--program-transfor=* \
1061 |
--program-transfo=* |
--program-transf=* \
1062 |
--program-trans=* |
--program-tran=* \
1063 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1064 program_transform_name
=$ac_optarg ;;
1066 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1068 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1069 pdfdir
=$ac_optarg ;;
1071 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1073 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1076 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1077 |
-silent |
--silent |
--silen |
--sile |
--sil)
1080 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1082 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1084 sbindir
=$ac_optarg ;;
1086 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1087 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1088 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1090 ac_prev
=sharedstatedir
;;
1091 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1092 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1093 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1095 sharedstatedir
=$ac_optarg ;;
1097 -site |
--site |
--sit)
1099 -site=* |
--site=* |
--sit=*)
1102 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1104 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1105 srcdir
=$ac_optarg ;;
1107 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1108 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1109 ac_prev
=sysconfdir
;;
1110 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1111 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1112 sysconfdir
=$ac_optarg ;;
1114 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1115 ac_prev
=target_alias
;;
1116 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1117 target_alias
=$ac_optarg ;;
1119 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1122 -version |
--version |
--versio |
--versi |
--vers |
-V)
1123 ac_init_version
=: ;;
1126 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1129 as_fn_error $?
"invalid package name: $ac_useropt"
1130 ac_useropt_orig
=$ac_useropt
1131 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132 case $ac_user_opts in
1136 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137 ac_unrecognized_sep
=', ';;
1139 eval with_
$ac_useropt=\
$ac_optarg ;;
1141 -without-* |
--without-*)
1142 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1145 as_fn_error $?
"invalid package name: $ac_useropt"
1146 ac_useropt_orig
=$ac_useropt
1147 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148 case $ac_user_opts in
1152 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153 ac_unrecognized_sep
=', ';;
1155 eval with_
$ac_useropt=no
;;
1158 # Obsolete; use --with-x.
1161 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1162 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1163 ac_prev
=x_includes
;;
1164 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1165 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1166 x_includes
=$ac_optarg ;;
1168 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1169 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1170 ac_prev
=x_libraries
;;
1171 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1172 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1173 x_libraries
=$ac_optarg ;;
1175 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1176 Try \`$0 --help' for more information"
1180 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1181 # Reject names that are not valid shell variable names.
1182 case $ac_envvar in #(
1183 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1184 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1186 eval $ac_envvar=\
$ac_optarg
1187 export $ac_envvar ;;
1190 # FIXME: should be removed in autoconf 3.0.
1191 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1193 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1200 if test -n "$ac_prev"; then
1201 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1202 as_fn_error $?
"missing argument to $ac_option"
1205 if test -n "$ac_unrecognized_opts"; then
1206 case $enable_option_checking in
1208 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1209 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1213 # Check all directory arguments for consistency.
1214 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1215 datadir sysconfdir sharedstatedir localstatedir includedir \
1216 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217 libdir localedir mandir
1219 eval ac_val
=\$
$ac_var
1220 # Remove trailing slashes.
1223 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224 eval $ac_var=\
$ac_val;;
1226 # Be sure to have absolute directory names.
1228 [\\/$
]* | ?
:[\\/]* ) continue;;
1229 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1231 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1234 # There might be people who depend on the old broken behavior: `$host'
1235 # used to hold the argument of --host etc.
1236 # FIXME: To remove some day.
1239 target
=$target_alias
1241 # FIXME: To remove some day.
1242 if test "x$host_alias" != x
; then
1243 if test "x$build_alias" = x
; then
1244 cross_compiling
=maybe
1245 elif test "x$build_alias" != "x$host_alias"; then
1251 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1253 test "$silent" = yes && exec 6>/dev
/null
1256 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1257 ac_ls_di
=`ls -di .` &&
1258 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1259 as_fn_error $?
"working directory cannot be determined"
1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261 as_fn_error $?
"pwd does not report name of working directory"
1264 # Find the source files, if location was not specified.
1265 if test -z "$srcdir"; then
1266 ac_srcdir_defaulted
=yes
1267 # Try the directory containing this script, then the parent directory.
1268 ac_confdir
=`$as_dirname -- "$as_myself" ||
1269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270 X"$as_myself" : 'X\(//\)[^/]' \| \
1271 X"$as_myself" : 'X\(//\)$' \| \
1272 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1273 $as_echo X"$as_myself" |
1274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1296 ac_srcdir_defaulted
=no
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1299 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1300 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1302 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1304 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1306 # When building in place, set srcdir=.
1307 if test "$ac_abs_confdir" = "$ac_pwd"; then
1310 # Remove unnecessary trailing slashes from srcdir.
1311 # Double slashes in file names in object file debugging info
1312 # mess up M-x gdb in Emacs.
1314 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1316 for ac_var
in $ac_precious_vars; do
1317 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1318 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1319 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1320 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1324 # Report the --help message.
1326 if test "$ac_init_help" = "long"; then
1327 # Omit some internal or obsolete options to make the list less imposing.
1328 # This message is too long to be a string in the A/UX 3.1 sh.
1330 \`configure' configures sim 0 to adapt to many kinds of systems.
1332 Usage: $0 [OPTION]... [VAR=VALUE]...
1334 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1335 VAR=VALUE. See below for descriptions of some of the useful variables.
1337 Defaults for the options are specified in brackets.
1340 -h, --help display this help and exit
1341 --help=short display options specific to this package
1342 --help=recursive display the short help of all the included packages
1343 -V, --version display version information and exit
1344 -q, --quiet, --silent do not print \`checking ...' messages
1345 --cache-file=FILE cache test results in FILE [disabled]
1346 -C, --config-cache alias for \`--cache-file=config.cache'
1347 -n, --no-create do not create output files
1348 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1350 Installation directories:
1351 --prefix=PREFIX install architecture-independent files in PREFIX
1352 [$ac_default_prefix]
1353 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1356 By default, \`make install' will install all the files in
1357 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1358 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1359 for instance \`--prefix=\$HOME'.
1361 For better control, use the options below.
1363 Fine tuning of the installation directories:
1364 --bindir=DIR user executables [EPREFIX/bin]
1365 --sbindir=DIR system admin executables [EPREFIX/sbin]
1366 --libexecdir=DIR program executables [EPREFIX/libexec]
1367 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1368 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1369 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1370 --libdir=DIR object code libraries [EPREFIX/lib]
1371 --includedir=DIR C header files [PREFIX/include]
1372 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1375 --infodir=DIR info documentation [DATAROOTDIR/info]
1376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1377 --mandir=DIR man documentation [DATAROOTDIR/man]
1378 --docdir=DIR documentation root [DATAROOTDIR/doc/sim]
1379 --htmldir=DIR html documentation [DOCDIR]
1380 --dvidir=DIR dvi documentation [DOCDIR]
1381 --pdfdir=DIR pdf documentation [DOCDIR]
1382 --psdir=DIR ps documentation [DOCDIR]
1388 --program-prefix=PREFIX prepend PREFIX to installed program names
1389 --program-suffix=SUFFIX append SUFFIX to installed program names
1390 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1393 --build=BUILD configure
for building on BUILD
[guessed
]
1394 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1395 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1399 if test -n "$ac_init_help"; then
1400 case $ac_init_help in
1401 short | recursive
) echo "Configuration of sim 0:";;
1406 --disable-option-checking ignore unrecognized
--enable/--with options
1407 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1408 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1409 --enable-maintainer-mode
1410 enable make rules and dependencies not useful
(and
1411 sometimes confusing
) to the casual installer
1412 --enable-dependency-tracking
1413 do not reject slow dependency extractors
1414 --disable-dependency-tracking
1415 speeds up one-time build
1416 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1417 --disable-silent-rules verbose build output
(undo
: "make V=0")
1418 --enable-sim Enable the GNU simulator
1419 --enable-example-sims enable example GNU simulators
1420 --enable-targets alternative target configurations
1422 Some influential environment variables
:
1423 CC C compiler
command
1424 CFLAGS C compiler flags
1425 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1426 nonstandard directory
<lib dir
>
1427 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1428 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1429 you have headers
in a nonstandard directory
<include dir
>
1432 Use these variables to override the choices made by
`configure' or to help
1433 it to find libraries and programs with nonstandard names/locations.
1435 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
1436 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
1441 if test "$ac_init_help" = "recursive"; then
1442 # If there are subdirs, report their specific --help.
1443 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1444 test -d "$ac_dir" ||
1445 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1450 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1453 # A ".." for each directory in $ac_dir_suffix.
1454 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1455 case $ac_top_builddir_sub in
1456 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1457 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1460 ac_abs_top_builddir=$ac_pwd
1461 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1462 # for backward compatibility:
1463 ac_top_builddir=$ac_top_build_prefix
1466 .) # We are building in place.
1468 ac_top_srcdir=$ac_top_builddir_sub
1469 ac_abs_top_srcdir=$ac_pwd ;;
1470 [\\/]* | ?:[\\/]* ) # Absolute name.
1471 ac_srcdir=$srcdir$ac_dir_suffix;
1472 ac_top_srcdir=$srcdir
1473 ac_abs_top_srcdir=$srcdir ;;
1475 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1476 ac_top_srcdir=$ac_top_build_prefix$srcdir
1477 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1479 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1481 cd "$ac_dir" || { ac_status=$?; continue; }
1482 # Check for guested configure.
1483 if test -f "$ac_srcdir/configure.gnu"; then
1485 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1486 elif test -f "$ac_srcdir/configure"; then
1488 $SHELL "$ac_srcdir/configure" --help=recursive
1490 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1492 cd "$ac_pwd" || { ac_status=$?; break; }
1496 test -n "$ac_init_help" && exit $ac_status
1497 if $ac_init_version; then
1500 generated by GNU Autoconf 2.69
1502 Copyright (C) 2012 Free Software Foundation, Inc.
1503 This configure script is free software; the Free Software Foundation
1504 gives unlimited permission to copy, distribute and modify it.
1509 ## ------------------------ ##
1510 ## Autoconf initialization. ##
1511 ## ------------------------ ##
1513 # ac_fn_c_try_compile LINENO
1514 # --------------------------
1515 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1516 ac_fn_c_try_compile ()
1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1519 rm -f conftest.$ac_objext
1520 if { { ac_try="$ac_compile"
1522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1523 *) ac_try_echo
=$ac_try;;
1525 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1526 $as_echo "$ac_try_echo"; } >&5
1527 (eval "$ac_compile") 2>conftest.err
1529 if test -s conftest.err
; then
1530 grep -v '^ *+' conftest.err
>conftest.er1
1531 cat conftest.er1
>&5
1532 mv -f conftest.er1 conftest.err
1534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1535 test $ac_status = 0; } && {
1536 test -z "$ac_c_werror_flag" ||
1537 test ! -s conftest.err
1538 } && test -s conftest.
$ac_objext; then :
1541 $as_echo "$as_me: failed program was:" >&5
1542 sed 's/^/| /' conftest.
$ac_ext >&5
1546 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1547 as_fn_set_status
$ac_retval
1549 } # ac_fn_c_try_compile
1551 # ac_fn_c_try_cpp LINENO
1552 # ----------------------
1553 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1556 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1557 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1560 *) ac_try_echo=$ac_try;;
1562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563 $as_echo "$ac_try_echo"; } >&5
1564 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1566 if test -s conftest.err; then
1567 grep -v '^ *+' conftest.err >conftest.er1
1568 cat conftest.er1 >&5
1569 mv -f conftest.er1 conftest.err
1571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1572 test $ac_status = 0; } > conftest.i && {
1573 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1574 test ! -s conftest.err
1578 $as_echo "$as_me: failed program was:" >&5
1579 sed 's/^/| /' conftest.$ac_ext >&5
1583 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1584 as_fn_set_status $ac_retval
1588 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1589 # -------------------------------------------------------
1590 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1591 # the include files in INCLUDES and setting the cache variable VAR
1593 ac_fn_c_check_header_mongrel ()
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 if eval \${$3+:} false; then :
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1598 $as_echo_n "checking for $2... " >&6; }
1599 if eval \${$3+:} false; then :
1600 $as_echo_n "(cached) " >&6
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1604 $as_echo "$ac_res" >&6; }
1606 # Is the header compilable?
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1608 $as_echo_n "checking $2 usability... " >&6; }
1609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1610 /* end confdefs.h. */
1614 if ac_fn_c_try_compile "$LINENO"; then :
1615 ac_header_compiler=yes
1617 ac_header_compiler=no
1619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1621 $as_echo "$ac_header_compiler" >&6; }
1623 # Is the header present?
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1625 $as_echo_n "checking $2 presence... " >&6; }
1626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1627 /* end confdefs.h. */
1630 if ac_fn_c_try_cpp "$LINENO"; then :
1631 ac_header_preproc=yes
1633 ac_header_preproc=no
1635 rm -f conftest.err conftest.i conftest.$ac_ext
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1637 $as_echo "$ac_header_preproc" >&6; }
1639 # So? What about this header?
1640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1643 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1645 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1649 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1651 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1653 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1655 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1657 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1658 ( $as_echo "## -------------------------------------------------------------------------------------- ##
1659 ## Report this to https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim ##
1660 ## -------------------------------------------------------------------------------------- ##"
1661 ) | sed "s/^/$as_me: WARNING: /" >&2
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1665 $as_echo_n "checking for $2... " >&6; }
1666 if eval \${$3+:} false; then :
1667 $as_echo_n "(cached) " >&6
1669 eval "$3=\$ac_header_compiler"
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1673 $as_echo "$ac_res" >&6; }
1675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1677 } # ac_fn_c_check_header_mongrel
1679 # ac_fn_c_try_run LINENO
1680 # ----------------------
1681 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1682 # that executables *can* be run.
1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686 if { { ac_try="$ac_link"
1688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1689 *) ac_try_echo
=$ac_try;;
1691 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_link") 2>&5
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1697 { { case "(($ac_try" in
1698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1699 *) ac_try_echo=$ac_try;;
1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_try") 2>&5
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; }; }; then :
1709 $as_echo "$as_me: program exited with status $ac_status" >&5
1710 $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.$ac_ext >&5
1713 ac_retval=$ac_status
1715 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717 as_fn_set_status $ac_retval
1721 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1722 # -------------------------------------------------------
1723 # Tests whether HEADER exists and can be compiled using the include files in
1724 # INCLUDES, setting the cache variable VAR accordingly.
1725 ac_fn_c_check_header_compile ()
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729 $as_echo_n "checking for $2... " >&6; }
1730 if eval \${$3+:} false; then :
1731 $as_echo_n "(cached) " >&6
1733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1734 /* end confdefs.h. */
1738 if ac_fn_c_try_compile "$LINENO"; then :
1743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1747 $as_echo "$ac_res" >&6; }
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 } # ac_fn_c_check_header_compile
1751 cat >config.log <<_ACEOF
1752 This file contains any messages produced by compilers while
1753 running configure, to aid debugging if configure makes a mistake.
1755 It was created by sim $as_me 0, which was
1756 generated by GNU Autoconf 2.69. Invocation command line was
1768 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1769 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1770 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1771 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1772 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1774 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1775 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1777 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1778 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1779 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1780 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1781 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1782 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1783 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1791 test -z "$as_dir" && as_dir=.
1792 $as_echo "PATH: $as_dir"
1808 # Keep a trace of the command line.
1809 # Strip out --no-create and --no-recursion so they do not pile up.
1810 # Strip out --silent because we don't want to record it for future runs.
1811 # Also quote any args containing shell meta-characters.
1812 # Make two passes to allow for proper duplicate-argument suppression.
1816 ac_must_keep_next=false
1822 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1823 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1824 | -silent | --silent | --silen | --sile | --sil)
1827 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1830 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1832 as_fn_append ac_configure_args1 " '$ac_arg'"
1833 if test $ac_must_keep_next = true; then
1834 ac_must_keep_next=false # Got value, back to normal.
1837 *=* | --config-cache | -C | -disable-* | --disable-* \
1838 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1839 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1840 | -with-* | --with-* | -without-* | --without-* | --x)
1841 case "$ac_configure_args0 " in
1842 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1845 -* ) ac_must_keep_next=true ;;
1848 as_fn_append ac_configure_args " '$ac_arg'"
1853 { ac_configure_args0=; unset ac_configure_args0;}
1854 { ac_configure_args1=; unset ac_configure_args1;}
1856 # When interrupted or exit'd, cleanup temporary files, and complete
1857 # config.log. We remove comments because anyway the quotes in there
1858 # would cause problems or look ugly.
1859 # WARNING: Use '\'' to represent an apostrophe within the trap.
1860 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1861 trap 'exit_status=$?
1862 # Save into config.log some information that might help in debugging.
1866 $as_echo "## ---------------- ##
1867 ## Cache variables. ##
1868 ## ---------------- ##"
1870 # The following way of writing the cache mishandles newlines in values,
1872 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1873 eval ac_val=\$$ac_var
1877 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1878 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1881 _ | IFS | as_nl) ;; #(
1882 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1883 *) { eval $ac_var=; unset $ac_var;} ;;
1888 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1889 *${as_nl}ac_space=\ *)
1891 "s/'\''/'\''\\\\'\'''\''/g;
1892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1895 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1902 $as_echo "## ----------------- ##
1903 ## Output variables. ##
1904 ## ----------------- ##"
1906 for ac_var in $ac_subst_vars
1908 eval ac_val=\$$ac_var
1910 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1912 $as_echo "$ac_var='\''$ac_val'\''"
1916 if test -n "$ac_subst_files"; then
1917 $as_echo "## ------------------- ##
1918 ## File substitutions. ##
1919 ## ------------------- ##"
1921 for ac_var in $ac_subst_files
1923 eval ac_val=\$$ac_var
1925 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1927 $as_echo "$ac_var='\''$ac_val'\''"
1932 if test -s confdefs.h; then
1933 $as_echo "## ----------- ##
1940 test "$ac_signal" != 0 &&
1941 $as_echo "$as_me: caught signal $ac_signal"
1942 $as_echo "$as_me: exit $exit_status"
1944 rm -f core *.core core.conftest.* &&
1945 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1948 for ac_signal in 1 2 13 15; do
1949 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1953 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1954 rm -f -r conftest* confdefs.h
1956 $as_echo "/* confdefs.h */" > confdefs.h
1958 # Predefined preprocessor variables.
1960 cat >>confdefs.h <<_ACEOF
1961 #define PACKAGE_NAME "$PACKAGE_NAME"
1964 cat >>confdefs.h <<_ACEOF
1965 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1968 cat >>confdefs.h <<_ACEOF
1969 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1972 cat >>confdefs.h <<_ACEOF
1973 #define PACKAGE_STRING "$PACKAGE_STRING"
1976 cat >>confdefs.h <<_ACEOF
1977 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1980 cat >>confdefs.h <<_ACEOF
1981 #define PACKAGE_URL "$PACKAGE_URL"
1985 # Let the site file select an alternate cache file if it wants to.
1986 # Prefer an explicitly selected file to automatically selected ones.
1989 if test -n "$CONFIG_SITE"; then
1990 # We do not want a PATH search for config.site.
1991 case $CONFIG_SITE in #((
1992 -*) ac_site_file1=./$CONFIG_SITE;;
1993 */*) ac_site_file1=$CONFIG_SITE;;
1994 *) ac_site_file1=./$CONFIG_SITE;;
1996 elif test "x$prefix" != xNONE; then
1997 ac_site_file1=$prefix/share/config.site
1998 ac_site_file2=$prefix/etc/config.site
2000 ac_site_file1=$ac_default_prefix/share/config.site
2001 ac_site_file2=$ac_default_prefix/etc/config.site
2003 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2005 test "x$ac_site_file" = xNONE && continue
2006 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2008 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2009 sed 's/^/| /' "$ac_site_file" >&5
2011 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2013 as_fn_error $? "failed to load site
script $ac_site_file
2014 See \
`config.log' for more details" "$LINENO" 5; }
2018 if test -r "$cache_file"; then
2019 # Some versions of bash will fail to source /dev/null (special files
2020 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2021 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2023 $as_echo "$as_me: loading cache $cache_file" >&6;}
2025 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2026 *) . "./$cache_file";;
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2031 $as_echo "$as_me: creating cache $cache_file" >&6;}
2035 # Check that the precious variables saved in the cache have kept the same
2037 ac_cache_corrupted=false
2038 for ac_var in $ac_precious_vars; do
2039 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2040 eval ac_new_set=\$ac_env_${ac_var}_set
2041 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2042 eval ac_new_val=\$ac_env_${ac_var}_value
2043 case $ac_old_set,$ac_new_set in
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2046 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2047 ac_cache_corrupted=: ;;
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2050 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2051 ac_cache_corrupted=: ;;
2054 if test "x$ac_old_val" != "x$ac_new_val"; then
2055 # differences in whitespace do not lead to failure.
2056 ac_old_val_w=`echo x
$ac_old_val`
2057 ac_new_val_w=`echo x
$ac_new_val`
2058 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2060 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2061 ac_cache_corrupted=:
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2064 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2065 eval $ac_var=\$ac_old_val
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2068 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2070 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2073 # Pass precious variables to config.status.
2074 if test "$ac_new_set" = set; then
2076 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2077 *) ac_arg=$ac_var=$ac_new_val ;;
2079 case " $ac_configure_args " in
2080 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2081 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2085 if $ac_cache_corrupted; then
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2089 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2090 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2092 ## -------------------- ##
2093 ## Main body of script. ##
2094 ## -------------------- ##
2097 ac_cpp='$CPP $CPPFLAGS'
2098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2108 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2109 if test -f "$ac_dir/install-sh"; then
2111 ac_install_sh="$ac_aux_dir/install-sh -c"
2113 elif test -f "$ac_dir/install.sh"; then
2115 ac_install_sh="$ac_aux_dir/install.sh -c"
2117 elif test -f "$ac_dir/shtool"; then
2119 ac_install_sh="$ac_aux_dir/shtool install -c"
2123 if test -z "$ac_aux_dir"; then
2124 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2127 # These three variables are undocumented and unsupported,
2128 # and are intended to be withdrawn in a future Autoconf release.
2129 # They can cause serious problems if a builder's source tree is in a directory
2130 # whose full name contains unusual characters.
2131 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2132 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2133 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2136 # Make sure we can run config.sub.
2137 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2138 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2141 $as_echo_n "checking build system type... " >&6; }
2142 if ${ac_cv_build+:} false; then :
2143 $as_echo_n "(cached) " >&6
2145 ac_build_alias=$build_alias
2146 test "x$ac_build_alias" = x &&
2147 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2148 test "x$ac_build_alias" = x &&
2149 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2150 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2151 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2155 $as_echo "$ac_cv_build" >&6; }
2156 case $ac_cv_build in
2158 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2161 ac_save_IFS=$IFS; IFS='-'
2167 # Remember, the first character of IFS is used to create $*,
2168 # except with old shells:
2171 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2175 $as_echo_n "checking host system type... " >&6; }
2176 if ${ac_cv_host+:} false; then :
2177 $as_echo_n "(cached) " >&6
2179 if test "x$host_alias" = x; then
2180 ac_cv_host=$ac_cv_build
2182 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2183 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2188 $as_echo "$ac_cv_host" >&6; }
2191 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2194 ac_save_IFS=$IFS; IFS='-'
2200 # Remember, the first character of IFS is used to create $*,
2201 # except with old shells:
2204 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2208 $as_echo_n "checking target system type... " >&6; }
2209 if ${ac_cv_target+:} false; then :
2210 $as_echo_n "(cached) " >&6
2212 if test "x$target_alias" = x; then
2213 ac_cv_target=$ac_cv_host
2215 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2216 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2221 $as_echo "$ac_cv_target" >&6; }
2222 case $ac_cv_target in
2224 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2226 target=$ac_cv_target
2227 ac_save_IFS=$IFS; IFS='-'
2233 # Remember, the first character of IFS is used to create $*,
2234 # except with old shells:
2237 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2240 # The aliases save the names the user supplied, while $host etc.
2241 # will get canonicalized.
2242 test -n "$target_alias" &&
2243 test "$program_prefix$program_suffix$program_transform_name" = \
2245 program_prefix=${target_alias}-
2246 # Expand $ac_aux_dir to an absolute path.
2247 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2250 ac_cpp='$CPP $CPPFLAGS'
2251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2254 if test -n "$ac_tool_prefix"; then
2255 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2256 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2258 $as_echo_n "checking for $ac_word... " >&6; }
2259 if ${ac_cv_prog_CC+:} false; then :
2260 $as_echo_n "(cached) " >&6
2262 if test -n "$CC"; then
2263 ac_cv_prog_CC="$CC" # Let the user override the test.
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269 test -z "$as_dir" && as_dir=.
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2283 if test -n "$CC"; then
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2285 $as_echo "$CC" >&6; }
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2288 $as_echo "no" >&6; }
2293 if test -z "$ac_cv_prog_CC"; then
2295 # Extract the first word of "gcc", so it can be a program name with args.
2296 set dummy gcc; ac_word=$2
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2298 $as_echo_n "checking for $ac_word... " >&6; }
2299 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2300 $as_echo_n "(cached) " >&6
2302 if test -n "$ac_ct_CC"; then
2303 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2309 test -z "$as_dir" && as_dir=.
2310 for ac_exec_ext in '' $ac_executable_extensions; do
2311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2312 ac_cv_prog_ac_ct_CC="gcc"
2313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2322 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2323 if test -n "$ac_ct_CC"; then
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2325 $as_echo "$ac_ct_CC" >&6; }
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2328 $as_echo "no" >&6; }
2331 if test "x$ac_ct_CC" = x; then
2334 case $cross_compiling:$ac_tool_warned in
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2338 ac_tool_warned=yes ;;
2346 if test -z "$CC"; then
2347 if test -n "$ac_tool_prefix"; then
2348 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2349 set dummy ${ac_tool_prefix}cc; ac_word=$2
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2351 $as_echo_n "checking for $ac_word... " >&6; }
2352 if ${ac_cv_prog_CC+:} false; then :
2353 $as_echo_n "(cached) " >&6
2355 if test -n "$CC"; then
2356 ac_cv_prog_CC="$CC" # Let the user override the test.
2358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362 test -z "$as_dir" && as_dir=.
2363 for ac_exec_ext in '' $ac_executable_extensions; do
2364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2365 ac_cv_prog_CC="${ac_tool_prefix}cc"
2366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 if test -n "$CC"; then
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2378 $as_echo "$CC" >&6; }
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2381 $as_echo "no" >&6; }
2387 if test -z "$CC"; then
2388 # Extract the first word of "cc", so it can be a program name with args.
2389 set dummy cc; ac_word=$2
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2391 $as_echo_n "checking for $ac_word... " >&6; }
2392 if ${ac_cv_prog_CC+:} false; then :
2393 $as_echo_n "(cached) " >&6
2395 if test -n "$CC"; then
2396 ac_cv_prog_CC="$CC" # Let the user override the test.
2399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403 test -z "$as_dir" && as_dir=.
2404 for ac_exec_ext in '' $ac_executable_extensions; do
2405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2406 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2407 ac_prog_rejected=yes
2411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2418 if test $ac_prog_rejected = yes; then
2419 # We found a bogon in the path, so make sure we never use it.
2420 set dummy $ac_cv_prog_CC
2422 if test $# != 0; then
2423 # We chose a different compiler from the bogus one.
2424 # However, it has the same basename, so the bogon will be chosen
2425 # first if we set CC to just the basename; use the full file name.
2427 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2433 if test -n "$CC"; then
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2435 $as_echo "$CC" >&6; }
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2438 $as_echo "no" >&6; }
2443 if test -z "$CC"; then
2444 if test -n "$ac_tool_prefix"; then
2445 for ac_prog in cl.exe
2447 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2448 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2450 $as_echo_n "checking for $ac_word... " >&6; }
2451 if ${ac_cv_prog_CC+:} false; then :
2452 $as_echo_n "(cached) " >&6
2454 if test -n "$CC"; then
2455 ac_cv_prog_CC="$CC" # Let the user override the test.
2457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461 test -z "$as_dir" && as_dir=.
2462 for ac_exec_ext in '' $ac_executable_extensions; do
2463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2464 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2475 if test -n "$CC"; then
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2477 $as_echo "$CC" >&6; }
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2480 $as_echo "no" >&6; }
2484 test -n "$CC" && break
2487 if test -z "$CC"; then
2489 for ac_prog in cl.exe
2491 # Extract the first word of "$ac_prog", so it can be a program name with args.
2492 set dummy $ac_prog; ac_word=$2
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2494 $as_echo_n "checking for $ac_word... " >&6; }
2495 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2496 $as_echo_n "(cached) " >&6
2498 if test -n "$ac_ct_CC"; then
2499 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir=.
2506 for ac_exec_ext in '' $ac_executable_extensions; do
2507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2508 ac_cv_prog_ac_ct_CC="$ac_prog"
2509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2518 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2519 if test -n "$ac_ct_CC"; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2521 $as_echo "$ac_ct_CC" >&6; }
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2524 $as_echo "no" >&6; }
2528 test -n "$ac_ct_CC" && break
2531 if test "x$ac_ct_CC" = x; then
2534 case $cross_compiling:$ac_tool_warned in
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2538 ac_tool_warned=yes ;;
2547 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2549 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2550 See \
`config.log' for more details" "$LINENO" 5; }
2552 # Provide some information about the compiler.
2553 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2556 for ac_option in --version -v -V -qversion; do
2557 { { ac_try="$ac_compiler $ac_option >&5"
2559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2560 *) ac_try_echo
=$ac_try;;
2562 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2563 $as_echo "$ac_try_echo"; } >&5
2564 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2566 if test -s conftest.err
; then
2568 ... rest of stderr output deleted ...
2569 10q' conftest.err
>conftest.er1
2570 cat conftest.er1
>&5
2572 rm -f conftest.er1 conftest.err
2573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2574 test $ac_status = 0; }
2577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2578 /* end confdefs.h. */
2588 ac_clean_files_save
=$ac_clean_files
2589 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2590 # Try to create an executable without -o first, disregard a.out.
2591 # It will help us diagnose broken compilers, and finding out an intuition
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2594 $as_echo_n "checking whether the C compiler works... " >&6; }
2595 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2597 # The possible output files:
2598 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2601 for ac_file
in $ac_files
2604 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2605 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2610 if { { ac_try
="$ac_link_default"
2612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2613 *) ac_try_echo=$ac_try;;
2615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2616 $as_echo "$ac_try_echo"; } >&5
2617 (eval "$ac_link_default") 2>&5
2619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2620 test $ac_status = 0; }; then :
2621 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2622 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2623 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2624 # so that the user can short-circuit this test for compilers unknown to
2626 for ac_file in $ac_files ''
2628 test -f "$ac_file" || continue
2630 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2633 # We found the default executable, but exeext='' is most
2637 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2639 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2641 # We set ac_cv_exeext here because the later test for it is not
2642 # safe: cross compilers may not add the suffix if given an `-o'
2643 # argument, so we may need to know it at that point already.
2644 # Even if this section looks crufty: it has the advantage of
2651 test "$ac_cv_exeext" = no && ac_cv_exeext=
2656 if test -z "$ac_file"; then :
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658 $as_echo "no" >&6; }
2659 $as_echo "$as_me: failed program was:" >&5
2660 sed 's
/^
/|
/' conftest.$ac_ext >&5
2662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2663 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2664 as_fn_error 77 "C compiler cannot create executables
2665 See \`config.log
' for more details" "$LINENO" 5; }
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2668 $as_echo "yes" >&6; }
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2671 $as_echo_n "checking for C compiler default output file name... " >&6; }
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2673 $as_echo "$ac_file" >&6; }
2674 ac_exeext=$ac_cv_exeext
2676 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2677 ac_clean_files=$ac_clean_files_save
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2679 $as_echo_n "checking for suffix of executables... " >&6; }
2680 if { { ac_try="$ac_link"
2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2683 *) ac_try_echo=$ac_try;;
2685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2686 $as_echo "$ac_try_echo"; } >&5
2687 (eval "$ac_link") 2>&5
2689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2690 test $ac_status = 0; }; then :
2691 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2692 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2693 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2695 for ac_file
in conftest.exe conftest conftest.
*; do
2696 test -f "$ac_file" ||
continue
2698 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2699 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2707 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2708 See \`config.log' for more details" "$LINENO" 5; }
2710 rm -f conftest conftest
$ac_cv_exeext
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2712 $as_echo "$ac_cv_exeext" >&6; }
2714 rm -f conftest.
$ac_ext
2715 EXEEXT
=$ac_cv_exeext
2717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2718 /* end confdefs.h. */
2723 FILE *f = fopen ("conftest.out", "w");
2724 return ferror (f) || fclose (f) != 0;
2730 ac_clean_files
="$ac_clean_files conftest.out"
2731 # Check that the compiler produces executables we can run. If not, either
2732 # the compiler is broken, or we cross compile.
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2734 $as_echo_n "checking whether we are cross compiling... " >&6; }
2735 if test "$cross_compiling" != yes; then
2736 { { ac_try
="$ac_link"
2738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2739 *) ac_try_echo=$ac_try;;
2741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2742 $as_echo "$ac_try_echo"; } >&5
2743 (eval "$ac_link") 2>&5
2745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2746 test $ac_status = 0; }
2747 if { ac_try='./conftest$ac_cv_exeext'
2748 { { case "(($ac_try" in
2749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2750 *) ac_try_echo
=$ac_try;;
2752 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2753 $as_echo "$ac_try_echo"; } >&5
2754 (eval "$ac_try") 2>&5
2756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2757 test $ac_status = 0; }; }; then
2760 if test "$cross_compiling" = maybe
; then
2763 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2765 as_fn_error $?
"cannot run C compiled programs.
2766 If you meant to cross compile, use \`--host'.
2767 See \`config.log' for more details" "$LINENO" 5; }
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2772 $as_echo "$cross_compiling" >&6; }
2774 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2775 ac_clean_files
=$ac_clean_files_save
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2777 $as_echo_n "checking for suffix of object files... " >&6; }
2778 if ${ac_cv_objext+:} false
; then :
2779 $as_echo_n "(cached) " >&6
2781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2782 /* end confdefs.h. */
2792 rm -f conftest.o conftest.obj
2793 if { { ac_try
="$ac_compile"
2795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2796 *) ac_try_echo=$ac_try;;
2798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2799 $as_echo "$ac_try_echo"; } >&5
2800 (eval "$ac_compile") 2>&5
2802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2803 test $ac_status = 0; }; then :
2804 for ac_file in conftest.o conftest.obj conftest.*; do
2805 test -f "$ac_file" || continue;
2807 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2808 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2813 $as_echo "$as_me: failed program was:" >&5
2814 sed 's/^/| /' conftest.$ac_ext >&5
2816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2818 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2819 See \
`config.log' for more details" "$LINENO" 5; }
2821 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2824 $as_echo "$ac_cv_objext" >&6; }
2825 OBJEXT=$ac_cv_objext
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2828 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2829 if ${ac_cv_c_compiler_gnu+:} false; then :
2830 $as_echo_n "(cached) " >&6
2832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2833 /* end confdefs.h. */
2846 if ac_fn_c_try_compile "$LINENO"; then :
2851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2852 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2856 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2857 if test $ac_compiler_gnu = yes; then
2862 ac_test_CFLAGS=${CFLAGS+set}
2863 ac_save_CFLAGS=$CFLAGS
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2865 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2866 if ${ac_cv_prog_cc_g+:} false; then :
2867 $as_echo_n "(cached) " >&6
2869 ac_save_c_werror_flag=$ac_c_werror_flag
2870 ac_c_werror_flag=yes
2873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2874 /* end confdefs.h. */
2884 if ac_fn_c_try_compile "$LINENO"; then :
2888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2889 /* end confdefs.h. */
2899 if ac_fn_c_try_compile "$LINENO"; then :
2902 ac_c_werror_flag=$ac_save_c_werror_flag
2904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2905 /* end confdefs.h. */
2915 if ac_fn_c_try_compile "$LINENO"; then :
2918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2923 ac_c_werror_flag=$ac_save_c_werror_flag
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2926 $as_echo "$ac_cv_prog_cc_g" >&6; }
2927 if test "$ac_test_CFLAGS" = set; then
2928 CFLAGS=$ac_save_CFLAGS
2929 elif test $ac_cv_prog_cc_g = yes; then
2930 if test "$GCC" = yes; then
2936 if test "$GCC" = yes; then
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2943 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2944 if ${ac_cv_prog_cc_c89+:} false; then :
2945 $as_echo_n "(cached) " >&6
2947 ac_cv_prog_cc_c89=no
2949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2950 /* end confdefs.h. */
2954 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2955 struct buf { int x; };
2956 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2957 static char *e (p, i)
2963 static char *f (char * (*g) (char **, int), char **p, ...)
2968 s = g (p, va_arg (v,int));
2973 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2974 function prototypes and stuff, but not '\xHH' hex character constants.
2975 These don't provoke an error unfortunately, instead are silently treated
2976 as 'x'. The following induces an error, until -std is added to get
2977 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2978 array size at least. It's necessary to write '\x00'==0 to get something
2979 that's true only with -std. */
2980 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2982 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2983 inside strings and character constants. */
2985 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2987 int test (int i, double x);
2988 struct s1 {int (*f) (int a);};
2989 struct s2 {int (*f) (double a);};
2990 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2996 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3001 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3002 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3004 CC="$ac_save_CC $ac_arg"
3005 if ac_fn_c_try_compile "$LINENO"; then :
3006 ac_cv_prog_cc_c89=$ac_arg
3008 rm -f core conftest.err conftest.$ac_objext
3009 test "x$ac_cv_prog_cc_c89" != "xno" && break
3011 rm -f conftest.$ac_ext
3016 case "x$ac_cv_prog_cc_c89" in
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3019 $as_echo "none needed" >&6; } ;;
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3022 $as_echo "unsupported" >&6; } ;;
3024 CC="$CC $ac_cv_prog_cc_c89"
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3026 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3028 if test "x$ac_cv_prog_cc_c89" != xno; then :
3033 ac_cpp='$CPP $CPPFLAGS'
3034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3039 ac_cpp='$CPP $CPPFLAGS'
3040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3044 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3045 if ${am_cv_prog_cc_c_o+:} false; then :
3046 $as_echo_n "(cached) " >&6
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3059 # Make sure it works both with $CC and with simple cc.
3060 # Following AC_PROG_CC_C_O, we do the test twice because some
3061 # compilers refuse to overwrite an existing .o file with -o,
3062 # though they will create one.
3063 am_cv_prog_cc_c_o=yes
3065 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3066 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); } \
3070 && test -f conftest2.$ac_objext; then
3073 am_cv_prog_cc_c_o=no
3077 rm -f core conftest*
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3081 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3082 if test "$am_cv_prog_cc_c_o" != yes; then
3083 # Losing compiler, so override with the script.
3084 # FIXME: It is wrong to rewrite CC.
3085 # But if we don't then we get into trouble of one sort or another.
3086 # A longer-term fix would be to have automake use am__CC in this case,
3087 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3088 CC="$am_aux_dir/compile $CC"
3091 ac_cpp='$CPP $CPPFLAGS'
3092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3099 ac_cpp='$CPP $CPPFLAGS'
3100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3104 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3105 # On Suns, sometimes $CPP names a directory.
3106 if test -n "$CPP" && test -d "$CPP"; then
3109 if test -z "$CPP"; then
3110 if ${ac_cv_prog_CPP+:} false; then :
3111 $as_echo_n "(cached) " >&6
3113 # Double quotes because CPP needs to be expanded
3114 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3117 for ac_c_preproc_warn_flag in '' yes
3119 # Use a header file that comes with gcc, so configuring glibc
3120 # with a fresh cross-compiler works.
3121 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3122 # <limits.h> exists even on freestanding compilers.
3123 # On the NeXT, cc -E runs the code through the compiler's parser,
3124 # not just through cpp. "Syntax error" is here to catch this case.
3125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3126 /* end confdefs.h. */
3128 # include <limits.h>
3130 # include <assert.h>
3134 if ac_fn_c_try_cpp "$LINENO"; then :
3137 # Broken: fails on valid input.
3140 rm -f conftest.err conftest.i conftest.$ac_ext
3142 # OK, works on sane cases. Now check whether nonexistent headers
3143 # can be detected and how.
3144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3146 #include <ac_nonexistent.h>
3148 if ac_fn_c_try_cpp "$LINENO"; then :
3149 # Broken: success on invalid input.
3152 # Passes both tests.
3156 rm -f conftest.err conftest.i conftest.$ac_ext
3159 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3160 rm -f conftest.i conftest.err conftest.
$ac_ext
3161 if $ac_preproc_ok; then :
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3174 $as_echo "$CPP" >&6; }
3176 for ac_c_preproc_warn_flag
in '' yes
3178 # Use a header file that comes with gcc, so configuring glibc
3179 # with a fresh cross-compiler works.
3180 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3181 # <limits.h> exists even on freestanding compilers.
3182 # On the NeXT, cc -E runs the code through the compiler's parser,
3183 # not just through cpp. "Syntax error" is here to catch this case.
3184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3185 /* end confdefs.h. */
3187 # include <limits.h>
3189 # include <assert.h>
3193 if ac_fn_c_try_cpp
"$LINENO"; then :
3196 # Broken: fails on valid input.
3199 rm -f conftest.err conftest.i conftest.
$ac_ext
3201 # OK, works on sane cases. Now check whether nonexistent headers
3202 # can be detected and how.
3203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3204 /* end confdefs.h. */
3205 #include <ac_nonexistent.h>
3207 if ac_fn_c_try_cpp
"$LINENO"; then :
3208 # Broken: success on invalid input.
3211 # Passes both tests.
3215 rm -f conftest.err conftest.i conftest.
$ac_ext
3218 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3219 rm -f conftest.i conftest.err conftest.
$ac_ext
3220 if $ac_preproc_ok; then :
3223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3225 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3226 See \`config.log' for more details" "$LINENO" 5; }
3230 ac_cpp
='$CPP $CPPFLAGS'
3231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3237 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3238 if ${ac_cv_path_GREP+:} false
; then :
3239 $as_echo_n "(cached) " >&6
3241 if test -z "$GREP"; then
3242 ac_path_GREP_found
=false
3243 # Loop through the user's path and test for each of PROGNAME-LIST
3244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3245 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3248 test -z "$as_dir" && as_dir
=.
3249 for ac_prog
in grep ggrep
; do
3250 for ac_exec_ext
in '' $ac_executable_extensions; do
3251 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3252 as_fn_executable_p
"$ac_path_GREP" ||
continue
3253 # Check for GNU ac_path_GREP and select it if it is found.
3254 # Check for GNU $ac_path_GREP
3255 case `"$ac_path_GREP" --version 2>&1` in
3257 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3260 $as_echo_n 0123456789 >"conftest.in"
3263 cat "conftest.in" "conftest.in" >"conftest.tmp"
3264 mv "conftest.tmp" "conftest.in"
3265 cp "conftest.in" "conftest.nl"
3266 $as_echo 'GREP' >> "conftest.nl"
3267 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3268 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3269 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3270 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3271 # Best one so far, save it but keep looking for a better one
3272 ac_cv_path_GREP
="$ac_path_GREP"
3273 ac_path_GREP_max
=$ac_count
3275 # 10*(2^10) chars as input seems more than enough
3276 test $ac_count -gt 10 && break
3278 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3281 $ac_path_GREP_found && break 3
3286 if test -z "$ac_cv_path_GREP"; then
3287 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3290 ac_cv_path_GREP
=$GREP
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3295 $as_echo "$ac_cv_path_GREP" >&6; }
3296 GREP
="$ac_cv_path_GREP"
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3300 $as_echo_n "checking for egrep... " >&6; }
3301 if ${ac_cv_path_EGREP+:} false
; then :
3302 $as_echo_n "(cached) " >&6
3304 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3305 then ac_cv_path_EGREP
="$GREP -E"
3307 if test -z "$EGREP"; then
3308 ac_path_EGREP_found
=false
3309 # Loop through the user's path and test for each of PROGNAME-LIST
3310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3311 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3314 test -z "$as_dir" && as_dir
=.
3315 for ac_prog
in egrep; do
3316 for ac_exec_ext
in '' $ac_executable_extensions; do
3317 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3318 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3319 # Check for GNU ac_path_EGREP and select it if it is found.
3320 # Check for GNU $ac_path_EGREP
3321 case `"$ac_path_EGREP" --version 2>&1` in
3323 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3326 $as_echo_n 0123456789 >"conftest.in"
3329 cat "conftest.in" "conftest.in" >"conftest.tmp"
3330 mv "conftest.tmp" "conftest.in"
3331 cp "conftest.in" "conftest.nl"
3332 $as_echo 'EGREP' >> "conftest.nl"
3333 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3334 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3335 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3336 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3337 # Best one so far, save it but keep looking for a better one
3338 ac_cv_path_EGREP
="$ac_path_EGREP"
3339 ac_path_EGREP_max
=$ac_count
3341 # 10*(2^10) chars as input seems more than enough
3342 test $ac_count -gt 10 && break
3344 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3347 $ac_path_EGREP_found && break 3
3352 if test -z "$ac_cv_path_EGREP"; then
3353 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3356 ac_cv_path_EGREP
=$EGREP
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3362 $as_echo "$ac_cv_path_EGREP" >&6; }
3363 EGREP
="$ac_cv_path_EGREP"
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3367 $as_echo_n "checking for ANSI C header files... " >&6; }
3368 if ${ac_cv_header_stdc+:} false
; then :
3369 $as_echo_n "(cached) " >&6
3371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3372 /* end confdefs.h. */
3386 if ac_fn_c_try_compile
"$LINENO"; then :
3387 ac_cv_header_stdc
=yes
3389 ac_cv_header_stdc
=no
3391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3393 if test $ac_cv_header_stdc = yes; then
3394 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3401 $EGREP "memchr" >/dev
/null
2>&1; then :
3404 ac_cv_header_stdc
=no
3410 if test $ac_cv_header_stdc = yes; then
3411 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3418 $EGREP "free" >/dev
/null
2>&1; then :
3421 ac_cv_header_stdc
=no
3427 if test $ac_cv_header_stdc = yes; then
3428 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3429 if test "$cross_compiling" = yes; then :
3432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3436 #if ((' ' & 0x0FF) == 0x020)
3437 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3438 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3440 # define ISLOWER(c) \
3441 (('a' <= (c) && (c) <= 'i') \
3442 || ('j' <= (c) && (c) <= 'r') \
3443 || ('s' <= (c) && (c) <= 'z'))
3444 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3447 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3452 for (i = 0; i < 256; i++)
3453 if (XOR (islower (i), ISLOWER (i))
3454 || toupper (i) != TOUPPER (i))
3459 if ac_fn_c_try_run
"$LINENO"; then :
3462 ac_cv_header_stdc
=no
3464 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3465 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3471 $as_echo "$ac_cv_header_stdc" >&6; }
3472 if test $ac_cv_header_stdc = yes; then
3474 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3478 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3479 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3480 inttypes.h stdint.h unistd.h
3482 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3483 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3485 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3486 cat >>confdefs.h
<<_ACEOF
3487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3496 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3497 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3504 if test "$MINIX" = yes; then
3506 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3509 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3512 $as_echo "#define _MINIX 1" >>confdefs.h
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3518 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3519 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3520 $as_echo_n "(cached) " >&6
3522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3523 /* end confdefs.h. */
3525 # define __EXTENSIONS__ 1
3526 $ac_includes_default
3535 if ac_fn_c_try_compile
"$LINENO"; then :
3536 ac_cv_safe_to_define___extensions__
=yes
3538 ac_cv_safe_to_define___extensions__
=no
3540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3543 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3544 test $ac_cv_safe_to_define___extensions__ = yes &&
3545 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3547 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3549 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3551 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3553 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3556 test "$program_prefix" != NONE
&&
3557 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3558 # Use a double $ so make ignores it.
3559 test "$program_suffix" != NONE
&&
3560 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3561 # Double any \ or $.
3562 # By default was `s,x,x', remove it if useless.
3563 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3564 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3566 # Find a good install program. We prefer a C program (faster),
3567 # so one script is as good as another. But avoid the broken or
3568 # incompatible versions:
3569 # SysV /etc/install, /usr/sbin/install
3570 # SunOS /usr/etc/install
3571 # IRIX /sbin/install
3573 # AmigaOS /C/install, which installs bootblocks on floppy discs
3574 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3575 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3576 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3577 # OS/2's system install, which has a completely different semantic
3578 # ./install, which can be erroneously created by make from ./install.sh.
3579 # Reject install programs that cannot install multiple files.
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3581 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3582 if test -z "$INSTALL"; then
3583 if ${ac_cv_path_install+:} false
; then :
3584 $as_echo_n "(cached) " >&6
3586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3590 test -z "$as_dir" && as_dir
=.
3591 # Account for people who put trailing slashes in PATH elements.
3592 case $as_dir/ in #((
3593 .
/ | .
// |
/[cC
]/* | \
3594 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3595 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3598 # OSF1 and SCO ODT 3.0 have their own names for install.
3599 # Don't use installbsd from OSF since it installs stuff as root
3601 for ac_prog
in ginstall scoinst
install; do
3602 for ac_exec_ext
in '' $ac_executable_extensions; do
3603 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3604 if test $ac_prog = install &&
3605 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3606 # AIX install. It has an incompatible calling convention.
3608 elif test $ac_prog = install &&
3609 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3610 # program-specific install script used by HP pwplus--don't use.
3613 rm -rf conftest.one conftest.two conftest.dir
3614 echo one
> conftest.one
3615 echo two
> conftest.two
3617 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3618 test -s conftest.one
&& test -s conftest.two
&&
3619 test -s conftest.dir
/conftest.one
&&
3620 test -s conftest.dir
/conftest.two
3622 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3635 rm -rf conftest.one conftest.two conftest.dir
3638 if test "${ac_cv_path_install+set}" = set; then
3639 INSTALL
=$ac_cv_path_install
3641 # As a last resort, use the slow shell script. Don't cache a
3642 # value for INSTALL within a source directory, because that will
3643 # break other packages using the cache if that directory is
3644 # removed, or if the value is a relative name.
3645 INSTALL
=$ac_install_sh
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3649 $as_echo "$INSTALL" >&6; }
3651 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3652 # It thinks the first close brace ends the variable substitution.
3653 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3655 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3657 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3664 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3665 if ${ac_cv_c_bigendian+:} false
; then :
3666 $as_echo_n "(cached) " >&6
3668 ac_cv_c_bigendian
=unknown
3669 # See if we're dealing with a universal compiler.
3670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h. */
3672 #ifndef __APPLE_CC__
3673 not a universal capable compiler
3678 if ac_fn_c_try_compile
"$LINENO"; then :
3680 # Check for potential -arch flags. It is not universal unless
3681 # there are at least two -arch flags with different values.
3684 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3685 if test -n "$ac_prev"; then
3687 i?
86 | x86_64 | ppc | ppc64
)
3688 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
3691 ac_cv_c_bigendian
=universal
3697 elif test "x$ac_word" = "x-arch"; then
3702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3703 if test $ac_cv_c_bigendian = unknown
; then
3704 # See if sys/param.h defines the BYTE_ORDER macro.
3705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3707 #include <sys/types.h>
3708 #include <sys/param.h>
3713 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3714 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3723 if ac_fn_c_try_compile
"$LINENO"; then :
3724 # It does; now see whether it defined to BIG_ENDIAN or not.
3725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3726 /* end confdefs.h. */
3727 #include <sys/types.h>
3728 #include <sys/param.h>
3733 #if BYTE_ORDER != BIG_ENDIAN
3741 if ac_fn_c_try_compile
"$LINENO"; then :
3742 ac_cv_c_bigendian
=yes
3744 ac_cv_c_bigendian
=no
3746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3750 if test $ac_cv_c_bigendian = unknown
; then
3751 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3759 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3767 if ac_fn_c_try_compile
"$LINENO"; then :
3768 # It does; now see whether it defined to _BIG_ENDIAN or not.
3769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3770 /* end confdefs.h. */
3784 if ac_fn_c_try_compile
"$LINENO"; then :
3785 ac_cv_c_bigendian
=yes
3787 ac_cv_c_bigendian
=no
3789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3793 if test $ac_cv_c_bigendian = unknown
; then
3794 # Compile a test program.
3795 if test "$cross_compiling" = yes; then :
3796 # Try to guess by grepping values from an object file.
3797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3798 /* end confdefs.h. */
3799 short int ascii_mm[] =
3800 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3801 short int ascii_ii[] =
3802 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3803 int use_ascii (int i) {
3804 return ascii_mm[i] + ascii_ii[i];
3806 short int ebcdic_ii[] =
3807 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3808 short int ebcdic_mm[] =
3809 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3810 int use_ebcdic (int i) {
3811 return ebcdic_mm[i] + ebcdic_ii[i];
3818 return use_ascii (foo) == use_ebcdic (foo);
3823 if ac_fn_c_try_compile
"$LINENO"; then :
3824 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
3825 ac_cv_c_bigendian
=yes
3827 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
3828 if test "$ac_cv_c_bigendian" = unknown
; then
3829 ac_cv_c_bigendian
=no
3831 # finding both strings is unlikely to happen, but who knows?
3832 ac_cv_c_bigendian
=unknown
3836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3840 $ac_includes_default
3845 /* Are we little or big endian? From Harbison&Steele. */
3849 char c[sizeof (long int)];
3852 return u.c[sizeof (long int) - 1] == 1;
3858 if ac_fn_c_try_run
"$LINENO"; then :
3859 ac_cv_c_bigendian
=no
3861 ac_cv_c_bigendian
=yes
3863 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3864 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
3870 $as_echo "$ac_cv_c_bigendian" >&6; }
3871 case $ac_cv_c_bigendian in #(
3873 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
3879 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
3883 as_fn_error $?
"unknown endianness
3884 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
3890 if test "x$cross_compiling" = "xno"; then
3891 : "${CC_FOR_BUILD:=\$(CC)}"
3892 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
3893 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
3895 : "${CC_FOR_BUILD:=gcc}"
3896 : "${CFLAGS_FOR_BUILD:=-g -O}"
3897 : "${LDLFAGS_FOR_BUILD:=}"
3904 if test -n "$ac_tool_prefix"; then
3905 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3906 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3908 $as_echo_n "checking for $ac_word... " >&6; }
3909 if ${ac_cv_prog_AR+:} false
; then :
3910 $as_echo_n "(cached) " >&6
3912 if test -n "$AR"; then
3913 ac_cv_prog_AR
="$AR" # Let the user override the test.
3915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3919 test -z "$as_dir" && as_dir
=.
3920 for ac_exec_ext
in '' $ac_executable_extensions; do
3921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3922 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3933 if test -n "$AR"; then
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3935 $as_echo "$AR" >&6; }
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3938 $as_echo "no" >&6; }
3943 if test -z "$ac_cv_prog_AR"; then
3945 # Extract the first word of "ar", so it can be a program name with args.
3946 set dummy
ar; ac_word
=$2
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3948 $as_echo_n "checking for $ac_word... " >&6; }
3949 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
3950 $as_echo_n "(cached) " >&6
3952 if test -n "$ac_ct_AR"; then
3953 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3959 test -z "$as_dir" && as_dir
=.
3960 for ac_exec_ext
in '' $ac_executable_extensions; do
3961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3962 ac_cv_prog_ac_ct_AR
="ar"
3963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3972 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3973 if test -n "$ac_ct_AR"; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3975 $as_echo "$ac_ct_AR" >&6; }
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3981 if test "x$ac_ct_AR" = x
; then
3984 case $cross_compiling:$ac_tool_warned in
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3988 ac_tool_warned
=yes ;;
3996 if test -n "$ac_tool_prefix"; then
3997 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3998 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4000 $as_echo_n "checking for $ac_word... " >&6; }
4001 if ${ac_cv_prog_RANLIB+:} false
; then :
4002 $as_echo_n "(cached) " >&6
4004 if test -n "$RANLIB"; then
4005 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4011 test -z "$as_dir" && as_dir
=.
4012 for ac_exec_ext
in '' $ac_executable_extensions; do
4013 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4014 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4024 RANLIB
=$ac_cv_prog_RANLIB
4025 if test -n "$RANLIB"; then
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4027 $as_echo "$RANLIB" >&6; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4030 $as_echo "no" >&6; }
4035 if test -z "$ac_cv_prog_RANLIB"; then
4036 ac_ct_RANLIB
=$RANLIB
4037 # Extract the first word of "ranlib", so it can be a program name with args.
4038 set dummy ranlib
; ac_word
=$2
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4040 $as_echo_n "checking for $ac_word... " >&6; }
4041 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4042 $as_echo_n "(cached) " >&6
4044 if test -n "$ac_ct_RANLIB"; then
4045 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4051 test -z "$as_dir" && as_dir
=.
4052 for ac_exec_ext
in '' $ac_executable_extensions; do
4053 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4054 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4065 if test -n "$ac_ct_RANLIB"; then
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4067 $as_echo "$ac_ct_RANLIB" >&6; }
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4070 $as_echo "no" >&6; }
4073 if test "x$ac_ct_RANLIB" = x
; then
4076 case $cross_compiling:$ac_tool_warned in
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4080 ac_tool_warned
=yes ;;
4082 RANLIB
=$ac_ct_RANLIB
4085 RANLIB
="$ac_cv_prog_RANLIB"
4089 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
4090 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
4091 # is C99. So handle it ourselves.
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
4095 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4099 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4100 # error "C11 support not found"
4104 if ac_fn_c_try_compile
"$LINENO"; then :
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4106 $as_echo "yes" >&6; }
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4110 $as_echo "no" >&6; }
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4112 $as_echo_n "checking for -std=c11 support... " >&6; }
4115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4116 /* end confdefs.h. */
4118 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4119 # error "C11 support not found"
4123 if ac_fn_c_try_compile
"$LINENO"; then :
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4126 $as_echo "yes" >&6; }
4128 C_DIALECT
="-std=c11"
4131 as_fn_error $?
"C11 is required" "$LINENO" 5
4133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4141 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4142 # Check whether --enable-maintainer-mode was given.
4143 if test "${enable_maintainer_mode+set}" = set; then :
4144 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4146 USE_MAINTAINER_MODE
=no
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4150 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4151 if test $USE_MAINTAINER_MODE = yes; then
4152 MAINTAINER_MODE_TRUE
=
4153 MAINTAINER_MODE_FALSE
='#'
4155 MAINTAINER_MODE_TRUE
='#'
4156 MAINTAINER_MODE_FALSE
=
4159 MAINT
=$MAINTAINER_MODE_TRUE
4162 am__api_version
='1.15'
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4165 $as_echo_n "checking whether build environment is sane... " >&6; }
4166 # Reject unsafe characters in $srcdir or the absolute working directory
4167 # name. Accept space and tab only in the latter.
4171 *[\\\"\
#\$\&\'\`$am_lf]*)
4172 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4175 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4176 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4179 # Do 'set' in a subshell so we don't clobber the current shell's
4180 # arguments. Must try -L first in case configure is actually a
4181 # symlink; some systems play weird games with the mod time of symlinks
4182 # (eg FreeBSD returns the mod time of the symlink's containing
4186 for am_try
in 1 2; do
4187 echo "timestamp, slept: $am_has_slept" > conftest.
file
4188 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4189 if test "$*" = "X"; then
4191 set X
`ls -t "$srcdir/configure" conftest.file`
4193 if test "$*" != "X $srcdir/configure conftest.file" \
4194 && test "$*" != "X conftest.file $srcdir/configure"; then
4196 # If neither matched, then we have a broken ls. This can happen
4197 # if, for instance, CONFIG_SHELL is bash and it inherits a
4198 # broken ls alias from the environment. This has actually
4199 # happened. Such a system could not be considered "sane".
4200 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4201 alias in your environment" "$LINENO" 5
4203 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4210 test "$2" = conftest.
file
4216 as_fn_error $?
"newly created file is older than distributed files!
4217 Check your system clock" "$LINENO" 5
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4220 $as_echo "yes" >&6; }
4221 # If we didn't sleep, we still need to ensure time stamps of config.status and
4222 # generated files are strictly newer.
4224 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4231 if test x
"${MISSING+set}" != xset
; then
4234 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4236 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4239 # Use eval to expand $SHELL
4240 if eval "$MISSING --is-lightweight"; then
4241 am_missing_run
="$MISSING "
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4245 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4248 if test x
"${install_sh+set}" != xset
; then
4251 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4253 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4257 # Installed binaries are usually stripped using 'strip' when the user
4258 # run "make install-strip". However 'strip' might not be the right
4259 # tool to use in cross-compilation environments, therefore Automake
4260 # will honor the 'STRIP' environment variable to overrule this program.
4261 if test "$cross_compiling" != no
; then
4262 if test -n "$ac_tool_prefix"; then
4263 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4264 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4266 $as_echo_n "checking for $ac_word... " >&6; }
4267 if ${ac_cv_prog_STRIP+:} false
; then :
4268 $as_echo_n "(cached) " >&6
4270 if test -n "$STRIP"; then
4271 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4277 test -z "$as_dir" && as_dir
=.
4278 for ac_exec_ext
in '' $ac_executable_extensions; do
4279 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4280 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290 STRIP
=$ac_cv_prog_STRIP
4291 if test -n "$STRIP"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4293 $as_echo "$STRIP" >&6; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4301 if test -z "$ac_cv_prog_STRIP"; then
4303 # Extract the first word of "strip", so it can be a program name with args.
4304 set dummy strip
; ac_word
=$2
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4306 $as_echo_n "checking for $ac_word... " >&6; }
4307 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4308 $as_echo_n "(cached) " >&6
4310 if test -n "$ac_ct_STRIP"; then
4311 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4317 test -z "$as_dir" && as_dir
=.
4318 for ac_exec_ext
in '' $ac_executable_extensions; do
4319 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4320 ac_cv_prog_ac_ct_STRIP
="strip"
4321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4330 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4331 if test -n "$ac_ct_STRIP"; then
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4333 $as_echo "$ac_ct_STRIP" >&6; }
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4336 $as_echo "no" >&6; }
4339 if test "x$ac_ct_STRIP" = x
; then
4342 case $cross_compiling:$ac_tool_warned in
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4346 ac_tool_warned
=yes ;;
4351 STRIP
="$ac_cv_prog_STRIP"
4355 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4358 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4359 if test -z "$MKDIR_P"; then
4360 if ${ac_cv_path_mkdir+:} false
; then :
4361 $as_echo_n "(cached) " >&6
4363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4364 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4367 test -z "$as_dir" && as_dir
=.
4368 for ac_prog
in mkdir gmkdir
; do
4369 for ac_exec_ext
in '' $ac_executable_extensions; do
4370 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4371 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4372 'mkdir (GNU coreutils) '* | \
4373 'mkdir (coreutils) '* | \
4374 'mkdir (fileutils) '4.1*)
4375 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4385 test -d .
/--version && rmdir .
/--version
4386 if test "${ac_cv_path_mkdir+set}" = set; then
4387 MKDIR_P
="$ac_cv_path_mkdir -p"
4389 # As a last resort, use the slow shell script. Don't cache a
4390 # value for MKDIR_P within a source directory, because that will
4391 # break other packages using the cache if that directory is
4392 # removed, or if the value is a relative name.
4393 MKDIR_P
="$ac_install_sh -d"
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4397 $as_echo "$MKDIR_P" >&6; }
4399 for ac_prog
in gawk mawk nawk
awk
4401 # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy
$ac_prog; ac_word
=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if ${ac_cv_prog_AWK+:} false
; then :
4406 $as_echo_n "(cached) " >&6
4408 if test -n "$AWK"; then
4409 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir
=.
4416 for ac_exec_ext
in '' $ac_executable_extensions; do
4417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4418 ac_cv_prog_AWK
="$ac_prog"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4429 if test -n "$AWK"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4431 $as_echo "$AWK" >&6; }
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4438 test -n "$AWK" && break
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4442 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4444 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4445 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4446 $as_echo_n "(cached) " >&6
4448 cat >conftest.
make <<\_ACEOF
4451 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4453 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4454 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4456 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4458 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4462 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4464 $as_echo "yes" >&6; }
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 $as_echo "no" >&6; }
4469 SET_MAKE
="MAKE=${MAKE-make}"
4472 rm -rf .tst
2>/dev
/null
4473 mkdir .tst
2>/dev
/null
4474 if test -d .tst
; then
4479 rmdir .tst
2>/dev
/null
4481 DEPDIR
="${am__leading_dot}deps"
4483 ac_config_commands
="$ac_config_commands depfiles"
4486 am_make
=${MAKE-make}
4487 cat > confinc
<< 'END'
4489 @
echo this is the am__doit target
4492 # If we don't find an include directive, just comment out the code.
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4494 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4498 # First try GNU make style include.
4499 echo "include confinc" > confmf
4500 # Ignore all kinds of additional output from 'make'.
4501 case `$am_make -s -f confmf 2> /dev/null` in #(
4502 *the\ am__doit\ target
*)
4508 # Now try BSD make style include.
4509 if test "$am__include" = "#"; then
4510 echo '.include "confinc"' > confmf
4511 case `$am_make -s -f confmf 2> /dev/null` in #(
4512 *the\ am__doit\ target
*)
4513 am__include
=.include
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4522 $as_echo "$_am_result" >&6; }
4523 rm -f confinc confmf
4525 # Check whether --enable-dependency-tracking was given.
4526 if test "${enable_dependency_tracking+set}" = set; then :
4527 enableval
=$enable_dependency_tracking;
4530 if test "x$enable_dependency_tracking" != xno
; then
4531 am_depcomp
="$ac_aux_dir/depcomp"
4535 if test "x$enable_dependency_tracking" != xno; then
4544 # Check whether --enable-silent-rules was given.
4545 if test "${enable_silent_rules+set}" = set; then :
4546 enableval
=$enable_silent_rules;
4549 case $enable_silent_rules in # (((
4550 yes) AM_DEFAULT_VERBOSITY
=0;;
4551 no
) AM_DEFAULT_VERBOSITY
=1;;
4552 *) AM_DEFAULT_VERBOSITY
=1;;
4554 am_make
=${MAKE-make}
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4556 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4557 if ${am_cv_make_support_nested_variables+:} false
; then :
4558 $as_echo_n "(cached) " >&6
4560 if $as_echo 'TRUE=$(BAR$(V))
4566 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4567 am_cv_make_support_nested_variables
=yes
4569 am_cv_make_support_nested_variables
=no
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4573 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4574 if test $am_cv_make_support_nested_variables = yes; then
4576 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4578 AM_V
=$AM_DEFAULT_VERBOSITY
4579 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4583 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4584 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4585 # is not polluted with repeated "-I."
4586 am__isrc
=' -I$(srcdir)'
4587 # test to see if srcdir already configured
4588 if test -f $srcdir/config.status
; then
4589 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4593 # test whether we have cygpath
4594 if test -z "$CYGPATH_W"; then
4595 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4596 CYGPATH_W
='cygpath -w'
4603 # Define the identity of the package.
4608 cat >>confdefs.h
<<_ACEOF
4609 #define PACKAGE "$PACKAGE"
4613 cat >>confdefs.h
<<_ACEOF
4614 #define VERSION "$VERSION"
4617 # Some tools Automake needs.
4619 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4622 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4625 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4628 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4631 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4633 # For better backward compatibility. To be removed once Automake 1.9.x
4634 # dies out for good. For more background, see:
4635 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4636 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4637 mkdir_p
='$(MKDIR_P)'
4639 # We need awk for the "check" target (and possibly the TAP driver). The
4640 # system "awk" is bad on some platforms.
4641 # Always define AMTAR for backward compatibility. Yes, it's still used
4642 # in the wild :-( We should find a proper way to deprecate it ...
4646 # We'll loop over all known methods to create a tar archive until one works.
4647 _am_tools
='gnutar pax cpio none'
4649 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4655 depcc
="$CC" am_compiler_list
=
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4658 $as_echo_n "checking dependency style of $depcc... " >&6; }
4659 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4660 $as_echo_n "(cached) " >&6
4662 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4663 # We make a subdir and do the tests there. Otherwise we can end up
4664 # making bogus files that we don't know about and never remove. For
4665 # instance it was reported that on HP-UX the gcc test will end up
4666 # making a dummy file named 'D' -- because '-MD' means "put the output
4670 # Copy depcomp to subdir because otherwise we won't find it if we're
4671 # using a relative directory.
4672 cp "$am_depcomp" conftest.dir
4674 # We will build objects and dependencies in a subdirectory because
4675 # it helps to detect inapplicable dependency modes. For instance
4676 # both Tru64's cc and ICC support -MD to output dependencies as a
4677 # side effect of compilation, but ICC will put the dependencies in
4678 # the current directory while Tru64 will put them in the object
4682 am_cv_CC_dependencies_compiler_type
=none
4683 if test "$am_compiler_list" = ""; then
4684 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4687 case " $depcc " in #(
4688 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4691 for depmode
in $am_compiler_list; do
4692 # Setup a source with many dependencies, because some compilers
4693 # like to wrap large dependency lists on column 80 (with \), and
4694 # we should not choose a depcomp mode which is confused by this.
4696 # We need to recreate these files for each test, as the compiler may
4697 # overwrite some of them when testing with obscure command lines.
4698 # This happens at least with the AIX C compiler.
4700 for i
in 1 2 3 4 5 6; do
4701 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4702 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4703 # Solaris 10 /bin/sh.
4704 echo '/* dummy */' > sub
/conftst
$i.h
4706 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4708 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4709 # mode. It turns out that the SunPro C++ compiler does not properly
4710 # handle '-M -o', and we need to detect this. Also, some Intel
4711 # versions had trouble with output in subdirs.
4712 am__obj
=sub
/conftest.
${OBJEXT-o}
4713 am__minus_obj
="-o $am__obj"
4716 # This depmode causes a compiler race in universal mode.
4717 test "$am__universal" = false ||
continue
4720 # After this tag, mechanisms are not by side-effect, so they'll
4721 # only be used when explicitly requested.
4722 if test "x$enable_dependency_tracking" = xyes
; then
4728 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4729 # This compiler won't grok '-c -o', but also, the minuso test has
4730 # not run yet. These depmodes are late enough in the game, and
4731 # so weak that their functioning should not be impacted.
4732 am__obj
=conftest.
${OBJEXT-o}
4737 if depmode
=$depmode \
4738 source=sub
/conftest.c object
=$am__obj \
4739 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4740 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4741 >/dev
/null
2>conftest.err
&&
4742 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4743 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4744 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4745 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4746 # icc doesn't choke on unknown options, it will just issue warnings
4747 # or remarks (even with -Werror). So we grep stderr for any message
4748 # that says an option was ignored or not supported.
4749 # When given -MP, icc 7.0 and 7.1 complain thusly:
4750 # icc: Command line warning: ignoring option '-M'; no argument required
4751 # The diagnosis changed in icc 8.0:
4752 # icc: Command line remark: option '-MP' not supported
4753 if (grep 'ignoring option' conftest.err ||
4754 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4755 am_cv_CC_dependencies_compiler_type
=$depmode
4764 am_cv_CC_dependencies_compiler_type
=none
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4769 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4770 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4773 test "x$enable_dependency_tracking" != xno \
4774 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4776 am__fastdepCC_FALSE
='#'
4778 am__fastdepCC_TRUE
='#'
4779 am__fastdepCC_FALSE
=
4784 # POSIX will say in a future version that running "rm -f" with no argument
4785 # is OK; and we want to be able to make that assumption in our Makefile
4786 # recipes. So use an aggressive probe to check that the usage we want is
4787 # actually supported "in the wild" to an acceptable degree.
4788 # See automake bug#10828.
4789 # To make any issue more visible, cause the running configure to be aborted
4790 # by default if the 'rm' program in use doesn't match our expectations; the
4791 # user can still override this though.
4792 if rm -f && rm -fr && rm -rf; then : OK
; else
4796 Your 'rm' program seems unable to run without file operands specified
4797 on the command line, even when the '-f' option is present. This is contrary
4798 to the behaviour of most rm programs out there, and not conforming with
4799 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4801 Please tell bug-automake@gnu.org about your system, including the value
4802 of your $PATH and any error possibly output before this message. This
4803 can help us improve future automake versions.
4806 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4807 echo 'Configuration will proceed anyway, since you have set the' >&2
4808 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4812 Aborting the configuration process, to ensure you take notice of the issue.
4814 You can download and install GNU coreutils to get an 'rm' implementation
4815 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4817 If you want to complete the configuration process using your problematic
4818 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4819 to "yes", and re-run configure.
4822 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4827 # If a cpu ever has more than one simulator to choose from, use
4828 # --enable-sim=... to choose.
4829 # Check whether --enable-sim was given.
4830 if test "${enable_sim+set}" = set; then :
4831 enableval
=$enable_sim; case "${enableval}" in
4833 *) as_fn_error $?
"bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
4838 # Check whether --enable-example-sims was given.
4839 if test "${enable_example_sims+set}" = set; then :
4840 enableval
=$enable_example_sims;
4844 # Check whether --enable-targets was given.
4845 if test "${enable_targets+set}" = set; then :
4846 enableval
=$enable_targets; case "${enableval}" in
4847 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
4849 no
) enable_targets
= ;;
4850 *) enable_targets
=$enableval ;;
4860 if test "${enable_sim}" != no
; then
4862 for targ
in `echo $target $enable_targets | sed 's/,/ /g'`
4867 if test "${targ}" = "${target}"; then
4868 SIM_PRIMARY_TARGET
=aarch64
4872 subdirs
="$subdirs aarch64"
4881 if test "${targ}" = "${target}"; then
4882 SIM_PRIMARY_TARGET
=arm
4884 subdirs
="$subdirs arm"
4893 if test "${targ}" = "${target}"; then
4894 SIM_PRIMARY_TARGET
=avr
4896 subdirs
="$subdirs avr"
4905 if test "${targ}" = "${target}"; then
4906 SIM_PRIMARY_TARGET
=bfin
4908 subdirs
="$subdirs bfin"
4917 if test "${targ}" = "${target}"; then
4918 SIM_PRIMARY_TARGET
=bpf
4920 subdirs
="$subdirs bpf"
4929 if test "${targ}" = "${target}"; then
4930 SIM_PRIMARY_TARGET
=cr16
4932 subdirs
="$subdirs cr16"
4940 all|cris-
*-* | crisv32-
*-*)
4941 if test "${targ}" = "${target}"; then
4942 SIM_PRIMARY_TARGET
=cris
4944 subdirs
="$subdirs cris"
4953 if test "${targ}" = "${target}"; then
4954 SIM_PRIMARY_TARGET
=d10v
4956 subdirs
="$subdirs d10v"
4965 if test "${targ}" = "${target}"; then
4966 SIM_PRIMARY_TARGET
=frv
4968 subdirs
="$subdirs frv"
4977 if test "${targ}" = "${target}"; then
4978 SIM_PRIMARY_TARGET
=h8300
4980 subdirs
="$subdirs h8300"
4989 if test "${targ}" = "${target}"; then
4990 SIM_PRIMARY_TARGET
=iq2000
4992 subdirs
="$subdirs iq2000"
5001 if test "${targ}" = "${target}"; then
5002 SIM_PRIMARY_TARGET
=lm32
5004 subdirs
="$subdirs lm32"
5013 if test "${targ}" = "${target}"; then
5014 SIM_PRIMARY_TARGET
=m32c
5016 subdirs
="$subdirs m32c"
5025 if test "${targ}" = "${target}"; then
5026 SIM_PRIMARY_TARGET
=m32r
5028 subdirs
="$subdirs m32r"
5036 all|m68hc11-
*-*|m6811-
*-*)
5037 if test "${targ}" = "${target}"; then
5038 SIM_PRIMARY_TARGET
=m68hc11
5040 subdirs
="$subdirs m68hc11"
5049 if test "${targ}" = "${target}"; then
5050 SIM_PRIMARY_TARGET
=mcore
5052 subdirs
="$subdirs mcore"
5061 if test "${targ}" = "${target}"; then
5062 SIM_PRIMARY_TARGET
=microblaze
5064 subdirs
="$subdirs microblaze"
5073 if test "${targ}" = "${target}"; then
5074 SIM_PRIMARY_TARGET
=mips
5076 subdirs
="$subdirs mips"
5085 if test "${targ}" = "${target}"; then
5086 SIM_PRIMARY_TARGET
=mn10300
5088 subdirs
="$subdirs mn10300"
5097 if test "${targ}" = "${target}"; then
5098 SIM_PRIMARY_TARGET
=moxie
5100 subdirs
="$subdirs moxie"
5109 if test "${targ}" = "${target}"; then
5110 SIM_PRIMARY_TARGET
=msp430
5112 subdirs
="$subdirs msp430"
5120 all|or1k-
*-* | or1knd-
*-*)
5121 if test "${targ}" = "${target}"; then
5122 SIM_PRIMARY_TARGET
=or1k
5124 subdirs
="$subdirs or1k"
5133 if test "${targ}" = "${target}"; then
5134 SIM_PRIMARY_TARGET
=pru
5136 subdirs
="$subdirs pru"
5145 if test "${targ}" = "${target}"; then
5146 SIM_PRIMARY_TARGET
=riscv
5148 subdirs
="$subdirs riscv"
5157 if test "${targ}" = "${target}"; then
5158 SIM_PRIMARY_TARGET
=rl78
5160 subdirs
="$subdirs rl78"
5169 if test "${targ}" = "${target}"; then
5170 SIM_PRIMARY_TARGET
=rx
5172 subdirs
="$subdirs rx"
5181 if test "${targ}" = "${target}"; then
5182 SIM_PRIMARY_TARGET
=sh
5184 subdirs
="$subdirs sh"
5192 all|sparc-
*-rtems*|sparc-
*-elf*)
5193 if test "${targ}" = "${target}"; then
5194 SIM_PRIMARY_TARGET
=erc32
5196 subdirs
="$subdirs erc32"
5205 if test "${targ}" = "${target}"; then
5206 SIM_PRIMARY_TARGET
=ppc
5208 subdirs
="$subdirs ppc"
5217 if test "${targ}" = "${target}"; then
5218 SIM_PRIMARY_TARGET
=ft32
5220 subdirs
="$subdirs ft32"
5229 if test "${targ}" = "${target}"; then
5230 SIM_PRIMARY_TARGET
=v850
5232 subdirs
="$subdirs v850"
5240 if test "x${enable_example_sims}" = xyes
; then
5241 subdirs
="$subdirs example-synacor"
5245 if test "$sim_igen" = "yes"; then
5246 SIM_ENABLE_IGEN_TRUE
=
5247 SIM_ENABLE_IGEN_FALSE
='#'
5249 SIM_ENABLE_IGEN_TRUE
='#'
5250 SIM_ENABLE_IGEN_FALSE
=
5254 ac_config_files
="$ac_config_files Makefile"
5256 cat >confcache
<<\_ACEOF
5257 # This file is a shell script that caches the results of configure
5258 # tests run on this system so they can be shared between configure
5259 # scripts and configure runs, see configure's option --config-cache.
5260 # It is not useful on other systems. If it contains results you don't
5261 # want to keep, you may remove or edit it.
5263 # config.status only pays attention to the cache file if you give it
5264 # the --recheck option to rerun configure.
5266 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5267 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5272 # The following way of writing the cache mishandles newlines in values,
5273 # but we know of no workaround that is simple, portable, and efficient.
5274 # So, we kill variables containing newlines.
5275 # Ultrix sh set writes to stderr and can't be redirected directly,
5276 # and sets the high bit in the cache file unless we assign to the vars.
5278 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5279 eval ac_val
=\$
$ac_var
5283 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5284 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5287 _ | IFS | as_nl
) ;; #(
5288 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5289 *) { eval $ac_var=; unset $ac_var;} ;;
5295 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5296 *${as_nl}ac_space
=\
*)
5297 # `set' does not quote correctly, so add quotes: double-quote
5298 # substitution turns \\\\ into \\, and sed turns \\ into \.
5301 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5304 # `set' quotes correctly as required by POSIX, so do not add quotes.
5305 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5314 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5316 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5318 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5319 if test -w "$cache_file"; then
5320 if test "x$cache_file" != "x/dev/null"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5322 $as_echo "$as_me: updating cache $cache_file" >&6;}
5323 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5324 cat confcache
>"$cache_file"
5326 case $cache_file in #(
5328 mv -f confcache
"$cache_file"$$
&&
5329 mv -f "$cache_file"$$
"$cache_file" ;; #(
5331 mv -f confcache
"$cache_file" ;;
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5337 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5342 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5343 # Let make expand exec_prefix.
5344 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5346 # Transform confdefs.h into DEFS.
5347 # Protect against shell expansion while executing Makefile rules.
5348 # Protect against Makefile macro expansion.
5350 # If the first sed substitution is executed (which looks for macros that
5351 # take arguments), then branch to the quote section. Otherwise,
5352 # look for a macro that doesn't take arguments.
5362 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5364 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5368 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5381 DEFS
=`sed -n "$ac_script" confdefs.h`
5387 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5388 # 1. Remove the extension, and $U if already installed.
5389 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5390 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5391 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5392 # will be set to the directory where LIBOBJS objects are built.
5393 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5394 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5398 LTLIBOBJS
=$ac_ltlibobjs
5402 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5403 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
5404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5407 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5408 if test -n "$am_sleep_pid"; then
5409 # Hide warnings about reused PIDs.
5410 wait $am_sleep_pid 2>/dev
/null
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5413 $as_echo "done" >&6; }
5414 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5415 as_fn_error $?
"conditional \"AMDEP\" was never defined.
5416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5418 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5419 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5422 if test -n "$EXEEXT"; then
5424 am__EXEEXT_FALSE
='#'
5430 if test -z "${SIM_ENABLE_IGEN_TRUE}" && test -z "${SIM_ENABLE_IGEN_FALSE}"; then
5431 as_fn_error $?
"conditional \"SIM_ENABLE_IGEN\" was never defined.
5432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5435 : "${CONFIG_STATUS=./config.status}"
5437 ac_clean_files_save
=$ac_clean_files
5438 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5440 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5442 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5444 # Generated by $as_me.
5445 # Run this file to recreate the current configuration.
5446 # Compiler output produced by configure, useful for debugging
5447 # configure, is in config.log if it exists.
5453 SHELL=\${CONFIG_SHELL-$SHELL}
5456 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5457 ## -------------------- ##
5458 ## M4sh Initialization. ##
5459 ## -------------------- ##
5461 # Be more Bourne compatible
5462 DUALCASE
=1; export DUALCASE
# for MKS sh
5463 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5466 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5467 # is contrary to our usage. Disable this feature.
5468 alias -g '${1+"$@"}'='"$@"'
5469 setopt NO_GLOB_SUBST
5471 case `(set -o) 2>/dev/null` in #(
5483 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5484 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5485 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5486 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5487 # Prefer a ksh shell builtin over an external printf program on Solaris,
5488 # but without wasting forks for bash or zsh.
5489 if test -z "$BASH_VERSION$ZSH_VERSION" \
5490 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5491 as_echo='print
-r --'
5492 as_echo_n='print
-rn --'
5493 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5494 as_echo='printf %s
\n'
5495 as_echo_n='printf %s
'
5497 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5498 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5499 as_echo_n='/usr
/ucb
/echo -n'
5501 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5502 as_echo_n_body='eval
5506 expr "X$arg" : "X\\(.*\\)$as_nl";
5507 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5509 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5511 export as_echo_n_body
5512 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5515 as_echo='sh
-c $as_echo_body as_echo
'
5518 # The user is always right.
5519 if test "${PATH_SEPARATOR+set}" != set; then
5521 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5522 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5529 # We need space, tab and new line, in precisely that order. Quoting is
5530 # there to prevent editors from complaining about space-tab.
5531 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5532 # splitting by setting IFS to empty value.)
5535 # Find who we are. Look in the path if we contain no directory separator.
5538 *[\\/]* ) as_myself=$0 ;;
5539 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5543 test -z "$as_dir" && as_dir=.
5544 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5550 # We did not find ourselves, most probably we were run as `sh COMMAND'
5551 # in which case we are not to be found in the path.
5552 if test "x$as_myself" = x
; then
5555 if test ! -f "$as_myself"; then
5556 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5560 # Unset variables that we do not need and which cause bugs (e.g. in
5561 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5562 # suppresses any "Segmentation fault" message there. '((' could
5563 # trigger a bug in pdksh 5.2.14.
5564 for as_var
in BASH_ENV ENV MAIL MAILPATH
5565 do eval test x\
${$as_var+set} = xset \
5566 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5579 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5582 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5583 # ----------------------------------------
5584 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5585 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5586 # script with STATUS, using 1 if that was 0.
5589 as_status
=$1; test $as_status -eq 0 && as_status
=1
5591 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5592 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5594 $as_echo "$as_me: error: $2" >&2
5595 as_fn_exit
$as_status
5599 # as_fn_set_status STATUS
5600 # -----------------------
5601 # Set $? to STATUS, without forking.
5605 } # as_fn_set_status
5609 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5619 # Portably unset VAR.
5622 { eval $1=; unset $1;}
5624 as_unset
=as_fn_unset
5625 # as_fn_append VAR VALUE
5626 # ----------------------
5627 # Append the text in VALUE to the end of the definition contained in VAR. Take
5628 # advantage of any shell optimizations that allow amortized linear growth over
5629 # repeated appends, instead of the typical quadratic growth present in naive
5631 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5632 eval 'as_fn_append ()
5643 # as_fn_arith ARG...
5644 # ------------------
5645 # Perform arithmetic evaluation on the ARGs, and store the result in the
5646 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5647 # must be portable across $(()) and expr.
5648 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5649 eval 'as_fn_arith ()
5656 as_val
=`expr "$@" || test $? -eq 1`
5661 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5662 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5668 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5669 as_basename
=basename
5674 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5680 as_me
=`$as_basename -- "$0" ||
5681 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5682 X"$0" : 'X\(//\)$' \| \
5683 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5685 sed '/^.*\/\([^/][^/]*\)\/*$/{
5699 # Avoid depending upon Character Ranges.
5700 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5701 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5702 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5703 as_cr_digits
='0123456789'
5704 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5706 ECHO_C
= ECHO_N
= ECHO_T
=
5707 case `echo -n x` in #(((((
5709 case `echo 'xy\c'` in
5710 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5712 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5719 rm -f conf$$ conf$$.exe conf$$.
file
5720 if test -d conf$$.dir
; then
5721 rm -f conf$$.dir
/conf$$.
file
5724 mkdir conf$$.dir
2>/dev
/null
5726 if (echo >conf$$.
file) 2>/dev
/null
; then
5727 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5729 # ... but there are two gotchas:
5730 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5731 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5732 # In both cases, we have to default to `cp -pR'.
5733 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5735 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5743 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5744 rmdir conf$$.dir
2>/dev
/null
5749 # Create "$as_dir" as a directory, including parents if necessary.
5754 -*) as_dir
=.
/$as_dir;;
5756 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5760 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5761 *) as_qdir
=$as_dir;;
5763 as_dirs
="'$as_qdir' $as_dirs"
5764 as_dir
=`$as_dirname -- "$as_dir" ||
5765 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5766 X"$as_dir" : 'X\(//\)[^/]' \| \
5767 X"$as_dir" : 'X\(//\)$' \| \
5768 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5769 $as_echo X"$as_dir" |
5770 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5787 test -d "$as_dir" && break
5789 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5790 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5794 if mkdir
-p .
2>/dev
/null
; then
5795 as_mkdir_p
='mkdir -p "$as_dir"'
5797 test -d .
/-p && rmdir .
/-p
5802 # as_fn_executable_p FILE
5803 # -----------------------
5804 # Test if FILE is an executable regular file.
5805 as_fn_executable_p
()
5807 test -f "$1" && test -x "$1"
5808 } # as_fn_executable_p
5810 as_executable_p
=as_fn_executable_p
5812 # Sed expression to map a string onto a valid CPP name.
5813 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5815 # Sed expression to map a string onto a valid variable name.
5816 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5820 ## ----------------------------------- ##
5821 ## Main body of $CONFIG_STATUS script. ##
5822 ## ----------------------------------- ##
5824 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5827 # Save the log message, to keep $0 and so on meaningful, and to
5828 # report actual input values of CONFIG_FILES etc. instead of their
5829 # values after options handling.
5831 This file was extended by sim $as_me 0, which was
5832 generated by GNU Autoconf 2.69. Invocation command line was
5834 CONFIG_FILES = $CONFIG_FILES
5835 CONFIG_HEADERS = $CONFIG_HEADERS
5836 CONFIG_LINKS = $CONFIG_LINKS
5837 CONFIG_COMMANDS = $CONFIG_COMMANDS
5840 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5845 case $ac_config_files in *"
5846 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5852 # Files that config.status was made for.
5853 config_files="$ac_config_files"
5854 config_commands="$ac_config_commands"
5858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5860 \`$as_me' instantiates files and other configuration actions
5861 from templates according to the current configuration. Unless the files
5862 and actions are specified as TAGs, all are instantiated by default.
5864 Usage: $0 [OPTION]... [TAG]...
5866 -h, --help print this help, then exit
5867 -V, --version print version number and configuration settings, then exit
5868 --config print configuration, then exit
5869 -q, --quiet, --silent
5870 do not print progress messages
5871 -d, --debug don't remove temporary files
5872 --recheck update $as_me by reconfiguring in the same conditions
5873 --file=FILE[:TEMPLATE]
5874 instantiate the configuration file FILE
5876 Configuration files:
5879 Configuration commands:
5882 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
5883 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
5886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5887 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5890 configured by $0, generated by GNU Autoconf 2.69,
5891 with options \\"\$ac_cs_config\\"
5893 Copyright (C) 2012 Free Software Foundation, Inc.
5894 This config.status script is free software; the Free Software Foundation
5895 gives unlimited permission to copy, distribute and modify it."
5902 test -n "\$AWK" || AWK=awk
5905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5906 # The default lists apply if the user does not specify any file.
5912 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5913 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5917 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5929 # Handling of the options.
5930 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5932 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5933 $as_echo "$ac_cs_version"; exit ;;
5934 --config |
--confi |
--conf |
--con |
--co |
--c )
5935 $as_echo "$ac_cs_config"; exit ;;
5936 --debug |
--debu |
--deb |
--de |
--d |
-d )
5938 --file |
--fil |
--fi |
--f )
5941 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5942 '') as_fn_error $?
"missing file argument" ;;
5944 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5945 ac_need_defaults
=false
;;
5946 --he |
--h |
--help |
--hel |
-h )
5947 $as_echo "$ac_cs_usage"; exit ;;
5948 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5949 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5953 -*) as_fn_error $?
"unrecognized option: \`$1'
5954 Try \`$0 --help' for more information." ;;
5956 *) as_fn_append ac_config_targets
" $1"
5957 ac_need_defaults
=false
;;
5963 ac_configure_extra_args
=
5965 if $ac_cs_silent; then
5967 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5972 if \$ac_cs_recheck; then
5973 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5975 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5976 CONFIG_SHELL='$SHELL'
5982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5986 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5987 ## Running $as_me. ##
5993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5997 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6003 # Handling of arguments.
6004 for ac_config_target
in $ac_config_targets
6006 case $ac_config_target in
6007 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6008 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6010 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6015 # If the user did not use the arguments to specify the items to instantiate,
6016 # then the envvar interface is used. Set only those that are not.
6017 # We use the long form for the default assignment because of an extremely
6018 # bizarre bug on SunOS 4.1.3.
6019 if $ac_need_defaults; then
6020 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6021 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6024 # Have a temporary directory for convenience. Make it in the build tree
6025 # simply because there is no reason against having it here, and in addition,
6026 # creating and moving files from /tmp can sometimes cause problems.
6027 # Hook for its removal unless debugging.
6028 # Note that there is a small window in which the directory will not be cleaned:
6029 # after its creation but before its name has been assigned to `$tmp'.
6033 trap 'exit_status=$?
6035 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6037 trap 'as_fn_exit 1' 1 2 13 15
6039 # Create a (secure) tmp directory for tmp files.
6042 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6046 tmp
=.
/conf$$
-$RANDOM
6047 (umask 077 && mkdir
"$tmp")
6048 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6051 # Set up the scripts for CONFIG_FILES section.
6052 # No need to generate them if there are no CONFIG_FILES.
6053 # This happens for instance with `./config.status config.h'.
6054 if test -n "$CONFIG_FILES"; then
6057 ac_cr
=`echo X | tr X '\015'`
6058 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6059 # But we know of no other shell where ac_cr would be empty at this
6060 # point, so we can use a bashism as a fallback.
6061 if test "x$ac_cr" = x
; then
6062 eval ac_cr
=\$
\'\\r
\'
6064 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6065 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6071 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6076 echo "cat >conf$$subs.awk <<_ACEOF" &&
6077 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6080 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6081 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6083 for ac_last_try in false false false false false :; do
6084 . ./conf$$subs.sh ||
6085 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6087 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6088 if test $ac_delim_n = $ac_delim_num; then
6090 elif $ac_last_try; then
6091 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6093 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6099 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6103 s/^/S["/; s
/!.
*/"]=/
6113 s/\(.\{148\}\)..*/\1/
6115 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6120 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6127 s/\(.\{148\}\)..*/\1/
6129 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6133 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6138 ' <conf$$subs.awk | sed '
6143 ' >>$CONFIG_STATUS || ac_write_fail=1
6144 rm -f conf$$subs.awk
6145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6147 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6148 for (key in S) S_is_set[key] = 1
6154 nfields = split(line, field, "@
")
6156 len = length(field[1])
6157 for (i = 2; i < nfields; i++) {
6159 keylen = length(key)
6160 if (S_is_set[key]) {
6162 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6163 len += length(value) + length(field[++i])
6174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6175 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6176 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6179 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6180 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6183 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6184 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6185 # trailing colons and then remove the whole line if VPATH becomes empty
6186 # (actually we leave an empty line to preserve line numbers).
6187 if test "x
$srcdir" = x.; then
6188 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6207 fi # test -n "$CONFIG_FILES"
6210 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
6215 :[FHLC]) ac_mode=$ac_tag; continue;;
6217 case $ac_mode$ac_tag in
6219 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
6220 :[FH]-) ac_tag=-:-;;
6221 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6238 -) ac_f="$ac_tmp/stdin";;
6239 *) # Look for the file first in the build tree, then in the source tree
6240 # (if the path is not absolute). The absolute path cannot be DOS-style,
6241 # because $ac_f cannot contain `:'.
6245 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6247 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6249 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
6250 as_fn_append ac_file_inputs " '$ac_f'"
6253 # Let's still pretend it is `configure' which instantiates (i.e., don't
6254 # use $as_me), people would be surprised to read:
6255 # /* config.h. Generated by config.status. */
6256 configure_input='Generated from '`
6257 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6259 if test x"$ac_file" != x-; then
6260 configure_input="$ac_file.
$configure_input"
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
6262 $as_echo "$as_me: creating
$ac_file" >&6;}
6264 # Neutralize special characters interpreted by sed in replacement strings.
6265 case $configure_input in #(
6266 *\&* | *\|* | *\\* )
6267 ac_sed_conf_input=`$as_echo "$configure_input" |
6268 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6269 *) ac_sed_conf_input=$configure_input;;
6273 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
6274 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
6279 ac_dir=`$as_dirname -- "$ac_file" ||
6280 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6281 X"$ac_file" : 'X\(//\)[^/]' \| \
6282 X"$ac_file" : 'X\(//\)$' \| \
6283 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6284 $as_echo X"$ac_file" |
6285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6302 as_dir="$ac_dir"; as_fn_mkdir_p
6306 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6308 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6309 # A "..
" for each directory in $ac_dir_suffix.
6310 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6311 case $ac_top_builddir_sub in
6312 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6313 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6316 ac_abs_top_builddir=$ac_pwd
6317 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6318 # for backward compatibility:
6319 ac_top_builddir=$ac_top_build_prefix
6322 .) # We are building in place.
6324 ac_top_srcdir=$ac_top_builddir_sub
6325 ac_abs_top_srcdir=$ac_pwd ;;
6326 [\\/]* | ?:[\\/]* ) # Absolute name.
6327 ac_srcdir=$srcdir$ac_dir_suffix;
6328 ac_top_srcdir=$srcdir
6329 ac_abs_top_srcdir=$srcdir ;;
6331 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6332 ac_top_srcdir=$ac_top_build_prefix$srcdir
6333 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6335 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6345 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6346 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6350 [\\/$]* | ?:[\\/]* ) ;;
6351 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6356 # If the template does not know about datarootdir, expand it.
6357 # FIXME: This hack should be removed a few years after 2.60.
6358 ac_datarootdir_hack=; ac_datarootdir_seen=
6369 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
6370 *datarootdir*) ac_datarootdir_seen=yes;;
6371 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
6373 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
6375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6376 ac_datarootdir_hack='
6377 s&@datadir@&$datadir&g
6378 s&@docdir@&$docdir&g
6379 s&@infodir@&$infodir&g
6380 s&@localedir@&$localedir&g
6381 s&@mandir@&$mandir&g
6382 s&\\\${datarootdir}&$datarootdir&g' ;;
6386 # Neutralize VPATH when `$srcdir' = `.'.
6387 # Shell code in configure.ac might set extrasub.
6388 # FIXME: do we really want to maintain this feature?
6389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6390 ac_sed_extra="$ac_vpsub
6393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6395 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6396 s|@configure_input@|
$ac_sed_conf_input|
;t t
6397 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6398 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6399 s
&@srcdir@
&$ac_srcdir&;t t
6400 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6401 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6402 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6403 s
&@builddir@
&$ac_builddir&;t t
6404 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6405 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6406 s
&@INSTALL@
&$ac_INSTALL&;t t
6407 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
6408 $ac_datarootdir_hack
6410 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6411 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6413 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6414 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6415 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6416 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6418 which seems to be undefined. Please make sure it is defined" >&5
6419 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6420 which seems to be undefined. Please make sure it is defined" >&2;}
6422 rm -f "$ac_tmp/stdin"
6424 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6425 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6427 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6431 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6432 $as_echo "$as_me: executing $ac_file commands" >&6;}
6437 case $ac_file$ac_mode in
6438 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6439 # Older Autoconf quotes --file arguments for eval, but not when files
6440 # are listed without --file. Let's play safe and only
enable the
eval
6441 # if we detect the quoting.
6442 case $CONFIG_FILES in
6443 *\'*) eval set x
"$CONFIG_FILES" ;;
6444 *) set x
$CONFIG_FILES ;;
6449 # Strip MF so we end up with the name of the file.
6450 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6451 # Check whether this is an Automake generated Makefile or not.
6452 # We used to match only the files named 'Makefile.in', but
6453 # some people rename them; so instead we look at the file content.
6454 # Grep'ing the first line is not enough: some people post-process
6455 # each Makefile.in and add a new line on top of each file to say so.
6456 # Grep'ing the whole file is not good either: AIX grep has a line
6457 # limit of 2048, but all sed's we know have understand at least 4000.
6458 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
6459 dirpart
=`$as_dirname -- "$mf" ||
6460 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6461 X"$mf" : 'X\(//\)[^/]' \| \
6462 X"$mf" : 'X\(//\)$' \| \
6463 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6485 # Extract the definition of DEPDIR, am__include, and am__quote
6486 # from the Makefile without running 'make'.
6487 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6488 test -z "$DEPDIR" && continue
6489 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6490 test -z "$am__include" && continue
6491 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6492 # Find all dependency output files, they are included files with
6493 # $(DEPDIR) in their names. We invoke sed twice because it is the
6494 # simplest approach to changing $(DEPDIR) to its actual value in the
6496 for file in `sed -n "
6497 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6498 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6499 # Make sure the directory exists.
6500 test -f "$dirpart/$file" && continue
6501 fdir
=`$as_dirname -- "$file" ||
6502 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6503 X"$file" : 'X\(//\)[^/]' \| \
6504 X"$file" : 'X\(//\)$' \| \
6505 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6524 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
6525 # echo "creating $dirpart/$file"
6526 echo '# dummy' > "$dirpart/$file"
6538 ac_clean_files
=$ac_clean_files_save
6540 test $ac_write_fail = 0 ||
6541 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6544 # configure is writing to config.log, and then calls config.status.
6545 # config.status does its own redirection, appending to config.log.
6546 # Unfortunately, on DOS this fails, as config.log is still kept open
6547 # by configure, so config.status won't be able to write to it; its
6548 # output is simply discarded. So we exec the FD to /dev/null,
6549 # effectively closing config.log, so it can be properly (re)opened and
6550 # appended to by config.status. When coming back to configure, we
6551 # need to make the FD available again.
6552 if test "$no_create" != yes; then
6554 ac_config_status_args
=
6555 test "$silent" = yes &&
6556 ac_config_status_args
="$ac_config_status_args --quiet"
6558 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6560 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6561 # would make configure fail if this is the last instruction.
6562 $ac_cs_success || as_fn_exit
1
6566 # CONFIG_SUBDIRS section.
6568 if test "$no_recursion" != yes; then
6570 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
6571 # so they do not pile up.
6572 ac_sub_configure_args
=
6574 eval "set x $ac_configure_args"
6578 if test -n "$ac_prev"; then
6583 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
6584 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
6585 ac_prev
=cache_file
;;
6586 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
6587 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
6590 --config-cache |
-C)
6592 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
6594 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
6596 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
6598 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
6600 --disable-option-checking)
6604 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6606 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
6610 # Always prepend --prefix to ensure using the same prefix
6611 # in subdir configurations.
6612 ac_arg
="--prefix=$prefix"
6614 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6616 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
6619 if test "$silent" = yes; then
6620 ac_sub_configure_args
="--silent $ac_sub_configure_args"
6623 # Always prepend --disable-option-checking to silence warnings, since
6624 # different subdirs can have different --enable and --with options.
6625 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
6628 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
6630 # Do not complain, so a configure script can configure whichever
6631 # parts of a large source tree are present.
6632 test -d "$srcdir/$ac_dir" ||
continue
6634 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
6635 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
6636 $as_echo "$ac_msg" >&6
6637 as_dir
="$ac_dir"; as_fn_mkdir_p
6641 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6643 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6644 # A ".." for each directory in $ac_dir_suffix.
6645 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6646 case $ac_top_builddir_sub in
6647 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6648 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6651 ac_abs_top_builddir
=$ac_pwd
6652 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6653 # for backward compatibility:
6654 ac_top_builddir
=$ac_top_build_prefix
6657 .
) # We are building in place.
6659 ac_top_srcdir
=$ac_top_builddir_sub
6660 ac_abs_top_srcdir
=$ac_pwd ;;
6661 [\\/]* | ?
:[\\/]* ) # Absolute name.
6662 ac_srcdir
=$srcdir$ac_dir_suffix;
6663 ac_top_srcdir
=$srcdir
6664 ac_abs_top_srcdir
=$srcdir ;;
6666 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6667 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6668 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6670 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6675 # Check for guested configure; otherwise get Cygnus style configure.
6676 if test -f "$ac_srcdir/configure.gnu"; then
6677 ac_sub_configure
=$ac_srcdir/configure.gnu
6678 elif test -f "$ac_srcdir/configure"; then
6679 ac_sub_configure
=$ac_srcdir/configure
6680 elif test -f "$ac_srcdir/configure.in"; then
6681 # This should be Cygnus configure.
6682 ac_sub_configure
=$ac_aux_dir/configure
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
6685 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6689 # The recursion is here.
6690 if test -n "$ac_sub_configure"; then
6691 # Make the cache file name correct relative to the subdirectory.
6693 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
6695 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
6698 { $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
6699 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6700 # The eval makes quoting arguments work.
6701 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
6702 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
6703 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
6709 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6711 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}