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
731 program_transform_name
744 enable_option_checking
745 enable_maintainer_mode
746 enable_dependency_tracking
752 ac_precious_vars
='build_alias
761 ac_subdirs_all
='aarch64
794 # Initialize some variables set by options.
796 ac_init_version
=false
797 ac_unrecognized_opts
=
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
808 program_transform_name
=s
,x
,x
,
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir
='${exec_prefix}/bin'
823 sbindir
='${exec_prefix}/sbin'
824 libexecdir
='${exec_prefix}/libexec'
825 datarootdir
='${prefix}/share'
826 datadir
='${datarootdir}'
827 sysconfdir
='${prefix}/etc'
828 sharedstatedir
='${prefix}/com'
829 localstatedir
='${prefix}/var'
830 includedir
='${prefix}/include'
831 oldincludedir
='/usr/include'
832 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir
='${datarootdir}/info'
838 libdir
='${exec_prefix}/lib'
839 localedir
='${datarootdir}/locale'
840 mandir
='${datarootdir}/man'
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\
$ac_option
854 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
859 # Accept the important Cygnus configure options, so we can diagnose typos.
861 case $ac_dashdash$ac_option in
865 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
867 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
870 -build |
--build |
--buil |
--bui |
--bu)
871 ac_prev
=build_alias
;;
872 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
873 build_alias
=$ac_optarg ;;
875 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
876 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
877 ac_prev
=cache_file
;;
878 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
879 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
880 cache_file
=$ac_optarg ;;
883 cache_file
=config.cache
;;
885 -datadir |
--datadir |
--datadi |
--datad)
887 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
888 datadir
=$ac_optarg ;;
890 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
891 |
--dataroo |
--dataro |
--datar)
892 ac_prev
=datarootdir
;;
893 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
894 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
895 datarootdir
=$ac_optarg ;;
897 -disable-* |
--disable-*)
898 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
899 # Reject names that are not valid shell variable names.
900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
901 as_fn_error $?
"invalid feature name: $ac_useropt"
902 ac_useropt_orig
=$ac_useropt
903 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
904 case $ac_user_opts in
908 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
909 ac_unrecognized_sep
=', ';;
911 eval enable_
$ac_useropt=no
;;
913 -docdir |
--docdir |
--docdi |
--doc |
--do)
915 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
918 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
920 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
923 -enable-* |
--enable-*)
924 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
925 # Reject names that are not valid shell variable names.
926 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
927 as_fn_error $?
"invalid feature name: $ac_useropt"
928 ac_useropt_orig
=$ac_useropt
929 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
930 case $ac_user_opts in
934 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
935 ac_unrecognized_sep
=', ';;
937 eval enable_
$ac_useropt=\
$ac_optarg ;;
939 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
940 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
941 |
--exec |
--exe |
--ex)
942 ac_prev
=exec_prefix
;;
943 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
944 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
945 |
--exec=* |
--exe=* |
--ex=*)
946 exec_prefix
=$ac_optarg ;;
948 -gas |
--gas |
--ga |
--g)
949 # Obsolete; use --with-gas.
952 -help |
--help |
--hel |
--he |
-h)
954 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
955 ac_init_help
=recursive
;;
956 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
957 ac_init_help
=short
;;
959 -host |
--host |
--hos |
--ho)
960 ac_prev
=host_alias
;;
961 -host=* |
--host=* |
--hos=* |
--ho=*)
962 host_alias
=$ac_optarg ;;
964 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
966 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
968 htmldir
=$ac_optarg ;;
970 -includedir |
--includedir |
--includedi |
--included |
--include \
971 |
--includ |
--inclu |
--incl |
--inc)
972 ac_prev
=includedir
;;
973 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
974 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
975 includedir
=$ac_optarg ;;
977 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
979 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
980 infodir
=$ac_optarg ;;
982 -libdir |
--libdir |
--libdi |
--libd)
984 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
987 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
988 |
--libexe |
--libex |
--libe)
989 ac_prev
=libexecdir
;;
990 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
991 |
--libexe=* |
--libex=* |
--libe=*)
992 libexecdir
=$ac_optarg ;;
994 -localedir |
--localedir |
--localedi |
--localed |
--locale)
996 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
997 localedir
=$ac_optarg ;;
999 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1000 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1001 ac_prev
=localstatedir
;;
1002 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1003 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1004 localstatedir
=$ac_optarg ;;
1006 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1008 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1009 mandir
=$ac_optarg ;;
1011 -nfp |
--nfp |
--nf)
1012 # Obsolete; use --without-fp.
1015 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1016 |
--no-cr |
--no-c |
-n)
1019 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1020 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1023 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1024 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1025 |
--oldin |
--oldi |
--old |
--ol |
--o)
1026 ac_prev
=oldincludedir
;;
1027 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1028 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1029 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1030 oldincludedir
=$ac_optarg ;;
1032 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1034 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1035 prefix
=$ac_optarg ;;
1037 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1038 |
--program-pre |
--program-pr |
--program-p)
1039 ac_prev
=program_prefix
;;
1040 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1041 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1042 program_prefix
=$ac_optarg ;;
1044 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1045 |
--program-suf |
--program-su |
--program-s)
1046 ac_prev
=program_suffix
;;
1047 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1048 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1049 program_suffix
=$ac_optarg ;;
1051 -program-transform-name |
--program-transform-name \
1052 |
--program-transform-nam |
--program-transform-na \
1053 |
--program-transform-n |
--program-transform- \
1054 |
--program-transform |
--program-transfor \
1055 |
--program-transfo |
--program-transf \
1056 |
--program-trans |
--program-tran \
1057 |
--progr-tra |
--program-tr |
--program-t)
1058 ac_prev
=program_transform_name
;;
1059 -program-transform-name=* |
--program-transform-name=* \
1060 |
--program-transform-nam=* |
--program-transform-na=* \
1061 |
--program-transform-n=* |
--program-transform-=* \
1062 |
--program-transform=* |
--program-transfor=* \
1063 |
--program-transfo=* |
--program-transf=* \
1064 |
--program-trans=* |
--program-tran=* \
1065 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1066 program_transform_name
=$ac_optarg ;;
1068 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1070 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1071 pdfdir
=$ac_optarg ;;
1073 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1075 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1078 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1079 |
-silent |
--silent |
--silen |
--sile |
--sil)
1082 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1084 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1086 sbindir
=$ac_optarg ;;
1088 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1089 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1090 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1092 ac_prev
=sharedstatedir
;;
1093 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1094 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1095 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1097 sharedstatedir
=$ac_optarg ;;
1099 -site |
--site |
--sit)
1101 -site=* |
--site=* |
--sit=*)
1104 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1106 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1107 srcdir
=$ac_optarg ;;
1109 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1110 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1111 ac_prev
=sysconfdir
;;
1112 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1113 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1114 sysconfdir
=$ac_optarg ;;
1116 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1117 ac_prev
=target_alias
;;
1118 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1119 target_alias
=$ac_optarg ;;
1121 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1124 -version |
--version |
--versio |
--versi |
--vers |
-V)
1125 ac_init_version
=: ;;
1128 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1131 as_fn_error $?
"invalid package name: $ac_useropt"
1132 ac_useropt_orig
=$ac_useropt
1133 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134 case $ac_user_opts in
1138 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1139 ac_unrecognized_sep
=', ';;
1141 eval with_
$ac_useropt=\
$ac_optarg ;;
1143 -without-* |
--without-*)
1144 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1147 as_fn_error $?
"invalid package name: $ac_useropt"
1148 ac_useropt_orig
=$ac_useropt
1149 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1150 case $ac_user_opts in
1154 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1155 ac_unrecognized_sep
=', ';;
1157 eval with_
$ac_useropt=no
;;
1160 # Obsolete; use --with-x.
1163 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1164 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1165 ac_prev
=x_includes
;;
1166 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1167 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1168 x_includes
=$ac_optarg ;;
1170 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1171 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1172 ac_prev
=x_libraries
;;
1173 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1174 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1175 x_libraries
=$ac_optarg ;;
1177 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1178 Try \`$0 --help' for more information"
1182 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1183 # Reject names that are not valid shell variable names.
1184 case $ac_envvar in #(
1185 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1186 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1188 eval $ac_envvar=\
$ac_optarg
1189 export $ac_envvar ;;
1192 # FIXME: should be removed in autoconf 3.0.
1193 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1194 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1195 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1196 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1202 if test -n "$ac_prev"; then
1203 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1204 as_fn_error $?
"missing argument to $ac_option"
1207 if test -n "$ac_unrecognized_opts"; then
1208 case $enable_option_checking in
1210 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1211 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1215 # Check all directory arguments for consistency.
1216 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1217 datadir sysconfdir sharedstatedir localstatedir includedir \
1218 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1219 libdir localedir mandir
1221 eval ac_val
=\$
$ac_var
1222 # Remove trailing slashes.
1225 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1226 eval $ac_var=\
$ac_val;;
1228 # Be sure to have absolute directory names.
1230 [\\/$
]* | ?
:[\\/]* ) continue;;
1231 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1233 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1236 # There might be people who depend on the old broken behavior: `$host'
1237 # used to hold the argument of --host etc.
1238 # FIXME: To remove some day.
1241 target
=$target_alias
1243 # FIXME: To remove some day.
1244 if test "x$host_alias" != x
; then
1245 if test "x$build_alias" = x
; then
1246 cross_compiling
=maybe
1247 elif test "x$build_alias" != "x$host_alias"; then
1253 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1255 test "$silent" = yes && exec 6>/dev
/null
1258 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1259 ac_ls_di
=`ls -di .` &&
1260 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1261 as_fn_error $?
"working directory cannot be determined"
1262 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1263 as_fn_error $?
"pwd does not report name of working directory"
1266 # Find the source files, if location was not specified.
1267 if test -z "$srcdir"; then
1268 ac_srcdir_defaulted
=yes
1269 # Try the directory containing this script, then the parent directory.
1270 ac_confdir
=`$as_dirname -- "$as_myself" ||
1271 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272 X"$as_myself" : 'X\(//\)[^/]' \| \
1273 X"$as_myself" : 'X\(//\)$' \| \
1274 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1275 $as_echo X"$as_myself" |
1276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1298 ac_srcdir_defaulted
=no
1300 if test ! -r "$srcdir/$ac_unique_file"; then
1301 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1302 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1304 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1306 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1308 # When building in place, set srcdir=.
1309 if test "$ac_abs_confdir" = "$ac_pwd"; then
1312 # Remove unnecessary trailing slashes from srcdir.
1313 # Double slashes in file names in object file debugging info
1314 # mess up M-x gdb in Emacs.
1316 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1318 for ac_var
in $ac_precious_vars; do
1319 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1320 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1321 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1322 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1326 # Report the --help message.
1328 if test "$ac_init_help" = "long"; then
1329 # Omit some internal or obsolete options to make the list less imposing.
1330 # This message is too long to be a string in the A/UX 3.1 sh.
1332 \`configure' configures sim 0 to adapt to many kinds of systems.
1334 Usage: $0 [OPTION]... [VAR=VALUE]...
1336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337 VAR=VALUE. See below for descriptions of some of the useful variables.
1339 Defaults for the options are specified in brackets.
1342 -h, --help display this help and exit
1343 --help=short display options specific to this package
1344 --help=recursive display the short help of all the included packages
1345 -V, --version display version information and exit
1346 -q, --quiet, --silent do not print \`checking ...' messages
1347 --cache-file=FILE cache test results in FILE [disabled]
1348 -C, --config-cache alias for \`--cache-file=config.cache'
1349 -n, --no-create do not create output files
1350 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1352 Installation directories:
1353 --prefix=PREFIX install architecture-independent files in PREFIX
1354 [$ac_default_prefix]
1355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1358 By default, \`make install' will install all the files in
1359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361 for instance \`--prefix=\$HOME'.
1363 For better control, use the options below.
1365 Fine tuning of the installation directories:
1366 --bindir=DIR user executables [EPREFIX/bin]
1367 --sbindir=DIR system admin executables [EPREFIX/sbin]
1368 --libexecdir=DIR program executables [EPREFIX/libexec]
1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1371 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1372 --libdir=DIR object code libraries [EPREFIX/lib]
1373 --includedir=DIR C header files [PREFIX/include]
1374 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1375 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1376 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1377 --infodir=DIR info documentation [DATAROOTDIR/info]
1378 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1379 --mandir=DIR man documentation [DATAROOTDIR/man]
1380 --docdir=DIR documentation root [DATAROOTDIR/doc/sim]
1381 --htmldir=DIR html documentation [DOCDIR]
1382 --dvidir=DIR dvi documentation [DOCDIR]
1383 --pdfdir=DIR pdf documentation [DOCDIR]
1384 --psdir=DIR ps documentation [DOCDIR]
1390 --program-prefix=PREFIX prepend PREFIX to installed program names
1391 --program-suffix=SUFFIX append SUFFIX to installed program names
1392 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1395 --build=BUILD configure
for building on BUILD
[guessed
]
1396 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1397 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1401 if test -n "$ac_init_help"; then
1402 case $ac_init_help in
1403 short | recursive
) echo "Configuration of sim 0:";;
1408 --disable-option-checking ignore unrecognized
--enable/--with options
1409 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1410 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1411 --enable-maintainer-mode
1412 enable make rules and dependencies not useful
(and
1413 sometimes confusing
) to the casual installer
1414 --enable-dependency-tracking
1415 do not reject slow dependency extractors
1416 --disable-dependency-tracking
1417 speeds up one-time build
1418 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1419 --disable-silent-rules verbose build output
(undo
: "make V=0")
1420 --enable-sim Enable the GNU simulator
1421 --enable-example-sims enable example GNU simulators
1422 --enable-targets alternative target configurations
1424 Some influential environment variables
:
1425 CC C compiler
command
1426 CFLAGS C compiler flags
1427 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1428 nonstandard directory
<lib dir
>
1429 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1430 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1431 you have headers
in a nonstandard directory
<include dir
>
1434 Use these variables to override the choices made by
`configure' or to help
1435 it to find libraries and programs with nonstandard names/locations.
1437 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
1438 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
1443 if test "$ac_init_help" = "recursive"; then
1444 # If there are subdirs, report their specific --help.
1445 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1446 test -d "$ac_dir" ||
1447 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1452 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1455 # A ".." for each directory in $ac_dir_suffix.
1456 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1457 case $ac_top_builddir_sub in
1458 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1462 ac_abs_top_builddir=$ac_pwd
1463 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1464 # for backward compatibility:
1465 ac_top_builddir=$ac_top_build_prefix
1468 .) # We are building in place.
1470 ac_top_srcdir=$ac_top_builddir_sub
1471 ac_abs_top_srcdir=$ac_pwd ;;
1472 [\\/]* | ?:[\\/]* ) # Absolute name.
1473 ac_srcdir=$srcdir$ac_dir_suffix;
1474 ac_top_srcdir=$srcdir
1475 ac_abs_top_srcdir=$srcdir ;;
1477 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1478 ac_top_srcdir=$ac_top_build_prefix$srcdir
1479 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1481 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1483 cd "$ac_dir" || { ac_status=$?; continue; }
1484 # Check for guested configure.
1485 if test -f "$ac_srcdir/configure.gnu"; then
1487 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1488 elif test -f "$ac_srcdir/configure"; then
1490 $SHELL "$ac_srcdir/configure" --help=recursive
1492 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1494 cd "$ac_pwd" || { ac_status=$?; break; }
1498 test -n "$ac_init_help" && exit $ac_status
1499 if $ac_init_version; then
1502 generated by GNU Autoconf 2.69
1504 Copyright (C) 2012 Free Software Foundation, Inc.
1505 This configure script is free software; the Free Software Foundation
1506 gives unlimited permission to copy, distribute and modify it.
1511 ## ------------------------ ##
1512 ## Autoconf initialization. ##
1513 ## ------------------------ ##
1515 # ac_fn_c_try_compile LINENO
1516 # --------------------------
1517 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1518 ac_fn_c_try_compile ()
1520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521 rm -f conftest.$ac_objext
1522 if { { ac_try="$ac_compile"
1524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1525 *) ac_try_echo
=$ac_try;;
1527 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528 $as_echo "$ac_try_echo"; } >&5
1529 (eval "$ac_compile") 2>conftest.err
1531 if test -s conftest.err
; then
1532 grep -v '^ *+' conftest.err
>conftest.er1
1533 cat conftest.er1
>&5
1534 mv -f conftest.er1 conftest.err
1536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1537 test $ac_status = 0; } && {
1538 test -z "$ac_c_werror_flag" ||
1539 test ! -s conftest.err
1540 } && test -s conftest.
$ac_objext; then :
1543 $as_echo "$as_me: failed program was:" >&5
1544 sed 's/^/| /' conftest.
$ac_ext >&5
1548 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1549 as_fn_set_status
$ac_retval
1551 } # ac_fn_c_try_compile
1553 # ac_fn_c_try_cpp LINENO
1554 # ----------------------
1555 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1558 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1559 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1562 *) ac_try_echo=$ac_try;;
1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565 $as_echo "$ac_try_echo"; } >&5
1566 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1568 if test -s conftest.err; then
1569 grep -v '^ *+' conftest.err >conftest.er1
1570 cat conftest.er1 >&5
1571 mv -f conftest.er1 conftest.err
1573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574 test $ac_status = 0; } > conftest.i && {
1575 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1576 test ! -s conftest.err
1580 $as_echo "$as_me: failed program was:" >&5
1581 sed 's/^/| /' conftest.$ac_ext >&5
1585 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1586 as_fn_set_status $ac_retval
1590 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1591 # -------------------------------------------------------
1592 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1593 # the include files in INCLUDES and setting the cache variable VAR
1595 ac_fn_c_check_header_mongrel ()
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598 if eval \${$3+:} false; then :
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1600 $as_echo_n "checking for $2... " >&6; }
1601 if eval \${$3+:} false; then :
1602 $as_echo_n "(cached) " >&6
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1606 $as_echo "$ac_res" >&6; }
1608 # Is the header compilable?
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1610 $as_echo_n "checking $2 usability... " >&6; }
1611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1612 /* end confdefs.h. */
1616 if ac_fn_c_try_compile "$LINENO"; then :
1617 ac_header_compiler=yes
1619 ac_header_compiler=no
1621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1623 $as_echo "$ac_header_compiler" >&6; }
1625 # Is the header present?
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1627 $as_echo_n "checking $2 presence... " >&6; }
1628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1629 /* end confdefs.h. */
1632 if ac_fn_c_try_cpp "$LINENO"; then :
1633 ac_header_preproc=yes
1635 ac_header_preproc=no
1637 rm -f conftest.err conftest.i conftest.$ac_ext
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1639 $as_echo "$ac_header_preproc" >&6; }
1641 # So? What about this header?
1642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1645 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1647 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1651 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1653 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1655 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1657 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1659 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1660 ( $as_echo "## -------------------------------------------------------------------------------------- ##
1661 ## Report this to https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim ##
1662 ## -------------------------------------------------------------------------------------- ##"
1663 ) | sed "s/^/$as_me: WARNING: /" >&2
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1667 $as_echo_n "checking for $2... " >&6; }
1668 if eval \${$3+:} false; then :
1669 $as_echo_n "(cached) " >&6
1671 eval "$3=\$ac_header_compiler"
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1675 $as_echo "$ac_res" >&6; }
1677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1679 } # ac_fn_c_check_header_mongrel
1681 # ac_fn_c_try_run LINENO
1682 # ----------------------
1683 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1684 # that executables *can* be run.
1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688 if { { ac_try="$ac_link"
1690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1691 *) ac_try_echo
=$ac_try;;
1693 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_link") 2>&5
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1699 { { case "(($ac_try" in
1700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_try") 2>&5
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; }; }; then :
1711 $as_echo "$as_me: program exited with status $ac_status" >&5
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1715 ac_retval=$ac_status
1717 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719 as_fn_set_status $ac_retval
1723 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1724 # -------------------------------------------------------
1725 # Tests whether HEADER exists and can be compiled using the include files in
1726 # INCLUDES, setting the cache variable VAR accordingly.
1727 ac_fn_c_check_header_compile ()
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731 $as_echo_n "checking for $2... " >&6; }
1732 if eval \${$3+:} false; then :
1733 $as_echo_n "(cached) " >&6
1735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1736 /* end confdefs.h. */
1740 if ac_fn_c_try_compile "$LINENO"; then :
1745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 } # ac_fn_c_check_header_compile
1753 cat >config.log <<_ACEOF
1754 This file contains any messages produced by compilers while
1755 running configure, to aid debugging if configure makes a mistake.
1757 It was created by sim $as_me 0, which was
1758 generated by GNU Autoconf 2.69. Invocation command line was
1770 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1771 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1772 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1773 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1774 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1776 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1777 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1779 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1780 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1781 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1782 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1783 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1784 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1785 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1793 test -z "$as_dir" && as_dir=.
1794 $as_echo "PATH: $as_dir"
1810 # Keep a trace of the command line.
1811 # Strip out --no-create and --no-recursion so they do not pile up.
1812 # Strip out --silent because we don't want to record it for future runs.
1813 # Also quote any args containing shell meta-characters.
1814 # Make two passes to allow for proper duplicate-argument suppression.
1818 ac_must_keep_next=false
1824 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1825 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1826 | -silent | --silent | --silen | --sile | --sil)
1829 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1832 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1834 as_fn_append ac_configure_args1 " '$ac_arg'"
1835 if test $ac_must_keep_next = true; then
1836 ac_must_keep_next=false # Got value, back to normal.
1839 *=* | --config-cache | -C | -disable-* | --disable-* \
1840 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1841 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1842 | -with-* | --with-* | -without-* | --without-* | --x)
1843 case "$ac_configure_args0 " in
1844 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1847 -* ) ac_must_keep_next=true ;;
1850 as_fn_append ac_configure_args " '$ac_arg'"
1855 { ac_configure_args0=; unset ac_configure_args0;}
1856 { ac_configure_args1=; unset ac_configure_args1;}
1858 # When interrupted or exit'd, cleanup temporary files, and complete
1859 # config.log. We remove comments because anyway the quotes in there
1860 # would cause problems or look ugly.
1861 # WARNING: Use '\'' to represent an apostrophe within the trap.
1862 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1863 trap 'exit_status=$?
1864 # Save into config.log some information that might help in debugging.
1868 $as_echo "## ---------------- ##
1869 ## Cache variables. ##
1870 ## ---------------- ##"
1872 # The following way of writing the cache mishandles newlines in values,
1874 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1875 eval ac_val=\$$ac_var
1879 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1880 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1883 _ | IFS | as_nl) ;; #(
1884 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1885 *) { eval $ac_var=; unset $ac_var;} ;;
1890 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1891 *${as_nl}ac_space=\ *)
1893 "s/'\''/'\''\\\\'\'''\''/g;
1894 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1897 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1904 $as_echo "## ----------------- ##
1905 ## Output variables. ##
1906 ## ----------------- ##"
1908 for ac_var in $ac_subst_vars
1910 eval ac_val=\$$ac_var
1912 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1914 $as_echo "$ac_var='\''$ac_val'\''"
1918 if test -n "$ac_subst_files"; then
1919 $as_echo "## ------------------- ##
1920 ## File substitutions. ##
1921 ## ------------------- ##"
1923 for ac_var in $ac_subst_files
1925 eval ac_val=\$$ac_var
1927 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1929 $as_echo "$ac_var='\''$ac_val'\''"
1934 if test -s confdefs.h; then
1935 $as_echo "## ----------- ##
1942 test "$ac_signal" != 0 &&
1943 $as_echo "$as_me: caught signal $ac_signal"
1944 $as_echo "$as_me: exit $exit_status"
1946 rm -f core *.core core.conftest.* &&
1947 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1950 for ac_signal in 1 2 13 15; do
1951 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1955 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1956 rm -f -r conftest* confdefs.h
1958 $as_echo "/* confdefs.h */" > confdefs.h
1960 # Predefined preprocessor variables.
1962 cat >>confdefs.h <<_ACEOF
1963 #define PACKAGE_NAME "$PACKAGE_NAME"
1966 cat >>confdefs.h <<_ACEOF
1967 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1970 cat >>confdefs.h <<_ACEOF
1971 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1974 cat >>confdefs.h <<_ACEOF
1975 #define PACKAGE_STRING "$PACKAGE_STRING"
1978 cat >>confdefs.h <<_ACEOF
1979 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1982 cat >>confdefs.h <<_ACEOF
1983 #define PACKAGE_URL "$PACKAGE_URL"
1987 # Let the site file select an alternate cache file if it wants to.
1988 # Prefer an explicitly selected file to automatically selected ones.
1991 if test -n "$CONFIG_SITE"; then
1992 # We do not want a PATH search for config.site.
1993 case $CONFIG_SITE in #((
1994 -*) ac_site_file1=./$CONFIG_SITE;;
1995 */*) ac_site_file1=$CONFIG_SITE;;
1996 *) ac_site_file1=./$CONFIG_SITE;;
1998 elif test "x$prefix" != xNONE; then
1999 ac_site_file1=$prefix/share/config.site
2000 ac_site_file2=$prefix/etc/config.site
2002 ac_site_file1=$ac_default_prefix/share/config.site
2003 ac_site_file2=$ac_default_prefix/etc/config.site
2005 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2007 test "x$ac_site_file" = xNONE && continue
2008 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2010 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2011 sed 's/^/| /' "$ac_site_file" >&5
2013 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2015 as_fn_error $? "failed to load site
script $ac_site_file
2016 See \
`config.log' for more details" "$LINENO" 5; }
2020 if test -r "$cache_file"; then
2021 # Some versions of bash will fail to source /dev/null (special files
2022 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2023 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2025 $as_echo "$as_me: loading cache $cache_file" >&6;}
2027 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2028 *) . "./$cache_file";;
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2033 $as_echo "$as_me: creating cache $cache_file" >&6;}
2037 # Check that the precious variables saved in the cache have kept the same
2039 ac_cache_corrupted=false
2040 for ac_var in $ac_precious_vars; do
2041 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2042 eval ac_new_set=\$ac_env_${ac_var}_set
2043 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2044 eval ac_new_val=\$ac_env_${ac_var}_value
2045 case $ac_old_set,$ac_new_set in
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2048 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2049 ac_cache_corrupted=: ;;
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2052 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2053 ac_cache_corrupted=: ;;
2056 if test "x$ac_old_val" != "x$ac_new_val"; then
2057 # differences in whitespace do not lead to failure.
2058 ac_old_val_w=`echo x
$ac_old_val`
2059 ac_new_val_w=`echo x
$ac_new_val`
2060 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2062 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2063 ac_cache_corrupted=:
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2066 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2067 eval $ac_var=\$ac_old_val
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2070 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2072 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2075 # Pass precious variables to config.status.
2076 if test "$ac_new_set" = set; then
2078 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2079 *) ac_arg=$ac_var=$ac_new_val ;;
2081 case " $ac_configure_args " in
2082 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2083 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2087 if $ac_cache_corrupted; then
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2091 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2092 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2094 ## -------------------- ##
2095 ## Main body of script. ##
2096 ## -------------------- ##
2099 ac_cpp='$CPP $CPPFLAGS'
2100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2110 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2111 if test -f "$ac_dir/install-sh"; then
2113 ac_install_sh="$ac_aux_dir/install-sh -c"
2115 elif test -f "$ac_dir/install.sh"; then
2117 ac_install_sh="$ac_aux_dir/install.sh -c"
2119 elif test -f "$ac_dir/shtool"; then
2121 ac_install_sh="$ac_aux_dir/shtool install -c"
2125 if test -z "$ac_aux_dir"; then
2126 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2129 # These three variables are undocumented and unsupported,
2130 # and are intended to be withdrawn in a future Autoconf release.
2131 # They can cause serious problems if a builder's source tree is in a directory
2132 # whose full name contains unusual characters.
2133 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2134 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2135 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2138 # Make sure we can run config.sub.
2139 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2140 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2143 $as_echo_n "checking build system type... " >&6; }
2144 if ${ac_cv_build+:} false; then :
2145 $as_echo_n "(cached) " >&6
2147 ac_build_alias=$build_alias
2148 test "x$ac_build_alias" = x &&
2149 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2150 test "x$ac_build_alias" = x &&
2151 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2152 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2153 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2157 $as_echo "$ac_cv_build" >&6; }
2158 case $ac_cv_build in
2160 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2163 ac_save_IFS=$IFS; IFS='-'
2169 # Remember, the first character of IFS is used to create $*,
2170 # except with old shells:
2173 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2177 $as_echo_n "checking host system type... " >&6; }
2178 if ${ac_cv_host+:} false; then :
2179 $as_echo_n "(cached) " >&6
2181 if test "x$host_alias" = x; then
2182 ac_cv_host=$ac_cv_build
2184 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2185 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2190 $as_echo "$ac_cv_host" >&6; }
2193 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2196 ac_save_IFS=$IFS; IFS='-'
2202 # Remember, the first character of IFS is used to create $*,
2203 # except with old shells:
2206 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2210 $as_echo_n "checking target system type... " >&6; }
2211 if ${ac_cv_target+:} false; then :
2212 $as_echo_n "(cached) " >&6
2214 if test "x$target_alias" = x; then
2215 ac_cv_target=$ac_cv_host
2217 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2218 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2223 $as_echo "$ac_cv_target" >&6; }
2224 case $ac_cv_target in
2226 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2228 target=$ac_cv_target
2229 ac_save_IFS=$IFS; IFS='-'
2235 # Remember, the first character of IFS is used to create $*,
2236 # except with old shells:
2239 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2242 # The aliases save the names the user supplied, while $host etc.
2243 # will get canonicalized.
2244 test -n "$target_alias" &&
2245 test "$program_prefix$program_suffix$program_transform_name" = \
2247 program_prefix=${target_alias}-
2248 # Expand $ac_aux_dir to an absolute path.
2249 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2252 ac_cpp='$CPP $CPPFLAGS'
2253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2256 if test -n "$ac_tool_prefix"; then
2257 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2258 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2260 $as_echo_n "checking for $ac_word... " >&6; }
2261 if ${ac_cv_prog_CC+:} false; then :
2262 $as_echo_n "(cached) " >&6
2264 if test -n "$CC"; then
2265 ac_cv_prog_CC="$CC" # Let the user override the test.
2267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271 test -z "$as_dir" && as_dir=.
2272 for ac_exec_ext in '' $ac_executable_extensions; do
2273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2274 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2285 if test -n "$CC"; then
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2287 $as_echo "$CC" >&6; }
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2290 $as_echo "no" >&6; }
2295 if test -z "$ac_cv_prog_CC"; then
2297 # Extract the first word of "gcc", so it can be a program name with args.
2298 set dummy gcc; ac_word=$2
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2300 $as_echo_n "checking for $ac_word... " >&6; }
2301 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2302 $as_echo_n "(cached) " >&6
2304 if test -n "$ac_ct_CC"; then
2305 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314 ac_cv_prog_ac_ct_CC="gcc"
2315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2325 if test -n "$ac_ct_CC"; then
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2327 $as_echo "$ac_ct_CC" >&6; }
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2330 $as_echo "no" >&6; }
2333 if test "x$ac_ct_CC" = x; then
2336 case $cross_compiling:$ac_tool_warned in
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2340 ac_tool_warned=yes ;;
2348 if test -z "$CC"; then
2349 if test -n "$ac_tool_prefix"; then
2350 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2351 set dummy ${ac_tool_prefix}cc; ac_word=$2
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2353 $as_echo_n "checking for $ac_word... " >&6; }
2354 if ${ac_cv_prog_CC+:} false; then :
2355 $as_echo_n "(cached) " >&6
2357 if test -n "$CC"; then
2358 ac_cv_prog_CC="$CC" # Let the user override the test.
2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2364 test -z "$as_dir" && as_dir=.
2365 for ac_exec_ext in '' $ac_executable_extensions; do
2366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2367 ac_cv_prog_CC="${ac_tool_prefix}cc"
2368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2378 if test -n "$CC"; then
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2380 $as_echo "$CC" >&6; }
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2383 $as_echo "no" >&6; }
2389 if test -z "$CC"; then
2390 # Extract the first word of "cc", so it can be a program name with args.
2391 set dummy cc; ac_word=$2
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2393 $as_echo_n "checking for $ac_word... " >&6; }
2394 if ${ac_cv_prog_CC+:} false; then :
2395 $as_echo_n "(cached) " >&6
2397 if test -n "$CC"; then
2398 ac_cv_prog_CC="$CC" # Let the user override the test.
2401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2405 test -z "$as_dir" && as_dir=.
2406 for ac_exec_ext in '' $ac_executable_extensions; do
2407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2408 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2409 ac_prog_rejected=yes
2413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 if test $ac_prog_rejected = yes; then
2421 # We found a bogon in the path, so make sure we never use it.
2422 set dummy $ac_cv_prog_CC
2424 if test $# != 0; then
2425 # We chose a different compiler from the bogus one.
2426 # However, it has the same basename, so the bogon will be chosen
2427 # first if we set CC to just the basename; use the full file name.
2429 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2435 if test -n "$CC"; then
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2437 $as_echo "$CC" >&6; }
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2440 $as_echo "no" >&6; }
2445 if test -z "$CC"; then
2446 if test -n "$ac_tool_prefix"; then
2447 for ac_prog in cl.exe
2449 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2450 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2452 $as_echo_n "checking for $ac_word... " >&6; }
2453 if ${ac_cv_prog_CC+:} false; then :
2454 $as_echo_n "(cached) " >&6
2456 if test -n "$CC"; then
2457 ac_cv_prog_CC="$CC" # Let the user override the test.
2459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463 test -z "$as_dir" && as_dir=.
2464 for ac_exec_ext in '' $ac_executable_extensions; do
2465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2466 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2477 if test -n "$CC"; then
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2479 $as_echo "$CC" >&6; }
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2482 $as_echo "no" >&6; }
2486 test -n "$CC" && break
2489 if test -z "$CC"; then
2491 for ac_prog in cl.exe
2493 # Extract the first word of "$ac_prog", so it can be a program name with args.
2494 set dummy $ac_prog; ac_word=$2
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2496 $as_echo_n "checking for $ac_word... " >&6; }
2497 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2498 $as_echo_n "(cached) " >&6
2500 if test -n "$ac_ct_CC"; then
2501 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507 test -z "$as_dir" && as_dir=.
2508 for ac_exec_ext in '' $ac_executable_extensions; do
2509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2510 ac_cv_prog_ac_ct_CC="$ac_prog"
2511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2520 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2521 if test -n "$ac_ct_CC"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2523 $as_echo "$ac_ct_CC" >&6; }
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2526 $as_echo "no" >&6; }
2530 test -n "$ac_ct_CC" && break
2533 if test "x$ac_ct_CC" = x; then
2536 case $cross_compiling:$ac_tool_warned in
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2540 ac_tool_warned=yes ;;
2549 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2551 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2552 See \
`config.log' for more details" "$LINENO" 5; }
2554 # Provide some information about the compiler.
2555 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2558 for ac_option in --version -v -V -qversion; do
2559 { { ac_try="$ac_compiler $ac_option >&5"
2561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2562 *) ac_try_echo
=$ac_try;;
2564 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2565 $as_echo "$ac_try_echo"; } >&5
2566 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2568 if test -s conftest.err
; then
2570 ... rest of stderr output deleted ...
2571 10q' conftest.err
>conftest.er1
2572 cat conftest.er1
>&5
2574 rm -f conftest.er1 conftest.err
2575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2576 test $ac_status = 0; }
2579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2580 /* end confdefs.h. */
2590 ac_clean_files_save
=$ac_clean_files
2591 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2592 # Try to create an executable without -o first, disregard a.out.
2593 # It will help us diagnose broken compilers, and finding out an intuition
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2596 $as_echo_n "checking whether the C compiler works... " >&6; }
2597 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2599 # The possible output files:
2600 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2603 for ac_file
in $ac_files
2606 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2607 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2612 if { { ac_try
="$ac_link_default"
2614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2615 *) ac_try_echo=$ac_try;;
2617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2618 $as_echo "$ac_try_echo"; } >&5
2619 (eval "$ac_link_default") 2>&5
2621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2622 test $ac_status = 0; }; then :
2623 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2624 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2625 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2626 # so that the user can short-circuit this test for compilers unknown to
2628 for ac_file in $ac_files ''
2630 test -f "$ac_file" || continue
2632 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2635 # We found the default executable, but exeext='' is most
2639 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2641 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2643 # We set ac_cv_exeext here because the later test for it is not
2644 # safe: cross compilers may not add the suffix if given an `-o'
2645 # argument, so we may need to know it at that point already.
2646 # Even if this section looks crufty: it has the advantage of
2653 test "$ac_cv_exeext" = no && ac_cv_exeext=
2658 if test -z "$ac_file"; then :
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2660 $as_echo "no" >&6; }
2661 $as_echo "$as_me: failed program was:" >&5
2662 sed 's
/^
/|
/' conftest.$ac_ext >&5
2664 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2665 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2666 as_fn_error 77 "C compiler cannot create executables
2667 See \`config.log
' for more details" "$LINENO" 5; }
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2670 $as_echo "yes" >&6; }
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2673 $as_echo_n "checking for C compiler default output file name... " >&6; }
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2675 $as_echo "$ac_file" >&6; }
2676 ac_exeext=$ac_cv_exeext
2678 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2679 ac_clean_files=$ac_clean_files_save
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2681 $as_echo_n "checking for suffix of executables... " >&6; }
2682 if { { ac_try="$ac_link"
2684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2685 *) ac_try_echo=$ac_try;;
2687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2688 $as_echo "$ac_try_echo"; } >&5
2689 (eval "$ac_link") 2>&5
2691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2692 test $ac_status = 0; }; then :
2693 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2694 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2695 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2697 for ac_file
in conftest.exe conftest conftest.
*; do
2698 test -f "$ac_file" ||
continue
2700 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2701 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2709 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2710 See \`config.log' for more details" "$LINENO" 5; }
2712 rm -f conftest conftest
$ac_cv_exeext
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2714 $as_echo "$ac_cv_exeext" >&6; }
2716 rm -f conftest.
$ac_ext
2717 EXEEXT
=$ac_cv_exeext
2719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2720 /* end confdefs.h. */
2725 FILE *f = fopen ("conftest.out", "w");
2726 return ferror (f) || fclose (f) != 0;
2732 ac_clean_files
="$ac_clean_files conftest.out"
2733 # Check that the compiler produces executables we can run. If not, either
2734 # the compiler is broken, or we cross compile.
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2736 $as_echo_n "checking whether we are cross compiling... " >&6; }
2737 if test "$cross_compiling" != yes; then
2738 { { ac_try
="$ac_link"
2740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2741 *) ac_try_echo=$ac_try;;
2743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2744 $as_echo "$ac_try_echo"; } >&5
2745 (eval "$ac_link") 2>&5
2747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2748 test $ac_status = 0; }
2749 if { ac_try='./conftest$ac_cv_exeext'
2750 { { case "(($ac_try" in
2751 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2752 *) ac_try_echo
=$ac_try;;
2754 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2755 $as_echo "$ac_try_echo"; } >&5
2756 (eval "$ac_try") 2>&5
2758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2759 test $ac_status = 0; }; }; then
2762 if test "$cross_compiling" = maybe
; then
2765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2767 as_fn_error $?
"cannot run C compiled programs.
2768 If you meant to cross compile, use \`--host'.
2769 See \`config.log' for more details" "$LINENO" 5; }
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2774 $as_echo "$cross_compiling" >&6; }
2776 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2777 ac_clean_files
=$ac_clean_files_save
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2779 $as_echo_n "checking for suffix of object files... " >&6; }
2780 if ${ac_cv_objext+:} false
; then :
2781 $as_echo_n "(cached) " >&6
2783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2784 /* end confdefs.h. */
2794 rm -f conftest.o conftest.obj
2795 if { { ac_try
="$ac_compile"
2797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2801 $as_echo "$ac_try_echo"; } >&5
2802 (eval "$ac_compile") 2>&5
2804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2805 test $ac_status = 0; }; then :
2806 for ac_file in conftest.o conftest.obj conftest.*; do
2807 test -f "$ac_file" || continue;
2809 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2810 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2815 $as_echo "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.$ac_ext >&5
2818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2820 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2821 See \
`config.log' for more details" "$LINENO" 5; }
2823 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2826 $as_echo "$ac_cv_objext" >&6; }
2827 OBJEXT=$ac_cv_objext
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2830 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2831 if ${ac_cv_c_compiler_gnu+:} false; then :
2832 $as_echo_n "(cached) " >&6
2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2848 if ac_fn_c_try_compile "$LINENO"; then :
2853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2854 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2858 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2859 if test $ac_compiler_gnu = yes; then
2864 ac_test_CFLAGS=${CFLAGS+set}
2865 ac_save_CFLAGS=$CFLAGS
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2867 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2868 if ${ac_cv_prog_cc_g+:} false; then :
2869 $as_echo_n "(cached) " >&6
2871 ac_save_c_werror_flag=$ac_c_werror_flag
2872 ac_c_werror_flag=yes
2875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2876 /* end confdefs.h. */
2886 if ac_fn_c_try_compile "$LINENO"; then :
2890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2891 /* end confdefs.h. */
2901 if ac_fn_c_try_compile "$LINENO"; then :
2904 ac_c_werror_flag=$ac_save_c_werror_flag
2906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907 /* end confdefs.h. */
2917 if ac_fn_c_try_compile "$LINENO"; then :
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 ac_c_werror_flag=$ac_save_c_werror_flag
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2928 $as_echo "$ac_cv_prog_cc_g" >&6; }
2929 if test "$ac_test_CFLAGS" = set; then
2930 CFLAGS=$ac_save_CFLAGS
2931 elif test $ac_cv_prog_cc_g = yes; then
2932 if test "$GCC" = yes; then
2938 if test "$GCC" = yes; then
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2945 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2946 if ${ac_cv_prog_cc_c89+:} false; then :
2947 $as_echo_n "(cached) " >&6
2949 ac_cv_prog_cc_c89=no
2951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2952 /* end confdefs.h. */
2956 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2957 struct buf { int x; };
2958 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2959 static char *e (p, i)
2965 static char *f (char * (*g) (char **, int), char **p, ...)
2970 s = g (p, va_arg (v,int));
2975 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2976 function prototypes and stuff, but not '\xHH' hex character constants.
2977 These don't provoke an error unfortunately, instead are silently treated
2978 as 'x'. The following induces an error, until -std is added to get
2979 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2980 array size at least. It's necessary to write '\x00'==0 to get something
2981 that's true only with -std. */
2982 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2984 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2985 inside strings and character constants. */
2987 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2989 int test (int i, double x);
2990 struct s1 {int (*f) (int a);};
2991 struct s2 {int (*f) (double a);};
2992 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2998 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3003 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3004 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3006 CC="$ac_save_CC $ac_arg"
3007 if ac_fn_c_try_compile "$LINENO"; then :
3008 ac_cv_prog_cc_c89=$ac_arg
3010 rm -f core conftest.err conftest.$ac_objext
3011 test "x$ac_cv_prog_cc_c89" != "xno" && break
3013 rm -f conftest.$ac_ext
3018 case "x$ac_cv_prog_cc_c89" in
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3021 $as_echo "none needed" >&6; } ;;
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3024 $as_echo "unsupported" >&6; } ;;
3026 CC="$CC $ac_cv_prog_cc_c89"
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3028 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3030 if test "x$ac_cv_prog_cc_c89" != xno; then :
3035 ac_cpp='$CPP $CPPFLAGS'
3036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3041 ac_cpp='$CPP $CPPFLAGS'
3042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3046 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3047 if ${am_cv_prog_cc_c_o+:} false; then :
3048 $as_echo_n "(cached) " >&6
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h. */
3061 # Make sure it works both with $CC and with simple cc.
3062 # Following AC_PROG_CC_C_O, we do the test twice because some
3063 # compilers refuse to overwrite an existing .o file with -o,
3064 # though they will create one.
3065 am_cv_prog_cc_c_o=yes
3067 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3068 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); } \
3072 && test -f conftest2.$ac_objext; then
3075 am_cv_prog_cc_c_o=no
3079 rm -f core conftest*
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3083 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3084 if test "$am_cv_prog_cc_c_o" != yes; then
3085 # Losing compiler, so override with the script.
3086 # FIXME: It is wrong to rewrite CC.
3087 # But if we don't then we get into trouble of one sort or another.
3088 # A longer-term fix would be to have automake use am__CC in this case,
3089 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3090 CC="$am_aux_dir/compile $CC"
3093 ac_cpp='$CPP $CPPFLAGS'
3094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3101 ac_cpp='$CPP $CPPFLAGS'
3102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3106 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3107 # On Suns, sometimes $CPP names a directory.
3108 if test -n "$CPP" && test -d "$CPP"; then
3111 if test -z "$CPP"; then
3112 if ${ac_cv_prog_CPP+:} false; then :
3113 $as_echo_n "(cached) " >&6
3115 # Double quotes because CPP needs to be expanded
3116 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3119 for ac_c_preproc_warn_flag in '' yes
3121 # Use a header file that comes with gcc, so configuring glibc
3122 # with a fresh cross-compiler works.
3123 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3124 # <limits.h> exists even on freestanding compilers.
3125 # On the NeXT, cc -E runs the code through the compiler's parser,
3126 # not just through cpp. "Syntax error" is here to catch this case.
3127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3128 /* end confdefs.h. */
3130 # include <limits.h>
3132 # include <assert.h>
3136 if ac_fn_c_try_cpp "$LINENO"; then :
3139 # Broken: fails on valid input.
3142 rm -f conftest.err conftest.i conftest.$ac_ext
3144 # OK, works on sane cases. Now check whether nonexistent headers
3145 # can be detected and how.
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3148 #include <ac_nonexistent.h>
3150 if ac_fn_c_try_cpp "$LINENO"; then :
3151 # Broken: success on invalid input.
3154 # Passes both tests.
3158 rm -f conftest.err conftest.i conftest.$ac_ext
3161 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3162 rm -f conftest.i conftest.err conftest.
$ac_ext
3163 if $ac_preproc_ok; then :
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3176 $as_echo "$CPP" >&6; }
3178 for ac_c_preproc_warn_flag
in '' yes
3180 # Use a header file that comes with gcc, so configuring glibc
3181 # with a fresh cross-compiler works.
3182 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3183 # <limits.h> exists even on freestanding compilers.
3184 # On the NeXT, cc -E runs the code through the compiler's parser,
3185 # not just through cpp. "Syntax error" is here to catch this case.
3186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3187 /* end confdefs.h. */
3189 # include <limits.h>
3191 # include <assert.h>
3195 if ac_fn_c_try_cpp
"$LINENO"; then :
3198 # Broken: fails on valid input.
3201 rm -f conftest.err conftest.i conftest.
$ac_ext
3203 # OK, works on sane cases. Now check whether nonexistent headers
3204 # can be detected and how.
3205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3206 /* end confdefs.h. */
3207 #include <ac_nonexistent.h>
3209 if ac_fn_c_try_cpp
"$LINENO"; then :
3210 # Broken: success on invalid input.
3213 # Passes both tests.
3217 rm -f conftest.err conftest.i conftest.
$ac_ext
3220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3221 rm -f conftest.i conftest.err conftest.
$ac_ext
3222 if $ac_preproc_ok; then :
3225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3227 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3228 See \`config.log' for more details" "$LINENO" 5; }
3232 ac_cpp
='$CPP $CPPFLAGS'
3233 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3239 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3240 if ${ac_cv_path_GREP+:} false
; then :
3241 $as_echo_n "(cached) " >&6
3243 if test -z "$GREP"; then
3244 ac_path_GREP_found
=false
3245 # Loop through the user's path and test for each of PROGNAME-LIST
3246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3247 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3250 test -z "$as_dir" && as_dir
=.
3251 for ac_prog
in grep ggrep
; do
3252 for ac_exec_ext
in '' $ac_executable_extensions; do
3253 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3254 as_fn_executable_p
"$ac_path_GREP" ||
continue
3255 # Check for GNU ac_path_GREP and select it if it is found.
3256 # Check for GNU $ac_path_GREP
3257 case `"$ac_path_GREP" --version 2>&1` in
3259 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3262 $as_echo_n 0123456789 >"conftest.in"
3265 cat "conftest.in" "conftest.in" >"conftest.tmp"
3266 mv "conftest.tmp" "conftest.in"
3267 cp "conftest.in" "conftest.nl"
3268 $as_echo 'GREP' >> "conftest.nl"
3269 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3270 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3271 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3272 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3273 # Best one so far, save it but keep looking for a better one
3274 ac_cv_path_GREP
="$ac_path_GREP"
3275 ac_path_GREP_max
=$ac_count
3277 # 10*(2^10) chars as input seems more than enough
3278 test $ac_count -gt 10 && break
3280 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3283 $ac_path_GREP_found && break 3
3288 if test -z "$ac_cv_path_GREP"; then
3289 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3292 ac_cv_path_GREP
=$GREP
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3297 $as_echo "$ac_cv_path_GREP" >&6; }
3298 GREP
="$ac_cv_path_GREP"
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3302 $as_echo_n "checking for egrep... " >&6; }
3303 if ${ac_cv_path_EGREP+:} false
; then :
3304 $as_echo_n "(cached) " >&6
3306 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3307 then ac_cv_path_EGREP
="$GREP -E"
3309 if test -z "$EGREP"; then
3310 ac_path_EGREP_found
=false
3311 # Loop through the user's path and test for each of PROGNAME-LIST
3312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3313 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3316 test -z "$as_dir" && as_dir
=.
3317 for ac_prog
in egrep; do
3318 for ac_exec_ext
in '' $ac_executable_extensions; do
3319 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3320 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3321 # Check for GNU ac_path_EGREP and select it if it is found.
3322 # Check for GNU $ac_path_EGREP
3323 case `"$ac_path_EGREP" --version 2>&1` in
3325 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3328 $as_echo_n 0123456789 >"conftest.in"
3331 cat "conftest.in" "conftest.in" >"conftest.tmp"
3332 mv "conftest.tmp" "conftest.in"
3333 cp "conftest.in" "conftest.nl"
3334 $as_echo 'EGREP' >> "conftest.nl"
3335 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3336 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3337 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3338 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3339 # Best one so far, save it but keep looking for a better one
3340 ac_cv_path_EGREP
="$ac_path_EGREP"
3341 ac_path_EGREP_max
=$ac_count
3343 # 10*(2^10) chars as input seems more than enough
3344 test $ac_count -gt 10 && break
3346 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3349 $ac_path_EGREP_found && break 3
3354 if test -z "$ac_cv_path_EGREP"; then
3355 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3358 ac_cv_path_EGREP
=$EGREP
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3364 $as_echo "$ac_cv_path_EGREP" >&6; }
3365 EGREP
="$ac_cv_path_EGREP"
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3369 $as_echo_n "checking for ANSI C header files... " >&6; }
3370 if ${ac_cv_header_stdc+:} false
; then :
3371 $as_echo_n "(cached) " >&6
3373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3388 if ac_fn_c_try_compile
"$LINENO"; then :
3389 ac_cv_header_stdc
=yes
3391 ac_cv_header_stdc
=no
3393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3395 if test $ac_cv_header_stdc = yes; then
3396 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3403 $EGREP "memchr" >/dev
/null
2>&1; then :
3406 ac_cv_header_stdc
=no
3412 if test $ac_cv_header_stdc = yes; then
3413 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3420 $EGREP "free" >/dev
/null
2>&1; then :
3423 ac_cv_header_stdc
=no
3429 if test $ac_cv_header_stdc = yes; then
3430 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3431 if test "$cross_compiling" = yes; then :
3434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3438 #if ((' ' & 0x0FF) == 0x020)
3439 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3440 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3442 # define ISLOWER(c) \
3443 (('a' <= (c) && (c) <= 'i') \
3444 || ('j' <= (c) && (c) <= 'r') \
3445 || ('s' <= (c) && (c) <= 'z'))
3446 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3449 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3454 for (i = 0; i < 256; i++)
3455 if (XOR (islower (i), ISLOWER (i))
3456 || toupper (i) != TOUPPER (i))
3461 if ac_fn_c_try_run
"$LINENO"; then :
3464 ac_cv_header_stdc
=no
3466 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3467 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3473 $as_echo "$ac_cv_header_stdc" >&6; }
3474 if test $ac_cv_header_stdc = yes; then
3476 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3480 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3481 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3482 inttypes.h stdint.h unistd.h
3484 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3485 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3487 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3488 cat >>confdefs.h
<<_ACEOF
3489 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3498 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3499 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3506 if test "$MINIX" = yes; then
3508 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3511 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3514 $as_echo "#define _MINIX 1" >>confdefs.h
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3520 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3521 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3522 $as_echo_n "(cached) " >&6
3524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3525 /* end confdefs.h. */
3527 # define __EXTENSIONS__ 1
3528 $ac_includes_default
3537 if ac_fn_c_try_compile
"$LINENO"; then :
3538 ac_cv_safe_to_define___extensions__
=yes
3540 ac_cv_safe_to_define___extensions__
=no
3542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3545 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3546 test $ac_cv_safe_to_define___extensions__ = yes &&
3547 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3549 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3551 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3553 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3555 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3558 test "$program_prefix" != NONE
&&
3559 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3560 # Use a double $ so make ignores it.
3561 test "$program_suffix" != NONE
&&
3562 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3563 # Double any \ or $.
3564 # By default was `s,x,x', remove it if useless.
3565 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3566 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3568 # Find a good install program. We prefer a C program (faster),
3569 # so one script is as good as another. But avoid the broken or
3570 # incompatible versions:
3571 # SysV /etc/install, /usr/sbin/install
3572 # SunOS /usr/etc/install
3573 # IRIX /sbin/install
3575 # AmigaOS /C/install, which installs bootblocks on floppy discs
3576 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3577 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3578 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3579 # OS/2's system install, which has a completely different semantic
3580 # ./install, which can be erroneously created by make from ./install.sh.
3581 # Reject install programs that cannot install multiple files.
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3583 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3584 if test -z "$INSTALL"; then
3585 if ${ac_cv_path_install+:} false
; then :
3586 $as_echo_n "(cached) " >&6
3588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3592 test -z "$as_dir" && as_dir
=.
3593 # Account for people who put trailing slashes in PATH elements.
3594 case $as_dir/ in #((
3595 .
/ | .
// |
/[cC
]/* | \
3596 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3597 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3600 # OSF1 and SCO ODT 3.0 have their own names for install.
3601 # Don't use installbsd from OSF since it installs stuff as root
3603 for ac_prog
in ginstall scoinst
install; do
3604 for ac_exec_ext
in '' $ac_executable_extensions; do
3605 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3606 if test $ac_prog = install &&
3607 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3608 # AIX install. It has an incompatible calling convention.
3610 elif test $ac_prog = install &&
3611 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3612 # program-specific install script used by HP pwplus--don't use.
3615 rm -rf conftest.one conftest.two conftest.dir
3616 echo one
> conftest.one
3617 echo two
> conftest.two
3619 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3620 test -s conftest.one
&& test -s conftest.two
&&
3621 test -s conftest.dir
/conftest.one
&&
3622 test -s conftest.dir
/conftest.two
3624 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3637 rm -rf conftest.one conftest.two conftest.dir
3640 if test "${ac_cv_path_install+set}" = set; then
3641 INSTALL
=$ac_cv_path_install
3643 # As a last resort, use the slow shell script. Don't cache a
3644 # value for INSTALL within a source directory, because that will
3645 # break other packages using the cache if that directory is
3646 # removed, or if the value is a relative name.
3647 INSTALL
=$ac_install_sh
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3651 $as_echo "$INSTALL" >&6; }
3653 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3654 # It thinks the first close brace ends the variable substitution.
3655 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3657 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3659 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3666 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3667 if ${ac_cv_c_bigendian+:} false
; then :
3668 $as_echo_n "(cached) " >&6
3670 ac_cv_c_bigendian
=unknown
3671 # See if we're dealing with a universal compiler.
3672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h. */
3674 #ifndef __APPLE_CC__
3675 not a universal capable compiler
3680 if ac_fn_c_try_compile
"$LINENO"; then :
3682 # Check for potential -arch flags. It is not universal unless
3683 # there are at least two -arch flags with different values.
3686 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3687 if test -n "$ac_prev"; then
3689 i?
86 | x86_64 | ppc | ppc64
)
3690 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
3693 ac_cv_c_bigendian
=universal
3699 elif test "x$ac_word" = "x-arch"; then
3704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3705 if test $ac_cv_c_bigendian = unknown
; then
3706 # See if sys/param.h defines the BYTE_ORDER macro.
3707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3708 /* end confdefs.h. */
3709 #include <sys/types.h>
3710 #include <sys/param.h>
3715 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3716 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3725 if ac_fn_c_try_compile
"$LINENO"; then :
3726 # It does; now see whether it defined to BIG_ENDIAN or not.
3727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3728 /* end confdefs.h. */
3729 #include <sys/types.h>
3730 #include <sys/param.h>
3735 #if BYTE_ORDER != BIG_ENDIAN
3743 if ac_fn_c_try_compile
"$LINENO"; then :
3744 ac_cv_c_bigendian
=yes
3746 ac_cv_c_bigendian
=no
3748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3752 if test $ac_cv_c_bigendian = unknown
; then
3753 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h. */
3761 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3769 if ac_fn_c_try_compile
"$LINENO"; then :
3770 # It does; now see whether it defined to _BIG_ENDIAN or not.
3771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3772 /* end confdefs.h. */
3786 if ac_fn_c_try_compile
"$LINENO"; then :
3787 ac_cv_c_bigendian
=yes
3789 ac_cv_c_bigendian
=no
3791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3795 if test $ac_cv_c_bigendian = unknown
; then
3796 # Compile a test program.
3797 if test "$cross_compiling" = yes; then :
3798 # Try to guess by grepping values from an object file.
3799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3801 short int ascii_mm[] =
3802 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3803 short int ascii_ii[] =
3804 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3805 int use_ascii (int i) {
3806 return ascii_mm[i] + ascii_ii[i];
3808 short int ebcdic_ii[] =
3809 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3810 short int ebcdic_mm[] =
3811 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3812 int use_ebcdic (int i) {
3813 return ebcdic_mm[i] + ebcdic_ii[i];
3820 return use_ascii (foo) == use_ebcdic (foo);
3825 if ac_fn_c_try_compile
"$LINENO"; then :
3826 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
3827 ac_cv_c_bigendian
=yes
3829 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
3830 if test "$ac_cv_c_bigendian" = unknown
; then
3831 ac_cv_c_bigendian
=no
3833 # finding both strings is unlikely to happen, but who knows?
3834 ac_cv_c_bigendian
=unknown
3838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3841 /* end confdefs.h. */
3842 $ac_includes_default
3847 /* Are we little or big endian? From Harbison&Steele. */
3851 char c[sizeof (long int)];
3854 return u.c[sizeof (long int) - 1] == 1;
3860 if ac_fn_c_try_run
"$LINENO"; then :
3861 ac_cv_c_bigendian
=no
3863 ac_cv_c_bigendian
=yes
3865 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3866 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
3872 $as_echo "$ac_cv_c_bigendian" >&6; }
3873 case $ac_cv_c_bigendian in #(
3875 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
3881 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
3885 as_fn_error $?
"unknown endianness
3886 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
3892 if test "x$cross_compiling" = "xno"; then
3893 : "${AR_FOR_BUILD:=\$(AR)}"
3894 : "${CC_FOR_BUILD:=\$(CC)}"
3895 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
3896 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
3897 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
3899 : "${AR_FOR_BUILD:=ar}"
3900 : "${CC_FOR_BUILD:=gcc}"
3901 : "${RANLIB_FOR_BUILD:=ranlib}"
3902 : "${CFLAGS_FOR_BUILD:=-g -O}"
3903 : "${LDLFAGS_FOR_BUILD:=}"
3912 if test -n "$ac_tool_prefix"; then
3913 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3914 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3916 $as_echo_n "checking for $ac_word... " >&6; }
3917 if ${ac_cv_prog_AR+:} false
; then :
3918 $as_echo_n "(cached) " >&6
3920 if test -n "$AR"; then
3921 ac_cv_prog_AR
="$AR" # Let the user override the test.
3923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3927 test -z "$as_dir" && as_dir
=.
3928 for ac_exec_ext
in '' $ac_executable_extensions; do
3929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3930 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3941 if test -n "$AR"; then
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3943 $as_echo "$AR" >&6; }
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3946 $as_echo "no" >&6; }
3951 if test -z "$ac_cv_prog_AR"; then
3953 # Extract the first word of "ar", so it can be a program name with args.
3954 set dummy
ar; ac_word
=$2
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3956 $as_echo_n "checking for $ac_word... " >&6; }
3957 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
3958 $as_echo_n "(cached) " >&6
3960 if test -n "$ac_ct_AR"; then
3961 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3967 test -z "$as_dir" && as_dir
=.
3968 for ac_exec_ext
in '' $ac_executable_extensions; do
3969 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3970 ac_cv_prog_ac_ct_AR
="ar"
3971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3980 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3981 if test -n "$ac_ct_AR"; then
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3983 $as_echo "$ac_ct_AR" >&6; }
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986 $as_echo "no" >&6; }
3989 if test "x$ac_ct_AR" = x
; then
3992 case $cross_compiling:$ac_tool_warned in
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3996 ac_tool_warned
=yes ;;
4004 if test -n "$ac_tool_prefix"; then
4005 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4006 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4008 $as_echo_n "checking for $ac_word... " >&6; }
4009 if ${ac_cv_prog_RANLIB+:} false
; then :
4010 $as_echo_n "(cached) " >&6
4012 if test -n "$RANLIB"; then
4013 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4019 test -z "$as_dir" && as_dir
=.
4020 for ac_exec_ext
in '' $ac_executable_extensions; do
4021 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4022 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4032 RANLIB
=$ac_cv_prog_RANLIB
4033 if test -n "$RANLIB"; then
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4035 $as_echo "$RANLIB" >&6; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038 $as_echo "no" >&6; }
4043 if test -z "$ac_cv_prog_RANLIB"; then
4044 ac_ct_RANLIB
=$RANLIB
4045 # Extract the first word of "ranlib", so it can be a program name with args.
4046 set dummy ranlib
; ac_word
=$2
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4048 $as_echo_n "checking for $ac_word... " >&6; }
4049 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4050 $as_echo_n "(cached) " >&6
4052 if test -n "$ac_ct_RANLIB"; then
4053 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4059 test -z "$as_dir" && as_dir
=.
4060 for ac_exec_ext
in '' $ac_executable_extensions; do
4061 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4062 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4072 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4073 if test -n "$ac_ct_RANLIB"; then
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4075 $as_echo "$ac_ct_RANLIB" >&6; }
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 $as_echo "no" >&6; }
4081 if test "x$ac_ct_RANLIB" = x
; then
4084 case $cross_compiling:$ac_tool_warned in
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4088 ac_tool_warned
=yes ;;
4090 RANLIB
=$ac_ct_RANLIB
4093 RANLIB
="$ac_cv_prog_RANLIB"
4097 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
4098 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
4099 # is C99. So handle it ourselves.
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
4103 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4105 /* end confdefs.h. */
4107 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4108 # error "C11 support not found"
4112 if ac_fn_c_try_compile
"$LINENO"; then :
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4114 $as_echo "yes" >&6; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118 $as_echo "no" >&6; }
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4120 $as_echo_n "checking for -std=c11 support... " >&6; }
4123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h. */
4126 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4127 # error "C11 support not found"
4131 if ac_fn_c_try_compile
"$LINENO"; then :
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4134 $as_echo "yes" >&6; }
4136 C_DIALECT
="-std=c11"
4139 as_fn_error $?
"C11 is required" "$LINENO" 5
4141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4149 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4150 # Check whether --enable-maintainer-mode was given.
4151 if test "${enable_maintainer_mode+set}" = set; then :
4152 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4154 USE_MAINTAINER_MODE
=no
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4158 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4159 if test $USE_MAINTAINER_MODE = yes; then
4160 MAINTAINER_MODE_TRUE
=
4161 MAINTAINER_MODE_FALSE
='#'
4163 MAINTAINER_MODE_TRUE
='#'
4164 MAINTAINER_MODE_FALSE
=
4167 MAINT
=$MAINTAINER_MODE_TRUE
4170 am__api_version
='1.15'
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4173 $as_echo_n "checking whether build environment is sane... " >&6; }
4174 # Reject unsafe characters in $srcdir or the absolute working directory
4175 # name. Accept space and tab only in the latter.
4179 *[\\\"\
#\$\&\'\`$am_lf]*)
4180 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4183 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4184 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4187 # Do 'set' in a subshell so we don't clobber the current shell's
4188 # arguments. Must try -L first in case configure is actually a
4189 # symlink; some systems play weird games with the mod time of symlinks
4190 # (eg FreeBSD returns the mod time of the symlink's containing
4194 for am_try
in 1 2; do
4195 echo "timestamp, slept: $am_has_slept" > conftest.
file
4196 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4197 if test "$*" = "X"; then
4199 set X
`ls -t "$srcdir/configure" conftest.file`
4201 if test "$*" != "X $srcdir/configure conftest.file" \
4202 && test "$*" != "X conftest.file $srcdir/configure"; then
4204 # If neither matched, then we have a broken ls. This can happen
4205 # if, for instance, CONFIG_SHELL is bash and it inherits a
4206 # broken ls alias from the environment. This has actually
4207 # happened. Such a system could not be considered "sane".
4208 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4209 alias in your environment" "$LINENO" 5
4211 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4218 test "$2" = conftest.
file
4224 as_fn_error $?
"newly created file is older than distributed files!
4225 Check your system clock" "$LINENO" 5
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4228 $as_echo "yes" >&6; }
4229 # If we didn't sleep, we still need to ensure time stamps of config.status and
4230 # generated files are strictly newer.
4232 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4239 if test x
"${MISSING+set}" != xset
; then
4242 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4244 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4247 # Use eval to expand $SHELL
4248 if eval "$MISSING --is-lightweight"; then
4249 am_missing_run
="$MISSING "
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4253 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4256 if test x
"${install_sh+set}" != xset
; then
4259 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4261 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4265 # Installed binaries are usually stripped using 'strip' when the user
4266 # run "make install-strip". However 'strip' might not be the right
4267 # tool to use in cross-compilation environments, therefore Automake
4268 # will honor the 'STRIP' environment variable to overrule this program.
4269 if test "$cross_compiling" != no
; then
4270 if test -n "$ac_tool_prefix"; then
4271 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4272 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274 $as_echo_n "checking for $ac_word... " >&6; }
4275 if ${ac_cv_prog_STRIP+:} false
; then :
4276 $as_echo_n "(cached) " >&6
4278 if test -n "$STRIP"; then
4279 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4285 test -z "$as_dir" && as_dir
=.
4286 for ac_exec_ext
in '' $ac_executable_extensions; do
4287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4288 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 STRIP
=$ac_cv_prog_STRIP
4299 if test -n "$STRIP"; then
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4301 $as_echo "$STRIP" >&6; }
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304 $as_echo "no" >&6; }
4309 if test -z "$ac_cv_prog_STRIP"; then
4311 # Extract the first word of "strip", so it can be a program name with args.
4312 set dummy strip
; ac_word
=$2
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314 $as_echo_n "checking for $ac_word... " >&6; }
4315 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4316 $as_echo_n "(cached) " >&6
4318 if test -n "$ac_ct_STRIP"; then
4319 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4325 test -z "$as_dir" && as_dir
=.
4326 for ac_exec_ext
in '' $ac_executable_extensions; do
4327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4328 ac_cv_prog_ac_ct_STRIP
="strip"
4329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4338 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4339 if test -n "$ac_ct_STRIP"; then
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4341 $as_echo "$ac_ct_STRIP" >&6; }
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4344 $as_echo "no" >&6; }
4347 if test "x$ac_ct_STRIP" = x
; then
4350 case $cross_compiling:$ac_tool_warned in
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4354 ac_tool_warned
=yes ;;
4359 STRIP
="$ac_cv_prog_STRIP"
4363 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4366 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4367 if test -z "$MKDIR_P"; then
4368 if ${ac_cv_path_mkdir+:} false
; then :
4369 $as_echo_n "(cached) " >&6
4371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4372 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4375 test -z "$as_dir" && as_dir
=.
4376 for ac_prog
in mkdir gmkdir
; do
4377 for ac_exec_ext
in '' $ac_executable_extensions; do
4378 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4379 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4380 'mkdir (GNU coreutils) '* | \
4381 'mkdir (coreutils) '* | \
4382 'mkdir (fileutils) '4.1*)
4383 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4393 test -d .
/--version && rmdir .
/--version
4394 if test "${ac_cv_path_mkdir+set}" = set; then
4395 MKDIR_P
="$ac_cv_path_mkdir -p"
4397 # As a last resort, use the slow shell script. Don't cache a
4398 # value for MKDIR_P within a source directory, because that will
4399 # break other packages using the cache if that directory is
4400 # removed, or if the value is a relative name.
4401 MKDIR_P
="$ac_install_sh -d"
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4405 $as_echo "$MKDIR_P" >&6; }
4407 for ac_prog
in gawk mawk nawk
awk
4409 # Extract the first word of "$ac_prog", so it can be a program name with args.
4410 set dummy
$ac_prog; ac_word
=$2
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4412 $as_echo_n "checking for $ac_word... " >&6; }
4413 if ${ac_cv_prog_AWK+:} false
; then :
4414 $as_echo_n "(cached) " >&6
4416 if test -n "$AWK"; then
4417 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4423 test -z "$as_dir" && as_dir
=.
4424 for ac_exec_ext
in '' $ac_executable_extensions; do
4425 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4426 ac_cv_prog_AWK
="$ac_prog"
4427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4437 if test -n "$AWK"; then
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4439 $as_echo "$AWK" >&6; }
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4442 $as_echo "no" >&6; }
4446 test -n "$AWK" && break
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4450 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4452 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4453 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4454 $as_echo_n "(cached) " >&6
4456 cat >conftest.
make <<\_ACEOF
4459 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4461 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4462 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4464 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4466 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4470 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4472 $as_echo "yes" >&6; }
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4477 SET_MAKE
="MAKE=${MAKE-make}"
4480 rm -rf .tst
2>/dev
/null
4481 mkdir .tst
2>/dev
/null
4482 if test -d .tst
; then
4487 rmdir .tst
2>/dev
/null
4489 DEPDIR
="${am__leading_dot}deps"
4491 ac_config_commands
="$ac_config_commands depfiles"
4494 am_make
=${MAKE-make}
4495 cat > confinc
<< 'END'
4497 @
echo this is the am__doit target
4500 # If we don't find an include directive, just comment out the code.
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4502 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4506 # First try GNU make style include.
4507 echo "include confinc" > confmf
4508 # Ignore all kinds of additional output from 'make'.
4509 case `$am_make -s -f confmf 2> /dev/null` in #(
4510 *the\ am__doit\ target
*)
4516 # Now try BSD make style include.
4517 if test "$am__include" = "#"; then
4518 echo '.include "confinc"' > confmf
4519 case `$am_make -s -f confmf 2> /dev/null` in #(
4520 *the\ am__doit\ target
*)
4521 am__include
=.include
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4530 $as_echo "$_am_result" >&6; }
4531 rm -f confinc confmf
4533 # Check whether --enable-dependency-tracking was given.
4534 if test "${enable_dependency_tracking+set}" = set; then :
4535 enableval
=$enable_dependency_tracking;
4538 if test "x$enable_dependency_tracking" != xno
; then
4539 am_depcomp
="$ac_aux_dir/depcomp"
4543 if test "x$enable_dependency_tracking" != xno; then
4552 # Check whether --enable-silent-rules was given.
4553 if test "${enable_silent_rules+set}" = set; then :
4554 enableval
=$enable_silent_rules;
4557 case $enable_silent_rules in # (((
4558 yes) AM_DEFAULT_VERBOSITY
=0;;
4559 no
) AM_DEFAULT_VERBOSITY
=1;;
4560 *) AM_DEFAULT_VERBOSITY
=1;;
4562 am_make
=${MAKE-make}
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4564 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4565 if ${am_cv_make_support_nested_variables+:} false
; then :
4566 $as_echo_n "(cached) " >&6
4568 if $as_echo 'TRUE=$(BAR$(V))
4574 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4575 am_cv_make_support_nested_variables
=yes
4577 am_cv_make_support_nested_variables
=no
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4581 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4582 if test $am_cv_make_support_nested_variables = yes; then
4584 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4586 AM_V
=$AM_DEFAULT_VERBOSITY
4587 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4591 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4592 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4593 # is not polluted with repeated "-I."
4594 am__isrc
=' -I$(srcdir)'
4595 # test to see if srcdir already configured
4596 if test -f $srcdir/config.status
; then
4597 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4601 # test whether we have cygpath
4602 if test -z "$CYGPATH_W"; then
4603 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4604 CYGPATH_W
='cygpath -w'
4611 # Define the identity of the package.
4616 cat >>confdefs.h
<<_ACEOF
4617 #define PACKAGE "$PACKAGE"
4621 cat >>confdefs.h
<<_ACEOF
4622 #define VERSION "$VERSION"
4625 # Some tools Automake needs.
4627 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4630 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4633 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4636 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4639 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4641 # For better backward compatibility. To be removed once Automake 1.9.x
4642 # dies out for good. For more background, see:
4643 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4644 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4645 mkdir_p
='$(MKDIR_P)'
4647 # We need awk for the "check" target (and possibly the TAP driver). The
4648 # system "awk" is bad on some platforms.
4649 # Always define AMTAR for backward compatibility. Yes, it's still used
4650 # in the wild :-( We should find a proper way to deprecate it ...
4654 # We'll loop over all known methods to create a tar archive until one works.
4655 _am_tools
='gnutar pax cpio none'
4657 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4663 depcc
="$CC" am_compiler_list
=
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4666 $as_echo_n "checking dependency style of $depcc... " >&6; }
4667 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4668 $as_echo_n "(cached) " >&6
4670 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4671 # We make a subdir and do the tests there. Otherwise we can end up
4672 # making bogus files that we don't know about and never remove. For
4673 # instance it was reported that on HP-UX the gcc test will end up
4674 # making a dummy file named 'D' -- because '-MD' means "put the output
4678 # Copy depcomp to subdir because otherwise we won't find it if we're
4679 # using a relative directory.
4680 cp "$am_depcomp" conftest.dir
4682 # We will build objects and dependencies in a subdirectory because
4683 # it helps to detect inapplicable dependency modes. For instance
4684 # both Tru64's cc and ICC support -MD to output dependencies as a
4685 # side effect of compilation, but ICC will put the dependencies in
4686 # the current directory while Tru64 will put them in the object
4690 am_cv_CC_dependencies_compiler_type
=none
4691 if test "$am_compiler_list" = ""; then
4692 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4695 case " $depcc " in #(
4696 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4699 for depmode
in $am_compiler_list; do
4700 # Setup a source with many dependencies, because some compilers
4701 # like to wrap large dependency lists on column 80 (with \), and
4702 # we should not choose a depcomp mode which is confused by this.
4704 # We need to recreate these files for each test, as the compiler may
4705 # overwrite some of them when testing with obscure command lines.
4706 # This happens at least with the AIX C compiler.
4708 for i
in 1 2 3 4 5 6; do
4709 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4710 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4711 # Solaris 10 /bin/sh.
4712 echo '/* dummy */' > sub
/conftst
$i.h
4714 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4716 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4717 # mode. It turns out that the SunPro C++ compiler does not properly
4718 # handle '-M -o', and we need to detect this. Also, some Intel
4719 # versions had trouble with output in subdirs.
4720 am__obj
=sub
/conftest.
${OBJEXT-o}
4721 am__minus_obj
="-o $am__obj"
4724 # This depmode causes a compiler race in universal mode.
4725 test "$am__universal" = false ||
continue
4728 # After this tag, mechanisms are not by side-effect, so they'll
4729 # only be used when explicitly requested.
4730 if test "x$enable_dependency_tracking" = xyes
; then
4736 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4737 # This compiler won't grok '-c -o', but also, the minuso test has
4738 # not run yet. These depmodes are late enough in the game, and
4739 # so weak that their functioning should not be impacted.
4740 am__obj
=conftest.
${OBJEXT-o}
4745 if depmode
=$depmode \
4746 source=sub
/conftest.c object
=$am__obj \
4747 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4748 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4749 >/dev
/null
2>conftest.err
&&
4750 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4751 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4752 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4753 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4754 # icc doesn't choke on unknown options, it will just issue warnings
4755 # or remarks (even with -Werror). So we grep stderr for any message
4756 # that says an option was ignored or not supported.
4757 # When given -MP, icc 7.0 and 7.1 complain thusly:
4758 # icc: Command line warning: ignoring option '-M'; no argument required
4759 # The diagnosis changed in icc 8.0:
4760 # icc: Command line remark: option '-MP' not supported
4761 if (grep 'ignoring option' conftest.err ||
4762 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4763 am_cv_CC_dependencies_compiler_type
=$depmode
4772 am_cv_CC_dependencies_compiler_type
=none
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4777 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4778 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4781 test "x$enable_dependency_tracking" != xno \
4782 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4784 am__fastdepCC_FALSE
='#'
4786 am__fastdepCC_TRUE
='#'
4787 am__fastdepCC_FALSE
=
4792 # POSIX will say in a future version that running "rm -f" with no argument
4793 # is OK; and we want to be able to make that assumption in our Makefile
4794 # recipes. So use an aggressive probe to check that the usage we want is
4795 # actually supported "in the wild" to an acceptable degree.
4796 # See automake bug#10828.
4797 # To make any issue more visible, cause the running configure to be aborted
4798 # by default if the 'rm' program in use doesn't match our expectations; the
4799 # user can still override this though.
4800 if rm -f && rm -fr && rm -rf; then : OK
; else
4804 Your 'rm' program seems unable to run without file operands specified
4805 on the command line, even when the '-f' option is present. This is contrary
4806 to the behaviour of most rm programs out there, and not conforming with
4807 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4809 Please tell bug-automake@gnu.org about your system, including the value
4810 of your $PATH and any error possibly output before this message. This
4811 can help us improve future automake versions.
4814 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4815 echo 'Configuration will proceed anyway, since you have set the' >&2
4816 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4820 Aborting the configuration process, to ensure you take notice of the issue.
4822 You can download and install GNU coreutils to get an 'rm' implementation
4823 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4825 If you want to complete the configuration process using your problematic
4826 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4827 to "yes", and re-run configure.
4830 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4835 # If a cpu ever has more than one simulator to choose from, use
4836 # --enable-sim=... to choose.
4837 # Check whether --enable-sim was given.
4838 if test "${enable_sim+set}" = set; then :
4839 enableval
=$enable_sim; case "${enableval}" in
4841 *) as_fn_error $?
"bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
4846 # Check whether --enable-example-sims was given.
4847 if test "${enable_example_sims+set}" = set; then :
4848 enableval
=$enable_example_sims;
4852 # Check whether --enable-targets was given.
4853 if test "${enable_targets+set}" = set; then :
4854 enableval
=$enable_targets; case "${enableval}" in
4855 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
4857 no
) enable_targets
= ;;
4858 *) enable_targets
=$enableval ;;
4868 if test "${enable_sim}" != no
; then
4870 for targ
in `echo $target $enable_targets | sed 's/,/ /g'`
4875 if test "${targ}" = "${target}"; then
4876 SIM_PRIMARY_TARGET
=aarch64
4880 subdirs
="$subdirs aarch64"
4889 if test "${targ}" = "${target}"; then
4890 SIM_PRIMARY_TARGET
=arm
4892 subdirs
="$subdirs arm"
4901 if test "${targ}" = "${target}"; then
4902 SIM_PRIMARY_TARGET
=avr
4904 subdirs
="$subdirs avr"
4913 if test "${targ}" = "${target}"; then
4914 SIM_PRIMARY_TARGET
=bfin
4916 subdirs
="$subdirs bfin"
4925 if test "${targ}" = "${target}"; then
4926 SIM_PRIMARY_TARGET
=bpf
4928 subdirs
="$subdirs bpf"
4937 if test "${targ}" = "${target}"; then
4938 SIM_PRIMARY_TARGET
=cr16
4940 subdirs
="$subdirs cr16"
4948 all|cris-
*-* | crisv32-
*-*)
4949 if test "${targ}" = "${target}"; then
4950 SIM_PRIMARY_TARGET
=cris
4952 subdirs
="$subdirs cris"
4961 if test "${targ}" = "${target}"; then
4962 SIM_PRIMARY_TARGET
=d10v
4964 subdirs
="$subdirs d10v"
4973 if test "${targ}" = "${target}"; then
4974 SIM_PRIMARY_TARGET
=frv
4976 subdirs
="$subdirs frv"
4985 if test "${targ}" = "${target}"; then
4986 SIM_PRIMARY_TARGET
=h8300
4988 subdirs
="$subdirs h8300"
4997 if test "${targ}" = "${target}"; then
4998 SIM_PRIMARY_TARGET
=iq2000
5000 subdirs
="$subdirs iq2000"
5009 if test "${targ}" = "${target}"; then
5010 SIM_PRIMARY_TARGET
=lm32
5012 subdirs
="$subdirs lm32"
5021 if test "${targ}" = "${target}"; then
5022 SIM_PRIMARY_TARGET
=m32c
5024 subdirs
="$subdirs m32c"
5033 if test "${targ}" = "${target}"; then
5034 SIM_PRIMARY_TARGET
=m32r
5036 subdirs
="$subdirs m32r"
5044 all|m68hc11-
*-*|m6811-
*-*)
5045 if test "${targ}" = "${target}"; then
5046 SIM_PRIMARY_TARGET
=m68hc11
5048 subdirs
="$subdirs m68hc11"
5057 if test "${targ}" = "${target}"; then
5058 SIM_PRIMARY_TARGET
=mcore
5060 subdirs
="$subdirs mcore"
5069 if test "${targ}" = "${target}"; then
5070 SIM_PRIMARY_TARGET
=microblaze
5072 subdirs
="$subdirs microblaze"
5081 if test "${targ}" = "${target}"; then
5082 SIM_PRIMARY_TARGET
=mips
5084 subdirs
="$subdirs mips"
5093 if test "${targ}" = "${target}"; then
5094 SIM_PRIMARY_TARGET
=mn10300
5096 subdirs
="$subdirs mn10300"
5105 if test "${targ}" = "${target}"; then
5106 SIM_PRIMARY_TARGET
=moxie
5108 subdirs
="$subdirs moxie"
5117 if test "${targ}" = "${target}"; then
5118 SIM_PRIMARY_TARGET
=msp430
5120 subdirs
="$subdirs msp430"
5128 all|or1k-
*-* | or1knd-
*-*)
5129 if test "${targ}" = "${target}"; then
5130 SIM_PRIMARY_TARGET
=or1k
5132 subdirs
="$subdirs or1k"
5141 if test "${targ}" = "${target}"; then
5142 SIM_PRIMARY_TARGET
=pru
5144 subdirs
="$subdirs pru"
5153 if test "${targ}" = "${target}"; then
5154 SIM_PRIMARY_TARGET
=riscv
5156 subdirs
="$subdirs riscv"
5165 if test "${targ}" = "${target}"; then
5166 SIM_PRIMARY_TARGET
=rl78
5168 subdirs
="$subdirs rl78"
5177 if test "${targ}" = "${target}"; then
5178 SIM_PRIMARY_TARGET
=rx
5180 subdirs
="$subdirs rx"
5189 if test "${targ}" = "${target}"; then
5190 SIM_PRIMARY_TARGET
=sh
5192 subdirs
="$subdirs sh"
5200 all|sparc-
*-rtems*|sparc-
*-elf*)
5201 if test "${targ}" = "${target}"; then
5202 SIM_PRIMARY_TARGET
=erc32
5204 subdirs
="$subdirs erc32"
5213 if test "${targ}" = "${target}"; then
5214 SIM_PRIMARY_TARGET
=ppc
5216 subdirs
="$subdirs ppc"
5225 if test "${targ}" = "${target}"; then
5226 SIM_PRIMARY_TARGET
=ft32
5228 subdirs
="$subdirs ft32"
5237 if test "${targ}" = "${target}"; then
5238 SIM_PRIMARY_TARGET
=v850
5240 subdirs
="$subdirs v850"
5248 if test "x${enable_example_sims}" = xyes
; then
5249 subdirs
="$subdirs example-synacor"
5253 if test "$sim_igen" = "yes"; then
5254 SIM_ENABLE_IGEN_TRUE
=
5255 SIM_ENABLE_IGEN_FALSE
='#'
5257 SIM_ENABLE_IGEN_TRUE
='#'
5258 SIM_ENABLE_IGEN_FALSE
=
5262 ac_config_files
="$ac_config_files Makefile"
5264 cat >confcache
<<\_ACEOF
5265 # This file is a shell script that caches the results of configure
5266 # tests run on this system so they can be shared between configure
5267 # scripts and configure runs, see configure's option --config-cache.
5268 # It is not useful on other systems. If it contains results you don't
5269 # want to keep, you may remove or edit it.
5271 # config.status only pays attention to the cache file if you give it
5272 # the --recheck option to rerun configure.
5274 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5275 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5280 # The following way of writing the cache mishandles newlines in values,
5281 # but we know of no workaround that is simple, portable, and efficient.
5282 # So, we kill variables containing newlines.
5283 # Ultrix sh set writes to stderr and can't be redirected directly,
5284 # and sets the high bit in the cache file unless we assign to the vars.
5286 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5287 eval ac_val
=\$
$ac_var
5291 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5292 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5295 _ | IFS | as_nl
) ;; #(
5296 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5297 *) { eval $ac_var=; unset $ac_var;} ;;
5303 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5304 *${as_nl}ac_space
=\
*)
5305 # `set' does not quote correctly, so add quotes: double-quote
5306 # substitution turns \\\\ into \\, and sed turns \\ into \.
5309 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5312 # `set' quotes correctly as required by POSIX, so do not add quotes.
5313 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5322 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5324 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5326 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5327 if test -w "$cache_file"; then
5328 if test "x$cache_file" != "x/dev/null"; then
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5330 $as_echo "$as_me: updating cache $cache_file" >&6;}
5331 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5332 cat confcache
>"$cache_file"
5334 case $cache_file in #(
5336 mv -f confcache
"$cache_file"$$
&&
5337 mv -f "$cache_file"$$
"$cache_file" ;; #(
5339 mv -f confcache
"$cache_file" ;;
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5345 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5350 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5351 # Let make expand exec_prefix.
5352 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5354 # Transform confdefs.h into DEFS.
5355 # Protect against shell expansion while executing Makefile rules.
5356 # Protect against Makefile macro expansion.
5358 # If the first sed substitution is executed (which looks for macros that
5359 # take arguments), then branch to the quote section. Otherwise,
5360 # look for a macro that doesn't take arguments.
5370 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5372 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5376 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5389 DEFS
=`sed -n "$ac_script" confdefs.h`
5395 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5396 # 1. Remove the extension, and $U if already installed.
5397 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5398 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5399 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5400 # will be set to the directory where LIBOBJS objects are built.
5401 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5402 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5406 LTLIBOBJS
=$ac_ltlibobjs
5410 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5411 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
5412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5415 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5416 if test -n "$am_sleep_pid"; then
5417 # Hide warnings about reused PIDs.
5418 wait $am_sleep_pid 2>/dev
/null
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5421 $as_echo "done" >&6; }
5422 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5423 as_fn_error $?
"conditional \"AMDEP\" was never defined.
5424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5426 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5427 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5430 if test -n "$EXEEXT"; then
5432 am__EXEEXT_FALSE
='#'
5438 if test -z "${SIM_ENABLE_IGEN_TRUE}" && test -z "${SIM_ENABLE_IGEN_FALSE}"; then
5439 as_fn_error $?
"conditional \"SIM_ENABLE_IGEN\" was never defined.
5440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5443 : "${CONFIG_STATUS=./config.status}"
5445 ac_clean_files_save
=$ac_clean_files
5446 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5448 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5450 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5452 # Generated by $as_me.
5453 # Run this file to recreate the current configuration.
5454 # Compiler output produced by configure, useful for debugging
5455 # configure, is in config.log if it exists.
5461 SHELL=\${CONFIG_SHELL-$SHELL}
5464 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5465 ## -------------------- ##
5466 ## M4sh Initialization. ##
5467 ## -------------------- ##
5469 # Be more Bourne compatible
5470 DUALCASE
=1; export DUALCASE
# for MKS sh
5471 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5474 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5475 # is contrary to our usage. Disable this feature.
5476 alias -g '${1+"$@"}'='"$@"'
5477 setopt NO_GLOB_SUBST
5479 case `(set -o) 2>/dev/null` in #(
5491 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5492 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5493 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5494 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5495 # Prefer a ksh shell builtin over an external printf program on Solaris,
5496 # but without wasting forks for bash or zsh.
5497 if test -z "$BASH_VERSION$ZSH_VERSION" \
5498 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5499 as_echo='print
-r --'
5500 as_echo_n='print
-rn --'
5501 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5502 as_echo='printf %s
\n'
5503 as_echo_n='printf %s
'
5505 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5506 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5507 as_echo_n='/usr
/ucb
/echo -n'
5509 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5510 as_echo_n_body='eval
5514 expr "X$arg" : "X\\(.*\\)$as_nl";
5515 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5517 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5519 export as_echo_n_body
5520 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5523 as_echo='sh
-c $as_echo_body as_echo
'
5526 # The user is always right.
5527 if test "${PATH_SEPARATOR+set}" != set; then
5529 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5530 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5537 # We need space, tab and new line, in precisely that order. Quoting is
5538 # there to prevent editors from complaining about space-tab.
5539 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5540 # splitting by setting IFS to empty value.)
5543 # Find who we are. Look in the path if we contain no directory separator.
5546 *[\\/]* ) as_myself=$0 ;;
5547 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551 test -z "$as_dir" && as_dir=.
5552 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5558 # We did not find ourselves, most probably we were run as `sh COMMAND'
5559 # in which case we are not to be found in the path.
5560 if test "x$as_myself" = x
; then
5563 if test ! -f "$as_myself"; then
5564 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5568 # Unset variables that we do not need and which cause bugs (e.g. in
5569 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5570 # suppresses any "Segmentation fault" message there. '((' could
5571 # trigger a bug in pdksh 5.2.14.
5572 for as_var
in BASH_ENV ENV MAIL MAILPATH
5573 do eval test x\
${$as_var+set} = xset \
5574 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5587 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5590 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5591 # ----------------------------------------
5592 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5593 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5594 # script with STATUS, using 1 if that was 0.
5597 as_status
=$1; test $as_status -eq 0 && as_status
=1
5599 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5600 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5602 $as_echo "$as_me: error: $2" >&2
5603 as_fn_exit
$as_status
5607 # as_fn_set_status STATUS
5608 # -----------------------
5609 # Set $? to STATUS, without forking.
5613 } # as_fn_set_status
5617 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5627 # Portably unset VAR.
5630 { eval $1=; unset $1;}
5632 as_unset
=as_fn_unset
5633 # as_fn_append VAR VALUE
5634 # ----------------------
5635 # Append the text in VALUE to the end of the definition contained in VAR. Take
5636 # advantage of any shell optimizations that allow amortized linear growth over
5637 # repeated appends, instead of the typical quadratic growth present in naive
5639 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5640 eval 'as_fn_append ()
5651 # as_fn_arith ARG...
5652 # ------------------
5653 # Perform arithmetic evaluation on the ARGs, and store the result in the
5654 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5655 # must be portable across $(()) and expr.
5656 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5657 eval 'as_fn_arith ()
5664 as_val
=`expr "$@" || test $? -eq 1`
5669 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5670 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5676 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5677 as_basename
=basename
5682 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5688 as_me
=`$as_basename -- "$0" ||
5689 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5690 X"$0" : 'X\(//\)$' \| \
5691 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5693 sed '/^.*\/\([^/][^/]*\)\/*$/{
5707 # Avoid depending upon Character Ranges.
5708 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5709 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5710 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5711 as_cr_digits
='0123456789'
5712 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5714 ECHO_C
= ECHO_N
= ECHO_T
=
5715 case `echo -n x` in #(((((
5717 case `echo 'xy\c'` in
5718 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5720 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5727 rm -f conf$$ conf$$.exe conf$$.
file
5728 if test -d conf$$.dir
; then
5729 rm -f conf$$.dir
/conf$$.
file
5732 mkdir conf$$.dir
2>/dev
/null
5734 if (echo >conf$$.
file) 2>/dev
/null
; then
5735 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5737 # ... but there are two gotchas:
5738 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5739 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5740 # In both cases, we have to default to `cp -pR'.
5741 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5743 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5751 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5752 rmdir conf$$.dir
2>/dev
/null
5757 # Create "$as_dir" as a directory, including parents if necessary.
5762 -*) as_dir
=.
/$as_dir;;
5764 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5768 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5769 *) as_qdir
=$as_dir;;
5771 as_dirs
="'$as_qdir' $as_dirs"
5772 as_dir
=`$as_dirname -- "$as_dir" ||
5773 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5774 X"$as_dir" : 'X\(//\)[^/]' \| \
5775 X"$as_dir" : 'X\(//\)$' \| \
5776 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5777 $as_echo X"$as_dir" |
5778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5795 test -d "$as_dir" && break
5797 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5798 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5802 if mkdir
-p .
2>/dev
/null
; then
5803 as_mkdir_p
='mkdir -p "$as_dir"'
5805 test -d .
/-p && rmdir .
/-p
5810 # as_fn_executable_p FILE
5811 # -----------------------
5812 # Test if FILE is an executable regular file.
5813 as_fn_executable_p
()
5815 test -f "$1" && test -x "$1"
5816 } # as_fn_executable_p
5818 as_executable_p
=as_fn_executable_p
5820 # Sed expression to map a string onto a valid CPP name.
5821 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5823 # Sed expression to map a string onto a valid variable name.
5824 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5828 ## ----------------------------------- ##
5829 ## Main body of $CONFIG_STATUS script. ##
5830 ## ----------------------------------- ##
5832 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5835 # Save the log message, to keep $0 and so on meaningful, and to
5836 # report actual input values of CONFIG_FILES etc. instead of their
5837 # values after options handling.
5839 This file was extended by sim $as_me 0, which was
5840 generated by GNU Autoconf 2.69. Invocation command line was
5842 CONFIG_FILES = $CONFIG_FILES
5843 CONFIG_HEADERS = $CONFIG_HEADERS
5844 CONFIG_LINKS = $CONFIG_LINKS
5845 CONFIG_COMMANDS = $CONFIG_COMMANDS
5848 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5853 case $ac_config_files in *"
5854 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5860 # Files that config.status was made for.
5861 config_files="$ac_config_files"
5862 config_commands="$ac_config_commands"
5866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5868 \`$as_me' instantiates files and other configuration actions
5869 from templates according to the current configuration. Unless the files
5870 and actions are specified as TAGs, all are instantiated by default.
5872 Usage: $0 [OPTION]... [TAG]...
5874 -h, --help print this help, then exit
5875 -V, --version print version number and configuration settings, then exit
5876 --config print configuration, then exit
5877 -q, --quiet, --silent
5878 do not print progress messages
5879 -d, --debug don't remove temporary files
5880 --recheck update $as_me by reconfiguring in the same conditions
5881 --file=FILE[:TEMPLATE]
5882 instantiate the configuration file FILE
5884 Configuration files:
5887 Configuration commands:
5890 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
5891 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
5894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5895 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5898 configured by $0, generated by GNU Autoconf 2.69,
5899 with options \\"\$ac_cs_config\\"
5901 Copyright (C) 2012 Free Software Foundation, Inc.
5902 This config.status script is free software; the Free Software Foundation
5903 gives unlimited permission to copy, distribute and modify it."
5910 test -n "\$AWK" || AWK=awk
5913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5914 # The default lists apply if the user does not specify any file.
5920 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5921 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5925 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5937 # Handling of the options.
5938 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5940 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5941 $as_echo "$ac_cs_version"; exit ;;
5942 --config |
--confi |
--conf |
--con |
--co |
--c )
5943 $as_echo "$ac_cs_config"; exit ;;
5944 --debug |
--debu |
--deb |
--de |
--d |
-d )
5946 --file |
--fil |
--fi |
--f )
5949 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5950 '') as_fn_error $?
"missing file argument" ;;
5952 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5953 ac_need_defaults
=false
;;
5954 --he |
--h |
--help |
--hel |
-h )
5955 $as_echo "$ac_cs_usage"; exit ;;
5956 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5957 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5961 -*) as_fn_error $?
"unrecognized option: \`$1'
5962 Try \`$0 --help' for more information." ;;
5964 *) as_fn_append ac_config_targets
" $1"
5965 ac_need_defaults
=false
;;
5971 ac_configure_extra_args
=
5973 if $ac_cs_silent; then
5975 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5980 if \$ac_cs_recheck; then
5981 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5983 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5984 CONFIG_SHELL='$SHELL'
5990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5994 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5995 ## Running $as_me. ##
6001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6005 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6011 # Handling of arguments.
6012 for ac_config_target
in $ac_config_targets
6014 case $ac_config_target in
6015 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6016 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6018 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6023 # If the user did not use the arguments to specify the items to instantiate,
6024 # then the envvar interface is used. Set only those that are not.
6025 # We use the long form for the default assignment because of an extremely
6026 # bizarre bug on SunOS 4.1.3.
6027 if $ac_need_defaults; then
6028 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6029 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6032 # Have a temporary directory for convenience. Make it in the build tree
6033 # simply because there is no reason against having it here, and in addition,
6034 # creating and moving files from /tmp can sometimes cause problems.
6035 # Hook for its removal unless debugging.
6036 # Note that there is a small window in which the directory will not be cleaned:
6037 # after its creation but before its name has been assigned to `$tmp'.
6041 trap 'exit_status=$?
6043 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6045 trap 'as_fn_exit 1' 1 2 13 15
6047 # Create a (secure) tmp directory for tmp files.
6050 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6054 tmp
=.
/conf$$
-$RANDOM
6055 (umask 077 && mkdir
"$tmp")
6056 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6059 # Set up the scripts for CONFIG_FILES section.
6060 # No need to generate them if there are no CONFIG_FILES.
6061 # This happens for instance with `./config.status config.h'.
6062 if test -n "$CONFIG_FILES"; then
6065 ac_cr
=`echo X | tr X '\015'`
6066 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6067 # But we know of no other shell where ac_cr would be empty at this
6068 # point, so we can use a bashism as a fallback.
6069 if test "x$ac_cr" = x
; then
6070 eval ac_cr
=\$
\'\\r
\'
6072 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6073 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6079 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6084 echo "cat >conf$$subs.awk <<_ACEOF" &&
6085 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6088 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6089 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6091 for ac_last_try in false false false false false :; do
6092 . ./conf$$subs.sh ||
6093 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6095 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6096 if test $ac_delim_n = $ac_delim_num; then
6098 elif $ac_last_try; then
6099 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6101 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6107 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6111 s/^/S["/; s
/!.
*/"]=/
6121 s/\(.\{148\}\)..*/\1/
6123 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6128 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6135 s/\(.\{148\}\)..*/\1/
6137 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6141 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6146 ' <conf$$subs.awk | sed '
6151 ' >>$CONFIG_STATUS || ac_write_fail=1
6152 rm -f conf$$subs.awk
6153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6155 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6156 for (key in S) S_is_set[key] = 1
6162 nfields = split(line, field, "@
")
6164 len = length(field[1])
6165 for (i = 2; i < nfields; i++) {
6167 keylen = length(key)
6168 if (S_is_set[key]) {
6170 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6171 len += length(value) + length(field[++i])
6182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6183 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6184 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6187 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6188 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6191 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6192 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6193 # trailing colons and then remove the whole line if VPATH becomes empty
6194 # (actually we leave an empty line to preserve line numbers).
6195 if test "x
$srcdir" = x.; then
6196 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6215 fi # test -n "$CONFIG_FILES"
6218 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
6223 :[FHLC]) ac_mode=$ac_tag; continue;;
6225 case $ac_mode$ac_tag in
6227 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
6228 :[FH]-) ac_tag=-:-;;
6229 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6246 -) ac_f="$ac_tmp/stdin";;
6247 *) # Look for the file first in the build tree, then in the source tree
6248 # (if the path is not absolute). The absolute path cannot be DOS-style,
6249 # because $ac_f cannot contain `:'.
6253 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6255 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6257 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
6258 as_fn_append ac_file_inputs " '$ac_f'"
6261 # Let's still pretend it is `configure' which instantiates (i.e., don't
6262 # use $as_me), people would be surprised to read:
6263 # /* config.h. Generated by config.status. */
6264 configure_input='Generated from '`
6265 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6267 if test x"$ac_file" != x-; then
6268 configure_input="$ac_file.
$configure_input"
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
6270 $as_echo "$as_me: creating
$ac_file" >&6;}
6272 # Neutralize special characters interpreted by sed in replacement strings.
6273 case $configure_input in #(
6274 *\&* | *\|* | *\\* )
6275 ac_sed_conf_input=`$as_echo "$configure_input" |
6276 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6277 *) ac_sed_conf_input=$configure_input;;
6281 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
6282 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
6287 ac_dir=`$as_dirname -- "$ac_file" ||
6288 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6289 X"$ac_file" : 'X\(//\)[^/]' \| \
6290 X"$ac_file" : 'X\(//\)$' \| \
6291 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6292 $as_echo X"$ac_file" |
6293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6310 as_dir="$ac_dir"; as_fn_mkdir_p
6314 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6316 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6317 # A "..
" for each directory in $ac_dir_suffix.
6318 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6319 case $ac_top_builddir_sub in
6320 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6321 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6324 ac_abs_top_builddir=$ac_pwd
6325 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6326 # for backward compatibility:
6327 ac_top_builddir=$ac_top_build_prefix
6330 .) # We are building in place.
6332 ac_top_srcdir=$ac_top_builddir_sub
6333 ac_abs_top_srcdir=$ac_pwd ;;
6334 [\\/]* | ?:[\\/]* ) # Absolute name.
6335 ac_srcdir=$srcdir$ac_dir_suffix;
6336 ac_top_srcdir=$srcdir
6337 ac_abs_top_srcdir=$srcdir ;;
6339 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6340 ac_top_srcdir=$ac_top_build_prefix$srcdir
6341 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6343 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6353 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6354 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6358 [\\/$]* | ?:[\\/]* ) ;;
6359 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6364 # If the template does not know about datarootdir, expand it.
6365 # FIXME: This hack should be removed a few years after 2.60.
6366 ac_datarootdir_hack=; ac_datarootdir_seen=
6377 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
6378 *datarootdir*) ac_datarootdir_seen=yes;;
6379 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
6381 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
6383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6384 ac_datarootdir_hack='
6385 s&@datadir@&$datadir&g
6386 s&@docdir@&$docdir&g
6387 s&@infodir@&$infodir&g
6388 s&@localedir@&$localedir&g
6389 s&@mandir@&$mandir&g
6390 s&\\\${datarootdir}&$datarootdir&g' ;;
6394 # Neutralize VPATH when `$srcdir' = `.'.
6395 # Shell code in configure.ac might set extrasub.
6396 # FIXME: do we really want to maintain this feature?
6397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6398 ac_sed_extra="$ac_vpsub
6401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6403 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6404 s|@configure_input@|
$ac_sed_conf_input|
;t t
6405 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6406 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6407 s
&@srcdir@
&$ac_srcdir&;t t
6408 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6409 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6410 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6411 s
&@builddir@
&$ac_builddir&;t t
6412 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6413 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6414 s
&@INSTALL@
&$ac_INSTALL&;t t
6415 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
6416 $ac_datarootdir_hack
6418 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6419 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6421 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6422 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6423 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6424 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6426 which seems to be undefined. Please make sure it is defined" >&5
6427 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6428 which seems to be undefined. Please make sure it is defined" >&2;}
6430 rm -f "$ac_tmp/stdin"
6432 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6433 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6435 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6439 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6440 $as_echo "$as_me: executing $ac_file commands" >&6;}
6445 case $ac_file$ac_mode in
6446 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6447 # Older Autoconf quotes --file arguments for eval, but not when files
6448 # are listed without --file. Let's play safe and only
enable the
eval
6449 # if we detect the quoting.
6450 case $CONFIG_FILES in
6451 *\'*) eval set x
"$CONFIG_FILES" ;;
6452 *) set x
$CONFIG_FILES ;;
6457 # Strip MF so we end up with the name of the file.
6458 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6459 # Check whether this is an Automake generated Makefile or not.
6460 # We used to match only the files named 'Makefile.in', but
6461 # some people rename them; so instead we look at the file content.
6462 # Grep'ing the first line is not enough: some people post-process
6463 # each Makefile.in and add a new line on top of each file to say so.
6464 # Grep'ing the whole file is not good either: AIX grep has a line
6465 # limit of 2048, but all sed's we know have understand at least 4000.
6466 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
6467 dirpart
=`$as_dirname -- "$mf" ||
6468 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6469 X"$mf" : 'X\(//\)[^/]' \| \
6470 X"$mf" : 'X\(//\)$' \| \
6471 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6473 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6493 # Extract the definition of DEPDIR, am__include, and am__quote
6494 # from the Makefile without running 'make'.
6495 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6496 test -z "$DEPDIR" && continue
6497 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6498 test -z "$am__include" && continue
6499 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6500 # Find all dependency output files, they are included files with
6501 # $(DEPDIR) in their names. We invoke sed twice because it is the
6502 # simplest approach to changing $(DEPDIR) to its actual value in the
6504 for file in `sed -n "
6505 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6506 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6507 # Make sure the directory exists.
6508 test -f "$dirpart/$file" && continue
6509 fdir
=`$as_dirname -- "$file" ||
6510 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6511 X"$file" : 'X\(//\)[^/]' \| \
6512 X"$file" : 'X\(//\)$' \| \
6513 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6532 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
6533 # echo "creating $dirpart/$file"
6534 echo '# dummy' > "$dirpart/$file"
6546 ac_clean_files
=$ac_clean_files_save
6548 test $ac_write_fail = 0 ||
6549 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6552 # configure is writing to config.log, and then calls config.status.
6553 # config.status does its own redirection, appending to config.log.
6554 # Unfortunately, on DOS this fails, as config.log is still kept open
6555 # by configure, so config.status won't be able to write to it; its
6556 # output is simply discarded. So we exec the FD to /dev/null,
6557 # effectively closing config.log, so it can be properly (re)opened and
6558 # appended to by config.status. When coming back to configure, we
6559 # need to make the FD available again.
6560 if test "$no_create" != yes; then
6562 ac_config_status_args
=
6563 test "$silent" = yes &&
6564 ac_config_status_args
="$ac_config_status_args --quiet"
6566 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6568 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6569 # would make configure fail if this is the last instruction.
6570 $ac_cs_success || as_fn_exit
1
6574 # CONFIG_SUBDIRS section.
6576 if test "$no_recursion" != yes; then
6578 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
6579 # so they do not pile up.
6580 ac_sub_configure_args
=
6582 eval "set x $ac_configure_args"
6586 if test -n "$ac_prev"; then
6591 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
6592 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
6593 ac_prev
=cache_file
;;
6594 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
6595 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
6598 --config-cache |
-C)
6600 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
6602 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
6604 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
6606 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
6608 --disable-option-checking)
6612 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6614 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
6618 # Always prepend --prefix to ensure using the same prefix
6619 # in subdir configurations.
6620 ac_arg
="--prefix=$prefix"
6622 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6624 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
6627 if test "$silent" = yes; then
6628 ac_sub_configure_args
="--silent $ac_sub_configure_args"
6631 # Always prepend --disable-option-checking to silence warnings, since
6632 # different subdirs can have different --enable and --with options.
6633 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
6636 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
6638 # Do not complain, so a configure script can configure whichever
6639 # parts of a large source tree are present.
6640 test -d "$srcdir/$ac_dir" ||
continue
6642 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
6643 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
6644 $as_echo "$ac_msg" >&6
6645 as_dir
="$ac_dir"; as_fn_mkdir_p
6649 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6651 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6652 # A ".." for each directory in $ac_dir_suffix.
6653 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6654 case $ac_top_builddir_sub in
6655 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6656 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6659 ac_abs_top_builddir
=$ac_pwd
6660 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6661 # for backward compatibility:
6662 ac_top_builddir
=$ac_top_build_prefix
6665 .
) # We are building in place.
6667 ac_top_srcdir
=$ac_top_builddir_sub
6668 ac_abs_top_srcdir
=$ac_pwd ;;
6669 [\\/]* | ?
:[\\/]* ) # Absolute name.
6670 ac_srcdir
=$srcdir$ac_dir_suffix;
6671 ac_top_srcdir
=$srcdir
6672 ac_abs_top_srcdir
=$srcdir ;;
6674 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6675 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6676 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6678 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6683 # Check for guested configure; otherwise get Cygnus style configure.
6684 if test -f "$ac_srcdir/configure.gnu"; then
6685 ac_sub_configure
=$ac_srcdir/configure.gnu
6686 elif test -f "$ac_srcdir/configure"; then
6687 ac_sub_configure
=$ac_srcdir/configure
6688 elif test -f "$ac_srcdir/configure.in"; then
6689 # This should be Cygnus configure.
6690 ac_sub_configure
=$ac_aux_dir/configure
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
6693 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6697 # The recursion is here.
6698 if test -n "$ac_sub_configure"; then
6699 # Make the cache file name correct relative to the subdirectory.
6701 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
6703 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
6706 { $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
6707 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6708 # The eval makes quoting arguments work.
6709 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
6710 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
6711 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
6717 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6719 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}