2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sim 0.
5 # Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim
271 $0: about your system, including any error possibly output
272 $0: before this message. Then install a modern shell, or
273 $0: manually run the script under such a shell if you do
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Create "$as_dir" as a directory, including parents if necessary.
323 -*) as_dir
=.
/$as_dir;;
325 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
329 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
332 as_dirs
="'$as_qdir' $as_dirs"
333 as_dir
=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
356 test -d "$as_dir" && break
358 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
359 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p
()
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
378 eval 'as_fn_append ()
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
402 as_val
=`expr "$@" || test $? -eq 1`
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
414 as_status
=$1; test $as_status -eq 0 && as_status
=1
416 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit
$as_status
423 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
430 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
436 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
442 as_me
=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
461 # Avoid depending upon Character Ranges.
462 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits
='0123456789'
466 as_cr_alnum
=$as_cr_Letters$as_cr_digits
469 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
470 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
489 chmod +x
"$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec
=no
; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
500 # Exit status is that of the last command.
504 ECHO_C
= ECHO_N
= ECHO_T
=
505 case `echo -n x` in #(((((
507 case `echo 'xy\c'` in
508 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
517 rm -f conf$$ conf$$.exe conf$$.
file
518 if test -d conf$$.dir
; then
519 rm -f conf$$.dir
/conf$$.
file
522 mkdir conf$$.dir
2>/dev
/null
524 if (echo >conf$$.
file) 2>/dev
/null
; then
525 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
533 elif ln conf$$.
file conf$$
2>/dev
/null
; then
541 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
542 rmdir conf$$.dir
2>/dev
/null
544 if mkdir
-p .
2>/dev
/null
; then
545 as_mkdir_p
='mkdir -p "$as_dir"'
547 test -d .
/-p && rmdir .
/-p
552 as_executable_p
=as_fn_executable_p
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
561 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
572 ac_default_prefix
=/usr
/local
574 ac_config_libobj_dir
=.
581 # Identity of this package.
583 PACKAGE_TARNAME
='sim'
585 PACKAGE_STRING
='sim 0'
586 PACKAGE_BUGREPORT
='https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim'
587 PACKAGE_URL
='https://sourceware.org/gdb/wiki/Sim/'
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
627 enable_option_checking
=no
628 ac_subst_vars
='am__EXEEXT_FALSE
631 SIM_ENABLE_IGEN_FALSE
657 INSTALL_STRIP_PROGRAM
670 MAINTAINER_MODE_FALSE
733 program_transform_name
746 enable_option_checking
747 enable_maintainer_mode
748 enable_dependency_tracking
755 enable_sim_environment
760 ac_precious_vars
='build_alias
769 ac_subdirs_all
='aarch64
802 # Initialize some variables set by options.
804 ac_init_version
=false
805 ac_unrecognized_opts
=
807 # The variables have the same names as the options, with
808 # dashes changed to underlines.
816 program_transform_name
=s
,x
,x
,
824 # Installation directory options.
825 # These are left unexpanded so users can "make install exec_prefix=/foo"
826 # and all the variables that are supposed to be based on exec_prefix
827 # by default will actually change.
828 # Use braces instead of parens because sh, perl, etc. also accept them.
829 # (The list follows the same order as the GNU Coding Standards.)
830 bindir
='${exec_prefix}/bin'
831 sbindir
='${exec_prefix}/sbin'
832 libexecdir
='${exec_prefix}/libexec'
833 datarootdir
='${prefix}/share'
834 datadir
='${datarootdir}'
835 sysconfdir
='${prefix}/etc'
836 sharedstatedir
='${prefix}/com'
837 localstatedir
='${prefix}/var'
838 includedir
='${prefix}/include'
839 oldincludedir
='/usr/include'
840 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
841 infodir
='${datarootdir}/info'
846 libdir
='${exec_prefix}/lib'
847 localedir
='${datarootdir}/locale'
848 mandir
='${datarootdir}/man'
854 # If the previous option needs an argument, assign it.
855 if test -n "$ac_prev"; then
856 eval $ac_prev=\
$ac_option
862 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
867 # Accept the important Cygnus configure options, so we can diagnose typos.
869 case $ac_dashdash$ac_option in
873 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
875 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
878 -build |
--build |
--buil |
--bui |
--bu)
879 ac_prev
=build_alias
;;
880 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
881 build_alias
=$ac_optarg ;;
883 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
884 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
885 ac_prev
=cache_file
;;
886 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
887 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
888 cache_file
=$ac_optarg ;;
891 cache_file
=config.cache
;;
893 -datadir |
--datadir |
--datadi |
--datad)
895 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
896 datadir
=$ac_optarg ;;
898 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
899 |
--dataroo |
--dataro |
--datar)
900 ac_prev
=datarootdir
;;
901 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
902 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
903 datarootdir
=$ac_optarg ;;
905 -disable-* |
--disable-*)
906 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
907 # Reject names that are not valid shell variable names.
908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
909 as_fn_error $?
"invalid feature name: $ac_useropt"
910 ac_useropt_orig
=$ac_useropt
911 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
912 case $ac_user_opts in
916 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
917 ac_unrecognized_sep
=', ';;
919 eval enable_
$ac_useropt=no
;;
921 -docdir |
--docdir |
--docdi |
--doc |
--do)
923 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
926 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
928 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
931 -enable-* |
--enable-*)
932 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
935 as_fn_error $?
"invalid feature name: $ac_useropt"
936 ac_useropt_orig
=$ac_useropt
937 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938 case $ac_user_opts in
942 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
943 ac_unrecognized_sep
=', ';;
945 eval enable_
$ac_useropt=\
$ac_optarg ;;
947 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
948 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
949 |
--exec |
--exe |
--ex)
950 ac_prev
=exec_prefix
;;
951 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
952 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
953 |
--exec=* |
--exe=* |
--ex=*)
954 exec_prefix
=$ac_optarg ;;
956 -gas |
--gas |
--ga |
--g)
957 # Obsolete; use --with-gas.
960 -help |
--help |
--hel |
--he |
-h)
962 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
963 ac_init_help
=recursive
;;
964 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
965 ac_init_help
=short
;;
967 -host |
--host |
--hos |
--ho)
968 ac_prev
=host_alias
;;
969 -host=* |
--host=* |
--hos=* |
--ho=*)
970 host_alias
=$ac_optarg ;;
972 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
974 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
976 htmldir
=$ac_optarg ;;
978 -includedir |
--includedir |
--includedi |
--included |
--include \
979 |
--includ |
--inclu |
--incl |
--inc)
980 ac_prev
=includedir
;;
981 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
982 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
983 includedir
=$ac_optarg ;;
985 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
987 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
988 infodir
=$ac_optarg ;;
990 -libdir |
--libdir |
--libdi |
--libd)
992 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
995 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
996 |
--libexe |
--libex |
--libe)
997 ac_prev
=libexecdir
;;
998 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
999 |
--libexe=* |
--libex=* |
--libe=*)
1000 libexecdir
=$ac_optarg ;;
1002 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1003 ac_prev
=localedir
;;
1004 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1005 localedir
=$ac_optarg ;;
1007 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1008 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1009 ac_prev
=localstatedir
;;
1010 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1011 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1012 localstatedir
=$ac_optarg ;;
1014 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1016 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1017 mandir
=$ac_optarg ;;
1019 -nfp |
--nfp |
--nf)
1020 # Obsolete; use --without-fp.
1023 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1024 |
--no-cr |
--no-c |
-n)
1027 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1028 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1031 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1032 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1033 |
--oldin |
--oldi |
--old |
--ol |
--o)
1034 ac_prev
=oldincludedir
;;
1035 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1036 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1037 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1038 oldincludedir
=$ac_optarg ;;
1040 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1042 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1043 prefix
=$ac_optarg ;;
1045 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1046 |
--program-pre |
--program-pr |
--program-p)
1047 ac_prev
=program_prefix
;;
1048 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1049 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1050 program_prefix
=$ac_optarg ;;
1052 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1053 |
--program-suf |
--program-su |
--program-s)
1054 ac_prev
=program_suffix
;;
1055 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1056 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1057 program_suffix
=$ac_optarg ;;
1059 -program-transform-name |
--program-transform-name \
1060 |
--program-transform-nam |
--program-transform-na \
1061 |
--program-transform-n |
--program-transform- \
1062 |
--program-transform |
--program-transfor \
1063 |
--program-transfo |
--program-transf \
1064 |
--program-trans |
--program-tran \
1065 |
--progr-tra |
--program-tr |
--program-t)
1066 ac_prev
=program_transform_name
;;
1067 -program-transform-name=* |
--program-transform-name=* \
1068 |
--program-transform-nam=* |
--program-transform-na=* \
1069 |
--program-transform-n=* |
--program-transform-=* \
1070 |
--program-transform=* |
--program-transfor=* \
1071 |
--program-transfo=* |
--program-transf=* \
1072 |
--program-trans=* |
--program-tran=* \
1073 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1074 program_transform_name
=$ac_optarg ;;
1076 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1078 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1079 pdfdir
=$ac_optarg ;;
1081 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1083 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1086 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1087 |
-silent |
--silent |
--silen |
--sile |
--sil)
1090 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1092 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1094 sbindir
=$ac_optarg ;;
1096 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1097 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1098 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1100 ac_prev
=sharedstatedir
;;
1101 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1102 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1103 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1105 sharedstatedir
=$ac_optarg ;;
1107 -site |
--site |
--sit)
1109 -site=* |
--site=* |
--sit=*)
1112 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1114 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1115 srcdir
=$ac_optarg ;;
1117 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1118 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1119 ac_prev
=sysconfdir
;;
1120 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1121 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1122 sysconfdir
=$ac_optarg ;;
1124 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1125 ac_prev
=target_alias
;;
1126 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1127 target_alias
=$ac_optarg ;;
1129 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1132 -version |
--version |
--versio |
--versi |
--vers |
-V)
1133 ac_init_version
=: ;;
1136 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1139 as_fn_error $?
"invalid package name: $ac_useropt"
1140 ac_useropt_orig
=$ac_useropt
1141 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1146 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1147 ac_unrecognized_sep
=', ';;
1149 eval with_
$ac_useropt=\
$ac_optarg ;;
1151 -without-* |
--without-*)
1152 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1155 as_fn_error $?
"invalid package name: $ac_useropt"
1156 ac_useropt_orig
=$ac_useropt
1157 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158 case $ac_user_opts in
1162 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1163 ac_unrecognized_sep
=', ';;
1165 eval with_
$ac_useropt=no
;;
1168 # Obsolete; use --with-x.
1171 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1172 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1173 ac_prev
=x_includes
;;
1174 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1175 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1176 x_includes
=$ac_optarg ;;
1178 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1179 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1180 ac_prev
=x_libraries
;;
1181 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1182 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1183 x_libraries
=$ac_optarg ;;
1185 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1186 Try \`$0 --help' for more information"
1190 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1191 # Reject names that are not valid shell variable names.
1192 case $ac_envvar in #(
1193 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1194 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1196 eval $ac_envvar=\
$ac_optarg
1197 export $ac_envvar ;;
1200 # FIXME: should be removed in autoconf 3.0.
1201 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1202 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1204 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1210 if test -n "$ac_prev"; then
1211 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1212 as_fn_error $?
"missing argument to $ac_option"
1215 if test -n "$ac_unrecognized_opts"; then
1216 case $enable_option_checking in
1218 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1219 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1223 # Check all directory arguments for consistency.
1224 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1225 datadir sysconfdir sharedstatedir localstatedir includedir \
1226 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1227 libdir localedir mandir
1229 eval ac_val
=\$
$ac_var
1230 # Remove trailing slashes.
1233 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1234 eval $ac_var=\
$ac_val;;
1236 # Be sure to have absolute directory names.
1238 [\\/$
]* | ?
:[\\/]* ) continue;;
1239 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1241 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1244 # There might be people who depend on the old broken behavior: `$host'
1245 # used to hold the argument of --host etc.
1246 # FIXME: To remove some day.
1249 target
=$target_alias
1251 # FIXME: To remove some day.
1252 if test "x$host_alias" != x
; then
1253 if test "x$build_alias" = x
; then
1254 cross_compiling
=maybe
1255 elif test "x$build_alias" != "x$host_alias"; then
1261 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1263 test "$silent" = yes && exec 6>/dev
/null
1266 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1267 ac_ls_di
=`ls -di .` &&
1268 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1269 as_fn_error $?
"working directory cannot be determined"
1270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1271 as_fn_error $?
"pwd does not report name of working directory"
1274 # Find the source files, if location was not specified.
1275 if test -z "$srcdir"; then
1276 ac_srcdir_defaulted
=yes
1277 # Try the directory containing this script, then the parent directory.
1278 ac_confdir
=`$as_dirname -- "$as_myself" ||
1279 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1280 X"$as_myself" : 'X\(//\)[^/]' \| \
1281 X"$as_myself" : 'X\(//\)$' \| \
1282 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1283 $as_echo X"$as_myself" |
1284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1302 if test ! -r "$srcdir/$ac_unique_file"; then
1306 ac_srcdir_defaulted
=no
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1309 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1310 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1312 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1314 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1316 # When building in place, set srcdir=.
1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
1320 # Remove unnecessary trailing slashes from srcdir.
1321 # Double slashes in file names in object file debugging info
1322 # mess up M-x gdb in Emacs.
1324 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326 for ac_var
in $ac_precious_vars; do
1327 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1328 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1329 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1330 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1334 # Report the --help message.
1336 if test "$ac_init_help" = "long"; then
1337 # Omit some internal or obsolete options to make the list less imposing.
1338 # This message is too long to be a string in the A/UX 3.1 sh.
1340 \`configure' configures sim 0 to adapt to many kinds of systems.
1342 Usage: $0 [OPTION]... [VAR=VALUE]...
1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1345 VAR=VALUE. See below for descriptions of some of the useful variables.
1347 Defaults for the options are specified in brackets.
1350 -h, --help display this help and exit
1351 --help=short display options specific to this package
1352 --help=recursive display the short help of all the included packages
1353 -V, --version display version information and exit
1354 -q, --quiet, --silent do not print \`checking ...' messages
1355 --cache-file=FILE cache test results in FILE [disabled]
1356 -C, --config-cache alias for \`--cache-file=config.cache'
1357 -n, --no-create do not create output files
1358 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1360 Installation directories:
1361 --prefix=PREFIX install architecture-independent files in PREFIX
1362 [$ac_default_prefix]
1363 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1366 By default, \`make install' will install all the files in
1367 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1368 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1369 for instance \`--prefix=\$HOME'.
1371 For better control, use the options below.
1373 Fine tuning of the installation directories:
1374 --bindir=DIR user executables [EPREFIX/bin]
1375 --sbindir=DIR system admin executables [EPREFIX/sbin]
1376 --libexecdir=DIR program executables [EPREFIX/libexec]
1377 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1378 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1379 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1380 --libdir=DIR object code libraries [EPREFIX/lib]
1381 --includedir=DIR C header files [PREFIX/include]
1382 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1383 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1384 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1385 --infodir=DIR info documentation [DATAROOTDIR/info]
1386 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1387 --mandir=DIR man documentation [DATAROOTDIR/man]
1388 --docdir=DIR documentation root [DATAROOTDIR/doc/sim]
1389 --htmldir=DIR html documentation [DOCDIR]
1390 --dvidir=DIR dvi documentation [DOCDIR]
1391 --pdfdir=DIR pdf documentation [DOCDIR]
1392 --psdir=DIR ps documentation [DOCDIR]
1398 --program-prefix=PREFIX prepend PREFIX to installed program names
1399 --program-suffix=SUFFIX append SUFFIX to installed program names
1400 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1403 --build=BUILD configure
for building on BUILD
[guessed
]
1404 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1405 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1409 if test -n "$ac_init_help"; then
1410 case $ac_init_help in
1411 short | recursive
) echo "Configuration of sim 0:";;
1416 --disable-option-checking ignore unrecognized
--enable/--with options
1417 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1418 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1419 --enable-maintainer-mode
1420 enable make rules and dependencies not useful
(and
1421 sometimes confusing
) to the casual installer
1422 --enable-dependency-tracking
1423 do not reject slow dependency extractors
1424 --disable-dependency-tracking
1425 speeds up one-time build
1426 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1427 --disable-silent-rules verbose build output
(undo
: "make V=0")
1428 --enable-sim Enable the GNU simulator
1429 --enable-example-sims enable example GNU simulators
1430 --enable-targets alternative target configurations
1431 --enable-sim-assert Specify whether to perform random assertions
1432 --enable-sim-debug=opts Enable debugging flags
(for developers of the sim
1434 --enable-sim-environment=environment
1435 Specify mixed
, user
, virtual or operating
1437 --enable-sim-profile=opts
1438 Enable profiling flags
1439 --enable-sim-stdio Specify whether to use stdio
for console
1441 --enable-sim-trace=opts Enable tracing of simulated programs
1443 Some influential environment variables
:
1444 CC C compiler
command
1445 CFLAGS C compiler flags
1446 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1447 nonstandard directory
<lib dir
>
1448 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1449 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1450 you have headers
in a nonstandard directory
<include dir
>
1453 Use these variables to override the choices made by
`configure' or to help
1454 it to find libraries and programs with nonstandard names/locations.
1456 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
1457 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
1462 if test "$ac_init_help" = "recursive"; then
1463 # If there are subdirs, report their specific --help.
1464 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1465 test -d "$ac_dir" ||
1466 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1473 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1474 # A ".." for each directory in $ac_dir_suffix.
1475 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1476 case $ac_top_builddir_sub in
1477 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1481 ac_abs_top_builddir=$ac_pwd
1482 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1483 # for backward compatibility:
1484 ac_top_builddir=$ac_top_build_prefix
1487 .) # We are building in place.
1489 ac_top_srcdir=$ac_top_builddir_sub
1490 ac_abs_top_srcdir=$ac_pwd ;;
1491 [\\/]* | ?:[\\/]* ) # Absolute name.
1492 ac_srcdir=$srcdir$ac_dir_suffix;
1493 ac_top_srcdir=$srcdir
1494 ac_abs_top_srcdir=$srcdir ;;
1496 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1497 ac_top_srcdir=$ac_top_build_prefix$srcdir
1498 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1500 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1502 cd "$ac_dir" || { ac_status=$?; continue; }
1503 # Check for guested configure.
1504 if test -f "$ac_srcdir/configure.gnu"; then
1506 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1507 elif test -f "$ac_srcdir/configure"; then
1509 $SHELL "$ac_srcdir/configure" --help=recursive
1511 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1513 cd "$ac_pwd" || { ac_status=$?; break; }
1517 test -n "$ac_init_help" && exit $ac_status
1518 if $ac_init_version; then
1521 generated by GNU Autoconf 2.69
1523 Copyright (C) 2012 Free Software Foundation, Inc.
1524 This configure script is free software; the Free Software Foundation
1525 gives unlimited permission to copy, distribute and modify it.
1530 ## ------------------------ ##
1531 ## Autoconf initialization. ##
1532 ## ------------------------ ##
1534 # ac_fn_c_try_compile LINENO
1535 # --------------------------
1536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1537 ac_fn_c_try_compile ()
1539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540 rm -f conftest.$ac_objext
1541 if { { ac_try="$ac_compile"
1543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1544 *) ac_try_echo
=$ac_try;;
1546 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548 (eval "$ac_compile") 2>conftest.err
1550 if test -s conftest.err
; then
1551 grep -v '^ *+' conftest.err
>conftest.er1
1552 cat conftest.er1
>&5
1553 mv -f conftest.er1 conftest.err
1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556 test $ac_status = 0; } && {
1557 test -z "$ac_c_werror_flag" ||
1558 test ! -s conftest.err
1559 } && test -s conftest.
$ac_objext; then :
1562 $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.
$ac_ext >&5
1567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1568 as_fn_set_status
$ac_retval
1570 } # ac_fn_c_try_compile
1572 # ac_fn_c_try_cpp LINENO
1573 # ----------------------
1574 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1577 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1578 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1581 *) ac_try_echo=$ac_try;;
1583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1584 $as_echo "$ac_try_echo"; } >&5
1585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1587 if test -s conftest.err; then
1588 grep -v '^ *+' conftest.err >conftest.er1
1589 cat conftest.er1 >&5
1590 mv -f conftest.er1 conftest.err
1592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1593 test $ac_status = 0; } > conftest.i && {
1594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1595 test ! -s conftest.err
1599 $as_echo "$as_me: failed program was:" >&5
1600 sed 's/^/| /' conftest.$ac_ext >&5
1604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1605 as_fn_set_status $ac_retval
1609 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1610 # -------------------------------------------------------
1611 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1612 # the include files in INCLUDES and setting the cache variable VAR
1614 ac_fn_c_check_header_mongrel ()
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 if eval \${$3+:} false; then :
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1619 $as_echo_n "checking for $2... " >&6; }
1620 if eval \${$3+:} false; then :
1621 $as_echo_n "(cached) " >&6
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1625 $as_echo "$ac_res" >&6; }
1627 # Is the header compilable?
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1629 $as_echo_n "checking $2 usability... " >&6; }
1630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631 /* end confdefs.h. */
1635 if ac_fn_c_try_compile "$LINENO"; then :
1636 ac_header_compiler=yes
1638 ac_header_compiler=no
1640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1642 $as_echo "$ac_header_compiler" >&6; }
1644 # Is the header present?
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1646 $as_echo_n "checking $2 presence... " >&6; }
1647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1648 /* end confdefs.h. */
1651 if ac_fn_c_try_cpp "$LINENO"; then :
1652 ac_header_preproc=yes
1654 ac_header_preproc=no
1656 rm -f conftest.err conftest.i conftest.$ac_ext
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1658 $as_echo "$ac_header_preproc" >&6; }
1660 # So? What about this header?
1661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1664 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1666 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1670 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1672 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1674 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1676 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1678 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1679 ( $as_echo "## -------------------------------------------------------------------------------------- ##
1680 ## Report this to https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim ##
1681 ## -------------------------------------------------------------------------------------- ##"
1682 ) | sed "s/^/$as_me: WARNING: /" >&2
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1686 $as_echo_n "checking for $2... " >&6; }
1687 if eval \${$3+:} false; then :
1688 $as_echo_n "(cached) " >&6
1690 eval "$3=\$ac_header_compiler"
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1694 $as_echo "$ac_res" >&6; }
1696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 } # ac_fn_c_check_header_mongrel
1700 # ac_fn_c_try_run LINENO
1701 # ----------------------
1702 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1703 # that executables *can* be run.
1706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707 if { { ac_try="$ac_link"
1709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1710 *) ac_try_echo
=$ac_try;;
1712 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_link") 2>&5
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1718 { { case "(($ac_try" in
1719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_try") 2>&5
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; }; }; then :
1730 $as_echo "$as_me: program exited with status $ac_status" >&5
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.$ac_ext >&5
1734 ac_retval=$ac_status
1736 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1737 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738 as_fn_set_status $ac_retval
1742 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1743 # -------------------------------------------------------
1744 # Tests whether HEADER exists and can be compiled using the include files in
1745 # INCLUDES, setting the cache variable VAR accordingly.
1746 ac_fn_c_check_header_compile ()
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 $as_echo_n "checking for $2... " >&6; }
1751 if eval \${$3+:} false; then :
1752 $as_echo_n "(cached) " >&6
1754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1755 /* end confdefs.h. */
1759 if ac_fn_c_try_compile "$LINENO"; then :
1764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768 $as_echo "$ac_res" >&6; }
1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 } # ac_fn_c_check_header_compile
1773 # ac_fn_c_try_link LINENO
1774 # -----------------------
1775 # Try to link conftest.$ac_ext, and return whether this succeeded.
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 rm -f conftest.$ac_objext conftest$ac_exeext
1780 if { { ac_try="$ac_link"
1782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1783 *) ac_try_echo
=$ac_try;;
1785 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_link") 2>conftest.err
1789 if test -s conftest.err
; then
1790 grep -v '^ *+' conftest.err
>conftest.er1
1791 cat conftest.er1
>&5
1792 mv -f conftest.er1 conftest.err
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; } && {
1796 test -z "$ac_c_werror_flag" ||
1797 test ! -s conftest.err
1798 } && test -s conftest
$ac_exeext && {
1799 test "$cross_compiling" = yes ||
1800 test -x conftest
$ac_exeext
1804 $as_echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.
$ac_ext >&5
1809 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1810 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1811 # interfere with the next link command; also delete a directory that is
1812 # left behind by Apple's compiler. We do this before executing the actions.
1813 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 as_fn_set_status
$ac_retval
1817 } # ac_fn_c_try_link
1819 # ac_fn_c_check_func LINENO FUNC VAR
1820 # ----------------------------------
1821 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1822 ac_fn_c_check_func
()
1824 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1826 $as_echo_n "checking for $2... " >&6; }
1827 if eval \
${$3+:} false
; then :
1828 $as_echo_n "(cached) " >&6
1830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1831 /* end confdefs.h. */
1832 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1834 #define $2 innocuous_$2
1836 /* System header to define __stub macros and hopefully few prototypes,
1837 which can conflict with char $2 (); below.
1838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1839 <limits.h> exists even on freestanding compilers. */
1842 # include <limits.h>
1844 # include <assert.h>
1849 /* Override any GCC internal prototype to avoid an error.
1850 Use char because int might match the return type of a GCC
1851 builtin and then its argument prototype would still apply. */
1856 /* The GNU C library defines this for functions which it implements
1857 to always fail with ENOSYS. Some functions are actually named
1858 something starting with __ and the normal name is an alias. */
1859 #if defined __stub_$2 || defined __stub___$2
1871 if ac_fn_c_try_link
"$LINENO"; then :
1876 rm -f core conftest.err conftest.
$ac_objext \
1877 conftest
$ac_exeext conftest.
$ac_ext
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1881 $as_echo "$ac_res" >&6; }
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884 } # ac_fn_c_check_func
1886 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1887 # ----------------------------------------------------
1888 # Tries to find if the field MEMBER exists in type AGGR, after including
1889 # INCLUDES, setting cache variable VAR accordingly.
1890 ac_fn_c_check_member
()
1892 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1894 $as_echo_n "checking for $2.$3... " >&6; }
1895 if eval \
${$4+:} false
; then :
1896 $as_echo_n "(cached) " >&6
1898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h. */
1911 if ac_fn_c_try_compile
"$LINENO"; then :
1914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1915 /* end confdefs.h. */
1921 if (sizeof ac_aggr.$3)
1927 if ac_fn_c_try_compile
"$LINENO"; then :
1932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1938 $as_echo "$ac_res" >&6; }
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941 } # ac_fn_c_check_member
1943 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1944 # ---------------------------------------------
1945 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1947 ac_fn_c_check_decl
()
1949 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1950 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1951 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1953 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1954 if eval \
${$3+:} false
; then :
1955 $as_echo_n "(cached) " >&6
1957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h. */
1963 #ifndef $as_decl_name
1965 (void) $as_decl_use;
1967 (void) $as_decl_name;
1975 if ac_fn_c_try_compile
"$LINENO"; then :
1980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1984 $as_echo "$ac_res" >&6; }
1985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1987 } # ac_fn_c_check_decl
1989 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1990 # -------------------------------------------
1991 # Tests whether TYPE exists after having included INCLUDES, setting cache
1992 # variable VAR accordingly.
1993 ac_fn_c_check_type
()
1995 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1997 $as_echo_n "checking for $2... " >&6; }
1998 if eval \
${$3+:} false
; then :
1999 $as_echo_n "(cached) " >&6
2002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2003 /* end confdefs.h. */
2014 if ac_fn_c_try_compile
"$LINENO"; then :
2015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2016 /* end confdefs.h. */
2027 if ac_fn_c_try_compile
"$LINENO"; then :
2032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041 } # ac_fn_c_check_type
2042 cat >config.log
<<_ACEOF
2043 This file contains any messages produced by compilers while
2044 running configure, to aid debugging if configure makes a mistake.
2046 It was created by sim $as_me 0, which was
2047 generated by GNU Autoconf 2.69. Invocation command line was
2059 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2060 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2061 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2062 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2063 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2065 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2066 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2068 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2069 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2070 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2071 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2072 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2073 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2074 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2082 test -z "$as_dir" && as_dir
=.
2083 $as_echo "PATH: $as_dir"
2099 # Keep a trace of the command line.
2100 # Strip out --no-create and --no-recursion so they do not pile up.
2101 # Strip out --silent because we don't want to record it for future runs.
2102 # Also quote any args containing shell meta-characters.
2103 # Make two passes to allow for proper duplicate-argument suppression.
2107 ac_must_keep_next
=false
2113 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2114 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2115 |
-silent |
--silent |
--silen |
--sile |
--sil)
2118 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2121 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2123 as_fn_append ac_configure_args1
" '$ac_arg'"
2124 if test $ac_must_keep_next = true
; then
2125 ac_must_keep_next
=false
# Got value, back to normal.
2128 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2129 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2130 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2131 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2132 case "$ac_configure_args0 " in
2133 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2136 -* ) ac_must_keep_next
=true
;;
2139 as_fn_append ac_configure_args
" '$ac_arg'"
2144 { ac_configure_args0
=; unset ac_configure_args0
;}
2145 { ac_configure_args1
=; unset ac_configure_args1
;}
2147 # When interrupted or exit'd, cleanup temporary files, and complete
2148 # config.log. We remove comments because anyway the quotes in there
2149 # would cause problems or look ugly.
2150 # WARNING: Use '\'' to represent an apostrophe within the trap.
2151 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2152 trap 'exit_status=$?
2153 # Save into config.log some information that might help in debugging.
2157 $as_echo "## ---------------- ##
2158 ## Cache variables. ##
2159 ## ---------------- ##"
2161 # The following way of writing the cache mishandles newlines in values,
2163 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2164 eval ac_val=\$$ac_var
2168 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2169 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2172 _ | IFS | as_nl) ;; #(
2173 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2174 *) { eval $ac_var=; unset $ac_var;} ;;
2179 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2180 *${as_nl}ac_space=\ *)
2182 "s/'\''/'\''\\\\'\'''\''/g;
2183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2186 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2193 $as_echo "## ----------------- ##
2194 ## Output variables. ##
2195 ## ----------------- ##"
2197 for ac_var in $ac_subst_vars
2199 eval ac_val=\$$ac_var
2201 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2203 $as_echo "$ac_var='\''$ac_val'\''"
2207 if test -n "$ac_subst_files"; then
2208 $as_echo "## ------------------- ##
2209 ## File substitutions. ##
2210 ## ------------------- ##"
2212 for ac_var
in $ac_subst_files
2214 eval ac_val
=\$
$ac_var
2216 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2218 $as_echo "$ac_var='\''$ac_val'\''"
2223 if test -s confdefs.h; then
2224 $as_echo "## ----------- ##
2231 test "$ac_signal" != 0 &&
2232 $as_echo "$as_me: caught signal $ac_signal"
2233 $as_echo "$as_me: exit $exit_status"
2235 rm -f core *.core core.conftest.* &&
2236 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2239 for ac_signal
in 1 2 13 15; do
2240 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2244 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2245 rm -f -r conftest
* confdefs.h
2247 $as_echo "/* confdefs.h */" > confdefs.h
2249 # Predefined preprocessor variables.
2251 cat >>confdefs.h
<<_ACEOF
2252 #define PACKAGE_NAME "$PACKAGE_NAME"
2255 cat >>confdefs.h
<<_ACEOF
2256 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2259 cat >>confdefs.h
<<_ACEOF
2260 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2263 cat >>confdefs.h
<<_ACEOF
2264 #define PACKAGE_STRING "$PACKAGE_STRING"
2267 cat >>confdefs.h
<<_ACEOF
2268 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2271 cat >>confdefs.h
<<_ACEOF
2272 #define PACKAGE_URL "$PACKAGE_URL"
2276 # Let the site file select an alternate cache file if it wants to.
2277 # Prefer an explicitly selected file to automatically selected ones.
2280 if test -n "$CONFIG_SITE"; then
2281 # We do not want a PATH search for config.site.
2282 case $CONFIG_SITE in #((
2283 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2284 */*) ac_site_file1
=$CONFIG_SITE;;
2285 *) ac_site_file1
=.
/$CONFIG_SITE;;
2287 elif test "x$prefix" != xNONE
; then
2288 ac_site_file1
=$prefix/share
/config.site
2289 ac_site_file2
=$prefix/etc
/config.site
2291 ac_site_file1
=$ac_default_prefix/share
/config.site
2292 ac_site_file2
=$ac_default_prefix/etc
/config.site
2294 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2296 test "x$ac_site_file" = xNONE
&& continue
2297 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2299 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2300 sed 's/^/| /' "$ac_site_file" >&5
2302 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2304 as_fn_error $?
"failed to load site script $ac_site_file
2305 See \`config.log' for more details" "$LINENO" 5; }
2309 if test -r "$cache_file"; then
2310 # Some versions of bash will fail to source /dev/null (special files
2311 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2312 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2314 $as_echo "$as_me: loading cache $cache_file" >&6;}
2316 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2317 *) .
"./$cache_file";;
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2322 $as_echo "$as_me: creating cache $cache_file" >&6;}
2326 as_fn_append ac_header_list
" dlfcn.h"
2327 as_fn_append ac_header_list
" fcntl.h"
2328 as_fn_append ac_header_list
" fpu_control.h"
2329 as_fn_append ac_header_list
" termios.h"
2330 as_fn_append ac_header_list
" unistd.h"
2331 as_fn_append ac_header_list
" utime.h"
2332 as_fn_append ac_header_list
" linux/if_tun.h"
2333 as_fn_append ac_header_list
" linux/mii.h"
2334 as_fn_append ac_header_list
" linux/types.h"
2335 as_fn_append ac_header_list
" net/if.h"
2336 as_fn_append ac_header_list
" netinet/in.h"
2337 as_fn_append ac_header_list
" netinet/tcp.h"
2338 as_fn_append ac_header_list
" sys/ioctl.h"
2339 as_fn_append ac_header_list
" sys/mman.h"
2340 as_fn_append ac_header_list
" sys/mount.h"
2341 as_fn_append ac_header_list
" sys/param.h"
2342 as_fn_append ac_header_list
" sys/resource.h"
2343 as_fn_append ac_header_list
" sys/select.h"
2344 as_fn_append ac_header_list
" sys/socket.h"
2345 as_fn_append ac_header_list
" sys/stat.h"
2346 as_fn_append ac_header_list
" sys/statfs.h"
2347 as_fn_append ac_header_list
" sys/termio.h"
2348 as_fn_append ac_header_list
" sys/termios.h"
2349 as_fn_append ac_header_list
" sys/types.h"
2350 as_fn_append ac_header_list
" sys/vfs.h"
2351 as_fn_append ac_func_list
" __setfpucw"
2352 as_fn_append ac_func_list
" access"
2353 as_fn_append ac_func_list
" aint"
2354 as_fn_append ac_func_list
" anint"
2355 as_fn_append ac_func_list
" cfgetispeed"
2356 as_fn_append ac_func_list
" cfgetospeed"
2357 as_fn_append ac_func_list
" cfsetispeed"
2358 as_fn_append ac_func_list
" cfsetospeed"
2359 as_fn_append ac_func_list
" chdir"
2360 as_fn_append ac_func_list
" chmod"
2361 as_fn_append ac_func_list
" dup"
2362 as_fn_append ac_func_list
" dup2"
2363 as_fn_append ac_func_list
" execv"
2364 as_fn_append ac_func_list
" execve"
2365 as_fn_append ac_func_list
" fcntl"
2366 as_fn_append ac_func_list
" fork"
2367 as_fn_append ac_func_list
" fstat"
2368 as_fn_append ac_func_list
" fstatfs"
2369 as_fn_append ac_func_list
" ftruncate"
2370 as_fn_append ac_func_list
" getdirentries"
2371 as_fn_append ac_func_list
" getegid"
2372 as_fn_append ac_func_list
" geteuid"
2373 as_fn_append ac_func_list
" getgid"
2374 as_fn_append ac_func_list
" getpid"
2375 as_fn_append ac_func_list
" getppid"
2376 as_fn_append ac_func_list
" getrusage"
2377 as_fn_append ac_func_list
" gettimeofday"
2378 as_fn_append ac_func_list
" getuid"
2379 as_fn_append ac_func_list
" ioctl"
2380 as_fn_append ac_func_list
" kill"
2381 as_fn_append ac_func_list
" link"
2382 as_fn_append ac_func_list
" lseek"
2383 as_fn_append ac_func_list
" mmap"
2384 as_fn_append ac_func_list
" munmap"
2385 as_fn_append ac_func_list
" pipe"
2386 as_fn_append ac_func_list
" posix_fallocate"
2387 as_fn_append ac_func_list
" pread"
2388 as_fn_append ac_func_list
" rmdir"
2389 as_fn_append ac_func_list
" setregid"
2390 as_fn_append ac_func_list
" setreuid"
2391 as_fn_append ac_func_list
" setgid"
2392 as_fn_append ac_func_list
" setuid"
2393 as_fn_append ac_func_list
" sigaction"
2394 as_fn_append ac_func_list
" sigprocmask"
2395 as_fn_append ac_func_list
" sqrt"
2396 as_fn_append ac_func_list
" stat"
2397 as_fn_append ac_func_list
" strsignal"
2398 as_fn_append ac_func_list
" symlink"
2399 as_fn_append ac_func_list
" tcdrain"
2400 as_fn_append ac_func_list
" tcflow"
2401 as_fn_append ac_func_list
" tcflush"
2402 as_fn_append ac_func_list
" tcgetattr"
2403 as_fn_append ac_func_list
" tcgetpgrp"
2404 as_fn_append ac_func_list
" tcsendbreak"
2405 as_fn_append ac_func_list
" tcsetattr"
2406 as_fn_append ac_func_list
" tcsetpgrp"
2407 as_fn_append ac_func_list
" time"
2408 as_fn_append ac_func_list
" truncate"
2409 as_fn_append ac_func_list
" umask"
2410 as_fn_append ac_func_list
" unlink"
2411 as_fn_append ac_func_list
" utime"
2412 # Check that the precious variables saved in the cache have kept the same
2414 ac_cache_corrupted
=false
2415 for ac_var
in $ac_precious_vars; do
2416 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2417 eval ac_new_set
=\
$ac_env_${ac_var}_set
2418 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2419 eval ac_new_val
=\
$ac_env_${ac_var}_value
2420 case $ac_old_set,$ac_new_set in
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2423 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2424 ac_cache_corrupted
=: ;;
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2427 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2428 ac_cache_corrupted
=: ;;
2431 if test "x$ac_old_val" != "x$ac_new_val"; then
2432 # differences in whitespace do not lead to failure.
2433 ac_old_val_w
=`echo x $ac_old_val`
2434 ac_new_val_w
=`echo x $ac_new_val`
2435 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2437 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2438 ac_cache_corrupted
=:
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2441 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2442 eval $ac_var=\
$ac_old_val
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2445 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2447 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2450 # Pass precious variables to config.status.
2451 if test "$ac_new_set" = set; then
2453 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2454 *) ac_arg
=$ac_var=$ac_new_val ;;
2456 case " $ac_configure_args " in
2457 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2458 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2462 if $ac_cache_corrupted; then
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2466 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2467 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2469 ## -------------------- ##
2470 ## Main body of script. ##
2471 ## -------------------- ##
2474 ac_cpp
='$CPP $CPPFLAGS'
2475 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2476 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2477 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2484 ac_config_headers
="$ac_config_headers config.h"
2488 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2489 if test -f "$ac_dir/install-sh"; then
2491 ac_install_sh
="$ac_aux_dir/install-sh -c"
2493 elif test -f "$ac_dir/install.sh"; then
2495 ac_install_sh
="$ac_aux_dir/install.sh -c"
2497 elif test -f "$ac_dir/shtool"; then
2499 ac_install_sh
="$ac_aux_dir/shtool install -c"
2503 if test -z "$ac_aux_dir"; then
2504 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2507 # These three variables are undocumented and unsupported,
2508 # and are intended to be withdrawn in a future Autoconf release.
2509 # They can cause serious problems if a builder's source tree is in a directory
2510 # whose full name contains unusual characters.
2511 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2512 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2513 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2516 # Make sure we can run config.sub.
2517 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2518 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2521 $as_echo_n "checking build system type... " >&6; }
2522 if ${ac_cv_build+:} false
; then :
2523 $as_echo_n "(cached) " >&6
2525 ac_build_alias
=$build_alias
2526 test "x$ac_build_alias" = x
&&
2527 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2528 test "x$ac_build_alias" = x
&&
2529 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2530 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2531 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2535 $as_echo "$ac_cv_build" >&6; }
2536 case $ac_cv_build in
2538 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2541 ac_save_IFS
=$IFS; IFS
='-'
2547 # Remember, the first character of IFS is used to create $*,
2548 # except with old shells:
2551 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2555 $as_echo_n "checking host system type... " >&6; }
2556 if ${ac_cv_host+:} false
; then :
2557 $as_echo_n "(cached) " >&6
2559 if test "x$host_alias" = x
; then
2560 ac_cv_host
=$ac_cv_build
2562 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2563 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2568 $as_echo "$ac_cv_host" >&6; }
2571 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2574 ac_save_IFS
=$IFS; IFS
='-'
2580 # Remember, the first character of IFS is used to create $*,
2581 # except with old shells:
2584 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2588 $as_echo_n "checking target system type... " >&6; }
2589 if ${ac_cv_target+:} false
; then :
2590 $as_echo_n "(cached) " >&6
2592 if test "x$target_alias" = x
; then
2593 ac_cv_target
=$ac_cv_host
2595 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2596 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2601 $as_echo "$ac_cv_target" >&6; }
2602 case $ac_cv_target in
2604 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2606 target
=$ac_cv_target
2607 ac_save_IFS
=$IFS; IFS
='-'
2613 # Remember, the first character of IFS is used to create $*,
2614 # except with old shells:
2617 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2620 # The aliases save the names the user supplied, while $host etc.
2621 # will get canonicalized.
2622 test -n "$target_alias" &&
2623 test "$program_prefix$program_suffix$program_transform_name" = \
2625 program_prefix
=${target_alias}-
2626 # Expand $ac_aux_dir to an absolute path.
2627 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2630 ac_cpp
='$CPP $CPPFLAGS'
2631 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2632 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2633 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2634 if test -n "$ac_tool_prefix"; then
2635 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2636 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2638 $as_echo_n "checking for $ac_word... " >&6; }
2639 if ${ac_cv_prog_CC+:} false
; then :
2640 $as_echo_n "(cached) " >&6
2642 if test -n "$CC"; then
2643 ac_cv_prog_CC
="$CC" # Let the user override the test.
2645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2649 test -z "$as_dir" && as_dir
=.
2650 for ac_exec_ext
in '' $ac_executable_extensions; do
2651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2652 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2663 if test -n "$CC"; then
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2665 $as_echo "$CC" >&6; }
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668 $as_echo "no" >&6; }
2673 if test -z "$ac_cv_prog_CC"; then
2675 # Extract the first word of "gcc", so it can be a program name with args.
2676 set dummy gcc
; ac_word
=$2
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2678 $as_echo_n "checking for $ac_word... " >&6; }
2679 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2680 $as_echo_n "(cached) " >&6
2682 if test -n "$ac_ct_CC"; then
2683 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2689 test -z "$as_dir" && as_dir
=.
2690 for ac_exec_ext
in '' $ac_executable_extensions; do
2691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2692 ac_cv_prog_ac_ct_CC
="gcc"
2693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2703 if test -n "$ac_ct_CC"; then
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2705 $as_echo "$ac_ct_CC" >&6; }
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2708 $as_echo "no" >&6; }
2711 if test "x$ac_ct_CC" = x
; then
2714 case $cross_compiling:$ac_tool_warned in
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2718 ac_tool_warned
=yes ;;
2726 if test -z "$CC"; then
2727 if test -n "$ac_tool_prefix"; then
2728 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2729 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731 $as_echo_n "checking for $ac_word... " >&6; }
2732 if ${ac_cv_prog_CC+:} false
; then :
2733 $as_echo_n "(cached) " >&6
2735 if test -n "$CC"; then
2736 ac_cv_prog_CC
="$CC" # Let the user override the test.
2738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir
=.
2743 for ac_exec_ext
in '' $ac_executable_extensions; do
2744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2745 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2756 if test -n "$CC"; then
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2758 $as_echo "$CC" >&6; }
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2767 if test -z "$CC"; then
2768 # Extract the first word of "cc", so it can be a program name with args.
2769 set dummy cc
; ac_word
=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if ${ac_cv_prog_CC+:} false
; then :
2773 $as_echo_n "(cached) " >&6
2775 if test -n "$CC"; then
2776 ac_cv_prog_CC
="$CC" # Let the user override the test.
2779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2783 test -z "$as_dir" && as_dir
=.
2784 for ac_exec_ext
in '' $ac_executable_extensions; do
2785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2786 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2787 ac_prog_rejected
=yes
2791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2798 if test $ac_prog_rejected = yes; then
2799 # We found a bogon in the path, so make sure we never use it.
2800 set dummy
$ac_cv_prog_CC
2802 if test $# != 0; then
2803 # We chose a different compiler from the bogus one.
2804 # However, it has the same basename, so the bogon will be chosen
2805 # first if we set CC to just the basename; use the full file name.
2807 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2813 if test -n "$CC"; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2815 $as_echo "$CC" >&6; }
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2818 $as_echo "no" >&6; }
2823 if test -z "$CC"; then
2824 if test -n "$ac_tool_prefix"; then
2825 for ac_prog
in cl.exe
2827 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2828 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2830 $as_echo_n "checking for $ac_word... " >&6; }
2831 if ${ac_cv_prog_CC+:} false
; then :
2832 $as_echo_n "(cached) " >&6
2834 if test -n "$CC"; then
2835 ac_cv_prog_CC
="$CC" # Let the user override the test.
2837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2841 test -z "$as_dir" && as_dir
=.
2842 for ac_exec_ext
in '' $ac_executable_extensions; do
2843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2844 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2855 if test -n "$CC"; then
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2857 $as_echo "$CC" >&6; }
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2860 $as_echo "no" >&6; }
2864 test -n "$CC" && break
2867 if test -z "$CC"; then
2869 for ac_prog
in cl.exe
2871 # Extract the first word of "$ac_prog", so it can be a program name with args.
2872 set dummy
$ac_prog; ac_word
=$2
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2874 $as_echo_n "checking for $ac_word... " >&6; }
2875 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2876 $as_echo_n "(cached) " >&6
2878 if test -n "$ac_ct_CC"; then
2879 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2885 test -z "$as_dir" && as_dir
=.
2886 for ac_exec_ext
in '' $ac_executable_extensions; do
2887 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2888 ac_cv_prog_ac_ct_CC
="$ac_prog"
2889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2899 if test -n "$ac_ct_CC"; then
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2901 $as_echo "$ac_ct_CC" >&6; }
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2904 $as_echo "no" >&6; }
2908 test -n "$ac_ct_CC" && break
2911 if test "x$ac_ct_CC" = x
; then
2914 case $cross_compiling:$ac_tool_warned in
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2918 ac_tool_warned
=yes ;;
2927 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2929 as_fn_error $?
"no acceptable C compiler found in \$PATH
2930 See \`config.log' for more details" "$LINENO" 5; }
2932 # Provide some information about the compiler.
2933 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2936 for ac_option
in --version -v -V -qversion; do
2937 { { ac_try
="$ac_compiler $ac_option >&5"
2939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2943 $as_echo "$ac_try_echo"; } >&5
2944 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2946 if test -s conftest.err; then
2948 ... rest of stderr output deleted ...
2949 10q' conftest.err >conftest.er1
2950 cat conftest.er1 >&5
2952 rm -f conftest.er1 conftest.err
2953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2954 test $ac_status = 0; }
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2968 ac_clean_files_save=$ac_clean_files
2969 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2970 # Try to create an executable without -o first, disregard a.out.
2971 # It will help us diagnose broken compilers, and finding out an intuition
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2974 $as_echo_n "checking whether the C compiler works... " >&6; }
2975 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2977 # The possible output files:
2978 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2981 for ac_file in $ac_files
2984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2985 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2990 if { { ac_try="$ac_link_default"
2992 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2993 *) ac_try_echo
=$ac_try;;
2995 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 $as_echo "$ac_try_echo"; } >&5
2997 (eval "$ac_link_default") 2>&5
2999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3000 test $ac_status = 0; }; then :
3001 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3002 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3003 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3004 # so that the user can short-circuit this test for compilers unknown to
3006 for ac_file
in $ac_files ''
3008 test -f "$ac_file" ||
continue
3010 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3013 # We found the default executable, but exeext='' is most
3017 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3019 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3021 # We set ac_cv_exeext here because the later test for it is not
3022 # safe: cross compilers may not add the suffix if given an `-o'
3023 # argument, so we may need to know it at that point already.
3024 # Even if this section looks crufty: it has the advantage of
3031 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3036 if test -z "$ac_file"; then :
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3038 $as_echo "no" >&6; }
3039 $as_echo "$as_me: failed program was:" >&5
3040 sed 's/^/| /' conftest.
$ac_ext >&5
3042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3044 as_fn_error
77 "C compiler cannot create executables
3045 See \`config.log' for more details" "$LINENO" 5; }
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3048 $as_echo "yes" >&6; }
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3051 $as_echo_n "checking for C compiler default output file name... " >&6; }
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3053 $as_echo "$ac_file" >&6; }
3054 ac_exeext
=$ac_cv_exeext
3056 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3057 ac_clean_files
=$ac_clean_files_save
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3059 $as_echo_n "checking for suffix of executables... " >&6; }
3060 if { { ac_try
="$ac_link"
3062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3066 $as_echo "$ac_try_echo"; } >&5
3067 (eval "$ac_link") 2>&5
3069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3070 test $ac_status = 0; }; then :
3071 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3072 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3073 # work properly (i.e., refer to `conftest.exe'), while it won't with
3075 for ac_file
in conftest.exe conftest conftest.
*; do
3076 test -f "$ac_file" ||
continue
3078 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3079 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3088 See \`config.log' for more details" "$LINENO" 5; }
3090 rm -f conftest conftest
$ac_cv_exeext
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3092 $as_echo "$ac_cv_exeext" >&6; }
3094 rm -f conftest.
$ac_ext
3095 EXEEXT
=$ac_cv_exeext
3097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3103 FILE *f = fopen ("conftest.out", "w");
3104 return ferror (f) || fclose (f) != 0;
3110 ac_clean_files
="$ac_clean_files conftest.out"
3111 # Check that the compiler produces executables we can run. If not, either
3112 # the compiler is broken, or we cross compile.
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3114 $as_echo_n "checking whether we are cross compiling... " >&6; }
3115 if test "$cross_compiling" != yes; then
3116 { { ac_try
="$ac_link"
3118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3122 $as_echo "$ac_try_echo"; } >&5
3123 (eval "$ac_link") 2>&5
3125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3126 test $ac_status = 0; }
3127 if { ac_try='./conftest$ac_cv_exeext'
3128 { { case "(($ac_try" in
3129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3130 *) ac_try_echo
=$ac_try;;
3132 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3133 $as_echo "$ac_try_echo"; } >&5
3134 (eval "$ac_try") 2>&5
3136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3137 test $ac_status = 0; }; }; then
3140 if test "$cross_compiling" = maybe
; then
3143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3145 as_fn_error $?
"cannot run C compiled programs.
3146 If you meant to cross compile, use \`--host'.
3147 See \`config.log' for more details" "$LINENO" 5; }
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3152 $as_echo "$cross_compiling" >&6; }
3154 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3155 ac_clean_files
=$ac_clean_files_save
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3157 $as_echo_n "checking for suffix of object files... " >&6; }
3158 if ${ac_cv_objext+:} false
; then :
3159 $as_echo_n "(cached) " >&6
3161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h. */
3172 rm -f conftest.o conftest.obj
3173 if { { ac_try
="$ac_compile"
3175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3176 *) ac_try_echo=$ac_try;;
3178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3179 $as_echo "$ac_try_echo"; } >&5
3180 (eval "$ac_compile") 2>&5
3182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3183 test $ac_status = 0; }; then :
3184 for ac_file in conftest.o conftest.obj conftest.*; do
3185 test -f "$ac_file" || continue;
3187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3188 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3193 $as_echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.$ac_ext >&5
3196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3198 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3199 See \
`config.log' for more details" "$LINENO" 5; }
3201 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3204 $as_echo "$ac_cv_objext" >&6; }
3205 OBJEXT=$ac_cv_objext
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3208 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3209 if ${ac_cv_c_compiler_gnu+:} false; then :
3210 $as_echo_n "(cached) " >&6
3212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3213 /* end confdefs.h. */
3226 if ac_fn_c_try_compile "$LINENO"; then :
3231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3232 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3236 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3237 if test $ac_compiler_gnu = yes; then
3242 ac_test_CFLAGS=${CFLAGS+set}
3243 ac_save_CFLAGS=$CFLAGS
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3245 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3246 if ${ac_cv_prog_cc_g+:} false; then :
3247 $as_echo_n "(cached) " >&6
3249 ac_save_c_werror_flag=$ac_c_werror_flag
3250 ac_c_werror_flag=yes
3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3264 if ac_fn_c_try_compile "$LINENO"; then :
3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h. */
3279 if ac_fn_c_try_compile "$LINENO"; then :
3282 ac_c_werror_flag=$ac_save_c_werror_flag
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3295 if ac_fn_c_try_compile "$LINENO"; then :
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3303 ac_c_werror_flag=$ac_save_c_werror_flag
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3306 $as_echo "$ac_cv_prog_cc_g" >&6; }
3307 if test "$ac_test_CFLAGS" = set; then
3308 CFLAGS=$ac_save_CFLAGS
3309 elif test $ac_cv_prog_cc_g = yes; then
3310 if test "$GCC" = yes; then
3316 if test "$GCC" = yes; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3323 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3324 if ${ac_cv_prog_cc_c89+:} false; then :
3325 $as_echo_n "(cached) " >&6
3327 ac_cv_prog_cc_c89=no
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3334 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3335 struct buf { int x; };
3336 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3337 static char *e (p, i)
3343 static char *f (char * (*g) (char **, int), char **p, ...)
3348 s = g (p, va_arg (v,int));
3353 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3354 function prototypes and stuff, but not '\xHH' hex character constants.
3355 These don't provoke an error unfortunately, instead are silently treated
3356 as 'x'. The following induces an error, until -std is added to get
3357 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3358 array size at least. It's necessary to write '\x00'==0 to get something
3359 that's true only with -std. */
3360 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3362 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3363 inside strings and character constants. */
3365 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3367 int test (int i, double x);
3368 struct s1 {int (*f) (int a);};
3369 struct s2 {int (*f) (double a);};
3370 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3376 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3381 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3382 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3384 CC="$ac_save_CC $ac_arg"
3385 if ac_fn_c_try_compile "$LINENO"; then :
3386 ac_cv_prog_cc_c89=$ac_arg
3388 rm -f core conftest.err conftest.$ac_objext
3389 test "x$ac_cv_prog_cc_c89" != "xno" && break
3391 rm -f conftest.$ac_ext
3396 case "x$ac_cv_prog_cc_c89" in
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3399 $as_echo "none needed" >&6; } ;;
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3402 $as_echo "unsupported" >&6; } ;;
3404 CC="$CC $ac_cv_prog_cc_c89"
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3406 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3408 if test "x$ac_cv_prog_cc_c89" != xno; then :
3413 ac_cpp='$CPP $CPPFLAGS'
3414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3419 ac_cpp='$CPP $CPPFLAGS'
3420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3424 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3425 if ${am_cv_prog_cc_c_o+:} false; then :
3426 $as_echo_n "(cached) " >&6
3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3439 # Make sure it works both with $CC and with simple cc.
3440 # Following AC_PROG_CC_C_O, we do the test twice because some
3441 # compilers refuse to overwrite an existing .o file with -o,
3442 # though they will create one.
3443 am_cv_prog_cc_c_o=yes
3445 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3446 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); } \
3450 && test -f conftest2.$ac_objext; then
3453 am_cv_prog_cc_c_o=no
3457 rm -f core conftest*
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3461 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3462 if test "$am_cv_prog_cc_c_o" != yes; then
3463 # Losing compiler, so override with the script.
3464 # FIXME: It is wrong to rewrite CC.
3465 # But if we don't then we get into trouble of one sort or another.
3466 # A longer-term fix would be to have automake use am__CC in this case,
3467 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3468 CC="$am_aux_dir/compile $CC"
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3479 ac_cpp='$CPP $CPPFLAGS'
3480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3484 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3485 # On Suns, sometimes $CPP names a directory.
3486 if test -n "$CPP" && test -d "$CPP"; then
3489 if test -z "$CPP"; then
3490 if ${ac_cv_prog_CPP+:} false; then :
3491 $as_echo_n "(cached) " >&6
3493 # Double quotes because CPP needs to be expanded
3494 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3497 for ac_c_preproc_warn_flag in '' yes
3499 # Use a header file that comes with gcc, so configuring glibc
3500 # with a fresh cross-compiler works.
3501 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3502 # <limits.h> exists even on freestanding compilers.
3503 # On the NeXT, cc -E runs the code through the compiler's parser,
3504 # not just through cpp. "Syntax error" is here to catch this case.
3505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3506 /* end confdefs.h. */
3508 # include <limits.h>
3510 # include <assert.h>
3514 if ac_fn_c_try_cpp "$LINENO"; then :
3517 # Broken: fails on valid input.
3520 rm -f conftest.err conftest.i conftest.$ac_ext
3522 # OK, works on sane cases. Now check whether nonexistent headers
3523 # can be detected and how.
3524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3525 /* end confdefs.h. */
3526 #include <ac_nonexistent.h>
3528 if ac_fn_c_try_cpp "$LINENO"; then :
3529 # Broken: success on invalid input.
3532 # Passes both tests.
3536 rm -f conftest.err conftest.i conftest.$ac_ext
3539 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3540 rm -f conftest.i conftest.err conftest.
$ac_ext
3541 if $ac_preproc_ok; then :
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3554 $as_echo "$CPP" >&6; }
3556 for ac_c_preproc_warn_flag
in '' yes
3558 # Use a header file that comes with gcc, so configuring glibc
3559 # with a fresh cross-compiler works.
3560 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3561 # <limits.h> exists even on freestanding compilers.
3562 # On the NeXT, cc -E runs the code through the compiler's parser,
3563 # not just through cpp. "Syntax error" is here to catch this case.
3564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3565 /* end confdefs.h. */
3567 # include <limits.h>
3569 # include <assert.h>
3573 if ac_fn_c_try_cpp
"$LINENO"; then :
3576 # Broken: fails on valid input.
3579 rm -f conftest.err conftest.i conftest.
$ac_ext
3581 # OK, works on sane cases. Now check whether nonexistent headers
3582 # can be detected and how.
3583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3585 #include <ac_nonexistent.h>
3587 if ac_fn_c_try_cpp
"$LINENO"; then :
3588 # Broken: success on invalid input.
3591 # Passes both tests.
3595 rm -f conftest.err conftest.i conftest.
$ac_ext
3598 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3599 rm -f conftest.i conftest.err conftest.
$ac_ext
3600 if $ac_preproc_ok; then :
3603 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3605 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3606 See \`config.log' for more details" "$LINENO" 5; }
3610 ac_cpp
='$CPP $CPPFLAGS'
3611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3617 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3618 if ${ac_cv_path_GREP+:} false
; then :
3619 $as_echo_n "(cached) " >&6
3621 if test -z "$GREP"; then
3622 ac_path_GREP_found
=false
3623 # Loop through the user's path and test for each of PROGNAME-LIST
3624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3625 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3628 test -z "$as_dir" && as_dir
=.
3629 for ac_prog
in grep ggrep
; do
3630 for ac_exec_ext
in '' $ac_executable_extensions; do
3631 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3632 as_fn_executable_p
"$ac_path_GREP" ||
continue
3633 # Check for GNU ac_path_GREP and select it if it is found.
3634 # Check for GNU $ac_path_GREP
3635 case `"$ac_path_GREP" --version 2>&1` in
3637 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3640 $as_echo_n 0123456789 >"conftest.in"
3643 cat "conftest.in" "conftest.in" >"conftest.tmp"
3644 mv "conftest.tmp" "conftest.in"
3645 cp "conftest.in" "conftest.nl"
3646 $as_echo 'GREP' >> "conftest.nl"
3647 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3648 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3649 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3650 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3651 # Best one so far, save it but keep looking for a better one
3652 ac_cv_path_GREP
="$ac_path_GREP"
3653 ac_path_GREP_max
=$ac_count
3655 # 10*(2^10) chars as input seems more than enough
3656 test $ac_count -gt 10 && break
3658 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3661 $ac_path_GREP_found && break 3
3666 if test -z "$ac_cv_path_GREP"; then
3667 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3670 ac_cv_path_GREP
=$GREP
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3675 $as_echo "$ac_cv_path_GREP" >&6; }
3676 GREP
="$ac_cv_path_GREP"
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3680 $as_echo_n "checking for egrep... " >&6; }
3681 if ${ac_cv_path_EGREP+:} false
; then :
3682 $as_echo_n "(cached) " >&6
3684 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3685 then ac_cv_path_EGREP
="$GREP -E"
3687 if test -z "$EGREP"; then
3688 ac_path_EGREP_found
=false
3689 # Loop through the user's path and test for each of PROGNAME-LIST
3690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3691 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3694 test -z "$as_dir" && as_dir
=.
3695 for ac_prog
in egrep; do
3696 for ac_exec_ext
in '' $ac_executable_extensions; do
3697 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3698 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3699 # Check for GNU ac_path_EGREP and select it if it is found.
3700 # Check for GNU $ac_path_EGREP
3701 case `"$ac_path_EGREP" --version 2>&1` in
3703 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3706 $as_echo_n 0123456789 >"conftest.in"
3709 cat "conftest.in" "conftest.in" >"conftest.tmp"
3710 mv "conftest.tmp" "conftest.in"
3711 cp "conftest.in" "conftest.nl"
3712 $as_echo 'EGREP' >> "conftest.nl"
3713 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3714 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3715 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3716 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3717 # Best one so far, save it but keep looking for a better one
3718 ac_cv_path_EGREP
="$ac_path_EGREP"
3719 ac_path_EGREP_max
=$ac_count
3721 # 10*(2^10) chars as input seems more than enough
3722 test $ac_count -gt 10 && break
3724 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3727 $ac_path_EGREP_found && break 3
3732 if test -z "$ac_cv_path_EGREP"; then
3733 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3736 ac_cv_path_EGREP
=$EGREP
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3742 $as_echo "$ac_cv_path_EGREP" >&6; }
3743 EGREP
="$ac_cv_path_EGREP"
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3747 $as_echo_n "checking for ANSI C header files... " >&6; }
3748 if ${ac_cv_header_stdc+:} false
; then :
3749 $as_echo_n "(cached) " >&6
3751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h. */
3766 if ac_fn_c_try_compile
"$LINENO"; then :
3767 ac_cv_header_stdc
=yes
3769 ac_cv_header_stdc
=no
3771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3773 if test $ac_cv_header_stdc = yes; then
3774 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3776 /* end confdefs.h. */
3780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3781 $EGREP "memchr" >/dev
/null
2>&1; then :
3784 ac_cv_header_stdc
=no
3790 if test $ac_cv_header_stdc = yes; then
3791 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3798 $EGREP "free" >/dev
/null
2>&1; then :
3801 ac_cv_header_stdc
=no
3807 if test $ac_cv_header_stdc = yes; then
3808 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3809 if test "$cross_compiling" = yes; then :
3812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3813 /* end confdefs.h. */
3816 #if ((' ' & 0x0FF) == 0x020)
3817 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3818 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3820 # define ISLOWER(c) \
3821 (('a' <= (c) && (c) <= 'i') \
3822 || ('j' <= (c) && (c) <= 'r') \
3823 || ('s' <= (c) && (c) <= 'z'))
3824 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3827 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3832 for (i = 0; i < 256; i++)
3833 if (XOR (islower (i), ISLOWER (i))
3834 || toupper (i) != TOUPPER (i))
3839 if ac_fn_c_try_run
"$LINENO"; then :
3842 ac_cv_header_stdc
=no
3844 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3845 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3851 $as_echo "$ac_cv_header_stdc" >&6; }
3852 if test $ac_cv_header_stdc = yes; then
3854 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3858 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3859 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3860 inttypes.h stdint.h unistd.h
3862 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3863 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3865 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3866 cat >>confdefs.h
<<_ACEOF
3867 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3876 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3877 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3884 if test "$MINIX" = yes; then
3886 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3889 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3892 $as_echo "#define _MINIX 1" >>confdefs.h
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3898 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3899 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3900 $as_echo_n "(cached) " >&6
3902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h. */
3905 # define __EXTENSIONS__ 1
3906 $ac_includes_default
3915 if ac_fn_c_try_compile
"$LINENO"; then :
3916 ac_cv_safe_to_define___extensions__
=yes
3918 ac_cv_safe_to_define___extensions__
=no
3920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3923 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3924 test $ac_cv_safe_to_define___extensions__ = yes &&
3925 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3927 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3929 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3931 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3933 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3936 test "$program_prefix" != NONE
&&
3937 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3938 # Use a double $ so make ignores it.
3939 test "$program_suffix" != NONE
&&
3940 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3941 # Double any \ or $.
3942 # By default was `s,x,x', remove it if useless.
3943 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3944 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3946 # Find a good install program. We prefer a C program (faster),
3947 # so one script is as good as another. But avoid the broken or
3948 # incompatible versions:
3949 # SysV /etc/install, /usr/sbin/install
3950 # SunOS /usr/etc/install
3951 # IRIX /sbin/install
3953 # AmigaOS /C/install, which installs bootblocks on floppy discs
3954 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3955 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3956 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3957 # OS/2's system install, which has a completely different semantic
3958 # ./install, which can be erroneously created by make from ./install.sh.
3959 # Reject install programs that cannot install multiple files.
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3961 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3962 if test -z "$INSTALL"; then
3963 if ${ac_cv_path_install+:} false
; then :
3964 $as_echo_n "(cached) " >&6
3966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3970 test -z "$as_dir" && as_dir
=.
3971 # Account for people who put trailing slashes in PATH elements.
3972 case $as_dir/ in #((
3973 .
/ | .
// |
/[cC
]/* | \
3974 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3975 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3978 # OSF1 and SCO ODT 3.0 have their own names for install.
3979 # Don't use installbsd from OSF since it installs stuff as root
3981 for ac_prog
in ginstall scoinst
install; do
3982 for ac_exec_ext
in '' $ac_executable_extensions; do
3983 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3984 if test $ac_prog = install &&
3985 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3986 # AIX install. It has an incompatible calling convention.
3988 elif test $ac_prog = install &&
3989 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3990 # program-specific install script used by HP pwplus--don't use.
3993 rm -rf conftest.one conftest.two conftest.dir
3994 echo one
> conftest.one
3995 echo two
> conftest.two
3997 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3998 test -s conftest.one
&& test -s conftest.two
&&
3999 test -s conftest.dir
/conftest.one
&&
4000 test -s conftest.dir
/conftest.two
4002 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4015 rm -rf conftest.one conftest.two conftest.dir
4018 if test "${ac_cv_path_install+set}" = set; then
4019 INSTALL
=$ac_cv_path_install
4021 # As a last resort, use the slow shell script. Don't cache a
4022 # value for INSTALL within a source directory, because that will
4023 # break other packages using the cache if that directory is
4024 # removed, or if the value is a relative name.
4025 INSTALL
=$ac_install_sh
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4029 $as_echo "$INSTALL" >&6; }
4031 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4032 # It thinks the first close brace ends the variable substitution.
4033 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4035 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4037 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4044 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4045 if ${ac_cv_c_bigendian+:} false
; then :
4046 $as_echo_n "(cached) " >&6
4048 ac_cv_c_bigendian
=unknown
4049 # See if we're dealing with a universal compiler.
4050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4052 #ifndef __APPLE_CC__
4053 not a universal capable compiler
4058 if ac_fn_c_try_compile
"$LINENO"; then :
4060 # Check for potential -arch flags. It is not universal unless
4061 # there are at least two -arch flags with different values.
4064 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4065 if test -n "$ac_prev"; then
4067 i?
86 | x86_64 | ppc | ppc64
)
4068 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4071 ac_cv_c_bigendian
=universal
4077 elif test "x$ac_word" = "x-arch"; then
4082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4083 if test $ac_cv_c_bigendian = unknown
; then
4084 # See if sys/param.h defines the BYTE_ORDER macro.
4085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4087 #include <sys/types.h>
4088 #include <sys/param.h>
4093 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4094 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4103 if ac_fn_c_try_compile
"$LINENO"; then :
4104 # It does; now see whether it defined to BIG_ENDIAN or not.
4105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4107 #include <sys/types.h>
4108 #include <sys/param.h>
4113 #if BYTE_ORDER != BIG_ENDIAN
4121 if ac_fn_c_try_compile
"$LINENO"; then :
4122 ac_cv_c_bigendian
=yes
4124 ac_cv_c_bigendian
=no
4126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4130 if test $ac_cv_c_bigendian = unknown
; then
4131 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4133 /* end confdefs.h. */
4139 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4147 if ac_fn_c_try_compile
"$LINENO"; then :
4148 # It does; now see whether it defined to _BIG_ENDIAN or not.
4149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4150 /* end confdefs.h. */
4164 if ac_fn_c_try_compile
"$LINENO"; then :
4165 ac_cv_c_bigendian
=yes
4167 ac_cv_c_bigendian
=no
4169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4173 if test $ac_cv_c_bigendian = unknown
; then
4174 # Compile a test program.
4175 if test "$cross_compiling" = yes; then :
4176 # Try to guess by grepping values from an object file.
4177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4179 short int ascii_mm[] =
4180 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4181 short int ascii_ii[] =
4182 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4183 int use_ascii (int i) {
4184 return ascii_mm[i] + ascii_ii[i];
4186 short int ebcdic_ii[] =
4187 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4188 short int ebcdic_mm[] =
4189 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4190 int use_ebcdic (int i) {
4191 return ebcdic_mm[i] + ebcdic_ii[i];
4198 return use_ascii (foo) == use_ebcdic (foo);
4203 if ac_fn_c_try_compile
"$LINENO"; then :
4204 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4205 ac_cv_c_bigendian
=yes
4207 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4208 if test "$ac_cv_c_bigendian" = unknown
; then
4209 ac_cv_c_bigendian
=no
4211 # finding both strings is unlikely to happen, but who knows?
4212 ac_cv_c_bigendian
=unknown
4216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4220 $ac_includes_default
4225 /* Are we little or big endian? From Harbison&Steele. */
4229 char c[sizeof (long int)];
4232 return u.c[sizeof (long int) - 1] == 1;
4238 if ac_fn_c_try_run
"$LINENO"; then :
4239 ac_cv_c_bigendian
=no
4241 ac_cv_c_bigendian
=yes
4243 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4244 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4250 $as_echo "$ac_cv_c_bigendian" >&6; }
4251 case $ac_cv_c_bigendian in #(
4253 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4259 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4263 as_fn_error $?
"unknown endianness
4264 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4270 if test "x$cross_compiling" = "xno"; then
4271 : "${AR_FOR_BUILD:=\$(AR)}"
4272 : "${CC_FOR_BUILD:=\$(CC)}"
4273 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
4274 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
4275 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
4277 : "${AR_FOR_BUILD:=ar}"
4278 : "${CC_FOR_BUILD:=gcc}"
4279 : "${RANLIB_FOR_BUILD:=ranlib}"
4280 : "${CFLAGS_FOR_BUILD:=-g -O}"
4281 : "${LDLFAGS_FOR_BUILD:=}"
4290 if test -n "$ac_tool_prefix"; then
4291 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4292 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4294 $as_echo_n "checking for $ac_word... " >&6; }
4295 if ${ac_cv_prog_AR+:} false
; then :
4296 $as_echo_n "(cached) " >&6
4298 if test -n "$AR"; then
4299 ac_cv_prog_AR
="$AR" # Let the user override the test.
4301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4305 test -z "$as_dir" && as_dir
=.
4306 for ac_exec_ext
in '' $ac_executable_extensions; do
4307 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4308 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4319 if test -n "$AR"; then
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4321 $as_echo "$AR" >&6; }
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4324 $as_echo "no" >&6; }
4329 if test -z "$ac_cv_prog_AR"; then
4331 # Extract the first word of "ar", so it can be a program name with args.
4332 set dummy
ar; ac_word
=$2
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4334 $as_echo_n "checking for $ac_word... " >&6; }
4335 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4336 $as_echo_n "(cached) " >&6
4338 if test -n "$ac_ct_AR"; then
4339 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4345 test -z "$as_dir" && as_dir
=.
4346 for ac_exec_ext
in '' $ac_executable_extensions; do
4347 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4348 ac_cv_prog_ac_ct_AR
="ar"
4349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4358 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4359 if test -n "$ac_ct_AR"; then
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4361 $as_echo "$ac_ct_AR" >&6; }
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4364 $as_echo "no" >&6; }
4367 if test "x$ac_ct_AR" = x
; then
4370 case $cross_compiling:$ac_tool_warned in
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4374 ac_tool_warned
=yes ;;
4382 if test -n "$ac_tool_prefix"; then
4383 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4384 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4386 $as_echo_n "checking for $ac_word... " >&6; }
4387 if ${ac_cv_prog_RANLIB+:} false
; then :
4388 $as_echo_n "(cached) " >&6
4390 if test -n "$RANLIB"; then
4391 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4397 test -z "$as_dir" && as_dir
=.
4398 for ac_exec_ext
in '' $ac_executable_extensions; do
4399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4400 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 RANLIB
=$ac_cv_prog_RANLIB
4411 if test -n "$RANLIB"; then
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4413 $as_echo "$RANLIB" >&6; }
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4416 $as_echo "no" >&6; }
4421 if test -z "$ac_cv_prog_RANLIB"; then
4422 ac_ct_RANLIB
=$RANLIB
4423 # Extract the first word of "ranlib", so it can be a program name with args.
4424 set dummy ranlib
; ac_word
=$2
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 $as_echo_n "checking for $ac_word... " >&6; }
4427 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4428 $as_echo_n "(cached) " >&6
4430 if test -n "$ac_ct_RANLIB"; then
4431 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4437 test -z "$as_dir" && as_dir
=.
4438 for ac_exec_ext
in '' $ac_executable_extensions; do
4439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4440 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4451 if test -n "$ac_ct_RANLIB"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4453 $as_echo "$ac_ct_RANLIB" >&6; }
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4459 if test "x$ac_ct_RANLIB" = x
; then
4462 case $cross_compiling:$ac_tool_warned in
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4466 ac_tool_warned
=yes ;;
4468 RANLIB
=$ac_ct_RANLIB
4471 RANLIB
="$ac_cv_prog_RANLIB"
4475 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
4476 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
4477 # is C99. So handle it ourselves.
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
4481 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4483 /* end confdefs.h. */
4485 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4486 # error "C11 support not found"
4490 if ac_fn_c_try_compile
"$LINENO"; then :
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4492 $as_echo "yes" >&6; }
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4496 $as_echo "no" >&6; }
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4498 $as_echo_n "checking for -std=c11 support... " >&6; }
4501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4504 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4505 # error "C11 support not found"
4509 if ac_fn_c_try_compile
"$LINENO"; then :
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4512 $as_echo "yes" >&6; }
4514 C_DIALECT
="-std=c11"
4517 as_fn_error $?
"C11 is required" "$LINENO" 5
4519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4527 for ac_header
in $ac_header_list
4529 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4530 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4532 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4533 cat >>confdefs.h
<<_ACEOF
4534 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4594 for ac_func
in $ac_func_list
4596 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4597 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4598 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4599 cat >>confdefs.h
<<_ACEOF
4600 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4729 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4730 if ${ac_cv_struct_tm+:} false
; then :
4731 $as_echo_n "(cached) " >&6
4733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4734 /* end confdefs.h. */
4735 #include <sys/types.h>
4742 int *p = &tm.tm_sec;
4748 if ac_fn_c_try_compile
"$LINENO"; then :
4749 ac_cv_struct_tm
=time.h
4751 ac_cv_struct_tm
=sys
/time.h
4753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4756 $as_echo "$ac_cv_struct_tm" >&6; }
4757 if test $ac_cv_struct_tm = sys
/time.h
; then
4759 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
4764 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
4765 if ${ac_cv_type_uid_t+:} false
; then :
4766 $as_echo_n "(cached) " >&6
4768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4770 #include <sys/types.h>
4773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4774 $EGREP "uid_t" >/dev
/null
2>&1; then :
4775 ac_cv_type_uid_t
=yes
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
4783 $as_echo "$ac_cv_type_uid_t" >&6; }
4784 if test $ac_cv_type_uid_t = no
; then
4786 $as_echo "#define uid_t int" >>confdefs.h
4789 $as_echo "#define gid_t int" >>confdefs.h
4795 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4796 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4798 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4799 if eval \
${$as_ac_Header+:} false
; then :
4800 $as_echo_n "(cached) " >&6
4802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4803 /* end confdefs.h. */
4804 #include <sys/types.h>
4816 if ac_fn_c_try_compile
"$LINENO"; then :
4817 eval "$as_ac_Header=yes"
4819 eval "$as_ac_Header=no"
4821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4823 eval ac_res
=\$
$as_ac_Header
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4825 $as_echo "$ac_res" >&6; }
4826 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4827 cat >>confdefs.h
<<_ACEOF
4828 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4831 ac_header_dirent
=$ac_hdr; break
4835 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4836 if test $ac_header_dirent = dirent.h
; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4838 $as_echo_n "checking for library containing opendir... " >&6; }
4839 if ${ac_cv_search_opendir+:} false
; then :
4840 $as_echo_n "(cached) " >&6
4842 ac_func_search_save_LIBS
=$LIBS
4843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4844 /* end confdefs.h. */
4846 /* Override any GCC internal prototype to avoid an error.
4847 Use char because int might match the return type of a GCC
4848 builtin and then its argument prototype would still apply. */
4861 for ac_lib
in '' dir
; do
4862 if test -z "$ac_lib"; then
4863 ac_res
="none required"
4866 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4868 if ac_fn_c_try_link
"$LINENO"; then :
4869 ac_cv_search_opendir
=$ac_res
4871 rm -f core conftest.err conftest.
$ac_objext \
4873 if ${ac_cv_search_opendir+:} false
; then :
4877 if ${ac_cv_search_opendir+:} false
; then :
4880 ac_cv_search_opendir
=no
4883 LIBS
=$ac_func_search_save_LIBS
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4886 $as_echo "$ac_cv_search_opendir" >&6; }
4887 ac_res
=$ac_cv_search_opendir
4888 if test "$ac_res" != no
; then :
4889 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4895 $as_echo_n "checking for library containing opendir... " >&6; }
4896 if ${ac_cv_search_opendir+:} false
; then :
4897 $as_echo_n "(cached) " >&6
4899 ac_func_search_save_LIBS
=$LIBS
4900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4901 /* end confdefs.h. */
4903 /* Override any GCC internal prototype to avoid an error.
4904 Use char because int might match the return type of a GCC
4905 builtin and then its argument prototype would still apply. */
4918 for ac_lib
in '' x
; do
4919 if test -z "$ac_lib"; then
4920 ac_res
="none required"
4923 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4925 if ac_fn_c_try_link
"$LINENO"; then :
4926 ac_cv_search_opendir
=$ac_res
4928 rm -f core conftest.err conftest.
$ac_objext \
4930 if ${ac_cv_search_opendir+:} false
; then :
4934 if ${ac_cv_search_opendir+:} false
; then :
4937 ac_cv_search_opendir
=no
4940 LIBS
=$ac_func_search_save_LIBS
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4943 $as_echo "$ac_cv_search_opendir" >&6; }
4944 ac_res
=$ac_cv_search_opendir
4945 if test "$ac_res" != no
; then :
4946 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4955 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
4956 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
4958 cat >>confdefs.h
<<_ACEOF
4959 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
4963 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
4968 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
4969 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
4971 cat >>confdefs.h
<<_ACEOF
4972 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
4976 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
4979 case " $LIBOBJS " in
4980 *" fileblocks.$ac_objext "* ) ;;
4981 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
4988 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
4989 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
4991 cat >>confdefs.h
<<_ACEOF
4992 #define HAVE_STRUCT_STAT_ST_RDEV 1
4996 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
5001 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
5002 #include <$ac_cv_struct_tm>
5005 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
5007 cat >>confdefs.h
<<_ACEOF
5008 #define HAVE_STRUCT_TM_TM_ZONE 1
5014 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
5016 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
5019 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
5021 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
5027 cat >>confdefs.h
<<_ACEOF
5028 #define HAVE_DECL_TZNAME $ac_have_decl
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
5032 $as_echo_n "checking for tzname... " >&6; }
5033 if ${ac_cv_var_tzname+:} false
; then :
5034 $as_echo_n "(cached) " >&6
5036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5037 /* end confdefs.h. */
5039 #if !HAVE_DECL_TZNAME
5040 extern char *tzname[];
5046 return tzname[0][0];
5051 if ac_fn_c_try_link
"$LINENO"; then :
5052 ac_cv_var_tzname
=yes
5056 rm -f core conftest.err conftest.
$ac_objext \
5057 conftest
$ac_exeext conftest.
$ac_ext
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
5060 $as_echo "$ac_cv_var_tzname" >&6; }
5061 if test $ac_cv_var_tzname = yes; then
5063 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
5069 ac_fn_c_check_member
"$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
5070 #include <sys/types.h>
5072 #ifdef HAVE_SYS_STAT_H
5073 #include <sys/stat.h>
5076 if test "x$ac_cv_member_struct_stat_st_dev" = xyes
; then :
5078 cat >>confdefs.h
<<_ACEOF
5079 #define HAVE_STRUCT_STAT_ST_DEV 1
5084 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ino" "ac_cv_member_struct_stat_st_ino" "#ifdef HAVE_SYS_TYPES_H
5085 #include <sys/types.h>
5087 #ifdef HAVE_SYS_STAT_H
5088 #include <sys/stat.h>
5091 if test "x$ac_cv_member_struct_stat_st_ino" = xyes
; then :
5093 cat >>confdefs.h
<<_ACEOF
5094 #define HAVE_STRUCT_STAT_ST_INO 1
5099 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mode" "ac_cv_member_struct_stat_st_mode" "#ifdef HAVE_SYS_TYPES_H
5100 #include <sys/types.h>
5102 #ifdef HAVE_SYS_STAT_H
5103 #include <sys/stat.h>
5106 if test "x$ac_cv_member_struct_stat_st_mode" = xyes
; then :
5108 cat >>confdefs.h
<<_ACEOF
5109 #define HAVE_STRUCT_STAT_ST_MODE 1
5114 ac_fn_c_check_member
"$LINENO" "struct stat" "st_nlink" "ac_cv_member_struct_stat_st_nlink" "#ifdef HAVE_SYS_TYPES_H
5115 #include <sys/types.h>
5117 #ifdef HAVE_SYS_STAT_H
5118 #include <sys/stat.h>
5121 if test "x$ac_cv_member_struct_stat_st_nlink" = xyes
; then :
5123 cat >>confdefs.h
<<_ACEOF
5124 #define HAVE_STRUCT_STAT_ST_NLINK 1
5129 ac_fn_c_check_member
"$LINENO" "struct stat" "st_uid" "ac_cv_member_struct_stat_st_uid" "#ifdef HAVE_SYS_TYPES_H
5130 #include <sys/types.h>
5132 #ifdef HAVE_SYS_STAT_H
5133 #include <sys/stat.h>
5136 if test "x$ac_cv_member_struct_stat_st_uid" = xyes
; then :
5138 cat >>confdefs.h
<<_ACEOF
5139 #define HAVE_STRUCT_STAT_ST_UID 1
5144 ac_fn_c_check_member
"$LINENO" "struct stat" "st_gid" "ac_cv_member_struct_stat_st_gid" "#ifdef HAVE_SYS_TYPES_H
5145 #include <sys/types.h>
5147 #ifdef HAVE_SYS_STAT_H
5148 #include <sys/stat.h>
5151 if test "x$ac_cv_member_struct_stat_st_gid" = xyes
; then :
5153 cat >>confdefs.h
<<_ACEOF
5154 #define HAVE_STRUCT_STAT_ST_GID 1
5159 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "#ifdef HAVE_SYS_TYPES_H
5160 #include <sys/types.h>
5162 #ifdef HAVE_SYS_STAT_H
5163 #include <sys/stat.h>
5166 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
5168 cat >>confdefs.h
<<_ACEOF
5169 #define HAVE_STRUCT_STAT_ST_RDEV 1
5174 ac_fn_c_check_member
"$LINENO" "struct stat" "st_size" "ac_cv_member_struct_stat_st_size" "#ifdef HAVE_SYS_TYPES_H
5175 #include <sys/types.h>
5177 #ifdef HAVE_SYS_STAT_H
5178 #include <sys/stat.h>
5181 if test "x$ac_cv_member_struct_stat_st_size" = xyes
; then :
5183 cat >>confdefs.h
<<_ACEOF
5184 #define HAVE_STRUCT_STAT_ST_SIZE 1
5189 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "#ifdef HAVE_SYS_TYPES_H
5190 #include <sys/types.h>
5192 #ifdef HAVE_SYS_STAT_H
5193 #include <sys/stat.h>
5196 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
5198 cat >>confdefs.h
<<_ACEOF
5199 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
5204 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "#ifdef HAVE_SYS_TYPES_H
5205 #include <sys/types.h>
5207 #ifdef HAVE_SYS_STAT_H
5208 #include <sys/stat.h>
5211 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
5213 cat >>confdefs.h
<<_ACEOF
5214 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5219 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atime" "ac_cv_member_struct_stat_st_atime" "#ifdef HAVE_SYS_TYPES_H
5220 #include <sys/types.h>
5222 #ifdef HAVE_SYS_STAT_H
5223 #include <sys/stat.h>
5226 if test "x$ac_cv_member_struct_stat_st_atime" = xyes
; then :
5228 cat >>confdefs.h
<<_ACEOF
5229 #define HAVE_STRUCT_STAT_ST_ATIME 1
5234 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtime" "ac_cv_member_struct_stat_st_mtime" "#ifdef HAVE_SYS_TYPES_H
5235 #include <sys/types.h>
5237 #ifdef HAVE_SYS_STAT_H
5238 #include <sys/stat.h>
5241 if test "x$ac_cv_member_struct_stat_st_mtime" = xyes
; then :
5243 cat >>confdefs.h
<<_ACEOF
5244 #define HAVE_STRUCT_STAT_ST_MTIME 1
5249 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctime" "ac_cv_member_struct_stat_st_ctime" "#ifdef HAVE_SYS_TYPES_H
5250 #include <sys/types.h>
5252 #ifdef HAVE_SYS_STAT_H
5253 #include <sys/stat.h>
5256 if test "x$ac_cv_member_struct_stat_st_ctime" = xyes
; then :
5258 cat >>confdefs.h
<<_ACEOF
5259 #define HAVE_STRUCT_STAT_ST_CTIME 1
5266 ac_fn_c_check_type
"$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default"
5267 if test "x$ac_cv_type___int128" = xyes
; then :
5269 cat >>confdefs.h
<<_ACEOF
5270 #define HAVE___INT128 1
5276 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
5277 #include <sys/socket.h>
5280 if test "x$ac_cv_type_socklen_t" = xyes
; then :
5282 cat >>confdefs.h
<<_ACEOF
5283 #define HAVE_SOCKLEN_T 1
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
5291 $as_echo_n "checking type of array argument to getgroups... " >&6; }
5292 if ${ac_cv_type_getgroups+:} false
; then :
5293 $as_echo_n "(cached) " >&6
5295 if test "$cross_compiling" = yes; then :
5296 ac_cv_type_getgroups
=cross
5298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5299 /* end confdefs.h. */
5300 /* Thanks to Mike Rendell for this test. */
5301 $ac_includes_default
5304 #define MAX(x, y) ((x) > (y) ? (x) : (y))
5311 union { gid_t gval; long int lval; } val;
5314 for (i = 0; i < NGID; i++)
5315 gidset[i] = val.gval;
5316 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
5318 /* Exit non-zero if getgroups seems to require an array of ints. This
5319 happens when gid_t is short int but getgroups modifies an array
5321 return n > 0 && gidset[n] != val.gval;
5324 if ac_fn_c_try_run
"$LINENO"; then :
5325 ac_cv_type_getgroups
=gid_t
5327 ac_cv_type_getgroups
=int
5329 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5330 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5333 if test $ac_cv_type_getgroups = cross
; then
5334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5340 $EGREP "getgroups.*int.*gid_t" >/dev
/null
2>&1; then :
5341 ac_cv_type_getgroups
=gid_t
5343 ac_cv_type_getgroups
=int
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
5350 $as_echo "$ac_cv_type_getgroups" >&6; }
5352 cat >>confdefs.h
<<_ACEOF
5353 #define GETGROUPS_T $ac_cv_type_getgroups
5357 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
5358 if test "x$ac_cv_type_mode_t" = xyes
; then :
5362 cat >>confdefs.h
<<_ACEOF
5368 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5369 if test "x$ac_cv_type_off_t" = xyes
; then :
5373 cat >>confdefs.h
<<_ACEOF
5374 #define off_t long int
5379 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
5380 if test "x$ac_cv_type_pid_t" = xyes
; then :
5384 cat >>confdefs.h
<<_ACEOF
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
5391 $as_echo_n "checking return type of signal handlers... " >&6; }
5392 if ${ac_cv_type_signal+:} false
; then :
5393 $as_echo_n "(cached) " >&6
5395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5396 /* end confdefs.h. */
5397 #include <sys/types.h>
5403 return *(signal (0, 0)) (0) == 1;
5408 if ac_fn_c_try_compile
"$LINENO"; then :
5409 ac_cv_type_signal
=int
5411 ac_cv_type_signal
=void
5413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
5416 $as_echo "$ac_cv_type_signal" >&6; }
5418 cat >>confdefs.h
<<_ACEOF
5419 #define RETSIGTYPE $ac_cv_type_signal
5423 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5424 if test "x$ac_cv_type_size_t" = xyes
; then :
5428 cat >>confdefs.h
<<_ACEOF
5429 #define size_t unsigned int
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
5435 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
5436 if ${ac_cv_type_uid_t+:} false
; then :
5437 $as_echo_n "(cached) " >&6
5439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5440 /* end confdefs.h. */
5441 #include <sys/types.h>
5444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5445 $EGREP "uid_t" >/dev
/null
2>&1; then :
5446 ac_cv_type_uid_t
=yes
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
5454 $as_echo "$ac_cv_type_uid_t" >&6; }
5455 if test $ac_cv_type_uid_t = no
; then
5457 $as_echo "#define uid_t int" >>confdefs.h
5460 $as_echo "#define gid_t int" >>confdefs.h
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5468 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5469 # Check whether --enable-maintainer-mode was given.
5470 if test "${enable_maintainer_mode+set}" = set; then :
5471 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5473 USE_MAINTAINER_MODE
=no
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5477 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5478 if test $USE_MAINTAINER_MODE = yes; then
5479 MAINTAINER_MODE_TRUE
=
5480 MAINTAINER_MODE_FALSE
='#'
5482 MAINTAINER_MODE_TRUE
='#'
5483 MAINTAINER_MODE_FALSE
=
5486 MAINT
=$MAINTAINER_MODE_TRUE
5489 am__api_version
='1.15'
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
5492 $as_echo_n "checking whether build environment is sane... " >&6; }
5493 # Reject unsafe characters in $srcdir or the absolute working directory
5494 # name. Accept space and tab only in the latter.
5498 *[\\\"\
#\$\&\'\`$am_lf]*)
5499 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
5502 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
5503 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
5506 # Do 'set' in a subshell so we don't clobber the current shell's
5507 # arguments. Must try -L first in case configure is actually a
5508 # symlink; some systems play weird games with the mod time of symlinks
5509 # (eg FreeBSD returns the mod time of the symlink's containing
5513 for am_try
in 1 2; do
5514 echo "timestamp, slept: $am_has_slept" > conftest.
file
5515 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5516 if test "$*" = "X"; then
5518 set X
`ls -t "$srcdir/configure" conftest.file`
5520 if test "$*" != "X $srcdir/configure conftest.file" \
5521 && test "$*" != "X conftest.file $srcdir/configure"; then
5523 # If neither matched, then we have a broken ls. This can happen
5524 # if, for instance, CONFIG_SHELL is bash and it inherits a
5525 # broken ls alias from the environment. This has actually
5526 # happened. Such a system could not be considered "sane".
5527 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
5528 alias in your environment" "$LINENO" 5
5530 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
5537 test "$2" = conftest.
file
5543 as_fn_error $?
"newly created file is older than distributed files!
5544 Check your system clock" "$LINENO" 5
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5547 $as_echo "yes" >&6; }
5548 # If we didn't sleep, we still need to ensure time stamps of config.status and
5549 # generated files are strictly newer.
5551 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
5558 if test x
"${MISSING+set}" != xset
; then
5561 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
5563 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
5566 # Use eval to expand $SHELL
5567 if eval "$MISSING --is-lightweight"; then
5568 am_missing_run
="$MISSING "
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
5572 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
5575 if test x
"${install_sh+set}" != xset
; then
5578 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
5580 install_sh
="\${SHELL} $am_aux_dir/install-sh"
5584 # Installed binaries are usually stripped using 'strip' when the user
5585 # run "make install-strip". However 'strip' might not be the right
5586 # tool to use in cross-compilation environments, therefore Automake
5587 # will honor the 'STRIP' environment variable to overrule this program.
5588 if test "$cross_compiling" != no
; then
5589 if test -n "$ac_tool_prefix"; then
5590 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5591 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5593 $as_echo_n "checking for $ac_word... " >&6; }
5594 if ${ac_cv_prog_STRIP+:} false
; then :
5595 $as_echo_n "(cached) " >&6
5597 if test -n "$STRIP"; then
5598 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5604 test -z "$as_dir" && as_dir
=.
5605 for ac_exec_ext
in '' $ac_executable_extensions; do
5606 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5607 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5617 STRIP
=$ac_cv_prog_STRIP
5618 if test -n "$STRIP"; then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5620 $as_echo "$STRIP" >&6; }
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623 $as_echo "no" >&6; }
5628 if test -z "$ac_cv_prog_STRIP"; then
5630 # Extract the first word of "strip", so it can be a program name with args.
5631 set dummy strip
; ac_word
=$2
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633 $as_echo_n "checking for $ac_word... " >&6; }
5634 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5635 $as_echo_n "(cached) " >&6
5637 if test -n "$ac_ct_STRIP"; then
5638 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5644 test -z "$as_dir" && as_dir
=.
5645 for ac_exec_ext
in '' $ac_executable_extensions; do
5646 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5647 ac_cv_prog_ac_ct_STRIP
="strip"
5648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5657 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5658 if test -n "$ac_ct_STRIP"; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5660 $as_echo "$ac_ct_STRIP" >&6; }
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 $as_echo "no" >&6; }
5666 if test "x$ac_ct_STRIP" = x
; then
5669 case $cross_compiling:$ac_tool_warned in
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5673 ac_tool_warned
=yes ;;
5678 STRIP
="$ac_cv_prog_STRIP"
5682 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5685 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5686 if test -z "$MKDIR_P"; then
5687 if ${ac_cv_path_mkdir+:} false
; then :
5688 $as_echo_n "(cached) " >&6
5690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5691 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
5694 test -z "$as_dir" && as_dir
=.
5695 for ac_prog
in mkdir gmkdir
; do
5696 for ac_exec_ext
in '' $ac_executable_extensions; do
5697 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
5698 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5699 'mkdir (GNU coreutils) '* | \
5700 'mkdir (coreutils) '* | \
5701 'mkdir (fileutils) '4.1*)
5702 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
5712 test -d .
/--version && rmdir .
/--version
5713 if test "${ac_cv_path_mkdir+set}" = set; then
5714 MKDIR_P
="$ac_cv_path_mkdir -p"
5716 # As a last resort, use the slow shell script. Don't cache a
5717 # value for MKDIR_P within a source directory, because that will
5718 # break other packages using the cache if that directory is
5719 # removed, or if the value is a relative name.
5720 MKDIR_P
="$ac_install_sh -d"
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5724 $as_echo "$MKDIR_P" >&6; }
5726 for ac_prog
in gawk mawk nawk
awk
5728 # Extract the first word of "$ac_prog", so it can be a program name with args.
5729 set dummy
$ac_prog; ac_word
=$2
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5731 $as_echo_n "checking for $ac_word... " >&6; }
5732 if ${ac_cv_prog_AWK+:} false
; then :
5733 $as_echo_n "(cached) " >&6
5735 if test -n "$AWK"; then
5736 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5742 test -z "$as_dir" && as_dir
=.
5743 for ac_exec_ext
in '' $ac_executable_extensions; do
5744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5745 ac_cv_prog_AWK
="$ac_prog"
5746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5756 if test -n "$AWK"; then
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5758 $as_echo "$AWK" >&6; }
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5761 $as_echo "no" >&6; }
5765 test -n "$AWK" && break
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5769 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5771 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5772 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5773 $as_echo_n "(cached) " >&6
5775 cat >conftest.
make <<\_ACEOF
5778 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5780 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5781 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5783 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5785 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5789 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5791 $as_echo "yes" >&6; }
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 $as_echo "no" >&6; }
5796 SET_MAKE
="MAKE=${MAKE-make}"
5799 rm -rf .tst
2>/dev
/null
5800 mkdir .tst
2>/dev
/null
5801 if test -d .tst
; then
5806 rmdir .tst
2>/dev
/null
5808 DEPDIR
="${am__leading_dot}deps"
5810 ac_config_commands
="$ac_config_commands depfiles"
5813 am_make
=${MAKE-make}
5814 cat > confinc
<< 'END'
5816 @
echo this is the am__doit target
5819 # If we don't find an include directive, just comment out the code.
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
5821 $as_echo_n "checking for style of include used by $am_make... " >&6; }
5825 # First try GNU make style include.
5826 echo "include confinc" > confmf
5827 # Ignore all kinds of additional output from 'make'.
5828 case `$am_make -s -f confmf 2> /dev/null` in #(
5829 *the\ am__doit\ target
*)
5835 # Now try BSD make style include.
5836 if test "$am__include" = "#"; then
5837 echo '.include "confinc"' > confmf
5838 case `$am_make -s -f confmf 2> /dev/null` in #(
5839 *the\ am__doit\ target
*)
5840 am__include
=.include
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
5849 $as_echo "$_am_result" >&6; }
5850 rm -f confinc confmf
5852 # Check whether --enable-dependency-tracking was given.
5853 if test "${enable_dependency_tracking+set}" = set; then :
5854 enableval
=$enable_dependency_tracking;
5857 if test "x$enable_dependency_tracking" != xno
; then
5858 am_depcomp
="$ac_aux_dir/depcomp"
5862 if test "x$enable_dependency_tracking" != xno; then
5871 # Check whether --enable-silent-rules was given.
5872 if test "${enable_silent_rules+set}" = set; then :
5873 enableval
=$enable_silent_rules;
5876 case $enable_silent_rules in # (((
5877 yes) AM_DEFAULT_VERBOSITY
=0;;
5878 no
) AM_DEFAULT_VERBOSITY
=1;;
5879 *) AM_DEFAULT_VERBOSITY
=1;;
5881 am_make
=${MAKE-make}
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5883 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5884 if ${am_cv_make_support_nested_variables+:} false
; then :
5885 $as_echo_n "(cached) " >&6
5887 if $as_echo 'TRUE=$(BAR$(V))
5893 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
5894 am_cv_make_support_nested_variables
=yes
5896 am_cv_make_support_nested_variables
=no
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5900 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5901 if test $am_cv_make_support_nested_variables = yes; then
5903 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
5905 AM_V
=$AM_DEFAULT_VERBOSITY
5906 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
5910 if test "`cd $srcdir && pwd`" != "`pwd`"; then
5911 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5912 # is not polluted with repeated "-I."
5913 am__isrc
=' -I$(srcdir)'
5914 # test to see if srcdir already configured
5915 if test -f $srcdir/config.status
; then
5916 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
5920 # test whether we have cygpath
5921 if test -z "$CYGPATH_W"; then
5922 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
5923 CYGPATH_W
='cygpath -w'
5930 # Define the identity of the package.
5935 cat >>confdefs.h
<<_ACEOF
5936 #define PACKAGE "$PACKAGE"
5940 cat >>confdefs.h
<<_ACEOF
5941 #define VERSION "$VERSION"
5944 # Some tools Automake needs.
5946 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5949 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
5952 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5955 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
5958 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
5960 # For better backward compatibility. To be removed once Automake 1.9.x
5961 # dies out for good. For more background, see:
5962 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
5963 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
5964 mkdir_p
='$(MKDIR_P)'
5966 # We need awk for the "check" target (and possibly the TAP driver). The
5967 # system "awk" is bad on some platforms.
5968 # Always define AMTAR for backward compatibility. Yes, it's still used
5969 # in the wild :-( We should find a proper way to deprecate it ...
5973 # We'll loop over all known methods to create a tar archive until one works.
5974 _am_tools
='gnutar pax cpio none'
5976 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
5982 depcc
="$CC" am_compiler_list
=
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5985 $as_echo_n "checking dependency style of $depcc... " >&6; }
5986 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
5987 $as_echo_n "(cached) " >&6
5989 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5990 # We make a subdir and do the tests there. Otherwise we can end up
5991 # making bogus files that we don't know about and never remove. For
5992 # instance it was reported that on HP-UX the gcc test will end up
5993 # making a dummy file named 'D' -- because '-MD' means "put the output
5997 # Copy depcomp to subdir because otherwise we won't find it if we're
5998 # using a relative directory.
5999 cp "$am_depcomp" conftest.dir
6001 # We will build objects and dependencies in a subdirectory because
6002 # it helps to detect inapplicable dependency modes. For instance
6003 # both Tru64's cc and ICC support -MD to output dependencies as a
6004 # side effect of compilation, but ICC will put the dependencies in
6005 # the current directory while Tru64 will put them in the object
6009 am_cv_CC_dependencies_compiler_type
=none
6010 if test "$am_compiler_list" = ""; then
6011 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6014 case " $depcc " in #(
6015 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6018 for depmode
in $am_compiler_list; do
6019 # Setup a source with many dependencies, because some compilers
6020 # like to wrap large dependency lists on column 80 (with \), and
6021 # we should not choose a depcomp mode which is confused by this.
6023 # We need to recreate these files for each test, as the compiler may
6024 # overwrite some of them when testing with obscure command lines.
6025 # This happens at least with the AIX C compiler.
6027 for i
in 1 2 3 4 5 6; do
6028 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6029 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6030 # Solaris 10 /bin/sh.
6031 echo '/* dummy */' > sub
/conftst
$i.h
6033 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6035 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6036 # mode. It turns out that the SunPro C++ compiler does not properly
6037 # handle '-M -o', and we need to detect this. Also, some Intel
6038 # versions had trouble with output in subdirs.
6039 am__obj
=sub
/conftest.
${OBJEXT-o}
6040 am__minus_obj
="-o $am__obj"
6043 # This depmode causes a compiler race in universal mode.
6044 test "$am__universal" = false ||
continue
6047 # After this tag, mechanisms are not by side-effect, so they'll
6048 # only be used when explicitly requested.
6049 if test "x$enable_dependency_tracking" = xyes
; then
6055 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6056 # This compiler won't grok '-c -o', but also, the minuso test has
6057 # not run yet. These depmodes are late enough in the game, and
6058 # so weak that their functioning should not be impacted.
6059 am__obj
=conftest.
${OBJEXT-o}
6064 if depmode
=$depmode \
6065 source=sub
/conftest.c object
=$am__obj \
6066 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6067 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6068 >/dev
/null
2>conftest.err
&&
6069 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6070 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6071 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6072 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6073 # icc doesn't choke on unknown options, it will just issue warnings
6074 # or remarks (even with -Werror). So we grep stderr for any message
6075 # that says an option was ignored or not supported.
6076 # When given -MP, icc 7.0 and 7.1 complain thusly:
6077 # icc: Command line warning: ignoring option '-M'; no argument required
6078 # The diagnosis changed in icc 8.0:
6079 # icc: Command line remark: option '-MP' not supported
6080 if (grep 'ignoring option' conftest.err ||
6081 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6082 am_cv_CC_dependencies_compiler_type
=$depmode
6091 am_cv_CC_dependencies_compiler_type
=none
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6096 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6097 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6100 test "x$enable_dependency_tracking" != xno \
6101 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6103 am__fastdepCC_FALSE
='#'
6105 am__fastdepCC_TRUE
='#'
6106 am__fastdepCC_FALSE
=
6111 # POSIX will say in a future version that running "rm -f" with no argument
6112 # is OK; and we want to be able to make that assumption in our Makefile
6113 # recipes. So use an aggressive probe to check that the usage we want is
6114 # actually supported "in the wild" to an acceptable degree.
6115 # See automake bug#10828.
6116 # To make any issue more visible, cause the running configure to be aborted
6117 # by default if the 'rm' program in use doesn't match our expectations; the
6118 # user can still override this though.
6119 if rm -f && rm -fr && rm -rf; then : OK
; else
6123 Your 'rm' program seems unable to run without file operands specified
6124 on the command line, even when the '-f' option is present. This is contrary
6125 to the behaviour of most rm programs out there, and not conforming with
6126 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
6128 Please tell bug-automake@gnu.org about your system, including the value
6129 of your $PATH and any error possibly output before this message. This
6130 can help us improve future automake versions.
6133 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
6134 echo 'Configuration will proceed anyway, since you have set the' >&2
6135 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
6139 Aborting the configuration process, to ensure you take notice of the issue.
6141 You can download and install GNU coreutils to get an 'rm' implementation
6142 that behaves properly: <http://www.gnu.org/software/coreutils/>.
6144 If you want to complete the configuration process using your problematic
6145 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
6146 to "yes", and re-run configure.
6149 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
6154 # If a cpu ever has more than one simulator to choose from, use
6155 # --enable-sim=... to choose.
6156 # Check whether --enable-sim was given.
6157 if test "${enable_sim+set}" = set; then :
6158 enableval
=$enable_sim; case "${enableval}" in
6160 *) as_fn_error $?
"bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
6165 # Check whether --enable-example-sims was given.
6166 if test "${enable_example_sims+set}" = set; then :
6167 enableval
=$enable_example_sims;
6171 # Check whether --enable-targets was given.
6172 if test "${enable_targets+set}" = set; then :
6173 enableval
=$enable_targets; case "${enableval}" in
6174 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
6176 no
) enable_targets
= ;;
6177 *) enable_targets
=$enableval ;;
6187 if test "${enable_sim}" != no
; then
6189 for targ
in `echo $target $enable_targets | sed 's/,/ /g'`
6194 if test "${targ}" = "${target}"; then
6195 SIM_PRIMARY_TARGET
=aarch64
6199 subdirs
="$subdirs aarch64"
6208 if test "${targ}" = "${target}"; then
6209 SIM_PRIMARY_TARGET
=arm
6211 subdirs
="$subdirs arm"
6220 if test "${targ}" = "${target}"; then
6221 SIM_PRIMARY_TARGET
=avr
6223 subdirs
="$subdirs avr"
6232 if test "${targ}" = "${target}"; then
6233 SIM_PRIMARY_TARGET
=bfin
6235 subdirs
="$subdirs bfin"
6244 if test "${targ}" = "${target}"; then
6245 SIM_PRIMARY_TARGET
=bpf
6247 subdirs
="$subdirs bpf"
6256 if test "${targ}" = "${target}"; then
6257 SIM_PRIMARY_TARGET
=cr16
6259 subdirs
="$subdirs cr16"
6267 all|cris-
*-* | crisv32-
*-*)
6268 if test "${targ}" = "${target}"; then
6269 SIM_PRIMARY_TARGET
=cris
6271 subdirs
="$subdirs cris"
6280 if test "${targ}" = "${target}"; then
6281 SIM_PRIMARY_TARGET
=d10v
6283 subdirs
="$subdirs d10v"
6292 if test "${targ}" = "${target}"; then
6293 SIM_PRIMARY_TARGET
=frv
6295 subdirs
="$subdirs frv"
6304 if test "${targ}" = "${target}"; then
6305 SIM_PRIMARY_TARGET
=h8300
6307 subdirs
="$subdirs h8300"
6316 if test "${targ}" = "${target}"; then
6317 SIM_PRIMARY_TARGET
=iq2000
6319 subdirs
="$subdirs iq2000"
6328 if test "${targ}" = "${target}"; then
6329 SIM_PRIMARY_TARGET
=lm32
6331 subdirs
="$subdirs lm32"
6340 if test "${targ}" = "${target}"; then
6341 SIM_PRIMARY_TARGET
=m32c
6343 subdirs
="$subdirs m32c"
6352 if test "${targ}" = "${target}"; then
6353 SIM_PRIMARY_TARGET
=m32r
6355 subdirs
="$subdirs m32r"
6363 all|m68hc11-
*-*|m6811-
*-*)
6364 if test "${targ}" = "${target}"; then
6365 SIM_PRIMARY_TARGET
=m68hc11
6367 subdirs
="$subdirs m68hc11"
6376 if test "${targ}" = "${target}"; then
6377 SIM_PRIMARY_TARGET
=mcore
6379 subdirs
="$subdirs mcore"
6388 if test "${targ}" = "${target}"; then
6389 SIM_PRIMARY_TARGET
=microblaze
6391 subdirs
="$subdirs microblaze"
6400 if test "${targ}" = "${target}"; then
6401 SIM_PRIMARY_TARGET
=mips
6403 subdirs
="$subdirs mips"
6412 if test "${targ}" = "${target}"; then
6413 SIM_PRIMARY_TARGET
=mn10300
6415 subdirs
="$subdirs mn10300"
6424 if test "${targ}" = "${target}"; then
6425 SIM_PRIMARY_TARGET
=moxie
6427 subdirs
="$subdirs moxie"
6436 if test "${targ}" = "${target}"; then
6437 SIM_PRIMARY_TARGET
=msp430
6439 subdirs
="$subdirs msp430"
6447 all|or1k-
*-* | or1knd-
*-*)
6448 if test "${targ}" = "${target}"; then
6449 SIM_PRIMARY_TARGET
=or1k
6451 subdirs
="$subdirs or1k"
6460 if test "${targ}" = "${target}"; then
6461 SIM_PRIMARY_TARGET
=pru
6463 subdirs
="$subdirs pru"
6472 if test "${targ}" = "${target}"; then
6473 SIM_PRIMARY_TARGET
=riscv
6475 subdirs
="$subdirs riscv"
6484 if test "${targ}" = "${target}"; then
6485 SIM_PRIMARY_TARGET
=rl78
6487 subdirs
="$subdirs rl78"
6496 if test "${targ}" = "${target}"; then
6497 SIM_PRIMARY_TARGET
=rx
6499 subdirs
="$subdirs rx"
6508 if test "${targ}" = "${target}"; then
6509 SIM_PRIMARY_TARGET
=sh
6511 subdirs
="$subdirs sh"
6519 all|sparc-
*-rtems*|sparc-
*-elf*)
6520 if test "${targ}" = "${target}"; then
6521 SIM_PRIMARY_TARGET
=erc32
6523 subdirs
="$subdirs erc32"
6532 if test "${targ}" = "${target}"; then
6533 SIM_PRIMARY_TARGET
=ppc
6535 subdirs
="$subdirs ppc"
6544 if test "${targ}" = "${target}"; then
6545 SIM_PRIMARY_TARGET
=ft32
6547 subdirs
="$subdirs ft32"
6556 if test "${targ}" = "${target}"; then
6557 SIM_PRIMARY_TARGET
=v850
6559 subdirs
="$subdirs v850"
6567 if test "x${enable_example_sims}" = xyes
; then
6568 subdirs
="$subdirs example-synacor"
6572 if test "$sim_igen" = "yes"; then
6573 SIM_ENABLE_IGEN_TRUE
=
6574 SIM_ENABLE_IGEN_FALSE
='#'
6576 SIM_ENABLE_IGEN_TRUE
='#'
6577 SIM_ENABLE_IGEN_FALSE
=
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sim asserts" >&5
6583 $as_echo_n "checking whether to enable sim asserts... " >&6; }
6585 # Check whether --enable-sim-assert was given.
6586 if test "${enable_sim_assert+set}" = set; then :
6587 enableval
=$enable_sim_assert; case "${enableval}" in
6588 yes) sim_assert
="1";;
6589 no
) sim_assert
="0";;
6590 *) as_fn_error $?
"--enable-sim-assert does not take a value" "$LINENO" 5;;
6594 cat >>confdefs.h
<<_ACEOF
6595 #define WITH_ASSERT $sim_assert
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
6599 $as_echo "$sim_assert" >&6; }
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim debug setting" >&5
6602 $as_echo_n "checking for sim debug setting... " >&6; }
6604 # Check whether --enable-sim-debug was given.
6605 if test "${enable_sim_debug+set}" = set; then :
6606 enableval
=$enable_sim_debug; case "${enableval}" in
6607 yes) sim_debug
="7";;
6609 *) sim_debug
="($enableval)";;
6612 if test "$sim_debug" != "0"; then
6614 cat >>confdefs.h
<<_ACEOF
6615 #define DEBUG $sim_debug
6620 cat >>confdefs.h
<<_ACEOF
6621 #define WITH_DEBUG $sim_debug
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_debug" >&5
6625 $as_echo "$sim_debug" >&6; }
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
6629 $as_echo_n "checking default sim environment setting... " >&6; }
6630 sim_environment
="ALL_ENVIRONMENT"
6631 # Check whether --enable-sim-environment was given.
6632 if test "${enable_sim_environment+set}" = set; then :
6633 enableval
=$enable_sim_environment; case "${enableval}" in
6634 all | ALL
) sim_environment
="ALL_ENVIRONMENT";;
6635 user | USER
) sim_environment
="USER_ENVIRONMENT";;
6636 virtual | VIRTUAL
) sim_environment
="VIRTUAL_ENVIRONMENT";;
6637 operating | OPERATING
) sim_environment
="OPERATING_ENVIRONMENT";;
6638 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
6642 cat >>confdefs.h
<<_ACEOF
6643 #define WITH_ENVIRONMENT $sim_environment
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_environment" >&5
6647 $as_echo "$sim_environment" >&6; }
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim profile settings" >&5
6650 $as_echo_n "checking for sim profile settings... " >&6; }
6653 # Check whether --enable-sim-profile was given.
6654 if test "${enable_sim_profile+set}" = set; then :
6655 enableval
=$enable_sim_profile; case "${enableval}" in
6656 yes) profile
="1" sim_profile
="-1";;
6657 no
) profile
="0" sim_profile
="0";;
6659 profile
="(${enableval})" sim_profile
="(${enableval})";;
6663 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6664 if test x
"$sim_profile" = x
; then
6665 sim_profile
="(PROFILE_$x"
6667 sim_profile
="${sim_profile}|PROFILE_$x"
6670 sim_profile
="$sim_profile)" ;;
6674 cat >>confdefs.h
<<_ACEOF
6675 #define PROFILE $profile
6679 cat >>confdefs.h
<<_ACEOF
6680 #define WITH_PROFILE $sim_profile
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_profile" >&5
6684 $as_echo "$sim_profile" >&6; }
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim stdio debug behavior" >&5
6687 $as_echo_n "checking for sim stdio debug behavior... " >&6; }
6689 # Check whether --enable-sim-stdio was given.
6690 if test "${enable_sim_stdio+set}" = set; then :
6691 enableval
=$enable_sim_stdio; case "${enableval}" in
6692 yes) sim_stdio
="DO_USE_STDIO";;
6693 no
) sim_stdio
="DONT_USE_STDIO";;
6694 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-stdio" "$LINENO" 5;;
6698 cat >>confdefs.h
<<_ACEOF
6699 #define WITH_STDIO $sim_stdio
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_stdio" >&5
6703 $as_echo "$sim_stdio" >&6; }
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim trace settings" >&5
6706 $as_echo_n "checking for sim trace settings... " >&6; }
6707 sim_trace
="~TRACE_debug"
6708 # Check whether --enable-sim-trace was given.
6709 if test "${enable_sim_trace+set}" = set; then :
6710 enableval
=$enable_sim_trace; case "${enableval}" in
6711 yes) sim_trace
="-1";;
6714 sim_trace
="'(${enableval})'";;
6717 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6718 if test x
"$sim_trace" = x
; then
6719 sim_trace
="(TRACE_$x"
6721 sim_trace
="${sim_trace}|TRACE_$x"
6724 sim_trace
="$sim_trace)" ;;
6728 cat >>confdefs.h
<<_ACEOF
6729 #define WITH_TRACE $sim_trace
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_trace" >&5
6733 $as_echo "$sim_trace" >&6; }
6736 ac_config_files
="$ac_config_files Makefile"
6738 cat >confcache
<<\_ACEOF
6739 # This file is a shell script that caches the results of configure
6740 # tests run on this system so they can be shared between configure
6741 # scripts and configure runs, see configure's option --config-cache.
6742 # It is not useful on other systems. If it contains results you don't
6743 # want to keep, you may remove or edit it.
6745 # config.status only pays attention to the cache file if you give it
6746 # the --recheck option to rerun configure.
6748 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6749 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6754 # The following way of writing the cache mishandles newlines in values,
6755 # but we know of no workaround that is simple, portable, and efficient.
6756 # So, we kill variables containing newlines.
6757 # Ultrix sh set writes to stderr and can't be redirected directly,
6758 # and sets the high bit in the cache file unless we assign to the vars.
6760 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6761 eval ac_val
=\$
$ac_var
6765 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6766 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6769 _ | IFS | as_nl
) ;; #(
6770 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6771 *) { eval $ac_var=; unset $ac_var;} ;;
6777 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6778 *${as_nl}ac_space
=\
*)
6779 # `set' does not quote correctly, so add quotes: double-quote
6780 # substitution turns \\\\ into \\, and sed turns \\ into \.
6783 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6786 # `set' quotes correctly as required by POSIX, so do not add quotes.
6787 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6796 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6798 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6800 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6801 if test -w "$cache_file"; then
6802 if test "x$cache_file" != "x/dev/null"; then
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6804 $as_echo "$as_me: updating cache $cache_file" >&6;}
6805 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6806 cat confcache
>"$cache_file"
6808 case $cache_file in #(
6810 mv -f confcache
"$cache_file"$$
&&
6811 mv -f "$cache_file"$$
"$cache_file" ;; #(
6813 mv -f confcache
"$cache_file" ;;
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6819 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6824 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6825 # Let make expand exec_prefix.
6826 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6828 DEFS
=-DHAVE_CONFIG_H
6833 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6834 # 1. Remove the extension, and $U if already installed.
6835 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6836 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6837 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6838 # will be set to the directory where LIBOBJS objects are built.
6839 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6840 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6844 LTLIBOBJS
=$ac_ltlibobjs
6848 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6849 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
6850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6853 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6854 if test -n "$am_sleep_pid"; then
6855 # Hide warnings about reused PIDs.
6856 wait $am_sleep_pid 2>/dev
/null
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6859 $as_echo "done" >&6; }
6860 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6861 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6864 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6865 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6866 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6868 if test -n "$EXEEXT"; then
6870 am__EXEEXT_FALSE
='#'
6876 if test -z "${SIM_ENABLE_IGEN_TRUE}" && test -z "${SIM_ENABLE_IGEN_FALSE}"; then
6877 as_fn_error $?
"conditional \"SIM_ENABLE_IGEN\" was never defined.
6878 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6881 : "${CONFIG_STATUS=./config.status}"
6883 ac_clean_files_save
=$ac_clean_files
6884 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6886 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6888 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6890 # Generated by $as_me.
6891 # Run this file to recreate the current configuration.
6892 # Compiler output produced by configure, useful for debugging
6893 # configure, is in config.log if it exists.
6899 SHELL=\${CONFIG_SHELL-$SHELL}
6902 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6903 ## -------------------- ##
6904 ## M4sh Initialization. ##
6905 ## -------------------- ##
6907 # Be more Bourne compatible
6908 DUALCASE
=1; export DUALCASE
# for MKS sh
6909 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6912 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6913 # is contrary to our usage. Disable this feature.
6914 alias -g '${1+"$@"}'='"$@"'
6915 setopt NO_GLOB_SUBST
6917 case `(set -o) 2>/dev/null` in #(
6929 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6930 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6931 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6932 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6933 # Prefer a ksh shell builtin over an external printf program on Solaris,
6934 # but without wasting forks for bash or zsh.
6935 if test -z "$BASH_VERSION$ZSH_VERSION" \
6936 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6937 as_echo='print
-r --'
6938 as_echo_n='print
-rn --'
6939 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6940 as_echo='printf %s
\n'
6941 as_echo_n='printf %s
'
6943 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6944 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6945 as_echo_n='/usr
/ucb
/echo -n'
6947 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6948 as_echo_n_body='eval
6952 expr "X$arg" : "X\\(.*\\)$as_nl";
6953 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6955 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6957 export as_echo_n_body
6958 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6961 as_echo='sh
-c $as_echo_body as_echo
'
6964 # The user is always right.
6965 if test "${PATH_SEPARATOR+set}" != set; then
6967 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6968 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6975 # We need space, tab and new line, in precisely that order. Quoting is
6976 # there to prevent editors from complaining about space-tab.
6977 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6978 # splitting by setting IFS to empty value.)
6981 # Find who we are. Look in the path if we contain no directory separator.
6984 *[\\/]* ) as_myself=$0 ;;
6985 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6989 test -z "$as_dir" && as_dir=.
6990 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6996 # We did not find ourselves, most probably we were run as `sh COMMAND'
6997 # in which case we are not to be found in the path.
6998 if test "x$as_myself" = x
; then
7001 if test ! -f "$as_myself"; then
7002 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7006 # Unset variables that we do not need and which cause bugs (e.g. in
7007 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7008 # suppresses any "Segmentation fault" message there. '((' could
7009 # trigger a bug in pdksh 5.2.14.
7010 for as_var
in BASH_ENV ENV MAIL MAILPATH
7011 do eval test x\
${$as_var+set} = xset \
7012 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7025 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7028 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7029 # ----------------------------------------
7030 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7031 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7032 # script with STATUS, using 1 if that was 0.
7035 as_status
=$1; test $as_status -eq 0 && as_status
=1
7037 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7038 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7040 $as_echo "$as_me: error: $2" >&2
7041 as_fn_exit
$as_status
7045 # as_fn_set_status STATUS
7046 # -----------------------
7047 # Set $? to STATUS, without forking.
7051 } # as_fn_set_status
7055 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7065 # Portably unset VAR.
7068 { eval $1=; unset $1;}
7070 as_unset
=as_fn_unset
7071 # as_fn_append VAR VALUE
7072 # ----------------------
7073 # Append the text in VALUE to the end of the definition contained in VAR. Take
7074 # advantage of any shell optimizations that allow amortized linear growth over
7075 # repeated appends, instead of the typical quadratic growth present in naive
7077 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7078 eval 'as_fn_append ()
7089 # as_fn_arith ARG...
7090 # ------------------
7091 # Perform arithmetic evaluation on the ARGs, and store the result in the
7092 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7093 # must be portable across $(()) and expr.
7094 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7095 eval 'as_fn_arith ()
7102 as_val
=`expr "$@" || test $? -eq 1`
7107 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7108 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7114 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7115 as_basename
=basename
7120 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7126 as_me
=`$as_basename -- "$0" ||
7127 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7128 X"$0" : 'X\(//\)$' \| \
7129 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7131 sed '/^.*\/\([^/][^/]*\)\/*$/{
7145 # Avoid depending upon Character Ranges.
7146 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7147 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7148 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7149 as_cr_digits
='0123456789'
7150 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7152 ECHO_C
= ECHO_N
= ECHO_T
=
7153 case `echo -n x` in #(((((
7155 case `echo 'xy\c'` in
7156 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7158 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7165 rm -f conf$$ conf$$.exe conf$$.
file
7166 if test -d conf$$.dir
; then
7167 rm -f conf$$.dir
/conf$$.
file
7170 mkdir conf$$.dir
2>/dev
/null
7172 if (echo >conf$$.
file) 2>/dev
/null
; then
7173 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7175 # ... but there are two gotchas:
7176 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7177 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7178 # In both cases, we have to default to `cp -pR'.
7179 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7181 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7189 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7190 rmdir conf$$.dir
2>/dev
/null
7195 # Create "$as_dir" as a directory, including parents if necessary.
7200 -*) as_dir
=.
/$as_dir;;
7202 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7206 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7207 *) as_qdir
=$as_dir;;
7209 as_dirs
="'$as_qdir' $as_dirs"
7210 as_dir
=`$as_dirname -- "$as_dir" ||
7211 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7212 X"$as_dir" : 'X\(//\)[^/]' \| \
7213 X"$as_dir" : 'X\(//\)$' \| \
7214 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7215 $as_echo X"$as_dir" |
7216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7233 test -d "$as_dir" && break
7235 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7236 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7240 if mkdir
-p .
2>/dev
/null
; then
7241 as_mkdir_p
='mkdir -p "$as_dir"'
7243 test -d .
/-p && rmdir .
/-p
7248 # as_fn_executable_p FILE
7249 # -----------------------
7250 # Test if FILE is an executable regular file.
7251 as_fn_executable_p
()
7253 test -f "$1" && test -x "$1"
7254 } # as_fn_executable_p
7256 as_executable_p
=as_fn_executable_p
7258 # Sed expression to map a string onto a valid CPP name.
7259 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7261 # Sed expression to map a string onto a valid variable name.
7262 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7266 ## ----------------------------------- ##
7267 ## Main body of $CONFIG_STATUS script. ##
7268 ## ----------------------------------- ##
7270 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7273 # Save the log message, to keep $0 and so on meaningful, and to
7274 # report actual input values of CONFIG_FILES etc. instead of their
7275 # values after options handling.
7277 This file was extended by sim $as_me 0, which was
7278 generated by GNU Autoconf 2.69. Invocation command line was
7280 CONFIG_FILES = $CONFIG_FILES
7281 CONFIG_HEADERS = $CONFIG_HEADERS
7282 CONFIG_LINKS = $CONFIG_LINKS
7283 CONFIG_COMMANDS = $CONFIG_COMMANDS
7286 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7291 case $ac_config_files in *"
7292 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7295 case $ac_config_headers in *"
7296 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7301 # Files that config.status was made for.
7302 config_files="$ac_config_files"
7303 config_headers="$ac_config_headers"
7304 config_commands="$ac_config_commands"
7308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7310 \`$as_me' instantiates files and other configuration actions
7311 from templates according to the current configuration. Unless the files
7312 and actions are specified as TAGs, all are instantiated by default.
7314 Usage: $0 [OPTION]... [TAG]...
7316 -h, --help print this help, then exit
7317 -V, --version print version number and configuration settings, then exit
7318 --config print configuration, then exit
7319 -q, --quiet, --silent
7320 do not print progress messages
7321 -d, --debug don't remove temporary files
7322 --recheck update $as_me by reconfiguring in the same conditions
7323 --file=FILE[:TEMPLATE]
7324 instantiate the configuration file FILE
7325 --header=FILE[:TEMPLATE]
7326 instantiate the configuration header FILE
7328 Configuration files:
7331 Configuration headers:
7334 Configuration commands:
7337 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
7338 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
7341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7342 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7345 configured by $0, generated by GNU Autoconf 2.69,
7346 with options \\"\$ac_cs_config\\"
7348 Copyright (C) 2012 Free Software Foundation, Inc.
7349 This config.status script is free software; the Free Software Foundation
7350 gives unlimited permission to copy, distribute and modify it."
7357 test -n "\$AWK" || AWK=awk
7360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7361 # The default lists apply if the user does not specify any file.
7367 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7368 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7372 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7384 # Handling of the options.
7385 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7387 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7388 $as_echo "$ac_cs_version"; exit ;;
7389 --config |
--confi |
--conf |
--con |
--co |
--c )
7390 $as_echo "$ac_cs_config"; exit ;;
7391 --debug |
--debu |
--deb |
--de |
--d |
-d )
7393 --file |
--fil |
--fi |
--f )
7396 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7397 '') as_fn_error $?
"missing file argument" ;;
7399 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7400 ac_need_defaults
=false
;;
7401 --header |
--heade |
--head |
--hea )
7404 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7406 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7407 ac_need_defaults
=false
;;
7409 # Conflict between --help and --header
7410 as_fn_error $?
"ambiguous option: \`$1'
7411 Try \`$0 --help' for more information.";;
7412 --help |
--hel |
-h )
7413 $as_echo "$ac_cs_usage"; exit ;;
7414 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7415 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7419 -*) as_fn_error $?
"unrecognized option: \`$1'
7420 Try \`$0 --help' for more information." ;;
7422 *) as_fn_append ac_config_targets
" $1"
7423 ac_need_defaults
=false
;;
7429 ac_configure_extra_args
=
7431 if $ac_cs_silent; then
7433 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7438 if \$ac_cs_recheck; then
7439 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7441 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7442 CONFIG_SHELL='$SHELL'
7448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7452 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7453 ## Running $as_me. ##
7459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7463 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7469 # Handling of arguments.
7470 for ac_config_target
in $ac_config_targets
7472 case $ac_config_target in
7473 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7474 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7475 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7477 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7482 # If the user did not use the arguments to specify the items to instantiate,
7483 # then the envvar interface is used. Set only those that are not.
7484 # We use the long form for the default assignment because of an extremely
7485 # bizarre bug on SunOS 4.1.3.
7486 if $ac_need_defaults; then
7487 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7488 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7489 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7492 # Have a temporary directory for convenience. Make it in the build tree
7493 # simply because there is no reason against having it here, and in addition,
7494 # creating and moving files from /tmp can sometimes cause problems.
7495 # Hook for its removal unless debugging.
7496 # Note that there is a small window in which the directory will not be cleaned:
7497 # after its creation but before its name has been assigned to `$tmp'.
7501 trap 'exit_status=$?
7503 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7505 trap 'as_fn_exit 1' 1 2 13 15
7507 # Create a (secure) tmp directory for tmp files.
7510 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7514 tmp
=.
/conf$$
-$RANDOM
7515 (umask 077 && mkdir
"$tmp")
7516 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7519 # Set up the scripts for CONFIG_FILES section.
7520 # No need to generate them if there are no CONFIG_FILES.
7521 # This happens for instance with `./config.status config.h'.
7522 if test -n "$CONFIG_FILES"; then
7525 ac_cr
=`echo X | tr X '\015'`
7526 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7527 # But we know of no other shell where ac_cr would be empty at this
7528 # point, so we can use a bashism as a fallback.
7529 if test "x$ac_cr" = x
; then
7530 eval ac_cr
=\$
\'\\r
\'
7532 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7533 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7539 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7544 echo "cat >conf$$subs.awk <<_ACEOF" &&
7545 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7548 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7549 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7551 for ac_last_try in false false false false false :; do
7552 . ./conf$$subs.sh ||
7553 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7555 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7556 if test $ac_delim_n = $ac_delim_num; then
7558 elif $ac_last_try; then
7559 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7561 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7567 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7571 s/^/S["/; s
/!.
*/"]=/
7581 s/\(.\{148\}\)..*/\1/
7583 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7588 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7595 s/\(.\{148\}\)..*/\1/
7597 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7601 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7606 ' <conf$$subs.awk | sed '
7611 ' >>$CONFIG_STATUS || ac_write_fail=1
7612 rm -f conf$$subs.awk
7613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7615 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7616 for (key in S) S_is_set[key] = 1
7622 nfields = split(line, field, "@
")
7624 len = length(field[1])
7625 for (i = 2; i < nfields; i++) {
7627 keylen = length(key)
7628 if (S_is_set[key]) {
7630 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7631 len += length(value) + length(field[++i])
7642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7643 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7644 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7647 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7648 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7651 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7652 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7653 # trailing colons and then remove the whole line if VPATH becomes empty
7654 # (actually we leave an empty line to preserve line numbers).
7655 if test "x
$srcdir" = x.; then
7656 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7675 fi # test -n "$CONFIG_FILES"
7677 # Set up the scripts for CONFIG_HEADERS section.
7678 # No need to generate them if there are no CONFIG_HEADERS.
7679 # This happens for instance with `./config.status Makefile'.
7680 if test -n "$CONFIG_HEADERS"; then
7681 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7685 # Transform confdefs.h into an awk script `defines.awk', embedded as
7686 # here-document in config.status, that substitutes the proper values into
7687 # config.h.in to produce config.h.
7689 # Create a delimiter string that does not exist in confdefs.h, to ease
7690 # handling of long lines.
7692 for ac_last_try in false false :; do
7693 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7694 if test -z "$ac_tt"; then
7696 elif $ac_last_try; then
7697 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7699 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7703 # For the awk script, D is an array of macro values keyed by name,
7704 # likewise P contains macro parameters if any. Preserve backslash
7705 # newline sequences.
7707 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7709 s/.\{148\}/&'"$ac_delim"'/g
7712 s/^[ ]*#[ ]*define[ ][ ]*/ /
7719 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7721 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7725 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7726 D["\
1"]=" \
3\\\\\\n
"\\/p
7728 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7733 s/.\{148\}/&'"$ac_delim"'/g
7738 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7741 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7743 ' <confdefs.h | sed '
7744 s/'"$ac_delim"'/"\\\
7745 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7748 for (key in D) D_is_set[key] = 1
7751 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7753 split(line, arg, " ")
7754 if (arg[1] == "#") {
7758 defundef
= substr
(arg
[1], 2)
7761 split(mac1
, mac2
, "(") #)
7763 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7764 if (D_is_set
[macro
]) {
7765 # Preserve the white space surrounding the "#".
7766 print prefix
"define", macro P
[macro
] D
[macro
]
7769 # Replace #undef with comments. This is necessary, for example,
7770 # in the case of _POSIX_SOURCE, which is predefined and required
7771 # on some systems where configure will not decide to define it.
7772 if (defundef
== "undef") {
7773 print
"/*", prefix defundef
, macro
, "*/"
7781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7782 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7783 fi # test -n "$CONFIG_HEADERS"
7786 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7791 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7793 case $ac_mode$ac_tag in
7795 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7796 :[FH
]-) ac_tag
=-:-;;
7797 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7814 -) ac_f
="$ac_tmp/stdin";;
7815 *) # Look for the file first in the build tree, then in the source tree
7816 # (if the path is not absolute). The absolute path cannot be DOS-style,
7817 # because $ac_f cannot contain `:'.
7821 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7823 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7825 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7826 as_fn_append ac_file_inputs
" '$ac_f'"
7829 # Let's still pretend it is `configure' which instantiates (i.e., don't
7830 # use $as_me), people would be surprised to read:
7831 # /* config.h. Generated by config.status. */
7832 configure_input
='Generated from '`
7833 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7835 if test x
"$ac_file" != x-
; then
7836 configure_input
="$ac_file. $configure_input"
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7838 $as_echo "$as_me: creating $ac_file" >&6;}
7840 # Neutralize special characters interpreted by sed in replacement strings.
7841 case $configure_input in #(
7842 *\
&* |
*\|
* |
*\\* )
7843 ac_sed_conf_input
=`$as_echo "$configure_input" |
7844 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7845 *) ac_sed_conf_input
=$configure_input;;
7849 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7850 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7855 ac_dir
=`$as_dirname -- "$ac_file" ||
7856 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7857 X"$ac_file" : 'X\(//\)[^/]' \| \
7858 X"$ac_file" : 'X\(//\)$' \| \
7859 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7860 $as_echo X"$ac_file" |
7861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7878 as_dir
="$ac_dir"; as_fn_mkdir_p
7882 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7884 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7885 # A ".." for each directory in $ac_dir_suffix.
7886 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7887 case $ac_top_builddir_sub in
7888 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7889 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7892 ac_abs_top_builddir
=$ac_pwd
7893 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7894 # for backward compatibility:
7895 ac_top_builddir
=$ac_top_build_prefix
7898 .
) # We are building in place.
7900 ac_top_srcdir
=$ac_top_builddir_sub
7901 ac_abs_top_srcdir
=$ac_pwd ;;
7902 [\\/]* | ?
:[\\/]* ) # Absolute name.
7903 ac_srcdir
=$srcdir$ac_dir_suffix;
7904 ac_top_srcdir
=$srcdir
7905 ac_abs_top_srcdir
=$srcdir ;;
7907 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7908 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7909 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7911 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7921 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7922 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7926 [\\/$
]* | ?
:[\\/]* ) ;;
7927 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
7931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7932 # If the template does not know about datarootdir, expand it.
7933 # FIXME: This hack should be removed a few years after 2.60.
7934 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7945 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7946 *datarootdir
*) ac_datarootdir_seen
=yes;;
7947 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7949 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7952 ac_datarootdir_hack='
7953 s&@datadir@&$datadir&g
7954 s&@docdir@&$docdir&g
7955 s&@infodir@&$infodir&g
7956 s&@localedir@&$localedir&g
7957 s&@mandir@&$mandir&g
7958 s&\\\${datarootdir}&$datarootdir&g' ;;
7962 # Neutralize VPATH when `$srcdir' = `.'.
7963 # Shell code in configure.ac might set extrasub.
7964 # FIXME: do we really want to maintain this feature?
7965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7966 ac_sed_extra="$ac_vpsub
7969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7971 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7972 s|@configure_input@|
$ac_sed_conf_input|
;t t
7973 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7974 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7975 s
&@srcdir@
&$ac_srcdir&;t t
7976 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7977 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7978 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7979 s
&@builddir@
&$ac_builddir&;t t
7980 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7981 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7982 s
&@INSTALL@
&$ac_INSTALL&;t t
7983 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7984 $ac_datarootdir_hack
7986 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7987 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7989 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7990 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7991 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7992 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7994 which seems to be undefined. Please make sure it is defined" >&5
7995 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7996 which seems to be undefined. Please make sure it is defined" >&2;}
7998 rm -f "$ac_tmp/stdin"
8000 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8001 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8003 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8009 if test x"$ac_file" != x-; then
8011 $as_echo "/* $configure_input */" \
8012 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8013 } >"$ac_tmp/config.h" \
8014 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8015 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8017 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8020 mv "$ac_tmp/config.h" "$ac_file" \
8021 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8024 $as_echo "/* $configure_input */" \
8025 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8026 || as_fn_error $? "could not create -" "$LINENO" 5
8028 # Compute "$ac_file"'s index
in $config_headers.
8031 for _am_header
in $config_headers :; do
8033 $_am_arg |
$_am_arg:* )
8036 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8039 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8040 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8041 X"$_am_arg" : 'X\(//\)[^/]' \| \
8042 X"$_am_arg" : 'X\(//\)$' \| \
8043 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8044 $as_echo X"$_am_arg" |
8045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8061 s/.*/./; q'`/stamp-h
$_am_stamp_count
8064 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8065 $as_echo "$as_me: executing $ac_file commands" >&6;}
8070 case $ac_file$ac_mode in
8071 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
8072 # Older Autoconf quotes --file arguments for eval, but not when files
8073 # are listed without --file. Let's play safe and only enable the eval
8074 # if we detect the quoting.
8075 case $CONFIG_FILES in
8076 *\'*) eval set x
"$CONFIG_FILES" ;;
8077 *) set x
$CONFIG_FILES ;;
8082 # Strip MF so we end up with the name of the file.
8083 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8084 # Check whether this is an Automake generated Makefile or not.
8085 # We used to match only the files named 'Makefile.in', but
8086 # some people rename them; so instead we look at the file content.
8087 # Grep'ing the first line is not enough: some people post-process
8088 # each Makefile.in and add a new line on top of each file to say so.
8089 # Grep'ing the whole file is not good either: AIX grep has a line
8090 # limit of 2048, but all sed's we know have understand at least 4000.
8091 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
8092 dirpart
=`$as_dirname -- "$mf" ||
8093 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8094 X"$mf" : 'X\(//\)[^/]' \| \
8095 X"$mf" : 'X\(//\)$' \| \
8096 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8118 # Extract the definition of DEPDIR, am__include, and am__quote
8119 # from the Makefile without running 'make'.
8120 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8121 test -z "$DEPDIR" && continue
8122 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8123 test -z "$am__include" && continue
8124 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8125 # Find all dependency output files, they are included files with
8126 # $(DEPDIR) in their names. We invoke sed twice because it is the
8127 # simplest approach to changing $(DEPDIR) to its actual value in the
8129 for file in `sed -n "
8130 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8131 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8132 # Make sure the directory exists.
8133 test -f "$dirpart/$file" && continue
8134 fdir
=`$as_dirname -- "$file" ||
8135 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8136 X"$file" : 'X\(//\)[^/]' \| \
8137 X"$file" : 'X\(//\)$' \| \
8138 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8157 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
8158 # echo "creating $dirpart/$file"
8159 echo '# dummy' > "$dirpart/$file"
8171 ac_clean_files
=$ac_clean_files_save
8173 test $ac_write_fail = 0 ||
8174 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8177 # configure is writing to config.log, and then calls config.status.
8178 # config.status does its own redirection, appending to config.log.
8179 # Unfortunately, on DOS this fails, as config.log is still kept open
8180 # by configure, so config.status won't be able to write to it; its
8181 # output is simply discarded. So we exec the FD to /dev/null,
8182 # effectively closing config.log, so it can be properly (re)opened and
8183 # appended to by config.status. When coming back to configure, we
8184 # need to make the FD available again.
8185 if test "$no_create" != yes; then
8187 ac_config_status_args
=
8188 test "$silent" = yes &&
8189 ac_config_status_args
="$ac_config_status_args --quiet"
8191 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8193 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8194 # would make configure fail if this is the last instruction.
8195 $ac_cs_success || as_fn_exit
1
8199 # CONFIG_SUBDIRS section.
8201 if test "$no_recursion" != yes; then
8203 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
8204 # so they do not pile up.
8205 ac_sub_configure_args
=
8207 eval "set x $ac_configure_args"
8211 if test -n "$ac_prev"; then
8216 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8217 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8218 ac_prev
=cache_file
;;
8219 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8220 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8223 --config-cache |
-C)
8225 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8227 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8229 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8231 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8233 --disable-option-checking)
8237 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8239 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
8243 # Always prepend --prefix to ensure using the same prefix
8244 # in subdir configurations.
8245 ac_arg
="--prefix=$prefix"
8247 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8249 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
8252 if test "$silent" = yes; then
8253 ac_sub_configure_args
="--silent $ac_sub_configure_args"
8256 # Always prepend --disable-option-checking to silence warnings, since
8257 # different subdirs can have different --enable and --with options.
8258 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
8261 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8263 # Do not complain, so a configure script can configure whichever
8264 # parts of a large source tree are present.
8265 test -d "$srcdir/$ac_dir" ||
continue
8267 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8268 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
8269 $as_echo "$ac_msg" >&6
8270 as_dir
="$ac_dir"; as_fn_mkdir_p
8274 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8276 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8277 # A ".." for each directory in $ac_dir_suffix.
8278 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8279 case $ac_top_builddir_sub in
8280 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8281 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8284 ac_abs_top_builddir
=$ac_pwd
8285 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8286 # for backward compatibility:
8287 ac_top_builddir
=$ac_top_build_prefix
8290 .
) # We are building in place.
8292 ac_top_srcdir
=$ac_top_builddir_sub
8293 ac_abs_top_srcdir
=$ac_pwd ;;
8294 [\\/]* | ?
:[\\/]* ) # Absolute name.
8295 ac_srcdir
=$srcdir$ac_dir_suffix;
8296 ac_top_srcdir
=$srcdir
8297 ac_abs_top_srcdir
=$srcdir ;;
8299 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8300 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8301 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8303 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8308 # Check for guested configure; otherwise get Cygnus style configure.
8309 if test -f "$ac_srcdir/configure.gnu"; then
8310 ac_sub_configure
=$ac_srcdir/configure.gnu
8311 elif test -f "$ac_srcdir/configure"; then
8312 ac_sub_configure
=$ac_srcdir/configure
8313 elif test -f "$ac_srcdir/configure.in"; then
8314 # This should be Cygnus configure.
8315 ac_sub_configure
=$ac_aux_dir/configure
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
8318 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8322 # The recursion is here.
8323 if test -n "$ac_sub_configure"; then
8324 # Make the cache file name correct relative to the subdirectory.
8326 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8328 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
8331 { $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
8332 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8333 # The eval makes quoting arguments work.
8334 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8335 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8336 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
8342 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8344 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}