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
653 INSTALL_STRIP_PROGRAM
666 MAINTAINER_MODE_FALSE
726 program_transform_name
739 enable_option_checking
740 enable_maintainer_mode
741 enable_dependency_tracking
745 ac_precious_vars
='build_alias
754 ac_subdirs_all
='aarch64
787 # Initialize some variables set by options.
789 ac_init_version
=false
790 ac_unrecognized_opts
=
792 # The variables have the same names as the options, with
793 # dashes changed to underlines.
801 program_transform_name
=s
,x
,x
,
809 # Installation directory options.
810 # These are left unexpanded so users can "make install exec_prefix=/foo"
811 # and all the variables that are supposed to be based on exec_prefix
812 # by default will actually change.
813 # Use braces instead of parens because sh, perl, etc. also accept them.
814 # (The list follows the same order as the GNU Coding Standards.)
815 bindir
='${exec_prefix}/bin'
816 sbindir
='${exec_prefix}/sbin'
817 libexecdir
='${exec_prefix}/libexec'
818 datarootdir
='${prefix}/share'
819 datadir
='${datarootdir}'
820 sysconfdir
='${prefix}/etc'
821 sharedstatedir
='${prefix}/com'
822 localstatedir
='${prefix}/var'
823 includedir
='${prefix}/include'
824 oldincludedir
='/usr/include'
825 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
826 infodir
='${datarootdir}/info'
831 libdir
='${exec_prefix}/lib'
832 localedir
='${datarootdir}/locale'
833 mandir
='${datarootdir}/man'
839 # If the previous option needs an argument, assign it.
840 if test -n "$ac_prev"; then
841 eval $ac_prev=\
$ac_option
847 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
852 # Accept the important Cygnus configure options, so we can diagnose typos.
854 case $ac_dashdash$ac_option in
858 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
860 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
863 -build |
--build |
--buil |
--bui |
--bu)
864 ac_prev
=build_alias
;;
865 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
866 build_alias
=$ac_optarg ;;
868 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
869 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
870 ac_prev
=cache_file
;;
871 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
872 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
873 cache_file
=$ac_optarg ;;
876 cache_file
=config.cache
;;
878 -datadir |
--datadir |
--datadi |
--datad)
880 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
881 datadir
=$ac_optarg ;;
883 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
884 |
--dataroo |
--dataro |
--datar)
885 ac_prev
=datarootdir
;;
886 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
887 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
888 datarootdir
=$ac_optarg ;;
890 -disable-* |
--disable-*)
891 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
892 # Reject names that are not valid shell variable names.
893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
894 as_fn_error $?
"invalid feature name: $ac_useropt"
895 ac_useropt_orig
=$ac_useropt
896 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
897 case $ac_user_opts in
901 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
902 ac_unrecognized_sep
=', ';;
904 eval enable_
$ac_useropt=no
;;
906 -docdir |
--docdir |
--docdi |
--doc |
--do)
908 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
911 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
913 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
916 -enable-* |
--enable-*)
917 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
918 # Reject names that are not valid shell variable names.
919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
920 as_fn_error $?
"invalid feature name: $ac_useropt"
921 ac_useropt_orig
=$ac_useropt
922 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
923 case $ac_user_opts in
927 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
928 ac_unrecognized_sep
=', ';;
930 eval enable_
$ac_useropt=\
$ac_optarg ;;
932 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
933 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
934 |
--exec |
--exe |
--ex)
935 ac_prev
=exec_prefix
;;
936 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
937 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
938 |
--exec=* |
--exe=* |
--ex=*)
939 exec_prefix
=$ac_optarg ;;
941 -gas |
--gas |
--ga |
--g)
942 # Obsolete; use --with-gas.
945 -help |
--help |
--hel |
--he |
-h)
947 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
948 ac_init_help
=recursive
;;
949 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
950 ac_init_help
=short
;;
952 -host |
--host |
--hos |
--ho)
953 ac_prev
=host_alias
;;
954 -host=* |
--host=* |
--hos=* |
--ho=*)
955 host_alias
=$ac_optarg ;;
957 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
959 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
961 htmldir
=$ac_optarg ;;
963 -includedir |
--includedir |
--includedi |
--included |
--include \
964 |
--includ |
--inclu |
--incl |
--inc)
965 ac_prev
=includedir
;;
966 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
967 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
968 includedir
=$ac_optarg ;;
970 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
972 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
973 infodir
=$ac_optarg ;;
975 -libdir |
--libdir |
--libdi |
--libd)
977 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
980 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
981 |
--libexe |
--libex |
--libe)
982 ac_prev
=libexecdir
;;
983 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
984 |
--libexe=* |
--libex=* |
--libe=*)
985 libexecdir
=$ac_optarg ;;
987 -localedir |
--localedir |
--localedi |
--localed |
--locale)
989 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
990 localedir
=$ac_optarg ;;
992 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
993 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
994 ac_prev
=localstatedir
;;
995 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
996 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
997 localstatedir
=$ac_optarg ;;
999 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1001 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1002 mandir
=$ac_optarg ;;
1004 -nfp |
--nfp |
--nf)
1005 # Obsolete; use --without-fp.
1008 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1009 |
--no-cr |
--no-c |
-n)
1012 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1013 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1016 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1017 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1018 |
--oldin |
--oldi |
--old |
--ol |
--o)
1019 ac_prev
=oldincludedir
;;
1020 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1021 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1022 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1023 oldincludedir
=$ac_optarg ;;
1025 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1027 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1028 prefix
=$ac_optarg ;;
1030 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1031 |
--program-pre |
--program-pr |
--program-p)
1032 ac_prev
=program_prefix
;;
1033 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1034 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1035 program_prefix
=$ac_optarg ;;
1037 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1038 |
--program-suf |
--program-su |
--program-s)
1039 ac_prev
=program_suffix
;;
1040 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1041 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1042 program_suffix
=$ac_optarg ;;
1044 -program-transform-name |
--program-transform-name \
1045 |
--program-transform-nam |
--program-transform-na \
1046 |
--program-transform-n |
--program-transform- \
1047 |
--program-transform |
--program-transfor \
1048 |
--program-transfo |
--program-transf \
1049 |
--program-trans |
--program-tran \
1050 |
--progr-tra |
--program-tr |
--program-t)
1051 ac_prev
=program_transform_name
;;
1052 -program-transform-name=* |
--program-transform-name=* \
1053 |
--program-transform-nam=* |
--program-transform-na=* \
1054 |
--program-transform-n=* |
--program-transform-=* \
1055 |
--program-transform=* |
--program-transfor=* \
1056 |
--program-transfo=* |
--program-transf=* \
1057 |
--program-trans=* |
--program-tran=* \
1058 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1059 program_transform_name
=$ac_optarg ;;
1061 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1063 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1064 pdfdir
=$ac_optarg ;;
1066 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1068 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1071 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1072 |
-silent |
--silent |
--silen |
--sile |
--sil)
1075 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1077 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1079 sbindir
=$ac_optarg ;;
1081 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1082 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1083 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1085 ac_prev
=sharedstatedir
;;
1086 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1087 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1088 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1090 sharedstatedir
=$ac_optarg ;;
1092 -site |
--site |
--sit)
1094 -site=* |
--site=* |
--sit=*)
1097 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1099 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1100 srcdir
=$ac_optarg ;;
1102 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1103 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1104 ac_prev
=sysconfdir
;;
1105 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1106 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1107 sysconfdir
=$ac_optarg ;;
1109 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1110 ac_prev
=target_alias
;;
1111 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1112 target_alias
=$ac_optarg ;;
1114 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1117 -version |
--version |
--versio |
--versi |
--vers |
-V)
1118 ac_init_version
=: ;;
1121 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1124 as_fn_error $?
"invalid package name: $ac_useropt"
1125 ac_useropt_orig
=$ac_useropt
1126 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127 case $ac_user_opts in
1131 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1132 ac_unrecognized_sep
=', ';;
1134 eval with_
$ac_useropt=\
$ac_optarg ;;
1136 -without-* |
--without-*)
1137 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1140 as_fn_error $?
"invalid package name: $ac_useropt"
1141 ac_useropt_orig
=$ac_useropt
1142 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143 case $ac_user_opts in
1147 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1148 ac_unrecognized_sep
=', ';;
1150 eval with_
$ac_useropt=no
;;
1153 # Obsolete; use --with-x.
1156 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1157 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1158 ac_prev
=x_includes
;;
1159 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1160 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1161 x_includes
=$ac_optarg ;;
1163 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1164 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1165 ac_prev
=x_libraries
;;
1166 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1167 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1168 x_libraries
=$ac_optarg ;;
1170 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1171 Try \`$0 --help' for more information"
1175 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1176 # Reject names that are not valid shell variable names.
1177 case $ac_envvar in #(
1178 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1179 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1181 eval $ac_envvar=\
$ac_optarg
1182 export $ac_envvar ;;
1185 # FIXME: should be removed in autoconf 3.0.
1186 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1187 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1188 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1189 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1195 if test -n "$ac_prev"; then
1196 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1197 as_fn_error $?
"missing argument to $ac_option"
1200 if test -n "$ac_unrecognized_opts"; then
1201 case $enable_option_checking in
1203 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1204 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1208 # Check all directory arguments for consistency.
1209 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1210 datadir sysconfdir sharedstatedir localstatedir includedir \
1211 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1212 libdir localedir mandir
1214 eval ac_val
=\$
$ac_var
1215 # Remove trailing slashes.
1218 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1219 eval $ac_var=\
$ac_val;;
1221 # Be sure to have absolute directory names.
1223 [\\/$
]* | ?
:[\\/]* ) continue;;
1224 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1226 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1229 # There might be people who depend on the old broken behavior: `$host'
1230 # used to hold the argument of --host etc.
1231 # FIXME: To remove some day.
1234 target
=$target_alias
1236 # FIXME: To remove some day.
1237 if test "x$host_alias" != x
; then
1238 if test "x$build_alias" = x
; then
1239 cross_compiling
=maybe
1240 elif test "x$build_alias" != "x$host_alias"; then
1246 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1248 test "$silent" = yes && exec 6>/dev
/null
1251 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1252 ac_ls_di
=`ls -di .` &&
1253 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1254 as_fn_error $?
"working directory cannot be determined"
1255 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1256 as_fn_error $?
"pwd does not report name of working directory"
1259 # Find the source files, if location was not specified.
1260 if test -z "$srcdir"; then
1261 ac_srcdir_defaulted
=yes
1262 # Try the directory containing this script, then the parent directory.
1263 ac_confdir
=`$as_dirname -- "$as_myself" ||
1264 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1265 X"$as_myself" : 'X\(//\)[^/]' \| \
1266 X"$as_myself" : 'X\(//\)$' \| \
1267 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1268 $as_echo X"$as_myself" |
1269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1287 if test ! -r "$srcdir/$ac_unique_file"; then
1291 ac_srcdir_defaulted
=no
1293 if test ! -r "$srcdir/$ac_unique_file"; then
1294 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1295 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1297 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1299 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1301 # When building in place, set srcdir=.
1302 if test "$ac_abs_confdir" = "$ac_pwd"; then
1305 # Remove unnecessary trailing slashes from srcdir.
1306 # Double slashes in file names in object file debugging info
1307 # mess up M-x gdb in Emacs.
1309 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1311 for ac_var
in $ac_precious_vars; do
1312 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1313 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1314 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1315 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1319 # Report the --help message.
1321 if test "$ac_init_help" = "long"; then
1322 # Omit some internal or obsolete options to make the list less imposing.
1323 # This message is too long to be a string in the A/UX 3.1 sh.
1325 \`configure' configures sim 0 to adapt to many kinds of systems.
1327 Usage: $0 [OPTION]... [VAR=VALUE]...
1329 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1330 VAR=VALUE. See below for descriptions of some of the useful variables.
1332 Defaults for the options are specified in brackets.
1335 -h, --help display this help and exit
1336 --help=short display options specific to this package
1337 --help=recursive display the short help of all the included packages
1338 -V, --version display version information and exit
1339 -q, --quiet, --silent do not print \`checking ...' messages
1340 --cache-file=FILE cache test results in FILE [disabled]
1341 -C, --config-cache alias for \`--cache-file=config.cache'
1342 -n, --no-create do not create output files
1343 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1345 Installation directories:
1346 --prefix=PREFIX install architecture-independent files in PREFIX
1347 [$ac_default_prefix]
1348 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1351 By default, \`make install' will install all the files in
1352 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1353 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1354 for instance \`--prefix=\$HOME'.
1356 For better control, use the options below.
1358 Fine tuning of the installation directories:
1359 --bindir=DIR user executables [EPREFIX/bin]
1360 --sbindir=DIR system admin executables [EPREFIX/sbin]
1361 --libexecdir=DIR program executables [EPREFIX/libexec]
1362 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1363 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1364 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1365 --libdir=DIR object code libraries [EPREFIX/lib]
1366 --includedir=DIR C header files [PREFIX/include]
1367 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1368 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1369 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1370 --infodir=DIR info documentation [DATAROOTDIR/info]
1371 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1372 --mandir=DIR man documentation [DATAROOTDIR/man]
1373 --docdir=DIR documentation root [DATAROOTDIR/doc/sim]
1374 --htmldir=DIR html documentation [DOCDIR]
1375 --dvidir=DIR dvi documentation [DOCDIR]
1376 --pdfdir=DIR pdf documentation [DOCDIR]
1377 --psdir=DIR ps documentation [DOCDIR]
1383 --program-prefix=PREFIX prepend PREFIX to installed program names
1384 --program-suffix=SUFFIX append SUFFIX to installed program names
1385 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1388 --build=BUILD configure
for building on BUILD
[guessed
]
1389 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1390 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1394 if test -n "$ac_init_help"; then
1395 case $ac_init_help in
1396 short | recursive
) echo "Configuration of sim 0:";;
1401 --disable-option-checking ignore unrecognized
--enable/--with options
1402 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1403 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1404 --enable-maintainer-mode
1405 enable make rules and dependencies not useful
(and
1406 sometimes confusing
) to the casual installer
1407 --enable-dependency-tracking
1408 do not reject slow dependency extractors
1409 --disable-dependency-tracking
1410 speeds up one-time build
1411 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1412 --disable-silent-rules verbose build output
(undo
: "make V=0")
1413 --enable-sim Enable the GNU simulator
1415 Some influential environment variables
:
1416 CC C compiler
command
1417 CFLAGS C compiler flags
1418 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1419 nonstandard directory
<lib dir
>
1420 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1421 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1422 you have headers
in a nonstandard directory
<include dir
>
1425 Use these variables to override the choices made by
`configure' or to help
1426 it to find libraries and programs with nonstandard names/locations.
1428 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
1429 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
1434 if test "$ac_init_help" = "recursive"; then
1435 # If there are subdirs, report their specific --help.
1436 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1437 test -d "$ac_dir" ||
1438 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1446 # A ".." for each directory in $ac_dir_suffix.
1447 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1448 case $ac_top_builddir_sub in
1449 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1453 ac_abs_top_builddir=$ac_pwd
1454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1455 # for backward compatibility:
1456 ac_top_builddir=$ac_top_build_prefix
1459 .) # We are building in place.
1461 ac_top_srcdir=$ac_top_builddir_sub
1462 ac_abs_top_srcdir=$ac_pwd ;;
1463 [\\/]* | ?:[\\/]* ) # Absolute name.
1464 ac_srcdir=$srcdir$ac_dir_suffix;
1465 ac_top_srcdir=$srcdir
1466 ac_abs_top_srcdir=$srcdir ;;
1468 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1469 ac_top_srcdir=$ac_top_build_prefix$srcdir
1470 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1474 cd "$ac_dir" || { ac_status=$?; continue; }
1475 # Check for guested configure.
1476 if test -f "$ac_srcdir/configure.gnu"; then
1478 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1479 elif test -f "$ac_srcdir/configure"; then
1481 $SHELL "$ac_srcdir/configure" --help=recursive
1483 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1485 cd "$ac_pwd" || { ac_status=$?; break; }
1489 test -n "$ac_init_help" && exit $ac_status
1490 if $ac_init_version; then
1493 generated by GNU Autoconf 2.69
1495 Copyright (C) 2012 Free Software Foundation, Inc.
1496 This configure script is free software; the Free Software Foundation
1497 gives unlimited permission to copy, distribute and modify it.
1502 ## ------------------------ ##
1503 ## Autoconf initialization. ##
1504 ## ------------------------ ##
1506 # ac_fn_c_try_compile LINENO
1507 # --------------------------
1508 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1509 ac_fn_c_try_compile ()
1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1512 rm -f conftest.$ac_objext
1513 if { { ac_try="$ac_compile"
1515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1516 *) ac_try_echo
=$ac_try;;
1518 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1519 $as_echo "$ac_try_echo"; } >&5
1520 (eval "$ac_compile") 2>conftest.err
1522 if test -s conftest.err
; then
1523 grep -v '^ *+' conftest.err
>conftest.er1
1524 cat conftest.er1
>&5
1525 mv -f conftest.er1 conftest.err
1527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1528 test $ac_status = 0; } && {
1529 test -z "$ac_c_werror_flag" ||
1530 test ! -s conftest.err
1531 } && test -s conftest.
$ac_objext; then :
1534 $as_echo "$as_me: failed program was:" >&5
1535 sed 's/^/| /' conftest.
$ac_ext >&5
1539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1540 as_fn_set_status
$ac_retval
1542 } # ac_fn_c_try_compile
1544 # ac_fn_c_try_cpp LINENO
1545 # ----------------------
1546 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1549 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1550 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1553 *) ac_try_echo=$ac_try;;
1555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1556 $as_echo "$ac_try_echo"; } >&5
1557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1559 if test -s conftest.err; then
1560 grep -v '^ *+' conftest.err >conftest.er1
1561 cat conftest.er1 >&5
1562 mv -f conftest.er1 conftest.err
1564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1565 test $ac_status = 0; } > conftest.i && {
1566 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1567 test ! -s conftest.err
1571 $as_echo "$as_me: failed program was:" >&5
1572 sed 's/^/| /' conftest.$ac_ext >&5
1576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1577 as_fn_set_status $ac_retval
1581 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1582 # -------------------------------------------------------
1583 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1584 # the include files in INCLUDES and setting the cache variable VAR
1586 ac_fn_c_check_header_mongrel ()
1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589 if eval \${$3+:} false; then :
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1591 $as_echo_n "checking for $2... " >&6; }
1592 if eval \${$3+:} false; then :
1593 $as_echo_n "(cached) " >&6
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1597 $as_echo "$ac_res" >&6; }
1599 # Is the header compilable?
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1601 $as_echo_n "checking $2 usability... " >&6; }
1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1603 /* end confdefs.h. */
1607 if ac_fn_c_try_compile "$LINENO"; then :
1608 ac_header_compiler=yes
1610 ac_header_compiler=no
1612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1614 $as_echo "$ac_header_compiler" >&6; }
1616 # Is the header present?
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1618 $as_echo_n "checking $2 presence... " >&6; }
1619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1620 /* end confdefs.h. */
1623 if ac_fn_c_try_cpp "$LINENO"; then :
1624 ac_header_preproc=yes
1626 ac_header_preproc=no
1628 rm -f conftest.err conftest.i conftest.$ac_ext
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1630 $as_echo "$ac_header_preproc" >&6; }
1632 # So? What about this header?
1633 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1636 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1638 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1642 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1644 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1646 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1648 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1650 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1651 ( $as_echo "## -------------------------------------------------------------------------------------- ##
1652 ## Report this to https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim ##
1653 ## -------------------------------------------------------------------------------------- ##"
1654 ) | sed "s/^/$as_me: WARNING: /" >&2
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1658 $as_echo_n "checking for $2... " >&6; }
1659 if eval \${$3+:} false; then :
1660 $as_echo_n "(cached) " >&6
1662 eval "$3=\$ac_header_compiler"
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1666 $as_echo "$ac_res" >&6; }
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670 } # ac_fn_c_check_header_mongrel
1672 # ac_fn_c_try_run LINENO
1673 # ----------------------
1674 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1675 # that executables *can* be run.
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 if { { ac_try="$ac_link"
1681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1682 *) ac_try_echo
=$ac_try;;
1684 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686 (eval "$ac_link") 2>&5
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1690 { { case "(($ac_try" in
1691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1692 *) ac_try_echo=$ac_try;;
1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696 (eval "$ac_try") 2>&5
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; }; }; then :
1702 $as_echo "$as_me: program exited with status $ac_status" >&5
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1706 ac_retval=$ac_status
1708 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710 as_fn_set_status $ac_retval
1714 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1715 # -------------------------------------------------------
1716 # Tests whether HEADER exists and can be compiled using the include files in
1717 # INCLUDES, setting the cache variable VAR accordingly.
1718 ac_fn_c_check_header_compile ()
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1722 $as_echo_n "checking for $2... " >&6; }
1723 if eval \${$3+:} false; then :
1724 $as_echo_n "(cached) " >&6
1726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1731 if ac_fn_c_try_compile "$LINENO"; then :
1736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740 $as_echo "$ac_res" >&6; }
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743 } # ac_fn_c_check_header_compile
1744 cat >config.log <<_ACEOF
1745 This file contains any messages produced by compilers while
1746 running configure, to aid debugging if configure makes a mistake.
1748 It was created by sim $as_me 0, which was
1749 generated by GNU Autoconf 2.69. Invocation command line was
1761 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1762 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1763 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1764 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1765 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1767 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1768 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1770 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1771 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1772 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1773 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1774 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1775 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1776 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1784 test -z "$as_dir" && as_dir=.
1785 $as_echo "PATH: $as_dir"
1801 # Keep a trace of the command line.
1802 # Strip out --no-create and --no-recursion so they do not pile up.
1803 # Strip out --silent because we don't want to record it for future runs.
1804 # Also quote any args containing shell meta-characters.
1805 # Make two passes to allow for proper duplicate-argument suppression.
1809 ac_must_keep_next=false
1815 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1816 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1817 | -silent | --silent | --silen | --sile | --sil)
1820 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1823 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1825 as_fn_append ac_configure_args1 " '$ac_arg'"
1826 if test $ac_must_keep_next = true; then
1827 ac_must_keep_next=false # Got value, back to normal.
1830 *=* | --config-cache | -C | -disable-* | --disable-* \
1831 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1832 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1833 | -with-* | --with-* | -without-* | --without-* | --x)
1834 case "$ac_configure_args0 " in
1835 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1838 -* ) ac_must_keep_next=true ;;
1841 as_fn_append ac_configure_args " '$ac_arg'"
1846 { ac_configure_args0=; unset ac_configure_args0;}
1847 { ac_configure_args1=; unset ac_configure_args1;}
1849 # When interrupted or exit'd, cleanup temporary files, and complete
1850 # config.log. We remove comments because anyway the quotes in there
1851 # would cause problems or look ugly.
1852 # WARNING: Use '\'' to represent an apostrophe within the trap.
1853 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1854 trap 'exit_status=$?
1855 # Save into config.log some information that might help in debugging.
1859 $as_echo "## ---------------- ##
1860 ## Cache variables. ##
1861 ## ---------------- ##"
1863 # The following way of writing the cache mishandles newlines in values,
1865 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1866 eval ac_val=\$$ac_var
1870 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1871 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1874 _ | IFS | as_nl) ;; #(
1875 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1876 *) { eval $ac_var=; unset $ac_var;} ;;
1881 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1882 *${as_nl}ac_space=\ *)
1884 "s/'\''/'\''\\\\'\'''\''/g;
1885 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1888 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1895 $as_echo "## ----------------- ##
1896 ## Output variables. ##
1897 ## ----------------- ##"
1899 for ac_var in $ac_subst_vars
1901 eval ac_val=\$$ac_var
1903 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1905 $as_echo "$ac_var='\''$ac_val'\''"
1909 if test -n "$ac_subst_files"; then
1910 $as_echo "## ------------------- ##
1911 ## File substitutions. ##
1912 ## ------------------- ##"
1914 for ac_var in $ac_subst_files
1916 eval ac_val=\$$ac_var
1918 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1920 $as_echo "$ac_var='\''$ac_val'\''"
1925 if test -s confdefs.h; then
1926 $as_echo "## ----------- ##
1933 test "$ac_signal" != 0 &&
1934 $as_echo "$as_me: caught signal $ac_signal"
1935 $as_echo "$as_me: exit $exit_status"
1937 rm -f core *.core core.conftest.* &&
1938 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1941 for ac_signal in 1 2 13 15; do
1942 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1946 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1947 rm -f -r conftest* confdefs.h
1949 $as_echo "/* confdefs.h */" > confdefs.h
1951 # Predefined preprocessor variables.
1953 cat >>confdefs.h <<_ACEOF
1954 #define PACKAGE_NAME "$PACKAGE_NAME"
1957 cat >>confdefs.h <<_ACEOF
1958 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1961 cat >>confdefs.h <<_ACEOF
1962 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1965 cat >>confdefs.h <<_ACEOF
1966 #define PACKAGE_STRING "$PACKAGE_STRING"
1969 cat >>confdefs.h <<_ACEOF
1970 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1973 cat >>confdefs.h <<_ACEOF
1974 #define PACKAGE_URL "$PACKAGE_URL"
1978 # Let the site file select an alternate cache file if it wants to.
1979 # Prefer an explicitly selected file to automatically selected ones.
1982 if test -n "$CONFIG_SITE"; then
1983 # We do not want a PATH search for config.site.
1984 case $CONFIG_SITE in #((
1985 -*) ac_site_file1=./$CONFIG_SITE;;
1986 */*) ac_site_file1=$CONFIG_SITE;;
1987 *) ac_site_file1=./$CONFIG_SITE;;
1989 elif test "x$prefix" != xNONE; then
1990 ac_site_file1=$prefix/share/config.site
1991 ac_site_file2=$prefix/etc/config.site
1993 ac_site_file1=$ac_default_prefix/share/config.site
1994 ac_site_file2=$ac_default_prefix/etc/config.site
1996 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1998 test "x$ac_site_file" = xNONE && continue
1999 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2001 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2002 sed 's/^/| /' "$ac_site_file" >&5
2004 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2006 as_fn_error $? "failed to load site
script $ac_site_file
2007 See \
`config.log' for more details" "$LINENO" 5; }
2011 if test -r "$cache_file"; then
2012 # Some versions of bash will fail to source /dev/null (special files
2013 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2014 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2016 $as_echo "$as_me: loading cache $cache_file" >&6;}
2018 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2019 *) . "./$cache_file";;
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2024 $as_echo "$as_me: creating cache $cache_file" >&6;}
2028 # Check that the precious variables saved in the cache have kept the same
2030 ac_cache_corrupted=false
2031 for ac_var in $ac_precious_vars; do
2032 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2033 eval ac_new_set=\$ac_env_${ac_var}_set
2034 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2035 eval ac_new_val=\$ac_env_${ac_var}_value
2036 case $ac_old_set,$ac_new_set in
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2039 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2040 ac_cache_corrupted=: ;;
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2043 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2044 ac_cache_corrupted=: ;;
2047 if test "x$ac_old_val" != "x$ac_new_val"; then
2048 # differences in whitespace do not lead to failure.
2049 ac_old_val_w=`echo x
$ac_old_val`
2050 ac_new_val_w=`echo x
$ac_new_val`
2051 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2053 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2054 ac_cache_corrupted=:
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2057 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2058 eval $ac_var=\$ac_old_val
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2061 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2063 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2066 # Pass precious variables to config.status.
2067 if test "$ac_new_set" = set; then
2069 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2070 *) ac_arg=$ac_var=$ac_new_val ;;
2072 case " $ac_configure_args " in
2073 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2074 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2078 if $ac_cache_corrupted; then
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2082 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2083 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2085 ## -------------------- ##
2086 ## Main body of script. ##
2087 ## -------------------- ##
2090 ac_cpp='$CPP $CPPFLAGS'
2091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2101 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2102 if test -f "$ac_dir/install-sh"; then
2104 ac_install_sh="$ac_aux_dir/install-sh -c"
2106 elif test -f "$ac_dir/install.sh"; then
2108 ac_install_sh="$ac_aux_dir/install.sh -c"
2110 elif test -f "$ac_dir/shtool"; then
2112 ac_install_sh="$ac_aux_dir/shtool install -c"
2116 if test -z "$ac_aux_dir"; then
2117 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2120 # These three variables are undocumented and unsupported,
2121 # and are intended to be withdrawn in a future Autoconf release.
2122 # They can cause serious problems if a builder's source tree is in a directory
2123 # whose full name contains unusual characters.
2124 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2125 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2126 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2129 # Make sure we can run config.sub.
2130 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2131 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2134 $as_echo_n "checking build system type... " >&6; }
2135 if ${ac_cv_build+:} false; then :
2136 $as_echo_n "(cached) " >&6
2138 ac_build_alias=$build_alias
2139 test "x$ac_build_alias" = x &&
2140 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2141 test "x$ac_build_alias" = x &&
2142 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2143 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2144 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2148 $as_echo "$ac_cv_build" >&6; }
2149 case $ac_cv_build in
2151 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2154 ac_save_IFS=$IFS; IFS='-'
2160 # Remember, the first character of IFS is used to create $*,
2161 # except with old shells:
2164 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2168 $as_echo_n "checking host system type... " >&6; }
2169 if ${ac_cv_host+:} false; then :
2170 $as_echo_n "(cached) " >&6
2172 if test "x$host_alias" = x; then
2173 ac_cv_host=$ac_cv_build
2175 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2176 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2181 $as_echo "$ac_cv_host" >&6; }
2184 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2187 ac_save_IFS=$IFS; IFS='-'
2193 # Remember, the first character of IFS is used to create $*,
2194 # except with old shells:
2197 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2201 $as_echo_n "checking target system type... " >&6; }
2202 if ${ac_cv_target+:} false; then :
2203 $as_echo_n "(cached) " >&6
2205 if test "x$target_alias" = x; then
2206 ac_cv_target=$ac_cv_host
2208 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2209 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2214 $as_echo "$ac_cv_target" >&6; }
2215 case $ac_cv_target in
2217 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2219 target=$ac_cv_target
2220 ac_save_IFS=$IFS; IFS='-'
2226 # Remember, the first character of IFS is used to create $*,
2227 # except with old shells:
2230 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2233 # The aliases save the names the user supplied, while $host etc.
2234 # will get canonicalized.
2235 test -n "$target_alias" &&
2236 test "$program_prefix$program_suffix$program_transform_name" = \
2238 program_prefix=${target_alias}-
2239 # Expand $ac_aux_dir to an absolute path.
2240 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2243 ac_cpp='$CPP $CPPFLAGS'
2244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2247 if test -n "$ac_tool_prefix"; then
2248 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2249 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2251 $as_echo_n "checking for $ac_word... " >&6; }
2252 if ${ac_cv_prog_CC+:} false; then :
2253 $as_echo_n "(cached) " >&6
2255 if test -n "$CC"; then
2256 ac_cv_prog_CC="$CC" # Let the user override the test.
2258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2262 test -z "$as_dir" && as_dir=.
2263 for ac_exec_ext in '' $ac_executable_extensions; do
2264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2265 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2276 if test -n "$CC"; then
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2278 $as_echo "$CC" >&6; }
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2281 $as_echo "no" >&6; }
2286 if test -z "$ac_cv_prog_CC"; then
2288 # Extract the first word of "gcc", so it can be a program name with args.
2289 set dummy gcc; ac_word=$2
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2291 $as_echo_n "checking for $ac_word... " >&6; }
2292 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2293 $as_echo_n "(cached) " >&6
2295 if test -n "$ac_ct_CC"; then
2296 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir=.
2303 for ac_exec_ext in '' $ac_executable_extensions; do
2304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2305 ac_cv_prog_ac_ct_CC="gcc"
2306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2315 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2316 if test -n "$ac_ct_CC"; then
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2318 $as_echo "$ac_ct_CC" >&6; }
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2321 $as_echo "no" >&6; }
2324 if test "x$ac_ct_CC" = x; then
2327 case $cross_compiling:$ac_tool_warned in
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2331 ac_tool_warned=yes ;;
2339 if test -z "$CC"; then
2340 if test -n "$ac_tool_prefix"; then
2341 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2342 set dummy ${ac_tool_prefix}cc; ac_word=$2
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2344 $as_echo_n "checking for $ac_word... " >&6; }
2345 if ${ac_cv_prog_CC+:} false; then :
2346 $as_echo_n "(cached) " >&6
2348 if test -n "$CC"; then
2349 ac_cv_prog_CC="$CC" # Let the user override the test.
2351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355 test -z "$as_dir" && as_dir=.
2356 for ac_exec_ext in '' $ac_executable_extensions; do
2357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2358 ac_cv_prog_CC="${ac_tool_prefix}cc"
2359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2369 if test -n "$CC"; then
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2371 $as_echo "$CC" >&6; }
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2374 $as_echo "no" >&6; }
2380 if test -z "$CC"; then
2381 # Extract the first word of "cc", so it can be a program name with args.
2382 set dummy cc; ac_word=$2
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2384 $as_echo_n "checking for $ac_word... " >&6; }
2385 if ${ac_cv_prog_CC+:} false; then :
2386 $as_echo_n "(cached) " >&6
2388 if test -n "$CC"; then
2389 ac_cv_prog_CC="$CC" # Let the user override the test.
2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396 test -z "$as_dir" && as_dir=.
2397 for ac_exec_ext in '' $ac_executable_extensions; do
2398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2399 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2400 ac_prog_rejected=yes
2404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 if test $ac_prog_rejected = yes; then
2412 # We found a bogon in the path, so make sure we never use it.
2413 set dummy $ac_cv_prog_CC
2415 if test $# != 0; then
2416 # We chose a different compiler from the bogus one.
2417 # However, it has the same basename, so the bogon will be chosen
2418 # first if we set CC to just the basename; use the full file name.
2420 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2426 if test -n "$CC"; then
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2428 $as_echo "$CC" >&6; }
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2431 $as_echo "no" >&6; }
2436 if test -z "$CC"; then
2437 if test -n "$ac_tool_prefix"; then
2438 for ac_prog in cl.exe
2440 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2441 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2443 $as_echo_n "checking for $ac_word... " >&6; }
2444 if ${ac_cv_prog_CC+:} false; then :
2445 $as_echo_n "(cached) " >&6
2447 if test -n "$CC"; then
2448 ac_cv_prog_CC="$CC" # Let the user override the test.
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454 test -z "$as_dir" && as_dir=.
2455 for ac_exec_ext in '' $ac_executable_extensions; do
2456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2457 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2468 if test -n "$CC"; then
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2470 $as_echo "$CC" >&6; }
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2473 $as_echo "no" >&6; }
2477 test -n "$CC" && break
2480 if test -z "$CC"; then
2482 for ac_prog in cl.exe
2484 # Extract the first word of "$ac_prog", so it can be a program name with args.
2485 set dummy $ac_prog; ac_word=$2
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2487 $as_echo_n "checking for $ac_word... " >&6; }
2488 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2489 $as_echo_n "(cached) " >&6
2491 if test -n "$ac_ct_CC"; then
2492 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2498 test -z "$as_dir" && as_dir=.
2499 for ac_exec_ext in '' $ac_executable_extensions; do
2500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2501 ac_cv_prog_ac_ct_CC="$ac_prog"
2502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2511 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2512 if test -n "$ac_ct_CC"; then
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2514 $as_echo "$ac_ct_CC" >&6; }
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2517 $as_echo "no" >&6; }
2521 test -n "$ac_ct_CC" && break
2524 if test "x$ac_ct_CC" = x; then
2527 case $cross_compiling:$ac_tool_warned in
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2531 ac_tool_warned=yes ;;
2540 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2542 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2543 See \
`config.log' for more details" "$LINENO" 5; }
2545 # Provide some information about the compiler.
2546 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2549 for ac_option in --version -v -V -qversion; do
2550 { { ac_try="$ac_compiler $ac_option >&5"
2552 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2553 *) ac_try_echo
=$ac_try;;
2555 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2556 $as_echo "$ac_try_echo"; } >&5
2557 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2559 if test -s conftest.err
; then
2561 ... rest of stderr output deleted ...
2562 10q' conftest.err
>conftest.er1
2563 cat conftest.er1
>&5
2565 rm -f conftest.er1 conftest.err
2566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2567 test $ac_status = 0; }
2570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2571 /* end confdefs.h. */
2581 ac_clean_files_save
=$ac_clean_files
2582 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2583 # Try to create an executable without -o first, disregard a.out.
2584 # It will help us diagnose broken compilers, and finding out an intuition
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2587 $as_echo_n "checking whether the C compiler works... " >&6; }
2588 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2590 # The possible output files:
2591 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2594 for ac_file
in $ac_files
2597 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2598 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2603 if { { ac_try
="$ac_link_default"
2605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2606 *) ac_try_echo=$ac_try;;
2608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2609 $as_echo "$ac_try_echo"; } >&5
2610 (eval "$ac_link_default") 2>&5
2612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2613 test $ac_status = 0; }; then :
2614 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2615 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2616 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2617 # so that the user can short-circuit this test for compilers unknown to
2619 for ac_file in $ac_files ''
2621 test -f "$ac_file" || continue
2623 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2626 # We found the default executable, but exeext='' is most
2630 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2632 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2634 # We set ac_cv_exeext here because the later test for it is not
2635 # safe: cross compilers may not add the suffix if given an `-o'
2636 # argument, so we may need to know it at that point already.
2637 # Even if this section looks crufty: it has the advantage of
2644 test "$ac_cv_exeext" = no && ac_cv_exeext=
2649 if test -z "$ac_file"; then :
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2651 $as_echo "no" >&6; }
2652 $as_echo "$as_me: failed program was:" >&5
2653 sed 's
/^
/|
/' conftest.$ac_ext >&5
2655 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2656 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2657 as_fn_error 77 "C compiler cannot create executables
2658 See \`config.log
' for more details" "$LINENO" 5; }
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2661 $as_echo "yes" >&6; }
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2664 $as_echo_n "checking for C compiler default output file name... " >&6; }
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2666 $as_echo "$ac_file" >&6; }
2667 ac_exeext=$ac_cv_exeext
2669 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2670 ac_clean_files=$ac_clean_files_save
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2672 $as_echo_n "checking for suffix of executables... " >&6; }
2673 if { { ac_try="$ac_link"
2675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2679 $as_echo "$ac_try_echo"; } >&5
2680 (eval "$ac_link") 2>&5
2682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2683 test $ac_status = 0; }; then :
2684 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2685 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2686 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2688 for ac_file
in conftest.exe conftest conftest.
*; do
2689 test -f "$ac_file" ||
continue
2691 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2692 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2700 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2701 See \`config.log' for more details" "$LINENO" 5; }
2703 rm -f conftest conftest
$ac_cv_exeext
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2705 $as_echo "$ac_cv_exeext" >&6; }
2707 rm -f conftest.
$ac_ext
2708 EXEEXT
=$ac_cv_exeext
2710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2711 /* end confdefs.h. */
2716 FILE *f = fopen ("conftest.out", "w");
2717 return ferror (f) || fclose (f) != 0;
2723 ac_clean_files
="$ac_clean_files conftest.out"
2724 # Check that the compiler produces executables we can run. If not, either
2725 # the compiler is broken, or we cross compile.
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2727 $as_echo_n "checking whether we are cross compiling... " >&6; }
2728 if test "$cross_compiling" != yes; then
2729 { { ac_try
="$ac_link"
2731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2735 $as_echo "$ac_try_echo"; } >&5
2736 (eval "$ac_link") 2>&5
2738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2739 test $ac_status = 0; }
2740 if { ac_try='./conftest$ac_cv_exeext'
2741 { { case "(($ac_try" in
2742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2743 *) ac_try_echo
=$ac_try;;
2745 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2746 $as_echo "$ac_try_echo"; } >&5
2747 (eval "$ac_try") 2>&5
2749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750 test $ac_status = 0; }; }; then
2753 if test "$cross_compiling" = maybe
; then
2756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2758 as_fn_error $?
"cannot run C compiled programs.
2759 If you meant to cross compile, use \`--host'.
2760 See \`config.log' for more details" "$LINENO" 5; }
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2765 $as_echo "$cross_compiling" >&6; }
2767 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2768 ac_clean_files
=$ac_clean_files_save
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2770 $as_echo_n "checking for suffix of object files... " >&6; }
2771 if ${ac_cv_objext+:} false
; then :
2772 $as_echo_n "(cached) " >&6
2774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2775 /* end confdefs.h. */
2785 rm -f conftest.o conftest.obj
2786 if { { ac_try
="$ac_compile"
2788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2792 $as_echo "$ac_try_echo"; } >&5
2793 (eval "$ac_compile") 2>&5
2795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2796 test $ac_status = 0; }; then :
2797 for ac_file in conftest.o conftest.obj conftest.*; do
2798 test -f "$ac_file" || continue;
2800 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2801 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2806 $as_echo "$as_me: failed program was:" >&5
2807 sed 's/^/| /' conftest.$ac_ext >&5
2809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2811 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2812 See \
`config.log' for more details" "$LINENO" 5; }
2814 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2817 $as_echo "$ac_cv_objext" >&6; }
2818 OBJEXT=$ac_cv_objext
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2821 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2822 if ${ac_cv_c_compiler_gnu+:} false; then :
2823 $as_echo_n "(cached) " >&6
2825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2826 /* end confdefs.h. */
2839 if ac_fn_c_try_compile "$LINENO"; then :
2844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2845 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2849 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2850 if test $ac_compiler_gnu = yes; then
2855 ac_test_CFLAGS=${CFLAGS+set}
2856 ac_save_CFLAGS=$CFLAGS
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2858 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2859 if ${ac_cv_prog_cc_g+:} false; then :
2860 $as_echo_n "(cached) " >&6
2862 ac_save_c_werror_flag=$ac_c_werror_flag
2863 ac_c_werror_flag=yes
2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h. */
2877 if ac_fn_c_try_compile "$LINENO"; then :
2881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2882 /* end confdefs.h. */
2892 if ac_fn_c_try_compile "$LINENO"; then :
2895 ac_c_werror_flag=$ac_save_c_werror_flag
2897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2898 /* end confdefs.h. */
2908 if ac_fn_c_try_compile "$LINENO"; then :
2911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2916 ac_c_werror_flag=$ac_save_c_werror_flag
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2919 $as_echo "$ac_cv_prog_cc_g" >&6; }
2920 if test "$ac_test_CFLAGS" = set; then
2921 CFLAGS=$ac_save_CFLAGS
2922 elif test $ac_cv_prog_cc_g = yes; then
2923 if test "$GCC" = yes; then
2929 if test "$GCC" = yes; then
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2936 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2937 if ${ac_cv_prog_cc_c89+:} false; then :
2938 $as_echo_n "(cached) " >&6
2940 ac_cv_prog_cc_c89=no
2942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943 /* end confdefs.h. */
2947 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2948 struct buf { int x; };
2949 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2950 static char *e (p, i)
2956 static char *f (char * (*g) (char **, int), char **p, ...)
2961 s = g (p, va_arg (v,int));
2966 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2967 function prototypes and stuff, but not '\xHH' hex character constants.
2968 These don't provoke an error unfortunately, instead are silently treated
2969 as 'x'. The following induces an error, until -std is added to get
2970 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2971 array size at least. It's necessary to write '\x00'==0 to get something
2972 that's true only with -std. */
2973 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2975 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2976 inside strings and character constants. */
2978 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2980 int test (int i, double x);
2981 struct s1 {int (*f) (int a);};
2982 struct s2 {int (*f) (double a);};
2983 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2989 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2994 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2995 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2997 CC="$ac_save_CC $ac_arg"
2998 if ac_fn_c_try_compile "$LINENO"; then :
2999 ac_cv_prog_cc_c89=$ac_arg
3001 rm -f core conftest.err conftest.$ac_objext
3002 test "x$ac_cv_prog_cc_c89" != "xno" && break
3004 rm -f conftest.$ac_ext
3009 case "x$ac_cv_prog_cc_c89" in
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3012 $as_echo "none needed" >&6; } ;;
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3015 $as_echo "unsupported" >&6; } ;;
3017 CC="$CC $ac_cv_prog_cc_c89"
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3019 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3021 if test "x$ac_cv_prog_cc_c89" != xno; then :
3026 ac_cpp='$CPP $CPPFLAGS'
3027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3032 ac_cpp='$CPP $CPPFLAGS'
3033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3037 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3038 if ${am_cv_prog_cc_c_o+:} false; then :
3039 $as_echo_n "(cached) " >&6
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3052 # Make sure it works both with $CC and with simple cc.
3053 # Following AC_PROG_CC_C_O, we do the test twice because some
3054 # compilers refuse to overwrite an existing .o file with -o,
3055 # though they will create one.
3056 am_cv_prog_cc_c_o=yes
3058 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3059 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062 (exit $ac_status); } \
3063 && test -f conftest2.$ac_objext; then
3066 am_cv_prog_cc_c_o=no
3070 rm -f core conftest*
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3074 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3075 if test "$am_cv_prog_cc_c_o" != yes; then
3076 # Losing compiler, so override with the script.
3077 # FIXME: It is wrong to rewrite CC.
3078 # But if we don't then we get into trouble of one sort or another.
3079 # A longer-term fix would be to have automake use am__CC in this case,
3080 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3081 CC="$am_aux_dir/compile $CC"
3084 ac_cpp='$CPP $CPPFLAGS'
3085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3092 ac_cpp='$CPP $CPPFLAGS'
3093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3097 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3098 # On Suns, sometimes $CPP names a directory.
3099 if test -n "$CPP" && test -d "$CPP"; then
3102 if test -z "$CPP"; then
3103 if ${ac_cv_prog_CPP+:} false; then :
3104 $as_echo_n "(cached) " >&6
3106 # Double quotes because CPP needs to be expanded
3107 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3110 for ac_c_preproc_warn_flag in '' yes
3112 # Use a header file that comes with gcc, so configuring glibc
3113 # with a fresh cross-compiler works.
3114 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3115 # <limits.h> exists even on freestanding compilers.
3116 # On the NeXT, cc -E runs the code through the compiler's parser,
3117 # not just through cpp. "Syntax error" is here to catch this case.
3118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3119 /* end confdefs.h. */
3121 # include <limits.h>
3123 # include <assert.h>
3127 if ac_fn_c_try_cpp "$LINENO"; then :
3130 # Broken: fails on valid input.
3133 rm -f conftest.err conftest.i conftest.$ac_ext
3135 # OK, works on sane cases. Now check whether nonexistent headers
3136 # can be detected and how.
3137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3138 /* end confdefs.h. */
3139 #include <ac_nonexistent.h>
3141 if ac_fn_c_try_cpp "$LINENO"; then :
3142 # Broken: success on invalid input.
3145 # Passes both tests.
3149 rm -f conftest.err conftest.i conftest.$ac_ext
3152 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3153 rm -f conftest.i conftest.err conftest.
$ac_ext
3154 if $ac_preproc_ok; then :
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3167 $as_echo "$CPP" >&6; }
3169 for ac_c_preproc_warn_flag
in '' yes
3171 # Use a header file that comes with gcc, so configuring glibc
3172 # with a fresh cross-compiler works.
3173 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3174 # <limits.h> exists even on freestanding compilers.
3175 # On the NeXT, cc -E runs the code through the compiler's parser,
3176 # not just through cpp. "Syntax error" is here to catch this case.
3177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3178 /* end confdefs.h. */
3180 # include <limits.h>
3182 # include <assert.h>
3186 if ac_fn_c_try_cpp
"$LINENO"; then :
3189 # Broken: fails on valid input.
3192 rm -f conftest.err conftest.i conftest.
$ac_ext
3194 # OK, works on sane cases. Now check whether nonexistent headers
3195 # can be detected and how.
3196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3197 /* end confdefs.h. */
3198 #include <ac_nonexistent.h>
3200 if ac_fn_c_try_cpp
"$LINENO"; then :
3201 # Broken: success on invalid input.
3204 # Passes both tests.
3208 rm -f conftest.err conftest.i conftest.
$ac_ext
3211 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3212 rm -f conftest.i conftest.err conftest.
$ac_ext
3213 if $ac_preproc_ok; then :
3216 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3218 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3219 See \`config.log' for more details" "$LINENO" 5; }
3223 ac_cpp
='$CPP $CPPFLAGS'
3224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3230 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3231 if ${ac_cv_path_GREP+:} false
; then :
3232 $as_echo_n "(cached) " >&6
3234 if test -z "$GREP"; then
3235 ac_path_GREP_found
=false
3236 # Loop through the user's path and test for each of PROGNAME-LIST
3237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3238 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3241 test -z "$as_dir" && as_dir
=.
3242 for ac_prog
in grep ggrep
; do
3243 for ac_exec_ext
in '' $ac_executable_extensions; do
3244 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3245 as_fn_executable_p
"$ac_path_GREP" ||
continue
3246 # Check for GNU ac_path_GREP and select it if it is found.
3247 # Check for GNU $ac_path_GREP
3248 case `"$ac_path_GREP" --version 2>&1` in
3250 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3253 $as_echo_n 0123456789 >"conftest.in"
3256 cat "conftest.in" "conftest.in" >"conftest.tmp"
3257 mv "conftest.tmp" "conftest.in"
3258 cp "conftest.in" "conftest.nl"
3259 $as_echo 'GREP' >> "conftest.nl"
3260 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3261 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3262 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3263 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3264 # Best one so far, save it but keep looking for a better one
3265 ac_cv_path_GREP
="$ac_path_GREP"
3266 ac_path_GREP_max
=$ac_count
3268 # 10*(2^10) chars as input seems more than enough
3269 test $ac_count -gt 10 && break
3271 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3274 $ac_path_GREP_found && break 3
3279 if test -z "$ac_cv_path_GREP"; then
3280 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3283 ac_cv_path_GREP
=$GREP
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3288 $as_echo "$ac_cv_path_GREP" >&6; }
3289 GREP
="$ac_cv_path_GREP"
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3293 $as_echo_n "checking for egrep... " >&6; }
3294 if ${ac_cv_path_EGREP+:} false
; then :
3295 $as_echo_n "(cached) " >&6
3297 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3298 then ac_cv_path_EGREP
="$GREP -E"
3300 if test -z "$EGREP"; then
3301 ac_path_EGREP_found
=false
3302 # Loop through the user's path and test for each of PROGNAME-LIST
3303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3304 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3307 test -z "$as_dir" && as_dir
=.
3308 for ac_prog
in egrep; do
3309 for ac_exec_ext
in '' $ac_executable_extensions; do
3310 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3311 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3312 # Check for GNU ac_path_EGREP and select it if it is found.
3313 # Check for GNU $ac_path_EGREP
3314 case `"$ac_path_EGREP" --version 2>&1` in
3316 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3319 $as_echo_n 0123456789 >"conftest.in"
3322 cat "conftest.in" "conftest.in" >"conftest.tmp"
3323 mv "conftest.tmp" "conftest.in"
3324 cp "conftest.in" "conftest.nl"
3325 $as_echo 'EGREP' >> "conftest.nl"
3326 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3327 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3328 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3329 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3330 # Best one so far, save it but keep looking for a better one
3331 ac_cv_path_EGREP
="$ac_path_EGREP"
3332 ac_path_EGREP_max
=$ac_count
3334 # 10*(2^10) chars as input seems more than enough
3335 test $ac_count -gt 10 && break
3337 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3340 $ac_path_EGREP_found && break 3
3345 if test -z "$ac_cv_path_EGREP"; then
3346 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3349 ac_cv_path_EGREP
=$EGREP
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3355 $as_echo "$ac_cv_path_EGREP" >&6; }
3356 EGREP
="$ac_cv_path_EGREP"
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3360 $as_echo_n "checking for ANSI C header files... " >&6; }
3361 if ${ac_cv_header_stdc+:} false
; then :
3362 $as_echo_n "(cached) " >&6
3364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3379 if ac_fn_c_try_compile
"$LINENO"; then :
3380 ac_cv_header_stdc
=yes
3382 ac_cv_header_stdc
=no
3384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3386 if test $ac_cv_header_stdc = yes; then
3387 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3394 $EGREP "memchr" >/dev
/null
2>&1; then :
3397 ac_cv_header_stdc
=no
3403 if test $ac_cv_header_stdc = yes; then
3404 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3406 /* end confdefs.h. */
3410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3411 $EGREP "free" >/dev
/null
2>&1; then :
3414 ac_cv_header_stdc
=no
3420 if test $ac_cv_header_stdc = yes; then
3421 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3422 if test "$cross_compiling" = yes; then :
3425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3426 /* end confdefs.h. */
3429 #if ((' ' & 0x0FF) == 0x020)
3430 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3431 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3433 # define ISLOWER(c) \
3434 (('a' <= (c) && (c) <= 'i') \
3435 || ('j' <= (c) && (c) <= 'r') \
3436 || ('s' <= (c) && (c) <= 'z'))
3437 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3440 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3445 for (i = 0; i < 256; i++)
3446 if (XOR (islower (i), ISLOWER (i))
3447 || toupper (i) != TOUPPER (i))
3452 if ac_fn_c_try_run
"$LINENO"; then :
3455 ac_cv_header_stdc
=no
3457 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3458 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3464 $as_echo "$ac_cv_header_stdc" >&6; }
3465 if test $ac_cv_header_stdc = yes; then
3467 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3471 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3472 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3473 inttypes.h stdint.h unistd.h
3475 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3476 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3478 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3479 cat >>confdefs.h
<<_ACEOF
3480 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3489 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3490 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3497 if test "$MINIX" = yes; then
3499 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3502 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3505 $as_echo "#define _MINIX 1" >>confdefs.h
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3511 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3512 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3513 $as_echo_n "(cached) " >&6
3515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3516 /* end confdefs.h. */
3518 # define __EXTENSIONS__ 1
3519 $ac_includes_default
3528 if ac_fn_c_try_compile
"$LINENO"; then :
3529 ac_cv_safe_to_define___extensions__
=yes
3531 ac_cv_safe_to_define___extensions__
=no
3533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3536 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3537 test $ac_cv_safe_to_define___extensions__ = yes &&
3538 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3540 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3542 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3544 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3546 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3549 test "$program_prefix" != NONE
&&
3550 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3551 # Use a double $ so make ignores it.
3552 test "$program_suffix" != NONE
&&
3553 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3554 # Double any \ or $.
3555 # By default was `s,x,x', remove it if useless.
3556 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3557 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3559 # Find a good install program. We prefer a C program (faster),
3560 # so one script is as good as another. But avoid the broken or
3561 # incompatible versions:
3562 # SysV /etc/install, /usr/sbin/install
3563 # SunOS /usr/etc/install
3564 # IRIX /sbin/install
3566 # AmigaOS /C/install, which installs bootblocks on floppy discs
3567 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3568 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3569 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3570 # OS/2's system install, which has a completely different semantic
3571 # ./install, which can be erroneously created by make from ./install.sh.
3572 # Reject install programs that cannot install multiple files.
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3574 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3575 if test -z "$INSTALL"; then
3576 if ${ac_cv_path_install+:} false
; then :
3577 $as_echo_n "(cached) " >&6
3579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3583 test -z "$as_dir" && as_dir
=.
3584 # Account for people who put trailing slashes in PATH elements.
3585 case $as_dir/ in #((
3586 .
/ | .
// |
/[cC
]/* | \
3587 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3588 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3591 # OSF1 and SCO ODT 3.0 have their own names for install.
3592 # Don't use installbsd from OSF since it installs stuff as root
3594 for ac_prog
in ginstall scoinst
install; do
3595 for ac_exec_ext
in '' $ac_executable_extensions; do
3596 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3597 if test $ac_prog = install &&
3598 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3599 # AIX install. It has an incompatible calling convention.
3601 elif test $ac_prog = install &&
3602 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3603 # program-specific install script used by HP pwplus--don't use.
3606 rm -rf conftest.one conftest.two conftest.dir
3607 echo one
> conftest.one
3608 echo two
> conftest.two
3610 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3611 test -s conftest.one
&& test -s conftest.two
&&
3612 test -s conftest.dir
/conftest.one
&&
3613 test -s conftest.dir
/conftest.two
3615 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3628 rm -rf conftest.one conftest.two conftest.dir
3631 if test "${ac_cv_path_install+set}" = set; then
3632 INSTALL
=$ac_cv_path_install
3634 # As a last resort, use the slow shell script. Don't cache a
3635 # value for INSTALL within a source directory, because that will
3636 # break other packages using the cache if that directory is
3637 # removed, or if the value is a relative name.
3638 INSTALL
=$ac_install_sh
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3642 $as_echo "$INSTALL" >&6; }
3644 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3645 # It thinks the first close brace ends the variable substitution.
3646 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3648 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3650 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3657 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3658 if ${ac_cv_c_bigendian+:} false
; then :
3659 $as_echo_n "(cached) " >&6
3661 ac_cv_c_bigendian
=unknown
3662 # See if we're dealing with a universal compiler.
3663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3664 /* end confdefs.h. */
3665 #ifndef __APPLE_CC__
3666 not a universal capable compiler
3671 if ac_fn_c_try_compile
"$LINENO"; then :
3673 # Check for potential -arch flags. It is not universal unless
3674 # there are at least two -arch flags with different values.
3677 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3678 if test -n "$ac_prev"; then
3680 i?
86 | x86_64 | ppc | ppc64
)
3681 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
3684 ac_cv_c_bigendian
=universal
3690 elif test "x$ac_word" = "x-arch"; then
3695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3696 if test $ac_cv_c_bigendian = unknown
; then
3697 # See if sys/param.h defines the BYTE_ORDER macro.
3698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3699 /* end confdefs.h. */
3700 #include <sys/types.h>
3701 #include <sys/param.h>
3706 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3707 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3716 if ac_fn_c_try_compile
"$LINENO"; then :
3717 # It does; now see whether it defined to BIG_ENDIAN or not.
3718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3719 /* end confdefs.h. */
3720 #include <sys/types.h>
3721 #include <sys/param.h>
3726 #if BYTE_ORDER != BIG_ENDIAN
3734 if ac_fn_c_try_compile
"$LINENO"; then :
3735 ac_cv_c_bigendian
=yes
3737 ac_cv_c_bigendian
=no
3739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3743 if test $ac_cv_c_bigendian = unknown
; then
3744 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3746 /* end confdefs.h. */
3752 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3760 if ac_fn_c_try_compile
"$LINENO"; then :
3761 # It does; now see whether it defined to _BIG_ENDIAN or not.
3762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h. */
3777 if ac_fn_c_try_compile
"$LINENO"; then :
3778 ac_cv_c_bigendian
=yes
3780 ac_cv_c_bigendian
=no
3782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3786 if test $ac_cv_c_bigendian = unknown
; then
3787 # Compile a test program.
3788 if test "$cross_compiling" = yes; then :
3789 # Try to guess by grepping values from an object file.
3790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3791 /* end confdefs.h. */
3792 short int ascii_mm[] =
3793 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3794 short int ascii_ii[] =
3795 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3796 int use_ascii (int i) {
3797 return ascii_mm[i] + ascii_ii[i];
3799 short int ebcdic_ii[] =
3800 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3801 short int ebcdic_mm[] =
3802 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3803 int use_ebcdic (int i) {
3804 return ebcdic_mm[i] + ebcdic_ii[i];
3811 return use_ascii (foo) == use_ebcdic (foo);
3816 if ac_fn_c_try_compile
"$LINENO"; then :
3817 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
3818 ac_cv_c_bigendian
=yes
3820 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
3821 if test "$ac_cv_c_bigendian" = unknown
; then
3822 ac_cv_c_bigendian
=no
3824 # finding both strings is unlikely to happen, but who knows?
3825 ac_cv_c_bigendian
=unknown
3829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h. */
3833 $ac_includes_default
3838 /* Are we little or big endian? From Harbison&Steele. */
3842 char c[sizeof (long int)];
3845 return u.c[sizeof (long int) - 1] == 1;
3851 if ac_fn_c_try_run
"$LINENO"; then :
3852 ac_cv_c_bigendian
=no
3854 ac_cv_c_bigendian
=yes
3856 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3857 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
3863 $as_echo "$ac_cv_c_bigendian" >&6; }
3864 case $ac_cv_c_bigendian in #(
3866 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
3872 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
3876 as_fn_error $?
"unknown endianness
3877 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
3883 if test "x$cross_compiling" = "xno"; then
3884 : "${CC_FOR_BUILD:=\$(CC)}"
3885 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
3886 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
3888 : "${CC_FOR_BUILD:=gcc}"
3889 : "${CFLAGS_FOR_BUILD:=-g -O}"
3890 : "${LDLFAGS_FOR_BUILD:=}"
3897 if test -n "$ac_tool_prefix"; then
3898 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3899 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3901 $as_echo_n "checking for $ac_word... " >&6; }
3902 if ${ac_cv_prog_AR+:} false
; then :
3903 $as_echo_n "(cached) " >&6
3905 if test -n "$AR"; then
3906 ac_cv_prog_AR
="$AR" # Let the user override the test.
3908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3912 test -z "$as_dir" && as_dir
=.
3913 for ac_exec_ext
in '' $ac_executable_extensions; do
3914 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3915 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3926 if test -n "$AR"; then
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3928 $as_echo "$AR" >&6; }
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3931 $as_echo "no" >&6; }
3936 if test -z "$ac_cv_prog_AR"; then
3938 # Extract the first word of "ar", so it can be a program name with args.
3939 set dummy
ar; ac_word
=$2
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3941 $as_echo_n "checking for $ac_word... " >&6; }
3942 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
3943 $as_echo_n "(cached) " >&6
3945 if test -n "$ac_ct_AR"; then
3946 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3952 test -z "$as_dir" && as_dir
=.
3953 for ac_exec_ext
in '' $ac_executable_extensions; do
3954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3955 ac_cv_prog_ac_ct_AR
="ar"
3956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3965 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3966 if test -n "$ac_ct_AR"; then
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3968 $as_echo "$ac_ct_AR" >&6; }
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3971 $as_echo "no" >&6; }
3974 if test "x$ac_ct_AR" = x
; then
3977 case $cross_compiling:$ac_tool_warned in
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3981 ac_tool_warned
=yes ;;
3989 if test -n "$ac_tool_prefix"; then
3990 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3991 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3993 $as_echo_n "checking for $ac_word... " >&6; }
3994 if ${ac_cv_prog_RANLIB+:} false
; then :
3995 $as_echo_n "(cached) " >&6
3997 if test -n "$RANLIB"; then
3998 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4004 test -z "$as_dir" && as_dir
=.
4005 for ac_exec_ext
in '' $ac_executable_extensions; do
4006 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4007 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4017 RANLIB
=$ac_cv_prog_RANLIB
4018 if test -n "$RANLIB"; then
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4020 $as_echo "$RANLIB" >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023 $as_echo "no" >&6; }
4028 if test -z "$ac_cv_prog_RANLIB"; then
4029 ac_ct_RANLIB
=$RANLIB
4030 # Extract the first word of "ranlib", so it can be a program name with args.
4031 set dummy ranlib
; ac_word
=$2
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4033 $as_echo_n "checking for $ac_word... " >&6; }
4034 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4035 $as_echo_n "(cached) " >&6
4037 if test -n "$ac_ct_RANLIB"; then
4038 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4044 test -z "$as_dir" && as_dir
=.
4045 for ac_exec_ext
in '' $ac_executable_extensions; do
4046 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4047 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4057 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4058 if test -n "$ac_ct_RANLIB"; then
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4060 $as_echo "$ac_ct_RANLIB" >&6; }
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4063 $as_echo "no" >&6; }
4066 if test "x$ac_ct_RANLIB" = x
; then
4069 case $cross_compiling:$ac_tool_warned in
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4073 ac_tool_warned
=yes ;;
4075 RANLIB
=$ac_ct_RANLIB
4078 RANLIB
="$ac_cv_prog_RANLIB"
4082 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
4083 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
4084 # is C99. So handle it ourselves.
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
4088 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h. */
4092 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4093 # error "C11 support not found"
4097 if ac_fn_c_try_compile
"$LINENO"; then :
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4099 $as_echo "yes" >&6; }
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4103 $as_echo "no" >&6; }
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4105 $as_echo_n "checking for -std=c11 support... " >&6; }
4108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4109 /* end confdefs.h. */
4111 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4112 # error "C11 support not found"
4116 if ac_fn_c_try_compile
"$LINENO"; then :
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4119 $as_echo "yes" >&6; }
4121 C_DIALECT
="-std=c11"
4124 as_fn_error $?
"C11 is required" "$LINENO" 5
4126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4134 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4135 # Check whether --enable-maintainer-mode was given.
4136 if test "${enable_maintainer_mode+set}" = set; then :
4137 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4139 USE_MAINTAINER_MODE
=no
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4143 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4144 if test $USE_MAINTAINER_MODE = yes; then
4145 MAINTAINER_MODE_TRUE
=
4146 MAINTAINER_MODE_FALSE
='#'
4148 MAINTAINER_MODE_TRUE
='#'
4149 MAINTAINER_MODE_FALSE
=
4152 MAINT
=$MAINTAINER_MODE_TRUE
4155 am__api_version
='1.15'
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4158 $as_echo_n "checking whether build environment is sane... " >&6; }
4159 # Reject unsafe characters in $srcdir or the absolute working directory
4160 # name. Accept space and tab only in the latter.
4164 *[\\\"\
#\$\&\'\`$am_lf]*)
4165 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4168 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4169 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4172 # Do 'set' in a subshell so we don't clobber the current shell's
4173 # arguments. Must try -L first in case configure is actually a
4174 # symlink; some systems play weird games with the mod time of symlinks
4175 # (eg FreeBSD returns the mod time of the symlink's containing
4179 for am_try
in 1 2; do
4180 echo "timestamp, slept: $am_has_slept" > conftest.
file
4181 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4182 if test "$*" = "X"; then
4184 set X
`ls -t "$srcdir/configure" conftest.file`
4186 if test "$*" != "X $srcdir/configure conftest.file" \
4187 && test "$*" != "X conftest.file $srcdir/configure"; then
4189 # If neither matched, then we have a broken ls. This can happen
4190 # if, for instance, CONFIG_SHELL is bash and it inherits a
4191 # broken ls alias from the environment. This has actually
4192 # happened. Such a system could not be considered "sane".
4193 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4194 alias in your environment" "$LINENO" 5
4196 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4203 test "$2" = conftest.
file
4209 as_fn_error $?
"newly created file is older than distributed files!
4210 Check your system clock" "$LINENO" 5
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4213 $as_echo "yes" >&6; }
4214 # If we didn't sleep, we still need to ensure time stamps of config.status and
4215 # generated files are strictly newer.
4217 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4224 if test x
"${MISSING+set}" != xset
; then
4227 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4229 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4232 # Use eval to expand $SHELL
4233 if eval "$MISSING --is-lightweight"; then
4234 am_missing_run
="$MISSING "
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4238 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4241 if test x
"${install_sh+set}" != xset
; then
4244 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4246 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4250 # Installed binaries are usually stripped using 'strip' when the user
4251 # run "make install-strip". However 'strip' might not be the right
4252 # tool to use in cross-compilation environments, therefore Automake
4253 # will honor the 'STRIP' environment variable to overrule this program.
4254 if test "$cross_compiling" != no
; then
4255 if test -n "$ac_tool_prefix"; then
4256 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4257 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if ${ac_cv_prog_STRIP+:} false
; then :
4261 $as_echo_n "(cached) " >&6
4263 if test -n "$STRIP"; then
4264 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4270 test -z "$as_dir" && as_dir
=.
4271 for ac_exec_ext
in '' $ac_executable_extensions; do
4272 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4273 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 STRIP
=$ac_cv_prog_STRIP
4284 if test -n "$STRIP"; then
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4286 $as_echo "$STRIP" >&6; }
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4289 $as_echo "no" >&6; }
4294 if test -z "$ac_cv_prog_STRIP"; then
4296 # Extract the first word of "strip", so it can be a program name with args.
4297 set dummy strip
; ac_word
=$2
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4299 $as_echo_n "checking for $ac_word... " >&6; }
4300 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4301 $as_echo_n "(cached) " >&6
4303 if test -n "$ac_ct_STRIP"; then
4304 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4310 test -z "$as_dir" && as_dir
=.
4311 for ac_exec_ext
in '' $ac_executable_extensions; do
4312 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4313 ac_cv_prog_ac_ct_STRIP
="strip"
4314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4323 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4324 if test -n "$ac_ct_STRIP"; then
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4326 $as_echo "$ac_ct_STRIP" >&6; }
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4329 $as_echo "no" >&6; }
4332 if test "x$ac_ct_STRIP" = x
; then
4335 case $cross_compiling:$ac_tool_warned in
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4339 ac_tool_warned
=yes ;;
4344 STRIP
="$ac_cv_prog_STRIP"
4348 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4351 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4352 if test -z "$MKDIR_P"; then
4353 if ${ac_cv_path_mkdir+:} false
; then :
4354 $as_echo_n "(cached) " >&6
4356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4357 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4360 test -z "$as_dir" && as_dir
=.
4361 for ac_prog
in mkdir gmkdir
; do
4362 for ac_exec_ext
in '' $ac_executable_extensions; do
4363 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4364 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4365 'mkdir (GNU coreutils) '* | \
4366 'mkdir (coreutils) '* | \
4367 'mkdir (fileutils) '4.1*)
4368 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4378 test -d .
/--version && rmdir .
/--version
4379 if test "${ac_cv_path_mkdir+set}" = set; then
4380 MKDIR_P
="$ac_cv_path_mkdir -p"
4382 # As a last resort, use the slow shell script. Don't cache a
4383 # value for MKDIR_P within a source directory, because that will
4384 # break other packages using the cache if that directory is
4385 # removed, or if the value is a relative name.
4386 MKDIR_P
="$ac_install_sh -d"
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4390 $as_echo "$MKDIR_P" >&6; }
4392 for ac_prog
in gawk mawk nawk
awk
4394 # Extract the first word of "$ac_prog", so it can be a program name with args.
4395 set dummy
$ac_prog; ac_word
=$2
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4397 $as_echo_n "checking for $ac_word... " >&6; }
4398 if ${ac_cv_prog_AWK+:} false
; then :
4399 $as_echo_n "(cached) " >&6
4401 if test -n "$AWK"; then
4402 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4408 test -z "$as_dir" && as_dir
=.
4409 for ac_exec_ext
in '' $ac_executable_extensions; do
4410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4411 ac_cv_prog_AWK
="$ac_prog"
4412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4422 if test -n "$AWK"; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4424 $as_echo "$AWK" >&6; }
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427 $as_echo "no" >&6; }
4431 test -n "$AWK" && break
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4435 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4437 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4438 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4439 $as_echo_n "(cached) " >&6
4441 cat >conftest.
make <<\_ACEOF
4444 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4446 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4447 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4449 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4451 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4455 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4457 $as_echo "yes" >&6; }
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4461 $as_echo "no" >&6; }
4462 SET_MAKE
="MAKE=${MAKE-make}"
4465 rm -rf .tst
2>/dev
/null
4466 mkdir .tst
2>/dev
/null
4467 if test -d .tst
; then
4472 rmdir .tst
2>/dev
/null
4474 DEPDIR
="${am__leading_dot}deps"
4476 ac_config_commands
="$ac_config_commands depfiles"
4479 am_make
=${MAKE-make}
4480 cat > confinc
<< 'END'
4482 @
echo this is the am__doit target
4485 # If we don't find an include directive, just comment out the code.
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4487 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4491 # First try GNU make style include.
4492 echo "include confinc" > confmf
4493 # Ignore all kinds of additional output from 'make'.
4494 case `$am_make -s -f confmf 2> /dev/null` in #(
4495 *the\ am__doit\ target
*)
4501 # Now try BSD make style include.
4502 if test "$am__include" = "#"; then
4503 echo '.include "confinc"' > confmf
4504 case `$am_make -s -f confmf 2> /dev/null` in #(
4505 *the\ am__doit\ target
*)
4506 am__include
=.include
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4515 $as_echo "$_am_result" >&6; }
4516 rm -f confinc confmf
4518 # Check whether --enable-dependency-tracking was given.
4519 if test "${enable_dependency_tracking+set}" = set; then :
4520 enableval
=$enable_dependency_tracking;
4523 if test "x$enable_dependency_tracking" != xno
; then
4524 am_depcomp
="$ac_aux_dir/depcomp"
4528 if test "x$enable_dependency_tracking" != xno; then
4537 # Check whether --enable-silent-rules was given.
4538 if test "${enable_silent_rules+set}" = set; then :
4539 enableval
=$enable_silent_rules;
4542 case $enable_silent_rules in # (((
4543 yes) AM_DEFAULT_VERBOSITY
=0;;
4544 no
) AM_DEFAULT_VERBOSITY
=1;;
4545 *) AM_DEFAULT_VERBOSITY
=1;;
4547 am_make
=${MAKE-make}
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4549 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4550 if ${am_cv_make_support_nested_variables+:} false
; then :
4551 $as_echo_n "(cached) " >&6
4553 if $as_echo 'TRUE=$(BAR$(V))
4559 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4560 am_cv_make_support_nested_variables
=yes
4562 am_cv_make_support_nested_variables
=no
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4566 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4567 if test $am_cv_make_support_nested_variables = yes; then
4569 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4571 AM_V
=$AM_DEFAULT_VERBOSITY
4572 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4576 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4577 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4578 # is not polluted with repeated "-I."
4579 am__isrc
=' -I$(srcdir)'
4580 # test to see if srcdir already configured
4581 if test -f $srcdir/config.status
; then
4582 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4586 # test whether we have cygpath
4587 if test -z "$CYGPATH_W"; then
4588 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4589 CYGPATH_W
='cygpath -w'
4596 # Define the identity of the package.
4601 cat >>confdefs.h
<<_ACEOF
4602 #define PACKAGE "$PACKAGE"
4606 cat >>confdefs.h
<<_ACEOF
4607 #define VERSION "$VERSION"
4610 # Some tools Automake needs.
4612 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4615 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4618 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4621 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4624 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4626 # For better backward compatibility. To be removed once Automake 1.9.x
4627 # dies out for good. For more background, see:
4628 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4629 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4630 mkdir_p
='$(MKDIR_P)'
4632 # We need awk for the "check" target (and possibly the TAP driver). The
4633 # system "awk" is bad on some platforms.
4634 # Always define AMTAR for backward compatibility. Yes, it's still used
4635 # in the wild :-( We should find a proper way to deprecate it ...
4639 # We'll loop over all known methods to create a tar archive until one works.
4640 _am_tools
='gnutar pax cpio none'
4642 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4648 depcc
="$CC" am_compiler_list
=
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4651 $as_echo_n "checking dependency style of $depcc... " >&6; }
4652 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4653 $as_echo_n "(cached) " >&6
4655 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4656 # We make a subdir and do the tests there. Otherwise we can end up
4657 # making bogus files that we don't know about and never remove. For
4658 # instance it was reported that on HP-UX the gcc test will end up
4659 # making a dummy file named 'D' -- because '-MD' means "put the output
4663 # Copy depcomp to subdir because otherwise we won't find it if we're
4664 # using a relative directory.
4665 cp "$am_depcomp" conftest.dir
4667 # We will build objects and dependencies in a subdirectory because
4668 # it helps to detect inapplicable dependency modes. For instance
4669 # both Tru64's cc and ICC support -MD to output dependencies as a
4670 # side effect of compilation, but ICC will put the dependencies in
4671 # the current directory while Tru64 will put them in the object
4675 am_cv_CC_dependencies_compiler_type
=none
4676 if test "$am_compiler_list" = ""; then
4677 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4680 case " $depcc " in #(
4681 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4684 for depmode
in $am_compiler_list; do
4685 # Setup a source with many dependencies, because some compilers
4686 # like to wrap large dependency lists on column 80 (with \), and
4687 # we should not choose a depcomp mode which is confused by this.
4689 # We need to recreate these files for each test, as the compiler may
4690 # overwrite some of them when testing with obscure command lines.
4691 # This happens at least with the AIX C compiler.
4693 for i
in 1 2 3 4 5 6; do
4694 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4695 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4696 # Solaris 10 /bin/sh.
4697 echo '/* dummy */' > sub
/conftst
$i.h
4699 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4701 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4702 # mode. It turns out that the SunPro C++ compiler does not properly
4703 # handle '-M -o', and we need to detect this. Also, some Intel
4704 # versions had trouble with output in subdirs.
4705 am__obj
=sub
/conftest.
${OBJEXT-o}
4706 am__minus_obj
="-o $am__obj"
4709 # This depmode causes a compiler race in universal mode.
4710 test "$am__universal" = false ||
continue
4713 # After this tag, mechanisms are not by side-effect, so they'll
4714 # only be used when explicitly requested.
4715 if test "x$enable_dependency_tracking" = xyes
; then
4721 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4722 # This compiler won't grok '-c -o', but also, the minuso test has
4723 # not run yet. These depmodes are late enough in the game, and
4724 # so weak that their functioning should not be impacted.
4725 am__obj
=conftest.
${OBJEXT-o}
4730 if depmode
=$depmode \
4731 source=sub
/conftest.c object
=$am__obj \
4732 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4733 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4734 >/dev
/null
2>conftest.err
&&
4735 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4736 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4737 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4738 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4739 # icc doesn't choke on unknown options, it will just issue warnings
4740 # or remarks (even with -Werror). So we grep stderr for any message
4741 # that says an option was ignored or not supported.
4742 # When given -MP, icc 7.0 and 7.1 complain thusly:
4743 # icc: Command line warning: ignoring option '-M'; no argument required
4744 # The diagnosis changed in icc 8.0:
4745 # icc: Command line remark: option '-MP' not supported
4746 if (grep 'ignoring option' conftest.err ||
4747 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4748 am_cv_CC_dependencies_compiler_type
=$depmode
4757 am_cv_CC_dependencies_compiler_type
=none
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4762 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4763 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4766 test "x$enable_dependency_tracking" != xno \
4767 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4769 am__fastdepCC_FALSE
='#'
4771 am__fastdepCC_TRUE
='#'
4772 am__fastdepCC_FALSE
=
4777 # POSIX will say in a future version that running "rm -f" with no argument
4778 # is OK; and we want to be able to make that assumption in our Makefile
4779 # recipes. So use an aggressive probe to check that the usage we want is
4780 # actually supported "in the wild" to an acceptable degree.
4781 # See automake bug#10828.
4782 # To make any issue more visible, cause the running configure to be aborted
4783 # by default if the 'rm' program in use doesn't match our expectations; the
4784 # user can still override this though.
4785 if rm -f && rm -fr && rm -rf; then : OK
; else
4789 Your 'rm' program seems unable to run without file operands specified
4790 on the command line, even when the '-f' option is present. This is contrary
4791 to the behaviour of most rm programs out there, and not conforming with
4792 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4794 Please tell bug-automake@gnu.org about your system, including the value
4795 of your $PATH and any error possibly output before this message. This
4796 can help us improve future automake versions.
4799 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4800 echo 'Configuration will proceed anyway, since you have set the' >&2
4801 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4805 Aborting the configuration process, to ensure you take notice of the issue.
4807 You can download and install GNU coreutils to get an 'rm' implementation
4808 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4810 If you want to complete the configuration process using your problematic
4811 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4812 to "yes", and re-run configure.
4815 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4820 # If a cpu ever has more than one simulator to choose from, use
4821 # --enable-sim=... to choose.
4822 # Check whether --enable-sim was given.
4823 if test "${enable_sim+set}" = set; then :
4824 enableval
=$enable_sim; case "${enableval}" in
4826 *) as_fn_error $?
"bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
4831 if test "${enable_sim}" != no
; then
4837 subdirs
="$subdirs aarch64"
4841 subdirs
="$subdirs arm"
4845 subdirs
="$subdirs avr"
4849 subdirs
="$subdirs bfin"
4853 subdirs
="$subdirs bpf"
4857 subdirs
="$subdirs cr16"
4860 cris-
*-* | crisv32-
*-*)
4861 subdirs
="$subdirs cris"
4865 subdirs
="$subdirs d10v"
4869 subdirs
="$subdirs frv"
4873 subdirs
="$subdirs h8300"
4877 subdirs
="$subdirs iq2000"
4881 subdirs
="$subdirs lm32"
4885 subdirs
="$subdirs m32c"
4889 subdirs
="$subdirs m32r"
4892 m68hc11-
*-*|m6811-
*-*)
4893 subdirs
="$subdirs m68hc11"
4897 subdirs
="$subdirs mcore"
4901 subdirs
="$subdirs microblaze"
4905 subdirs
="$subdirs mips"
4910 subdirs
="$subdirs mn10300"
4915 subdirs
="$subdirs moxie"
4919 subdirs
="$subdirs msp430"
4922 or1k-
*-* | or1knd-
*-*)
4923 subdirs
="$subdirs or1k"
4927 subdirs
="$subdirs pru"
4931 subdirs
="$subdirs riscv"
4935 subdirs
="$subdirs rl78"
4939 subdirs
="$subdirs rx"
4943 subdirs
="$subdirs sh"
4946 sparc-
*-rtems*|sparc-
*-elf*)
4947 subdirs
="$subdirs erc32"
4951 subdirs
="$subdirs ppc"
4955 subdirs
="$subdirs ft32"
4959 subdirs
="$subdirs v850"
4964 if test "$sim_igen" = yes; then
4965 subdirs
="$subdirs igen"
4970 ac_config_files
="$ac_config_files Makefile"
4972 cat >confcache
<<\_ACEOF
4973 # This file is a shell script that caches the results of configure
4974 # tests run on this system so they can be shared between configure
4975 # scripts and configure runs, see configure's option --config-cache.
4976 # It is not useful on other systems. If it contains results you don't
4977 # want to keep, you may remove or edit it.
4979 # config.status only pays attention to the cache file if you give it
4980 # the --recheck option to rerun configure.
4982 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4983 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4988 # The following way of writing the cache mishandles newlines in values,
4989 # but we know of no workaround that is simple, portable, and efficient.
4990 # So, we kill variables containing newlines.
4991 # Ultrix sh set writes to stderr and can't be redirected directly,
4992 # and sets the high bit in the cache file unless we assign to the vars.
4994 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4995 eval ac_val
=\$
$ac_var
4999 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5000 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5003 _ | IFS | as_nl
) ;; #(
5004 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5005 *) { eval $ac_var=; unset $ac_var;} ;;
5011 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5012 *${as_nl}ac_space
=\
*)
5013 # `set' does not quote correctly, so add quotes: double-quote
5014 # substitution turns \\\\ into \\, and sed turns \\ into \.
5017 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5020 # `set' quotes correctly as required by POSIX, so do not add quotes.
5021 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5030 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5032 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5034 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5035 if test -w "$cache_file"; then
5036 if test "x$cache_file" != "x/dev/null"; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5038 $as_echo "$as_me: updating cache $cache_file" >&6;}
5039 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5040 cat confcache
>"$cache_file"
5042 case $cache_file in #(
5044 mv -f confcache
"$cache_file"$$
&&
5045 mv -f "$cache_file"$$
"$cache_file" ;; #(
5047 mv -f confcache
"$cache_file" ;;
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5053 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5058 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5059 # Let make expand exec_prefix.
5060 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5062 # Transform confdefs.h into DEFS.
5063 # Protect against shell expansion while executing Makefile rules.
5064 # Protect against Makefile macro expansion.
5066 # If the first sed substitution is executed (which looks for macros that
5067 # take arguments), then branch to the quote section. Otherwise,
5068 # look for a macro that doesn't take arguments.
5078 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5080 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5084 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5097 DEFS
=`sed -n "$ac_script" confdefs.h`
5103 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5104 # 1. Remove the extension, and $U if already installed.
5105 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5106 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5107 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5108 # will be set to the directory where LIBOBJS objects are built.
5109 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5110 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5114 LTLIBOBJS
=$ac_ltlibobjs
5118 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5119 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
5120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5123 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5124 if test -n "$am_sleep_pid"; then
5125 # Hide warnings about reused PIDs.
5126 wait $am_sleep_pid 2>/dev
/null
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5129 $as_echo "done" >&6; }
5130 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5131 as_fn_error $?
"conditional \"AMDEP\" was never defined.
5132 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5134 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5135 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5136 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5138 if test -n "$EXEEXT"; then
5140 am__EXEEXT_FALSE
='#'
5147 : "${CONFIG_STATUS=./config.status}"
5149 ac_clean_files_save
=$ac_clean_files
5150 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5152 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5154 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5156 # Generated by $as_me.
5157 # Run this file to recreate the current configuration.
5158 # Compiler output produced by configure, useful for debugging
5159 # configure, is in config.log if it exists.
5165 SHELL=\${CONFIG_SHELL-$SHELL}
5168 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5169 ## -------------------- ##
5170 ## M4sh Initialization. ##
5171 ## -------------------- ##
5173 # Be more Bourne compatible
5174 DUALCASE
=1; export DUALCASE
# for MKS sh
5175 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5178 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5179 # is contrary to our usage. Disable this feature.
5180 alias -g '${1+"$@"}'='"$@"'
5181 setopt NO_GLOB_SUBST
5183 case `(set -o) 2>/dev/null` in #(
5195 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5196 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5197 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5198 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5199 # Prefer a ksh shell builtin over an external printf program on Solaris,
5200 # but without wasting forks for bash or zsh.
5201 if test -z "$BASH_VERSION$ZSH_VERSION" \
5202 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5203 as_echo='print
-r --'
5204 as_echo_n='print
-rn --'
5205 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5206 as_echo='printf %s
\n'
5207 as_echo_n='printf %s
'
5209 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5210 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5211 as_echo_n='/usr
/ucb
/echo -n'
5213 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5214 as_echo_n_body='eval
5218 expr "X$arg" : "X\\(.*\\)$as_nl";
5219 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5221 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5223 export as_echo_n_body
5224 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5227 as_echo='sh
-c $as_echo_body as_echo
'
5230 # The user is always right.
5231 if test "${PATH_SEPARATOR+set}" != set; then
5233 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5234 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5241 # We need space, tab and new line, in precisely that order. Quoting is
5242 # there to prevent editors from complaining about space-tab.
5243 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5244 # splitting by setting IFS to empty value.)
5247 # Find who we are. Look in the path if we contain no directory separator.
5250 *[\\/]* ) as_myself=$0 ;;
5251 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir=.
5256 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5262 # We did not find ourselves, most probably we were run as `sh COMMAND'
5263 # in which case we are not to be found in the path.
5264 if test "x$as_myself" = x
; then
5267 if test ! -f "$as_myself"; then
5268 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5272 # Unset variables that we do not need and which cause bugs (e.g. in
5273 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5274 # suppresses any "Segmentation fault" message there. '((' could
5275 # trigger a bug in pdksh 5.2.14.
5276 for as_var
in BASH_ENV ENV MAIL MAILPATH
5277 do eval test x\
${$as_var+set} = xset \
5278 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5291 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5294 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5295 # ----------------------------------------
5296 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5297 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5298 # script with STATUS, using 1 if that was 0.
5301 as_status
=$1; test $as_status -eq 0 && as_status
=1
5303 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5304 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5306 $as_echo "$as_me: error: $2" >&2
5307 as_fn_exit
$as_status
5311 # as_fn_set_status STATUS
5312 # -----------------------
5313 # Set $? to STATUS, without forking.
5317 } # as_fn_set_status
5321 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5331 # Portably unset VAR.
5334 { eval $1=; unset $1;}
5336 as_unset
=as_fn_unset
5337 # as_fn_append VAR VALUE
5338 # ----------------------
5339 # Append the text in VALUE to the end of the definition contained in VAR. Take
5340 # advantage of any shell optimizations that allow amortized linear growth over
5341 # repeated appends, instead of the typical quadratic growth present in naive
5343 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5344 eval 'as_fn_append ()
5355 # as_fn_arith ARG...
5356 # ------------------
5357 # Perform arithmetic evaluation on the ARGs, and store the result in the
5358 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5359 # must be portable across $(()) and expr.
5360 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5361 eval 'as_fn_arith ()
5368 as_val
=`expr "$@" || test $? -eq 1`
5373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5381 as_basename
=basename
5386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5392 as_me
=`$as_basename -- "$0" ||
5393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5394 X"$0" : 'X\(//\)$' \| \
5395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5397 sed '/^.*\/\([^/][^/]*\)\/*$/{
5411 # Avoid depending upon Character Ranges.
5412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5415 as_cr_digits
='0123456789'
5416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5418 ECHO_C
= ECHO_N
= ECHO_T
=
5419 case `echo -n x` in #(((((
5421 case `echo 'xy\c'` in
5422 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5424 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5431 rm -f conf$$ conf$$.exe conf$$.
file
5432 if test -d conf$$.dir
; then
5433 rm -f conf$$.dir
/conf$$.
file
5436 mkdir conf$$.dir
2>/dev
/null
5438 if (echo >conf$$.
file) 2>/dev
/null
; then
5439 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5441 # ... but there are two gotchas:
5442 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5443 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5444 # In both cases, we have to default to `cp -pR'.
5445 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5447 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5455 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5456 rmdir conf$$.dir
2>/dev
/null
5461 # Create "$as_dir" as a directory, including parents if necessary.
5466 -*) as_dir
=.
/$as_dir;;
5468 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5472 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5473 *) as_qdir
=$as_dir;;
5475 as_dirs
="'$as_qdir' $as_dirs"
5476 as_dir
=`$as_dirname -- "$as_dir" ||
5477 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5478 X"$as_dir" : 'X\(//\)[^/]' \| \
5479 X"$as_dir" : 'X\(//\)$' \| \
5480 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5481 $as_echo X"$as_dir" |
5482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5499 test -d "$as_dir" && break
5501 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5502 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5506 if mkdir
-p .
2>/dev
/null
; then
5507 as_mkdir_p
='mkdir -p "$as_dir"'
5509 test -d .
/-p && rmdir .
/-p
5514 # as_fn_executable_p FILE
5515 # -----------------------
5516 # Test if FILE is an executable regular file.
5517 as_fn_executable_p
()
5519 test -f "$1" && test -x "$1"
5520 } # as_fn_executable_p
5522 as_executable_p
=as_fn_executable_p
5524 # Sed expression to map a string onto a valid CPP name.
5525 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5527 # Sed expression to map a string onto a valid variable name.
5528 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5532 ## ----------------------------------- ##
5533 ## Main body of $CONFIG_STATUS script. ##
5534 ## ----------------------------------- ##
5536 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5539 # Save the log message, to keep $0 and so on meaningful, and to
5540 # report actual input values of CONFIG_FILES etc. instead of their
5541 # values after options handling.
5543 This file was extended by sim $as_me 0, which was
5544 generated by GNU Autoconf 2.69. Invocation command line was
5546 CONFIG_FILES = $CONFIG_FILES
5547 CONFIG_HEADERS = $CONFIG_HEADERS
5548 CONFIG_LINKS = $CONFIG_LINKS
5549 CONFIG_COMMANDS = $CONFIG_COMMANDS
5552 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5557 case $ac_config_files in *"
5558 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5564 # Files that config.status was made for.
5565 config_files="$ac_config_files"
5566 config_commands="$ac_config_commands"
5570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5572 \`$as_me' instantiates files and other configuration actions
5573 from templates according to the current configuration. Unless the files
5574 and actions are specified as TAGs, all are instantiated by default.
5576 Usage: $0 [OPTION]... [TAG]...
5578 -h, --help print this help, then exit
5579 -V, --version print version number and configuration settings, then exit
5580 --config print configuration, then exit
5581 -q, --quiet, --silent
5582 do not print progress messages
5583 -d, --debug don't remove temporary files
5584 --recheck update $as_me by reconfiguring in the same conditions
5585 --file=FILE[:TEMPLATE]
5586 instantiate the configuration file FILE
5588 Configuration files:
5591 Configuration commands:
5594 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
5595 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
5598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5599 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5602 configured by $0, generated by GNU Autoconf 2.69,
5603 with options \\"\$ac_cs_config\\"
5605 Copyright (C) 2012 Free Software Foundation, Inc.
5606 This config.status script is free software; the Free Software Foundation
5607 gives unlimited permission to copy, distribute and modify it."
5614 test -n "\$AWK" || AWK=awk
5617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5618 # The default lists apply if the user does not specify any file.
5624 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5625 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5629 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5641 # Handling of the options.
5642 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5644 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5645 $as_echo "$ac_cs_version"; exit ;;
5646 --config |
--confi |
--conf |
--con |
--co |
--c )
5647 $as_echo "$ac_cs_config"; exit ;;
5648 --debug |
--debu |
--deb |
--de |
--d |
-d )
5650 --file |
--fil |
--fi |
--f )
5653 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5654 '') as_fn_error $?
"missing file argument" ;;
5656 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5657 ac_need_defaults
=false
;;
5658 --he |
--h |
--help |
--hel |
-h )
5659 $as_echo "$ac_cs_usage"; exit ;;
5660 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5661 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5665 -*) as_fn_error $?
"unrecognized option: \`$1'
5666 Try \`$0 --help' for more information." ;;
5668 *) as_fn_append ac_config_targets
" $1"
5669 ac_need_defaults
=false
;;
5675 ac_configure_extra_args
=
5677 if $ac_cs_silent; then
5679 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5684 if \$ac_cs_recheck; then
5685 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5687 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5688 CONFIG_SHELL='$SHELL'
5694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5698 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5699 ## Running $as_me. ##
5705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5709 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5715 # Handling of arguments.
5716 for ac_config_target
in $ac_config_targets
5718 case $ac_config_target in
5719 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5720 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5722 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5727 # If the user did not use the arguments to specify the items to instantiate,
5728 # then the envvar interface is used. Set only those that are not.
5729 # We use the long form for the default assignment because of an extremely
5730 # bizarre bug on SunOS 4.1.3.
5731 if $ac_need_defaults; then
5732 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5733 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5736 # Have a temporary directory for convenience. Make it in the build tree
5737 # simply because there is no reason against having it here, and in addition,
5738 # creating and moving files from /tmp can sometimes cause problems.
5739 # Hook for its removal unless debugging.
5740 # Note that there is a small window in which the directory will not be cleaned:
5741 # after its creation but before its name has been assigned to `$tmp'.
5745 trap 'exit_status=$?
5747 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5749 trap 'as_fn_exit 1' 1 2 13 15
5751 # Create a (secure) tmp directory for tmp files.
5754 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5758 tmp
=.
/conf$$
-$RANDOM
5759 (umask 077 && mkdir
"$tmp")
5760 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5763 # Set up the scripts for CONFIG_FILES section.
5764 # No need to generate them if there are no CONFIG_FILES.
5765 # This happens for instance with `./config.status config.h'.
5766 if test -n "$CONFIG_FILES"; then
5769 ac_cr
=`echo X | tr X '\015'`
5770 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5771 # But we know of no other shell where ac_cr would be empty at this
5772 # point, so we can use a bashism as a fallback.
5773 if test "x$ac_cr" = x
; then
5774 eval ac_cr
=\$
\'\\r
\'
5776 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5777 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5783 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5788 echo "cat >conf$$subs.awk <<_ACEOF" &&
5789 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5792 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5793 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5795 for ac_last_try in false false false false false :; do
5796 . ./conf$$subs.sh ||
5797 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5799 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5800 if test $ac_delim_n = $ac_delim_num; then
5802 elif $ac_last_try; then
5803 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5805 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5811 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5815 s/^/S["/; s
/!.
*/"]=/
5825 s/\(.\{148\}\)..*/\1/
5827 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5832 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5839 s/\(.\{148\}\)..*/\1/
5841 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5845 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5850 ' <conf$$subs.awk | sed '
5855 ' >>$CONFIG_STATUS || ac_write_fail=1
5856 rm -f conf$$subs.awk
5857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5859 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5860 for (key in S) S_is_set[key] = 1
5866 nfields = split(line, field, "@
")
5868 len = length(field[1])
5869 for (i = 2; i < nfields; i++) {
5871 keylen = length(key)
5872 if (S_is_set[key]) {
5874 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5875 len += length(value) + length(field[++i])
5886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5887 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5888 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5891 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5892 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5895 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5896 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5897 # trailing colons and then remove the whole line if VPATH becomes empty
5898 # (actually we leave an empty line to preserve line numbers).
5899 if test "x
$srcdir" = x.; then
5900 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5919 fi # test -n "$CONFIG_FILES"
5922 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
5927 :[FHLC]) ac_mode=$ac_tag; continue;;
5929 case $ac_mode$ac_tag in
5931 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5932 :[FH]-) ac_tag=-:-;;
5933 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5950 -) ac_f="$ac_tmp/stdin";;
5951 *) # Look for the file first in the build tree, then in the source tree
5952 # (if the path is not absolute). The absolute path cannot be DOS-style,
5953 # because $ac_f cannot contain `:'.
5957 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5959 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5961 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5962 as_fn_append ac_file_inputs " '$ac_f'"
5965 # Let's still pretend it is `configure' which instantiates (i.e., don't
5966 # use $as_me), people would be surprised to read:
5967 # /* config.h. Generated by config.status. */
5968 configure_input='Generated from '`
5969 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5971 if test x"$ac_file" != x-; then
5972 configure_input="$ac_file.
$configure_input"
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5974 $as_echo "$as_me: creating
$ac_file" >&6;}
5976 # Neutralize special characters interpreted by sed in replacement strings.
5977 case $configure_input in #(
5978 *\&* | *\|* | *\\* )
5979 ac_sed_conf_input=`$as_echo "$configure_input" |
5980 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5981 *) ac_sed_conf_input=$configure_input;;
5985 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5986 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5991 ac_dir=`$as_dirname -- "$ac_file" ||
5992 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5993 X"$ac_file" : 'X\(//\)[^/]' \| \
5994 X"$ac_file" : 'X\(//\)$' \| \
5995 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5996 $as_echo X"$ac_file" |
5997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6014 as_dir="$ac_dir"; as_fn_mkdir_p
6018 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6020 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6021 # A "..
" for each directory in $ac_dir_suffix.
6022 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6023 case $ac_top_builddir_sub in
6024 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6025 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6028 ac_abs_top_builddir=$ac_pwd
6029 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6030 # for backward compatibility:
6031 ac_top_builddir=$ac_top_build_prefix
6034 .) # We are building in place.
6036 ac_top_srcdir=$ac_top_builddir_sub
6037 ac_abs_top_srcdir=$ac_pwd ;;
6038 [\\/]* | ?:[\\/]* ) # Absolute name.
6039 ac_srcdir=$srcdir$ac_dir_suffix;
6040 ac_top_srcdir=$srcdir
6041 ac_abs_top_srcdir=$srcdir ;;
6043 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6044 ac_top_srcdir=$ac_top_build_prefix$srcdir
6045 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6047 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6057 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6058 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6062 [\\/$]* | ?:[\\/]* ) ;;
6063 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6068 # If the template does not know about datarootdir, expand it.
6069 # FIXME: This hack should be removed a few years after 2.60.
6070 ac_datarootdir_hack=; ac_datarootdir_seen=
6081 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
6082 *datarootdir*) ac_datarootdir_seen=yes;;
6083 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
6085 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
6087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6088 ac_datarootdir_hack='
6089 s&@datadir@&$datadir&g
6090 s&@docdir@&$docdir&g
6091 s&@infodir@&$infodir&g
6092 s&@localedir@&$localedir&g
6093 s&@mandir@&$mandir&g
6094 s&\\\${datarootdir}&$datarootdir&g' ;;
6098 # Neutralize VPATH when `$srcdir' = `.'.
6099 # Shell code in configure.ac might set extrasub.
6100 # FIXME: do we really want to maintain this feature?
6101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6102 ac_sed_extra="$ac_vpsub
6105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6107 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6108 s|@configure_input@|
$ac_sed_conf_input|
;t t
6109 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6110 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6111 s
&@srcdir@
&$ac_srcdir&;t t
6112 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6113 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6114 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6115 s
&@builddir@
&$ac_builddir&;t t
6116 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6117 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6118 s
&@INSTALL@
&$ac_INSTALL&;t t
6119 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
6120 $ac_datarootdir_hack
6122 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6123 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6125 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6126 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6127 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6128 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6130 which seems to be undefined. Please make sure it is defined" >&5
6131 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6132 which seems to be undefined. Please make sure it is defined" >&2;}
6134 rm -f "$ac_tmp/stdin"
6136 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6137 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6139 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6143 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6144 $as_echo "$as_me: executing $ac_file commands" >&6;}
6149 case $ac_file$ac_mode in
6150 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6151 # Older Autoconf quotes --file arguments for eval, but not when files
6152 # are listed without --file. Let's play safe and only
enable the
eval
6153 # if we detect the quoting.
6154 case $CONFIG_FILES in
6155 *\'*) eval set x
"$CONFIG_FILES" ;;
6156 *) set x
$CONFIG_FILES ;;
6161 # Strip MF so we end up with the name of the file.
6162 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6163 # Check whether this is an Automake generated Makefile or not.
6164 # We used to match only the files named 'Makefile.in', but
6165 # some people rename them; so instead we look at the file content.
6166 # Grep'ing the first line is not enough: some people post-process
6167 # each Makefile.in and add a new line on top of each file to say so.
6168 # Grep'ing the whole file is not good either: AIX grep has a line
6169 # limit of 2048, but all sed's we know have understand at least 4000.
6170 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
6171 dirpart
=`$as_dirname -- "$mf" ||
6172 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6173 X"$mf" : 'X\(//\)[^/]' \| \
6174 X"$mf" : 'X\(//\)$' \| \
6175 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6197 # Extract the definition of DEPDIR, am__include, and am__quote
6198 # from the Makefile without running 'make'.
6199 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6200 test -z "$DEPDIR" && continue
6201 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6202 test -z "$am__include" && continue
6203 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6204 # Find all dependency output files, they are included files with
6205 # $(DEPDIR) in their names. We invoke sed twice because it is the
6206 # simplest approach to changing $(DEPDIR) to its actual value in the
6208 for file in `sed -n "
6209 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6210 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6211 # Make sure the directory exists.
6212 test -f "$dirpart/$file" && continue
6213 fdir
=`$as_dirname -- "$file" ||
6214 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6215 X"$file" : 'X\(//\)[^/]' \| \
6216 X"$file" : 'X\(//\)$' \| \
6217 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6236 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
6237 # echo "creating $dirpart/$file"
6238 echo '# dummy' > "$dirpart/$file"
6250 ac_clean_files
=$ac_clean_files_save
6252 test $ac_write_fail = 0 ||
6253 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6256 # configure is writing to config.log, and then calls config.status.
6257 # config.status does its own redirection, appending to config.log.
6258 # Unfortunately, on DOS this fails, as config.log is still kept open
6259 # by configure, so config.status won't be able to write to it; its
6260 # output is simply discarded. So we exec the FD to /dev/null,
6261 # effectively closing config.log, so it can be properly (re)opened and
6262 # appended to by config.status. When coming back to configure, we
6263 # need to make the FD available again.
6264 if test "$no_create" != yes; then
6266 ac_config_status_args
=
6267 test "$silent" = yes &&
6268 ac_config_status_args
="$ac_config_status_args --quiet"
6270 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6272 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6273 # would make configure fail if this is the last instruction.
6274 $ac_cs_success || as_fn_exit
1
6278 # CONFIG_SUBDIRS section.
6280 if test "$no_recursion" != yes; then
6282 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
6283 # so they do not pile up.
6284 ac_sub_configure_args
=
6286 eval "set x $ac_configure_args"
6290 if test -n "$ac_prev"; then
6295 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
6296 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
6297 ac_prev
=cache_file
;;
6298 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
6299 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
6302 --config-cache |
-C)
6304 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
6306 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
6308 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
6310 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
6312 --disable-option-checking)
6316 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6318 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
6322 # Always prepend --prefix to ensure using the same prefix
6323 # in subdir configurations.
6324 ac_arg
="--prefix=$prefix"
6326 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6328 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
6331 if test "$silent" = yes; then
6332 ac_sub_configure_args
="--silent $ac_sub_configure_args"
6335 # Always prepend --disable-option-checking to silence warnings, since
6336 # different subdirs can have different --enable and --with options.
6337 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
6340 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
6342 # Do not complain, so a configure script can configure whichever
6343 # parts of a large source tree are present.
6344 test -d "$srcdir/$ac_dir" ||
continue
6346 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
6347 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
6348 $as_echo "$ac_msg" >&6
6349 as_dir
="$ac_dir"; as_fn_mkdir_p
6353 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6355 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6356 # A ".." for each directory in $ac_dir_suffix.
6357 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6358 case $ac_top_builddir_sub in
6359 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6360 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6363 ac_abs_top_builddir
=$ac_pwd
6364 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6365 # for backward compatibility:
6366 ac_top_builddir
=$ac_top_build_prefix
6369 .
) # We are building in place.
6371 ac_top_srcdir
=$ac_top_builddir_sub
6372 ac_abs_top_srcdir
=$ac_pwd ;;
6373 [\\/]* | ?
:[\\/]* ) # Absolute name.
6374 ac_srcdir
=$srcdir$ac_dir_suffix;
6375 ac_top_srcdir
=$srcdir
6376 ac_abs_top_srcdir
=$srcdir ;;
6378 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6379 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6380 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6382 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6387 # Check for guested configure; otherwise get Cygnus style configure.
6388 if test -f "$ac_srcdir/configure.gnu"; then
6389 ac_sub_configure
=$ac_srcdir/configure.gnu
6390 elif test -f "$ac_srcdir/configure"; then
6391 ac_sub_configure
=$ac_srcdir/configure
6392 elif test -f "$ac_srcdir/configure.in"; then
6393 # This should be Cygnus configure.
6394 ac_sub_configure
=$ac_aux_dir/configure
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
6397 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6401 # The recursion is here.
6402 if test -n "$ac_sub_configure"; then
6403 # Make the cache file name correct relative to the subdirectory.
6405 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
6407 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
6410 { $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
6411 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6412 # The eval makes quoting arguments work.
6413 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
6414 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
6415 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
6421 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6423 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}