2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sim 0.
5 # Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim
271 $0: about your system, including any error possibly output
272 $0: before this message. Then install a modern shell, or
273 $0: manually run the script under such a shell if you do
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Create "$as_dir" as a directory, including parents if necessary.
323 -*) as_dir
=.
/$as_dir;;
325 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
329 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
332 as_dirs
="'$as_qdir' $as_dirs"
333 as_dir
=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
356 test -d "$as_dir" && break
358 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
359 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p
()
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
378 eval 'as_fn_append ()
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
402 as_val
=`expr "$@" || test $? -eq 1`
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
414 as_status
=$1; test $as_status -eq 0 && as_status
=1
416 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit
$as_status
423 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
430 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
436 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
442 as_me
=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
461 # Avoid depending upon Character Ranges.
462 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits
='0123456789'
466 as_cr_alnum
=$as_cr_Letters$as_cr_digits
469 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
470 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
489 chmod +x
"$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec
=no
; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
500 # Exit status is that of the last command.
504 ECHO_C
= ECHO_N
= ECHO_T
=
505 case `echo -n x` in #(((((
507 case `echo 'xy\c'` in
508 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
517 rm -f conf$$ conf$$.exe conf$$.
file
518 if test -d conf$$.dir
; then
519 rm -f conf$$.dir
/conf$$.
file
522 mkdir conf$$.dir
2>/dev
/null
524 if (echo >conf$$.
file) 2>/dev
/null
; then
525 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
533 elif ln conf$$.
file conf$$
2>/dev
/null
; then
541 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
542 rmdir conf$$.dir
2>/dev
/null
544 if mkdir
-p .
2>/dev
/null
; then
545 as_mkdir_p
='mkdir -p "$as_dir"'
547 test -d .
/-p && rmdir .
/-p
552 as_executable_p
=as_fn_executable_p
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
561 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
572 ac_default_prefix
=/usr
/local
574 ac_config_libobj_dir
=.
581 # Identity of this package.
583 PACKAGE_TARNAME
='sim'
585 PACKAGE_STRING
='sim 0'
586 PACKAGE_BUGREPORT
='https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim'
587 PACKAGE_URL
='https://sourceware.org/gdb/wiki/Sim/'
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 enable_option_checking
=no
626 ac_subst_vars
='am__EXEEXT_FALSE
630 SIM_ENABLE_IGEN_FALSE
656 INSTALL_STRIP_PROGRAM
669 MAINTAINER_MODE_FALSE
729 program_transform_name
742 enable_option_checking
743 enable_maintainer_mode
744 enable_dependency_tracking
749 ac_precious_vars
='build_alias
758 ac_subdirs_all
='aarch64
790 # Initialize some variables set by options.
792 ac_init_version
=false
793 ac_unrecognized_opts
=
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
804 program_transform_name
=s
,x
,x
,
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir
='${exec_prefix}/bin'
819 sbindir
='${exec_prefix}/sbin'
820 libexecdir
='${exec_prefix}/libexec'
821 datarootdir
='${prefix}/share'
822 datadir
='${datarootdir}'
823 sysconfdir
='${prefix}/etc'
824 sharedstatedir
='${prefix}/com'
825 localstatedir
='${prefix}/var'
826 includedir
='${prefix}/include'
827 oldincludedir
='/usr/include'
828 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir
='${datarootdir}/info'
834 libdir
='${exec_prefix}/lib'
835 localedir
='${datarootdir}/locale'
836 mandir
='${datarootdir}/man'
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\
$ac_option
850 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
861 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
863 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
866 -build |
--build |
--buil |
--bui |
--bu)
867 ac_prev
=build_alias
;;
868 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
869 build_alias
=$ac_optarg ;;
871 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
872 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
873 ac_prev
=cache_file
;;
874 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
875 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
876 cache_file
=$ac_optarg ;;
879 cache_file
=config.cache
;;
881 -datadir |
--datadir |
--datadi |
--datad)
883 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
884 datadir
=$ac_optarg ;;
886 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
887 |
--dataroo |
--dataro |
--datar)
888 ac_prev
=datarootdir
;;
889 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
890 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
891 datarootdir
=$ac_optarg ;;
893 -disable-* |
--disable-*)
894 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
897 as_fn_error $?
"invalid feature name: $ac_useropt"
898 ac_useropt_orig
=$ac_useropt
899 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900 case $ac_user_opts in
904 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
905 ac_unrecognized_sep
=', ';;
907 eval enable_
$ac_useropt=no
;;
909 -docdir |
--docdir |
--docdi |
--doc |
--do)
911 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
914 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
916 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
919 -enable-* |
--enable-*)
920 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
923 as_fn_error $?
"invalid feature name: $ac_useropt"
924 ac_useropt_orig
=$ac_useropt
925 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926 case $ac_user_opts in
930 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
931 ac_unrecognized_sep
=', ';;
933 eval enable_
$ac_useropt=\
$ac_optarg ;;
935 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
936 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
937 |
--exec |
--exe |
--ex)
938 ac_prev
=exec_prefix
;;
939 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
940 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
941 |
--exec=* |
--exe=* |
--ex=*)
942 exec_prefix
=$ac_optarg ;;
944 -gas |
--gas |
--ga |
--g)
945 # Obsolete; use --with-gas.
948 -help |
--help |
--hel |
--he |
-h)
950 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
951 ac_init_help
=recursive
;;
952 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
953 ac_init_help
=short
;;
955 -host |
--host |
--hos |
--ho)
956 ac_prev
=host_alias
;;
957 -host=* |
--host=* |
--hos=* |
--ho=*)
958 host_alias
=$ac_optarg ;;
960 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
962 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
964 htmldir
=$ac_optarg ;;
966 -includedir |
--includedir |
--includedi |
--included |
--include \
967 |
--includ |
--inclu |
--incl |
--inc)
968 ac_prev
=includedir
;;
969 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
970 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
971 includedir
=$ac_optarg ;;
973 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
975 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
976 infodir
=$ac_optarg ;;
978 -libdir |
--libdir |
--libdi |
--libd)
980 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
983 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
984 |
--libexe |
--libex |
--libe)
985 ac_prev
=libexecdir
;;
986 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
987 |
--libexe=* |
--libex=* |
--libe=*)
988 libexecdir
=$ac_optarg ;;
990 -localedir |
--localedir |
--localedi |
--localed |
--locale)
992 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
993 localedir
=$ac_optarg ;;
995 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
996 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
997 ac_prev
=localstatedir
;;
998 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
999 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1000 localstatedir
=$ac_optarg ;;
1002 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1004 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1005 mandir
=$ac_optarg ;;
1007 -nfp |
--nfp |
--nf)
1008 # Obsolete; use --without-fp.
1011 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1012 |
--no-cr |
--no-c |
-n)
1015 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1016 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1019 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1020 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1021 |
--oldin |
--oldi |
--old |
--ol |
--o)
1022 ac_prev
=oldincludedir
;;
1023 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1024 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1025 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1026 oldincludedir
=$ac_optarg ;;
1028 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1030 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1031 prefix
=$ac_optarg ;;
1033 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1034 |
--program-pre |
--program-pr |
--program-p)
1035 ac_prev
=program_prefix
;;
1036 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1037 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1038 program_prefix
=$ac_optarg ;;
1040 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1041 |
--program-suf |
--program-su |
--program-s)
1042 ac_prev
=program_suffix
;;
1043 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1044 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1045 program_suffix
=$ac_optarg ;;
1047 -program-transform-name |
--program-transform-name \
1048 |
--program-transform-nam |
--program-transform-na \
1049 |
--program-transform-n |
--program-transform- \
1050 |
--program-transform |
--program-transfor \
1051 |
--program-transfo |
--program-transf \
1052 |
--program-trans |
--program-tran \
1053 |
--progr-tra |
--program-tr |
--program-t)
1054 ac_prev
=program_transform_name
;;
1055 -program-transform-name=* |
--program-transform-name=* \
1056 |
--program-transform-nam=* |
--program-transform-na=* \
1057 |
--program-transform-n=* |
--program-transform-=* \
1058 |
--program-transform=* |
--program-transfor=* \
1059 |
--program-transfo=* |
--program-transf=* \
1060 |
--program-trans=* |
--program-tran=* \
1061 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1062 program_transform_name
=$ac_optarg ;;
1064 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1066 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1067 pdfdir
=$ac_optarg ;;
1069 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1071 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1074 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1075 |
-silent |
--silent |
--silen |
--sile |
--sil)
1078 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1080 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1082 sbindir
=$ac_optarg ;;
1084 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1085 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1086 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1088 ac_prev
=sharedstatedir
;;
1089 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1090 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1091 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1093 sharedstatedir
=$ac_optarg ;;
1095 -site |
--site |
--sit)
1097 -site=* |
--site=* |
--sit=*)
1100 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1102 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1103 srcdir
=$ac_optarg ;;
1105 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1106 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1107 ac_prev
=sysconfdir
;;
1108 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1109 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1110 sysconfdir
=$ac_optarg ;;
1112 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1113 ac_prev
=target_alias
;;
1114 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1115 target_alias
=$ac_optarg ;;
1117 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1120 -version |
--version |
--versio |
--versi |
--vers |
-V)
1121 ac_init_version
=: ;;
1124 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1127 as_fn_error $?
"invalid package name: $ac_useropt"
1128 ac_useropt_orig
=$ac_useropt
1129 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1130 case $ac_user_opts in
1134 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1135 ac_unrecognized_sep
=', ';;
1137 eval with_
$ac_useropt=\
$ac_optarg ;;
1139 -without-* |
--without-*)
1140 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1143 as_fn_error $?
"invalid package name: $ac_useropt"
1144 ac_useropt_orig
=$ac_useropt
1145 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1150 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1151 ac_unrecognized_sep
=', ';;
1153 eval with_
$ac_useropt=no
;;
1156 # Obsolete; use --with-x.
1159 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1160 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1161 ac_prev
=x_includes
;;
1162 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1163 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1164 x_includes
=$ac_optarg ;;
1166 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1167 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1168 ac_prev
=x_libraries
;;
1169 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1170 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1171 x_libraries
=$ac_optarg ;;
1173 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1174 Try \`$0 --help' for more information"
1178 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1179 # Reject names that are not valid shell variable names.
1180 case $ac_envvar in #(
1181 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1182 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1184 eval $ac_envvar=\
$ac_optarg
1185 export $ac_envvar ;;
1188 # FIXME: should be removed in autoconf 3.0.
1189 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1190 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1191 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1192 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1198 if test -n "$ac_prev"; then
1199 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1200 as_fn_error $?
"missing argument to $ac_option"
1203 if test -n "$ac_unrecognized_opts"; then
1204 case $enable_option_checking in
1206 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1207 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1211 # Check all directory arguments for consistency.
1212 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1213 datadir sysconfdir sharedstatedir localstatedir includedir \
1214 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1215 libdir localedir mandir
1217 eval ac_val
=\$
$ac_var
1218 # Remove trailing slashes.
1221 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1222 eval $ac_var=\
$ac_val;;
1224 # Be sure to have absolute directory names.
1226 [\\/$
]* | ?
:[\\/]* ) continue;;
1227 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1229 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1232 # There might be people who depend on the old broken behavior: `$host'
1233 # used to hold the argument of --host etc.
1234 # FIXME: To remove some day.
1237 target
=$target_alias
1239 # FIXME: To remove some day.
1240 if test "x$host_alias" != x
; then
1241 if test "x$build_alias" = x
; then
1242 cross_compiling
=maybe
1243 elif test "x$build_alias" != "x$host_alias"; then
1249 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1251 test "$silent" = yes && exec 6>/dev
/null
1254 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1255 ac_ls_di
=`ls -di .` &&
1256 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1257 as_fn_error $?
"working directory cannot be determined"
1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1259 as_fn_error $?
"pwd does not report name of working directory"
1262 # Find the source files, if location was not specified.
1263 if test -z "$srcdir"; then
1264 ac_srcdir_defaulted
=yes
1265 # Try the directory containing this script, then the parent directory.
1266 ac_confdir
=`$as_dirname -- "$as_myself" ||
1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1268 X"$as_myself" : 'X\(//\)[^/]' \| \
1269 X"$as_myself" : 'X\(//\)$' \| \
1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1271 $as_echo X"$as_myself" |
1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1294 ac_srcdir_defaulted
=no
1296 if test ! -r "$srcdir/$ac_unique_file"; then
1297 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1298 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1300 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1302 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1304 # When building in place, set srcdir=.
1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
1308 # Remove unnecessary trailing slashes from srcdir.
1309 # Double slashes in file names in object file debugging info
1310 # mess up M-x gdb in Emacs.
1312 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1314 for ac_var
in $ac_precious_vars; do
1315 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1316 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1317 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1318 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1322 # Report the --help message.
1324 if test "$ac_init_help" = "long"; then
1325 # Omit some internal or obsolete options to make the list less imposing.
1326 # This message is too long to be a string in the A/UX 3.1 sh.
1328 \`configure' configures sim 0 to adapt to many kinds of systems.
1330 Usage: $0 [OPTION]... [VAR=VALUE]...
1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1333 VAR=VALUE. See below for descriptions of some of the useful variables.
1335 Defaults for the options are specified in brackets.
1338 -h, --help display this help and exit
1339 --help=short display options specific to this package
1340 --help=recursive display the short help of all the included packages
1341 -V, --version display version information and exit
1342 -q, --quiet, --silent do not print \`checking ...' messages
1343 --cache-file=FILE cache test results in FILE [disabled]
1344 -C, --config-cache alias for \`--cache-file=config.cache'
1345 -n, --no-create do not create output files
1346 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1348 Installation directories:
1349 --prefix=PREFIX install architecture-independent files in PREFIX
1350 [$ac_default_prefix]
1351 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1354 By default, \`make install' will install all the files in
1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1357 for instance \`--prefix=\$HOME'.
1359 For better control, use the options below.
1361 Fine tuning of the installation directories:
1362 --bindir=DIR user executables [EPREFIX/bin]
1363 --sbindir=DIR system admin executables [EPREFIX/sbin]
1364 --libexecdir=DIR program executables [EPREFIX/libexec]
1365 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1366 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1367 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1368 --libdir=DIR object code libraries [EPREFIX/lib]
1369 --includedir=DIR C header files [PREFIX/include]
1370 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1371 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1372 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1373 --infodir=DIR info documentation [DATAROOTDIR/info]
1374 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1375 --mandir=DIR man documentation [DATAROOTDIR/man]
1376 --docdir=DIR documentation root [DATAROOTDIR/doc/sim]
1377 --htmldir=DIR html documentation [DOCDIR]
1378 --dvidir=DIR dvi documentation [DOCDIR]
1379 --pdfdir=DIR pdf documentation [DOCDIR]
1380 --psdir=DIR ps documentation [DOCDIR]
1386 --program-prefix=PREFIX prepend PREFIX to installed program names
1387 --program-suffix=SUFFIX append SUFFIX to installed program names
1388 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1391 --build=BUILD configure
for building on BUILD
[guessed
]
1392 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1393 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1397 if test -n "$ac_init_help"; then
1398 case $ac_init_help in
1399 short | recursive
) echo "Configuration of sim 0:";;
1404 --disable-option-checking ignore unrecognized
--enable/--with options
1405 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1406 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1407 --enable-maintainer-mode
1408 enable make rules and dependencies not useful
(and
1409 sometimes confusing
) to the casual installer
1410 --enable-dependency-tracking
1411 do not reject slow dependency extractors
1412 --disable-dependency-tracking
1413 speeds up one-time build
1414 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1415 --disable-silent-rules verbose build output
(undo
: "make V=0")
1416 --enable-sim Enable the GNU simulator
1417 --enable-targets alternative target configurations
1419 Some influential environment variables
:
1420 CC C compiler
command
1421 CFLAGS C compiler flags
1422 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1423 nonstandard directory
<lib dir
>
1424 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1425 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1426 you have headers
in a nonstandard directory
<include dir
>
1429 Use these variables to override the choices made by
`configure' or to help
1430 it to find libraries and programs with nonstandard names/locations.
1432 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
1433 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
1438 if test "$ac_init_help" = "recursive"; then
1439 # If there are subdirs, report their specific --help.
1440 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1441 test -d "$ac_dir" ||
1442 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1447 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1449 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1450 # A ".." for each directory in $ac_dir_suffix.
1451 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1452 case $ac_top_builddir_sub in
1453 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1457 ac_abs_top_builddir=$ac_pwd
1458 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1459 # for backward compatibility:
1460 ac_top_builddir=$ac_top_build_prefix
1463 .) # We are building in place.
1465 ac_top_srcdir=$ac_top_builddir_sub
1466 ac_abs_top_srcdir=$ac_pwd ;;
1467 [\\/]* | ?:[\\/]* ) # Absolute name.
1468 ac_srcdir=$srcdir$ac_dir_suffix;
1469 ac_top_srcdir=$srcdir
1470 ac_abs_top_srcdir=$srcdir ;;
1472 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1473 ac_top_srcdir=$ac_top_build_prefix$srcdir
1474 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1476 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1478 cd "$ac_dir" || { ac_status=$?; continue; }
1479 # Check for guested configure.
1480 if test -f "$ac_srcdir/configure.gnu"; then
1482 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1483 elif test -f "$ac_srcdir/configure"; then
1485 $SHELL "$ac_srcdir/configure" --help=recursive
1487 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1489 cd "$ac_pwd" || { ac_status=$?; break; }
1493 test -n "$ac_init_help" && exit $ac_status
1494 if $ac_init_version; then
1497 generated by GNU Autoconf 2.69
1499 Copyright (C) 2012 Free Software Foundation, Inc.
1500 This configure script is free software; the Free Software Foundation
1501 gives unlimited permission to copy, distribute and modify it.
1506 ## ------------------------ ##
1507 ## Autoconf initialization. ##
1508 ## ------------------------ ##
1510 # ac_fn_c_try_compile LINENO
1511 # --------------------------
1512 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1513 ac_fn_c_try_compile ()
1515 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1516 rm -f conftest.$ac_objext
1517 if { { ac_try="$ac_compile"
1519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1520 *) ac_try_echo
=$ac_try;;
1522 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523 $as_echo "$ac_try_echo"; } >&5
1524 (eval "$ac_compile") 2>conftest.err
1526 if test -s conftest.err
; then
1527 grep -v '^ *+' conftest.err
>conftest.er1
1528 cat conftest.er1
>&5
1529 mv -f conftest.er1 conftest.err
1531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1532 test $ac_status = 0; } && {
1533 test -z "$ac_c_werror_flag" ||
1534 test ! -s conftest.err
1535 } && test -s conftest.
$ac_objext; then :
1538 $as_echo "$as_me: failed program was:" >&5
1539 sed 's/^/| /' conftest.
$ac_ext >&5
1543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1544 as_fn_set_status
$ac_retval
1546 } # ac_fn_c_try_compile
1548 # ac_fn_c_try_cpp LINENO
1549 # ----------------------
1550 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1553 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1554 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1557 *) ac_try_echo=$ac_try;;
1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 $as_echo "$ac_try_echo"; } >&5
1561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1563 if test -s conftest.err; then
1564 grep -v '^ *+' conftest.err >conftest.er1
1565 cat conftest.er1 >&5
1566 mv -f conftest.er1 conftest.err
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; } > conftest.i && {
1570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1571 test ! -s conftest.err
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.$ac_ext >&5
1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 as_fn_set_status $ac_retval
1585 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1586 # -------------------------------------------------------
1587 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1588 # the include files in INCLUDES and setting the cache variable VAR
1590 ac_fn_c_check_header_mongrel ()
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 if eval \${$3+:} false; then :
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1595 $as_echo_n "checking for $2... " >&6; }
1596 if eval \${$3+:} false; then :
1597 $as_echo_n "(cached) " >&6
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1601 $as_echo "$ac_res" >&6; }
1603 # Is the header compilable?
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1605 $as_echo_n "checking $2 usability... " >&6; }
1606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1607 /* end confdefs.h. */
1611 if ac_fn_c_try_compile "$LINENO"; then :
1612 ac_header_compiler=yes
1614 ac_header_compiler=no
1616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1618 $as_echo "$ac_header_compiler" >&6; }
1620 # Is the header present?
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1622 $as_echo_n "checking $2 presence... " >&6; }
1623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1624 /* end confdefs.h. */
1627 if ac_fn_c_try_cpp "$LINENO"; then :
1628 ac_header_preproc=yes
1630 ac_header_preproc=no
1632 rm -f conftest.err conftest.i conftest.$ac_ext
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1634 $as_echo "$ac_header_preproc" >&6; }
1636 # So? What about this header?
1637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1640 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1642 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1646 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1648 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1650 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1652 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1654 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1655 ( $as_echo "## -------------------------------------------------------------------------------------- ##
1656 ## Report this to https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim ##
1657 ## -------------------------------------------------------------------------------------- ##"
1658 ) | sed "s/^/$as_me: WARNING: /" >&2
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662 $as_echo_n "checking for $2... " >&6; }
1663 if eval \${$3+:} false; then :
1664 $as_echo_n "(cached) " >&6
1666 eval "$3=\$ac_header_compiler"
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1670 $as_echo "$ac_res" >&6; }
1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674 } # ac_fn_c_check_header_mongrel
1676 # ac_fn_c_try_run LINENO
1677 # ----------------------
1678 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1679 # that executables *can* be run.
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 if { { ac_try="$ac_link"
1685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1686 *) ac_try_echo
=$ac_try;;
1688 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_link") 2>&5
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1694 { { case "(($ac_try" in
1695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_try") 2>&5
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; }; }; then :
1706 $as_echo "$as_me: program exited with status $ac_status" >&5
1707 $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.$ac_ext >&5
1710 ac_retval=$ac_status
1712 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1713 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1714 as_fn_set_status $ac_retval
1718 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1719 # -------------------------------------------------------
1720 # Tests whether HEADER exists and can be compiled using the include files in
1721 # INCLUDES, setting the cache variable VAR accordingly.
1722 ac_fn_c_check_header_compile ()
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1726 $as_echo_n "checking for $2... " >&6; }
1727 if eval \${$3+:} false; then :
1728 $as_echo_n "(cached) " >&6
1730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1731 /* end confdefs.h. */
1735 if ac_fn_c_try_compile "$LINENO"; then :
1740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1744 $as_echo "$ac_res" >&6; }
1745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 } # ac_fn_c_check_header_compile
1748 cat >config.log <<_ACEOF
1749 This file contains any messages produced by compilers while
1750 running configure, to aid debugging if configure makes a mistake.
1752 It was created by sim $as_me 0, which was
1753 generated by GNU Autoconf 2.69. Invocation command line was
1765 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1766 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1767 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1768 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1769 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1771 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1772 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1774 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1775 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1776 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1777 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1778 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1779 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1780 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1788 test -z "$as_dir" && as_dir=.
1789 $as_echo "PATH: $as_dir"
1805 # Keep a trace of the command line.
1806 # Strip out --no-create and --no-recursion so they do not pile up.
1807 # Strip out --silent because we don't want to record it for future runs.
1808 # Also quote any args containing shell meta-characters.
1809 # Make two passes to allow for proper duplicate-argument suppression.
1813 ac_must_keep_next=false
1819 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1820 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1821 | -silent | --silent | --silen | --sile | --sil)
1824 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1827 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1829 as_fn_append ac_configure_args1 " '$ac_arg'"
1830 if test $ac_must_keep_next = true; then
1831 ac_must_keep_next=false # Got value, back to normal.
1834 *=* | --config-cache | -C | -disable-* | --disable-* \
1835 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1836 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1837 | -with-* | --with-* | -without-* | --without-* | --x)
1838 case "$ac_configure_args0 " in
1839 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1842 -* ) ac_must_keep_next=true ;;
1845 as_fn_append ac_configure_args " '$ac_arg'"
1850 { ac_configure_args0=; unset ac_configure_args0;}
1851 { ac_configure_args1=; unset ac_configure_args1;}
1853 # When interrupted or exit'd, cleanup temporary files, and complete
1854 # config.log. We remove comments because anyway the quotes in there
1855 # would cause problems or look ugly.
1856 # WARNING: Use '\'' to represent an apostrophe within the trap.
1857 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1858 trap 'exit_status=$?
1859 # Save into config.log some information that might help in debugging.
1863 $as_echo "## ---------------- ##
1864 ## Cache variables. ##
1865 ## ---------------- ##"
1867 # The following way of writing the cache mishandles newlines in values,
1869 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1870 eval ac_val=\$$ac_var
1874 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1875 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1878 _ | IFS | as_nl) ;; #(
1879 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1880 *) { eval $ac_var=; unset $ac_var;} ;;
1885 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1886 *${as_nl}ac_space=\ *)
1888 "s/'\''/'\''\\\\'\'''\''/g;
1889 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1892 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1899 $as_echo "## ----------------- ##
1900 ## Output variables. ##
1901 ## ----------------- ##"
1903 for ac_var in $ac_subst_vars
1905 eval ac_val=\$$ac_var
1907 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1909 $as_echo "$ac_var='\''$ac_val'\''"
1913 if test -n "$ac_subst_files"; then
1914 $as_echo "## ------------------- ##
1915 ## File substitutions. ##
1916 ## ------------------- ##"
1918 for ac_var in $ac_subst_files
1920 eval ac_val=\$$ac_var
1922 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1924 $as_echo "$ac_var='\''$ac_val'\''"
1929 if test -s confdefs.h; then
1930 $as_echo "## ----------- ##
1937 test "$ac_signal" != 0 &&
1938 $as_echo "$as_me: caught signal $ac_signal"
1939 $as_echo "$as_me: exit $exit_status"
1941 rm -f core *.core core.conftest.* &&
1942 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1945 for ac_signal in 1 2 13 15; do
1946 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1950 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1951 rm -f -r conftest* confdefs.h
1953 $as_echo "/* confdefs.h */" > confdefs.h
1955 # Predefined preprocessor variables.
1957 cat >>confdefs.h <<_ACEOF
1958 #define PACKAGE_NAME "$PACKAGE_NAME"
1961 cat >>confdefs.h <<_ACEOF
1962 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1965 cat >>confdefs.h <<_ACEOF
1966 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1969 cat >>confdefs.h <<_ACEOF
1970 #define PACKAGE_STRING "$PACKAGE_STRING"
1973 cat >>confdefs.h <<_ACEOF
1974 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1977 cat >>confdefs.h <<_ACEOF
1978 #define PACKAGE_URL "$PACKAGE_URL"
1982 # Let the site file select an alternate cache file if it wants to.
1983 # Prefer an explicitly selected file to automatically selected ones.
1986 if test -n "$CONFIG_SITE"; then
1987 # We do not want a PATH search for config.site.
1988 case $CONFIG_SITE in #((
1989 -*) ac_site_file1=./$CONFIG_SITE;;
1990 */*) ac_site_file1=$CONFIG_SITE;;
1991 *) ac_site_file1=./$CONFIG_SITE;;
1993 elif test "x$prefix" != xNONE; then
1994 ac_site_file1=$prefix/share/config.site
1995 ac_site_file2=$prefix/etc/config.site
1997 ac_site_file1=$ac_default_prefix/share/config.site
1998 ac_site_file2=$ac_default_prefix/etc/config.site
2000 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2002 test "x$ac_site_file" = xNONE && continue
2003 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2005 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2006 sed 's/^/| /' "$ac_site_file" >&5
2008 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2010 as_fn_error $? "failed to load site
script $ac_site_file
2011 See \
`config.log' for more details" "$LINENO" 5; }
2015 if test -r "$cache_file"; then
2016 # Some versions of bash will fail to source /dev/null (special files
2017 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2018 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2020 $as_echo "$as_me: loading cache $cache_file" >&6;}
2022 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2023 *) . "./$cache_file";;
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2028 $as_echo "$as_me: creating cache $cache_file" >&6;}
2032 # Check that the precious variables saved in the cache have kept the same
2034 ac_cache_corrupted=false
2035 for ac_var in $ac_precious_vars; do
2036 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2037 eval ac_new_set=\$ac_env_${ac_var}_set
2038 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2039 eval ac_new_val=\$ac_env_${ac_var}_value
2040 case $ac_old_set,$ac_new_set in
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2043 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2044 ac_cache_corrupted=: ;;
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2047 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2048 ac_cache_corrupted=: ;;
2051 if test "x$ac_old_val" != "x$ac_new_val"; then
2052 # differences in whitespace do not lead to failure.
2053 ac_old_val_w=`echo x
$ac_old_val`
2054 ac_new_val_w=`echo x
$ac_new_val`
2055 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2057 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2058 ac_cache_corrupted=:
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2061 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2062 eval $ac_var=\$ac_old_val
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2065 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2067 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2070 # Pass precious variables to config.status.
2071 if test "$ac_new_set" = set; then
2073 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2074 *) ac_arg=$ac_var=$ac_new_val ;;
2076 case " $ac_configure_args " in
2077 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2078 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2082 if $ac_cache_corrupted; then
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2086 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2087 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2089 ## -------------------- ##
2090 ## Main body of script. ##
2091 ## -------------------- ##
2094 ac_cpp='$CPP $CPPFLAGS'
2095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2105 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2106 if test -f "$ac_dir/install-sh"; then
2108 ac_install_sh="$ac_aux_dir/install-sh -c"
2110 elif test -f "$ac_dir/install.sh"; then
2112 ac_install_sh="$ac_aux_dir/install.sh -c"
2114 elif test -f "$ac_dir/shtool"; then
2116 ac_install_sh="$ac_aux_dir/shtool install -c"
2120 if test -z "$ac_aux_dir"; then
2121 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2124 # These three variables are undocumented and unsupported,
2125 # and are intended to be withdrawn in a future Autoconf release.
2126 # They can cause serious problems if a builder's source tree is in a directory
2127 # whose full name contains unusual characters.
2128 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2129 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2130 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2133 # Make sure we can run config.sub.
2134 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2135 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2138 $as_echo_n "checking build system type... " >&6; }
2139 if ${ac_cv_build+:} false; then :
2140 $as_echo_n "(cached) " >&6
2142 ac_build_alias=$build_alias
2143 test "x$ac_build_alias" = x &&
2144 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2145 test "x$ac_build_alias" = x &&
2146 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2147 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2148 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2152 $as_echo "$ac_cv_build" >&6; }
2153 case $ac_cv_build in
2155 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2158 ac_save_IFS=$IFS; IFS='-'
2164 # Remember, the first character of IFS is used to create $*,
2165 # except with old shells:
2168 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2172 $as_echo_n "checking host system type... " >&6; }
2173 if ${ac_cv_host+:} false; then :
2174 $as_echo_n "(cached) " >&6
2176 if test "x$host_alias" = x; then
2177 ac_cv_host=$ac_cv_build
2179 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2180 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2185 $as_echo "$ac_cv_host" >&6; }
2188 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2191 ac_save_IFS=$IFS; IFS='-'
2197 # Remember, the first character of IFS is used to create $*,
2198 # except with old shells:
2201 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2205 $as_echo_n "checking target system type... " >&6; }
2206 if ${ac_cv_target+:} false; then :
2207 $as_echo_n "(cached) " >&6
2209 if test "x$target_alias" = x; then
2210 ac_cv_target=$ac_cv_host
2212 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2213 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2218 $as_echo "$ac_cv_target" >&6; }
2219 case $ac_cv_target in
2221 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2223 target=$ac_cv_target
2224 ac_save_IFS=$IFS; IFS='-'
2230 # Remember, the first character of IFS is used to create $*,
2231 # except with old shells:
2234 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2237 # The aliases save the names the user supplied, while $host etc.
2238 # will get canonicalized.
2239 test -n "$target_alias" &&
2240 test "$program_prefix$program_suffix$program_transform_name" = \
2242 program_prefix=${target_alias}-
2243 # Expand $ac_aux_dir to an absolute path.
2244 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2247 ac_cpp='$CPP $CPPFLAGS'
2248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2251 if test -n "$ac_tool_prefix"; then
2252 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2253 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2255 $as_echo_n "checking for $ac_word... " >&6; }
2256 if ${ac_cv_prog_CC+:} false; then :
2257 $as_echo_n "(cached) " >&6
2259 if test -n "$CC"; then
2260 ac_cv_prog_CC="$CC" # Let the user override the test.
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir=.
2267 for ac_exec_ext in '' $ac_executable_extensions; do
2268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2269 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2280 if test -n "$CC"; then
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2282 $as_echo "$CC" >&6; }
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2285 $as_echo "no" >&6; }
2290 if test -z "$ac_cv_prog_CC"; then
2292 # Extract the first word of "gcc", so it can be a program name with args.
2293 set dummy gcc; ac_word=$2
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2295 $as_echo_n "checking for $ac_word... " >&6; }
2296 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2297 $as_echo_n "(cached) " >&6
2299 if test -n "$ac_ct_CC"; then
2300 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2306 test -z "$as_dir" && as_dir=.
2307 for ac_exec_ext in '' $ac_executable_extensions; do
2308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2309 ac_cv_prog_ac_ct_CC="gcc"
2310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2319 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2320 if test -n "$ac_ct_CC"; then
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2322 $as_echo "$ac_ct_CC" >&6; }
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2325 $as_echo "no" >&6; }
2328 if test "x$ac_ct_CC" = x; then
2331 case $cross_compiling:$ac_tool_warned in
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2335 ac_tool_warned=yes ;;
2343 if test -z "$CC"; then
2344 if test -n "$ac_tool_prefix"; then
2345 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2346 set dummy ${ac_tool_prefix}cc; ac_word=$2
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2348 $as_echo_n "checking for $ac_word... " >&6; }
2349 if ${ac_cv_prog_CC+:} false; then :
2350 $as_echo_n "(cached) " >&6
2352 if test -n "$CC"; then
2353 ac_cv_prog_CC="$CC" # Let the user override the test.
2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir=.
2360 for ac_exec_ext in '' $ac_executable_extensions; do
2361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2362 ac_cv_prog_CC="${ac_tool_prefix}cc"
2363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2373 if test -n "$CC"; then
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2375 $as_echo "$CC" >&6; }
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2378 $as_echo "no" >&6; }
2384 if test -z "$CC"; then
2385 # Extract the first word of "cc", so it can be a program name with args.
2386 set dummy cc; ac_word=$2
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2388 $as_echo_n "checking for $ac_word... " >&6; }
2389 if ${ac_cv_prog_CC+:} false; then :
2390 $as_echo_n "(cached) " >&6
2392 if test -n "$CC"; then
2393 ac_cv_prog_CC="$CC" # Let the user override the test.
2396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2400 test -z "$as_dir" && as_dir=.
2401 for ac_exec_ext in '' $ac_executable_extensions; do
2402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2403 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2404 ac_prog_rejected=yes
2408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2415 if test $ac_prog_rejected = yes; then
2416 # We found a bogon in the path, so make sure we never use it.
2417 set dummy $ac_cv_prog_CC
2419 if test $# != 0; then
2420 # We chose a different compiler from the bogus one.
2421 # However, it has the same basename, so the bogon will be chosen
2422 # first if we set CC to just the basename; use the full file name.
2424 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2430 if test -n "$CC"; then
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2432 $as_echo "$CC" >&6; }
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2435 $as_echo "no" >&6; }
2440 if test -z "$CC"; then
2441 if test -n "$ac_tool_prefix"; then
2442 for ac_prog in cl.exe
2444 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2445 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2447 $as_echo_n "checking for $ac_word... " >&6; }
2448 if ${ac_cv_prog_CC+:} false; then :
2449 $as_echo_n "(cached) " >&6
2451 if test -n "$CC"; then
2452 ac_cv_prog_CC="$CC" # Let the user override the test.
2454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2458 test -z "$as_dir" && as_dir=.
2459 for ac_exec_ext in '' $ac_executable_extensions; do
2460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2461 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2472 if test -n "$CC"; then
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2474 $as_echo "$CC" >&6; }
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2477 $as_echo "no" >&6; }
2481 test -n "$CC" && break
2484 if test -z "$CC"; then
2486 for ac_prog in cl.exe
2488 # Extract the first word of "$ac_prog", so it can be a program name with args.
2489 set dummy $ac_prog; ac_word=$2
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2491 $as_echo_n "checking for $ac_word... " >&6; }
2492 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2493 $as_echo_n "(cached) " >&6
2495 if test -n "$ac_ct_CC"; then
2496 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2505 ac_cv_prog_ac_ct_CC="$ac_prog"
2506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2515 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2516 if test -n "$ac_ct_CC"; then
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2518 $as_echo "$ac_ct_CC" >&6; }
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2521 $as_echo "no" >&6; }
2525 test -n "$ac_ct_CC" && break
2528 if test "x$ac_ct_CC" = x; then
2531 case $cross_compiling:$ac_tool_warned in
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2535 ac_tool_warned=yes ;;
2544 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2546 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2547 See \
`config.log' for more details" "$LINENO" 5; }
2549 # Provide some information about the compiler.
2550 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2553 for ac_option in --version -v -V -qversion; do
2554 { { ac_try="$ac_compiler $ac_option >&5"
2556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2557 *) ac_try_echo
=$ac_try;;
2559 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2560 $as_echo "$ac_try_echo"; } >&5
2561 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2563 if test -s conftest.err
; then
2565 ... rest of stderr output deleted ...
2566 10q' conftest.err
>conftest.er1
2567 cat conftest.er1
>&5
2569 rm -f conftest.er1 conftest.err
2570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2571 test $ac_status = 0; }
2574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2575 /* end confdefs.h. */
2585 ac_clean_files_save
=$ac_clean_files
2586 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2587 # Try to create an executable without -o first, disregard a.out.
2588 # It will help us diagnose broken compilers, and finding out an intuition
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2591 $as_echo_n "checking whether the C compiler works... " >&6; }
2592 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2594 # The possible output files:
2595 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2598 for ac_file
in $ac_files
2601 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2602 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2607 if { { ac_try
="$ac_link_default"
2609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2610 *) ac_try_echo=$ac_try;;
2612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2613 $as_echo "$ac_try_echo"; } >&5
2614 (eval "$ac_link_default") 2>&5
2616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2617 test $ac_status = 0; }; then :
2618 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2619 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2620 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2621 # so that the user can short-circuit this test for compilers unknown to
2623 for ac_file in $ac_files ''
2625 test -f "$ac_file" || continue
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2630 # We found the default executable, but exeext='' is most
2634 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2636 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2638 # We set ac_cv_exeext here because the later test for it is not
2639 # safe: cross compilers may not add the suffix if given an `-o'
2640 # argument, so we may need to know it at that point already.
2641 # Even if this section looks crufty: it has the advantage of
2648 test "$ac_cv_exeext" = no && ac_cv_exeext=
2653 if test -z "$ac_file"; then :
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2655 $as_echo "no" >&6; }
2656 $as_echo "$as_me: failed program was:" >&5
2657 sed 's
/^
/|
/' conftest.$ac_ext >&5
2659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2660 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2661 as_fn_error 77 "C compiler cannot create executables
2662 See \`config.log
' for more details" "$LINENO" 5; }
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2665 $as_echo "yes" >&6; }
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2668 $as_echo_n "checking for C compiler default output file name... " >&6; }
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2670 $as_echo "$ac_file" >&6; }
2671 ac_exeext=$ac_cv_exeext
2673 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2674 ac_clean_files=$ac_clean_files_save
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2676 $as_echo_n "checking for suffix of executables... " >&6; }
2677 if { { ac_try="$ac_link"
2679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2680 *) ac_try_echo=$ac_try;;
2682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2683 $as_echo "$ac_try_echo"; } >&5
2684 (eval "$ac_link") 2>&5
2686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2687 test $ac_status = 0; }; then :
2688 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2689 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2690 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2692 for ac_file
in conftest.exe conftest conftest.
*; do
2693 test -f "$ac_file" ||
continue
2695 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2696 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2704 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2705 See \`config.log' for more details" "$LINENO" 5; }
2707 rm -f conftest conftest
$ac_cv_exeext
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2709 $as_echo "$ac_cv_exeext" >&6; }
2711 rm -f conftest.
$ac_ext
2712 EXEEXT
=$ac_cv_exeext
2714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2715 /* end confdefs.h. */
2720 FILE *f = fopen ("conftest.out", "w");
2721 return ferror (f) || fclose (f) != 0;
2727 ac_clean_files
="$ac_clean_files conftest.out"
2728 # Check that the compiler produces executables we can run. If not, either
2729 # the compiler is broken, or we cross compile.
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2731 $as_echo_n "checking whether we are cross compiling... " >&6; }
2732 if test "$cross_compiling" != yes; then
2733 { { ac_try
="$ac_link"
2735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2739 $as_echo "$ac_try_echo"; } >&5
2740 (eval "$ac_link") 2>&5
2742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2743 test $ac_status = 0; }
2744 if { ac_try='./conftest$ac_cv_exeext'
2745 { { case "(($ac_try" in
2746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2747 *) ac_try_echo
=$ac_try;;
2749 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2750 $as_echo "$ac_try_echo"; } >&5
2751 (eval "$ac_try") 2>&5
2753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2754 test $ac_status = 0; }; }; then
2757 if test "$cross_compiling" = maybe
; then
2760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2762 as_fn_error $?
"cannot run C compiled programs.
2763 If you meant to cross compile, use \`--host'.
2764 See \`config.log' for more details" "$LINENO" 5; }
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2769 $as_echo "$cross_compiling" >&6; }
2771 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2772 ac_clean_files
=$ac_clean_files_save
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2774 $as_echo_n "checking for suffix of object files... " >&6; }
2775 if ${ac_cv_objext+:} false
; then :
2776 $as_echo_n "(cached) " >&6
2778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h. */
2789 rm -f conftest.o conftest.obj
2790 if { { ac_try
="$ac_compile"
2792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2796 $as_echo "$ac_try_echo"; } >&5
2797 (eval "$ac_compile") 2>&5
2799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2800 test $ac_status = 0; }; then :
2801 for ac_file in conftest.o conftest.obj conftest.*; do
2802 test -f "$ac_file" || continue;
2804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2805 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2810 $as_echo "$as_me: failed program was:" >&5
2811 sed 's/^/| /' conftest.$ac_ext >&5
2813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2815 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2816 See \
`config.log' for more details" "$LINENO" 5; }
2818 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2821 $as_echo "$ac_cv_objext" >&6; }
2822 OBJEXT=$ac_cv_objext
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2825 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2826 if ${ac_cv_c_compiler_gnu+:} false; then :
2827 $as_echo_n "(cached) " >&6
2829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830 /* end confdefs.h. */
2843 if ac_fn_c_try_compile "$LINENO"; then :
2848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2849 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2853 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2854 if test $ac_compiler_gnu = yes; then
2859 ac_test_CFLAGS=${CFLAGS+set}
2860 ac_save_CFLAGS=$CFLAGS
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2862 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2863 if ${ac_cv_prog_cc_g+:} false; then :
2864 $as_echo_n "(cached) " >&6
2866 ac_save_c_werror_flag=$ac_c_werror_flag
2867 ac_c_werror_flag=yes
2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871 /* end confdefs.h. */
2881 if ac_fn_c_try_compile "$LINENO"; then :
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2896 if ac_fn_c_try_compile "$LINENO"; then :
2899 ac_c_werror_flag=$ac_save_c_werror_flag
2901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2912 if ac_fn_c_try_compile "$LINENO"; then :
2915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2920 ac_c_werror_flag=$ac_save_c_werror_flag
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2923 $as_echo "$ac_cv_prog_cc_g" >&6; }
2924 if test "$ac_test_CFLAGS" = set; then
2925 CFLAGS=$ac_save_CFLAGS
2926 elif test $ac_cv_prog_cc_g = yes; then
2927 if test "$GCC" = yes; then
2933 if test "$GCC" = yes; then
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2940 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2941 if ${ac_cv_prog_cc_c89+:} false; then :
2942 $as_echo_n "(cached) " >&6
2944 ac_cv_prog_cc_c89=no
2946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2947 /* end confdefs.h. */
2951 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2952 struct buf { int x; };
2953 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2954 static char *e (p, i)
2960 static char *f (char * (*g) (char **, int), char **p, ...)
2965 s = g (p, va_arg (v,int));
2970 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2971 function prototypes and stuff, but not '\xHH' hex character constants.
2972 These don't provoke an error unfortunately, instead are silently treated
2973 as 'x'. The following induces an error, until -std is added to get
2974 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2975 array size at least. It's necessary to write '\x00'==0 to get something
2976 that's true only with -std. */
2977 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2979 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2980 inside strings and character constants. */
2982 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2984 int test (int i, double x);
2985 struct s1 {int (*f) (int a);};
2986 struct s2 {int (*f) (double a);};
2987 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2993 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2998 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2999 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3001 CC="$ac_save_CC $ac_arg"
3002 if ac_fn_c_try_compile "$LINENO"; then :
3003 ac_cv_prog_cc_c89=$ac_arg
3005 rm -f core conftest.err conftest.$ac_objext
3006 test "x$ac_cv_prog_cc_c89" != "xno" && break
3008 rm -f conftest.$ac_ext
3013 case "x$ac_cv_prog_cc_c89" in
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3016 $as_echo "none needed" >&6; } ;;
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3019 $as_echo "unsupported" >&6; } ;;
3021 CC="$CC $ac_cv_prog_cc_c89"
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3023 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3025 if test "x$ac_cv_prog_cc_c89" != xno; then :
3030 ac_cpp='$CPP $CPPFLAGS'
3031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3036 ac_cpp='$CPP $CPPFLAGS'
3037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3041 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3042 if ${am_cv_prog_cc_c_o+:} false; then :
3043 $as_echo_n "(cached) " >&6
3045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3046 /* end confdefs.h. */
3056 # Make sure it works both with $CC and with simple cc.
3057 # Following AC_PROG_CC_C_O, we do the test twice because some
3058 # compilers refuse to overwrite an existing .o file with -o,
3059 # though they will create one.
3060 am_cv_prog_cc_c_o=yes
3062 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3063 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); } \
3067 && test -f conftest2.$ac_objext; then
3070 am_cv_prog_cc_c_o=no
3074 rm -f core conftest*
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3078 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3079 if test "$am_cv_prog_cc_c_o" != yes; then
3080 # Losing compiler, so override with the script.
3081 # FIXME: It is wrong to rewrite CC.
3082 # But if we don't then we get into trouble of one sort or another.
3083 # A longer-term fix would be to have automake use am__CC in this case,
3084 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3085 CC="$am_aux_dir/compile $CC"
3088 ac_cpp='$CPP $CPPFLAGS'
3089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3096 ac_cpp='$CPP $CPPFLAGS'
3097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3101 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3102 # On Suns, sometimes $CPP names a directory.
3103 if test -n "$CPP" && test -d "$CPP"; then
3106 if test -z "$CPP"; then
3107 if ${ac_cv_prog_CPP+:} false; then :
3108 $as_echo_n "(cached) " >&6
3110 # Double quotes because CPP needs to be expanded
3111 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3114 for ac_c_preproc_warn_flag in '' yes
3116 # Use a header file that comes with gcc, so configuring glibc
3117 # with a fresh cross-compiler works.
3118 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3119 # <limits.h> exists even on freestanding compilers.
3120 # On the NeXT, cc -E runs the code through the compiler's parser,
3121 # not just through cpp. "Syntax error" is here to catch this case.
3122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3123 /* end confdefs.h. */
3125 # include <limits.h>
3127 # include <assert.h>
3131 if ac_fn_c_try_cpp "$LINENO"; then :
3134 # Broken: fails on valid input.
3137 rm -f conftest.err conftest.i conftest.$ac_ext
3139 # OK, works on sane cases. Now check whether nonexistent headers
3140 # can be detected and how.
3141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3142 /* end confdefs.h. */
3143 #include <ac_nonexistent.h>
3145 if ac_fn_c_try_cpp "$LINENO"; then :
3146 # Broken: success on invalid input.
3149 # Passes both tests.
3153 rm -f conftest.err conftest.i conftest.$ac_ext
3156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3157 rm -f conftest.i conftest.err conftest.
$ac_ext
3158 if $ac_preproc_ok; then :
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3171 $as_echo "$CPP" >&6; }
3173 for ac_c_preproc_warn_flag
in '' yes
3175 # Use a header file that comes with gcc, so configuring glibc
3176 # with a fresh cross-compiler works.
3177 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3178 # <limits.h> exists even on freestanding compilers.
3179 # On the NeXT, cc -E runs the code through the compiler's parser,
3180 # not just through cpp. "Syntax error" is here to catch this case.
3181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3182 /* end confdefs.h. */
3184 # include <limits.h>
3186 # include <assert.h>
3190 if ac_fn_c_try_cpp
"$LINENO"; then :
3193 # Broken: fails on valid input.
3196 rm -f conftest.err conftest.i conftest.
$ac_ext
3198 # OK, works on sane cases. Now check whether nonexistent headers
3199 # can be detected and how.
3200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3202 #include <ac_nonexistent.h>
3204 if ac_fn_c_try_cpp
"$LINENO"; then :
3205 # Broken: success on invalid input.
3208 # Passes both tests.
3212 rm -f conftest.err conftest.i conftest.
$ac_ext
3215 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3216 rm -f conftest.i conftest.err conftest.
$ac_ext
3217 if $ac_preproc_ok; then :
3220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3222 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3223 See \`config.log' for more details" "$LINENO" 5; }
3227 ac_cpp
='$CPP $CPPFLAGS'
3228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3234 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3235 if ${ac_cv_path_GREP+:} false
; then :
3236 $as_echo_n "(cached) " >&6
3238 if test -z "$GREP"; then
3239 ac_path_GREP_found
=false
3240 # Loop through the user's path and test for each of PROGNAME-LIST
3241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3242 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3245 test -z "$as_dir" && as_dir
=.
3246 for ac_prog
in grep ggrep
; do
3247 for ac_exec_ext
in '' $ac_executable_extensions; do
3248 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3249 as_fn_executable_p
"$ac_path_GREP" ||
continue
3250 # Check for GNU ac_path_GREP and select it if it is found.
3251 # Check for GNU $ac_path_GREP
3252 case `"$ac_path_GREP" --version 2>&1` in
3254 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3257 $as_echo_n 0123456789 >"conftest.in"
3260 cat "conftest.in" "conftest.in" >"conftest.tmp"
3261 mv "conftest.tmp" "conftest.in"
3262 cp "conftest.in" "conftest.nl"
3263 $as_echo 'GREP' >> "conftest.nl"
3264 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3265 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3266 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3267 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3268 # Best one so far, save it but keep looking for a better one
3269 ac_cv_path_GREP
="$ac_path_GREP"
3270 ac_path_GREP_max
=$ac_count
3272 # 10*(2^10) chars as input seems more than enough
3273 test $ac_count -gt 10 && break
3275 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3278 $ac_path_GREP_found && break 3
3283 if test -z "$ac_cv_path_GREP"; then
3284 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3287 ac_cv_path_GREP
=$GREP
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3292 $as_echo "$ac_cv_path_GREP" >&6; }
3293 GREP
="$ac_cv_path_GREP"
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3297 $as_echo_n "checking for egrep... " >&6; }
3298 if ${ac_cv_path_EGREP+:} false
; then :
3299 $as_echo_n "(cached) " >&6
3301 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3302 then ac_cv_path_EGREP
="$GREP -E"
3304 if test -z "$EGREP"; then
3305 ac_path_EGREP_found
=false
3306 # Loop through the user's path and test for each of PROGNAME-LIST
3307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3308 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3311 test -z "$as_dir" && as_dir
=.
3312 for ac_prog
in egrep; do
3313 for ac_exec_ext
in '' $ac_executable_extensions; do
3314 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3315 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3316 # Check for GNU ac_path_EGREP and select it if it is found.
3317 # Check for GNU $ac_path_EGREP
3318 case `"$ac_path_EGREP" --version 2>&1` in
3320 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3323 $as_echo_n 0123456789 >"conftest.in"
3326 cat "conftest.in" "conftest.in" >"conftest.tmp"
3327 mv "conftest.tmp" "conftest.in"
3328 cp "conftest.in" "conftest.nl"
3329 $as_echo 'EGREP' >> "conftest.nl"
3330 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3331 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3332 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3333 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3334 # Best one so far, save it but keep looking for a better one
3335 ac_cv_path_EGREP
="$ac_path_EGREP"
3336 ac_path_EGREP_max
=$ac_count
3338 # 10*(2^10) chars as input seems more than enough
3339 test $ac_count -gt 10 && break
3341 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3344 $ac_path_EGREP_found && break 3
3349 if test -z "$ac_cv_path_EGREP"; then
3350 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3353 ac_cv_path_EGREP
=$EGREP
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3359 $as_echo "$ac_cv_path_EGREP" >&6; }
3360 EGREP
="$ac_cv_path_EGREP"
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3364 $as_echo_n "checking for ANSI C header files... " >&6; }
3365 if ${ac_cv_header_stdc+:} false
; then :
3366 $as_echo_n "(cached) " >&6
3368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3383 if ac_fn_c_try_compile
"$LINENO"; then :
3384 ac_cv_header_stdc
=yes
3386 ac_cv_header_stdc
=no
3388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3390 if test $ac_cv_header_stdc = yes; then
3391 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3393 /* end confdefs.h. */
3397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3398 $EGREP "memchr" >/dev
/null
2>&1; then :
3401 ac_cv_header_stdc
=no
3407 if test $ac_cv_header_stdc = yes; then
3408 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3415 $EGREP "free" >/dev
/null
2>&1; then :
3418 ac_cv_header_stdc
=no
3424 if test $ac_cv_header_stdc = yes; then
3425 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3426 if test "$cross_compiling" = yes; then :
3429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3430 /* end confdefs.h. */
3433 #if ((' ' & 0x0FF) == 0x020)
3434 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3435 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3437 # define ISLOWER(c) \
3438 (('a' <= (c) && (c) <= 'i') \
3439 || ('j' <= (c) && (c) <= 'r') \
3440 || ('s' <= (c) && (c) <= 'z'))
3441 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3444 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3449 for (i = 0; i < 256; i++)
3450 if (XOR (islower (i), ISLOWER (i))
3451 || toupper (i) != TOUPPER (i))
3456 if ac_fn_c_try_run
"$LINENO"; then :
3459 ac_cv_header_stdc
=no
3461 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3462 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3468 $as_echo "$ac_cv_header_stdc" >&6; }
3469 if test $ac_cv_header_stdc = yes; then
3471 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3475 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3476 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3477 inttypes.h stdint.h unistd.h
3479 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3480 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3482 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3483 cat >>confdefs.h
<<_ACEOF
3484 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3493 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3494 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3501 if test "$MINIX" = yes; then
3503 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3506 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3509 $as_echo "#define _MINIX 1" >>confdefs.h
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3515 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3516 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3517 $as_echo_n "(cached) " >&6
3519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3522 # define __EXTENSIONS__ 1
3523 $ac_includes_default
3532 if ac_fn_c_try_compile
"$LINENO"; then :
3533 ac_cv_safe_to_define___extensions__
=yes
3535 ac_cv_safe_to_define___extensions__
=no
3537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3540 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3541 test $ac_cv_safe_to_define___extensions__ = yes &&
3542 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3544 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3546 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3548 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3550 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3553 test "$program_prefix" != NONE
&&
3554 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3555 # Use a double $ so make ignores it.
3556 test "$program_suffix" != NONE
&&
3557 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3558 # Double any \ or $.
3559 # By default was `s,x,x', remove it if useless.
3560 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3561 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3563 # Find a good install program. We prefer a C program (faster),
3564 # so one script is as good as another. But avoid the broken or
3565 # incompatible versions:
3566 # SysV /etc/install, /usr/sbin/install
3567 # SunOS /usr/etc/install
3568 # IRIX /sbin/install
3570 # AmigaOS /C/install, which installs bootblocks on floppy discs
3571 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3572 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3573 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3574 # OS/2's system install, which has a completely different semantic
3575 # ./install, which can be erroneously created by make from ./install.sh.
3576 # Reject install programs that cannot install multiple files.
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3578 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3579 if test -z "$INSTALL"; then
3580 if ${ac_cv_path_install+:} false
; then :
3581 $as_echo_n "(cached) " >&6
3583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3587 test -z "$as_dir" && as_dir
=.
3588 # Account for people who put trailing slashes in PATH elements.
3589 case $as_dir/ in #((
3590 .
/ | .
// |
/[cC
]/* | \
3591 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3592 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3595 # OSF1 and SCO ODT 3.0 have their own names for install.
3596 # Don't use installbsd from OSF since it installs stuff as root
3598 for ac_prog
in ginstall scoinst
install; do
3599 for ac_exec_ext
in '' $ac_executable_extensions; do
3600 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3601 if test $ac_prog = install &&
3602 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3603 # AIX install. It has an incompatible calling convention.
3605 elif test $ac_prog = install &&
3606 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3607 # program-specific install script used by HP pwplus--don't use.
3610 rm -rf conftest.one conftest.two conftest.dir
3611 echo one
> conftest.one
3612 echo two
> conftest.two
3614 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3615 test -s conftest.one
&& test -s conftest.two
&&
3616 test -s conftest.dir
/conftest.one
&&
3617 test -s conftest.dir
/conftest.two
3619 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3632 rm -rf conftest.one conftest.two conftest.dir
3635 if test "${ac_cv_path_install+set}" = set; then
3636 INSTALL
=$ac_cv_path_install
3638 # As a last resort, use the slow shell script. Don't cache a
3639 # value for INSTALL within a source directory, because that will
3640 # break other packages using the cache if that directory is
3641 # removed, or if the value is a relative name.
3642 INSTALL
=$ac_install_sh
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3646 $as_echo "$INSTALL" >&6; }
3648 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3649 # It thinks the first close brace ends the variable substitution.
3650 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3652 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3654 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3661 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3662 if ${ac_cv_c_bigendian+:} false
; then :
3663 $as_echo_n "(cached) " >&6
3665 ac_cv_c_bigendian
=unknown
3666 # See if we're dealing with a universal compiler.
3667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3668 /* end confdefs.h. */
3669 #ifndef __APPLE_CC__
3670 not a universal capable compiler
3675 if ac_fn_c_try_compile
"$LINENO"; then :
3677 # Check for potential -arch flags. It is not universal unless
3678 # there are at least two -arch flags with different values.
3681 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3682 if test -n "$ac_prev"; then
3684 i?
86 | x86_64 | ppc | ppc64
)
3685 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
3688 ac_cv_c_bigendian
=universal
3694 elif test "x$ac_word" = "x-arch"; then
3699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3700 if test $ac_cv_c_bigendian = unknown
; then
3701 # See if sys/param.h defines the BYTE_ORDER macro.
3702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3703 /* end confdefs.h. */
3704 #include <sys/types.h>
3705 #include <sys/param.h>
3710 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3711 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3720 if ac_fn_c_try_compile
"$LINENO"; then :
3721 # It does; now see whether it defined to BIG_ENDIAN or not.
3722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3723 /* end confdefs.h. */
3724 #include <sys/types.h>
3725 #include <sys/param.h>
3730 #if BYTE_ORDER != BIG_ENDIAN
3738 if ac_fn_c_try_compile
"$LINENO"; then :
3739 ac_cv_c_bigendian
=yes
3741 ac_cv_c_bigendian
=no
3743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3747 if test $ac_cv_c_bigendian = unknown
; then
3748 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3756 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3764 if ac_fn_c_try_compile
"$LINENO"; then :
3765 # It does; now see whether it defined to _BIG_ENDIAN or not.
3766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3781 if ac_fn_c_try_compile
"$LINENO"; then :
3782 ac_cv_c_bigendian
=yes
3784 ac_cv_c_bigendian
=no
3786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3790 if test $ac_cv_c_bigendian = unknown
; then
3791 # Compile a test program.
3792 if test "$cross_compiling" = yes; then :
3793 # Try to guess by grepping values from an object file.
3794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3796 short int ascii_mm[] =
3797 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3798 short int ascii_ii[] =
3799 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3800 int use_ascii (int i) {
3801 return ascii_mm[i] + ascii_ii[i];
3803 short int ebcdic_ii[] =
3804 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3805 short int ebcdic_mm[] =
3806 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3807 int use_ebcdic (int i) {
3808 return ebcdic_mm[i] + ebcdic_ii[i];
3815 return use_ascii (foo) == use_ebcdic (foo);
3820 if ac_fn_c_try_compile
"$LINENO"; then :
3821 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
3822 ac_cv_c_bigendian
=yes
3824 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
3825 if test "$ac_cv_c_bigendian" = unknown
; then
3826 ac_cv_c_bigendian
=no
3828 # finding both strings is unlikely to happen, but who knows?
3829 ac_cv_c_bigendian
=unknown
3833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3836 /* end confdefs.h. */
3837 $ac_includes_default
3842 /* Are we little or big endian? From Harbison&Steele. */
3846 char c[sizeof (long int)];
3849 return u.c[sizeof (long int) - 1] == 1;
3855 if ac_fn_c_try_run
"$LINENO"; then :
3856 ac_cv_c_bigendian
=no
3858 ac_cv_c_bigendian
=yes
3860 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3861 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
3867 $as_echo "$ac_cv_c_bigendian" >&6; }
3868 case $ac_cv_c_bigendian in #(
3870 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
3876 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
3880 as_fn_error $?
"unknown endianness
3881 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
3887 if test "x$cross_compiling" = "xno"; then
3888 : "${CC_FOR_BUILD:=\$(CC)}"
3889 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
3890 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
3892 : "${CC_FOR_BUILD:=gcc}"
3893 : "${CFLAGS_FOR_BUILD:=-g -O}"
3894 : "${LDLFAGS_FOR_BUILD:=}"
3901 if test -n "$ac_tool_prefix"; then
3902 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3903 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3905 $as_echo_n "checking for $ac_word... " >&6; }
3906 if ${ac_cv_prog_AR+:} false
; then :
3907 $as_echo_n "(cached) " >&6
3909 if test -n "$AR"; then
3910 ac_cv_prog_AR
="$AR" # Let the user override the test.
3912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3916 test -z "$as_dir" && as_dir
=.
3917 for ac_exec_ext
in '' $ac_executable_extensions; do
3918 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3919 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3930 if test -n "$AR"; then
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3932 $as_echo "$AR" >&6; }
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3935 $as_echo "no" >&6; }
3940 if test -z "$ac_cv_prog_AR"; then
3942 # Extract the first word of "ar", so it can be a program name with args.
3943 set dummy
ar; ac_word
=$2
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3945 $as_echo_n "checking for $ac_word... " >&6; }
3946 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
3947 $as_echo_n "(cached) " >&6
3949 if test -n "$ac_ct_AR"; then
3950 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3956 test -z "$as_dir" && as_dir
=.
3957 for ac_exec_ext
in '' $ac_executable_extensions; do
3958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3959 ac_cv_prog_ac_ct_AR
="ar"
3960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3969 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3970 if test -n "$ac_ct_AR"; then
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3972 $as_echo "$ac_ct_AR" >&6; }
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3975 $as_echo "no" >&6; }
3978 if test "x$ac_ct_AR" = x
; then
3981 case $cross_compiling:$ac_tool_warned in
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3985 ac_tool_warned
=yes ;;
3993 if test -n "$ac_tool_prefix"; then
3994 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3995 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3997 $as_echo_n "checking for $ac_word... " >&6; }
3998 if ${ac_cv_prog_RANLIB+:} false
; then :
3999 $as_echo_n "(cached) " >&6
4001 if test -n "$RANLIB"; then
4002 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4008 test -z "$as_dir" && as_dir
=.
4009 for ac_exec_ext
in '' $ac_executable_extensions; do
4010 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4011 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4021 RANLIB
=$ac_cv_prog_RANLIB
4022 if test -n "$RANLIB"; then
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4024 $as_echo "$RANLIB" >&6; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4027 $as_echo "no" >&6; }
4032 if test -z "$ac_cv_prog_RANLIB"; then
4033 ac_ct_RANLIB
=$RANLIB
4034 # Extract the first word of "ranlib", so it can be a program name with args.
4035 set dummy ranlib
; ac_word
=$2
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4037 $as_echo_n "checking for $ac_word... " >&6; }
4038 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4039 $as_echo_n "(cached) " >&6
4041 if test -n "$ac_ct_RANLIB"; then
4042 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4048 test -z "$as_dir" && as_dir
=.
4049 for ac_exec_ext
in '' $ac_executable_extensions; do
4050 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4051 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4061 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4062 if test -n "$ac_ct_RANLIB"; then
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4064 $as_echo "$ac_ct_RANLIB" >&6; }
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4067 $as_echo "no" >&6; }
4070 if test "x$ac_ct_RANLIB" = x
; then
4073 case $cross_compiling:$ac_tool_warned in
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4077 ac_tool_warned
=yes ;;
4079 RANLIB
=$ac_ct_RANLIB
4082 RANLIB
="$ac_cv_prog_RANLIB"
4086 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
4087 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
4088 # is C99. So handle it ourselves.
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
4092 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4094 /* end confdefs.h. */
4096 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4097 # error "C11 support not found"
4101 if ac_fn_c_try_compile
"$LINENO"; then :
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4103 $as_echo "yes" >&6; }
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4107 $as_echo "no" >&6; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4109 $as_echo_n "checking for -std=c11 support... " >&6; }
4112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4115 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4116 # error "C11 support not found"
4120 if ac_fn_c_try_compile
"$LINENO"; then :
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4123 $as_echo "yes" >&6; }
4125 C_DIALECT
="-std=c11"
4128 as_fn_error $?
"C11 is required" "$LINENO" 5
4130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4138 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4139 # Check whether --enable-maintainer-mode was given.
4140 if test "${enable_maintainer_mode+set}" = set; then :
4141 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4143 USE_MAINTAINER_MODE
=no
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4147 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4148 if test $USE_MAINTAINER_MODE = yes; then
4149 MAINTAINER_MODE_TRUE
=
4150 MAINTAINER_MODE_FALSE
='#'
4152 MAINTAINER_MODE_TRUE
='#'
4153 MAINTAINER_MODE_FALSE
=
4156 MAINT
=$MAINTAINER_MODE_TRUE
4159 am__api_version
='1.15'
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4162 $as_echo_n "checking whether build environment is sane... " >&6; }
4163 # Reject unsafe characters in $srcdir or the absolute working directory
4164 # name. Accept space and tab only in the latter.
4168 *[\\\"\
#\$\&\'\`$am_lf]*)
4169 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4172 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4173 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4176 # Do 'set' in a subshell so we don't clobber the current shell's
4177 # arguments. Must try -L first in case configure is actually a
4178 # symlink; some systems play weird games with the mod time of symlinks
4179 # (eg FreeBSD returns the mod time of the symlink's containing
4183 for am_try
in 1 2; do
4184 echo "timestamp, slept: $am_has_slept" > conftest.
file
4185 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4186 if test "$*" = "X"; then
4188 set X
`ls -t "$srcdir/configure" conftest.file`
4190 if test "$*" != "X $srcdir/configure conftest.file" \
4191 && test "$*" != "X conftest.file $srcdir/configure"; then
4193 # If neither matched, then we have a broken ls. This can happen
4194 # if, for instance, CONFIG_SHELL is bash and it inherits a
4195 # broken ls alias from the environment. This has actually
4196 # happened. Such a system could not be considered "sane".
4197 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4198 alias in your environment" "$LINENO" 5
4200 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4207 test "$2" = conftest.
file
4213 as_fn_error $?
"newly created file is older than distributed files!
4214 Check your system clock" "$LINENO" 5
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4217 $as_echo "yes" >&6; }
4218 # If we didn't sleep, we still need to ensure time stamps of config.status and
4219 # generated files are strictly newer.
4221 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4228 if test x
"${MISSING+set}" != xset
; then
4231 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4233 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4236 # Use eval to expand $SHELL
4237 if eval "$MISSING --is-lightweight"; then
4238 am_missing_run
="$MISSING "
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4242 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4245 if test x
"${install_sh+set}" != xset
; then
4248 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4250 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4254 # Installed binaries are usually stripped using 'strip' when the user
4255 # run "make install-strip". However 'strip' might not be the right
4256 # tool to use in cross-compilation environments, therefore Automake
4257 # will honor the 'STRIP' environment variable to overrule this program.
4258 if test "$cross_compiling" != no
; then
4259 if test -n "$ac_tool_prefix"; then
4260 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4261 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4263 $as_echo_n "checking for $ac_word... " >&6; }
4264 if ${ac_cv_prog_STRIP+:} false
; then :
4265 $as_echo_n "(cached) " >&6
4267 if test -n "$STRIP"; then
4268 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4274 test -z "$as_dir" && as_dir
=.
4275 for ac_exec_ext
in '' $ac_executable_extensions; do
4276 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4277 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4287 STRIP
=$ac_cv_prog_STRIP
4288 if test -n "$STRIP"; then
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4290 $as_echo "$STRIP" >&6; }
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4293 $as_echo "no" >&6; }
4298 if test -z "$ac_cv_prog_STRIP"; then
4300 # Extract the first word of "strip", so it can be a program name with args.
4301 set dummy strip
; ac_word
=$2
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4303 $as_echo_n "checking for $ac_word... " >&6; }
4304 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4305 $as_echo_n "(cached) " >&6
4307 if test -n "$ac_ct_STRIP"; then
4308 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4314 test -z "$as_dir" && as_dir
=.
4315 for ac_exec_ext
in '' $ac_executable_extensions; do
4316 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4317 ac_cv_prog_ac_ct_STRIP
="strip"
4318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4327 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4328 if test -n "$ac_ct_STRIP"; then
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4330 $as_echo "$ac_ct_STRIP" >&6; }
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4333 $as_echo "no" >&6; }
4336 if test "x$ac_ct_STRIP" = x
; then
4339 case $cross_compiling:$ac_tool_warned in
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4343 ac_tool_warned
=yes ;;
4348 STRIP
="$ac_cv_prog_STRIP"
4352 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4355 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4356 if test -z "$MKDIR_P"; then
4357 if ${ac_cv_path_mkdir+:} false
; then :
4358 $as_echo_n "(cached) " >&6
4360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4361 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4364 test -z "$as_dir" && as_dir
=.
4365 for ac_prog
in mkdir gmkdir
; do
4366 for ac_exec_ext
in '' $ac_executable_extensions; do
4367 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4368 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4369 'mkdir (GNU coreutils) '* | \
4370 'mkdir (coreutils) '* | \
4371 'mkdir (fileutils) '4.1*)
4372 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4382 test -d .
/--version && rmdir .
/--version
4383 if test "${ac_cv_path_mkdir+set}" = set; then
4384 MKDIR_P
="$ac_cv_path_mkdir -p"
4386 # As a last resort, use the slow shell script. Don't cache a
4387 # value for MKDIR_P within a source directory, because that will
4388 # break other packages using the cache if that directory is
4389 # removed, or if the value is a relative name.
4390 MKDIR_P
="$ac_install_sh -d"
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4394 $as_echo "$MKDIR_P" >&6; }
4396 for ac_prog
in gawk mawk nawk
awk
4398 # Extract the first word of "$ac_prog", so it can be a program name with args.
4399 set dummy
$ac_prog; ac_word
=$2
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401 $as_echo_n "checking for $ac_word... " >&6; }
4402 if ${ac_cv_prog_AWK+:} false
; then :
4403 $as_echo_n "(cached) " >&6
4405 if test -n "$AWK"; then
4406 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4412 test -z "$as_dir" && as_dir
=.
4413 for ac_exec_ext
in '' $ac_executable_extensions; do
4414 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_prog_AWK
="$ac_prog"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4426 if test -n "$AWK"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4428 $as_echo "$AWK" >&6; }
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4435 test -n "$AWK" && break
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4439 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4441 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4442 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4443 $as_echo_n "(cached) " >&6
4445 cat >conftest.
make <<\_ACEOF
4448 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4450 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4451 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4453 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4455 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4459 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4461 $as_echo "yes" >&6; }
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4466 SET_MAKE
="MAKE=${MAKE-make}"
4469 rm -rf .tst
2>/dev
/null
4470 mkdir .tst
2>/dev
/null
4471 if test -d .tst
; then
4476 rmdir .tst
2>/dev
/null
4478 DEPDIR
="${am__leading_dot}deps"
4480 ac_config_commands
="$ac_config_commands depfiles"
4483 am_make
=${MAKE-make}
4484 cat > confinc
<< 'END'
4486 @
echo this is the am__doit target
4489 # If we don't find an include directive, just comment out the code.
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4491 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4495 # First try GNU make style include.
4496 echo "include confinc" > confmf
4497 # Ignore all kinds of additional output from 'make'.
4498 case `$am_make -s -f confmf 2> /dev/null` in #(
4499 *the\ am__doit\ target
*)
4505 # Now try BSD make style include.
4506 if test "$am__include" = "#"; then
4507 echo '.include "confinc"' > confmf
4508 case `$am_make -s -f confmf 2> /dev/null` in #(
4509 *the\ am__doit\ target
*)
4510 am__include
=.include
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4519 $as_echo "$_am_result" >&6; }
4520 rm -f confinc confmf
4522 # Check whether --enable-dependency-tracking was given.
4523 if test "${enable_dependency_tracking+set}" = set; then :
4524 enableval
=$enable_dependency_tracking;
4527 if test "x$enable_dependency_tracking" != xno
; then
4528 am_depcomp
="$ac_aux_dir/depcomp"
4532 if test "x$enable_dependency_tracking" != xno; then
4541 # Check whether --enable-silent-rules was given.
4542 if test "${enable_silent_rules+set}" = set; then :
4543 enableval
=$enable_silent_rules;
4546 case $enable_silent_rules in # (((
4547 yes) AM_DEFAULT_VERBOSITY
=0;;
4548 no
) AM_DEFAULT_VERBOSITY
=1;;
4549 *) AM_DEFAULT_VERBOSITY
=1;;
4551 am_make
=${MAKE-make}
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4553 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4554 if ${am_cv_make_support_nested_variables+:} false
; then :
4555 $as_echo_n "(cached) " >&6
4557 if $as_echo 'TRUE=$(BAR$(V))
4563 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4564 am_cv_make_support_nested_variables
=yes
4566 am_cv_make_support_nested_variables
=no
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4570 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4571 if test $am_cv_make_support_nested_variables = yes; then
4573 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4575 AM_V
=$AM_DEFAULT_VERBOSITY
4576 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4580 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4581 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4582 # is not polluted with repeated "-I."
4583 am__isrc
=' -I$(srcdir)'
4584 # test to see if srcdir already configured
4585 if test -f $srcdir/config.status
; then
4586 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4590 # test whether we have cygpath
4591 if test -z "$CYGPATH_W"; then
4592 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4593 CYGPATH_W
='cygpath -w'
4600 # Define the identity of the package.
4605 cat >>confdefs.h
<<_ACEOF
4606 #define PACKAGE "$PACKAGE"
4610 cat >>confdefs.h
<<_ACEOF
4611 #define VERSION "$VERSION"
4614 # Some tools Automake needs.
4616 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4619 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4622 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4625 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4628 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4630 # For better backward compatibility. To be removed once Automake 1.9.x
4631 # dies out for good. For more background, see:
4632 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4633 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4634 mkdir_p
='$(MKDIR_P)'
4636 # We need awk for the "check" target (and possibly the TAP driver). The
4637 # system "awk" is bad on some platforms.
4638 # Always define AMTAR for backward compatibility. Yes, it's still used
4639 # in the wild :-( We should find a proper way to deprecate it ...
4643 # We'll loop over all known methods to create a tar archive until one works.
4644 _am_tools
='gnutar pax cpio none'
4646 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4652 depcc
="$CC" am_compiler_list
=
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4655 $as_echo_n "checking dependency style of $depcc... " >&6; }
4656 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4657 $as_echo_n "(cached) " >&6
4659 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4660 # We make a subdir and do the tests there. Otherwise we can end up
4661 # making bogus files that we don't know about and never remove. For
4662 # instance it was reported that on HP-UX the gcc test will end up
4663 # making a dummy file named 'D' -- because '-MD' means "put the output
4667 # Copy depcomp to subdir because otherwise we won't find it if we're
4668 # using a relative directory.
4669 cp "$am_depcomp" conftest.dir
4671 # We will build objects and dependencies in a subdirectory because
4672 # it helps to detect inapplicable dependency modes. For instance
4673 # both Tru64's cc and ICC support -MD to output dependencies as a
4674 # side effect of compilation, but ICC will put the dependencies in
4675 # the current directory while Tru64 will put them in the object
4679 am_cv_CC_dependencies_compiler_type
=none
4680 if test "$am_compiler_list" = ""; then
4681 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4684 case " $depcc " in #(
4685 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4688 for depmode
in $am_compiler_list; do
4689 # Setup a source with many dependencies, because some compilers
4690 # like to wrap large dependency lists on column 80 (with \), and
4691 # we should not choose a depcomp mode which is confused by this.
4693 # We need to recreate these files for each test, as the compiler may
4694 # overwrite some of them when testing with obscure command lines.
4695 # This happens at least with the AIX C compiler.
4697 for i
in 1 2 3 4 5 6; do
4698 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4699 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4700 # Solaris 10 /bin/sh.
4701 echo '/* dummy */' > sub
/conftst
$i.h
4703 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4705 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4706 # mode. It turns out that the SunPro C++ compiler does not properly
4707 # handle '-M -o', and we need to detect this. Also, some Intel
4708 # versions had trouble with output in subdirs.
4709 am__obj
=sub
/conftest.
${OBJEXT-o}
4710 am__minus_obj
="-o $am__obj"
4713 # This depmode causes a compiler race in universal mode.
4714 test "$am__universal" = false ||
continue
4717 # After this tag, mechanisms are not by side-effect, so they'll
4718 # only be used when explicitly requested.
4719 if test "x$enable_dependency_tracking" = xyes
; then
4725 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4726 # This compiler won't grok '-c -o', but also, the minuso test has
4727 # not run yet. These depmodes are late enough in the game, and
4728 # so weak that their functioning should not be impacted.
4729 am__obj
=conftest.
${OBJEXT-o}
4734 if depmode
=$depmode \
4735 source=sub
/conftest.c object
=$am__obj \
4736 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4737 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4738 >/dev
/null
2>conftest.err
&&
4739 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4740 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4741 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4742 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4743 # icc doesn't choke on unknown options, it will just issue warnings
4744 # or remarks (even with -Werror). So we grep stderr for any message
4745 # that says an option was ignored or not supported.
4746 # When given -MP, icc 7.0 and 7.1 complain thusly:
4747 # icc: Command line warning: ignoring option '-M'; no argument required
4748 # The diagnosis changed in icc 8.0:
4749 # icc: Command line remark: option '-MP' not supported
4750 if (grep 'ignoring option' conftest.err ||
4751 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4752 am_cv_CC_dependencies_compiler_type
=$depmode
4761 am_cv_CC_dependencies_compiler_type
=none
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4766 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4767 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4770 test "x$enable_dependency_tracking" != xno \
4771 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4773 am__fastdepCC_FALSE
='#'
4775 am__fastdepCC_TRUE
='#'
4776 am__fastdepCC_FALSE
=
4781 # POSIX will say in a future version that running "rm -f" with no argument
4782 # is OK; and we want to be able to make that assumption in our Makefile
4783 # recipes. So use an aggressive probe to check that the usage we want is
4784 # actually supported "in the wild" to an acceptable degree.
4785 # See automake bug#10828.
4786 # To make any issue more visible, cause the running configure to be aborted
4787 # by default if the 'rm' program in use doesn't match our expectations; the
4788 # user can still override this though.
4789 if rm -f && rm -fr && rm -rf; then : OK
; else
4793 Your 'rm' program seems unable to run without file operands specified
4794 on the command line, even when the '-f' option is present. This is contrary
4795 to the behaviour of most rm programs out there, and not conforming with
4796 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4798 Please tell bug-automake@gnu.org about your system, including the value
4799 of your $PATH and any error possibly output before this message. This
4800 can help us improve future automake versions.
4803 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4804 echo 'Configuration will proceed anyway, since you have set the' >&2
4805 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4809 Aborting the configuration process, to ensure you take notice of the issue.
4811 You can download and install GNU coreutils to get an 'rm' implementation
4812 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4814 If you want to complete the configuration process using your problematic
4815 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4816 to "yes", and re-run configure.
4819 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4824 # If a cpu ever has more than one simulator to choose from, use
4825 # --enable-sim=... to choose.
4826 # Check whether --enable-sim was given.
4827 if test "${enable_sim+set}" = set; then :
4828 enableval
=$enable_sim; case "${enableval}" in
4830 *) as_fn_error $?
"bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
4835 # Check whether --enable-targets was given.
4836 if test "${enable_targets+set}" = set; then :
4837 enableval
=$enable_targets; case "${enableval}" in
4838 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
4840 no
) enable_targets
= ;;
4841 *) enable_targets
=$enableval ;;
4851 if test "${enable_sim}" != no
; then
4853 for targ
in `echo $target $enable_targets | sed 's/,/ /g'`
4858 if test "${targ}" = "${target}"; then
4859 SIM_PRIMARY_TARGET
=aarch64
4863 subdirs
="$subdirs aarch64"
4872 if test "${targ}" = "${target}"; then
4873 SIM_PRIMARY_TARGET
=arm
4875 subdirs
="$subdirs arm"
4884 if test "${targ}" = "${target}"; then
4885 SIM_PRIMARY_TARGET
=avr
4887 subdirs
="$subdirs avr"
4896 if test "${targ}" = "${target}"; then
4897 SIM_PRIMARY_TARGET
=bfin
4899 subdirs
="$subdirs bfin"
4908 if test "${targ}" = "${target}"; then
4909 SIM_PRIMARY_TARGET
=bpf
4911 subdirs
="$subdirs bpf"
4920 if test "${targ}" = "${target}"; then
4921 SIM_PRIMARY_TARGET
=cr16
4923 subdirs
="$subdirs cr16"
4931 all|cris-
*-* | crisv32-
*-*)
4932 if test "${targ}" = "${target}"; then
4933 SIM_PRIMARY_TARGET
=cris
4935 subdirs
="$subdirs cris"
4944 if test "${targ}" = "${target}"; then
4945 SIM_PRIMARY_TARGET
=d10v
4947 subdirs
="$subdirs d10v"
4956 if test "${targ}" = "${target}"; then
4957 SIM_PRIMARY_TARGET
=frv
4959 subdirs
="$subdirs frv"
4968 if test "${targ}" = "${target}"; then
4969 SIM_PRIMARY_TARGET
=h8300
4971 subdirs
="$subdirs h8300"
4980 if test "${targ}" = "${target}"; then
4981 SIM_PRIMARY_TARGET
=iq2000
4983 subdirs
="$subdirs iq2000"
4992 if test "${targ}" = "${target}"; then
4993 SIM_PRIMARY_TARGET
=lm32
4995 subdirs
="$subdirs lm32"
5004 if test "${targ}" = "${target}"; then
5005 SIM_PRIMARY_TARGET
=m32c
5007 subdirs
="$subdirs m32c"
5016 if test "${targ}" = "${target}"; then
5017 SIM_PRIMARY_TARGET
=m32r
5019 subdirs
="$subdirs m32r"
5027 all|m68hc11-
*-*|m6811-
*-*)
5028 if test "${targ}" = "${target}"; then
5029 SIM_PRIMARY_TARGET
=m68hc11
5031 subdirs
="$subdirs m68hc11"
5040 if test "${targ}" = "${target}"; then
5041 SIM_PRIMARY_TARGET
=mcore
5043 subdirs
="$subdirs mcore"
5052 if test "${targ}" = "${target}"; then
5053 SIM_PRIMARY_TARGET
=microblaze
5055 subdirs
="$subdirs microblaze"
5064 if test "${targ}" = "${target}"; then
5065 SIM_PRIMARY_TARGET
=mips
5067 subdirs
="$subdirs mips"
5076 if test "${targ}" = "${target}"; then
5077 SIM_PRIMARY_TARGET
=mn10300
5079 subdirs
="$subdirs mn10300"
5088 if test "${targ}" = "${target}"; then
5089 SIM_PRIMARY_TARGET
=moxie
5091 subdirs
="$subdirs moxie"
5100 if test "${targ}" = "${target}"; then
5101 SIM_PRIMARY_TARGET
=msp430
5103 subdirs
="$subdirs msp430"
5111 all|or1k-
*-* | or1knd-
*-*)
5112 if test "${targ}" = "${target}"; then
5113 SIM_PRIMARY_TARGET
=or1k
5115 subdirs
="$subdirs or1k"
5124 if test "${targ}" = "${target}"; then
5125 SIM_PRIMARY_TARGET
=pru
5127 subdirs
="$subdirs pru"
5136 if test "${targ}" = "${target}"; then
5137 SIM_PRIMARY_TARGET
=riscv
5139 subdirs
="$subdirs riscv"
5148 if test "${targ}" = "${target}"; then
5149 SIM_PRIMARY_TARGET
=rl78
5151 subdirs
="$subdirs rl78"
5160 if test "${targ}" = "${target}"; then
5161 SIM_PRIMARY_TARGET
=rx
5163 subdirs
="$subdirs rx"
5172 if test "${targ}" = "${target}"; then
5173 SIM_PRIMARY_TARGET
=sh
5175 subdirs
="$subdirs sh"
5183 all|sparc-
*-rtems*|sparc-
*-elf*)
5184 if test "${targ}" = "${target}"; then
5185 SIM_PRIMARY_TARGET
=erc32
5187 subdirs
="$subdirs erc32"
5196 if test "${targ}" = "${target}"; then
5197 SIM_PRIMARY_TARGET
=ppc
5199 subdirs
="$subdirs ppc"
5208 if test "${targ}" = "${target}"; then
5209 SIM_PRIMARY_TARGET
=ft32
5211 subdirs
="$subdirs ft32"
5220 if test "${targ}" = "${target}"; then
5221 SIM_PRIMARY_TARGET
=v850
5223 subdirs
="$subdirs v850"
5231 if test "$sim_igen" = "yes"; then
5232 SIM_ENABLE_IGEN_TRUE
=
5233 SIM_ENABLE_IGEN_FALSE
='#'
5235 SIM_ENABLE_IGEN_TRUE
='#'
5236 SIM_ENABLE_IGEN_FALSE
=
5240 ac_config_files
="$ac_config_files Makefile"
5242 cat >confcache
<<\_ACEOF
5243 # This file is a shell script that caches the results of configure
5244 # tests run on this system so they can be shared between configure
5245 # scripts and configure runs, see configure's option --config-cache.
5246 # It is not useful on other systems. If it contains results you don't
5247 # want to keep, you may remove or edit it.
5249 # config.status only pays attention to the cache file if you give it
5250 # the --recheck option to rerun configure.
5252 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5253 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5258 # The following way of writing the cache mishandles newlines in values,
5259 # but we know of no workaround that is simple, portable, and efficient.
5260 # So, we kill variables containing newlines.
5261 # Ultrix sh set writes to stderr and can't be redirected directly,
5262 # and sets the high bit in the cache file unless we assign to the vars.
5264 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5265 eval ac_val
=\$
$ac_var
5269 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5270 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5273 _ | IFS | as_nl
) ;; #(
5274 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5275 *) { eval $ac_var=; unset $ac_var;} ;;
5281 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5282 *${as_nl}ac_space
=\
*)
5283 # `set' does not quote correctly, so add quotes: double-quote
5284 # substitution turns \\\\ into \\, and sed turns \\ into \.
5287 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5290 # `set' quotes correctly as required by POSIX, so do not add quotes.
5291 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5300 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5302 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5304 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5305 if test -w "$cache_file"; then
5306 if test "x$cache_file" != "x/dev/null"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5308 $as_echo "$as_me: updating cache $cache_file" >&6;}
5309 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5310 cat confcache
>"$cache_file"
5312 case $cache_file in #(
5314 mv -f confcache
"$cache_file"$$
&&
5315 mv -f "$cache_file"$$
"$cache_file" ;; #(
5317 mv -f confcache
"$cache_file" ;;
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5323 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5328 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5329 # Let make expand exec_prefix.
5330 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5332 # Transform confdefs.h into DEFS.
5333 # Protect against shell expansion while executing Makefile rules.
5334 # Protect against Makefile macro expansion.
5336 # If the first sed substitution is executed (which looks for macros that
5337 # take arguments), then branch to the quote section. Otherwise,
5338 # look for a macro that doesn't take arguments.
5348 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5350 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5354 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5367 DEFS
=`sed -n "$ac_script" confdefs.h`
5373 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5374 # 1. Remove the extension, and $U if already installed.
5375 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5376 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5377 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5378 # will be set to the directory where LIBOBJS objects are built.
5379 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5380 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5384 LTLIBOBJS
=$ac_ltlibobjs
5388 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5389 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
5390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5393 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5394 if test -n "$am_sleep_pid"; then
5395 # Hide warnings about reused PIDs.
5396 wait $am_sleep_pid 2>/dev
/null
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5399 $as_echo "done" >&6; }
5400 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5401 as_fn_error $?
"conditional \"AMDEP\" was never defined.
5402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5404 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5405 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5408 if test -n "$EXEEXT"; then
5410 am__EXEEXT_FALSE
='#'
5416 if test -z "${SIM_ENABLE_IGEN_TRUE}" && test -z "${SIM_ENABLE_IGEN_FALSE}"; then
5417 as_fn_error $?
"conditional \"SIM_ENABLE_IGEN\" was never defined.
5418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5421 : "${CONFIG_STATUS=./config.status}"
5423 ac_clean_files_save
=$ac_clean_files
5424 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5426 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5428 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5430 # Generated by $as_me.
5431 # Run this file to recreate the current configuration.
5432 # Compiler output produced by configure, useful for debugging
5433 # configure, is in config.log if it exists.
5439 SHELL=\${CONFIG_SHELL-$SHELL}
5442 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5443 ## -------------------- ##
5444 ## M4sh Initialization. ##
5445 ## -------------------- ##
5447 # Be more Bourne compatible
5448 DUALCASE
=1; export DUALCASE
# for MKS sh
5449 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5452 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5453 # is contrary to our usage. Disable this feature.
5454 alias -g '${1+"$@"}'='"$@"'
5455 setopt NO_GLOB_SUBST
5457 case `(set -o) 2>/dev/null` in #(
5469 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5470 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5471 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5472 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5473 # Prefer a ksh shell builtin over an external printf program on Solaris,
5474 # but without wasting forks for bash or zsh.
5475 if test -z "$BASH_VERSION$ZSH_VERSION" \
5476 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5477 as_echo='print
-r --'
5478 as_echo_n='print
-rn --'
5479 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5480 as_echo='printf %s
\n'
5481 as_echo_n='printf %s
'
5483 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5484 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5485 as_echo_n='/usr
/ucb
/echo -n'
5487 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5488 as_echo_n_body='eval
5492 expr "X$arg" : "X\\(.*\\)$as_nl";
5493 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5495 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5497 export as_echo_n_body
5498 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5501 as_echo='sh
-c $as_echo_body as_echo
'
5504 # The user is always right.
5505 if test "${PATH_SEPARATOR+set}" != set; then
5507 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5508 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5515 # We need space, tab and new line, in precisely that order. Quoting is
5516 # there to prevent editors from complaining about space-tab.
5517 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5518 # splitting by setting IFS to empty value.)
5521 # Find who we are. Look in the path if we contain no directory separator.
5524 *[\\/]* ) as_myself=$0 ;;
5525 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5529 test -z "$as_dir" && as_dir=.
5530 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5536 # We did not find ourselves, most probably we were run as `sh COMMAND'
5537 # in which case we are not to be found in the path.
5538 if test "x$as_myself" = x
; then
5541 if test ! -f "$as_myself"; then
5542 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5546 # Unset variables that we do not need and which cause bugs (e.g. in
5547 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5548 # suppresses any "Segmentation fault" message there. '((' could
5549 # trigger a bug in pdksh 5.2.14.
5550 for as_var
in BASH_ENV ENV MAIL MAILPATH
5551 do eval test x\
${$as_var+set} = xset \
5552 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5565 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5568 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5569 # ----------------------------------------
5570 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5571 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5572 # script with STATUS, using 1 if that was 0.
5575 as_status
=$1; test $as_status -eq 0 && as_status
=1
5577 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5578 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5580 $as_echo "$as_me: error: $2" >&2
5581 as_fn_exit
$as_status
5585 # as_fn_set_status STATUS
5586 # -----------------------
5587 # Set $? to STATUS, without forking.
5591 } # as_fn_set_status
5595 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5605 # Portably unset VAR.
5608 { eval $1=; unset $1;}
5610 as_unset
=as_fn_unset
5611 # as_fn_append VAR VALUE
5612 # ----------------------
5613 # Append the text in VALUE to the end of the definition contained in VAR. Take
5614 # advantage of any shell optimizations that allow amortized linear growth over
5615 # repeated appends, instead of the typical quadratic growth present in naive
5617 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5618 eval 'as_fn_append ()
5629 # as_fn_arith ARG...
5630 # ------------------
5631 # Perform arithmetic evaluation on the ARGs, and store the result in the
5632 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5633 # must be portable across $(()) and expr.
5634 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5635 eval 'as_fn_arith ()
5642 as_val
=`expr "$@" || test $? -eq 1`
5647 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5648 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5654 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5655 as_basename
=basename
5660 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5666 as_me
=`$as_basename -- "$0" ||
5667 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5668 X"$0" : 'X\(//\)$' \| \
5669 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5671 sed '/^.*\/\([^/][^/]*\)\/*$/{
5685 # Avoid depending upon Character Ranges.
5686 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5687 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5688 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5689 as_cr_digits
='0123456789'
5690 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5692 ECHO_C
= ECHO_N
= ECHO_T
=
5693 case `echo -n x` in #(((((
5695 case `echo 'xy\c'` in
5696 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5698 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5705 rm -f conf$$ conf$$.exe conf$$.
file
5706 if test -d conf$$.dir
; then
5707 rm -f conf$$.dir
/conf$$.
file
5710 mkdir conf$$.dir
2>/dev
/null
5712 if (echo >conf$$.
file) 2>/dev
/null
; then
5713 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5715 # ... but there are two gotchas:
5716 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5717 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5718 # In both cases, we have to default to `cp -pR'.
5719 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5721 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5729 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5730 rmdir conf$$.dir
2>/dev
/null
5735 # Create "$as_dir" as a directory, including parents if necessary.
5740 -*) as_dir
=.
/$as_dir;;
5742 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5746 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5747 *) as_qdir
=$as_dir;;
5749 as_dirs
="'$as_qdir' $as_dirs"
5750 as_dir
=`$as_dirname -- "$as_dir" ||
5751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5752 X"$as_dir" : 'X\(//\)[^/]' \| \
5753 X"$as_dir" : 'X\(//\)$' \| \
5754 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5755 $as_echo X"$as_dir" |
5756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5773 test -d "$as_dir" && break
5775 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5776 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5780 if mkdir
-p .
2>/dev
/null
; then
5781 as_mkdir_p
='mkdir -p "$as_dir"'
5783 test -d .
/-p && rmdir .
/-p
5788 # as_fn_executable_p FILE
5789 # -----------------------
5790 # Test if FILE is an executable regular file.
5791 as_fn_executable_p
()
5793 test -f "$1" && test -x "$1"
5794 } # as_fn_executable_p
5796 as_executable_p
=as_fn_executable_p
5798 # Sed expression to map a string onto a valid CPP name.
5799 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5801 # Sed expression to map a string onto a valid variable name.
5802 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5806 ## ----------------------------------- ##
5807 ## Main body of $CONFIG_STATUS script. ##
5808 ## ----------------------------------- ##
5810 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5813 # Save the log message, to keep $0 and so on meaningful, and to
5814 # report actual input values of CONFIG_FILES etc. instead of their
5815 # values after options handling.
5817 This file was extended by sim $as_me 0, which was
5818 generated by GNU Autoconf 2.69. Invocation command line was
5820 CONFIG_FILES = $CONFIG_FILES
5821 CONFIG_HEADERS = $CONFIG_HEADERS
5822 CONFIG_LINKS = $CONFIG_LINKS
5823 CONFIG_COMMANDS = $CONFIG_COMMANDS
5826 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5831 case $ac_config_files in *"
5832 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5838 # Files that config.status was made for.
5839 config_files="$ac_config_files"
5840 config_commands="$ac_config_commands"
5844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5846 \`$as_me' instantiates files and other configuration actions
5847 from templates according to the current configuration. Unless the files
5848 and actions are specified as TAGs, all are instantiated by default.
5850 Usage: $0 [OPTION]... [TAG]...
5852 -h, --help print this help, then exit
5853 -V, --version print version number and configuration settings, then exit
5854 --config print configuration, then exit
5855 -q, --quiet, --silent
5856 do not print progress messages
5857 -d, --debug don't remove temporary files
5858 --recheck update $as_me by reconfiguring in the same conditions
5859 --file=FILE[:TEMPLATE]
5860 instantiate the configuration file FILE
5862 Configuration files:
5865 Configuration commands:
5868 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
5869 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
5872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5873 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5876 configured by $0, generated by GNU Autoconf 2.69,
5877 with options \\"\$ac_cs_config\\"
5879 Copyright (C) 2012 Free Software Foundation, Inc.
5880 This config.status script is free software; the Free Software Foundation
5881 gives unlimited permission to copy, distribute and modify it."
5888 test -n "\$AWK" || AWK=awk
5891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5892 # The default lists apply if the user does not specify any file.
5898 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5899 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5903 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5915 # Handling of the options.
5916 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5918 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5919 $as_echo "$ac_cs_version"; exit ;;
5920 --config |
--confi |
--conf |
--con |
--co |
--c )
5921 $as_echo "$ac_cs_config"; exit ;;
5922 --debug |
--debu |
--deb |
--de |
--d |
-d )
5924 --file |
--fil |
--fi |
--f )
5927 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5928 '') as_fn_error $?
"missing file argument" ;;
5930 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5931 ac_need_defaults
=false
;;
5932 --he |
--h |
--help |
--hel |
-h )
5933 $as_echo "$ac_cs_usage"; exit ;;
5934 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5935 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5939 -*) as_fn_error $?
"unrecognized option: \`$1'
5940 Try \`$0 --help' for more information." ;;
5942 *) as_fn_append ac_config_targets
" $1"
5943 ac_need_defaults
=false
;;
5949 ac_configure_extra_args
=
5951 if $ac_cs_silent; then
5953 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5958 if \$ac_cs_recheck; then
5959 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5961 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5962 CONFIG_SHELL='$SHELL'
5968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5972 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5973 ## Running $as_me. ##
5979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5983 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5989 # Handling of arguments.
5990 for ac_config_target
in $ac_config_targets
5992 case $ac_config_target in
5993 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5994 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5996 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6001 # If the user did not use the arguments to specify the items to instantiate,
6002 # then the envvar interface is used. Set only those that are not.
6003 # We use the long form for the default assignment because of an extremely
6004 # bizarre bug on SunOS 4.1.3.
6005 if $ac_need_defaults; then
6006 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6007 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6010 # Have a temporary directory for convenience. Make it in the build tree
6011 # simply because there is no reason against having it here, and in addition,
6012 # creating and moving files from /tmp can sometimes cause problems.
6013 # Hook for its removal unless debugging.
6014 # Note that there is a small window in which the directory will not be cleaned:
6015 # after its creation but before its name has been assigned to `$tmp'.
6019 trap 'exit_status=$?
6021 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6023 trap 'as_fn_exit 1' 1 2 13 15
6025 # Create a (secure) tmp directory for tmp files.
6028 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6032 tmp
=.
/conf$$
-$RANDOM
6033 (umask 077 && mkdir
"$tmp")
6034 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6037 # Set up the scripts for CONFIG_FILES section.
6038 # No need to generate them if there are no CONFIG_FILES.
6039 # This happens for instance with `./config.status config.h'.
6040 if test -n "$CONFIG_FILES"; then
6043 ac_cr
=`echo X | tr X '\015'`
6044 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6045 # But we know of no other shell where ac_cr would be empty at this
6046 # point, so we can use a bashism as a fallback.
6047 if test "x$ac_cr" = x
; then
6048 eval ac_cr
=\$
\'\\r
\'
6050 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6051 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6057 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6062 echo "cat >conf$$subs.awk <<_ACEOF" &&
6063 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6066 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6067 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6069 for ac_last_try in false false false false false :; do
6070 . ./conf$$subs.sh ||
6071 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6073 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6074 if test $ac_delim_n = $ac_delim_num; then
6076 elif $ac_last_try; then
6077 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6079 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6085 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6089 s/^/S["/; s
/!.
*/"]=/
6099 s/\(.\{148\}\)..*/\1/
6101 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6106 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6113 s/\(.\{148\}\)..*/\1/
6115 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6119 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6124 ' <conf$$subs.awk | sed '
6129 ' >>$CONFIG_STATUS || ac_write_fail=1
6130 rm -f conf$$subs.awk
6131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6133 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6134 for (key in S) S_is_set[key] = 1
6140 nfields = split(line, field, "@
")
6142 len = length(field[1])
6143 for (i = 2; i < nfields; i++) {
6145 keylen = length(key)
6146 if (S_is_set[key]) {
6148 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6149 len += length(value) + length(field[++i])
6160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6161 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6162 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6165 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6166 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6169 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6170 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6171 # trailing colons and then remove the whole line if VPATH becomes empty
6172 # (actually we leave an empty line to preserve line numbers).
6173 if test "x
$srcdir" = x.; then
6174 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6193 fi # test -n "$CONFIG_FILES"
6196 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
6201 :[FHLC]) ac_mode=$ac_tag; continue;;
6203 case $ac_mode$ac_tag in
6205 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
6206 :[FH]-) ac_tag=-:-;;
6207 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6224 -) ac_f="$ac_tmp/stdin";;
6225 *) # Look for the file first in the build tree, then in the source tree
6226 # (if the path is not absolute). The absolute path cannot be DOS-style,
6227 # because $ac_f cannot contain `:'.
6231 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6233 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6235 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
6236 as_fn_append ac_file_inputs " '$ac_f'"
6239 # Let's still pretend it is `configure' which instantiates (i.e., don't
6240 # use $as_me), people would be surprised to read:
6241 # /* config.h. Generated by config.status. */
6242 configure_input='Generated from '`
6243 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6245 if test x"$ac_file" != x-; then
6246 configure_input="$ac_file.
$configure_input"
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
6248 $as_echo "$as_me: creating
$ac_file" >&6;}
6250 # Neutralize special characters interpreted by sed in replacement strings.
6251 case $configure_input in #(
6252 *\&* | *\|* | *\\* )
6253 ac_sed_conf_input=`$as_echo "$configure_input" |
6254 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6255 *) ac_sed_conf_input=$configure_input;;
6259 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
6260 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
6265 ac_dir=`$as_dirname -- "$ac_file" ||
6266 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6267 X"$ac_file" : 'X\(//\)[^/]' \| \
6268 X"$ac_file" : 'X\(//\)$' \| \
6269 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6270 $as_echo X"$ac_file" |
6271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6288 as_dir="$ac_dir"; as_fn_mkdir_p
6292 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6294 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6295 # A "..
" for each directory in $ac_dir_suffix.
6296 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6297 case $ac_top_builddir_sub in
6298 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6299 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6302 ac_abs_top_builddir=$ac_pwd
6303 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6304 # for backward compatibility:
6305 ac_top_builddir=$ac_top_build_prefix
6308 .) # We are building in place.
6310 ac_top_srcdir=$ac_top_builddir_sub
6311 ac_abs_top_srcdir=$ac_pwd ;;
6312 [\\/]* | ?:[\\/]* ) # Absolute name.
6313 ac_srcdir=$srcdir$ac_dir_suffix;
6314 ac_top_srcdir=$srcdir
6315 ac_abs_top_srcdir=$srcdir ;;
6317 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6318 ac_top_srcdir=$ac_top_build_prefix$srcdir
6319 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6321 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6331 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6332 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6336 [\\/$]* | ?:[\\/]* ) ;;
6337 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6342 # If the template does not know about datarootdir, expand it.
6343 # FIXME: This hack should be removed a few years after 2.60.
6344 ac_datarootdir_hack=; ac_datarootdir_seen=
6355 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
6356 *datarootdir*) ac_datarootdir_seen=yes;;
6357 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
6359 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
6361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6362 ac_datarootdir_hack='
6363 s&@datadir@&$datadir&g
6364 s&@docdir@&$docdir&g
6365 s&@infodir@&$infodir&g
6366 s&@localedir@&$localedir&g
6367 s&@mandir@&$mandir&g
6368 s&\\\${datarootdir}&$datarootdir&g' ;;
6372 # Neutralize VPATH when `$srcdir' = `.'.
6373 # Shell code in configure.ac might set extrasub.
6374 # FIXME: do we really want to maintain this feature?
6375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6376 ac_sed_extra="$ac_vpsub
6379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6381 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6382 s|@configure_input@|
$ac_sed_conf_input|
;t t
6383 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6384 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6385 s
&@srcdir@
&$ac_srcdir&;t t
6386 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6387 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6388 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6389 s
&@builddir@
&$ac_builddir&;t t
6390 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6391 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6392 s
&@INSTALL@
&$ac_INSTALL&;t t
6393 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
6394 $ac_datarootdir_hack
6396 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6397 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6399 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6400 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6401 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6402 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6404 which seems to be undefined. Please make sure it is defined" >&5
6405 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6406 which seems to be undefined. Please make sure it is defined" >&2;}
6408 rm -f "$ac_tmp/stdin"
6410 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6411 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6413 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6417 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6418 $as_echo "$as_me: executing $ac_file commands" >&6;}
6423 case $ac_file$ac_mode in
6424 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6425 # Older Autoconf quotes --file arguments for eval, but not when files
6426 # are listed without --file. Let's play safe and only
enable the
eval
6427 # if we detect the quoting.
6428 case $CONFIG_FILES in
6429 *\'*) eval set x
"$CONFIG_FILES" ;;
6430 *) set x
$CONFIG_FILES ;;
6435 # Strip MF so we end up with the name of the file.
6436 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6437 # Check whether this is an Automake generated Makefile or not.
6438 # We used to match only the files named 'Makefile.in', but
6439 # some people rename them; so instead we look at the file content.
6440 # Grep'ing the first line is not enough: some people post-process
6441 # each Makefile.in and add a new line on top of each file to say so.
6442 # Grep'ing the whole file is not good either: AIX grep has a line
6443 # limit of 2048, but all sed's we know have understand at least 4000.
6444 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
6445 dirpart
=`$as_dirname -- "$mf" ||
6446 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6447 X"$mf" : 'X\(//\)[^/]' \| \
6448 X"$mf" : 'X\(//\)$' \| \
6449 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6471 # Extract the definition of DEPDIR, am__include, and am__quote
6472 # from the Makefile without running 'make'.
6473 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6474 test -z "$DEPDIR" && continue
6475 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6476 test -z "$am__include" && continue
6477 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6478 # Find all dependency output files, they are included files with
6479 # $(DEPDIR) in their names. We invoke sed twice because it is the
6480 # simplest approach to changing $(DEPDIR) to its actual value in the
6482 for file in `sed -n "
6483 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6484 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6485 # Make sure the directory exists.
6486 test -f "$dirpart/$file" && continue
6487 fdir
=`$as_dirname -- "$file" ||
6488 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6489 X"$file" : 'X\(//\)[^/]' \| \
6490 X"$file" : 'X\(//\)$' \| \
6491 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6510 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
6511 # echo "creating $dirpart/$file"
6512 echo '# dummy' > "$dirpart/$file"
6524 ac_clean_files
=$ac_clean_files_save
6526 test $ac_write_fail = 0 ||
6527 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6530 # configure is writing to config.log, and then calls config.status.
6531 # config.status does its own redirection, appending to config.log.
6532 # Unfortunately, on DOS this fails, as config.log is still kept open
6533 # by configure, so config.status won't be able to write to it; its
6534 # output is simply discarded. So we exec the FD to /dev/null,
6535 # effectively closing config.log, so it can be properly (re)opened and
6536 # appended to by config.status. When coming back to configure, we
6537 # need to make the FD available again.
6538 if test "$no_create" != yes; then
6540 ac_config_status_args
=
6541 test "$silent" = yes &&
6542 ac_config_status_args
="$ac_config_status_args --quiet"
6544 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6546 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6547 # would make configure fail if this is the last instruction.
6548 $ac_cs_success || as_fn_exit
1
6552 # CONFIG_SUBDIRS section.
6554 if test "$no_recursion" != yes; then
6556 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
6557 # so they do not pile up.
6558 ac_sub_configure_args
=
6560 eval "set x $ac_configure_args"
6564 if test -n "$ac_prev"; then
6569 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
6570 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
6571 ac_prev
=cache_file
;;
6572 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
6573 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
6576 --config-cache |
-C)
6578 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
6580 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
6582 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
6584 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
6586 --disable-option-checking)
6590 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6592 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
6596 # Always prepend --prefix to ensure using the same prefix
6597 # in subdir configurations.
6598 ac_arg
="--prefix=$prefix"
6600 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6602 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
6605 if test "$silent" = yes; then
6606 ac_sub_configure_args
="--silent $ac_sub_configure_args"
6609 # Always prepend --disable-option-checking to silence warnings, since
6610 # different subdirs can have different --enable and --with options.
6611 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
6614 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
6616 # Do not complain, so a configure script can configure whichever
6617 # parts of a large source tree are present.
6618 test -d "$srcdir/$ac_dir" ||
continue
6620 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
6621 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
6622 $as_echo "$ac_msg" >&6
6623 as_dir
="$ac_dir"; as_fn_mkdir_p
6627 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6629 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6630 # A ".." for each directory in $ac_dir_suffix.
6631 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6632 case $ac_top_builddir_sub in
6633 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6634 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6637 ac_abs_top_builddir
=$ac_pwd
6638 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6639 # for backward compatibility:
6640 ac_top_builddir
=$ac_top_build_prefix
6643 .
) # We are building in place.
6645 ac_top_srcdir
=$ac_top_builddir_sub
6646 ac_abs_top_srcdir
=$ac_pwd ;;
6647 [\\/]* | ?
:[\\/]* ) # Absolute name.
6648 ac_srcdir
=$srcdir$ac_dir_suffix;
6649 ac_top_srcdir
=$srcdir
6650 ac_abs_top_srcdir
=$srcdir ;;
6652 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6653 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6654 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6656 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6661 # Check for guested configure; otherwise get Cygnus style configure.
6662 if test -f "$ac_srcdir/configure.gnu"; then
6663 ac_sub_configure
=$ac_srcdir/configure.gnu
6664 elif test -f "$ac_srcdir/configure"; then
6665 ac_sub_configure
=$ac_srcdir/configure
6666 elif test -f "$ac_srcdir/configure.in"; then
6667 # This should be Cygnus configure.
6668 ac_sub_configure
=$ac_aux_dir/configure
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
6671 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6675 # The recursion is here.
6676 if test -n "$ac_sub_configure"; then
6677 # Make the cache file name correct relative to the subdirectory.
6679 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
6681 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
6684 { $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
6685 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6686 # The eval makes quoting arguments work.
6687 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
6688 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
6689 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
6695 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6697 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}