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
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL
=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE
= GREP_OPTIONS
=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir
=.
/$as_dir;;
333 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
337 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs
="'$as_qdir' $as_dirs"
341 as_dir
=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
367 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p
()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
410 as_val
=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status
=$1; test $as_status -eq 0 && as_status
=1
424 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit
$as_status
431 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
438 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
450 as_me
=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits
='0123456789'
474 as_cr_alnum
=$as_cr_Letters$as_cr_digits
477 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
478 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x
"$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec
=no
; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C
= ECHO_N
= ECHO_T
=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
525 rm -f conf$$ conf$$.exe conf$$.
file
526 if test -d conf$$.dir
; then
527 rm -f conf$$.dir
/conf$$.
file
530 mkdir conf$$.dir
2>/dev
/null
532 if (echo >conf$$.
file) 2>/dev
/null
; then
533 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
541 elif ln conf$$.
file conf$$
2>/dev
/null
; then
549 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
550 rmdir conf$$.dir
2>/dev
/null
552 if mkdir
-p .
2>/dev
/null
; then
553 as_mkdir_p
='mkdir -p "$as_dir"'
555 test -d .
/-p && rmdir .
/-p
560 as_executable_p
=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL
=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix
=/usr
/local
584 ac_config_libobj_dir
=.
591 # Identity of this package.
593 PACKAGE_TARNAME
='sim'
595 PACKAGE_STRING
='sim 0'
596 PACKAGE_BUGREPORT
='https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim'
597 PACKAGE_URL
='https://sourceware.org/gdb/wiki/Sim/'
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
637 enable_option_checking
=no
638 ac_subst_vars
='am__EXEEXT_FALSE
642 SIM_RX_CYCLE_ACCURATE_FLAGS
644 SIM_FRV_TRAPDUMP_FLAGS
657 SIM_ENABLE_IGEN_FALSE
659 SIM_ENABLE_ARCH_examples_FALSE
660 SIM_ENABLE_ARCH_examples_TRUE
661 CC_FOR_TARGET_EXAMPLE_SYNACOR
662 LD_FOR_TARGET_EXAMPLE_SYNACOR
663 AS_FOR_TARGET_EXAMPLE_SYNACOR
664 SIM_ENABLE_ARCH_v850_FALSE
665 SIM_ENABLE_ARCH_v850_TRUE
669 SIM_ENABLE_ARCH_erc32_FALSE
670 SIM_ENABLE_ARCH_erc32_TRUE
674 SIM_ENABLE_ARCH_sh_FALSE
675 SIM_ENABLE_ARCH_sh_TRUE
679 SIM_ENABLE_ARCH_rx_FALSE
680 SIM_ENABLE_ARCH_rx_TRUE
684 SIM_ENABLE_ARCH_rl78_FALSE
685 SIM_ENABLE_ARCH_rl78_TRUE
689 SIM_ENABLE_ARCH_riscv_FALSE
690 SIM_ENABLE_ARCH_riscv_TRUE
694 SIM_ENABLE_ARCH_pru_FALSE
695 SIM_ENABLE_ARCH_pru_TRUE
699 SIM_ENABLE_ARCH_ppc_FALSE
700 SIM_ENABLE_ARCH_ppc_TRUE
704 SIM_ENABLE_ARCH_or1k_FALSE
705 SIM_ENABLE_ARCH_or1k_TRUE
709 SIM_ENABLE_ARCH_msp430_FALSE
710 SIM_ENABLE_ARCH_msp430_TRUE
714 SIM_ENABLE_ARCH_moxie_FALSE
715 SIM_ENABLE_ARCH_moxie_TRUE
719 SIM_ENABLE_ARCH_mn10300_FALSE
720 SIM_ENABLE_ARCH_mn10300_TRUE
721 CC_FOR_TARGET_MN10300
722 LD_FOR_TARGET_MN10300
723 AS_FOR_TARGET_MN10300
724 SIM_ENABLE_ARCH_mips_FALSE
725 SIM_ENABLE_ARCH_mips_TRUE
730 SIM_ENABLE_ARCH_microblaze_FALSE
731 SIM_ENABLE_ARCH_microblaze_TRUE
732 CC_FOR_TARGET_MICROBLAZE
733 LD_FOR_TARGET_MICROBLAZE
734 AS_FOR_TARGET_MICROBLAZE
735 SIM_ENABLE_ARCH_mcore_FALSE
736 SIM_ENABLE_ARCH_mcore_TRUE
740 SIM_ENABLE_ARCH_m68hc11_FALSE
741 SIM_ENABLE_ARCH_m68hc11_TRUE
742 CC_FOR_TARGET_M68HC11
743 LD_FOR_TARGET_M68HC11
744 AS_FOR_TARGET_M68HC11
745 SIM_ENABLE_ARCH_m32r_FALSE
746 SIM_ENABLE_ARCH_m32r_TRUE
750 SIM_ENABLE_ARCH_m32c_FALSE
751 SIM_ENABLE_ARCH_m32c_TRUE
755 SIM_ENABLE_ARCH_lm32_FALSE
756 SIM_ENABLE_ARCH_lm32_TRUE
760 SIM_ENABLE_ARCH_iq2000_FALSE
761 SIM_ENABLE_ARCH_iq2000_TRUE
765 SIM_ENABLE_ARCH_h8300_FALSE
766 SIM_ENABLE_ARCH_h8300_TRUE
770 SIM_ENABLE_ARCH_ft32_FALSE
771 SIM_ENABLE_ARCH_ft32_TRUE
775 SIM_ENABLE_ARCH_frv_FALSE
776 SIM_ENABLE_ARCH_frv_TRUE
780 SIM_ENABLE_ARCH_d10v_FALSE
781 SIM_ENABLE_ARCH_d10v_TRUE
785 SIM_ENABLE_ARCH_cris_FALSE
786 SIM_ENABLE_ARCH_cris_TRUE
790 SIM_ENABLE_ARCH_cr16_FALSE
791 SIM_ENABLE_ARCH_cr16_TRUE
795 SIM_ENABLE_ARCH_bpf_FALSE
796 SIM_ENABLE_ARCH_bpf_TRUE
800 SIM_ENABLE_ARCH_bfin_FALSE
801 SIM_ENABLE_ARCH_bfin_TRUE
805 SIM_ENABLE_ARCH_avr_FALSE
806 SIM_ENABLE_ARCH_avr_TRUE
810 SIM_ENABLE_ARCH_arm_FALSE
811 SIM_ENABLE_ARCH_arm_TRUE
815 SIM_ENABLE_ARCH_aarch64_FALSE
816 SIM_ENABLE_ARCH_aarch64_TRUE
817 CC_FOR_TARGET_AARCH64
818 LD_FOR_TARGET_AARCH64
819 AS_FOR_TARGET_AARCH64
823 SIM_COMMON_BUILD_FALSE
824 SIM_COMMON_BUILD_TRUE
849 INSTALL_STRIP_PROGRAM
861 MAINTAINER_MODE_FALSE
953 program_transform_name
969 enable_option_checking
978 enable_maintainer_mode
979 enable_dependency_tracking
989 enable_sim_environment
993 enable_sim_reserved_bits
998 enable_build_warnings
999 enable_sim_build_warnings
1000 enable_sim_frv_trapdump
1001 enable_sim_rx_cycle_accurate
1003 ac_precious_vars
='build_alias
1017 AS_FOR_TARGET_AARCH64
1018 LD_FOR_TARGET_AARCH64
1019 CC_FOR_TARGET_AARCH64
1050 AS_FOR_TARGET_IQ2000
1051 LD_FOR_TARGET_IQ2000
1052 CC_FOR_TARGET_IQ2000
1062 AS_FOR_TARGET_M68HC11
1063 LD_FOR_TARGET_M68HC11
1064 CC_FOR_TARGET_M68HC11
1068 AS_FOR_TARGET_MICROBLAZE
1069 LD_FOR_TARGET_MICROBLAZE
1070 CC_FOR_TARGET_MICROBLAZE
1074 AS_FOR_TARGET_MN10300
1075 LD_FOR_TARGET_MN10300
1076 CC_FOR_TARGET_MN10300
1080 AS_FOR_TARGET_MSP430
1081 LD_FOR_TARGET_MSP430
1082 CC_FOR_TARGET_MSP430
1110 AS_FOR_TARGET_EXAMPLE_SYNACOR
1111 LD_FOR_TARGET_EXAMPLE_SYNACOR
1112 CC_FOR_TARGET_EXAMPLE_SYNACOR'
1113 ac_subdirs_all
='mips
1119 # Initialize some variables set by options.
1121 ac_init_version
=false
1122 ac_unrecognized_opts
=
1123 ac_unrecognized_sep
=
1124 # The variables have the same names as the options, with
1125 # dashes changed to underlines.
1126 cache_file
=/dev
/null
1133 program_transform_name
=s
,x
,x
,
1141 # Installation directory options.
1142 # These are left unexpanded so users can "make install exec_prefix=/foo"
1143 # and all the variables that are supposed to be based on exec_prefix
1144 # by default will actually change.
1145 # Use braces instead of parens because sh, perl, etc. also accept them.
1146 # (The list follows the same order as the GNU Coding Standards.)
1147 bindir
='${exec_prefix}/bin'
1148 sbindir
='${exec_prefix}/sbin'
1149 libexecdir
='${exec_prefix}/libexec'
1150 datarootdir
='${prefix}/share'
1151 datadir
='${datarootdir}'
1152 sysconfdir
='${prefix}/etc'
1153 sharedstatedir
='${prefix}/com'
1154 localstatedir
='${prefix}/var'
1155 includedir
='${prefix}/include'
1156 oldincludedir
='/usr/include'
1157 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1158 infodir
='${datarootdir}/info'
1163 libdir
='${exec_prefix}/lib'
1164 localedir
='${datarootdir}/locale'
1165 mandir
='${datarootdir}/man'
1171 # If the previous option needs an argument, assign it.
1172 if test -n "$ac_prev"; then
1173 eval $ac_prev=\
$ac_option
1179 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1184 # Accept the important Cygnus configure options, so we can diagnose typos.
1186 case $ac_dashdash$ac_option in
1190 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1192 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1193 bindir
=$ac_optarg ;;
1195 -build |
--build |
--buil |
--bui |
--bu)
1196 ac_prev
=build_alias
;;
1197 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1198 build_alias
=$ac_optarg ;;
1200 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1201 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1202 ac_prev
=cache_file
;;
1203 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1204 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1205 cache_file
=$ac_optarg ;;
1207 --config-cache |
-C)
1208 cache_file
=config.cache
;;
1210 -datadir |
--datadir |
--datadi |
--datad)
1212 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1213 datadir
=$ac_optarg ;;
1215 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1216 |
--dataroo |
--dataro |
--datar)
1217 ac_prev
=datarootdir
;;
1218 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1219 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1220 datarootdir
=$ac_optarg ;;
1222 -disable-* |
--disable-*)
1223 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1226 as_fn_error $?
"invalid feature name: $ac_useropt"
1227 ac_useropt_orig
=$ac_useropt
1228 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229 case $ac_user_opts in
1231 "enable_
$ac_useropt"
1233 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1234 ac_unrecognized_sep
=', ';;
1236 eval enable_
$ac_useropt=no
;;
1238 -docdir |
--docdir |
--docdi |
--doc |
--do)
1240 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1241 docdir
=$ac_optarg ;;
1243 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1245 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1246 dvidir
=$ac_optarg ;;
1248 -enable-* |
--enable-*)
1249 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1252 as_fn_error $?
"invalid feature name: $ac_useropt"
1253 ac_useropt_orig
=$ac_useropt
1254 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255 case $ac_user_opts in
1257 "enable_
$ac_useropt"
1259 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1260 ac_unrecognized_sep
=', ';;
1262 eval enable_
$ac_useropt=\
$ac_optarg ;;
1264 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1265 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1266 |
--exec |
--exe |
--ex)
1267 ac_prev
=exec_prefix
;;
1268 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1269 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1270 |
--exec=* |
--exe=* |
--ex=*)
1271 exec_prefix
=$ac_optarg ;;
1273 -gas |
--gas |
--ga |
--g)
1274 # Obsolete; use --with-gas.
1277 -help |
--help |
--hel |
--he |
-h)
1278 ac_init_help
=long
;;
1279 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1280 ac_init_help
=recursive
;;
1281 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1282 ac_init_help
=short
;;
1284 -host |
--host |
--hos |
--ho)
1285 ac_prev
=host_alias
;;
1286 -host=* |
--host=* |
--hos=* |
--ho=*)
1287 host_alias
=$ac_optarg ;;
1289 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1291 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1293 htmldir
=$ac_optarg ;;
1295 -includedir |
--includedir |
--includedi |
--included |
--include \
1296 |
--includ |
--inclu |
--incl |
--inc)
1297 ac_prev
=includedir
;;
1298 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1299 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1300 includedir
=$ac_optarg ;;
1302 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1304 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1305 infodir
=$ac_optarg ;;
1307 -libdir |
--libdir |
--libdi |
--libd)
1309 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1310 libdir
=$ac_optarg ;;
1312 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1313 |
--libexe |
--libex |
--libe)
1314 ac_prev
=libexecdir
;;
1315 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1316 |
--libexe=* |
--libex=* |
--libe=*)
1317 libexecdir
=$ac_optarg ;;
1319 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1320 ac_prev
=localedir
;;
1321 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1322 localedir
=$ac_optarg ;;
1324 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1325 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1326 ac_prev
=localstatedir
;;
1327 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1328 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1329 localstatedir
=$ac_optarg ;;
1331 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1333 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1334 mandir
=$ac_optarg ;;
1336 -nfp |
--nfp |
--nf)
1337 # Obsolete; use --without-fp.
1340 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1341 |
--no-cr |
--no-c |
-n)
1344 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1345 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1348 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1349 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1350 |
--oldin |
--oldi |
--old |
--ol |
--o)
1351 ac_prev
=oldincludedir
;;
1352 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1353 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1354 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1355 oldincludedir
=$ac_optarg ;;
1357 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1359 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1360 prefix
=$ac_optarg ;;
1362 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1363 |
--program-pre |
--program-pr |
--program-p)
1364 ac_prev
=program_prefix
;;
1365 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1366 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1367 program_prefix
=$ac_optarg ;;
1369 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1370 |
--program-suf |
--program-su |
--program-s)
1371 ac_prev
=program_suffix
;;
1372 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1373 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1374 program_suffix
=$ac_optarg ;;
1376 -program-transform-name |
--program-transform-name \
1377 |
--program-transform-nam |
--program-transform-na \
1378 |
--program-transform-n |
--program-transform- \
1379 |
--program-transform |
--program-transfor \
1380 |
--program-transfo |
--program-transf \
1381 |
--program-trans |
--program-tran \
1382 |
--progr-tra |
--program-tr |
--program-t)
1383 ac_prev
=program_transform_name
;;
1384 -program-transform-name=* |
--program-transform-name=* \
1385 |
--program-transform-nam=* |
--program-transform-na=* \
1386 |
--program-transform-n=* |
--program-transform-=* \
1387 |
--program-transform=* |
--program-transfor=* \
1388 |
--program-transfo=* |
--program-transf=* \
1389 |
--program-trans=* |
--program-tran=* \
1390 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1391 program_transform_name
=$ac_optarg ;;
1393 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1395 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1396 pdfdir
=$ac_optarg ;;
1398 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1400 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1403 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1404 |
-silent |
--silent |
--silen |
--sile |
--sil)
1407 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1409 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1411 sbindir
=$ac_optarg ;;
1413 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1414 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1415 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1417 ac_prev
=sharedstatedir
;;
1418 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1419 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1420 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1422 sharedstatedir
=$ac_optarg ;;
1424 -site |
--site |
--sit)
1426 -site=* |
--site=* |
--sit=*)
1429 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1431 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1432 srcdir
=$ac_optarg ;;
1434 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1435 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1436 ac_prev
=sysconfdir
;;
1437 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1438 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1439 sysconfdir
=$ac_optarg ;;
1441 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1442 ac_prev
=target_alias
;;
1443 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1444 target_alias
=$ac_optarg ;;
1446 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1449 -version |
--version |
--versio |
--versi |
--vers |
-V)
1450 ac_init_version
=: ;;
1453 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1454 # Reject names that are not valid shell variable names.
1455 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1456 as_fn_error $?
"invalid package name: $ac_useropt"
1457 ac_useropt_orig
=$ac_useropt
1458 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1459 case $ac_user_opts in
1463 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1464 ac_unrecognized_sep
=', ';;
1466 eval with_
$ac_useropt=\
$ac_optarg ;;
1468 -without-* |
--without-*)
1469 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1470 # Reject names that are not valid shell variable names.
1471 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1472 as_fn_error $?
"invalid package name: $ac_useropt"
1473 ac_useropt_orig
=$ac_useropt
1474 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1475 case $ac_user_opts in
1479 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1480 ac_unrecognized_sep
=', ';;
1482 eval with_
$ac_useropt=no
;;
1485 # Obsolete; use --with-x.
1488 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1489 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1490 ac_prev
=x_includes
;;
1491 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1492 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1493 x_includes
=$ac_optarg ;;
1495 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1496 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1497 ac_prev
=x_libraries
;;
1498 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1499 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1500 x_libraries
=$ac_optarg ;;
1502 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1503 Try \`$0 --help' for more information"
1507 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1508 # Reject names that are not valid shell variable names.
1509 case $ac_envvar in #(
1510 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1511 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1513 eval $ac_envvar=\
$ac_optarg
1514 export $ac_envvar ;;
1517 # FIXME: should be removed in autoconf 3.0.
1518 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1519 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1520 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1521 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1527 if test -n "$ac_prev"; then
1528 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1529 as_fn_error $?
"missing argument to $ac_option"
1532 if test -n "$ac_unrecognized_opts"; then
1533 case $enable_option_checking in
1535 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1536 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1540 # Check all directory arguments for consistency.
1541 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1542 datadir sysconfdir sharedstatedir localstatedir includedir \
1543 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1544 libdir localedir mandir
1546 eval ac_val
=\$
$ac_var
1547 # Remove trailing slashes.
1550 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1551 eval $ac_var=\
$ac_val;;
1553 # Be sure to have absolute directory names.
1555 [\\/$
]* | ?
:[\\/]* ) continue;;
1556 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1558 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1561 # There might be people who depend on the old broken behavior: `$host'
1562 # used to hold the argument of --host etc.
1563 # FIXME: To remove some day.
1566 target
=$target_alias
1568 # FIXME: To remove some day.
1569 if test "x$host_alias" != x
; then
1570 if test "x$build_alias" = x
; then
1571 cross_compiling
=maybe
1572 elif test "x$build_alias" != "x$host_alias"; then
1578 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1580 test "$silent" = yes && exec 6>/dev
/null
1583 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1584 ac_ls_di
=`ls -di .` &&
1585 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1586 as_fn_error $?
"working directory cannot be determined"
1587 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1588 as_fn_error $?
"pwd does not report name of working directory"
1591 # Find the source files, if location was not specified.
1592 if test -z "$srcdir"; then
1593 ac_srcdir_defaulted
=yes
1594 # Try the directory containing this script, then the parent directory.
1595 ac_confdir
=`$as_dirname -- "$as_myself" ||
1596 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1597 X"$as_myself" : 'X\(//\)[^/]' \| \
1598 X"$as_myself" : 'X\(//\)$' \| \
1599 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1600 $as_echo X"$as_myself" |
1601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1619 if test ! -r "$srcdir/$ac_unique_file"; then
1623 ac_srcdir_defaulted
=no
1625 if test ! -r "$srcdir/$ac_unique_file"; then
1626 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1627 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1629 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1631 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1633 # When building in place, set srcdir=.
1634 if test "$ac_abs_confdir" = "$ac_pwd"; then
1637 # Remove unnecessary trailing slashes from srcdir.
1638 # Double slashes in file names in object file debugging info
1639 # mess up M-x gdb in Emacs.
1641 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1643 for ac_var
in $ac_precious_vars; do
1644 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1645 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1646 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1647 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1651 # Report the --help message.
1653 if test "$ac_init_help" = "long"; then
1654 # Omit some internal or obsolete options to make the list less imposing.
1655 # This message is too long to be a string in the A/UX 3.1 sh.
1657 \`configure' configures sim 0 to adapt to many kinds of systems.
1659 Usage: $0 [OPTION]... [VAR=VALUE]...
1661 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1662 VAR=VALUE. See below for descriptions of some of the useful variables.
1664 Defaults for the options are specified in brackets.
1667 -h, --help display this help and exit
1668 --help=short display options specific to this package
1669 --help=recursive display the short help of all the included packages
1670 -V, --version display version information and exit
1671 -q, --quiet, --silent do not print \`checking ...' messages
1672 --cache-file=FILE cache test results in FILE [disabled]
1673 -C, --config-cache alias for \`--cache-file=config.cache'
1674 -n, --no-create do not create output files
1675 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1677 Installation directories:
1678 --prefix=PREFIX install architecture-independent files in PREFIX
1679 [$ac_default_prefix]
1680 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1683 By default, \`make install' will install all the files in
1684 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1685 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1686 for instance \`--prefix=\$HOME'.
1688 For better control, use the options below.
1690 Fine tuning of the installation directories:
1691 --bindir=DIR user executables [EPREFIX/bin]
1692 --sbindir=DIR system admin executables [EPREFIX/sbin]
1693 --libexecdir=DIR program executables [EPREFIX/libexec]
1694 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1695 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1696 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1697 --libdir=DIR object code libraries [EPREFIX/lib]
1698 --includedir=DIR C header files [PREFIX/include]
1699 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1700 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1701 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1702 --infodir=DIR info documentation [DATAROOTDIR/info]
1703 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1704 --mandir=DIR man documentation [DATAROOTDIR/man]
1705 --docdir=DIR documentation root [DATAROOTDIR/doc/sim]
1706 --htmldir=DIR html documentation [DOCDIR]
1707 --dvidir=DIR dvi documentation [DOCDIR]
1708 --pdfdir=DIR pdf documentation [DOCDIR]
1709 --psdir=DIR ps documentation [DOCDIR]
1715 --program-prefix=PREFIX prepend PREFIX to installed program names
1716 --program-suffix=SUFFIX append SUFFIX to installed program names
1717 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1720 --build=BUILD configure
for building on BUILD
[guessed
]
1721 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1722 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1726 if test -n "$ac_init_help"; then
1727 case $ac_init_help in
1728 short | recursive
) echo "Configuration of sim 0:";;
1733 --disable-option-checking ignore unrecognized
--enable/--with options
1734 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1735 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1736 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1737 --enable-static[=PKGS
] build static libraries
[default
=yes]
1738 --enable-fast-install[=PKGS
]
1739 optimize
for fast installation
[default
=yes]
1740 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1741 --enable-maintainer-mode
1742 enable make rules and dependencies not useful
(and
1743 sometimes confusing
) to the casual installer
1744 --enable-dependency-tracking
1745 do not reject slow dependency extractors
1746 --disable-dependency-tracking
1747 speeds up one-time build
1748 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1749 --disable-silent-rules verbose build output
(undo
: "make V=0")
1750 --enable-sim Enable the GNU simulator
1751 --enable-example-sims enable example GNU simulators
1752 --enable-targets alternative target configurations
1753 --enable-sim-alignment=align
1754 Specify strict
, nonstrict or forced alignment of
1756 --enable-sim-assert Specify whether to perform random assertions
1757 --enable-cgen-maint=DIR build cgen generated files
1758 --enable-sim-debug=opts Enable debugging flags
(for developers of the sim
1760 --enable-sim-endian=endian
1761 Specify target byte endian orientation
1762 --enable-sim-environment=environment
1763 Specify mixed
, user
, virtual or operating
1765 --enable-sim-hardware Whether to
enable hardware
/device simulation
1766 --enable-sim-inline=inlines
1767 Specify
which functions should be inlined
1768 --enable-sim-profile=opts
1769 Enable profiling flags
1770 --enable-sim-reserved-bits
1771 Specify whether to check reserved bits
in
1773 --enable-sim-scache=size
1774 Specify simulator execution cache size
1775 --enable-sim-stdio Specify whether to use stdio
for console
1777 --enable-sim-trace=opts Enable tracing of simulated programs
1778 --enable-werror treat compile warnings as errors
1779 --enable-build-warnings enable build-time compiler warnings
if gcc is used
1780 --enable-sim-build-warnings
1781 enable SIM specific build-time compiler warnings
if
1783 --enable-sim-frv-trapdump
1784 Make unknown traps dump the registers
1785 --disable-sim-rx-cycle-accurate
1786 Disable cycle accurate simulation
(faster runtime
)
1789 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1790 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1791 --with-pkgversion=PKG Use PKG
in the version string
in place of
"SIM"
1792 --with-bugurl=URL Direct users to URL to report a bug
1793 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1795 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1797 Some influential environment variables
:
1798 CC C compiler
command
1799 CFLAGS C compiler flags
1800 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1801 nonstandard directory
<lib dir
>
1802 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1803 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1804 you have headers
in a nonstandard directory
<include dir
>
1806 PKG_CONFIG path to pkg-config utility
1808 directories to add to pkg-config
's search path
1810 path overriding pkg-config's built-in search path
1811 SDL_CFLAGS C compiler flags
for SDL
, overriding pkg-config
1812 SDL_LIBS linker flags
for SDL
, overriding pkg-config
1813 AS_FOR_TARGET_AARCH64
1814 Assembler
for aarch64 tests
1815 LD_FOR_TARGET_AARCH64
1816 Linker
for aarch64 tests
1817 CC_FOR_TARGET_AARCH64
1818 C compiler
for aarch64 tests
1820 Assembler
for arm tests
1822 Linker
for arm tests
1824 C compiler
for arm tests
1826 Assembler
for avr tests
1828 Linker
for avr tests
1830 C compiler
for avr tests
1832 Assembler
for bfin tests
1834 Linker
for bfin tests
1836 C compiler
for bfin tests
1838 Assembler
for bpf tests
1840 Linker
for bpf tests
1842 C compiler
for bpf tests
1844 Assembler
for cr16 tests
1846 Linker
for cr16 tests
1848 C compiler
for cr16 tests
1850 Assembler
for cris tests
1852 Linker
for cris tests
1854 C compiler
for cris tests
1856 Assembler
for d10v tests
1858 Linker
for d10v tests
1860 C compiler
for d10v tests
1862 Assembler
for frv tests
1864 Linker
for frv tests
1866 C compiler
for frv tests
1868 Assembler
for ft32 tests
1870 Linker
for ft32 tests
1872 C compiler
for ft32 tests
1874 Assembler
for h8300 tests
1876 Linker
for h8300 tests
1878 C compiler
for h8300 tests
1879 AS_FOR_TARGET_IQ2000
1880 Assembler
for iq2000 tests
1881 LD_FOR_TARGET_IQ2000
1882 Linker
for iq2000 tests
1883 CC_FOR_TARGET_IQ2000
1884 C compiler
for iq2000 tests
1886 Assembler
for lm32 tests
1888 Linker
for lm32 tests
1890 C compiler
for lm32 tests
1892 Assembler
for m32c tests
1894 Linker
for m32c tests
1896 C compiler
for m32c tests
1898 Assembler
for m32r tests
1900 Linker
for m32r tests
1902 C compiler
for m32r tests
1903 AS_FOR_TARGET_M68HC11
1904 Assembler
for m68hc11 tests
1905 LD_FOR_TARGET_M68HC11
1906 Linker
for m68hc11 tests
1907 CC_FOR_TARGET_M68HC11
1908 C compiler
for m68hc11 tests
1910 Assembler
for mcore tests
1912 Linker
for mcore tests
1914 C compiler
for mcore tests
1915 AS_FOR_TARGET_MICROBLAZE
1916 Assembler
for microblaze tests
1917 LD_FOR_TARGET_MICROBLAZE
1918 Linker
for microblaze tests
1919 CC_FOR_TARGET_MICROBLAZE
1920 C compiler
for microblaze tests
1922 Assembler
for mips tests
1924 Linker
for mips tests
1926 C compiler
for mips tests
1927 AS_FOR_TARGET_MN10300
1928 Assembler
for mn10300 tests
1929 LD_FOR_TARGET_MN10300
1930 Linker
for mn10300 tests
1931 CC_FOR_TARGET_MN10300
1932 C compiler
for mn10300 tests
1934 Assembler
for moxie tests
1936 Linker
for moxie tests
1938 C compiler
for moxie tests
1939 AS_FOR_TARGET_MSP430
1940 Assembler
for msp430 tests
1941 LD_FOR_TARGET_MSP430
1942 Linker
for msp430 tests
1943 CC_FOR_TARGET_MSP430
1944 C compiler
for msp430 tests
1946 Assembler
for or1k tests
1948 Linker
for or1k tests
1950 C compiler
for or1k tests
1952 Assembler
for ppc tests
1954 Linker
for ppc tests
1956 C compiler
for ppc tests
1958 Assembler
for pru tests
1960 Linker
for pru tests
1962 C compiler
for pru tests
1964 Assembler
for riscv tests
1966 Linker
for riscv tests
1968 C compiler
for riscv tests
1970 Assembler
for rl78 tests
1972 Linker
for rl78 tests
1974 C compiler
for rl78 tests
1976 Assembler
for rx tests
1980 C compiler
for rx tests
1982 Assembler
for sh tests
1986 C compiler
for sh tests
1988 Assembler
for erc32 tests
1990 Linker
for erc32 tests
1992 C compiler
for erc32 tests
1994 Assembler
for v850 tests
1996 Linker
for v850 tests
1998 C compiler
for v850 tests
1999 AS_FOR_TARGET_EXAMPLE_SYNACOR
2000 Assembler
for example-synacor tests
2001 LD_FOR_TARGET_EXAMPLE_SYNACOR
2002 Linker
for example-synacor tests
2003 CC_FOR_TARGET_EXAMPLE_SYNACOR
2004 C compiler
for example-synacor tests
2006 Use these variables to override the choices made by
`configure' or to help
2007 it to find libraries and programs with nonstandard names/locations.
2009 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
2010 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
2015 if test "$ac_init_help" = "recursive"; then
2016 # If there are subdirs, report their specific --help.
2017 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2018 test -d "$ac_dir" ||
2019 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2024 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2026 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
2027 # A ".." for each directory in $ac_dir_suffix.
2028 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
2029 case $ac_top_builddir_sub in
2030 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2031 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2034 ac_abs_top_builddir=$ac_pwd
2035 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2036 # for backward compatibility:
2037 ac_top_builddir=$ac_top_build_prefix
2040 .) # We are building in place.
2042 ac_top_srcdir=$ac_top_builddir_sub
2043 ac_abs_top_srcdir=$ac_pwd ;;
2044 [\\/]* | ?:[\\/]* ) # Absolute name.
2045 ac_srcdir=$srcdir$ac_dir_suffix;
2046 ac_top_srcdir=$srcdir
2047 ac_abs_top_srcdir=$srcdir ;;
2049 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2050 ac_top_srcdir=$ac_top_build_prefix$srcdir
2051 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2053 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2055 cd "$ac_dir" || { ac_status=$?; continue; }
2056 # Check for guested configure.
2057 if test -f "$ac_srcdir/configure.gnu"; then
2059 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2060 elif test -f "$ac_srcdir/configure"; then
2062 $SHELL "$ac_srcdir/configure" --help=recursive
2064 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2066 cd "$ac_pwd" || { ac_status=$?; break; }
2070 test -n "$ac_init_help" && exit $ac_status
2071 if $ac_init_version; then
2074 generated by GNU Autoconf 2.69
2076 Copyright (C) 2012 Free Software Foundation, Inc.
2077 This configure script is free software; the Free Software Foundation
2078 gives unlimited permission to copy, distribute and modify it.
2083 ## ------------------------ ##
2084 ## Autoconf initialization. ##
2085 ## ------------------------ ##
2087 # ac_fn_c_try_compile LINENO
2088 # --------------------------
2089 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2090 ac_fn_c_try_compile ()
2092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2093 rm -f conftest.$ac_objext
2094 if { { ac_try="$ac_compile"
2096 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2097 *) ac_try_echo
=$ac_try;;
2099 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2100 $as_echo "$ac_try_echo"; } >&5
2101 (eval "$ac_compile") 2>conftest.err
2103 if test -s conftest.err
; then
2104 grep -v '^ *+' conftest.err
>conftest.er1
2105 cat conftest.er1
>&5
2106 mv -f conftest.er1 conftest.err
2108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2109 test $ac_status = 0; } && {
2110 test -z "$ac_c_werror_flag" ||
2111 test ! -s conftest.err
2112 } && test -s conftest.
$ac_objext; then :
2115 $as_echo "$as_me: failed program was:" >&5
2116 sed 's/^/| /' conftest.
$ac_ext >&5
2120 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2121 as_fn_set_status
$ac_retval
2123 } # ac_fn_c_try_compile
2125 # ac_fn_c_try_cpp LINENO
2126 # ----------------------
2127 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2130 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2131 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2134 *) ac_try_echo=$ac_try;;
2136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2137 $as_echo "$ac_try_echo"; } >&5
2138 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2140 if test -s conftest.err; then
2141 grep -v '^ *+' conftest.err >conftest.er1
2142 cat conftest.er1 >&5
2143 mv -f conftest.er1 conftest.err
2145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2146 test $ac_status = 0; } > conftest.i && {
2147 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2148 test ! -s conftest.err
2152 $as_echo "$as_me: failed program was:" >&5
2153 sed 's/^/| /' conftest.$ac_ext >&5
2157 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2158 as_fn_set_status $ac_retval
2162 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2163 # -------------------------------------------------------
2164 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2165 # the include files in INCLUDES and setting the cache variable VAR
2167 ac_fn_c_check_header_mongrel ()
2169 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2170 if eval \${$3+:} false; then :
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2172 $as_echo_n "checking for $2... " >&6; }
2173 if eval \${$3+:} false; then :
2174 $as_echo_n "(cached) " >&6
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178 $as_echo "$ac_res" >&6; }
2180 # Is the header compilable?
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2182 $as_echo_n "checking $2 usability... " >&6; }
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2188 if ac_fn_c_try_compile "$LINENO"; then :
2189 ac_header_compiler=yes
2191 ac_header_compiler=no
2193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2195 $as_echo "$ac_header_compiler" >&6; }
2197 # Is the header present?
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2199 $as_echo_n "checking $2 presence... " >&6; }
2200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2201 /* end confdefs.h. */
2204 if ac_fn_c_try_cpp "$LINENO"; then :
2205 ac_header_preproc=yes
2207 ac_header_preproc=no
2209 rm -f conftest.err conftest.i conftest.$ac_ext
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2211 $as_echo "$ac_header_preproc" >&6; }
2213 # So? What about this header?
2214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2217 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2219 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2223 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2225 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2227 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2229 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2231 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2232 ( $as_echo "## -------------------------------------------------------------------------------------- ##
2233 ## Report this to https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim ##
2234 ## -------------------------------------------------------------------------------------- ##"
2235 ) | sed "s/^/$as_me: WARNING: /" >&2
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2239 $as_echo_n "checking for $2... " >&6; }
2240 if eval \${$3+:} false; then :
2241 $as_echo_n "(cached) " >&6
2243 eval "$3=\$ac_header_compiler"
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2247 $as_echo "$ac_res" >&6; }
2249 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2251 } # ac_fn_c_check_header_mongrel
2253 # ac_fn_c_try_run LINENO
2254 # ----------------------
2255 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2256 # that executables *can* be run.
2259 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2260 if { { ac_try="$ac_link"
2262 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2263 *) ac_try_echo
=$ac_try;;
2265 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2266 $as_echo "$ac_try_echo"; } >&5
2267 (eval "$ac_link") 2>&5
2269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2270 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2271 { { case "(($ac_try" in
2272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2273 *) ac_try_echo=$ac_try;;
2275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2276 $as_echo "$ac_try_echo"; } >&5
2277 (eval "$ac_try") 2>&5
2279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2280 test $ac_status = 0; }; }; then :
2283 $as_echo "$as_me: program exited with status $ac_status" >&5
2284 $as_echo "$as_me: failed program was:" >&5
2285 sed 's/^/| /' conftest.$ac_ext >&5
2287 ac_retval=$ac_status
2289 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2290 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2291 as_fn_set_status $ac_retval
2295 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2296 # -------------------------------------------------------
2297 # Tests whether HEADER exists and can be compiled using the include files in
2298 # INCLUDES, setting the cache variable VAR accordingly.
2299 ac_fn_c_check_header_compile ()
2301 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2303 $as_echo_n "checking for $2... " >&6; }
2304 if eval \${$3+:} false; then :
2305 $as_echo_n "(cached) " >&6
2307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2308 /* end confdefs.h. */
2312 if ac_fn_c_try_compile "$LINENO"; then :
2317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2321 $as_echo "$ac_res" >&6; }
2322 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324 } # ac_fn_c_check_header_compile
2326 # ac_fn_c_try_link LINENO
2327 # -----------------------
2328 # Try to link conftest.$ac_ext, and return whether this succeeded.
2331 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2332 rm -f conftest.$ac_objext conftest$ac_exeext
2333 if { { ac_try="$ac_link"
2335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2336 *) ac_try_echo
=$ac_try;;
2338 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2339 $as_echo "$ac_try_echo"; } >&5
2340 (eval "$ac_link") 2>conftest.err
2342 if test -s conftest.err
; then
2343 grep -v '^ *+' conftest.err
>conftest.er1
2344 cat conftest.er1
>&5
2345 mv -f conftest.er1 conftest.err
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; } && {
2349 test -z "$ac_c_werror_flag" ||
2350 test ! -s conftest.err
2351 } && test -s conftest
$ac_exeext && {
2352 test "$cross_compiling" = yes ||
2353 test -x conftest
$ac_exeext
2357 $as_echo "$as_me: failed program was:" >&5
2358 sed 's/^/| /' conftest.
$ac_ext >&5
2362 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2363 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2364 # interfere with the next link command; also delete a directory that is
2365 # left behind by Apple's compiler. We do this before executing the actions.
2366 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2367 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2368 as_fn_set_status
$ac_retval
2370 } # ac_fn_c_try_link
2372 # ac_fn_c_check_func LINENO FUNC VAR
2373 # ----------------------------------
2374 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2375 ac_fn_c_check_func
()
2377 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2379 $as_echo_n "checking for $2... " >&6; }
2380 if eval \
${$3+:} false
; then :
2381 $as_echo_n "(cached) " >&6
2383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2384 /* end confdefs.h. */
2385 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2387 #define $2 innocuous_$2
2389 /* System header to define __stub macros and hopefully few prototypes,
2390 which can conflict with char $2 (); below.
2391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2392 <limits.h> exists even on freestanding compilers. */
2395 # include <limits.h>
2397 # include <assert.h>
2402 /* Override any GCC internal prototype to avoid an error.
2403 Use char because int might match the return type of a GCC
2404 builtin and then its argument prototype would still apply. */
2409 /* The GNU C library defines this for functions which it implements
2410 to always fail with ENOSYS. Some functions are actually named
2411 something starting with __ and the normal name is an alias. */
2412 #if defined __stub_$2 || defined __stub___$2
2424 if ac_fn_c_try_link
"$LINENO"; then :
2429 rm -f core conftest.err conftest.
$ac_objext \
2430 conftest
$ac_exeext conftest.
$ac_ext
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2434 $as_echo "$ac_res" >&6; }
2435 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2437 } # ac_fn_c_check_func
2439 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2440 # ----------------------------------------------------
2441 # Tries to find if the field MEMBER exists in type AGGR, after including
2442 # INCLUDES, setting cache variable VAR accordingly.
2443 ac_fn_c_check_member
()
2445 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2447 $as_echo_n "checking for $2.$3... " >&6; }
2448 if eval \
${$4+:} false
; then :
2449 $as_echo_n "(cached) " >&6
2451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2452 /* end confdefs.h. */
2464 if ac_fn_c_try_compile
"$LINENO"; then :
2467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2468 /* end confdefs.h. */
2474 if (sizeof ac_aggr.$3)
2480 if ac_fn_c_try_compile
"$LINENO"; then :
2485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2491 $as_echo "$ac_res" >&6; }
2492 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2494 } # ac_fn_c_check_member
2496 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2497 # ---------------------------------------------
2498 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2500 ac_fn_c_check_decl
()
2502 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2503 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2504 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2506 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2507 if eval \
${$3+:} false
; then :
2508 $as_echo_n "(cached) " >&6
2510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2511 /* end confdefs.h. */
2516 #ifndef $as_decl_name
2518 (void) $as_decl_use;
2520 (void) $as_decl_name;
2528 if ac_fn_c_try_compile
"$LINENO"; then :
2533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2537 $as_echo "$ac_res" >&6; }
2538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2540 } # ac_fn_c_check_decl
2542 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2543 # -------------------------------------------
2544 # Tests whether TYPE exists after having included INCLUDES, setting cache
2545 # variable VAR accordingly.
2546 ac_fn_c_check_type
()
2548 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2550 $as_echo_n "checking for $2... " >&6; }
2551 if eval \
${$3+:} false
; then :
2552 $as_echo_n "(cached) " >&6
2555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2556 /* end confdefs.h. */
2567 if ac_fn_c_try_compile
"$LINENO"; then :
2568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2569 /* end confdefs.h. */
2580 if ac_fn_c_try_compile
"$LINENO"; then :
2585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2591 $as_echo "$ac_res" >&6; }
2592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2594 } # ac_fn_c_check_type
2595 cat >config.log
<<_ACEOF
2596 This file contains any messages produced by compilers while
2597 running configure, to aid debugging if configure makes a mistake.
2599 It was created by sim $as_me 0, which was
2600 generated by GNU Autoconf 2.69. Invocation command line was
2612 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2613 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2614 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2615 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2616 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2618 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2619 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2621 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2622 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2623 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2624 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2625 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2626 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2627 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2635 test -z "$as_dir" && as_dir
=.
2636 $as_echo "PATH: $as_dir"
2652 # Keep a trace of the command line.
2653 # Strip out --no-create and --no-recursion so they do not pile up.
2654 # Strip out --silent because we don't want to record it for future runs.
2655 # Also quote any args containing shell meta-characters.
2656 # Make two passes to allow for proper duplicate-argument suppression.
2660 ac_must_keep_next
=false
2666 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2667 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2668 |
-silent |
--silent |
--silen |
--sile |
--sil)
2671 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2674 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2676 as_fn_append ac_configure_args1
" '$ac_arg'"
2677 if test $ac_must_keep_next = true
; then
2678 ac_must_keep_next
=false
# Got value, back to normal.
2681 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2682 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2683 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2684 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2685 case "$ac_configure_args0 " in
2686 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2689 -* ) ac_must_keep_next
=true
;;
2692 as_fn_append ac_configure_args
" '$ac_arg'"
2697 { ac_configure_args0
=; unset ac_configure_args0
;}
2698 { ac_configure_args1
=; unset ac_configure_args1
;}
2700 # When interrupted or exit'd, cleanup temporary files, and complete
2701 # config.log. We remove comments because anyway the quotes in there
2702 # would cause problems or look ugly.
2703 # WARNING: Use '\'' to represent an apostrophe within the trap.
2704 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2705 trap 'exit_status=$?
2706 # Save into config.log some information that might help in debugging.
2710 $as_echo "## ---------------- ##
2711 ## Cache variables. ##
2712 ## ---------------- ##"
2714 # The following way of writing the cache mishandles newlines in values,
2716 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2717 eval ac_val=\$$ac_var
2721 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2722 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2725 _ | IFS | as_nl) ;; #(
2726 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2727 *) { eval $ac_var=; unset $ac_var;} ;;
2732 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2733 *${as_nl}ac_space=\ *)
2735 "s/'\''/'\''\\\\'\'''\''/g;
2736 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2739 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2746 $as_echo "## ----------------- ##
2747 ## Output variables. ##
2748 ## ----------------- ##"
2750 for ac_var in $ac_subst_vars
2752 eval ac_val=\$$ac_var
2754 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2756 $as_echo "$ac_var='\''$ac_val'\''"
2760 if test -n "$ac_subst_files"; then
2761 $as_echo "## ------------------- ##
2762 ## File substitutions. ##
2763 ## ------------------- ##"
2765 for ac_var
in $ac_subst_files
2767 eval ac_val
=\$
$ac_var
2769 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2771 $as_echo "$ac_var='\''$ac_val'\''"
2776 if test -s confdefs.h; then
2777 $as_echo "## ----------- ##
2784 test "$ac_signal" != 0 &&
2785 $as_echo "$as_me: caught signal $ac_signal"
2786 $as_echo "$as_me: exit $exit_status"
2788 rm -f core *.core core.conftest.* &&
2789 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2792 for ac_signal
in 1 2 13 15; do
2793 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2797 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2798 rm -f -r conftest
* confdefs.h
2800 $as_echo "/* confdefs.h */" > confdefs.h
2802 # Predefined preprocessor variables.
2804 cat >>confdefs.h
<<_ACEOF
2805 #define PACKAGE_NAME "$PACKAGE_NAME"
2808 cat >>confdefs.h
<<_ACEOF
2809 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2812 cat >>confdefs.h
<<_ACEOF
2813 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2816 cat >>confdefs.h
<<_ACEOF
2817 #define PACKAGE_STRING "$PACKAGE_STRING"
2820 cat >>confdefs.h
<<_ACEOF
2821 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2824 cat >>confdefs.h
<<_ACEOF
2825 #define PACKAGE_URL "$PACKAGE_URL"
2829 # Let the site file select an alternate cache file if it wants to.
2830 # Prefer an explicitly selected file to automatically selected ones.
2833 if test -n "$CONFIG_SITE"; then
2834 # We do not want a PATH search for config.site.
2835 case $CONFIG_SITE in #((
2836 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2837 */*) ac_site_file1
=$CONFIG_SITE;;
2838 *) ac_site_file1
=.
/$CONFIG_SITE;;
2840 elif test "x$prefix" != xNONE
; then
2841 ac_site_file1
=$prefix/share
/config.site
2842 ac_site_file2
=$prefix/etc
/config.site
2844 ac_site_file1
=$ac_default_prefix/share
/config.site
2845 ac_site_file2
=$ac_default_prefix/etc
/config.site
2847 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2849 test "x$ac_site_file" = xNONE
&& continue
2850 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2852 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2853 sed 's/^/| /' "$ac_site_file" >&5
2855 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2857 as_fn_error $?
"failed to load site script $ac_site_file
2858 See \`config.log' for more details" "$LINENO" 5; }
2862 if test -r "$cache_file"; then
2863 # Some versions of bash will fail to source /dev/null (special files
2864 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2865 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2867 $as_echo "$as_me: loading cache $cache_file" >&6;}
2869 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2870 *) .
"./$cache_file";;
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2875 $as_echo "$as_me: creating cache $cache_file" >&6;}
2879 as_fn_append ac_header_list
" dlfcn.h"
2880 as_fn_append ac_header_list
" fcntl.h"
2881 as_fn_append ac_header_list
" fpu_control.h"
2882 as_fn_append ac_header_list
" termios.h"
2883 as_fn_append ac_header_list
" unistd.h"
2884 as_fn_append ac_header_list
" utime.h"
2885 as_fn_append ac_header_list
" linux/if_tun.h"
2886 as_fn_append ac_header_list
" linux/mii.h"
2887 as_fn_append ac_header_list
" linux/types.h"
2888 as_fn_append ac_header_list
" net/if.h"
2889 as_fn_append ac_header_list
" netinet/in.h"
2890 as_fn_append ac_header_list
" netinet/tcp.h"
2891 as_fn_append ac_header_list
" sys/ioctl.h"
2892 as_fn_append ac_header_list
" sys/mman.h"
2893 as_fn_append ac_header_list
" sys/mount.h"
2894 as_fn_append ac_header_list
" sys/param.h"
2895 as_fn_append ac_header_list
" sys/resource.h"
2896 as_fn_append ac_header_list
" sys/socket.h"
2897 as_fn_append ac_header_list
" sys/stat.h"
2898 as_fn_append ac_header_list
" sys/statfs.h"
2899 as_fn_append ac_header_list
" sys/termio.h"
2900 as_fn_append ac_header_list
" sys/termios.h"
2901 as_fn_append ac_header_list
" sys/types.h"
2902 as_fn_append ac_header_list
" sys/vfs.h"
2903 as_fn_append ac_func_list
" __setfpucw"
2904 as_fn_append ac_func_list
" access"
2905 as_fn_append ac_func_list
" aint"
2906 as_fn_append ac_func_list
" anint"
2907 as_fn_append ac_func_list
" cfgetispeed"
2908 as_fn_append ac_func_list
" cfgetospeed"
2909 as_fn_append ac_func_list
" cfsetispeed"
2910 as_fn_append ac_func_list
" cfsetospeed"
2911 as_fn_append ac_func_list
" chdir"
2912 as_fn_append ac_func_list
" chmod"
2913 as_fn_append ac_func_list
" dup"
2914 as_fn_append ac_func_list
" dup2"
2915 as_fn_append ac_func_list
" execv"
2916 as_fn_append ac_func_list
" execve"
2917 as_fn_append ac_func_list
" fcntl"
2918 as_fn_append ac_func_list
" fork"
2919 as_fn_append ac_func_list
" fstat"
2920 as_fn_append ac_func_list
" fstatfs"
2921 as_fn_append ac_func_list
" ftruncate"
2922 as_fn_append ac_func_list
" getdirentries"
2923 as_fn_append ac_func_list
" getegid"
2924 as_fn_append ac_func_list
" geteuid"
2925 as_fn_append ac_func_list
" getgid"
2926 as_fn_append ac_func_list
" getpid"
2927 as_fn_append ac_func_list
" getppid"
2928 as_fn_append ac_func_list
" getrusage"
2929 as_fn_append ac_func_list
" gettimeofday"
2930 as_fn_append ac_func_list
" getuid"
2931 as_fn_append ac_func_list
" ioctl"
2932 as_fn_append ac_func_list
" kill"
2933 as_fn_append ac_func_list
" link"
2934 as_fn_append ac_func_list
" lseek"
2935 as_fn_append ac_func_list
" mmap"
2936 as_fn_append ac_func_list
" munmap"
2937 as_fn_append ac_func_list
" pipe"
2938 as_fn_append ac_func_list
" posix_fallocate"
2939 as_fn_append ac_func_list
" pread"
2940 as_fn_append ac_func_list
" rmdir"
2941 as_fn_append ac_func_list
" setregid"
2942 as_fn_append ac_func_list
" setreuid"
2943 as_fn_append ac_func_list
" setgid"
2944 as_fn_append ac_func_list
" setuid"
2945 as_fn_append ac_func_list
" sigaction"
2946 as_fn_append ac_func_list
" sigprocmask"
2947 as_fn_append ac_func_list
" sqrt"
2948 as_fn_append ac_func_list
" stat"
2949 as_fn_append ac_func_list
" strsignal"
2950 as_fn_append ac_func_list
" symlink"
2951 as_fn_append ac_func_list
" tcdrain"
2952 as_fn_append ac_func_list
" tcflow"
2953 as_fn_append ac_func_list
" tcflush"
2954 as_fn_append ac_func_list
" tcgetattr"
2955 as_fn_append ac_func_list
" tcgetpgrp"
2956 as_fn_append ac_func_list
" tcsendbreak"
2957 as_fn_append ac_func_list
" tcsetattr"
2958 as_fn_append ac_func_list
" tcsetpgrp"
2959 as_fn_append ac_func_list
" time"
2960 as_fn_append ac_func_list
" truncate"
2961 as_fn_append ac_func_list
" umask"
2962 as_fn_append ac_func_list
" unlink"
2963 as_fn_append ac_func_list
" utime"
2964 # Check that the precious variables saved in the cache have kept the same
2966 ac_cache_corrupted
=false
2967 for ac_var
in $ac_precious_vars; do
2968 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2969 eval ac_new_set
=\
$ac_env_${ac_var}_set
2970 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2971 eval ac_new_val
=\
$ac_env_${ac_var}_value
2972 case $ac_old_set,$ac_new_set in
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2975 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2976 ac_cache_corrupted
=: ;;
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2979 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2980 ac_cache_corrupted
=: ;;
2983 if test "x$ac_old_val" != "x$ac_new_val"; then
2984 # differences in whitespace do not lead to failure.
2985 ac_old_val_w
=`echo x $ac_old_val`
2986 ac_new_val_w
=`echo x $ac_new_val`
2987 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2989 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2990 ac_cache_corrupted
=:
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2993 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2994 eval $ac_var=\
$ac_old_val
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2997 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2999 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3002 # Pass precious variables to config.status.
3003 if test "$ac_new_set" = set; then
3005 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3006 *) ac_arg
=$ac_var=$ac_new_val ;;
3008 case " $ac_configure_args " in
3009 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3010 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3014 if $ac_cache_corrupted; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3018 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3019 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3021 ## -------------------- ##
3022 ## Main body of script. ##
3023 ## -------------------- ##
3026 ac_cpp
='$CPP $CPPFLAGS'
3027 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3028 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3029 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3038 # Check whether --with-pkgversion was given.
3039 if test "${with_pkgversion+set}" = set; then :
3040 withval
=$with_pkgversion; case "$withval" in
3041 yes) as_fn_error $?
"package version not specified" "$LINENO" 5 ;;
3043 *) PKGVERSION
="($withval) " ;;
3053 cat >>confdefs.h
<<_ACEOF
3054 #define PKGVERSION "$PKGVERSION"
3059 # Check whether --with-bugurl was given.
3060 if test "${with_bugurl+set}" = set; then :
3061 withval
=$with_bugurl; case "$withval" in
3062 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
3065 *) BUGURL
="$withval"
3069 BUGURL
="$PACKAGE_BUGREPORT"
3079 REPORT_BUGS_TO
="<$BUGURL>"
3080 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
3087 cat >>confdefs.h
<<_ACEOF
3088 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
3092 ac_config_headers
="$ac_config_headers config.h"
3096 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3097 if test -f "$ac_dir/install-sh"; then
3099 ac_install_sh
="$ac_aux_dir/install-sh -c"
3101 elif test -f "$ac_dir/install.sh"; then
3103 ac_install_sh
="$ac_aux_dir/install.sh -c"
3105 elif test -f "$ac_dir/shtool"; then
3107 ac_install_sh
="$ac_aux_dir/shtool install -c"
3111 if test -z "$ac_aux_dir"; then
3112 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3115 # These three variables are undocumented and unsupported,
3116 # and are intended to be withdrawn in a future Autoconf release.
3117 # They can cause serious problems if a builder's source tree is in a directory
3118 # whose full name contains unusual characters.
3119 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3120 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3121 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3124 # Make sure we can run config.sub.
3125 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3126 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3129 $as_echo_n "checking build system type... " >&6; }
3130 if ${ac_cv_build+:} false
; then :
3131 $as_echo_n "(cached) " >&6
3133 ac_build_alias
=$build_alias
3134 test "x$ac_build_alias" = x
&&
3135 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3136 test "x$ac_build_alias" = x
&&
3137 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3138 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3139 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3143 $as_echo "$ac_cv_build" >&6; }
3144 case $ac_cv_build in
3146 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3149 ac_save_IFS
=$IFS; IFS
='-'
3155 # Remember, the first character of IFS is used to create $*,
3156 # except with old shells:
3159 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3163 $as_echo_n "checking host system type... " >&6; }
3164 if ${ac_cv_host+:} false
; then :
3165 $as_echo_n "(cached) " >&6
3167 if test "x$host_alias" = x
; then
3168 ac_cv_host
=$ac_cv_build
3170 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3171 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3176 $as_echo "$ac_cv_host" >&6; }
3179 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3182 ac_save_IFS
=$IFS; IFS
='-'
3188 # Remember, the first character of IFS is used to create $*,
3189 # except with old shells:
3192 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3196 $as_echo_n "checking target system type... " >&6; }
3197 if ${ac_cv_target+:} false
; then :
3198 $as_echo_n "(cached) " >&6
3200 if test "x$target_alias" = x
; then
3201 ac_cv_target
=$ac_cv_host
3203 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3204 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3209 $as_echo "$ac_cv_target" >&6; }
3210 case $ac_cv_target in
3212 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
3214 target
=$ac_cv_target
3215 ac_save_IFS
=$IFS; IFS
='-'
3221 # Remember, the first character of IFS is used to create $*,
3222 # except with old shells:
3225 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3228 # The aliases save the names the user supplied, while $host etc.
3229 # will get canonicalized.
3230 test -n "$target_alias" &&
3231 test "$program_prefix$program_suffix$program_transform_name" = \
3233 program_prefix
=${target_alias}-
3234 # Expand $ac_aux_dir to an absolute path.
3235 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3238 ac_cpp
='$CPP $CPPFLAGS'
3239 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3240 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3241 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3242 if test -n "$ac_tool_prefix"; then
3243 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3244 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3246 $as_echo_n "checking for $ac_word... " >&6; }
3247 if ${ac_cv_prog_CC+:} false
; then :
3248 $as_echo_n "(cached) " >&6
3250 if test -n "$CC"; then
3251 ac_cv_prog_CC
="$CC" # Let the user override the test.
3253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3257 test -z "$as_dir" && as_dir
=.
3258 for ac_exec_ext
in '' $ac_executable_extensions; do
3259 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3260 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3271 if test -n "$CC"; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3273 $as_echo "$CC" >&6; }
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3281 if test -z "$ac_cv_prog_CC"; then
3283 # Extract the first word of "gcc", so it can be a program name with args.
3284 set dummy gcc
; ac_word
=$2
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3286 $as_echo_n "checking for $ac_word... " >&6; }
3287 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3288 $as_echo_n "(cached) " >&6
3290 if test -n "$ac_ct_CC"; then
3291 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3297 test -z "$as_dir" && as_dir
=.
3298 for ac_exec_ext
in '' $ac_executable_extensions; do
3299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3300 ac_cv_prog_ac_ct_CC
="gcc"
3301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3310 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3311 if test -n "$ac_ct_CC"; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3313 $as_echo "$ac_ct_CC" >&6; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3319 if test "x$ac_ct_CC" = x
; then
3322 case $cross_compiling:$ac_tool_warned in
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3326 ac_tool_warned
=yes ;;
3334 if test -z "$CC"; then
3335 if test -n "$ac_tool_prefix"; then
3336 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3337 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3339 $as_echo_n "checking for $ac_word... " >&6; }
3340 if ${ac_cv_prog_CC+:} false
; then :
3341 $as_echo_n "(cached) " >&6
3343 if test -n "$CC"; then
3344 ac_cv_prog_CC
="$CC" # Let the user override the test.
3346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3350 test -z "$as_dir" && as_dir
=.
3351 for ac_exec_ext
in '' $ac_executable_extensions; do
3352 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3353 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3364 if test -n "$CC"; then
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3366 $as_echo "$CC" >&6; }
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3369 $as_echo "no" >&6; }
3375 if test -z "$CC"; then
3376 # Extract the first word of "cc", so it can be a program name with args.
3377 set dummy cc
; ac_word
=$2
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3379 $as_echo_n "checking for $ac_word... " >&6; }
3380 if ${ac_cv_prog_CC+:} false
; then :
3381 $as_echo_n "(cached) " >&6
3383 if test -n "$CC"; then
3384 ac_cv_prog_CC
="$CC" # Let the user override the test.
3387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3391 test -z "$as_dir" && as_dir
=.
3392 for ac_exec_ext
in '' $ac_executable_extensions; do
3393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3394 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3395 ac_prog_rejected
=yes
3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3406 if test $ac_prog_rejected = yes; then
3407 # We found a bogon in the path, so make sure we never use it.
3408 set dummy
$ac_cv_prog_CC
3410 if test $# != 0; then
3411 # We chose a different compiler from the bogus one.
3412 # However, it has the same basename, so the bogon will be chosen
3413 # first if we set CC to just the basename; use the full file name.
3415 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3421 if test -n "$CC"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3423 $as_echo "$CC" >&6; }
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3431 if test -z "$CC"; then
3432 if test -n "$ac_tool_prefix"; then
3433 for ac_prog
in cl.exe
3435 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3436 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3438 $as_echo_n "checking for $ac_word... " >&6; }
3439 if ${ac_cv_prog_CC+:} false
; then :
3440 $as_echo_n "(cached) " >&6
3442 if test -n "$CC"; then
3443 ac_cv_prog_CC
="$CC" # Let the user override the test.
3445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3449 test -z "$as_dir" && as_dir
=.
3450 for ac_exec_ext
in '' $ac_executable_extensions; do
3451 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3452 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3463 if test -n "$CC"; then
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3465 $as_echo "$CC" >&6; }
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468 $as_echo "no" >&6; }
3472 test -n "$CC" && break
3475 if test -z "$CC"; then
3477 for ac_prog
in cl.exe
3479 # Extract the first word of "$ac_prog", so it can be a program name with args.
3480 set dummy
$ac_prog; ac_word
=$2
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3482 $as_echo_n "checking for $ac_word... " >&6; }
3483 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3484 $as_echo_n "(cached) " >&6
3486 if test -n "$ac_ct_CC"; then
3487 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3493 test -z "$as_dir" && as_dir
=.
3494 for ac_exec_ext
in '' $ac_executable_extensions; do
3495 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3496 ac_cv_prog_ac_ct_CC
="$ac_prog"
3497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3507 if test -n "$ac_ct_CC"; then
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3509 $as_echo "$ac_ct_CC" >&6; }
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3512 $as_echo "no" >&6; }
3516 test -n "$ac_ct_CC" && break
3519 if test "x$ac_ct_CC" = x
; then
3522 case $cross_compiling:$ac_tool_warned in
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3526 ac_tool_warned
=yes ;;
3535 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3537 as_fn_error $?
"no acceptable C compiler found in \$PATH
3538 See \`config.log' for more details" "$LINENO" 5; }
3540 # Provide some information about the compiler.
3541 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3544 for ac_option
in --version -v -V -qversion; do
3545 { { ac_try
="$ac_compiler $ac_option >&5"
3547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3548 *) ac_try_echo=$ac_try;;
3550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3551 $as_echo "$ac_try_echo"; } >&5
3552 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3554 if test -s conftest.err; then
3556 ... rest of stderr output deleted ...
3557 10q' conftest.err >conftest.er1
3558 cat conftest.er1 >&5
3560 rm -f conftest.er1 conftest.err
3561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3562 test $ac_status = 0; }
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3576 ac_clean_files_save=$ac_clean_files
3577 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3578 # Try to create an executable without -o first, disregard a.out.
3579 # It will help us diagnose broken compilers, and finding out an intuition
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3582 $as_echo_n "checking whether the C compiler works... " >&6; }
3583 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3585 # The possible output files:
3586 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3589 for ac_file in $ac_files
3592 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3593 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3598 if { { ac_try="$ac_link_default"
3600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3601 *) ac_try_echo
=$ac_try;;
3603 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3604 $as_echo "$ac_try_echo"; } >&5
3605 (eval "$ac_link_default") 2>&5
3607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3608 test $ac_status = 0; }; then :
3609 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3610 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3611 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3612 # so that the user can short-circuit this test for compilers unknown to
3614 for ac_file
in $ac_files ''
3616 test -f "$ac_file" ||
continue
3618 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3621 # We found the default executable, but exeext='' is most
3625 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3627 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3629 # We set ac_cv_exeext here because the later test for it is not
3630 # safe: cross compilers may not add the suffix if given an `-o'
3631 # argument, so we may need to know it at that point already.
3632 # Even if this section looks crufty: it has the advantage of
3639 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3644 if test -z "$ac_file"; then :
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646 $as_echo "no" >&6; }
3647 $as_echo "$as_me: failed program was:" >&5
3648 sed 's/^/| /' conftest.
$ac_ext >&5
3650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3652 as_fn_error
77 "C compiler cannot create executables
3653 See \`config.log' for more details" "$LINENO" 5; }
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3656 $as_echo "yes" >&6; }
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3659 $as_echo_n "checking for C compiler default output file name... " >&6; }
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3661 $as_echo "$ac_file" >&6; }
3662 ac_exeext
=$ac_cv_exeext
3664 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3665 ac_clean_files
=$ac_clean_files_save
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3667 $as_echo_n "checking for suffix of executables... " >&6; }
3668 if { { ac_try
="$ac_link"
3670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3671 *) ac_try_echo=$ac_try;;
3673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3674 $as_echo "$ac_try_echo"; } >&5
3675 (eval "$ac_link") 2>&5
3677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3678 test $ac_status = 0; }; then :
3679 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3680 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3681 # work properly (i.e., refer to `conftest.exe'), while it won't with
3683 for ac_file
in conftest.exe conftest conftest.
*; do
3684 test -f "$ac_file" ||
continue
3686 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3687 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3695 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3696 See \`config.log' for more details" "$LINENO" 5; }
3698 rm -f conftest conftest
$ac_cv_exeext
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3700 $as_echo "$ac_cv_exeext" >&6; }
3702 rm -f conftest.
$ac_ext
3703 EXEEXT
=$ac_cv_exeext
3705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3711 FILE *f = fopen ("conftest.out", "w");
3712 return ferror (f) || fclose (f) != 0;
3718 ac_clean_files
="$ac_clean_files conftest.out"
3719 # Check that the compiler produces executables we can run. If not, either
3720 # the compiler is broken, or we cross compile.
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3722 $as_echo_n "checking whether we are cross compiling... " >&6; }
3723 if test "$cross_compiling" != yes; then
3724 { { ac_try
="$ac_link"
3726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3727 *) ac_try_echo=$ac_try;;
3729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3730 $as_echo "$ac_try_echo"; } >&5
3731 (eval "$ac_link") 2>&5
3733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3734 test $ac_status = 0; }
3735 if { ac_try='./conftest$ac_cv_exeext'
3736 { { case "(($ac_try" in
3737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3738 *) ac_try_echo
=$ac_try;;
3740 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3741 $as_echo "$ac_try_echo"; } >&5
3742 (eval "$ac_try") 2>&5
3744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3745 test $ac_status = 0; }; }; then
3748 if test "$cross_compiling" = maybe
; then
3751 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3753 as_fn_error $?
"cannot run C compiled programs.
3754 If you meant to cross compile, use \`--host'.
3755 See \`config.log' for more details" "$LINENO" 5; }
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3760 $as_echo "$cross_compiling" >&6; }
3762 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3763 ac_clean_files
=$ac_clean_files_save
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3765 $as_echo_n "checking for suffix of object files... " >&6; }
3766 if ${ac_cv_objext+:} false
; then :
3767 $as_echo_n "(cached) " >&6
3769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3770 /* end confdefs.h. */
3780 rm -f conftest.o conftest.obj
3781 if { { ac_try
="$ac_compile"
3783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3784 *) ac_try_echo=$ac_try;;
3786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3787 $as_echo "$ac_try_echo"; } >&5
3788 (eval "$ac_compile") 2>&5
3790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3791 test $ac_status = 0; }; then :
3792 for ac_file in conftest.o conftest.obj conftest.*; do
3793 test -f "$ac_file" || continue;
3795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3796 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3801 $as_echo "$as_me: failed program was:" >&5
3802 sed 's/^/| /' conftest.$ac_ext >&5
3804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3806 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3807 See \
`config.log' for more details" "$LINENO" 5; }
3809 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3812 $as_echo "$ac_cv_objext" >&6; }
3813 OBJEXT=$ac_cv_objext
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3816 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3817 if ${ac_cv_c_compiler_gnu+:} false; then :
3818 $as_echo_n "(cached) " >&6
3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h. */
3834 if ac_fn_c_try_compile "$LINENO"; then :
3839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3840 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3844 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3845 if test $ac_compiler_gnu = yes; then
3850 ac_test_CFLAGS=${CFLAGS+set}
3851 ac_save_CFLAGS=$CFLAGS
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3853 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3854 if ${ac_cv_prog_cc_g+:} false; then :
3855 $as_echo_n "(cached) " >&6
3857 ac_save_c_werror_flag=$ac_c_werror_flag
3858 ac_c_werror_flag=yes
3861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3862 /* end confdefs.h. */
3872 if ac_fn_c_try_compile "$LINENO"; then :
3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3887 if ac_fn_c_try_compile "$LINENO"; then :
3890 ac_c_werror_flag=$ac_save_c_werror_flag
3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h. */
3903 if ac_fn_c_try_compile "$LINENO"; then :
3906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3911 ac_c_werror_flag=$ac_save_c_werror_flag
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3914 $as_echo "$ac_cv_prog_cc_g" >&6; }
3915 if test "$ac_test_CFLAGS" = set; then
3916 CFLAGS=$ac_save_CFLAGS
3917 elif test $ac_cv_prog_cc_g = yes; then
3918 if test "$GCC" = yes; then
3924 if test "$GCC" = yes; then
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3931 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3932 if ${ac_cv_prog_cc_c89+:} false; then :
3933 $as_echo_n "(cached) " >&6
3935 ac_cv_prog_cc_c89=no
3937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3942 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3943 struct buf { int x; };
3944 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3945 static char *e (p, i)
3951 static char *f (char * (*g) (char **, int), char **p, ...)
3956 s = g (p, va_arg (v,int));
3961 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3962 function prototypes and stuff, but not '\xHH' hex character constants.
3963 These don't provoke an error unfortunately, instead are silently treated
3964 as 'x'. The following induces an error, until -std is added to get
3965 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3966 array size at least. It's necessary to write '\x00'==0 to get something
3967 that's true only with -std. */
3968 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3970 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3971 inside strings and character constants. */
3973 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3975 int test (int i, double x);
3976 struct s1 {int (*f) (int a);};
3977 struct s2 {int (*f) (double a);};
3978 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3984 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3989 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3990 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3992 CC="$ac_save_CC $ac_arg"
3993 if ac_fn_c_try_compile "$LINENO"; then :
3994 ac_cv_prog_cc_c89=$ac_arg
3996 rm -f core conftest.err conftest.$ac_objext
3997 test "x$ac_cv_prog_cc_c89" != "xno" && break
3999 rm -f conftest.$ac_ext
4004 case "x$ac_cv_prog_cc_c89" in
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4007 $as_echo "none needed" >&6; } ;;
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4010 $as_echo "unsupported" >&6; } ;;
4012 CC="$CC $ac_cv_prog_cc_c89"
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4014 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4016 if test "x$ac_cv_prog_cc_c89" != xno; then :
4021 ac_cpp='$CPP $CPPFLAGS'
4022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4027 ac_cpp='$CPP $CPPFLAGS'
4028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4032 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4033 if ${am_cv_prog_cc_c_o+:} false; then :
4034 $as_echo_n "(cached) " >&6
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4047 # Make sure it works both with $CC and with simple cc.
4048 # Following AC_PROG_CC_C_O, we do the test twice because some
4049 # compilers refuse to overwrite an existing .o file with -o,
4050 # though they will create one.
4051 am_cv_prog_cc_c_o=yes
4053 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4054 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); } \
4058 && test -f conftest2.$ac_objext; then
4061 am_cv_prog_cc_c_o=no
4065 rm -f core conftest*
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4069 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4070 if test "$am_cv_prog_cc_c_o" != yes; then
4071 # Losing compiler, so override with the script.
4072 # FIXME: It is wrong to rewrite CC.
4073 # But if we don't then we get into trouble of one sort or another.
4074 # A longer-term fix would be to have automake use am__CC in this case,
4075 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4076 CC="$am_aux_dir/compile $CC"
4079 ac_cpp='$CPP $CPPFLAGS'
4080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4087 ac_cpp='$CPP $CPPFLAGS'
4088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4092 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4093 # On Suns, sometimes $CPP names a directory.
4094 if test -n "$CPP" && test -d "$CPP"; then
4097 if test -z "$CPP"; then
4098 if ${ac_cv_prog_CPP+:} false; then :
4099 $as_echo_n "(cached) " >&6
4101 # Double quotes because CPP needs to be expanded
4102 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4105 for ac_c_preproc_warn_flag in '' yes
4107 # Use a header file that comes with gcc, so configuring glibc
4108 # with a fresh cross-compiler works.
4109 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4110 # <limits.h> exists even on freestanding compilers.
4111 # On the NeXT, cc -E runs the code through the compiler's parser,
4112 # not just through cpp. "Syntax error" is here to catch this case.
4113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4114 /* end confdefs.h. */
4116 # include <limits.h>
4118 # include <assert.h>
4122 if ac_fn_c_try_cpp "$LINENO"; then :
4125 # Broken: fails on valid input.
4128 rm -f conftest.err conftest.i conftest.$ac_ext
4130 # OK, works on sane cases. Now check whether nonexistent headers
4131 # can be detected and how.
4132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4133 /* end confdefs.h. */
4134 #include <ac_nonexistent.h>
4136 if ac_fn_c_try_cpp "$LINENO"; then :
4137 # Broken: success on invalid input.
4140 # Passes both tests.
4144 rm -f conftest.err conftest.i conftest.$ac_ext
4147 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4148 rm -f conftest.i conftest.err conftest.
$ac_ext
4149 if $ac_preproc_ok; then :
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4162 $as_echo "$CPP" >&6; }
4164 for ac_c_preproc_warn_flag
in '' yes
4166 # Use a header file that comes with gcc, so configuring glibc
4167 # with a fresh cross-compiler works.
4168 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4169 # <limits.h> exists even on freestanding compilers.
4170 # On the NeXT, cc -E runs the code through the compiler's parser,
4171 # not just through cpp. "Syntax error" is here to catch this case.
4172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4175 # include <limits.h>
4177 # include <assert.h>
4181 if ac_fn_c_try_cpp
"$LINENO"; then :
4184 # Broken: fails on valid input.
4187 rm -f conftest.err conftest.i conftest.
$ac_ext
4189 # OK, works on sane cases. Now check whether nonexistent headers
4190 # can be detected and how.
4191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4193 #include <ac_nonexistent.h>
4195 if ac_fn_c_try_cpp
"$LINENO"; then :
4196 # Broken: success on invalid input.
4199 # Passes both tests.
4203 rm -f conftest.err conftest.i conftest.
$ac_ext
4206 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4207 rm -f conftest.i conftest.err conftest.
$ac_ext
4208 if $ac_preproc_ok; then :
4211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4213 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4214 See \`config.log' for more details" "$LINENO" 5; }
4218 ac_cpp
='$CPP $CPPFLAGS'
4219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4225 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4226 if ${ac_cv_path_GREP+:} false
; then :
4227 $as_echo_n "(cached) " >&6
4229 if test -z "$GREP"; then
4230 ac_path_GREP_found
=false
4231 # Loop through the user's path and test for each of PROGNAME-LIST
4232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4233 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4236 test -z "$as_dir" && as_dir
=.
4237 for ac_prog
in grep ggrep
; do
4238 for ac_exec_ext
in '' $ac_executable_extensions; do
4239 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4240 as_fn_executable_p
"$ac_path_GREP" ||
continue
4241 # Check for GNU ac_path_GREP and select it if it is found.
4242 # Check for GNU $ac_path_GREP
4243 case `"$ac_path_GREP" --version 2>&1` in
4245 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4248 $as_echo_n 0123456789 >"conftest.in"
4251 cat "conftest.in" "conftest.in" >"conftest.tmp"
4252 mv "conftest.tmp" "conftest.in"
4253 cp "conftest.in" "conftest.nl"
4254 $as_echo 'GREP' >> "conftest.nl"
4255 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4256 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4257 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4258 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4259 # Best one so far, save it but keep looking for a better one
4260 ac_cv_path_GREP
="$ac_path_GREP"
4261 ac_path_GREP_max
=$ac_count
4263 # 10*(2^10) chars as input seems more than enough
4264 test $ac_count -gt 10 && break
4266 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4269 $ac_path_GREP_found && break 3
4274 if test -z "$ac_cv_path_GREP"; then
4275 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4278 ac_cv_path_GREP
=$GREP
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4283 $as_echo "$ac_cv_path_GREP" >&6; }
4284 GREP
="$ac_cv_path_GREP"
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4288 $as_echo_n "checking for egrep... " >&6; }
4289 if ${ac_cv_path_EGREP+:} false
; then :
4290 $as_echo_n "(cached) " >&6
4292 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4293 then ac_cv_path_EGREP
="$GREP -E"
4295 if test -z "$EGREP"; then
4296 ac_path_EGREP_found
=false
4297 # Loop through the user's path and test for each of PROGNAME-LIST
4298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4299 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4302 test -z "$as_dir" && as_dir
=.
4303 for ac_prog
in egrep; do
4304 for ac_exec_ext
in '' $ac_executable_extensions; do
4305 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4306 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4307 # Check for GNU ac_path_EGREP and select it if it is found.
4308 # Check for GNU $ac_path_EGREP
4309 case `"$ac_path_EGREP" --version 2>&1` in
4311 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4314 $as_echo_n 0123456789 >"conftest.in"
4317 cat "conftest.in" "conftest.in" >"conftest.tmp"
4318 mv "conftest.tmp" "conftest.in"
4319 cp "conftest.in" "conftest.nl"
4320 $as_echo 'EGREP' >> "conftest.nl"
4321 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4322 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4323 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4324 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4325 # Best one so far, save it but keep looking for a better one
4326 ac_cv_path_EGREP
="$ac_path_EGREP"
4327 ac_path_EGREP_max
=$ac_count
4329 # 10*(2^10) chars as input seems more than enough
4330 test $ac_count -gt 10 && break
4332 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4335 $ac_path_EGREP_found && break 3
4340 if test -z "$ac_cv_path_EGREP"; then
4341 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4344 ac_cv_path_EGREP
=$EGREP
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4350 $as_echo "$ac_cv_path_EGREP" >&6; }
4351 EGREP
="$ac_cv_path_EGREP"
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4355 $as_echo_n "checking for ANSI C header files... " >&6; }
4356 if ${ac_cv_header_stdc+:} false
; then :
4357 $as_echo_n "(cached) " >&6
4359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4374 if ac_fn_c_try_compile
"$LINENO"; then :
4375 ac_cv_header_stdc
=yes
4377 ac_cv_header_stdc
=no
4379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4381 if test $ac_cv_header_stdc = yes; then
4382 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4384 /* end confdefs.h. */
4388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4389 $EGREP "memchr" >/dev
/null
2>&1; then :
4392 ac_cv_header_stdc
=no
4398 if test $ac_cv_header_stdc = yes; then
4399 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4401 /* end confdefs.h. */
4405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4406 $EGREP "free" >/dev
/null
2>&1; then :
4409 ac_cv_header_stdc
=no
4415 if test $ac_cv_header_stdc = yes; then
4416 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4417 if test "$cross_compiling" = yes; then :
4420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4424 #if ((' ' & 0x0FF) == 0x020)
4425 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4426 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4428 # define ISLOWER(c) \
4429 (('a' <= (c) && (c) <= 'i') \
4430 || ('j' <= (c) && (c) <= 'r') \
4431 || ('s' <= (c) && (c) <= 'z'))
4432 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4435 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4440 for (i = 0; i < 256; i++)
4441 if (XOR (islower (i), ISLOWER (i))
4442 || toupper (i) != TOUPPER (i))
4447 if ac_fn_c_try_run
"$LINENO"; then :
4450 ac_cv_header_stdc
=no
4452 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4453 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4459 $as_echo "$ac_cv_header_stdc" >&6; }
4460 if test $ac_cv_header_stdc = yes; then
4462 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4466 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4467 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4468 inttypes.h stdint.h unistd.h
4470 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4471 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4473 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4474 cat >>confdefs.h
<<_ACEOF
4475 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4484 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4485 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4492 if test "$MINIX" = yes; then
4494 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4497 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4500 $as_echo "#define _MINIX 1" >>confdefs.h
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4506 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4507 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4508 $as_echo_n "(cached) " >&6
4510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h. */
4513 # define __EXTENSIONS__ 1
4514 $ac_includes_default
4523 if ac_fn_c_try_compile
"$LINENO"; then :
4524 ac_cv_safe_to_define___extensions__
=yes
4526 ac_cv_safe_to_define___extensions__
=no
4528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4531 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4532 test $ac_cv_safe_to_define___extensions__ = yes &&
4533 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4535 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4537 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4539 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4541 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4544 test "$program_prefix" != NONE
&&
4545 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4546 # Use a double $ so make ignores it.
4547 test "$program_suffix" != NONE
&&
4548 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4549 # Double any \ or $.
4550 # By default was `s,x,x', remove it if useless.
4551 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4552 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4554 # Find a good install program. We prefer a C program (faster),
4555 # so one script is as good as another. But avoid the broken or
4556 # incompatible versions:
4557 # SysV /etc/install, /usr/sbin/install
4558 # SunOS /usr/etc/install
4559 # IRIX /sbin/install
4561 # AmigaOS /C/install, which installs bootblocks on floppy discs
4562 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4563 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4564 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4565 # OS/2's system install, which has a completely different semantic
4566 # ./install, which can be erroneously created by make from ./install.sh.
4567 # Reject install programs that cannot install multiple files.
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4569 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4570 if test -z "$INSTALL"; then
4571 if ${ac_cv_path_install+:} false
; then :
4572 $as_echo_n "(cached) " >&6
4574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4578 test -z "$as_dir" && as_dir
=.
4579 # Account for people who put trailing slashes in PATH elements.
4580 case $as_dir/ in #((
4581 .
/ | .
// |
/[cC
]/* | \
4582 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4583 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4586 # OSF1 and SCO ODT 3.0 have their own names for install.
4587 # Don't use installbsd from OSF since it installs stuff as root
4589 for ac_prog
in ginstall scoinst
install; do
4590 for ac_exec_ext
in '' $ac_executable_extensions; do
4591 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4592 if test $ac_prog = install &&
4593 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4594 # AIX install. It has an incompatible calling convention.
4596 elif test $ac_prog = install &&
4597 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4598 # program-specific install script used by HP pwplus--don't use.
4601 rm -rf conftest.one conftest.two conftest.dir
4602 echo one
> conftest.one
4603 echo two
> conftest.two
4605 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4606 test -s conftest.one
&& test -s conftest.two
&&
4607 test -s conftest.dir
/conftest.one
&&
4608 test -s conftest.dir
/conftest.two
4610 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4623 rm -rf conftest.one conftest.two conftest.dir
4626 if test "${ac_cv_path_install+set}" = set; then
4627 INSTALL
=$ac_cv_path_install
4629 # As a last resort, use the slow shell script. Don't cache a
4630 # value for INSTALL within a source directory, because that will
4631 # break other packages using the cache if that directory is
4632 # removed, or if the value is a relative name.
4633 INSTALL
=$ac_install_sh
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4637 $as_echo "$INSTALL" >&6; }
4639 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4640 # It thinks the first close brace ends the variable substitution.
4641 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4643 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4645 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4652 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4653 if ${ac_cv_c_bigendian+:} false
; then :
4654 $as_echo_n "(cached) " >&6
4656 ac_cv_c_bigendian
=unknown
4657 # See if we're dealing with a universal compiler.
4658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4660 #ifndef __APPLE_CC__
4661 not a universal capable compiler
4666 if ac_fn_c_try_compile
"$LINENO"; then :
4668 # Check for potential -arch flags. It is not universal unless
4669 # there are at least two -arch flags with different values.
4672 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4673 if test -n "$ac_prev"; then
4675 i?
86 | x86_64 | ppc | ppc64
)
4676 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4679 ac_cv_c_bigendian
=universal
4685 elif test "x$ac_word" = "x-arch"; then
4690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4691 if test $ac_cv_c_bigendian = unknown
; then
4692 # See if sys/param.h defines the BYTE_ORDER macro.
4693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4695 #include <sys/types.h>
4696 #include <sys/param.h>
4701 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4702 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4711 if ac_fn_c_try_compile
"$LINENO"; then :
4712 # It does; now see whether it defined to BIG_ENDIAN or not.
4713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4714 /* end confdefs.h. */
4715 #include <sys/types.h>
4716 #include <sys/param.h>
4721 #if BYTE_ORDER != BIG_ENDIAN
4729 if ac_fn_c_try_compile
"$LINENO"; then :
4730 ac_cv_c_bigendian
=yes
4732 ac_cv_c_bigendian
=no
4734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4738 if test $ac_cv_c_bigendian = unknown
; then
4739 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4747 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4755 if ac_fn_c_try_compile
"$LINENO"; then :
4756 # It does; now see whether it defined to _BIG_ENDIAN or not.
4757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4758 /* end confdefs.h. */
4772 if ac_fn_c_try_compile
"$LINENO"; then :
4773 ac_cv_c_bigendian
=yes
4775 ac_cv_c_bigendian
=no
4777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4781 if test $ac_cv_c_bigendian = unknown
; then
4782 # Compile a test program.
4783 if test "$cross_compiling" = yes; then :
4784 # Try to guess by grepping values from an object file.
4785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4786 /* end confdefs.h. */
4787 short int ascii_mm[] =
4788 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4789 short int ascii_ii[] =
4790 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4791 int use_ascii (int i) {
4792 return ascii_mm[i] + ascii_ii[i];
4794 short int ebcdic_ii[] =
4795 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4796 short int ebcdic_mm[] =
4797 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4798 int use_ebcdic (int i) {
4799 return ebcdic_mm[i] + ebcdic_ii[i];
4806 return use_ascii (foo) == use_ebcdic (foo);
4811 if ac_fn_c_try_compile
"$LINENO"; then :
4812 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4813 ac_cv_c_bigendian
=yes
4815 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4816 if test "$ac_cv_c_bigendian" = unknown
; then
4817 ac_cv_c_bigendian
=no
4819 # finding both strings is unlikely to happen, but who knows?
4820 ac_cv_c_bigendian
=unknown
4824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4827 /* end confdefs.h. */
4828 $ac_includes_default
4833 /* Are we little or big endian? From Harbison&Steele. */
4837 char c[sizeof (long int)];
4840 return u.c[sizeof (long int) - 1] == 1;
4846 if ac_fn_c_try_run
"$LINENO"; then :
4847 ac_cv_c_bigendian
=no
4849 ac_cv_c_bigendian
=yes
4851 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4852 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4858 $as_echo "$ac_cv_c_bigendian" >&6; }
4859 case $ac_cv_c_bigendian in #(
4861 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4867 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4871 as_fn_error $?
"unknown endianness
4872 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4878 if test -n "$ac_tool_prefix"; then
4879 # Extract the first word of "${ac_tool_prefix}dtc", so it can be a program name with args.
4880 set dummy
${ac_tool_prefix}dtc
; ac_word
=$2
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4882 $as_echo_n "checking for $ac_word... " >&6; }
4883 if ${ac_cv_prog_DTC+:} false
; then :
4884 $as_echo_n "(cached) " >&6
4886 if test -n "$DTC"; then
4887 ac_cv_prog_DTC
="$DTC" # Let the user override the test.
4889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4893 test -z "$as_dir" && as_dir
=.
4894 for ac_exec_ext
in '' $ac_executable_extensions; do
4895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4896 ac_cv_prog_DTC
="${ac_tool_prefix}dtc"
4897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4907 if test -n "$DTC"; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTC" >&5
4909 $as_echo "$DTC" >&6; }
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4917 if test -z "$ac_cv_prog_DTC"; then
4919 # Extract the first word of "dtc", so it can be a program name with args.
4920 set dummy dtc
; ac_word
=$2
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4922 $as_echo_n "checking for $ac_word... " >&6; }
4923 if ${ac_cv_prog_ac_ct_DTC+:} false
; then :
4924 $as_echo_n "(cached) " >&6
4926 if test -n "$ac_ct_DTC"; then
4927 ac_cv_prog_ac_ct_DTC
="$ac_ct_DTC" # Let the user override the test.
4929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4933 test -z "$as_dir" && as_dir
=.
4934 for ac_exec_ext
in '' $ac_executable_extensions; do
4935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4936 ac_cv_prog_ac_ct_DTC
="dtc"
4937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4946 ac_ct_DTC
=$ac_cv_prog_ac_ct_DTC
4947 if test -n "$ac_ct_DTC"; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DTC" >&5
4949 $as_echo "$ac_ct_DTC" >&6; }
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4955 if test "x$ac_ct_DTC" = x
; then
4958 case $cross_compiling:$ac_tool_warned in
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4962 ac_tool_warned
=yes ;;
4967 DTC
="$ac_cv_prog_DTC"
4971 if test "x$cross_compiling" = "xno"; then
4972 : "${AR_FOR_BUILD:=\$(AR)}"
4973 : "${CC_FOR_BUILD:=\$(CC)}"
4974 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
4975 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
4976 : "${CPPFLAGS_FOR_BUILD:=\$(CPPFLAGS)}"
4977 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
4979 : "${AR_FOR_BUILD:=ar}"
4980 : "${CC_FOR_BUILD:=gcc}"
4981 : "${RANLIB_FOR_BUILD:=ranlib}"
4982 : "${CFLAGS_FOR_BUILD:=-g -O}"
4983 : "${CPPFLAGS_FOR_BUILD:=}"
4984 : "${LDLFAGS_FOR_BUILD:=}"
4994 if test -n "$ac_tool_prefix"; then
4995 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4996 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if ${ac_cv_prog_AR+:} false
; then :
5000 $as_echo_n "(cached) " >&6
5002 if test -n "$AR"; then
5003 ac_cv_prog_AR
="$AR" # Let the user override the test.
5005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5009 test -z "$as_dir" && as_dir
=.
5010 for ac_exec_ext
in '' $ac_executable_extensions; do
5011 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5012 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5023 if test -n "$AR"; then
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5025 $as_echo "$AR" >&6; }
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5033 if test -z "$ac_cv_prog_AR"; then
5035 # Extract the first word of "ar", so it can be a program name with args.
5036 set dummy
ar; ac_word
=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5040 $as_echo_n "(cached) " >&6
5042 if test -n "$ac_ct_AR"; then
5043 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5049 test -z "$as_dir" && as_dir
=.
5050 for ac_exec_ext
in '' $ac_executable_extensions; do
5051 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5052 ac_cv_prog_ac_ct_AR
="ar"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5062 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5063 if test -n "$ac_ct_AR"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5065 $as_echo "$ac_ct_AR" >&6; }
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5071 if test "x$ac_ct_AR" = x
; then
5074 case $cross_compiling:$ac_tool_warned in
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5078 ac_tool_warned
=yes ;;
5086 if test -n "$ac_tool_prefix"; then
5087 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5088 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090 $as_echo_n "checking for $ac_word... " >&6; }
5091 if ${ac_cv_prog_RANLIB+:} false
; then :
5092 $as_echo_n "(cached) " >&6
5094 if test -n "$RANLIB"; then
5095 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5101 test -z "$as_dir" && as_dir
=.
5102 for ac_exec_ext
in '' $ac_executable_extensions; do
5103 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5104 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 RANLIB
=$ac_cv_prog_RANLIB
5115 if test -n "$RANLIB"; then
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5117 $as_echo "$RANLIB" >&6; }
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5125 if test -z "$ac_cv_prog_RANLIB"; then
5126 ac_ct_RANLIB
=$RANLIB
5127 # Extract the first word of "ranlib", so it can be a program name with args.
5128 set dummy ranlib
; ac_word
=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5132 $as_echo_n "(cached) " >&6
5134 if test -n "$ac_ct_RANLIB"; then
5135 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5141 test -z "$as_dir" && as_dir
=.
5142 for ac_exec_ext
in '' $ac_executable_extensions; do
5143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5144 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5154 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5155 if test -n "$ac_ct_RANLIB"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5157 $as_echo "$ac_ct_RANLIB" >&6; }
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5163 if test "x$ac_ct_RANLIB" = x
; then
5166 case $cross_compiling:$ac_tool_warned in
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5170 ac_tool_warned
=yes ;;
5172 RANLIB
=$ac_ct_RANLIB
5175 RANLIB
="$ac_cv_prog_RANLIB"
5185 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5186 if test -n "$ac_tool_prefix"; then
5187 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5188 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5190 $as_echo_n "checking for $ac_word... " >&6; }
5191 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
5192 $as_echo_n "(cached) " >&6
5196 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5203 test -z "$as_dir" && as_dir
=.
5204 for ac_exec_ext
in '' $ac_executable_extensions; do
5205 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5218 if test -n "$PKG_CONFIG"; then
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5220 $as_echo "$PKG_CONFIG" >&6; }
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5223 $as_echo "no" >&6; }
5228 if test -z "$ac_cv_path_PKG_CONFIG"; then
5229 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5230 # Extract the first word of "pkg-config", so it can be a program name with args.
5231 set dummy pkg-config
; ac_word
=$2
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5233 $as_echo_n "checking for $ac_word... " >&6; }
5234 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
5235 $as_echo_n "(cached) " >&6
5237 case $ac_pt_PKG_CONFIG in
5239 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5246 test -z "$as_dir" && as_dir
=.
5247 for ac_exec_ext
in '' $ac_executable_extensions; do
5248 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5249 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5260 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5261 if test -n "$ac_pt_PKG_CONFIG"; then
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5263 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266 $as_echo "no" >&6; }
5269 if test "x$ac_pt_PKG_CONFIG" = x
; then
5272 case $cross_compiling:$ac_tool_warned in
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5276 ac_tool_warned
=yes ;;
5278 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5281 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5285 if test -n "$PKG_CONFIG"; then
5286 _pkg_min_version
=0.9.0
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5288 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5289 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5291 $as_echo "yes" >&6; }
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5299 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
5300 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
5301 # is C99. So handle it ourselves.
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
5305 $as_echo_n "checking whether C11 is supported by default... " >&6; }
5306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5307 /* end confdefs.h. */
5309 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
5310 # error "C11 support not found"
5314 if ac_fn_c_try_compile
"$LINENO"; then :
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5316 $as_echo "yes" >&6; }
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
5322 $as_echo_n "checking for -std=c11 support... " >&6; }
5325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5328 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
5329 # error "C11 support not found"
5333 if ac_fn_c_try_compile
"$LINENO"; then :
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5336 $as_echo "yes" >&6; }
5338 C_DIALECT
="-std=c11"
5341 as_fn_error $?
"C11 is required" "$LINENO" 5
5343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5351 for ac_header
in $ac_header_list
5353 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5354 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5356 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5357 cat >>confdefs.h
<<_ACEOF
5358 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5416 for ac_func
in $ac_func_list
5418 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5419 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5420 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5421 cat >>confdefs.h
<<_ACEOF
5422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5551 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5552 if ${ac_cv_struct_tm+:} false
; then :
5553 $as_echo_n "(cached) " >&6
5555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5556 /* end confdefs.h. */
5557 #include <sys/types.h>
5564 int *p = &tm.tm_sec;
5570 if ac_fn_c_try_compile
"$LINENO"; then :
5571 ac_cv_struct_tm
=time.h
5573 ac_cv_struct_tm
=sys
/time.h
5575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5578 $as_echo "$ac_cv_struct_tm" >&6; }
5579 if test $ac_cv_struct_tm = sys
/time.h
; then
5581 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
5586 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
5587 if ${ac_cv_type_uid_t+:} false
; then :
5588 $as_echo_n "(cached) " >&6
5590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5591 /* end confdefs.h. */
5592 #include <sys/types.h>
5595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5596 $EGREP "uid_t" >/dev
/null
2>&1; then :
5597 ac_cv_type_uid_t
=yes
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
5605 $as_echo "$ac_cv_type_uid_t" >&6; }
5606 if test $ac_cv_type_uid_t = no
; then
5608 $as_echo "#define uid_t int" >>confdefs.h
5611 $as_echo "#define gid_t int" >>confdefs.h
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5618 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5623 macro_version
='2.2.7a'
5624 macro_revision
='1.3134'
5638 ltmain
="$ac_aux_dir/ltmain.sh"
5640 # Backslashify metacharacters that are still active within
5641 # double-quoted strings.
5642 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5644 # Same as above, but do not quote variable references.
5645 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5647 # Sed substitution to delay expansion of an escaped shell variable in a
5648 # double_quote_subst'ed string.
5649 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5651 # Sed substitution to delay expansion of an escaped single quote.
5652 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5654 # Sed substitution to avoid accidental globbing in evaled expressions
5655 no_glob_subst
='s/\*/\\\*/g'
5657 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5658 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5659 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5662 $as_echo_n "checking how to print strings... " >&6; }
5663 # Test print first, because it will be a builtin if present.
5664 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5665 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5667 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5670 # Use this function as a fallback that always works.
5671 func_fallback_echo ()
5673 eval 'cat <<_LTECHO_EOF
5677 ECHO='func_fallback_echo
'
5680 # func_echo_all arg...
5681 # Invoke $ECHO with all args, space-separated.
5688 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5689 $as_echo "printf" >&6; } ;;
5690 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5691 $as_echo "print -r" >&6; } ;;
5692 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5693 $as_echo "cat" >&6; } ;;
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5710 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5711 if ${ac_cv_path_SED+:} false; then :
5712 $as_echo_n "(cached) " >&6
5714 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5715 for ac_i in 1 2 3 4 5 6 7; do
5716 ac_script="$ac_script$as_nl$ac_script"
5718 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5719 { ac_script=; unset ac_script;}
5720 if test -z "$SED"; then
5721 ac_path_SED_found=false
5722 # Loop through the user's path and
test for each of PROGNAME-LIST
5723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5727 test -z "$as_dir" && as_dir
=.
5728 for ac_prog
in sed gsed
; do
5729 for ac_exec_ext
in '' $ac_executable_extensions; do
5730 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5731 as_fn_executable_p
"$ac_path_SED" ||
continue
5732 # Check for GNU ac_path_SED and select it if it is found.
5733 # Check for GNU $ac_path_SED
5734 case `"$ac_path_SED" --version 2>&1` in
5736 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5739 $as_echo_n 0123456789 >"conftest.in"
5742 cat "conftest.in" "conftest.in" >"conftest.tmp"
5743 mv "conftest.tmp" "conftest.in"
5744 cp "conftest.in" "conftest.nl"
5745 $as_echo '' >> "conftest.nl"
5746 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5747 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5748 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5749 if test $ac_count -gt ${ac_path_SED_max-0}; then
5750 # Best one so far, save it but keep looking for a better one
5751 ac_cv_path_SED
="$ac_path_SED"
5752 ac_path_SED_max
=$ac_count
5754 # 10*(2^10) chars as input seems more than enough
5755 test $ac_count -gt 10 && break
5757 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5760 $ac_path_SED_found && break 3
5765 if test -z "$ac_cv_path_SED"; then
5766 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5774 $as_echo "$ac_cv_path_SED" >&6; }
5775 SED
="$ac_cv_path_SED"
5778 test -z "$SED" && SED
=sed
5779 Xsed
="$SED -e 1s/^X//"
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5792 $as_echo_n "checking for fgrep... " >&6; }
5793 if ${ac_cv_path_FGREP+:} false
; then :
5794 $as_echo_n "(cached) " >&6
5796 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5797 then ac_cv_path_FGREP
="$GREP -F"
5799 if test -z "$FGREP"; then
5800 ac_path_FGREP_found
=false
5801 # Loop through the user's path and test for each of PROGNAME-LIST
5802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5803 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5806 test -z "$as_dir" && as_dir
=.
5807 for ac_prog
in fgrep
; do
5808 for ac_exec_ext
in '' $ac_executable_extensions; do
5809 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5810 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5811 # Check for GNU ac_path_FGREP and select it if it is found.
5812 # Check for GNU $ac_path_FGREP
5813 case `"$ac_path_FGREP" --version 2>&1` in
5815 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5818 $as_echo_n 0123456789 >"conftest.in"
5821 cat "conftest.in" "conftest.in" >"conftest.tmp"
5822 mv "conftest.tmp" "conftest.in"
5823 cp "conftest.in" "conftest.nl"
5824 $as_echo 'FGREP' >> "conftest.nl"
5825 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5826 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5827 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5828 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5829 # Best one so far, save it but keep looking for a better one
5830 ac_cv_path_FGREP
="$ac_path_FGREP"
5831 ac_path_FGREP_max
=$ac_count
5833 # 10*(2^10) chars as input seems more than enough
5834 test $ac_count -gt 10 && break
5836 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5839 $ac_path_FGREP_found && break 3
5844 if test -z "$ac_cv_path_FGREP"; then
5845 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5848 ac_cv_path_FGREP
=$FGREP
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5854 $as_echo "$ac_cv_path_FGREP" >&6; }
5855 FGREP
="$ac_cv_path_FGREP"
5858 test -z "$GREP" && GREP
=grep
5878 # Check whether --with-gnu-ld was given.
5879 if test "${with_gnu_ld+set}" = set; then :
5880 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5886 if test "$GCC" = yes; then
5887 # Check if gcc -print-prog-name=ld gives a path.
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5889 $as_echo_n "checking for ld used by $CC... " >&6; }
5892 # gcc leaves a trailing carriage return which upsets mingw
5893 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5895 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5898 # Accept absolute paths.
5900 re_direlt
='/[^/][^/]*/\.\./'
5901 # Canonicalize the pathname of ld
5902 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5903 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5904 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5906 test -z "$LD" && LD
="$ac_prog"
5909 # If it fails, then pretend we aren't using GCC.
5913 # If it is relative, then search for the first ld in PATH.
5917 elif test "$with_gnu_ld" = yes; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5919 $as_echo_n "checking for GNU ld... " >&6; }
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5922 $as_echo_n "checking for non-GNU ld... " >&6; }
5924 if ${lt_cv_path_LD+:} false
; then :
5925 $as_echo_n "(cached) " >&6
5927 if test -z "$LD"; then
5928 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5929 for ac_dir
in $PATH; do
5931 test -z "$ac_dir" && ac_dir
=.
5932 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5933 lt_cv_path_LD
="$ac_dir/$ac_prog"
5934 # Check to see if the program is GNU ld. I'd rather use --version,
5935 # but apparently some variants of GNU ld only accept -v.
5936 # Break only if it was the GNU/non-GNU ld that we prefer.
5937 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5938 *GNU
* |
*'with BFD'*)
5939 test "$with_gnu_ld" != no
&& break
5942 test "$with_gnu_ld" != yes && break
5949 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5954 if test -n "$LD"; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5956 $as_echo "$LD" >&6; }
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5961 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5963 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5964 if ${lt_cv_prog_gnu_ld+:} false
; then :
5965 $as_echo_n "(cached) " >&6
5967 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5968 case `$LD -v 2>&1 </dev/null` in
5969 *GNU
* |
*'with BFD'*)
5970 lt_cv_prog_gnu_ld
=yes
5973 lt_cv_prog_gnu_ld
=no
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5978 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5979 with_gnu_ld
=$lt_cv_prog_gnu_ld
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5990 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5991 if ${lt_cv_path_NM+:} false
; then :
5992 $as_echo_n "(cached) " >&6
5994 if test -n "$NM"; then
5995 # Let the user override the nm to test.
5996 lt_nm_to_check
="$NM"
5998 lt_nm_to_check
="${ac_tool_prefix}nm"
5999 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6000 lt_nm_to_check
="$lt_nm_to_check nm"
6003 for lt_tmp_nm
in "$lt_nm_to_check"; do
6004 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6005 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6007 test -z "$ac_dir" && ac_dir
=.
6008 # Strip out any user-provided options from the nm to test twice,
6009 # the first time to test to see if nm (rather than its options) has
6010 # an explicit path, the second time to yield a file which can be
6012 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
6013 case "$tmp_nm_path" in
6014 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
6015 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
6017 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
6018 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
6019 # Check to see if the nm accepts a BSD-compat flag.
6020 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6021 # nm: unknown option "B" ignored
6022 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6023 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
6027 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6029 lt_cv_path_NM
="$tmp_nm -p"
6033 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6034 continue # so that we can try to find one that supports BSD flags
6043 : ${lt_cv_path_NM=no}
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6046 $as_echo "$lt_cv_path_NM" >&6; }
6047 if test "$lt_cv_path_NM" != "no"; then
6050 # Didn't find any BSD compatible name lister, look for dumpbin.
6051 if test -n "$DUMPBIN"; then :
6052 # Let the user override the test.
6054 if test -n "$ac_tool_prefix"; then
6055 for ac_prog
in dumpbin
"link -dump"
6057 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6058 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6062 $as_echo_n "(cached) " >&6
6064 if test -n "$DUMPBIN"; then
6065 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6071 test -z "$as_dir" && as_dir
=.
6072 for ac_exec_ext
in '' $ac_executable_extensions; do
6073 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 DUMPBIN
=$ac_cv_prog_DUMPBIN
6085 if test -n "$DUMPBIN"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6087 $as_echo "$DUMPBIN" >&6; }
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6094 test -n "$DUMPBIN" && break
6097 if test -z "$DUMPBIN"; then
6098 ac_ct_DUMPBIN
=$DUMPBIN
6099 for ac_prog
in dumpbin
"link -dump"
6101 # Extract the first word of "$ac_prog", so it can be a program name with args.
6102 set dummy
$ac_prog; ac_word
=$2
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6104 $as_echo_n "checking for $ac_word... " >&6; }
6105 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6106 $as_echo_n "(cached) " >&6
6108 if test -n "$ac_ct_DUMPBIN"; then
6109 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6115 test -z "$as_dir" && as_dir
=.
6116 for ac_exec_ext
in '' $ac_executable_extensions; do
6117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6118 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6128 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6129 if test -n "$ac_ct_DUMPBIN"; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6131 $as_echo "$ac_ct_DUMPBIN" >&6; }
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6134 $as_echo "no" >&6; }
6138 test -n "$ac_ct_DUMPBIN" && break
6141 if test "x$ac_ct_DUMPBIN" = x
; then
6144 case $cross_compiling:$ac_tool_warned in
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6148 ac_tool_warned
=yes ;;
6150 DUMPBIN
=$ac_ct_DUMPBIN
6154 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6156 DUMPBIN
="$DUMPBIN -symbols"
6164 if test "$DUMPBIN" != ":"; then
6168 test -z "$NM" && NM
=nm
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6176 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6177 if ${lt_cv_nm_interface+:} false
; then :
6178 $as_echo_n "(cached) " >&6
6180 lt_cv_nm_interface
="BSD nm"
6181 echo "int some_variable = 0;" > conftest.
$ac_ext
6182 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6183 (eval "$ac_compile" 2>conftest.err
)
6184 cat conftest.err
>&5
6185 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6186 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6187 cat conftest.err
>&5
6188 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6189 cat conftest.out
>&5
6190 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6191 lt_cv_nm_interface
="MS dumpbin"
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6196 $as_echo "$lt_cv_nm_interface" >&6; }
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6199 $as_echo_n "checking whether ln -s works... " >&6; }
6201 if test "$LN_S" = "ln -s"; then
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6203 $as_echo "yes" >&6; }
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6206 $as_echo "no, using $LN_S" >&6; }
6209 # find the maximum length of command line arguments
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6211 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6212 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6213 $as_echo_n "(cached) " >&6
6220 # On DJGPP, this test can blow up pretty badly due to problems in libc
6221 # (any single argument exceeding 2000 bytes causes a buffer overrun
6222 # during glob expansion). Even if it were fixed, the result of this
6223 # check would be larger than it should be.
6224 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6228 # Under GNU Hurd, this test is not required because there is
6229 # no limit to the length of command line arguments.
6230 # Libtool will interpret -1 as no limit whatsoever
6231 lt_cv_sys_max_cmd_len
=-1;
6234 cygwin
* | mingw
* | cegcc
*)
6235 # On Win9x/ME, this test blows up -- it succeeds, but takes
6236 # about 5 minutes as the teststring grows exponentially.
6237 # Worse, since 9x/ME are not pre-emptively multitasking,
6238 # you end up with a "frozen" computer, even though with patience
6239 # the test eventually succeeds (with a max line length of 256k).
6240 # Instead, let's just punt: use the minimum linelength reported by
6241 # all of the supported platforms: 8192 (on NT/2K/XP).
6242 lt_cv_sys_max_cmd_len
=8192;
6246 # On MiNT this can take a long time and run out of memory.
6247 lt_cv_sys_max_cmd_len
=8192;
6251 # On AmigaOS with pdksh, this test takes hours, literally.
6252 # So we just punt and use a minimum line length of 8192.
6253 lt_cv_sys_max_cmd_len
=8192;
6256 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6257 # This has been around since 386BSD, at least. Likely further.
6258 if test -x /sbin
/sysctl
; then
6259 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6260 elif test -x /usr
/sbin
/sysctl
; then
6261 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6263 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6265 # And add a safety zone
6266 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6267 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6271 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6272 lt_cv_sys_max_cmd_len
=196608
6276 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6277 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6278 # nice to cause kernel panics so lets avoid the loop below.
6279 # First set a reasonable default.
6280 lt_cv_sys_max_cmd_len
=16384
6282 if test -x /sbin
/sysconfig
; then
6283 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6284 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6289 lt_cv_sys_max_cmd_len
=102400
6291 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6292 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6293 if test -n "$kargmax"; then
6294 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6296 lt_cv_sys_max_cmd_len
=32768
6300 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6301 if test -n "$lt_cv_sys_max_cmd_len"; then
6302 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6303 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6305 # Make teststring a little bigger before we do anything with it.
6306 # a 1K string should be a reasonable start.
6307 for i
in 1 2 3 4 5 6 7 8 ; do
6308 teststring
=$teststring$teststring
6310 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6311 # If test is not a shell built-in, we'll probably end up computing a
6312 # maximum length that is only half of the actual maximum length, but
6314 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6315 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6316 test $i != 17 # 1/2 MB should be enough
6319 teststring
=$teststring$teststring
6321 # Only check the string length outside the loop.
6322 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6324 # Add a significant safety factor because C++ compilers can tack on
6325 # massive amounts of additional arguments before passing them to the
6326 # linker. It appears as though 1/2 is a usable value.
6327 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6334 if test -n $lt_cv_sys_max_cmd_len ; then
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6336 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6339 $as_echo "none" >&6; }
6341 max_cmd_len
=$lt_cv_sys_max_cmd_len
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6353 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6354 # Try some XSI features
6357 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6359 && eval 'test $(( 1 + 1 )) -eq 2 \
6360 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6363 $as_echo "$xsi_shell" >&6; }
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6367 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6369 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6371 && lt_shell_append=yes
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6373 $as_echo "$lt_shell_append" >&6; }
6376 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6386 # test EBCDIC or ASCII
6387 case `echo X|tr X '\101'` in
6388 A) # ASCII based system
6389 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6390 lt_SP2NL='tr \040 \012'
6391 lt_NL2SP='tr \015\012 \040\040'
6393 *) # EBCDIC based system
6394 lt_SP2NL='tr \100 \n'
6395 lt_NL2SP='tr \r\n \100\100'
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6408 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6409 if ${lt_cv_ld_reload_flag+:} false; then :
6410 $as_echo_n "(cached
) " >&6
6412 lt_cv_ld_reload_flag='-r'
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6415 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6416 reload_flag=$lt_cv_ld_reload_flag
6417 case $reload_flag in
6419 *) reload_flag=" $reload_flag" ;;
6421 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6424 if test "$GCC" = yes; then
6425 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6427 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6440 if test -n "$ac_tool_prefix"; then
6441 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6442 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6444 $as_echo_n "checking
for $ac_word...
" >&6; }
6445 if ${ac_cv_prog_OBJDUMP+:} false; then :
6446 $as_echo_n "(cached
) " >&6
6448 if test -n "$OBJDUMP"; then
6449 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455 test -z "$as_dir" && as_dir=.
6456 for ac_exec_ext in '' $ac_executable_extensions; do
6457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6458 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6459 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6468 OBJDUMP=$ac_cv_prog_OBJDUMP
6469 if test -n "$OBJDUMP"; then
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6471 $as_echo "$OBJDUMP" >&6; }
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6474 $as_echo "no
" >&6; }
6479 if test -z "$ac_cv_prog_OBJDUMP"; then
6480 ac_ct_OBJDUMP=$OBJDUMP
6481 # Extract the first word of "objdump
", so it can be a program name with args.
6482 set dummy objdump; ac_word=$2
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6484 $as_echo_n "checking
for $ac_word...
" >&6; }
6485 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6486 $as_echo_n "(cached
) " >&6
6488 if test -n "$ac_ct_OBJDUMP"; then
6489 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6495 test -z "$as_dir" && as_dir=.
6496 for ac_exec_ext in '' $ac_executable_extensions; do
6497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6498 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6499 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6508 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6509 if test -n "$ac_ct_OBJDUMP"; then
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6511 $as_echo "$ac_ct_OBJDUMP" >&6; }
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6514 $as_echo "no
" >&6; }
6517 if test "x
$ac_ct_OBJDUMP" = x; then
6520 case $cross_compiling:$ac_tool_warned in
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6523 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6524 ac_tool_warned=yes ;;
6526 OBJDUMP=$ac_ct_OBJDUMP
6529 OBJDUMP="$ac_cv_prog_OBJDUMP"
6532 test -z "$OBJDUMP" && OBJDUMP=objdump
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6543 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6544 if ${lt_cv_deplibs_check_method+:} false; then :
6545 $as_echo_n "(cached
) " >&6
6547 lt_cv_file_magic_cmd='$MAGIC_CMD'
6548 lt_cv_file_magic_test_file=
6549 lt_cv_deplibs_check_method='unknown'
6550 # Need to set the preceding variable on all platforms that support
6551 # interlibrary dependencies.
6552 # 'none' -- dependencies not supported.
6553 # `unknown' -- same as none, but documents that we really don't know.
6554 # 'pass_all' -- all dependencies passed with no checks.
6555 # 'test_compile' -- check by making test program.
6556 # 'file_magic [[regex]]' -- check by looking for files in library path
6557 # which responds to the $file_magic_cmd with a given extended regex.
6558 # If you have `file' or equivalent on your system and you're not sure
6559 # whether `pass_all' will *always* work, you probably want this one.
6563 lt_cv_deplibs_check_method=pass_all
6567 lt_cv_deplibs_check_method=pass_all
6571 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6572 lt_cv_file_magic_cmd='/usr/bin/file -L'
6573 lt_cv_file_magic_test_file=/shlib/libc.so
6577 # func_win32_libid is a shell function defined in ltmain.sh
6578 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6579 lt_cv_file_magic_cmd='func_win32_libid'
6583 # Base MSYS/MinGW do not provide the 'file' command needed by
6584 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6585 # unless we find 'file', for example because we are cross-compiling.
6586 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6587 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6588 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6589 lt_cv_file_magic_cmd='func_win32_libid'
6591 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6592 lt_cv_file_magic_cmd='$OBJDUMP -f'
6597 # use the weaker test based on 'objdump'. See mingw*.
6598 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6599 lt_cv_file_magic_cmd='$OBJDUMP -f'
6602 darwin* | rhapsody*)
6603 lt_cv_deplibs_check_method=pass_all
6606 freebsd* | dragonfly*)
6607 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6610 # Not sure whether the presence of OpenBSD here was a mistake.
6611 # Let's accept both of them until this is cleared up.
6612 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6613 lt_cv_file_magic_cmd=/usr/bin/file
6614 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6618 lt_cv_deplibs_check_method=pass_all
6623 lt_cv_deplibs_check_method=pass_all
6627 lt_cv_deplibs_check_method=pass_all
6630 hpux10.20* | hpux11*)
6631 lt_cv_file_magic_cmd=/usr/bin/file
6634 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6635 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6638 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6639 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6642 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6643 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6649 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6650 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6653 irix5* | irix6* | nonstopux*)
6655 *-32|*"-32 ") libmagic=32-bit;;
6656 *-n32|*"-n32 ") libmagic=N32;;
6657 *-64|*"-64 ") libmagic=64-bit;;
6658 *) libmagic=never-match;;
6660 lt_cv_deplibs_check_method=pass_all
6663 # This must be Linux ELF.
6664 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6665 lt_cv_deplibs_check_method=pass_all
6669 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6670 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6672 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6677 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6678 lt_cv_file_magic_cmd=/usr/bin/file
6679 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6683 lt_cv_deplibs_check_method=pass_all
6687 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6688 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6690 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6694 osf3* | osf4* | osf5*)
6695 lt_cv_deplibs_check_method=pass_all
6699 lt_cv_deplibs_check_method=pass_all
6703 lt_cv_deplibs_check_method=pass_all
6706 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6707 lt_cv_deplibs_check_method=pass_all
6711 case $host_vendor in
6713 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6714 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6717 lt_cv_deplibs_check_method=pass_all
6720 lt_cv_file_magic_cmd='/bin/file'
6721 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6724 lt_cv_file_magic_cmd='/bin/file'
6725 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6726 lt_cv_file_magic_test_file=/lib/libc.so
6729 lt_cv_deplibs_check_method=pass_all
6732 lt_cv_deplibs_check_method=pass_all
6738 lt_cv_deplibs_check_method=pass_all
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6744 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6745 file_magic_cmd=$lt_cv_file_magic_cmd
6746 deplibs_check_method=$lt_cv_deplibs_check_method
6747 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6761 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6762 for plugin in $plugin_names; do
6763 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6764 if test x$plugin_so = x$plugin; then
6765 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6767 if test x$plugin_so != x$plugin; then
6768 plugin_option="--plugin $plugin_so"
6773 if test -n "$ac_tool_prefix"; then
6774 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6775 set dummy ${ac_tool_prefix}ar; ac_word=$2
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6777 $as_echo_n "checking
for $ac_word...
" >&6; }
6778 if ${ac_cv_prog_AR+:} false; then :
6779 $as_echo_n "(cached
) " >&6
6781 if test -n "$AR"; then
6782 ac_cv_prog_AR="$AR" # Let the user override the test.
6784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6788 test -z "$as_dir" && as_dir=.
6789 for ac_exec_ext in '' $ac_executable_extensions; do
6790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6791 ac_cv_prog_AR="${ac_tool_prefix}ar"
6792 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6802 if test -n "$AR"; then
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6804 $as_echo "$AR" >&6; }
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6807 $as_echo "no
" >&6; }
6812 if test -z "$ac_cv_prog_AR"; then
6814 # Extract the first word of "ar", so it can be a program name with args.
6815 set dummy ar; ac_word=$2
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6817 $as_echo_n "checking
for $ac_word...
" >&6; }
6818 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6819 $as_echo_n "(cached
) " >&6
6821 if test -n "$ac_ct_AR"; then
6822 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6828 test -z "$as_dir" && as_dir=.
6829 for ac_exec_ext in '' $ac_executable_extensions; do
6830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6831 ac_cv_prog_ac_ct_AR="ar"
6832 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6841 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6842 if test -n "$ac_ct_AR"; then
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6844 $as_echo "$ac_ct_AR" >&6; }
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6847 $as_echo "no
" >&6; }
6850 if test "x
$ac_ct_AR" = x; then
6853 case $cross_compiling:$ac_tool_warned in
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6856 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6857 ac_tool_warned=yes ;;
6865 test -z "$AR" && AR=ar
6866 if test -n "$plugin_option"; then
6867 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6869 $AR $plugin_option rc conftest.a conftest.c
6870 if test "$?
" != 0; then
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6872 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6874 AR="$AR $plugin_option"
6879 test -z "$AR_FLAGS" && AR_FLAGS=cru
6891 if test -n "$ac_tool_prefix"; then
6892 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6893 set dummy ${ac_tool_prefix}strip; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6895 $as_echo_n "checking
for $ac_word...
" >&6; }
6896 if ${ac_cv_prog_STRIP+:} false; then :
6897 $as_echo_n "(cached
) " >&6
6899 if test -n "$STRIP"; then
6900 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 test -z "$as_dir" && as_dir=.
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6909 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6919 STRIP=$ac_cv_prog_STRIP
6920 if test -n "$STRIP"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6922 $as_echo "$STRIP" >&6; }
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6925 $as_echo "no
" >&6; }
6930 if test -z "$ac_cv_prog_STRIP"; then
6932 # Extract the first word of "strip
", so it can be a program name with args.
6933 set dummy strip; ac_word=$2
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6935 $as_echo_n "checking
for $ac_word...
" >&6; }
6936 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6937 $as_echo_n "(cached
) " >&6
6939 if test -n "$ac_ct_STRIP"; then
6940 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 test -z "$as_dir" && as_dir=.
6947 for ac_exec_ext in '' $ac_executable_extensions; do
6948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6949 ac_cv_prog_ac_ct_STRIP="strip
"
6950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6959 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6960 if test -n "$ac_ct_STRIP"; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6962 $as_echo "$ac_ct_STRIP" >&6; }
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6965 $as_echo "no
" >&6; }
6968 if test "x
$ac_ct_STRIP" = x; then
6971 case $cross_compiling:$ac_tool_warned in
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6974 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6975 ac_tool_warned=yes ;;
6980 STRIP="$ac_cv_prog_STRIP"
6983 test -z "$STRIP" && STRIP=:
6990 if test -n "$ac_tool_prefix"; then
6991 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6992 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6994 $as_echo_n "checking
for $ac_word...
" >&6; }
6995 if ${ac_cv_prog_RANLIB+:} false; then :
6996 $as_echo_n "(cached
) " >&6
6998 if test -n "$RANLIB"; then
6999 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7005 test -z "$as_dir" && as_dir=.
7006 for ac_exec_ext in '' $ac_executable_extensions; do
7007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7008 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7018 RANLIB=$ac_cv_prog_RANLIB
7019 if test -n "$RANLIB"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7021 $as_echo "$RANLIB" >&6; }
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7024 $as_echo "no
" >&6; }
7029 if test -z "$ac_cv_prog_RANLIB"; then
7030 ac_ct_RANLIB=$RANLIB
7031 # Extract the first word of "ranlib
", so it can be a program name with args.
7032 set dummy ranlib; ac_word=$2
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7034 $as_echo_n "checking
for $ac_word...
" >&6; }
7035 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7036 $as_echo_n "(cached
) " >&6
7038 if test -n "$ac_ct_RANLIB"; then
7039 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7045 test -z "$as_dir" && as_dir=.
7046 for ac_exec_ext in '' $ac_executable_extensions; do
7047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7048 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7049 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7058 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7059 if test -n "$ac_ct_RANLIB"; then
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7061 $as_echo "$ac_ct_RANLIB" >&6; }
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7064 $as_echo "no
" >&6; }
7067 if test "x
$ac_ct_RANLIB" = x; then
7070 case $cross_compiling:$ac_tool_warned in
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7073 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7074 ac_tool_warned=yes ;;
7076 RANLIB=$ac_ct_RANLIB
7079 RANLIB="$ac_cv_prog_RANLIB"
7082 test -z "$RANLIB" && RANLIB=:
7083 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7084 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
7085 RANLIB="$RANLIB $plugin_option"
7094 # Determine commands to create old-style static archives.
7095 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7096 old_postinstall_cmds='chmod 644 $oldlib'
7097 old_postuninstall_cmds=
7099 if test -n "$RANLIB"; then
7102 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7105 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7108 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7113 lock_old_archive_extraction=yes ;;
7115 lock_old_archive_extraction=no ;;
7138 for ac_prog in gawk mawk nawk awk
7140 # Extract the first word of "$ac_prog", so it can be a program name with args.
7141 set dummy $ac_prog; ac_word=$2
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7143 $as_echo_n "checking
for $ac_word...
" >&6; }
7144 if ${ac_cv_prog_AWK+:} false; then :
7145 $as_echo_n "(cached
) " >&6
7147 if test -n "$AWK"; then
7148 ac_cv_prog_AWK="$AWK" # Let the user override the test.
7150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7154 test -z "$as_dir" && as_dir=.
7155 for ac_exec_ext in '' $ac_executable_extensions; do
7156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7157 ac_cv_prog_AWK="$ac_prog"
7158 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7168 if test -n "$AWK"; then
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AWK" >&5
7170 $as_echo "$AWK" >&6; }
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7173 $as_echo "no
" >&6; }
7177 test -n "$AWK" && break
7198 # If no C compiler was specified, use CC.
7201 # If no C compiler flags were specified, use CFLAGS.
7202 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7204 # Allow CC to be a program name with arguments.
7208 # Check for command to grab the raw symbol name followed by C symbol from nm.
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7210 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7211 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7212 $as_echo_n "(cached
) " >&6
7215 # These are sane defaults that work on at least a few old systems.
7216 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7218 # Character class describing NM global symbol codes.
7219 symcode='[BCDEGRST]'
7221 # Regexp to match symbols that can be accessed directly from C.
7222 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7224 # Define system-specific variables.
7229 cygwin* | mingw* | pw32* | cegcc*)
7230 symcode='[ABCDGISTW]'
7233 if test "$host_cpu" = ia64; then
7234 symcode='[ABCDEGRST]'
7238 symcode='[BCDEGRST]'
7241 symcode='[BCDEGQRST]'
7252 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7260 # If we're using GNU nm, then use its standard symbol codes.
7261 case `$NM -V 2>&1` in
7262 *GNU* | *'with BFD'*)
7263 symcode='[ABCDGIRSTW]' ;;
7266 # Transform an extracted symbol line into a proper C declaration.
7267 # Some systems (esp. on ia64) link data and code symbols differently,
7268 # so use this general approach.
7269 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7271 # Transform an extracted symbol line into symbol name and symbol address
7272 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7273 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7275 # Handle CRLF in mingw tool chain
7279 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7283 # Try without a prefix underscore, then with it.
7284 for ac_symprfx in "" "_
"; do
7286 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7287 symxfrm="\\1 $ac_symprfx\\2 \\2"
7289 # Write the raw and C identifiers.
7290 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7291 # Fake it for dumpbin and say T for any non-static function
7292 # and D for any global variable.
7293 # Also find C++ and __fastcall symbols from MSVC++,
7294 # which start with @ or ?.
7295 lt_cv_sys_global_symbol_pipe="$AWK '"\
7296 " {last_section=section; section=\$ 3};"\
7297 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7298 " \$ 0!~/External *\|/{next};"\
7299 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7300 " {if(hide[section]) next};"\
7301 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7302 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7303 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7304 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7305 " ' prfx
=^
$ac_symprfx"
7307 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7310 # Check to see that the pipe works correctly.
7314 cat > conftest.$ac_ext <<_LT_EOF
7319 void nm_test_func(void);
7320 void nm_test_func(void){}
7324 int main(){nm_test_var='a';nm_test_func();return(0);}
7327 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7328 (eval $ac_compile) 2>&5
7330 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7331 test $ac_status = 0; }; then
7332 # Now try to grab the symbols.
7334 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7335 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7337 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7338 test $ac_status = 0; } && test -s "$nlist"; then
7339 # Try sorting and uniquifying the output.
7340 if sort "$nlist" | uniq > "$nlist"T; then
7341 mv -f "$nlist"T "$nlist"
7346 # Make sure that we snagged all the symbols we need.
7347 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7348 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7349 cat <<_LT_EOF > conftest.$ac_ext
7355 # Now generate the symbol file.
7356 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7358 cat <<_LT_EOF >> conftest.$ac_ext
7360 /* The mapping between symbol names and symbols. */
7365 lt__PROGRAM__LTX_preloaded_symbols[] =
7367 { "@PROGRAM@
", (void *) 0 },
7369 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7370 cat <<\_LT_EOF >> conftest.$ac_ext
7374 /* This works around a problem in FreeBSD linker */
7375 #ifdef FREEBSD_WORKAROUND
7376 static const void *lt_preloaded_setup() {
7377 return lt__PROGRAM__LTX_preloaded_symbols;
7385 # Now try linking the two files.
7386 mv conftest.$ac_objext conftstm.$ac_objext
7387 lt_save_LIBS="$LIBS"
7388 lt_save_CFLAGS="$CFLAGS"
7389 LIBS="conftstm.
$ac_objext"
7390 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7391 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7392 (eval $ac_link) 2>&5
7394 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7395 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7398 LIBS="$lt_save_LIBS"
7399 CFLAGS="$lt_save_CFLAGS"
7401 echo "cannot
find nm_test_func
in $nlist" >&5
7404 echo "cannot
find nm_test_var
in $nlist" >&5
7407 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7410 echo "$progname: failed program was
:" >&5
7411 cat conftest.$ac_ext >&5
7413 rm -rf conftest* conftst*
7415 # Do not use the global_symbol_pipe unless it works.
7416 if test "$pipe_works" = yes; then
7419 lt_cv_sys_global_symbol_pipe=
7425 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7426 lt_cv_sys_global_symbol_to_cdecl=
7428 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7430 $as_echo "failed
" >&6; }
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7433 $as_echo "ok
" >&6; }
7457 # Check whether --enable-libtool-lock was given.
7458 if test "${enable_libtool_lock+set}" = set; then :
7459 enableval=$enable_libtool_lock;
7462 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7464 # Some flags need to be propagated to the compiler or linker for good
7468 # Find out which ABI we are using.
7469 echo 'int i;' > conftest.$ac_ext
7470 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7471 (eval $ac_compile) 2>&5
7473 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7474 test $ac_status = 0; }; then
7475 case `/usr/bin/file conftest.$ac_objext` in
7487 # Find out which ABI we are using.
7488 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7489 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7490 (eval $ac_compile) 2>&5
7492 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7493 test $ac_status = 0; }; then
7494 if test "$lt_cv_prog_gnu_ld" = yes; then
7495 case `/usr/bin/file conftest.$ac_objext` in
7497 LD="${LD-ld} -melf32bsmip"
7500 LD="${LD-ld} -melf32bmipn32"
7503 LD="${LD-ld} -melf64bmip"
7507 case `/usr/bin/file conftest.$ac_objext` in
7523 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7524 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7525 # Find out which ABI we are using.
7526 echo 'int i;' > conftest.$ac_ext
7527 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7528 (eval $ac_compile) 2>&5
7530 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7531 test $ac_status = 0; }; then
7532 case `/usr/bin/file conftest.o` in
7535 x86_64-*kfreebsd*-gnu)
7536 LD="${LD-ld} -m elf_i386_fbsd
"
7539 case `/usr/bin/file conftest.o` in
7541 LD="${LD-ld} -m elf32_x86_64
"
7544 LD="${LD-ld} -m elf_i386
"
7548 powerpc64le-*linux*)
7549 LD="${LD-ld} -m elf32lppclinux
"
7552 LD="${LD-ld} -m elf32ppclinux
"
7555 LD="${LD-ld} -m elf_s390
"
7558 LD="${LD-ld} -m elf32_sparc
"
7564 x86_64-*kfreebsd*-gnu)
7565 LD="${LD-ld} -m elf_x86_64_fbsd
"
7568 LD="${LD-ld} -m elf_x86_64
"
7571 LD="${LD-ld} -m elf64lppc
"
7574 LD="${LD-ld} -m elf64ppc
"
7576 s390*-*linux*|s390*-*tpf*)
7577 LD="${LD-ld} -m elf64_s390
"
7580 LD="${LD-ld} -m elf64_sparc
"
7590 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7591 SAVE_CFLAGS="$CFLAGS"
7592 CFLAGS="$CFLAGS -belf"
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7594 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7595 if ${lt_cv_cc_needs_belf+:} false; then :
7596 $as_echo_n "(cached
) " >&6
7599 ac_cpp='$CPP $CPPFLAGS'
7600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7605 /* end confdefs.h. */
7615 if ac_fn_c_try_link "$LINENO"; then :
7616 lt_cv_cc_needs_belf=yes
7618 lt_cv_cc_needs_belf=no
7620 rm -f core conftest.err conftest.$ac_objext \
7621 conftest$ac_exeext conftest.$ac_ext
7623 ac_cpp='$CPP $CPPFLAGS'
7624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7630 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7631 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7632 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7633 CFLAGS="$SAVE_CFLAGS"
7637 # Find out which ABI we are using.
7638 echo 'int i;' > conftest.$ac_ext
7639 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7640 (eval $ac_compile) 2>&5
7642 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7643 test $ac_status = 0; }; then
7644 case `/usr/bin/file conftest.o` in
7646 case $lt_cv_prog_gnu_ld in
7647 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7649 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7661 need_locks="$enable_libtool_lock"
7665 rhapsody* | darwin*)
7666 if test -n "$ac_tool_prefix"; then
7667 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7668 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7670 $as_echo_n "checking
for $ac_word...
" >&6; }
7671 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7672 $as_echo_n "(cached
) " >&6
7674 if test -n "$DSYMUTIL"; then
7675 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7681 test -z "$as_dir" && as_dir=.
7682 for ac_exec_ext in '' $ac_executable_extensions; do
7683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7684 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7694 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7695 if test -n "$DSYMUTIL"; then
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7697 $as_echo "$DSYMUTIL" >&6; }
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7700 $as_echo "no
" >&6; }
7705 if test -z "$ac_cv_prog_DSYMUTIL"; then
7706 ac_ct_DSYMUTIL=$DSYMUTIL
7707 # Extract the first word of "dsymutil
", so it can be a program name with args.
7708 set dummy dsymutil; ac_word=$2
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7710 $as_echo_n "checking
for $ac_word...
" >&6; }
7711 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7712 $as_echo_n "(cached
) " >&6
7714 if test -n "$ac_ct_DSYMUTIL"; then
7715 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7721 test -z "$as_dir" && as_dir=.
7722 for ac_exec_ext in '' $ac_executable_extensions; do
7723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7724 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7734 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7735 if test -n "$ac_ct_DSYMUTIL"; then
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7737 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7740 $as_echo "no
" >&6; }
7743 if test "x
$ac_ct_DSYMUTIL" = x; then
7746 case $cross_compiling:$ac_tool_warned in
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7749 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7750 ac_tool_warned=yes ;;
7752 DSYMUTIL=$ac_ct_DSYMUTIL
7755 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7758 if test -n "$ac_tool_prefix"; then
7759 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7760 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7762 $as_echo_n "checking
for $ac_word...
" >&6; }
7763 if ${ac_cv_prog_NMEDIT+:} false; then :
7764 $as_echo_n "(cached
) " >&6
7766 if test -n "$NMEDIT"; then
7767 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7773 test -z "$as_dir" && as_dir=.
7774 for ac_exec_ext in '' $ac_executable_extensions; do
7775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7776 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7777 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7786 NMEDIT=$ac_cv_prog_NMEDIT
7787 if test -n "$NMEDIT"; then
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7789 $as_echo "$NMEDIT" >&6; }
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7792 $as_echo "no
" >&6; }
7797 if test -z "$ac_cv_prog_NMEDIT"; then
7798 ac_ct_NMEDIT=$NMEDIT
7799 # Extract the first word of "nmedit
", so it can be a program name with args.
7800 set dummy nmedit; ac_word=$2
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7802 $as_echo_n "checking
for $ac_word...
" >&6; }
7803 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7804 $as_echo_n "(cached
) " >&6
7806 if test -n "$ac_ct_NMEDIT"; then
7807 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7813 test -z "$as_dir" && as_dir=.
7814 for ac_exec_ext in '' $ac_executable_extensions; do
7815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7816 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7817 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7826 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7827 if test -n "$ac_ct_NMEDIT"; then
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7829 $as_echo "$ac_ct_NMEDIT" >&6; }
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7832 $as_echo "no
" >&6; }
7835 if test "x
$ac_ct_NMEDIT" = x; then
7838 case $cross_compiling:$ac_tool_warned in
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7841 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7842 ac_tool_warned=yes ;;
7844 NMEDIT=$ac_ct_NMEDIT
7847 NMEDIT="$ac_cv_prog_NMEDIT"
7850 if test -n "$ac_tool_prefix"; then
7851 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7852 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7854 $as_echo_n "checking
for $ac_word...
" >&6; }
7855 if ${ac_cv_prog_LIPO+:} false; then :
7856 $as_echo_n "(cached
) " >&6
7858 if test -n "$LIPO"; then
7859 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865 test -z "$as_dir" && as_dir=.
7866 for ac_exec_ext in '' $ac_executable_extensions; do
7867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7868 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7878 LIPO=$ac_cv_prog_LIPO
7879 if test -n "$LIPO"; then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7881 $as_echo "$LIPO" >&6; }
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7884 $as_echo "no
" >&6; }
7889 if test -z "$ac_cv_prog_LIPO"; then
7891 # Extract the first word of "lipo
", so it can be a program name with args.
7892 set dummy lipo; ac_word=$2
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7894 $as_echo_n "checking
for $ac_word...
" >&6; }
7895 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7896 $as_echo_n "(cached
) " >&6
7898 if test -n "$ac_ct_LIPO"; then
7899 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 test -z "$as_dir" && as_dir=.
7906 for ac_exec_ext in '' $ac_executable_extensions; do
7907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7908 ac_cv_prog_ac_ct_LIPO="lipo
"
7909 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7918 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7919 if test -n "$ac_ct_LIPO"; then
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7921 $as_echo "$ac_ct_LIPO" >&6; }
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7924 $as_echo "no
" >&6; }
7927 if test "x
$ac_ct_LIPO" = x; then
7930 case $cross_compiling:$ac_tool_warned in
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7933 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7934 ac_tool_warned=yes ;;
7939 LIPO="$ac_cv_prog_LIPO"
7942 if test -n "$ac_tool_prefix"; then
7943 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7944 set dummy ${ac_tool_prefix}otool; ac_word=$2
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7946 $as_echo_n "checking
for $ac_word...
" >&6; }
7947 if ${ac_cv_prog_OTOOL+:} false; then :
7948 $as_echo_n "(cached
) " >&6
7950 if test -n "$OTOOL"; then
7951 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7957 test -z "$as_dir" && as_dir=.
7958 for ac_exec_ext in '' $ac_executable_extensions; do
7959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7960 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7961 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7970 OTOOL=$ac_cv_prog_OTOOL
7971 if test -n "$OTOOL"; then
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7973 $as_echo "$OTOOL" >&6; }
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7976 $as_echo "no
" >&6; }
7981 if test -z "$ac_cv_prog_OTOOL"; then
7983 # Extract the first word of "otool
", so it can be a program name with args.
7984 set dummy otool; ac_word=$2
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7986 $as_echo_n "checking
for $ac_word...
" >&6; }
7987 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7988 $as_echo_n "(cached
) " >&6
7990 if test -n "$ac_ct_OTOOL"; then
7991 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7997 test -z "$as_dir" && as_dir=.
7998 for ac_exec_ext in '' $ac_executable_extensions; do
7999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8000 ac_cv_prog_ac_ct_OTOOL="otool
"
8001 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8010 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8011 if test -n "$ac_ct_OTOOL"; then
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8013 $as_echo "$ac_ct_OTOOL" >&6; }
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8016 $as_echo "no
" >&6; }
8019 if test "x
$ac_ct_OTOOL" = x; then
8022 case $cross_compiling:$ac_tool_warned in
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8025 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8026 ac_tool_warned=yes ;;
8031 OTOOL="$ac_cv_prog_OTOOL"
8034 if test -n "$ac_tool_prefix"; then
8035 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8036 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8038 $as_echo_n "checking
for $ac_word...
" >&6; }
8039 if ${ac_cv_prog_OTOOL64+:} false; then :
8040 $as_echo_n "(cached
) " >&6
8042 if test -n "$OTOOL64"; then
8043 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8049 test -z "$as_dir" && as_dir=.
8050 for ac_exec_ext in '' $ac_executable_extensions; do
8051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8052 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8053 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8062 OTOOL64=$ac_cv_prog_OTOOL64
8063 if test -n "$OTOOL64"; then
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8065 $as_echo "$OTOOL64" >&6; }
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8068 $as_echo "no
" >&6; }
8073 if test -z "$ac_cv_prog_OTOOL64"; then
8074 ac_ct_OTOOL64=$OTOOL64
8075 # Extract the first word of "otool64
", so it can be a program name with args.
8076 set dummy otool64; ac_word=$2
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8078 $as_echo_n "checking
for $ac_word...
" >&6; }
8079 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8080 $as_echo_n "(cached
) " >&6
8082 if test -n "$ac_ct_OTOOL64"; then
8083 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8089 test -z "$as_dir" && as_dir=.
8090 for ac_exec_ext in '' $ac_executable_extensions; do
8091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8092 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8093 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8102 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8103 if test -n "$ac_ct_OTOOL64"; then
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8105 $as_echo "$ac_ct_OTOOL64" >&6; }
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8108 $as_echo "no
" >&6; }
8111 if test "x
$ac_ct_OTOOL64" = x; then
8114 case $cross_compiling:$ac_tool_warned in
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8117 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8118 ac_tool_warned=yes ;;
8120 OTOOL64=$ac_ct_OTOOL64
8123 OTOOL64="$ac_cv_prog_OTOOL64"
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8153 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8154 if ${lt_cv_apple_cc_single_mod+:} false; then :
8155 $as_echo_n "(cached
) " >&6
8157 lt_cv_apple_cc_single_mod=no
8158 if test -z "${LT_MULTI_MODULE}"; then
8159 # By default we will add the -single_module flag. You can override
8160 # by either setting the environment variable LT_MULTI_MODULE
8161 # non-empty at configure time, or by adding -multi_module to the
8163 rm -rf libconftest.dylib*
8164 echo "int foo
(void
){return 1;}" > conftest.c
8165 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8166 -dynamiclib -Wl,-single_module conftest.c
" >&5
8167 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8168 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8170 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8171 lt_cv_apple_cc_single_mod=yes
8173 cat conftest.err >&5
8175 rm -rf libconftest.dylib*
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8180 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8182 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8183 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8184 $as_echo_n "(cached
) " >&6
8186 lt_cv_ld_exported_symbols_list=no
8187 save_LDFLAGS=$LDFLAGS
8188 echo "_main
" > conftest.sym
8189 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8191 /* end confdefs.h. */
8201 if ac_fn_c_try_link "$LINENO"; then :
8202 lt_cv_ld_exported_symbols_list=yes
8204 lt_cv_ld_exported_symbols_list=no
8206 rm -f core conftest.err conftest.$ac_objext \
8207 conftest$ac_exeext conftest.$ac_ext
8208 LDFLAGS="$save_LDFLAGS"
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8212 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8214 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8215 if ${lt_cv_ld_force_load+:} false; then :
8216 $as_echo_n "(cached
) " >&6
8218 lt_cv_ld_force_load=no
8219 cat > conftest.c << _LT_EOF
8220 int forced_loaded() { return 2;}
8222 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8223 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8224 echo "$AR cru libconftest.a conftest.o
" >&5
8225 $AR cru libconftest.a conftest.o 2>&5
8226 cat > conftest.c << _LT_EOF
8227 int main() { return 0;}
8229 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8230 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8232 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8233 lt_cv_ld_force_load=yes
8235 cat conftest.err >&5
8237 rm -f conftest.err libconftest.a conftest conftest.c
8238 rm -rf conftest.dSYM
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8242 $as_echo "$lt_cv_ld_force_load" >&6; }
8244 rhapsody* | darwin1.[012])
8245 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8247 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8248 darwin*) # darwin 5.x on
8249 # if running on 10.5 or later, the deployment target defaults
8250 # to the OS version, if on x86, and 10.4, the deployment
8251 # target defaults to 10.4. Don't you love it?
8252 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8253 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8254 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8256 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8258 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8262 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8263 _lt_dar_single_mod='$single_module'
8265 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8266 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8268 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8270 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8271 _lt_dsymutil='~$DSYMUTIL $lib || :'
8278 for ac_header in dlfcn.h
8280 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8282 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8283 cat >>confdefs.h <<_ACEOF
8284 #define HAVE_DLFCN_H 1
8293 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8294 as_ac_Header=`$as_echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_hdr that defines DIR
" >&5
8296 $as_echo_n "checking
for $ac_hdr that defines DIR...
" >&6; }
8297 if eval \${$as_ac_Header+:} false; then :
8298 $as_echo_n "(cached
) " >&6
8300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8301 /* end confdefs.h. */
8302 #include <sys/types.h>
8314 if ac_fn_c_try_compile "$LINENO"; then :
8315 eval "$as_ac_Header=yes"
8317 eval "$as_ac_Header=no
"
8319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8321 eval ac_res=\$$as_ac_Header
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
8323 $as_echo "$ac_res" >&6; }
8324 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8325 cat >>confdefs.h <<_ACEOF
8326 #define `$as_echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
8329 ac_header_dirent=$ac_hdr; break
8333 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8334 if test $ac_header_dirent = dirent.h; then
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
8336 $as_echo_n "checking
for library containing opendir...
" >&6; }
8337 if ${ac_cv_search_opendir+:} false; then :
8338 $as_echo_n "(cached
) " >&6
8340 ac_func_search_save_LIBS=$LIBS
8341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8342 /* end confdefs.h. */
8344 /* Override any GCC internal prototype to avoid an error.
8345 Use char because int might match the return type of a GCC
8346 builtin and then its argument prototype would still apply. */
8359 for ac_lib in '' dir; do
8360 if test -z "$ac_lib"; then
8361 ac_res="none required
"
8364 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8366 if ac_fn_c_try_link "$LINENO"; then :
8367 ac_cv_search_opendir=$ac_res
8369 rm -f core conftest.err conftest.$ac_objext \
8371 if ${ac_cv_search_opendir+:} false; then :
8375 if ${ac_cv_search_opendir+:} false; then :
8378 ac_cv_search_opendir=no
8381 LIBS=$ac_func_search_save_LIBS
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
8384 $as_echo "$ac_cv_search_opendir" >&6; }
8385 ac_res=$ac_cv_search_opendir
8386 if test "$ac_res" != no; then :
8387 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
8393 $as_echo_n "checking
for library containing opendir...
" >&6; }
8394 if ${ac_cv_search_opendir+:} false; then :
8395 $as_echo_n "(cached
) " >&6
8397 ac_func_search_save_LIBS=$LIBS
8398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8401 /* Override any GCC internal prototype to avoid an error.
8402 Use char because int might match the return type of a GCC
8403 builtin and then its argument prototype would still apply. */
8416 for ac_lib in '' x; do
8417 if test -z "$ac_lib"; then
8418 ac_res="none required
"
8421 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8423 if ac_fn_c_try_link "$LINENO"; then :
8424 ac_cv_search_opendir=$ac_res
8426 rm -f core conftest.err conftest.$ac_objext \
8428 if ${ac_cv_search_opendir+:} false; then :
8432 if ${ac_cv_search_opendir+:} false; then :
8435 ac_cv_search_opendir=no
8438 LIBS=$ac_func_search_save_LIBS
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
8441 $as_echo "$ac_cv_search_opendir" >&6; }
8442 ac_res=$ac_cv_search_opendir
8443 if test "$ac_res" != no; then :
8444 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8453 ac_fn_c_check_member "$LINENO" "struct stat
" "st_blksize
" "ac_cv_member_struct_stat_st_blksize
" "$ac_includes_default"
8454 if test "x
$ac_cv_member_struct_stat_st_blksize" = xyes; then :
8456 cat >>confdefs.h <<_ACEOF
8457 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8461 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
8466 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
8467 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
8469 cat >>confdefs.h
<<_ACEOF
8470 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8474 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
8477 case " $LIBOBJS " in
8478 *" fileblocks.$ac_objext "* ) ;;
8479 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
8486 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
8487 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
8489 cat >>confdefs.h
<<_ACEOF
8490 #define HAVE_STRUCT_STAT_ST_RDEV 1
8494 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
8499 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
8500 #include <$ac_cv_struct_tm>
8503 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
8505 cat >>confdefs.h
<<_ACEOF
8506 #define HAVE_STRUCT_TM_TM_ZONE 1
8512 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
8514 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
8517 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
8519 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
8525 cat >>confdefs.h
<<_ACEOF
8526 #define HAVE_DECL_TZNAME $ac_have_decl
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
8530 $as_echo_n "checking for tzname... " >&6; }
8531 if ${ac_cv_var_tzname+:} false
; then :
8532 $as_echo_n "(cached) " >&6
8534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8537 #if !HAVE_DECL_TZNAME
8538 extern char *tzname[];
8544 return tzname[0][0];
8549 if ac_fn_c_try_link
"$LINENO"; then :
8550 ac_cv_var_tzname
=yes
8554 rm -f core conftest.err conftest.
$ac_objext \
8555 conftest
$ac_exeext conftest.
$ac_ext
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
8558 $as_echo "$ac_cv_var_tzname" >&6; }
8559 if test $ac_cv_var_tzname = yes; then
8561 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
8567 ac_fn_c_check_member
"$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
8568 #include <sys/types.h>
8570 #ifdef HAVE_SYS_STAT_H
8571 #include <sys/stat.h>
8574 if test "x$ac_cv_member_struct_stat_st_dev" = xyes
; then :
8576 cat >>confdefs.h
<<_ACEOF
8577 #define HAVE_STRUCT_STAT_ST_DEV 1
8582 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ino" "ac_cv_member_struct_stat_st_ino" "#ifdef HAVE_SYS_TYPES_H
8583 #include <sys/types.h>
8585 #ifdef HAVE_SYS_STAT_H
8586 #include <sys/stat.h>
8589 if test "x$ac_cv_member_struct_stat_st_ino" = xyes
; then :
8591 cat >>confdefs.h
<<_ACEOF
8592 #define HAVE_STRUCT_STAT_ST_INO 1
8597 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mode" "ac_cv_member_struct_stat_st_mode" "#ifdef HAVE_SYS_TYPES_H
8598 #include <sys/types.h>
8600 #ifdef HAVE_SYS_STAT_H
8601 #include <sys/stat.h>
8604 if test "x$ac_cv_member_struct_stat_st_mode" = xyes
; then :
8606 cat >>confdefs.h
<<_ACEOF
8607 #define HAVE_STRUCT_STAT_ST_MODE 1
8612 ac_fn_c_check_member
"$LINENO" "struct stat" "st_nlink" "ac_cv_member_struct_stat_st_nlink" "#ifdef HAVE_SYS_TYPES_H
8613 #include <sys/types.h>
8615 #ifdef HAVE_SYS_STAT_H
8616 #include <sys/stat.h>
8619 if test "x$ac_cv_member_struct_stat_st_nlink" = xyes
; then :
8621 cat >>confdefs.h
<<_ACEOF
8622 #define HAVE_STRUCT_STAT_ST_NLINK 1
8627 ac_fn_c_check_member
"$LINENO" "struct stat" "st_uid" "ac_cv_member_struct_stat_st_uid" "#ifdef HAVE_SYS_TYPES_H
8628 #include <sys/types.h>
8630 #ifdef HAVE_SYS_STAT_H
8631 #include <sys/stat.h>
8634 if test "x$ac_cv_member_struct_stat_st_uid" = xyes
; then :
8636 cat >>confdefs.h
<<_ACEOF
8637 #define HAVE_STRUCT_STAT_ST_UID 1
8642 ac_fn_c_check_member
"$LINENO" "struct stat" "st_gid" "ac_cv_member_struct_stat_st_gid" "#ifdef HAVE_SYS_TYPES_H
8643 #include <sys/types.h>
8645 #ifdef HAVE_SYS_STAT_H
8646 #include <sys/stat.h>
8649 if test "x$ac_cv_member_struct_stat_st_gid" = xyes
; then :
8651 cat >>confdefs.h
<<_ACEOF
8652 #define HAVE_STRUCT_STAT_ST_GID 1
8657 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "#ifdef HAVE_SYS_TYPES_H
8658 #include <sys/types.h>
8660 #ifdef HAVE_SYS_STAT_H
8661 #include <sys/stat.h>
8664 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
8666 cat >>confdefs.h
<<_ACEOF
8667 #define HAVE_STRUCT_STAT_ST_RDEV 1
8672 ac_fn_c_check_member
"$LINENO" "struct stat" "st_size" "ac_cv_member_struct_stat_st_size" "#ifdef HAVE_SYS_TYPES_H
8673 #include <sys/types.h>
8675 #ifdef HAVE_SYS_STAT_H
8676 #include <sys/stat.h>
8679 if test "x$ac_cv_member_struct_stat_st_size" = xyes
; then :
8681 cat >>confdefs.h
<<_ACEOF
8682 #define HAVE_STRUCT_STAT_ST_SIZE 1
8687 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "#ifdef HAVE_SYS_TYPES_H
8688 #include <sys/types.h>
8690 #ifdef HAVE_SYS_STAT_H
8691 #include <sys/stat.h>
8694 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
8696 cat >>confdefs.h
<<_ACEOF
8697 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8702 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "#ifdef HAVE_SYS_TYPES_H
8703 #include <sys/types.h>
8705 #ifdef HAVE_SYS_STAT_H
8706 #include <sys/stat.h>
8709 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
8711 cat >>confdefs.h
<<_ACEOF
8712 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8717 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atime" "ac_cv_member_struct_stat_st_atime" "#ifdef HAVE_SYS_TYPES_H
8718 #include <sys/types.h>
8720 #ifdef HAVE_SYS_STAT_H
8721 #include <sys/stat.h>
8724 if test "x$ac_cv_member_struct_stat_st_atime" = xyes
; then :
8726 cat >>confdefs.h
<<_ACEOF
8727 #define HAVE_STRUCT_STAT_ST_ATIME 1
8732 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtime" "ac_cv_member_struct_stat_st_mtime" "#ifdef HAVE_SYS_TYPES_H
8733 #include <sys/types.h>
8735 #ifdef HAVE_SYS_STAT_H
8736 #include <sys/stat.h>
8739 if test "x$ac_cv_member_struct_stat_st_mtime" = xyes
; then :
8741 cat >>confdefs.h
<<_ACEOF
8742 #define HAVE_STRUCT_STAT_ST_MTIME 1
8747 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctime" "ac_cv_member_struct_stat_st_ctime" "#ifdef HAVE_SYS_TYPES_H
8748 #include <sys/types.h>
8750 #ifdef HAVE_SYS_STAT_H
8751 #include <sys/stat.h>
8754 if test "x$ac_cv_member_struct_stat_st_ctime" = xyes
; then :
8756 cat >>confdefs.h
<<_ACEOF
8757 #define HAVE_STRUCT_STAT_ST_CTIME 1
8764 ac_fn_c_check_type
"$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default"
8765 if test "x$ac_cv_type___int128" = xyes
; then :
8767 cat >>confdefs.h
<<_ACEOF
8768 #define HAVE___INT128 1
8774 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
8775 #include <sys/socket.h>
8778 if test "x$ac_cv_type_socklen_t" = xyes
; then :
8780 cat >>confdefs.h
<<_ACEOF
8781 #define HAVE_SOCKLEN_T 1
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
8789 $as_echo_n "checking type of array argument to getgroups... " >&6; }
8790 if ${ac_cv_type_getgroups+:} false
; then :
8791 $as_echo_n "(cached) " >&6
8793 if test "$cross_compiling" = yes; then :
8794 ac_cv_type_getgroups
=cross
8796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h. */
8798 /* Thanks to Mike Rendell for this test. */
8799 $ac_includes_default
8802 #define MAX(x, y) ((x) > (y) ? (x) : (y))
8809 union { gid_t gval; long int lval; } val;
8812 for (i = 0; i < NGID; i++)
8813 gidset[i] = val.gval;
8814 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
8816 /* Exit non-zero if getgroups seems to require an array of ints. This
8817 happens when gid_t is short int but getgroups modifies an array
8819 return n > 0 && gidset[n] != val.gval;
8822 if ac_fn_c_try_run
"$LINENO"; then :
8823 ac_cv_type_getgroups
=gid_t
8825 ac_cv_type_getgroups
=int
8827 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8828 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8831 if test $ac_cv_type_getgroups = cross
; then
8832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8833 /* end confdefs.h. */
8837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8838 $EGREP "getgroups.*int.*gid_t" >/dev
/null
2>&1; then :
8839 ac_cv_type_getgroups
=gid_t
8841 ac_cv_type_getgroups
=int
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
8848 $as_echo "$ac_cv_type_getgroups" >&6; }
8850 cat >>confdefs.h
<<_ACEOF
8851 #define GETGROUPS_T $ac_cv_type_getgroups
8855 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
8856 if test "x$ac_cv_type_mode_t" = xyes
; then :
8860 cat >>confdefs.h
<<_ACEOF
8866 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
8867 if test "x$ac_cv_type_off_t" = xyes
; then :
8871 cat >>confdefs.h
<<_ACEOF
8872 #define off_t long int
8877 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8878 if test "x$ac_cv_type_pid_t" = xyes
; then :
8882 cat >>confdefs.h
<<_ACEOF
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8889 $as_echo_n "checking return type of signal handlers... " >&6; }
8890 if ${ac_cv_type_signal+:} false
; then :
8891 $as_echo_n "(cached) " >&6
8893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8894 /* end confdefs.h. */
8895 #include <sys/types.h>
8901 return *(signal (0, 0)) (0) == 1;
8906 if ac_fn_c_try_compile
"$LINENO"; then :
8907 ac_cv_type_signal
=int
8909 ac_cv_type_signal
=void
8911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8914 $as_echo "$ac_cv_type_signal" >&6; }
8916 cat >>confdefs.h
<<_ACEOF
8917 #define RETSIGTYPE $ac_cv_type_signal
8921 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8922 if test "x$ac_cv_type_size_t" = xyes
; then :
8926 cat >>confdefs.h
<<_ACEOF
8927 #define size_t unsigned int
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8933 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8934 if ${ac_cv_type_uid_t+:} false
; then :
8935 $as_echo_n "(cached) " >&6
8937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8938 /* end confdefs.h. */
8939 #include <sys/types.h>
8942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8943 $EGREP "uid_t" >/dev
/null
2>&1; then :
8944 ac_cv_type_uid_t
=yes
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8952 $as_echo "$ac_cv_type_uid_t" >&6; }
8953 if test $ac_cv_type_uid_t = no
; then
8955 $as_echo "#define uid_t int" >>confdefs.h
8958 $as_echo "#define gid_t int" >>confdefs.h
8977 # Check whether --enable-shared was given.
8978 if test "${enable_shared+set}" = set; then :
8979 enableval
=$enable_shared; p
=${PACKAGE-default}
8981 yes) enable_shared
=yes ;;
8982 no
) enable_shared
=no
;;
8985 # Look at the argument we got. We use all the common list separators.
8986 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8987 for pkg
in $enableval; do
8989 if test "X$pkg" = "X$p"; then
9008 # Check whether --enable-static was given.
9009 if test "${enable_static+set}" = set; then :
9010 enableval
=$enable_static; p
=${PACKAGE-default}
9012 yes) enable_static
=yes ;;
9013 no
) enable_static
=no
;;
9016 # Look at the argument we got. We use all the common list separators.
9017 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9018 for pkg
in $enableval; do
9020 if test "X$pkg" = "X$p"; then
9040 # Check whether --with-pic was given.
9041 if test "${with_pic+set}" = set; then :
9042 withval
=$with_pic; pic_mode
="$withval"
9048 test -z "$pic_mode" && pic_mode
=default
9056 # Check whether --enable-fast-install was given.
9057 if test "${enable_fast_install+set}" = set; then :
9058 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9060 yes) enable_fast_install
=yes ;;
9061 no
) enable_fast_install
=no
;;
9063 enable_fast_install
=no
9064 # Look at the argument we got. We use all the common list separators.
9065 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9066 for pkg
in $enableval; do
9068 if test "X$pkg" = "X$p"; then
9069 enable_fast_install
=yes
9076 enable_fast_install
=yes
9089 # This can be used to rebuild libtool when needed
9090 LIBTOOL_DEPS
="$ltmain"
9092 # Always use our own libtool.
9093 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9120 test -z "$LN_S" && LN_S
="ln -s"
9135 if test -n "${ZSH_VERSION+set}" ; then
9136 setopt NO_GLOB_SUBST
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9140 $as_echo_n "checking for objdir... " >&6; }
9141 if ${lt_cv_objdir+:} false
; then :
9142 $as_echo_n "(cached) " >&6
9144 rm -f .libs
2>/dev
/null
9145 mkdir .libs
2>/dev
/null
9146 if test -d .libs
; then
9149 # MS-DOS does not allow filenames that begin with a dot.
9152 rmdir .libs
2>/dev
/null
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9155 $as_echo "$lt_cv_objdir" >&6; }
9156 objdir
=$lt_cv_objdir
9162 cat >>confdefs.h
<<_ACEOF
9163 #define LT_OBJDIR "$lt_cv_objdir/"
9171 # AIX sometimes has problems with the GCC collect2 program. For some
9172 # reason, if we set the COLLECT_NAMES environment variable, the problems
9173 # vanish in a puff of smoke.
9174 if test "X${COLLECT_NAMES+set}" != Xset
; then
9176 export COLLECT_NAMES
9183 can_build_shared
=yes
9185 # All known linkers require a `.a' archive for static linking (except MSVC,
9186 # which needs '.lib').
9189 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9192 old_CFLAGS
="$CFLAGS"
9194 # Set sane defaults for various variables
9195 test -z "$CC" && CC
=cc
9196 test -z "$LTCC" && LTCC
=$CC
9197 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9198 test -z "$LD" && LD
=ld
9199 test -z "$ac_objext" && ac_objext
=o
9201 for cc_temp
in $compiler""; do
9203 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9204 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9209 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9212 # Only perform the check for file, if the check method requires it
9213 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9214 case $deplibs_check_method in
9216 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9218 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9219 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9220 $as_echo_n "(cached) " >&6
9224 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9227 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9228 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9229 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9230 for ac_dir
in $ac_dummy; do
9232 test -z "$ac_dir" && ac_dir
=.
9233 if test -f $ac_dir/${ac_tool_prefix}file; then
9234 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9235 if test -n "$file_magic_test_file"; then
9236 case $deplibs_check_method in
9238 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9239 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9240 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9241 $EGREP "$file_magic_regex" > /dev
/null
; then
9246 *** Warning: the command libtool uses to detect shared libraries,
9247 *** $file_magic_cmd, produces output that libtool cannot recognize.
9248 *** The result is that libtool may fail to recognize shared libraries
9249 *** as such. This will affect the creation of libtool libraries that
9250 *** depend on shared libraries, but programs linked with such libtool
9251 *** libraries will work regardless of this problem. Nevertheless, you
9252 *** may want to report the problem to your system manager and/or to
9253 *** bug-libtool@gnu.org
9263 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9268 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9269 if test -n "$MAGIC_CMD"; then
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9271 $as_echo "$MAGIC_CMD" >&6; }
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9274 $as_echo "no" >&6; }
9281 if test -z "$lt_cv_path_MAGIC_CMD"; then
9282 if test -n "$ac_tool_prefix"; then
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9284 $as_echo_n "checking for file... " >&6; }
9285 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9286 $as_echo_n "(cached) " >&6
9290 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9293 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9294 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9295 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9296 for ac_dir
in $ac_dummy; do
9298 test -z "$ac_dir" && ac_dir
=.
9299 if test -f $ac_dir/file; then
9300 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9301 if test -n "$file_magic_test_file"; then
9302 case $deplibs_check_method in
9304 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9305 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9306 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9307 $EGREP "$file_magic_regex" > /dev
/null
; then
9312 *** Warning: the command libtool uses to detect shared libraries,
9313 *** $file_magic_cmd, produces output that libtool cannot recognize.
9314 *** The result is that libtool may fail to recognize shared libraries
9315 *** as such. This will affect the creation of libtool libraries that
9316 *** depend on shared libraries, but programs linked with such libtool
9317 *** libraries will work regardless of this problem. Nevertheless, you
9318 *** may want to report the problem to your system manager and/or to
9319 *** bug-libtool@gnu.org
9329 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9334 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9335 if test -n "$MAGIC_CMD"; then
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9337 $as_echo "$MAGIC_CMD" >&6; }
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9340 $as_echo "no" >&6; }
9353 # Use C for the default configuration in the libtool script
9357 ac_cpp
='$CPP $CPPFLAGS'
9358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9363 # Source file extension for C test sources.
9366 # Object file extension for compiled C test sources.
9370 # Code to be used in simple compile tests
9371 lt_simple_compile_test_code
="int some_variable = 0;"
9373 # Code to be used in simple link tests
9374 lt_simple_link_test_code
='int main(){return(0);}'
9382 # If no C compiler was specified, use CC.
9385 # If no C compiler flags were specified, use CFLAGS.
9386 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9388 # Allow CC to be a program name with arguments.
9391 # Save the default compiler, since it gets overwritten when the other
9392 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9393 compiler_DEFAULT
=$CC
9395 # save warnings/boilerplate of simple test code
9396 ac_outfile
=conftest.
$ac_objext
9397 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9398 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9399 _lt_compiler_boilerplate
=`cat conftest.err`
9402 ac_outfile
=conftest.
$ac_objext
9403 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9404 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9405 _lt_linker_boilerplate
=`cat conftest.err`
9410 ## There is no encapsulation within the following macros, do not change
9411 ## the running order or otherwise move them around unless you know exactly
9412 ## what you are doing...
9413 if test -n "$compiler"; then
9415 lt_prog_compiler_no_builtin_flag
=
9417 if test "$GCC" = yes; then
9418 case $cc_basename in
9420 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9422 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9426 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9427 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9428 $as_echo_n "(cached) " >&6
9430 lt_cv_prog_compiler_rtti_exceptions
=no
9431 ac_outfile
=conftest.
$ac_objext
9432 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9433 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9434 # Insert the option either (1) after the last *FLAGS variable, or
9435 # (2) before a word containing "conftest.", or (3) at the end.
9436 # Note that $ac_compile itself does not contain backslashes and begins
9437 # with a dollar sign (not a hyphen), so the echo should work correctly.
9438 # The option is referenced via a variable to avoid confusing sed.
9439 lt_compile
=`echo "$ac_compile" | $SED \
9440 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9441 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9442 -e 's:$: $lt_compiler_flag:'`
9443 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9444 (eval "$lt_compile" 2>conftest.err
)
9446 cat conftest.err
>&5
9447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 if (exit $ac_status) && test -s "$ac_outfile"; then
9449 # The compiler can only warn and ignore the option if not recognized
9450 # So say no if there are warnings other than the usual output.
9451 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9452 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9453 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9454 lt_cv_prog_compiler_rtti_exceptions
=yes
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9461 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9463 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9464 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9476 lt_prog_compiler_wl
=
9477 lt_prog_compiler_pic
=
9478 lt_prog_compiler_static
=
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9481 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9483 if test "$GCC" = yes; then
9484 lt_prog_compiler_wl
='-Wl,'
9485 lt_prog_compiler_static
='-static'
9489 # All AIX code is PIC.
9490 if test "$host_cpu" = ia64
; then
9491 # AIX 5 now supports IA64 processor
9492 lt_prog_compiler_static
='-Bstatic'
9494 lt_prog_compiler_pic
='-fPIC'
9500 # see comment about AmigaOS4 .so support
9501 lt_prog_compiler_pic
='-fPIC'
9504 # FIXME: we need at least 68020 code to build shared libraries, but
9505 # adding the `-m68020' flag to GCC prevents building anything better,
9507 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9512 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9513 # PIC is the default for these OSes.
9516 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9517 # This hack is so that the source file can tell whether it is being
9518 # built for inclusion in a dll (and should export symbols for example).
9519 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9520 # (--disable-auto-import) libraries
9521 lt_prog_compiler_pic
='-DDLL_EXPORT'
9524 darwin
* | rhapsody
*)
9525 # PIC is the default on this platform
9526 # Common symbols not allowed in MH_DYLIB files
9527 lt_prog_compiler_pic
='-fno-common'
9531 # PIC is the default for Haiku.
9532 # The "-static" flag exists, but is broken.
9533 lt_prog_compiler_static
=
9537 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9538 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9539 # sets the default TLS model and affects inlining.
9545 lt_prog_compiler_pic
='-fPIC'
9551 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9552 # Instead, we relocate shared libraries at runtime.
9556 # Just because we use GCC doesn't mean we suddenly get shared libraries
9557 # on systems that don't support them.
9558 lt_prog_compiler_can_build_shared
=no
9563 # QNX uses GNU C++, but need to define -shared option too, otherwise
9565 lt_prog_compiler_pic
='-fPIC -shared'
9569 if test -d /usr
/nec
; then
9570 lt_prog_compiler_pic
=-Kconform_pic
9575 lt_prog_compiler_pic
='-fPIC'
9579 case $cc_basename in
9580 nvcc
*) # Cuda Compiler Driver 2.2
9581 lt_prog_compiler_wl
='-Xlinker '
9582 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9586 # PORTME Check for flag to pass linker flags through the system compiler.
9589 lt_prog_compiler_wl
='-Wl,'
9590 if test "$host_cpu" = ia64
; then
9591 # AIX 5 now supports IA64 processor
9592 lt_prog_compiler_static
='-Bstatic'
9594 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9598 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9599 # This hack is so that the source file can tell whether it is being
9600 # built for inclusion in a dll (and should export symbols for example).
9601 lt_prog_compiler_pic
='-DDLL_EXPORT'
9604 hpux9
* | hpux10
* | hpux11
*)
9605 lt_prog_compiler_wl
='-Wl,'
9606 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9613 lt_prog_compiler_pic
='+Z'
9616 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9617 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9620 irix5
* | irix6
* | nonstopux
*)
9621 lt_prog_compiler_wl
='-Wl,'
9622 # PIC (with -KPIC) is the default.
9623 lt_prog_compiler_static
='-non_shared'
9626 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9627 case $cc_basename in
9628 # old Intel for x86_64 which still supported -KPIC.
9630 lt_prog_compiler_wl
='-Wl,'
9631 lt_prog_compiler_pic
='-KPIC'
9632 lt_prog_compiler_static
='-static'
9634 # icc used to be incompatible with GCC.
9635 # ICC 10 doesn't accept -KPIC any more.
9637 lt_prog_compiler_wl
='-Wl,'
9638 lt_prog_compiler_pic
='-fPIC'
9639 lt_prog_compiler_static
='-static'
9641 # Lahey Fortran 8.1.
9643 lt_prog_compiler_wl
='-Wl,'
9644 lt_prog_compiler_pic
='--shared'
9645 lt_prog_compiler_static
='--static'
9647 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9648 # Portland Group compilers (*not* the Pentium gcc compiler,
9649 # which looks to be a dead project)
9650 lt_prog_compiler_wl
='-Wl,'
9651 lt_prog_compiler_pic
='-fpic'
9652 lt_prog_compiler_static
='-Bstatic'
9655 lt_prog_compiler_wl
='-Wl,'
9656 # All Alpha code is PIC.
9657 lt_prog_compiler_static
='-non_shared'
9659 xl
* | bgxl
* | bgf
* | mpixl
*)
9660 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9661 lt_prog_compiler_wl
='-Wl,'
9662 lt_prog_compiler_pic
='-qpic'
9663 lt_prog_compiler_static
='-qstaticlink'
9666 case `$CC -V 2>&1 | sed 5q` in
9667 *Sun\ F
* |
*Sun
*Fortran
*)
9668 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9669 lt_prog_compiler_pic
='-KPIC'
9670 lt_prog_compiler_static
='-Bstatic'
9671 lt_prog_compiler_wl
=''
9675 lt_prog_compiler_pic
='-KPIC'
9676 lt_prog_compiler_static
='-Bstatic'
9677 lt_prog_compiler_wl
='-Wl,'
9685 lt_prog_compiler_pic
='-KPIC'
9686 lt_prog_compiler_static
='-Bstatic'
9690 # QNX uses GNU C++, but need to define -shared option too, otherwise
9692 lt_prog_compiler_pic
='-fPIC -shared'
9695 osf3
* | osf4
* | osf5
*)
9696 lt_prog_compiler_wl
='-Wl,'
9697 # All OSF/1 code is PIC.
9698 lt_prog_compiler_static
='-non_shared'
9702 lt_prog_compiler_static
='-non_shared'
9706 lt_prog_compiler_pic
='-KPIC'
9707 lt_prog_compiler_static
='-Bstatic'
9708 case $cc_basename in
9710 lt_prog_compiler_wl
='-Qoption ld ';;
9712 lt_prog_compiler_wl
='-Wl,';;
9717 lt_prog_compiler_wl
='-Qoption ld '
9718 lt_prog_compiler_pic
='-PIC'
9719 lt_prog_compiler_static
='-Bstatic'
9722 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9723 lt_prog_compiler_wl
='-Wl,'
9724 lt_prog_compiler_pic
='-KPIC'
9725 lt_prog_compiler_static
='-Bstatic'
9729 if test -d /usr
/nec
;then
9730 lt_prog_compiler_pic
='-Kconform_pic'
9731 lt_prog_compiler_static
='-Bstatic'
9735 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9736 lt_prog_compiler_wl
='-Wl,'
9737 lt_prog_compiler_pic
='-KPIC'
9738 lt_prog_compiler_static
='-Bstatic'
9742 lt_prog_compiler_wl
='-Wl,'
9743 lt_prog_compiler_can_build_shared
=no
9747 lt_prog_compiler_pic
='-pic'
9748 lt_prog_compiler_static
='-Bstatic'
9752 lt_prog_compiler_can_build_shared
=no
9758 # For platforms which do not support PIC, -DPIC is meaningless:
9760 lt_prog_compiler_pic
=
9763 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9767 $as_echo "$lt_prog_compiler_pic" >&6; }
9775 # Check to make sure the PIC flag actually works.
9777 if test -n "$lt_prog_compiler_pic"; then
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9779 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9780 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9781 $as_echo_n "(cached) " >&6
9783 lt_cv_prog_compiler_pic_works
=no
9784 ac_outfile
=conftest.
$ac_objext
9785 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9786 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9787 # Insert the option either (1) after the last *FLAGS variable, or
9788 # (2) before a word containing "conftest.", or (3) at the end.
9789 # Note that $ac_compile itself does not contain backslashes and begins
9790 # with a dollar sign (not a hyphen), so the echo should work correctly.
9791 # The option is referenced via a variable to avoid confusing sed.
9792 lt_compile
=`echo "$ac_compile" | $SED \
9793 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9794 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9795 -e 's:$: $lt_compiler_flag:'`
9796 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9797 (eval "$lt_compile" 2>conftest.err
)
9799 cat conftest.err
>&5
9800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801 if (exit $ac_status) && test -s "$ac_outfile"; then
9802 # The compiler can only warn and ignore the option if not recognized
9803 # So say no if there are warnings other than the usual output.
9804 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9805 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9806 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9807 lt_cv_prog_compiler_pic_works
=yes
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9814 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9816 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9817 case $lt_prog_compiler_pic in
9819 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9822 lt_prog_compiler_pic
=
9823 lt_prog_compiler_can_build_shared
=no
9834 # Check to make sure the static flag actually works.
9836 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9838 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9839 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9840 $as_echo_n "(cached) " >&6
9842 lt_cv_prog_compiler_static_works
=no
9843 save_LDFLAGS
="$LDFLAGS"
9844 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9845 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9846 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9847 # The linker can only warn and ignore the option if not recognized
9848 # So say no if there are warnings
9849 if test -s conftest.err
; then
9850 # Append any errors to the config.log.
9851 cat conftest.err
1>&5
9852 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9853 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9854 if diff conftest.exp conftest.er2
>/dev
/null
; then
9855 lt_cv_prog_compiler_static_works
=yes
9858 lt_cv_prog_compiler_static_works
=yes
9862 LDFLAGS
="$save_LDFLAGS"
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9866 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9868 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9871 lt_prog_compiler_static
=
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9881 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9882 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9883 $as_echo_n "(cached) " >&6
9885 lt_cv_prog_compiler_c_o
=no
9886 $RM -r conftest
2>/dev
/null
9890 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9892 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9893 # Insert the option either (1) after the last *FLAGS variable, or
9894 # (2) before a word containing "conftest.", or (3) at the end.
9895 # Note that $ac_compile itself does not contain backslashes and begins
9896 # with a dollar sign (not a hyphen), so the echo should work correctly.
9897 lt_compile
=`echo "$ac_compile" | $SED \
9898 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9899 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9900 -e 's:$: $lt_compiler_flag:'`
9901 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9902 (eval "$lt_compile" 2>out
/conftest.err
)
9904 cat out
/conftest.err
>&5
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9908 # The compiler can only warn and ignore the option if not recognized
9909 # So say no if there are warnings
9910 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9911 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9912 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9913 lt_cv_prog_compiler_c_o
=yes
9918 # SGI C++ compiler will create directory out/ii_files/ for
9919 # template instantiation
9920 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9921 $RM out
/* && rmdir out
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9928 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9936 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9937 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9938 $as_echo_n "(cached) " >&6
9940 lt_cv_prog_compiler_c_o
=no
9941 $RM -r conftest
2>/dev
/null
9945 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9947 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9948 # Insert the option either (1) after the last *FLAGS variable, or
9949 # (2) before a word containing "conftest.", or (3) at the end.
9950 # Note that $ac_compile itself does not contain backslashes and begins
9951 # with a dollar sign (not a hyphen), so the echo should work correctly.
9952 lt_compile
=`echo "$ac_compile" | $SED \
9953 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9954 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9955 -e 's:$: $lt_compiler_flag:'`
9956 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9957 (eval "$lt_compile" 2>out
/conftest.err
)
9959 cat out
/conftest.err
>&5
9960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9963 # The compiler can only warn and ignore the option if not recognized
9964 # So say no if there are warnings
9965 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9966 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9967 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9968 lt_cv_prog_compiler_c_o
=yes
9973 # SGI C++ compiler will create directory out/ii_files/ for
9974 # template instantiation
9975 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9976 $RM out
/* && rmdir out
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9983 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9988 hard_links
="nottested"
9989 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9990 # do not overwrite the value of need_locks provided by the user
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9992 $as_echo_n "checking if we can lock with hard links... " >&6; }
9995 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9997 ln conftest.a conftest.b
2>&5 || hard_links
=no
9998 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10000 $as_echo "$hard_links" >&6; }
10001 if test "$hard_links" = no
; then
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10003 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10016 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10019 allow_undefined_flag
=
10020 always_export_symbols
=no
10022 archive_expsym_cmds
=
10023 compiler_needs_object
=no
10024 enable_shared_with_static_runtimes
=no
10025 export_dynamic_flag_spec
=
10026 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10027 hardcode_automatic
=no
10029 hardcode_direct_absolute
=no
10030 hardcode_libdir_flag_spec
=
10031 hardcode_libdir_flag_spec_ld
=
10032 hardcode_libdir_separator
=
10033 hardcode_minus_L
=no
10034 hardcode_shlibpath_var
=unsupported
10036 link_all_deplibs
=unknown
10038 module_expsym_cmds
=
10039 old_archive_from_new_cmds
=
10040 old_archive_from_expsyms_cmds
=
10041 thread_safe_flag_spec
=
10042 whole_archive_flag_spec
=
10043 # include_expsyms should be a list of space-separated symbols to be *always*
10044 # included in the symbol list
10046 # exclude_expsyms can be an extended regexp of symbols to exclude
10047 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10048 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10049 # as well as any symbol that contains `d'.
10050 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10051 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10052 # platforms (ab)use it in PIC code, but their linkers get confused if
10053 # the symbol is explicitly referenced. Since portable code cannot
10054 # rely on this symbol name, it's probably fine to never include it in
10055 # preloaded symbol tables.
10056 # Exclude shared library initialization/finalization symbols.
10057 extract_expsyms_cmds
=
10060 cygwin
* | mingw
* | pw32
* | cegcc
*)
10061 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10062 # When not using gcc, we currently assume that we are using
10063 # Microsoft Visual C++.
10064 if test "$GCC" != yes; then
10069 # we just hope/assume this is gcc and not c89 (= MSVC++)
10079 # On some targets, GNU ld is compatible enough with the native linker
10080 # that we're better off using the native interface for both.
10081 lt_use_gnu_ld_interface
=no
10082 if test "$with_gnu_ld" = yes; then
10085 # The AIX port of GNU ld has always aspired to compatibility
10086 # with the native linker. However, as the warning in the GNU ld
10087 # block says, versions before 2.19.5* couldn't really create working
10088 # shared libraries, regardless of the interface used.
10089 case `$LD -v 2>&1` in
10090 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10091 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10092 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10094 lt_use_gnu_ld_interface
=yes
10099 lt_use_gnu_ld_interface
=yes
10104 if test "$lt_use_gnu_ld_interface" = yes; then
10105 # If archive_cmds runs LD, not CC, wlarc should be empty
10108 # Set some defaults for GNU ld with shared library support. These
10109 # are reset later if shared libraries are not supported. Putting them
10110 # here allows them to be overridden if necessary.
10111 runpath_var
=LD_RUN_PATH
10112 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10113 export_dynamic_flag_spec
='${wl}--export-dynamic'
10114 # ancient GNU ld didn't support --whole-archive et. al.
10115 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10116 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10118 whole_archive_flag_spec
=
10120 supports_anon_versioning
=no
10121 case `$LD -v 2>&1` in
10122 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10123 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10124 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10125 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10126 *\
2.11.
*) ;; # other 2.11 versions
10127 *) supports_anon_versioning
=yes ;;
10130 # See if GNU ld supports shared libraries.
10133 # On AIX/PPC, the GNU linker is very broken
10134 if test "$host_cpu" != ia64
; then
10138 *** Warning: the GNU linker, at least up to release 2.19, is reported
10139 *** to be unable to reliably create shared libraries on AIX.
10140 *** Therefore, libtool is disabling shared libraries support. If you
10141 *** really care for shared libraries, you may want to install binutils
10142 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10143 *** You will then need to restart the configuration process.
10152 # see comment about AmigaOS4 .so support
10153 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10154 archive_expsym_cmds
=''
10157 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10158 hardcode_libdir_flag_spec
='-L$libdir'
10159 hardcode_minus_L
=yes
10165 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10166 allow_undefined_flag
=unsupported
10167 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10168 # support --undefined. This deserves some investigation. FIXME
10169 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10175 cygwin
* | mingw
* | pw32
* | cegcc
*)
10176 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10177 # as there is no search path for DLLs.
10178 hardcode_libdir_flag_spec
='-L$libdir'
10179 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10180 allow_undefined_flag
=unsupported
10181 always_export_symbols
=no
10182 enable_shared_with_static_runtimes
=yes
10183 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10185 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10186 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10187 # If the export-symbols file already is a .def file (1st line
10188 # is EXPORTS), use it as is; otherwise, prepend...
10189 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10190 cp $export_symbols $output_objdir/$soname.def;
10192 echo EXPORTS > $output_objdir/$soname.def;
10193 cat $export_symbols >> $output_objdir/$soname.def;
10195 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10202 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10203 link_all_deplibs
=yes
10208 hardcode_shlibpath_var
=no
10209 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10210 export_dynamic_flag_spec
='${wl}-E'
10211 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10212 # Instead, shared libraries are loaded at an image base (0x10000000 by
10213 # default) and relocated if they conflict, which is a slow very memory
10214 # consuming and fragmenting process. To avoid this, we pick a random,
10215 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10216 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10217 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10218 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10221 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10223 if test "$host_os" = linux-dietlibc
; then
10224 case $cc_basename in
10225 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10228 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10229 && test "$tmp_diet" = no
10231 tmp_addflag
=' $pic_flag'
10232 tmp_sharedflag
='-shared'
10233 case $cc_basename,$host_cpu in
10234 pgcc
*) # Portland Group C compiler
10235 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10236 tmp_addflag
=' $pic_flag'
10238 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10239 # Portland Group f77 and f90 compilers
10240 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10241 tmp_addflag
=' $pic_flag -Mnomain' ;;
10242 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10243 tmp_addflag
=' -i_dynamic' ;;
10244 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10245 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10246 ifc
* | ifort
*) # Intel Fortran compiler
10247 tmp_addflag
=' -nofor_main' ;;
10248 lf95
*) # Lahey Fortran 8.1
10249 whole_archive_flag_spec
=
10250 tmp_sharedflag
='--shared' ;;
10251 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10252 tmp_sharedflag
='-qmkshrobj'
10254 nvcc
*) # Cuda Compiler Driver 2.2
10255 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10256 compiler_needs_object
=yes
10259 case `$CC -V 2>&1 | sed 5q` in
10260 *Sun\ C
*) # Sun C 5.9
10261 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10262 compiler_needs_object
=yes
10263 tmp_sharedflag
='-G' ;;
10264 *Sun\ F
*) # Sun Fortran 8.3
10265 tmp_sharedflag
='-G' ;;
10267 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10269 if test "x$supports_anon_versioning" = xyes
; then
10270 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10271 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10272 echo "local: *; };" >> $output_objdir/$libname.ver~
10273 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10276 case $cc_basename in
10277 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10278 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10279 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10280 hardcode_libdir_flag_spec
=
10281 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10282 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10283 if test "x$supports_anon_versioning" = xyes
; then
10284 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10285 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10286 echo "local: *; };" >> $output_objdir/$libname.ver~
10287 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10297 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10298 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10301 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10302 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10307 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10311 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10312 *** create shared libraries on Solaris systems. Therefore, libtool
10313 *** is disabling shared libraries support. We urge you to upgrade GNU
10314 *** binutils to release 2.9.1 or newer. Another option is to modify
10315 *** your PATH or compiler configuration so that the native linker is
10316 *** used, and then restart.
10319 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10320 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10321 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10327 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10328 case `$LD -v 2>&1` in
10329 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10333 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10334 *** reliably create shared libraries on SCO systems. Therefore, libtool
10335 *** is disabling shared libraries support. We urge you to upgrade GNU
10336 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10337 *** your PATH or compiler configuration so that the native linker is
10338 *** used, and then restart.
10343 # For security reasons, it is highly recommended that you always
10344 # use absolute paths for naming shared libraries, and exclude the
10345 # DT_RUNPATH tag from executables and libraries. But doing so
10346 # requires that you compile everything twice, which is a pain.
10347 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10348 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10349 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10350 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10359 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10361 hardcode_direct
=yes
10362 hardcode_shlibpath_var
=no
10366 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10367 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10368 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10375 if test "$ld_shlibs" = no
; then
10377 hardcode_libdir_flag_spec
=
10378 export_dynamic_flag_spec
=
10379 whole_archive_flag_spec
=
10382 # PORTME fill in a description of your system's linker (not GNU ld)
10385 allow_undefined_flag
=unsupported
10386 always_export_symbols
=yes
10387 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10388 # Note: this linker hardcodes the directories in LIBPATH if there
10389 # are no directories specified by -L.
10390 hardcode_minus_L
=yes
10391 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10392 # Neither direct hardcoding nor static linking is supported with a
10394 hardcode_direct
=unsupported
10399 if test "$host_cpu" = ia64
; then
10400 # On IA64, the linker does run time linking by default, so we don't
10401 # have to do anything special.
10402 aix_use_runtimelinking
=no
10403 exp_sym_flag
='-Bexport'
10406 # If we're using GNU nm, then we don't want the "-C" option.
10407 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10408 # Also, AIX nm treats weak defined symbols like other global
10409 # defined symbols, whereas GNU nm marks them as "W".
10410 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10411 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10413 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10415 aix_use_runtimelinking
=no
10417 # Test if we are trying to use run time linking or normal
10418 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10419 # need to do runtime linking.
10420 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10421 for ld_flag
in $LDFLAGS; do
10422 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10423 aix_use_runtimelinking
=yes
10430 exp_sym_flag
='-bexport'
10431 no_entry_flag
='-bnoentry'
10434 # When large executables or shared objects are built, AIX ld can
10435 # have problems creating the table of contents. If linking a library
10436 # or program results in "error TOC overflow" add -mminimal-toc to
10437 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10438 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10441 hardcode_direct
=yes
10442 hardcode_direct_absolute
=yes
10443 hardcode_libdir_separator
=':'
10444 link_all_deplibs
=yes
10445 file_list_spec
='${wl}-f,'
10447 if test "$GCC" = yes; then
10448 case $host_os in aix4.
[012]|aix4.
[012].
*)
10449 # We only want to do this on AIX 4.2 and lower, the check
10450 # below for broken collect2 doesn't work under 4.3+
10451 collect2name
=`${CC} -print-prog-name=collect2`
10452 if test -f "$collect2name" &&
10453 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10455 # We have reworked collect2
10458 # We have old collect2
10459 hardcode_direct
=unsupported
10460 # It fails to find uninstalled libraries when the uninstalled
10461 # path is not listed in the libpath. Setting hardcode_minus_L
10462 # to unsupported forces relinking
10463 hardcode_minus_L
=yes
10464 hardcode_libdir_flag_spec
='-L$libdir'
10465 hardcode_libdir_separator
=
10469 shared_flag
='-shared'
10470 if test "$aix_use_runtimelinking" = yes; then
10471 shared_flag
="$shared_flag "'${wl}-G'
10475 if test "$host_cpu" = ia64
; then
10476 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10477 # chokes on -Wl,-G. The following line is correct:
10480 if test "$aix_use_runtimelinking" = yes; then
10481 shared_flag
='${wl}-G'
10483 shared_flag
='${wl}-bM:SRE'
10488 export_dynamic_flag_spec
='${wl}-bexpall'
10489 # It seems that -bexpall does not export symbols beginning with
10490 # underscore (_), so it is better to generate a list of symbols to export.
10491 always_export_symbols
=yes
10492 if test "$aix_use_runtimelinking" = yes; then
10493 # Warning - without using the other runtime loading flags (-brtl),
10494 # -berok will link without error, but may produce a broken library.
10495 allow_undefined_flag
='-berok'
10496 # Determine the default libpath from the value encoded in an
10497 # empty executable.
10498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10499 /* end confdefs.h. */
10509 if ac_fn_c_try_link
"$LINENO"; then :
10511 lt_aix_libpath_sed
='
10512 /Import File Strings/,/^$/ {
10518 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10519 # Check for a 64-bit object if we didn't find anything.
10520 if test -z "$aix_libpath"; then
10521 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10524 rm -f core conftest.err conftest.
$ac_objext \
10525 conftest
$ac_exeext conftest.
$ac_ext
10526 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10528 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10529 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10531 if test "$host_cpu" = ia64
; then
10532 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10533 allow_undefined_flag
="-z nodefs"
10534 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10536 # Determine the default libpath from the value encoded in an
10537 # empty executable.
10538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10549 if ac_fn_c_try_link
"$LINENO"; then :
10551 lt_aix_libpath_sed
='
10552 /Import File Strings/,/^$/ {
10558 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10559 # Check for a 64-bit object if we didn't find anything.
10560 if test -z "$aix_libpath"; then
10561 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10564 rm -f core conftest.err conftest.
$ac_objext \
10565 conftest
$ac_exeext conftest.
$ac_ext
10566 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10568 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10569 # Warning - without using the other run time loading flags,
10570 # -berok will link without error, but may produce a broken library.
10571 no_undefined_flag
=' ${wl}-bernotok'
10572 allow_undefined_flag
=' ${wl}-berok'
10573 if test "$with_gnu_ld" = yes; then
10574 # We only use this code for GNU lds that support --whole-archive.
10575 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10577 # Exported symbols can be pulled into shared objects from archives
10578 whole_archive_flag_spec
='$convenience'
10580 archive_cmds_need_lc
=yes
10581 # This is similar to how AIX traditionally builds its shared libraries.
10582 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10590 # see comment about AmigaOS4 .so support
10591 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10592 archive_expsym_cmds
=''
10595 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10596 hardcode_libdir_flag_spec
='-L$libdir'
10597 hardcode_minus_L
=yes
10603 export_dynamic_flag_spec
=-rdynamic
10606 cygwin
* | mingw
* | pw32
* | cegcc
*)
10607 # When not using gcc, we currently assume that we are using
10608 # Microsoft Visual C++.
10609 # hardcode_libdir_flag_spec is actually meaningless, as there is
10610 # no search path for DLLs.
10611 hardcode_libdir_flag_spec
=' '
10612 allow_undefined_flag
=unsupported
10613 # Tell ltmain to make .lib files, not .a files.
10615 # Tell ltmain to make .dll files, not .so files.
10617 # FIXME: Setting linknames here is a bad hack.
10618 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10619 # The linker will automatically build a .lib file if we build a DLL.
10620 old_archive_from_new_cmds
='true'
10621 # FIXME: Should let the user specify the lib program.
10622 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10623 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10624 enable_shared_with_static_runtimes
=yes
10627 darwin
* | rhapsody
*)
10630 archive_cmds_need_lc
=no
10632 hardcode_automatic
=yes
10633 hardcode_shlibpath_var
=unsupported
10634 if test "$lt_cv_ld_force_load" = "yes"; then
10635 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10637 whole_archive_flag_spec
=''
10639 link_all_deplibs
=yes
10640 allow_undefined_flag
="$_lt_dar_allow_undefined"
10641 case $cc_basename in
10642 ifort
*) _lt_dar_can_shared
=yes ;;
10643 *) _lt_dar_can_shared
=$GCC ;;
10645 if test "$_lt_dar_can_shared" = "yes"; then
10646 output_verbose_link_cmd
=func_echo_all
10647 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10648 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10649 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10650 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10659 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10660 hardcode_libdir_flag_spec
='-L$libdir'
10661 hardcode_shlibpath_var
=no
10664 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10665 # support. Future versions do this automatically, but an explicit c++rt0.o
10666 # does not break anything, and helps significantly (at the cost of a little
10669 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10670 hardcode_libdir_flag_spec
='-R$libdir'
10671 hardcode_direct
=yes
10672 hardcode_shlibpath_var
=no
10675 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10677 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10678 hardcode_direct
=yes
10679 hardcode_minus_L
=yes
10680 hardcode_shlibpath_var
=no
10683 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10684 freebsd
* | dragonfly
*)
10685 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10686 hardcode_libdir_flag_spec
='-R$libdir'
10687 hardcode_direct
=yes
10688 hardcode_shlibpath_var
=no
10692 if test "$GCC" = yes; then
10693 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10695 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10697 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10698 hardcode_libdir_separator
=:
10699 hardcode_direct
=yes
10701 # hardcode_minus_L: Not really in the search PATH,
10702 # but as the default location of the library.
10703 hardcode_minus_L
=yes
10704 export_dynamic_flag_spec
='${wl}-E'
10708 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10709 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10711 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10713 if test "$with_gnu_ld" = no
; then
10714 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10715 hardcode_libdir_flag_spec_ld
='+b $libdir'
10716 hardcode_libdir_separator
=:
10717 hardcode_direct
=yes
10718 hardcode_direct_absolute
=yes
10719 export_dynamic_flag_spec
='${wl}-E'
10720 # hardcode_minus_L: Not really in the search PATH,
10721 # but as the default location of the library.
10722 hardcode_minus_L
=yes
10727 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10730 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10733 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10736 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10742 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10745 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10749 # Older versions of the 11.00 compiler do not understand -b yet
10750 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10752 $as_echo_n "checking if $CC understands -b... " >&6; }
10753 if ${lt_cv_prog_compiler__b+:} false
; then :
10754 $as_echo_n "(cached) " >&6
10756 lt_cv_prog_compiler__b
=no
10757 save_LDFLAGS
="$LDFLAGS"
10758 LDFLAGS
="$LDFLAGS -b"
10759 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10760 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10761 # The linker can only warn and ignore the option if not recognized
10762 # So say no if there are warnings
10763 if test -s conftest.err
; then
10764 # Append any errors to the config.log.
10765 cat conftest.err
1>&5
10766 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10767 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10768 if diff conftest.exp conftest.er2
>/dev
/null
; then
10769 lt_cv_prog_compiler__b
=yes
10772 lt_cv_prog_compiler__b
=yes
10776 LDFLAGS
="$save_LDFLAGS"
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10780 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10782 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10783 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10785 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10791 if test "$with_gnu_ld" = no
; then
10792 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10793 hardcode_libdir_separator
=:
10798 hardcode_shlibpath_var
=no
10801 hardcode_direct
=yes
10802 hardcode_direct_absolute
=yes
10803 export_dynamic_flag_spec
='${wl}-E'
10805 # hardcode_minus_L: Not really in the search PATH,
10806 # but as the default location of the library.
10807 hardcode_minus_L
=yes
10813 irix5
* | irix6
* | nonstopux
*)
10814 if test "$GCC" = yes; then
10815 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10816 # Try to use the -exported_symbol ld option, if it does not
10817 # work, assume that -exports_file does not work either and
10818 # implicitly export all symbols.
10819 save_LDFLAGS
="$LDFLAGS"
10820 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10825 if ac_fn_c_try_link
"$LINENO"; then :
10826 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10829 rm -f core conftest.err conftest.
$ac_objext \
10830 conftest
$ac_exeext conftest.
$ac_ext
10831 LDFLAGS
="$save_LDFLAGS"
10833 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10834 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10836 archive_cmds_need_lc
='no'
10837 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10838 hardcode_libdir_separator
=:
10840 link_all_deplibs
=yes
10844 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10845 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10847 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10849 hardcode_libdir_flag_spec
='-R$libdir'
10850 hardcode_direct
=yes
10851 hardcode_shlibpath_var
=no
10855 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10856 hardcode_direct
=yes
10857 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10858 hardcode_libdir_separator
=:
10859 hardcode_shlibpath_var
=no
10866 if test -f /usr
/libexec
/ld.so
; then
10867 hardcode_direct
=yes
10868 hardcode_shlibpath_var
=no
10869 hardcode_direct_absolute
=yes
10870 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10871 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10872 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10873 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10874 export_dynamic_flag_spec
='${wl}-E'
10877 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10878 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10879 hardcode_libdir_flag_spec
='-R$libdir'
10882 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10883 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10893 hardcode_libdir_flag_spec
='-L$libdir'
10894 hardcode_minus_L
=yes
10895 allow_undefined_flag
=unsupported
10896 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10897 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10901 if test "$GCC" = yes; then
10902 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10903 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10905 allow_undefined_flag
=' -expect_unresolved \*'
10906 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10908 archive_cmds_need_lc
='no'
10909 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10910 hardcode_libdir_separator
=:
10913 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10914 if test "$GCC" = yes; then
10915 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10916 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10917 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10919 allow_undefined_flag
=' -expect_unresolved \*'
10920 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10921 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10922 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10924 # Both c and cxx compiler support -rpath directly
10925 hardcode_libdir_flag_spec
='-rpath $libdir'
10927 archive_cmds_need_lc
='no'
10928 hardcode_libdir_separator
=:
10932 no_undefined_flag
=' -z defs'
10933 if test "$GCC" = yes; then
10935 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10936 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10937 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10939 case `$CC -V 2>&1` in
10942 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10943 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10944 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10948 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10949 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10950 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10954 hardcode_libdir_flag_spec
='-R$libdir'
10955 hardcode_shlibpath_var
=no
10957 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10959 # The compiler driver will combine and reorder linker options,
10960 # but understands `-z linker_flag'. GCC discards it without `$wl',
10961 # but is careful enough not to reorder.
10962 # Supported since Solaris 2.6 (maybe 2.5.1?)
10963 if test "$GCC" = yes; then
10964 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10966 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10970 link_all_deplibs
=yes
10974 if test "x$host_vendor" = xsequent
; then
10975 # Use $CC to link under sequent, because it throws in some extra .o
10976 # files that make .init and .fini sections work.
10977 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10979 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10981 hardcode_libdir_flag_spec
='-L$libdir'
10982 hardcode_direct
=yes
10983 hardcode_minus_L
=yes
10984 hardcode_shlibpath_var
=no
10988 case $host_vendor in
10990 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10991 hardcode_direct
=yes # is this really true???
10994 ## LD is ld it makes a PLAMLIB
10995 ## CC just makes a GrossModule.
10996 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10997 reload_cmds
='$CC -r -o $output$reload_objs'
11001 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11002 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11005 runpath_var
='LD_RUN_PATH'
11006 hardcode_shlibpath_var
=no
11010 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11011 hardcode_shlibpath_var
=no
11012 export_dynamic_flag_spec
='-Bexport'
11016 if test -d /usr
/nec
; then
11017 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11018 hardcode_shlibpath_var
=no
11019 runpath_var
=LD_RUN_PATH
11020 hardcode_runpath_var
=yes
11025 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11026 no_undefined_flag
='${wl}-z,text'
11027 archive_cmds_need_lc
=no
11028 hardcode_shlibpath_var
=no
11029 runpath_var
='LD_RUN_PATH'
11031 if test "$GCC" = yes; then
11032 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11033 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11035 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11036 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11040 sysv5
* | sco3.2v5
* | sco5v6
*)
11041 # Note: We can NOT use -z defs as we might desire, because we do not
11042 # link with -lc, and that would cause any symbols used from libc to
11043 # always be unresolved, which means just about no library would
11044 # ever link correctly. If we're not using GNU ld we use -z text
11045 # though, which does catch some bad symbols but isn't as heavy-handed
11047 no_undefined_flag
='${wl}-z,text'
11048 allow_undefined_flag
='${wl}-z,nodefs'
11049 archive_cmds_need_lc
=no
11050 hardcode_shlibpath_var
=no
11051 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11052 hardcode_libdir_separator
=':'
11053 link_all_deplibs
=yes
11054 export_dynamic_flag_spec
='${wl}-Bexport'
11055 runpath_var
='LD_RUN_PATH'
11057 if test "$GCC" = yes; then
11058 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11059 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11061 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11062 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11067 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11068 hardcode_libdir_flag_spec
='-L$libdir'
11069 hardcode_shlibpath_var
=no
11077 if test x
$host_vendor = xsni
; then
11079 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11080 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11087 $as_echo "$ld_shlibs" >&6; }
11088 test "$ld_shlibs" = no
&& can_build_shared
=no
11090 with_gnu_ld
=$with_gnu_ld
11107 # Do we need to explicitly link libc?
11109 case "x$archive_cmds_need_lc" in
11111 # Assume -lc should be added
11112 archive_cmds_need_lc
=yes
11114 if test "$enable_shared" = yes && test "$GCC" = yes; then
11115 case $archive_cmds in
11117 # FIXME: we may have to deal with multi-command sequences.
11120 # Test whether the compiler implicitly links with -lc since on some
11121 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11122 # to ld, don't add -lc before -lgcc.
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11124 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11125 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11126 $as_echo_n "(cached) " >&6
11129 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11131 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11132 (eval $ac_compile) 2>&5
11134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11135 test $ac_status = 0; } 2>conftest.err
; then
11138 libobjs
=conftest.
$ac_objext
11140 wl
=$lt_prog_compiler_wl
11141 pic_flag
=$lt_prog_compiler_pic
11147 lt_save_allow_undefined_flag
=$allow_undefined_flag
11148 allow_undefined_flag
=
11149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11150 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11153 test $ac_status = 0; }
11155 lt_cv_archive_cmds_need_lc
=no
11157 lt_cv_archive_cmds_need_lc
=yes
11159 allow_undefined_flag
=$lt_save_allow_undefined_flag
11161 cat conftest.err
1>&5
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11167 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11168 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11332 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11334 if test "$GCC" = yes; then
11336 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11337 *) lt_awk_arg
="/^libraries:/" ;;
11340 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11341 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11343 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11344 case $lt_search_path_spec in
11346 # if the path contains ";" then we assume it to be the separator
11347 # otherwise default to the standard path separator (i.e. ":") - it is
11348 # assumed that no part of a normal pathname contains ";" but that should
11349 # okay in the real world where ";" in dirpaths is itself problematic.
11350 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11353 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11356 # Ok, now we have the path, separated by spaces, we can step through it
11357 # and add multilib dir if necessary.
11358 lt_tmp_lt_search_path_spec
=
11359 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11360 for lt_sys_path
in $lt_search_path_spec; do
11361 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11362 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11364 test -d "$lt_sys_path" && \
11365 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11368 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11369 BEGIN {RS=" "; FS="/|\n";} {
11372 for (lt_i = NF; lt_i > 0; lt_i--) {
11373 if ($lt_i != "" && $lt_i != ".") {
11374 if ($lt_i == "..") {
11377 if (lt_count == 0) {
11378 lt_foo="/" $lt_i lt_foo;
11385 if (lt_foo != "") { lt_freq[lt_foo]++; }
11386 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11388 # AWK program above erroneously prepends '/' to C:/dos/paths
11391 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11392 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11394 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11396 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11398 library_names_spec
=
11399 libname_spec
='lib$name'
11403 postuninstall_cmds
=
11407 shlibpath_overrides_runpath
=unknown
11409 dynamic_linker
="$host_os ld.so"
11410 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11411 need_lib_prefix
=unknown
11412 hardcode_into_libs
=no
11414 # when you set need_version to no, make sure it does not cause -set_version
11415 # flags to be left without arguments
11416 need_version
=unknown
11421 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11422 shlibpath_var
=LIBPATH
11424 # AIX 3 has no versioning support, so we append a major version to the name.
11425 soname_spec
='${libname}${release}${shared_ext}$major'
11432 hardcode_into_libs
=yes
11433 if test "$host_cpu" = ia64
; then
11434 # AIX 5 supports IA64
11435 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11436 shlibpath_var
=LD_LIBRARY_PATH
11438 # With GCC up to 2.95.x, collect2 would create an import file
11439 # for dependence libraries. The import file would start with
11440 # the line `#! .'. This would cause the generated library to
11441 # depend on `.', always an invalid library. This was fixed in
11442 # development snapshots of GCC prior to 3.0.
11444 aix4 | aix4.
[01] | aix4.
[01].
*)
11445 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11447 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11450 can_build_shared
=no
11454 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11455 # soname into executable. Probably we can add versioning support to
11456 # collect2, so additional links can be useful in future.
11457 if test "$aix_use_runtimelinking" = yes; then
11458 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11459 # instead of lib<name>.a to let people know that these are not
11460 # typical AIX shared libraries.
11461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11463 # We preserve .a as extension for shared libraries through AIX4.2
11464 # and later when we are not doing run time linking.
11465 library_names_spec
='${libname}${release}.a $libname.a'
11466 soname_spec
='${libname}${release}${shared_ext}$major'
11468 shlibpath_var
=LIBPATH
11475 # Since July 2007 AmigaOS4 officially supports .so libraries.
11476 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11480 library_names_spec
='$libname.ixlibrary $libname.a'
11481 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11482 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11488 library_names_spec
='${libname}${shared_ext}'
11489 dynamic_linker
="$host_os ld.so"
11490 shlibpath_var
=LIBRARY_PATH
11496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11497 soname_spec
='${libname}${release}${shared_ext}$major'
11498 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11499 shlibpath_var
=LD_LIBRARY_PATH
11500 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11501 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11502 # the default ld.so.conf also contains /usr/contrib/lib and
11503 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11504 # libtool to hard-code these into programs
11507 cygwin
* | mingw
* | pw32
* | cegcc
*)
11508 version_type
=windows
11513 case $GCC,$host_os in
11514 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11515 library_names_spec
='$libname.dll.a'
11516 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11517 postinstall_cmds
='base_file=`basename \${file}`~
11518 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11519 dldir=$destdir/`dirname \$dlpath`~
11520 test -d \$dldir || mkdir -p \$dldir~
11521 $install_prog $dir/$dlname \$dldir/$dlname~
11522 chmod a+x \$dldir/$dlname~
11523 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11524 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11526 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11527 dlpath=$dir/\$dldll~
11529 shlibpath_overrides_runpath
=yes
11533 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11534 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11536 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11539 # MinGW DLLs use traditional 'lib' prefix
11540 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11543 # pw32 DLLs use 'pw' prefix rather than 'lib'
11544 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11550 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11553 dynamic_linker
='Win32 ld.exe'
11554 # FIXME: first we should search . and the directory the executable is in
11558 darwin
* | rhapsody
*)
11559 dynamic_linker
="$host_os dyld"
11560 version_type
=darwin
11563 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11564 soname_spec
='${libname}${release}${major}$shared_ext'
11565 shlibpath_overrides_runpath
=yes
11566 shlibpath_var
=DYLD_LIBRARY_PATH
11567 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11569 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11570 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11578 soname_spec
='${libname}${release}${shared_ext}$major'
11579 shlibpath_var
=LD_LIBRARY_PATH
11582 freebsd
* | dragonfly
*)
11583 # DragonFly does not have aout. When/if they implement a new
11584 # versioning mechanism, adjust this.
11585 if test -x /usr
/bin
/objformat
; then
11586 objformat
=`/usr/bin/objformat`
11589 freebsd
[23].
*) objformat
=aout
;;
11590 *) objformat
=elf
;;
11593 version_type
=freebsd-
$objformat
11594 case $version_type in
11596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11601 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11605 shlibpath_var
=LD_LIBRARY_PATH
11608 shlibpath_overrides_runpath
=yes
11610 freebsd3.
[01]* | freebsdelf3.
[01]*)
11611 shlibpath_overrides_runpath
=yes
11612 hardcode_into_libs
=yes
11614 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11615 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11616 shlibpath_overrides_runpath
=no
11617 hardcode_into_libs
=yes
11619 *) # from 4.6 on, and DragonFly
11620 shlibpath_overrides_runpath
=yes
11621 hardcode_into_libs
=yes
11630 dynamic_linker
="$host_os runtime_loader"
11631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11632 soname_spec
='${libname}${release}${shared_ext}$major'
11633 shlibpath_var
=LIBRARY_PATH
11634 shlibpath_overrides_runpath
=yes
11635 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11636 hardcode_into_libs
=yes
11639 hpux9
* | hpux10
* | hpux11
*)
11640 # Give a soname corresponding to the major version so that dld.sl refuses to
11641 # link against other versions.
11648 hardcode_into_libs
=yes
11649 dynamic_linker
="$host_os dld.so"
11650 shlibpath_var
=LD_LIBRARY_PATH
11651 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11653 soname_spec
='${libname}${release}${shared_ext}$major'
11654 if test "X$HPUX_IA64_MODE" = X32
; then
11655 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11657 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11659 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11663 hardcode_into_libs
=yes
11664 dynamic_linker
="$host_os dld.sl"
11665 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11666 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11668 soname_spec
='${libname}${release}${shared_ext}$major'
11669 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11670 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11674 dynamic_linker
="$host_os dld.sl"
11675 shlibpath_var
=SHLIB_PATH
11676 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11678 soname_spec
='${libname}${release}${shared_ext}$major'
11681 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11682 postinstall_cmds
='chmod 555 $lib'
11683 # or fails outright, so override atomically:
11684 install_override_mode
=555
11691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11692 soname_spec
='${libname}${release}${shared_ext}$major'
11693 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11694 shlibpath_var
=LD_LIBRARY_PATH
11695 shlibpath_overrides_runpath
=no
11696 hardcode_into_libs
=yes
11699 irix5
* | irix6
* | nonstopux
*)
11701 nonstopux
*) version_type
=nonstopux
;;
11703 if test "$lt_cv_prog_gnu_ld" = yes; then
11711 soname_spec
='${libname}${release}${shared_ext}$major'
11712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11714 irix5
* | nonstopux
*)
11715 libsuff
= shlibsuff
=
11718 case $LD in # libtool.m4 will add one of these switches to LD
11719 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11720 libsuff
= shlibsuff
= libmagic
=32-bit;;
11721 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11722 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11723 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11724 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11725 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11729 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11730 shlibpath_overrides_runpath
=no
11731 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11732 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11733 hardcode_into_libs
=yes
11736 # No shared lib support for Linux oldld, aout, or coff.
11737 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11741 # This must be Linux ELF.
11742 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11747 soname_spec
='${libname}${release}${shared_ext}$major'
11748 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11749 shlibpath_var
=LD_LIBRARY_PATH
11750 shlibpath_overrides_runpath
=no
11752 # Some binutils ld are patched to set DT_RUNPATH
11753 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11754 $as_echo_n "(cached) " >&6
11756 lt_cv_shlibpath_overrides_runpath
=no
11757 save_LDFLAGS
=$LDFLAGS
11758 save_libdir
=$libdir
11759 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11760 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11762 /* end confdefs.h. */
11772 if ac_fn_c_try_link
"$LINENO"; then :
11773 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11774 lt_cv_shlibpath_overrides_runpath
=yes
11777 rm -f core conftest.err conftest.
$ac_objext \
11778 conftest
$ac_exeext conftest.
$ac_ext
11779 LDFLAGS
=$save_LDFLAGS
11780 libdir
=$save_libdir
11784 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11786 # This implies no fast_install, which is unacceptable.
11787 # Some rework will be needed to allow for fast_install
11788 # before this can be enabled.
11789 hardcode_into_libs
=yes
11791 # Append ld.so.conf contents to the search path
11792 if test -f /etc
/ld.so.conf
; then
11793 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11794 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11797 # We used to test for /lib/ld.so.1 and disable shared libraries on
11798 # powerpc, because MkLinux only supported shared libraries with the
11799 # GNU dynamic linker. Since this was broken with cross compilers,
11800 # most powerpc-linux boxes support dynamic linking these days and
11801 # people can always --disable-shared, the test was removed, and we
11802 # assume the GNU/Linux dynamic linker is in use.
11803 dynamic_linker
='GNU/Linux ld.so'
11810 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11812 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11813 dynamic_linker
='NetBSD (a.out) ld.so'
11815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11816 soname_spec
='${libname}${release}${shared_ext}$major'
11817 dynamic_linker
='NetBSD ld.elf_so'
11819 shlibpath_var
=LD_LIBRARY_PATH
11820 shlibpath_overrides_runpath
=yes
11821 hardcode_into_libs
=yes
11826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11827 shlibpath_var
=LD_LIBRARY_PATH
11828 shlibpath_overrides_runpath
=yes
11835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11836 soname_spec
='${libname}${release}${shared_ext}$major'
11837 shlibpath_var
=LD_LIBRARY_PATH
11838 shlibpath_overrides_runpath
=no
11839 hardcode_into_libs
=yes
11840 dynamic_linker
='ldqnx.so'
11845 sys_lib_dlsearch_path_spec
="/usr/lib"
11847 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11849 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11850 *) need_version
=no
;;
11852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11853 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11854 shlibpath_var
=LD_LIBRARY_PATH
11855 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11857 openbsd2.
[89] | openbsd2.
[89].
*)
11858 shlibpath_overrides_runpath
=no
11861 shlibpath_overrides_runpath
=yes
11865 shlibpath_overrides_runpath
=yes
11870 libname_spec
='$name'
11873 library_names_spec
='$libname${shared_ext} $libname.a'
11874 dynamic_linker
='OS/2 ld.exe'
11875 shlibpath_var
=LIBPATH
11878 osf3
* | osf4
* | osf5
*)
11882 soname_spec
='${libname}${release}${shared_ext}$major'
11883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11884 shlibpath_var
=LD_LIBRARY_PATH
11885 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11886 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11898 soname_spec
='${libname}${release}${shared_ext}$major'
11899 shlibpath_var
=LD_LIBRARY_PATH
11900 shlibpath_overrides_runpath
=yes
11901 hardcode_into_libs
=yes
11902 # ldd complains unless libraries are executable
11903 postinstall_cmds
='chmod +x $lib'
11908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11909 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11910 shlibpath_var
=LD_LIBRARY_PATH
11911 shlibpath_overrides_runpath
=yes
11912 if test "$with_gnu_ld" = yes; then
11920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11921 soname_spec
='${libname}${release}${shared_ext}$major'
11922 shlibpath_var
=LD_LIBRARY_PATH
11923 case $host_vendor in
11925 shlibpath_overrides_runpath
=no
11927 runpath_var
=LD_RUN_PATH
11935 shlibpath_overrides_runpath
=no
11936 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11942 if test -d /usr
/nec
;then
11944 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11945 soname_spec
='$libname${shared_ext}.$major'
11946 shlibpath_var
=LD_LIBRARY_PATH
11950 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11951 version_type
=freebsd-elf
11954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11955 soname_spec
='${libname}${release}${shared_ext}$major'
11956 shlibpath_var
=LD_LIBRARY_PATH
11957 shlibpath_overrides_runpath
=yes
11958 hardcode_into_libs
=yes
11959 if test "$with_gnu_ld" = yes; then
11960 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11962 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11965 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11969 sys_lib_dlsearch_path_spec
='/usr/lib'
11973 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11978 shlibpath_var
=LD_LIBRARY_PATH
11979 shlibpath_overrides_runpath
=no
11980 hardcode_into_libs
=yes
11985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11986 soname_spec
='${libname}${release}${shared_ext}$major'
11987 shlibpath_var
=LD_LIBRARY_PATH
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11995 $as_echo "$dynamic_linker" >&6; }
11996 test "$dynamic_linker" = no
&& can_build_shared
=no
11998 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11999 if test "$GCC" = yes; then
12000 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12003 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12004 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12006 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12007 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12102 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12104 if test -n "$hardcode_libdir_flag_spec" ||
12105 test -n "$runpath_var" ||
12106 test "X$hardcode_automatic" = "Xyes" ; then
12108 # We can hardcode non-existent directories.
12109 if test "$hardcode_direct" != no
&&
12110 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12111 # have to relink, otherwise we might link with an installed library
12112 # when we should be linking with a yet-to-be-installed one
12113 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12114 test "$hardcode_minus_L" != no
; then
12115 # Linking always hardcodes the temporary library directory.
12116 hardcode_action
=relink
12118 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12119 hardcode_action
=immediate
12122 # We cannot hardcode anything, or else we can only hardcode existing
12124 hardcode_action
=unsupported
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12127 $as_echo "$hardcode_action" >&6; }
12129 if test "$hardcode_action" = relink ||
12130 test "$inherit_rpath" = yes; then
12131 # Fast installation is not supported
12132 enable_fast_install
=no
12133 elif test "$shlibpath_overrides_runpath" = yes ||
12134 test "$enable_shared" = no
; then
12135 # Fast installation is not necessary
12136 enable_fast_install
=needless
12144 if test "x$enable_dlopen" != xyes
; then
12145 enable_dlopen
=unknown
12146 enable_dlopen_self
=unknown
12147 enable_dlopen_self_static
=unknown
12154 lt_cv_dlopen
="load_add_on"
12156 lt_cv_dlopen_self
=yes
12159 mingw
* | pw32
* | cegcc
*)
12160 lt_cv_dlopen
="LoadLibrary"
12165 lt_cv_dlopen
="dlopen"
12170 # if libdl is installed we need to link against it
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12172 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12173 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12174 $as_echo_n "(cached) " >&6
12176 ac_check_lib_save_LIBS
=$LIBS
12178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12179 /* end confdefs.h. */
12181 /* Override any GCC internal prototype to avoid an error.
12182 Use char because int might match the return type of a GCC
12183 builtin and then its argument prototype would still apply. */
12196 if ac_fn_c_try_link
"$LINENO"; then :
12197 ac_cv_lib_dl_dlopen
=yes
12199 ac_cv_lib_dl_dlopen
=no
12201 rm -f core conftest.err conftest.
$ac_objext \
12202 conftest
$ac_exeext conftest.
$ac_ext
12203 LIBS
=$ac_check_lib_save_LIBS
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12206 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12207 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12208 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12211 lt_cv_dlopen
="dyld"
12213 lt_cv_dlopen_self
=yes
12220 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12221 if test "x$ac_cv_func_shl_load" = xyes
; then :
12222 lt_cv_dlopen
="shl_load"
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12225 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12226 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12227 $as_echo_n "(cached) " >&6
12229 ac_check_lib_save_LIBS
=$LIBS
12231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12232 /* end confdefs.h. */
12234 /* Override any GCC internal prototype to avoid an error.
12235 Use char because int might match the return type of a GCC
12236 builtin and then its argument prototype would still apply. */
12244 return shl_load ();
12249 if ac_fn_c_try_link
"$LINENO"; then :
12250 ac_cv_lib_dld_shl_load
=yes
12252 ac_cv_lib_dld_shl_load
=no
12254 rm -f core conftest.err conftest.
$ac_objext \
12255 conftest
$ac_exeext conftest.
$ac_ext
12256 LIBS
=$ac_check_lib_save_LIBS
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12259 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12260 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12261 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12263 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12264 if test "x$ac_cv_func_dlopen" = xyes
; then :
12265 lt_cv_dlopen
="dlopen"
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12268 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12269 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12270 $as_echo_n "(cached) " >&6
12272 ac_check_lib_save_LIBS
=$LIBS
12274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12275 /* end confdefs.h. */
12277 /* Override any GCC internal prototype to avoid an error.
12278 Use char because int might match the return type of a GCC
12279 builtin and then its argument prototype would still apply. */
12292 if ac_fn_c_try_link
"$LINENO"; then :
12293 ac_cv_lib_dl_dlopen
=yes
12295 ac_cv_lib_dl_dlopen
=no
12297 rm -f core conftest.err conftest.
$ac_objext \
12298 conftest
$ac_exeext conftest.
$ac_ext
12299 LIBS
=$ac_check_lib_save_LIBS
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12302 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12303 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12304 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12307 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12308 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12309 $as_echo_n "(cached) " >&6
12311 ac_check_lib_save_LIBS
=$LIBS
12312 LIBS
="-lsvld $LIBS"
12313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12316 /* Override any GCC internal prototype to avoid an error.
12317 Use char because int might match the return type of a GCC
12318 builtin and then its argument prototype would still apply. */
12331 if ac_fn_c_try_link
"$LINENO"; then :
12332 ac_cv_lib_svld_dlopen
=yes
12334 ac_cv_lib_svld_dlopen
=no
12336 rm -f core conftest.err conftest.
$ac_objext \
12337 conftest
$ac_exeext conftest.
$ac_ext
12338 LIBS
=$ac_check_lib_save_LIBS
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12341 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12342 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12343 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12346 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12347 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12348 $as_echo_n "(cached) " >&6
12350 ac_check_lib_save_LIBS
=$LIBS
12352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12353 /* end confdefs.h. */
12355 /* Override any GCC internal prototype to avoid an error.
12356 Use char because int might match the return type of a GCC
12357 builtin and then its argument prototype would still apply. */
12365 return dld_link ();
12370 if ac_fn_c_try_link
"$LINENO"; then :
12371 ac_cv_lib_dld_dld_link
=yes
12373 ac_cv_lib_dld_dld_link
=no
12375 rm -f core conftest.err conftest.
$ac_objext \
12376 conftest
$ac_exeext conftest.
$ac_ext
12377 LIBS
=$ac_check_lib_save_LIBS
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12380 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12381 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12382 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12403 if test "x$lt_cv_dlopen" != xno
; then
12409 case $lt_cv_dlopen in
12411 save_CPPFLAGS
="$CPPFLAGS"
12412 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12414 save_LDFLAGS
="$LDFLAGS"
12415 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12418 LIBS
="$lt_cv_dlopen_libs $LIBS"
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12421 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12422 if ${lt_cv_dlopen_self+:} false
; then :
12423 $as_echo_n "(cached) " >&6
12425 if test "$cross_compiling" = yes; then :
12426 lt_cv_dlopen_self
=cross
12428 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12429 lt_status
=$lt_dlunknown
12430 cat > conftest.
$ac_ext <<_LT_EOF
12431 #line 12431 "configure"
12432 #include "confdefs.h"
12441 # define LT_DLGLOBAL RTLD_GLOBAL
12444 # define LT_DLGLOBAL DL_GLOBAL
12446 # define LT_DLGLOBAL 0
12450 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12451 find out it does not work in some platform. */
12452 #ifndef LT_DLLAZY_OR_NOW
12454 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12457 # define LT_DLLAZY_OR_NOW DL_LAZY
12460 # define LT_DLLAZY_OR_NOW RTLD_NOW
12463 # define LT_DLLAZY_OR_NOW DL_NOW
12465 # define LT_DLLAZY_OR_NOW 0
12472 /* When -fvisbility=hidden is used, assume the code has been annotated
12473 correspondingly for the symbols needed. */
12474 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12475 void fnord () __attribute__((visibility("default")));
12478 void fnord () { int i=42; }
12481 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12482 int status = $lt_dlunknown;
12486 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12489 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12490 else puts (dlerror ());
12492 /* dlclose (self); */
12500 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12501 (eval $ac_link) 2>&5
12503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12504 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12505 (.
/conftest
; exit; ) >&5 2>/dev
/null
12507 case x
$lt_status in
12508 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12509 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12510 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12513 # compilation failed
12514 lt_cv_dlopen_self
=no
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12522 $as_echo "$lt_cv_dlopen_self" >&6; }
12524 if test "x$lt_cv_dlopen_self" = xyes
; then
12525 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12527 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12528 if ${lt_cv_dlopen_self_static+:} false
; then :
12529 $as_echo_n "(cached) " >&6
12531 if test "$cross_compiling" = yes; then :
12532 lt_cv_dlopen_self_static
=cross
12534 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12535 lt_status
=$lt_dlunknown
12536 cat > conftest.
$ac_ext <<_LT_EOF
12537 #line 12537 "configure"
12538 #include "confdefs.h"
12547 # define LT_DLGLOBAL RTLD_GLOBAL
12550 # define LT_DLGLOBAL DL_GLOBAL
12552 # define LT_DLGLOBAL 0
12556 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12557 find out it does not work in some platform. */
12558 #ifndef LT_DLLAZY_OR_NOW
12560 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12563 # define LT_DLLAZY_OR_NOW DL_LAZY
12566 # define LT_DLLAZY_OR_NOW RTLD_NOW
12569 # define LT_DLLAZY_OR_NOW DL_NOW
12571 # define LT_DLLAZY_OR_NOW 0
12578 /* When -fvisbility=hidden is used, assume the code has been annotated
12579 correspondingly for the symbols needed. */
12580 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12581 void fnord () __attribute__((visibility("default")));
12584 void fnord () { int i=42; }
12587 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12588 int status = $lt_dlunknown;
12592 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12595 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12596 else puts (dlerror ());
12598 /* dlclose (self); */
12606 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12607 (eval $ac_link) 2>&5
12609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12610 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12611 (.
/conftest
; exit; ) >&5 2>/dev
/null
12613 case x
$lt_status in
12614 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12615 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12616 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12619 # compilation failed
12620 lt_cv_dlopen_self_static
=no
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12628 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12631 CPPFLAGS
="$save_CPPFLAGS"
12632 LDFLAGS
="$save_LDFLAGS"
12637 case $lt_cv_dlopen_self in
12638 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12639 *) enable_dlopen_self
=unknown
;;
12642 case $lt_cv_dlopen_self_static in
12643 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12644 *) enable_dlopen_self_static
=unknown
;;
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12667 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12668 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12669 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12670 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12672 $as_echo "yes" >&6; }
12674 # FIXME - insert some real tests, host_os isn't really good enough
12677 if test -n "$STRIP" ; then
12678 striplib
="$STRIP -x"
12679 old_striplib
="$STRIP -S"
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12681 $as_echo "yes" >&6; }
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12684 $as_echo "no" >&6; }
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12689 $as_echo "no" >&6; }
12705 # Report which library types will actually be built
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12707 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12709 $as_echo "$can_build_shared" >&6; }
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12712 $as_echo_n "checking whether to build shared libraries... " >&6; }
12713 test "$can_build_shared" = "no" && enable_shared
=no
12715 # On AIX, shared libraries and static libraries use the same namespace, and
12716 # are all built from PIC.
12719 test "$enable_shared" = yes && enable_static
=no
12720 if test -n "$RANLIB"; then
12721 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12722 postinstall_cmds
='$RANLIB $lib'
12727 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12728 test "$enable_shared" = yes && enable_static
=no
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12733 $as_echo "$enable_shared" >&6; }
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12736 $as_echo_n "checking whether to build static libraries... " >&6; }
12737 # Make sure either enable_shared or enable_static is yes.
12738 test "$enable_shared" = yes || enable_static
=yes
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12740 $as_echo "$enable_static" >&6; }
12747 ac_cpp
='$CPP $CPPFLAGS'
12748 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12749 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12750 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12766 ac_config_commands
="$ac_config_commands libtool"
12771 # Only expand once:
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
12776 $as_echo_n "checking for library containing bind... " >&6; }
12777 if ${ac_cv_search_bind+:} false
; then :
12778 $as_echo_n "(cached) " >&6
12780 ac_func_search_save_LIBS
=$LIBS
12781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h. */
12784 /* Override any GCC internal prototype to avoid an error.
12785 Use char because int might match the return type of a GCC
12786 builtin and then its argument prototype would still apply. */
12799 for ac_lib
in '' socket
; do
12800 if test -z "$ac_lib"; then
12801 ac_res
="none required"
12804 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12806 if ac_fn_c_try_link
"$LINENO"; then :
12807 ac_cv_search_bind
=$ac_res
12809 rm -f core conftest.err conftest.
$ac_objext \
12811 if ${ac_cv_search_bind+:} false
; then :
12815 if ${ac_cv_search_bind+:} false
; then :
12818 ac_cv_search_bind
=no
12820 rm conftest.
$ac_ext
12821 LIBS
=$ac_func_search_save_LIBS
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
12824 $as_echo "$ac_cv_search_bind" >&6; }
12825 ac_res
=$ac_cv_search_bind
12826 if test "$ac_res" != no
; then :
12827 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12832 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12833 if ${ac_cv_search_gethostbyname+:} false
; then :
12834 $as_echo_n "(cached) " >&6
12836 ac_func_search_save_LIBS
=$LIBS
12837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12838 /* end confdefs.h. */
12840 /* Override any GCC internal prototype to avoid an error.
12841 Use char because int might match the return type of a GCC
12842 builtin and then its argument prototype would still apply. */
12846 char gethostbyname ();
12850 return gethostbyname ();
12855 for ac_lib
in '' nsl
; do
12856 if test -z "$ac_lib"; then
12857 ac_res
="none required"
12860 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12862 if ac_fn_c_try_link
"$LINENO"; then :
12863 ac_cv_search_gethostbyname
=$ac_res
12865 rm -f core conftest.err conftest.
$ac_objext \
12867 if ${ac_cv_search_gethostbyname+:} false
; then :
12871 if ${ac_cv_search_gethostbyname+:} false
; then :
12874 ac_cv_search_gethostbyname
=no
12876 rm conftest.
$ac_ext
12877 LIBS
=$ac_func_search_save_LIBS
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12880 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12881 ac_res
=$ac_cv_search_gethostbyname
12882 if test "$ac_res" != no
; then :
12883 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fabs" >&5
12888 $as_echo_n "checking for library containing fabs... " >&6; }
12889 if ${ac_cv_search_fabs+:} false
; then :
12890 $as_echo_n "(cached) " >&6
12892 ac_func_search_save_LIBS
=$LIBS
12893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12896 /* Override any GCC internal prototype to avoid an error.
12897 Use char because int might match the return type of a GCC
12898 builtin and then its argument prototype would still apply. */
12911 for ac_lib
in '' m
; do
12912 if test -z "$ac_lib"; then
12913 ac_res
="none required"
12916 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12918 if ac_fn_c_try_link
"$LINENO"; then :
12919 ac_cv_search_fabs
=$ac_res
12921 rm -f core conftest.err conftest.
$ac_objext \
12923 if ${ac_cv_search_fabs+:} false
; then :
12927 if ${ac_cv_search_fabs+:} false
; then :
12930 ac_cv_search_fabs
=no
12932 rm conftest.
$ac_ext
12933 LIBS
=$ac_func_search_save_LIBS
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fabs" >&5
12936 $as_echo "$ac_cv_search_fabs" >&6; }
12937 ac_res
=$ac_cv_search_fabs
12938 if test "$ac_res" != no
; then :
12939 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log2" >&5
12944 $as_echo_n "checking for library containing log2... " >&6; }
12945 if ${ac_cv_search_log2+:} false
; then :
12946 $as_echo_n "(cached) " >&6
12948 ac_func_search_save_LIBS
=$LIBS
12949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12950 /* end confdefs.h. */
12952 /* Override any GCC internal prototype to avoid an error.
12953 Use char because int might match the return type of a GCC
12954 builtin and then its argument prototype would still apply. */
12967 for ac_lib
in '' m
; do
12968 if test -z "$ac_lib"; then
12969 ac_res
="none required"
12972 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12974 if ac_fn_c_try_link
"$LINENO"; then :
12975 ac_cv_search_log2
=$ac_res
12977 rm -f core conftest.err conftest.
$ac_objext \
12979 if ${ac_cv_search_log2+:} false
; then :
12983 if ${ac_cv_search_log2+:} false
; then :
12986 ac_cv_search_log2
=no
12988 rm conftest.
$ac_ext
12989 LIBS
=$ac_func_search_save_LIBS
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log2" >&5
12992 $as_echo "$ac_cv_search_log2" >&6; }
12993 ac_res
=$ac_cv_search_log2
12994 if test "$ac_res" != no
; then :
12995 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
13001 $as_echo_n "checking for library containing dlopen... " >&6; }
13002 if ${ac_cv_search_dlopen+:} false
; then :
13003 $as_echo_n "(cached) " >&6
13005 ac_func_search_save_LIBS
=$LIBS
13006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13009 /* Override any GCC internal prototype to avoid an error.
13010 Use char because int might match the return type of a GCC
13011 builtin and then its argument prototype would still apply. */
13024 for ac_lib
in '' dl
; do
13025 if test -z "$ac_lib"; then
13026 ac_res
="none required"
13029 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13031 if ac_fn_c_try_link
"$LINENO"; then :
13032 ac_cv_search_dlopen
=$ac_res
13034 rm -f core conftest.err conftest.
$ac_objext \
13036 if ${ac_cv_search_dlopen+:} false
; then :
13040 if ${ac_cv_search_dlopen+:} false
; then :
13043 ac_cv_search_dlopen
=no
13045 rm conftest.
$ac_ext
13046 LIBS
=$ac_func_search_save_LIBS
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
13049 $as_echo "$ac_cv_search_dlopen" >&6; }
13050 ac_res
=$ac_cv_search_dlopen
13051 if test "$ac_res" != no
; then :
13052 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13056 if test "${ac_cv_lib_dl_dlopen}" = "yes"; then
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sdl2" >&5
13060 $as_echo_n "checking for sdl2... " >&6; }
13062 if test -n "$SDL_CFLAGS"; then
13063 pkg_cv_SDL_CFLAGS
="$SDL_CFLAGS"
13064 elif test -n "$PKG_CONFIG"; then
13065 if test -n "$PKG_CONFIG" && \
13066 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2\""; } >&5
13067 ($PKG_CONFIG --exists --print-errors "sdl2") 2>&5
13069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13070 test $ac_status = 0; }; then
13071 pkg_cv_SDL_CFLAGS
=`$PKG_CONFIG --cflags "sdl2" 2>/dev/null`
13072 test "x$?" != "x0" && pkg_failed
=yes
13079 if test -n "$SDL_LIBS"; then
13080 pkg_cv_SDL_LIBS
="$SDL_LIBS"
13081 elif test -n "$PKG_CONFIG"; then
13082 if test -n "$PKG_CONFIG" && \
13083 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2\""; } >&5
13084 ($PKG_CONFIG --exists --print-errors "sdl2") 2>&5
13086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13087 test $ac_status = 0; }; then
13088 pkg_cv_SDL_LIBS
=`$PKG_CONFIG --libs "sdl2" 2>/dev/null`
13089 test "x$?" != "x0" && pkg_failed
=yes
13097 if test $pkg_failed = no
; then
13098 pkg_save_LDFLAGS
="$LDFLAGS"
13099 LDFLAGS
="$LDFLAGS $pkg_cv_SDL_LIBS"
13100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13101 /* end confdefs.h. */
13111 if ac_fn_c_try_link
"$LINENO"; then :
13116 rm -f core conftest.err conftest.
$ac_objext \
13117 conftest
$ac_exeext conftest.
$ac_ext
13118 LDFLAGS
=$pkg_save_LDFLAGS
13123 if test $pkg_failed = yes; then
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13125 $as_echo "no" >&6; }
13127 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13128 _pkg_short_errors_supported
=yes
13130 _pkg_short_errors_supported
=no
13132 if test $_pkg_short_errors_supported = yes; then
13133 SDL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl2" 2>&1`
13135 SDL_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sdl2" 2>&1`
13137 # Put the nasty error message in config.log where it belongs
13138 echo "$SDL_PKG_ERRORS" >&5
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sdl" >&5
13144 $as_echo_n "checking for sdl... " >&6; }
13146 if test -n "$SDL_CFLAGS"; then
13147 pkg_cv_SDL_CFLAGS
="$SDL_CFLAGS"
13148 elif test -n "$PKG_CONFIG"; then
13149 if test -n "$PKG_CONFIG" && \
13150 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
13151 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
13153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13154 test $ac_status = 0; }; then
13155 pkg_cv_SDL_CFLAGS
=`$PKG_CONFIG --cflags "sdl" 2>/dev/null`
13156 test "x$?" != "x0" && pkg_failed
=yes
13163 if test -n "$SDL_LIBS"; then
13164 pkg_cv_SDL_LIBS
="$SDL_LIBS"
13165 elif test -n "$PKG_CONFIG"; then
13166 if test -n "$PKG_CONFIG" && \
13167 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
13168 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
13170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13171 test $ac_status = 0; }; then
13172 pkg_cv_SDL_LIBS
=`$PKG_CONFIG --libs "sdl" 2>/dev/null`
13173 test "x$?" != "x0" && pkg_failed
=yes
13181 if test $pkg_failed = no
; then
13182 pkg_save_LDFLAGS
="$LDFLAGS"
13183 LDFLAGS
="$LDFLAGS $pkg_cv_SDL_LIBS"
13184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13185 /* end confdefs.h. */
13195 if ac_fn_c_try_link
"$LINENO"; then :
13200 rm -f core conftest.err conftest.
$ac_objext \
13201 conftest
$ac_exeext conftest.
$ac_ext
13202 LDFLAGS
=$pkg_save_LDFLAGS
13207 if test $pkg_failed = yes; then
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13209 $as_echo "no" >&6; }
13211 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13212 _pkg_short_errors_supported
=yes
13214 _pkg_short_errors_supported
=no
13216 if test $_pkg_short_errors_supported = yes; then
13217 SDL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl" 2>&1`
13219 SDL_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sdl" 2>&1`
13221 # Put the nasty error message in config.log where it belongs
13222 echo "$SDL_PKG_ERRORS" >&5
13225 elif test $pkg_failed = untried
; then
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13227 $as_echo "no" >&6; }
13230 SDL_CFLAGS
=$pkg_cv_SDL_CFLAGS
13231 SDL_LIBS
=$pkg_cv_SDL_LIBS
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13233 $as_echo "yes" >&6; }
13234 SDL_CFLAGS
="${SDL_CFLAGS} -DHAVE_SDL=1"
13238 elif test $pkg_failed = untried
; then
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13240 $as_echo "no" >&6; }
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sdl" >&5
13245 $as_echo_n "checking for sdl... " >&6; }
13247 if test -n "$SDL_CFLAGS"; then
13248 pkg_cv_SDL_CFLAGS
="$SDL_CFLAGS"
13249 elif test -n "$PKG_CONFIG"; then
13250 if test -n "$PKG_CONFIG" && \
13251 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
13252 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
13254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13255 test $ac_status = 0; }; then
13256 pkg_cv_SDL_CFLAGS
=`$PKG_CONFIG --cflags "sdl" 2>/dev/null`
13257 test "x$?" != "x0" && pkg_failed
=yes
13264 if test -n "$SDL_LIBS"; then
13265 pkg_cv_SDL_LIBS
="$SDL_LIBS"
13266 elif test -n "$PKG_CONFIG"; then
13267 if test -n "$PKG_CONFIG" && \
13268 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
13269 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
13271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13272 test $ac_status = 0; }; then
13273 pkg_cv_SDL_LIBS
=`$PKG_CONFIG --libs "sdl" 2>/dev/null`
13274 test "x$?" != "x0" && pkg_failed
=yes
13282 if test $pkg_failed = no
; then
13283 pkg_save_LDFLAGS
="$LDFLAGS"
13284 LDFLAGS
="$LDFLAGS $pkg_cv_SDL_LIBS"
13285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13296 if ac_fn_c_try_link
"$LINENO"; then :
13301 rm -f core conftest.err conftest.
$ac_objext \
13302 conftest
$ac_exeext conftest.
$ac_ext
13303 LDFLAGS
=$pkg_save_LDFLAGS
13308 if test $pkg_failed = yes; then
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13310 $as_echo "no" >&6; }
13312 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13313 _pkg_short_errors_supported
=yes
13315 _pkg_short_errors_supported
=no
13317 if test $_pkg_short_errors_supported = yes; then
13318 SDL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl" 2>&1`
13320 SDL_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sdl" 2>&1`
13322 # Put the nasty error message in config.log where it belongs
13323 echo "$SDL_PKG_ERRORS" >&5
13326 elif test $pkg_failed = untried
; then
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13328 $as_echo "no" >&6; }
13331 SDL_CFLAGS
=$pkg_cv_SDL_CFLAGS
13332 SDL_LIBS
=$pkg_cv_SDL_LIBS
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13334 $as_echo "yes" >&6; }
13335 SDL_CFLAGS
="${SDL_CFLAGS} -DHAVE_SDL=1"
13340 SDL_CFLAGS
=$pkg_cv_SDL_CFLAGS
13341 SDL_LIBS
=$pkg_cv_SDL_LIBS
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13343 $as_echo "yes" >&6; }
13344 SDL_CFLAGS
="${SDL_CFLAGS} -DHAVE_SDL=2"
13347 if test -n "$SDL_CFLAGS"; then :
13348 if test "$ac_cv_search_dlopen" = no
; then :
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SDL support requires dlopen support" >&5
13350 $as_echo "$as_me: WARNING: SDL support requires dlopen support" >&2;}
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cygwin" >&5
13362 $as_echo_n "checking for cygwin... " >&6; }
13363 if ${sim_cv_os_cygwin+:} false
; then :
13364 $as_echo_n "(cached) " >&6
13366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13367 /* end confdefs.h. */
13373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13374 $EGREP "lose" >/dev
/null
2>&1; then :
13375 sim_cv_os_cygwin
=yes
13377 sim_cv_os_cygwin
=no
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_os_cygwin" >&5
13383 $as_echo "$sim_cv_os_cygwin" >&6; }
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
13386 $as_echo_n "checking for library containing tgetent... " >&6; }
13387 if ${ac_cv_search_tgetent+:} false
; then :
13388 $as_echo_n "(cached) " >&6
13390 ac_func_search_save_LIBS
=$LIBS
13391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13392 /* end confdefs.h. */
13394 /* Override any GCC internal prototype to avoid an error.
13395 Use char because int might match the return type of a GCC
13396 builtin and then its argument prototype would still apply. */
13409 for ac_lib
in '' termcap tinfo curses ncurses
; do
13410 if test -z "$ac_lib"; then
13411 ac_res
="none required"
13414 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13416 if ac_fn_c_try_link
"$LINENO"; then :
13417 ac_cv_search_tgetent
=$ac_res
13419 rm -f core conftest.err conftest.
$ac_objext \
13421 if ${ac_cv_search_tgetent+:} false
; then :
13425 if ${ac_cv_search_tgetent+:} false
; then :
13428 ac_cv_search_tgetent
=no
13430 rm conftest.
$ac_ext
13431 LIBS
=$ac_func_search_save_LIBS
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
13434 $as_echo "$ac_cv_search_tgetent" >&6; }
13435 ac_res
=$ac_cv_search_tgetent
13436 if test "$ac_res" != no
; then :
13437 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13438 TERMCAP_LIB
=$ac_cv_search_tgetent
13443 if test x
$sim_cv_os_cygwin = xyes
; then
13444 TERMCAP_LIB
="${TERMCAP_LIB} -luser32"
13448 if test -r ..
/readline
/Makefile
; then
13449 READLINE_LIB
=..
/readline
/readline
/libreadline.a
13450 READLINE_CFLAGS
='-I$(READLINE_SRC)/..'
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
13453 $as_echo_n "checking for readline in -lreadline... " >&6; }
13454 if ${ac_cv_lib_readline_readline+:} false
; then :
13455 $as_echo_n "(cached) " >&6
13457 ac_check_lib_save_LIBS
=$LIBS
13458 LIBS
="-lreadline $TERMCAP_LIB $LIBS"
13459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13460 /* end confdefs.h. */
13462 /* Override any GCC internal prototype to avoid an error.
13463 Use char because int might match the return type of a GCC
13464 builtin and then its argument prototype would still apply. */
13472 return readline ();
13477 if ac_fn_c_try_link
"$LINENO"; then :
13478 ac_cv_lib_readline_readline
=yes
13480 ac_cv_lib_readline_readline
=no
13482 rm -f core conftest.err conftest.
$ac_objext \
13483 conftest
$ac_exeext conftest.
$ac_ext
13484 LIBS
=$ac_check_lib_save_LIBS
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
13487 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13488 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
13489 READLINE_LIB
=-lreadline
13491 as_fn_error $?
"the required \"readline\" library is missing" "$LINENO" 5
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13502 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13503 # Check whether --enable-maintainer-mode was given.
13504 if test "${enable_maintainer_mode+set}" = set; then :
13505 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
13507 USE_MAINTAINER_MODE
=no
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13511 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13512 if test $USE_MAINTAINER_MODE = yes; then
13513 MAINTAINER_MODE_TRUE
=
13514 MAINTAINER_MODE_FALSE
='#'
13516 MAINTAINER_MODE_TRUE
='#'
13517 MAINTAINER_MODE_FALSE
=
13520 MAINT
=$MAINTAINER_MODE_TRUE
13523 am__api_version
='1.15'
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
13526 $as_echo_n "checking whether build environment is sane... " >&6; }
13527 # Reject unsafe characters in $srcdir or the absolute working directory
13528 # name. Accept space and tab only in the latter.
13532 *[\\\"\
#\$\&\'\`$am_lf]*)
13533 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
13536 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
13537 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
13540 # Do 'set' in a subshell so we don't clobber the current shell's
13541 # arguments. Must try -L first in case configure is actually a
13542 # symlink; some systems play weird games with the mod time of symlinks
13543 # (eg FreeBSD returns the mod time of the symlink's containing
13547 for am_try
in 1 2; do
13548 echo "timestamp, slept: $am_has_slept" > conftest.
file
13549 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
13550 if test "$*" = "X"; then
13552 set X
`ls -t "$srcdir/configure" conftest.file`
13554 if test "$*" != "X $srcdir/configure conftest.file" \
13555 && test "$*" != "X conftest.file $srcdir/configure"; then
13557 # If neither matched, then we have a broken ls. This can happen
13558 # if, for instance, CONFIG_SHELL is bash and it inherits a
13559 # broken ls alias from the environment. This has actually
13560 # happened. Such a system could not be considered "sane".
13561 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
13562 alias in your environment" "$LINENO" 5
13564 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
13571 test "$2" = conftest.
file
13577 as_fn_error $?
"newly created file is older than distributed files!
13578 Check your system clock" "$LINENO" 5
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13581 $as_echo "yes" >&6; }
13582 # If we didn't sleep, we still need to ensure time stamps of config.status and
13583 # generated files are strictly newer.
13585 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
13590 rm -f conftest.
file
13592 if test x
"${MISSING+set}" != xset
; then
13593 case $am_aux_dir in
13595 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
13597 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
13600 # Use eval to expand $SHELL
13601 if eval "$MISSING --is-lightweight"; then
13602 am_missing_run
="$MISSING "
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
13606 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
13609 if test x
"${install_sh+set}" != xset
; then
13610 case $am_aux_dir in
13612 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
13614 install_sh
="\${SHELL} $am_aux_dir/install-sh"
13618 # Installed binaries are usually stripped using 'strip' when the user
13619 # run "make install-strip". However 'strip' might not be the right
13620 # tool to use in cross-compilation environments, therefore Automake
13621 # will honor the 'STRIP' environment variable to overrule this program.
13622 if test "$cross_compiling" != no
; then
13623 if test -n "$ac_tool_prefix"; then
13624 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
13625 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13627 $as_echo_n "checking for $ac_word... " >&6; }
13628 if ${ac_cv_prog_STRIP+:} false
; then :
13629 $as_echo_n "(cached) " >&6
13631 if test -n "$STRIP"; then
13632 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13635 for as_dir
in $PATH
13638 test -z "$as_dir" && as_dir
=.
13639 for ac_exec_ext
in '' $ac_executable_extensions; do
13640 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13641 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
13642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13651 STRIP
=$ac_cv_prog_STRIP
13652 if test -n "$STRIP"; then
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
13654 $as_echo "$STRIP" >&6; }
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13657 $as_echo "no" >&6; }
13662 if test -z "$ac_cv_prog_STRIP"; then
13664 # Extract the first word of "strip", so it can be a program name with args.
13665 set dummy strip
; ac_word
=$2
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13667 $as_echo_n "checking for $ac_word... " >&6; }
13668 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
13669 $as_echo_n "(cached) " >&6
13671 if test -n "$ac_ct_STRIP"; then
13672 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
13674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13675 for as_dir
in $PATH
13678 test -z "$as_dir" && as_dir
=.
13679 for ac_exec_ext
in '' $ac_executable_extensions; do
13680 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13681 ac_cv_prog_ac_ct_STRIP
="strip"
13682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13691 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
13692 if test -n "$ac_ct_STRIP"; then
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
13694 $as_echo "$ac_ct_STRIP" >&6; }
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13697 $as_echo "no" >&6; }
13700 if test "x$ac_ct_STRIP" = x
; then
13703 case $cross_compiling:$ac_tool_warned in
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13707 ac_tool_warned
=yes ;;
13712 STRIP
="$ac_cv_prog_STRIP"
13716 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
13719 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
13720 if test -z "$MKDIR_P"; then
13721 if ${ac_cv_path_mkdir+:} false
; then :
13722 $as_echo_n "(cached) " >&6
13724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13725 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
13728 test -z "$as_dir" && as_dir
=.
13729 for ac_prog
in mkdir gmkdir
; do
13730 for ac_exec_ext
in '' $ac_executable_extensions; do
13731 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
13732 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
13733 'mkdir (GNU coreutils) '* | \
13734 'mkdir (coreutils) '* | \
13735 'mkdir (fileutils) '4.1*)
13736 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
13746 test -d .
/--version && rmdir .
/--version
13747 if test "${ac_cv_path_mkdir+set}" = set; then
13748 MKDIR_P
="$ac_cv_path_mkdir -p"
13750 # As a last resort, use the slow shell script. Don't cache a
13751 # value for MKDIR_P within a source directory, because that will
13752 # break other packages using the cache if that directory is
13753 # removed, or if the value is a relative name.
13754 MKDIR_P
="$ac_install_sh -d"
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
13758 $as_echo "$MKDIR_P" >&6; }
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
13761 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
13763 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
13764 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
13765 $as_echo_n "(cached) " >&6
13767 cat >conftest.
make <<\_ACEOF
13770 @
echo '@@@%%%=$(MAKE)=@@@%%%'
13772 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13773 case `${MAKE-make} -f conftest.make 2>/dev/null` in
13774 *@@@
%%%=?
*=@@@
%%%*)
13775 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
13777 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
13779 rm -f conftest.
make
13781 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13783 $as_echo "yes" >&6; }
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13787 $as_echo "no" >&6; }
13788 SET_MAKE
="MAKE=${MAKE-make}"
13791 rm -rf .tst
2>/dev
/null
13792 mkdir .tst
2>/dev
/null
13793 if test -d .tst
; then
13798 rmdir .tst
2>/dev
/null
13800 DEPDIR
="${am__leading_dot}deps"
13802 ac_config_commands
="$ac_config_commands depfiles"
13805 am_make
=${MAKE-make}
13806 cat > confinc
<< 'END'
13808 @
echo this is the am__doit target
13811 # If we don't find an include directive, just comment out the code.
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
13813 $as_echo_n "checking for style of include used by $am_make... " >&6; }
13817 # First try GNU make style include.
13818 echo "include confinc" > confmf
13819 # Ignore all kinds of additional output from 'make'.
13820 case `$am_make -s -f confmf 2> /dev/null` in #(
13821 *the\ am__doit\ target
*)
13822 am__include
=include
13827 # Now try BSD make style include.
13828 if test "$am__include" = "#"; then
13829 echo '.include "confinc"' > confmf
13830 case `$am_make -s -f confmf 2> /dev/null` in #(
13831 *the\ am__doit\ target
*)
13832 am__include
=.include
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
13841 $as_echo "$_am_result" >&6; }
13842 rm -f confinc confmf
13844 # Check whether --enable-dependency-tracking was given.
13845 if test "${enable_dependency_tracking+set}" = set; then :
13846 enableval
=$enable_dependency_tracking;
13849 if test "x$enable_dependency_tracking" != xno
; then
13850 am_depcomp
="$ac_aux_dir/depcomp"
13854 if test "x$enable_dependency_tracking" != xno; then
13863 # Check whether --enable-silent-rules was given.
13864 if test "${enable_silent_rules+set}" = set; then :
13865 enableval
=$enable_silent_rules;
13868 case $enable_silent_rules in # (((
13869 yes) AM_DEFAULT_VERBOSITY
=0;;
13870 no
) AM_DEFAULT_VERBOSITY
=1;;
13871 *) AM_DEFAULT_VERBOSITY
=1;;
13873 am_make
=${MAKE-make}
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13875 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13876 if ${am_cv_make_support_nested_variables+:} false
; then :
13877 $as_echo_n "(cached) " >&6
13879 if $as_echo 'TRUE=$(BAR$(V))
13885 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
13886 am_cv_make_support_nested_variables
=yes
13888 am_cv_make_support_nested_variables
=no
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13892 $as_echo "$am_cv_make_support_nested_variables" >&6; }
13893 if test $am_cv_make_support_nested_variables = yes; then
13895 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
13897 AM_V
=$AM_DEFAULT_VERBOSITY
13898 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
13902 if test "`cd $srcdir && pwd`" != "`pwd`"; then
13903 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
13904 # is not polluted with repeated "-I."
13905 am__isrc
=' -I$(srcdir)'
13906 # test to see if srcdir already configured
13907 if test -f $srcdir/config.status
; then
13908 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
13912 # test whether we have cygpath
13913 if test -z "$CYGPATH_W"; then
13914 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
13915 CYGPATH_W
='cygpath -w'
13922 # Define the identity of the package.
13927 cat >>confdefs.h
<<_ACEOF
13928 #define PACKAGE "$PACKAGE"
13932 cat >>confdefs.h
<<_ACEOF
13933 #define VERSION "$VERSION"
13936 # Some tools Automake needs.
13938 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
13941 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
13944 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
13947 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
13950 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
13952 # For better backward compatibility. To be removed once Automake 1.9.x
13953 # dies out for good. For more background, see:
13954 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
13955 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
13956 mkdir_p
='$(MKDIR_P)'
13958 # We need awk for the "check" target (and possibly the TAP driver). The
13959 # system "awk" is bad on some platforms.
13960 # Always define AMTAR for backward compatibility. Yes, it's still used
13961 # in the wild :-( We should find a proper way to deprecate it ...
13962 AMTAR
='$${TAR-tar}'
13965 # We'll loop over all known methods to create a tar archive until one works.
13966 _am_tools
='gnutar pax cpio none'
13968 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
13974 depcc
="$CC" am_compiler_list
=
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13977 $as_echo_n "checking dependency style of $depcc... " >&6; }
13978 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
13979 $as_echo_n "(cached) " >&6
13981 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13982 # We make a subdir and do the tests there. Otherwise we can end up
13983 # making bogus files that we don't know about and never remove. For
13984 # instance it was reported that on HP-UX the gcc test will end up
13985 # making a dummy file named 'D' -- because '-MD' means "put the output
13987 rm -rf conftest.dir
13989 # Copy depcomp to subdir because otherwise we won't find it if we're
13990 # using a relative directory.
13991 cp "$am_depcomp" conftest.dir
13993 # We will build objects and dependencies in a subdirectory because
13994 # it helps to detect inapplicable dependency modes. For instance
13995 # both Tru64's cc and ICC support -MD to output dependencies as a
13996 # side effect of compilation, but ICC will put the dependencies in
13997 # the current directory while Tru64 will put them in the object
14001 am_cv_CC_dependencies_compiler_type
=none
14002 if test "$am_compiler_list" = ""; then
14003 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14005 am__universal
=false
14006 case " $depcc " in #(
14007 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
14010 for depmode
in $am_compiler_list; do
14011 # Setup a source with many dependencies, because some compilers
14012 # like to wrap large dependency lists on column 80 (with \), and
14013 # we should not choose a depcomp mode which is confused by this.
14015 # We need to recreate these files for each test, as the compiler may
14016 # overwrite some of them when testing with obscure command lines.
14017 # This happens at least with the AIX C compiler.
14019 for i
in 1 2 3 4 5 6; do
14020 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
14021 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
14022 # Solaris 10 /bin/sh.
14023 echo '/* dummy */' > sub
/conftst
$i.h
14025 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14027 # We check with '-c' and '-o' for the sake of the "dashmstdout"
14028 # mode. It turns out that the SunPro C++ compiler does not properly
14029 # handle '-M -o', and we need to detect this. Also, some Intel
14030 # versions had trouble with output in subdirs.
14031 am__obj
=sub
/conftest.
${OBJEXT-o}
14032 am__minus_obj
="-o $am__obj"
14035 # This depmode causes a compiler race in universal mode.
14036 test "$am__universal" = false ||
continue
14039 # After this tag, mechanisms are not by side-effect, so they'll
14040 # only be used when explicitly requested.
14041 if test "x$enable_dependency_tracking" = xyes
; then
14047 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
14048 # This compiler won't grok '-c -o', but also, the minuso test has
14049 # not run yet. These depmodes are late enough in the game, and
14050 # so weak that their functioning should not be impacted.
14051 am__obj
=conftest.
${OBJEXT-o}
14056 if depmode
=$depmode \
14057 source=sub
/conftest.c object
=$am__obj \
14058 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
14059 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
14060 >/dev
/null
2>conftest.err
&&
14061 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
14062 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
14063 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
14064 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
14065 # icc doesn't choke on unknown options, it will just issue warnings
14066 # or remarks (even with -Werror). So we grep stderr for any message
14067 # that says an option was ignored or not supported.
14068 # When given -MP, icc 7.0 and 7.1 complain thusly:
14069 # icc: Command line warning: ignoring option '-M'; no argument required
14070 # The diagnosis changed in icc 8.0:
14071 # icc: Command line remark: option '-MP' not supported
14072 if (grep 'ignoring option' conftest.err ||
14073 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
14074 am_cv_CC_dependencies_compiler_type
=$depmode
14081 rm -rf conftest.dir
14083 am_cv_CC_dependencies_compiler_type
=none
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14088 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14089 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
14092 test "x$enable_dependency_tracking" != xno \
14093 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
14094 am__fastdepCC_TRUE
=
14095 am__fastdepCC_FALSE
='#'
14097 am__fastdepCC_TRUE
='#'
14098 am__fastdepCC_FALSE
=
14103 # POSIX will say in a future version that running "rm -f" with no argument
14104 # is OK; and we want to be able to make that assumption in our Makefile
14105 # recipes. So use an aggressive probe to check that the usage we want is
14106 # actually supported "in the wild" to an acceptable degree.
14107 # See automake bug#10828.
14108 # To make any issue more visible, cause the running configure to be aborted
14109 # by default if the 'rm' program in use doesn't match our expectations; the
14110 # user can still override this though.
14111 if rm -f && rm -fr && rm -rf; then : OK
; else
14115 Your 'rm' program seems unable to run without file operands specified
14116 on the command line, even when the '-f' option is present. This is contrary
14117 to the behaviour of most rm programs out there, and not conforming with
14118 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
14120 Please tell bug-automake@gnu.org about your system, including the value
14121 of your $PATH and any error possibly output before this message. This
14122 can help us improve future automake versions.
14125 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
14126 echo 'Configuration will proceed anyway, since you have set the' >&2
14127 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
14131 Aborting the configuration process, to ensure you take notice of the issue.
14133 You can download and install GNU coreutils to get an 'rm' implementation
14134 that behaves properly: <http://www.gnu.org/software/coreutils/>.
14136 If you want to complete the configuration process using your problematic
14137 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
14138 to "yes", and re-run configure.
14141 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
14145 # Check whether --enable-silent-rules was given.
14146 if test "${enable_silent_rules+set}" = set; then :
14147 enableval
=$enable_silent_rules;
14150 case $enable_silent_rules in # (((
14151 yes) AM_DEFAULT_VERBOSITY
=0;;
14152 no
) AM_DEFAULT_VERBOSITY
=1;;
14153 *) AM_DEFAULT_VERBOSITY
=0;;
14155 am_make
=${MAKE-make}
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
14157 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
14158 if ${am_cv_make_support_nested_variables+:} false
; then :
14159 $as_echo_n "(cached) " >&6
14161 if $as_echo 'TRUE=$(BAR$(V))
14167 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
14168 am_cv_make_support_nested_variables
=yes
14170 am_cv_make_support_nested_variables
=no
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
14174 $as_echo "$am_cv_make_support_nested_variables" >&6; }
14175 if test $am_cv_make_support_nested_variables = yes; then
14177 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
14179 AM_V
=$AM_DEFAULT_VERBOSITY
14180 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
14185 # If a cpu ever has more than one simulator to choose from, use
14186 # --enable-sim=... to choose.
14187 # Check whether --enable-sim was given.
14188 if test "${enable_sim+set}" = set; then :
14189 enableval=$enable_sim; case "${enableval}" in
14191 *) as_fn_error $? "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
14196 # Check whether --enable-example-sims was given.
14197 if test "${enable_example_sims+set}" = set; then :
14198 enableval=$enable_example_sims;
14202 # Check whether --enable-targets was given.
14203 if test "${enable_targets+set}" = set; then :
14204 enableval=$enable_targets; case "${enableval}" in
14205 yes | "") as_fn_error $? "enable-targets option must specify target names or 'all
'" "$LINENO" 5
14207 no) enable_targets= ;;
14208 *) enable_targets=$enableval ;;
14213 SIM_PRIMARY_TARGET=
14219 SIM_ENABLED_ARCHES=
14222 SIM_COMMON_BUILD_TRUE=
14223 SIM_COMMON_BUILD_FALSE='#'
14227 ac_config_files
="$ac_config_files Make-common.sim:common/Make-common.in"
14232 if test "${enable_sim}" != no
; then
14234 for targ
in `echo $target $enable_targets | sed 's/,/ /g'`
14236 sim_enable_arch_aarch64
=false
14239 if test "${targ}" = "${target}"; then
14240 SIM_PRIMARY_TARGET
=aarch64
14242 as_fn_append SIM_ENABLED_ARCHES
" aarch64"
14243 ac_config_files
="$ac_config_files aarch64/Makefile.sim:aarch64/Makefile.in"
14245 ac_config_commands
="$ac_config_commands aarch64/Makefile"
14247 as_fn_append SIM_SUBDIRS
" aarch64"
14249 ac_config_files
="$ac_config_files aarch64/.gdbinit:common/gdbinit.in"
14251 ac_config_commands
="$ac_config_commands depdir-aarch64"
14254 sim_enable_arch_aarch64
=true
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
14259 $as_echo_n "checking where to find the target cc... " >&6; }
14260 if test "x${build}" != "x${host}" ; then
14261 if expr "x$CC_FOR_TARGET" : "x/" > /dev
/null
; then
14262 # We already found the complete path
14263 ac_dir
=`dirname $CC_FOR_TARGET`
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14265 $as_echo "pre-installed in $ac_dir" >&6; }
14267 # Canadian cross, just use what we found
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14269 $as_echo "pre-installed" >&6; }
14273 case " ${configdirs} " in
14274 *" ${target_alias}-gcc "*) ;;
14278 if test $ok = yes; then
14279 # An in-tree tool is available and we can use it
14280 CC_FOR_TARGET
='$$r/$(HOST_SUBDIR)/${target_alias}-gcc'
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14282 $as_echo "just compiled" >&6; }
14283 elif expr "x$CC_FOR_TARGET" : "x/" > /dev
/null
; then
14284 # We already found the complete path
14285 ac_dir
=`dirname $CC_FOR_TARGET`
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14287 $as_echo "pre-installed in $ac_dir" >&6; }
14288 elif test "x$target" = "x$host"; then
14289 # We can use an host tool
14290 CC_FOR_TARGET
='$(CC)'
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14292 $as_echo "host tool" >&6; }
14294 # We need a cross tool
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14296 $as_echo "pre-installed" >&6; }
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
14301 $as_echo_n "checking where to find the target as... " >&6; }
14302 if test "x${build}" != "x${host}" ; then
14303 if expr "x$AS_FOR_TARGET" : "x/" > /dev
/null
; then
14304 # We already found the complete path
14305 ac_dir
=`dirname $AS_FOR_TARGET`
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14307 $as_echo "pre-installed in $ac_dir" >&6; }
14309 # Canadian cross, just use what we found
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14311 $as_echo "pre-installed" >&6; }
14315 case " ${configdirs} " in
14316 *" \$(abs_builddir) "*) ;;
14320 if test $ok = yes; then
14321 # An in-tree tool is available and we can use it
14322 AS_FOR_TARGET
='$$r/$(HOST_SUBDIR)/\$(abs_builddir)/../gas/as-new'
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14324 $as_echo "just compiled" >&6; }
14325 elif expr "x$AS_FOR_TARGET" : "x/" > /dev
/null
; then
14326 # We already found the complete path
14327 ac_dir
=`dirname $AS_FOR_TARGET`
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14329 $as_echo "pre-installed in $ac_dir" >&6; }
14330 elif test "x$target" = "x$host"; then
14331 # We can use an host tool
14332 AS_FOR_TARGET
='$(AS)'
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14334 $as_echo "host tool" >&6; }
14336 # We need a cross tool
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14338 $as_echo "pre-installed" >&6; }
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
14343 $as_echo_n "checking where to find the target ld... " >&6; }
14344 if test "x${build}" != "x${host}" ; then
14345 if expr "x$LD_FOR_TARGET" : "x/" > /dev
/null
; then
14346 # We already found the complete path
14347 ac_dir
=`dirname $LD_FOR_TARGET`
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14349 $as_echo "pre-installed in $ac_dir" >&6; }
14351 # Canadian cross, just use what we found
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14353 $as_echo "pre-installed" >&6; }
14357 case " ${configdirs} " in
14358 *" \$(abs_builddir) "*) ;;
14362 if test $ok = yes; then
14363 # An in-tree tool is available and we can use it
14364 LD_FOR_TARGET
='$$r/$(HOST_SUBDIR)/\$(abs_builddir)/../ld/ld-new'
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14366 $as_echo "just compiled" >&6; }
14367 elif expr "x$LD_FOR_TARGET" : "x/" > /dev
/null
; then
14368 # We already found the complete path
14369 ac_dir
=`dirname $LD_FOR_TARGET`
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14371 $as_echo "pre-installed in $ac_dir" >&6; }
14372 elif test "x$target" = "x$host"; then
14373 # We can use an host tool
14374 LD_FOR_TARGET
='$(LD)'
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14376 $as_echo "host tool" >&6; }
14378 # We need a cross tool
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14380 $as_echo "pre-installed" >&6; }
14389 if test "$SIM_PRIMARY_TARGET" = "aarch64"; then :
14390 : "${AS_FOR_TARGET_AARCH64:=\$(AS_FOR_TARGET)}"
14391 : "${LD_FOR_TARGET_AARCH64:=\$(LD_FOR_TARGET)}"
14392 : "${CC_FOR_TARGET_AARCH64:=\$(CC_FOR_TARGET)}"
14396 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_AARCH64 LD_FOR_TARGET_AARCH64 CC_FOR_TARGET_AARCH64"
14398 if ${sim_enable_arch_aarch64}; then
14399 SIM_ENABLE_ARCH_aarch64_TRUE
=
14400 SIM_ENABLE_ARCH_aarch64_FALSE
='#'
14402 SIM_ENABLE_ARCH_aarch64_TRUE
='#'
14403 SIM_ENABLE_ARCH_aarch64_FALSE
=
14407 sim_enable_arch_arm
=false
14410 if test "${targ}" = "${target}"; then
14411 SIM_PRIMARY_TARGET
=arm
14413 as_fn_append SIM_ENABLED_ARCHES
" arm"
14414 ac_config_files
="$ac_config_files arm/Makefile.sim:arm/Makefile.in"
14416 ac_config_commands
="$ac_config_commands arm/Makefile"
14418 as_fn_append SIM_SUBDIRS
" arm"
14420 ac_config_files
="$ac_config_files arm/.gdbinit:common/gdbinit.in"
14422 ac_config_commands
="$ac_config_commands depdir-arm"
14425 sim_enable_arch_arm
=true
14433 if test "$SIM_PRIMARY_TARGET" = "arm"; then :
14434 : "${AS_FOR_TARGET_ARM:=\$(AS_FOR_TARGET)}"
14435 : "${LD_FOR_TARGET_ARM:=\$(LD_FOR_TARGET)}"
14436 : "${CC_FOR_TARGET_ARM:=\$(CC_FOR_TARGET)}"
14440 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_ARM LD_FOR_TARGET_ARM CC_FOR_TARGET_ARM"
14442 if ${sim_enable_arch_arm}; then
14443 SIM_ENABLE_ARCH_arm_TRUE
=
14444 SIM_ENABLE_ARCH_arm_FALSE
='#'
14446 SIM_ENABLE_ARCH_arm_TRUE
='#'
14447 SIM_ENABLE_ARCH_arm_FALSE
=
14451 sim_enable_arch_avr
=false
14454 if test "${targ}" = "${target}"; then
14455 SIM_PRIMARY_TARGET
=avr
14457 as_fn_append SIM_ENABLED_ARCHES
" avr"
14458 ac_config_files
="$ac_config_files avr/Makefile.sim:avr/Makefile.in"
14460 ac_config_commands
="$ac_config_commands avr/Makefile"
14462 as_fn_append SIM_SUBDIRS
" avr"
14464 ac_config_files
="$ac_config_files avr/.gdbinit:common/gdbinit.in"
14466 ac_config_commands
="$ac_config_commands depdir-avr"
14469 sim_enable_arch_avr
=true
14477 if test "$SIM_PRIMARY_TARGET" = "avr"; then :
14478 : "${AS_FOR_TARGET_AVR:=\$(AS_FOR_TARGET)}"
14479 : "${LD_FOR_TARGET_AVR:=\$(LD_FOR_TARGET)}"
14480 : "${CC_FOR_TARGET_AVR:=\$(CC_FOR_TARGET)}"
14484 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_AVR LD_FOR_TARGET_AVR CC_FOR_TARGET_AVR"
14486 if ${sim_enable_arch_avr}; then
14487 SIM_ENABLE_ARCH_avr_TRUE
=
14488 SIM_ENABLE_ARCH_avr_FALSE
='#'
14490 SIM_ENABLE_ARCH_avr_TRUE
='#'
14491 SIM_ENABLE_ARCH_avr_FALSE
=
14495 sim_enable_arch_bfin
=false
14498 if test "${targ}" = "${target}"; then
14499 SIM_PRIMARY_TARGET
=bfin
14501 as_fn_append SIM_ENABLED_ARCHES
" bfin"
14502 ac_config_files
="$ac_config_files bfin/Makefile.sim:bfin/Makefile.in"
14504 ac_config_commands
="$ac_config_commands bfin/Makefile"
14506 as_fn_append SIM_SUBDIRS
" bfin"
14508 ac_config_files
="$ac_config_files bfin/.gdbinit:common/gdbinit.in"
14510 ac_config_commands
="$ac_config_commands depdir-bfin"
14513 sim_enable_arch_bfin
=true
14521 if test "$SIM_PRIMARY_TARGET" = "bfin"; then :
14522 : "${AS_FOR_TARGET_BFIN:=\$(AS_FOR_TARGET)}"
14523 : "${LD_FOR_TARGET_BFIN:=\$(LD_FOR_TARGET)}"
14524 : "${CC_FOR_TARGET_BFIN:=\$(CC_FOR_TARGET)}"
14528 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_BFIN LD_FOR_TARGET_BFIN CC_FOR_TARGET_BFIN"
14530 if ${sim_enable_arch_bfin}; then
14531 SIM_ENABLE_ARCH_bfin_TRUE
=
14532 SIM_ENABLE_ARCH_bfin_FALSE
='#'
14534 SIM_ENABLE_ARCH_bfin_TRUE
='#'
14535 SIM_ENABLE_ARCH_bfin_FALSE
=
14539 sim_enable_arch_bpf
=false
14542 if test "${targ}" = "${target}"; then
14543 SIM_PRIMARY_TARGET
=bpf
14545 as_fn_append SIM_ENABLED_ARCHES
" bpf"
14546 ac_config_files
="$ac_config_files bpf/Makefile.sim:bpf/Makefile.in"
14548 ac_config_commands
="$ac_config_commands bpf/Makefile"
14550 as_fn_append SIM_SUBDIRS
" bpf"
14552 ac_config_files
="$ac_config_files bpf/.gdbinit:common/gdbinit.in"
14554 ac_config_commands
="$ac_config_commands depdir-bpf"
14557 sim_enable_arch_bpf
=true
14565 if test "$SIM_PRIMARY_TARGET" = "bpf"; then :
14566 : "${AS_FOR_TARGET_BPF:=\$(AS_FOR_TARGET)}"
14567 : "${LD_FOR_TARGET_BPF:=\$(LD_FOR_TARGET)}"
14568 : "${CC_FOR_TARGET_BPF:=\$(CC_FOR_TARGET)}"
14572 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_BPF LD_FOR_TARGET_BPF CC_FOR_TARGET_BPF"
14574 if ${sim_enable_arch_bpf}; then
14575 SIM_ENABLE_ARCH_bpf_TRUE
=
14576 SIM_ENABLE_ARCH_bpf_FALSE
='#'
14578 SIM_ENABLE_ARCH_bpf_TRUE
='#'
14579 SIM_ENABLE_ARCH_bpf_FALSE
=
14583 sim_enable_arch_cr16
=false
14586 if test "${targ}" = "${target}"; then
14587 SIM_PRIMARY_TARGET
=cr16
14589 as_fn_append SIM_ENABLED_ARCHES
" cr16"
14590 ac_config_files
="$ac_config_files cr16/Makefile.sim:cr16/Makefile.in"
14592 ac_config_commands
="$ac_config_commands cr16/Makefile"
14594 as_fn_append SIM_SUBDIRS
" cr16"
14596 ac_config_files
="$ac_config_files cr16/.gdbinit:common/gdbinit.in"
14598 ac_config_commands
="$ac_config_commands depdir-cr16"
14601 sim_enable_arch_cr16
=true
14609 if test "$SIM_PRIMARY_TARGET" = "cr16"; then :
14610 : "${AS_FOR_TARGET_CR16:=\$(AS_FOR_TARGET)}"
14611 : "${LD_FOR_TARGET_CR16:=\$(LD_FOR_TARGET)}"
14612 : "${CC_FOR_TARGET_CR16:=\$(CC_FOR_TARGET)}"
14616 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_CR16 LD_FOR_TARGET_CR16 CC_FOR_TARGET_CR16"
14618 if ${sim_enable_arch_cr16}; then
14619 SIM_ENABLE_ARCH_cr16_TRUE
=
14620 SIM_ENABLE_ARCH_cr16_FALSE
='#'
14622 SIM_ENABLE_ARCH_cr16_TRUE
='#'
14623 SIM_ENABLE_ARCH_cr16_FALSE
=
14627 sim_enable_arch_cris
=false
14629 all|cris-
*-* | crisv32-
*-*)
14630 if test "${targ}" = "${target}"; then
14631 SIM_PRIMARY_TARGET
=cris
14633 as_fn_append SIM_ENABLED_ARCHES
" cris"
14634 ac_config_files
="$ac_config_files cris/Makefile.sim:cris/Makefile.in"
14636 ac_config_commands
="$ac_config_commands cris/Makefile"
14638 as_fn_append SIM_SUBDIRS
" cris"
14640 ac_config_files
="$ac_config_files cris/.gdbinit:common/gdbinit.in"
14642 ac_config_commands
="$ac_config_commands depdir-cris"
14645 sim_enable_arch_cris
=true
14653 if test "$SIM_PRIMARY_TARGET" = "cris"; then :
14654 : "${AS_FOR_TARGET_CRIS:=\$(AS_FOR_TARGET)}"
14655 : "${LD_FOR_TARGET_CRIS:=\$(LD_FOR_TARGET)}"
14656 : "${CC_FOR_TARGET_CRIS:=\$(CC_FOR_TARGET)}"
14660 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_CRIS LD_FOR_TARGET_CRIS CC_FOR_TARGET_CRIS"
14662 if ${sim_enable_arch_cris}; then
14663 SIM_ENABLE_ARCH_cris_TRUE
=
14664 SIM_ENABLE_ARCH_cris_FALSE
='#'
14666 SIM_ENABLE_ARCH_cris_TRUE
='#'
14667 SIM_ENABLE_ARCH_cris_FALSE
=
14671 sim_enable_arch_d10v
=false
14674 if test "${targ}" = "${target}"; then
14675 SIM_PRIMARY_TARGET
=d10v
14677 as_fn_append SIM_ENABLED_ARCHES
" d10v"
14678 ac_config_files
="$ac_config_files d10v/Makefile.sim:d10v/Makefile.in"
14680 ac_config_commands
="$ac_config_commands d10v/Makefile"
14682 as_fn_append SIM_SUBDIRS
" d10v"
14684 ac_config_files
="$ac_config_files d10v/.gdbinit:common/gdbinit.in"
14686 ac_config_commands
="$ac_config_commands depdir-d10v"
14689 sim_enable_arch_d10v
=true
14697 if test "$SIM_PRIMARY_TARGET" = "d10v"; then :
14698 : "${AS_FOR_TARGET_D10V:=\$(AS_FOR_TARGET)}"
14699 : "${LD_FOR_TARGET_D10V:=\$(LD_FOR_TARGET)}"
14700 : "${CC_FOR_TARGET_D10V:=\$(CC_FOR_TARGET)}"
14704 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_D10V LD_FOR_TARGET_D10V CC_FOR_TARGET_D10V"
14706 if ${sim_enable_arch_d10v}; then
14707 SIM_ENABLE_ARCH_d10v_TRUE
=
14708 SIM_ENABLE_ARCH_d10v_FALSE
='#'
14710 SIM_ENABLE_ARCH_d10v_TRUE
='#'
14711 SIM_ENABLE_ARCH_d10v_FALSE
=
14715 sim_enable_arch_frv
=false
14718 if test "${targ}" = "${target}"; then
14719 SIM_PRIMARY_TARGET
=frv
14721 as_fn_append SIM_ENABLED_ARCHES
" frv"
14722 ac_config_files
="$ac_config_files frv/Makefile.sim:frv/Makefile.in"
14724 ac_config_commands
="$ac_config_commands frv/Makefile"
14726 as_fn_append SIM_SUBDIRS
" frv"
14728 ac_config_files
="$ac_config_files frv/.gdbinit:common/gdbinit.in"
14730 ac_config_commands
="$ac_config_commands depdir-frv"
14733 sim_enable_arch_frv
=true
14741 if test "$SIM_PRIMARY_TARGET" = "frv"; then :
14742 : "${AS_FOR_TARGET_FRV:=\$(AS_FOR_TARGET)}"
14743 : "${LD_FOR_TARGET_FRV:=\$(LD_FOR_TARGET)}"
14744 : "${CC_FOR_TARGET_FRV:=\$(CC_FOR_TARGET)}"
14748 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_FRV LD_FOR_TARGET_FRV CC_FOR_TARGET_FRV"
14750 if ${sim_enable_arch_frv}; then
14751 SIM_ENABLE_ARCH_frv_TRUE
=
14752 SIM_ENABLE_ARCH_frv_FALSE
='#'
14754 SIM_ENABLE_ARCH_frv_TRUE
='#'
14755 SIM_ENABLE_ARCH_frv_FALSE
=
14759 sim_enable_arch_ft32
=false
14762 if test "${targ}" = "${target}"; then
14763 SIM_PRIMARY_TARGET
=ft32
14765 as_fn_append SIM_ENABLED_ARCHES
" ft32"
14766 ac_config_files
="$ac_config_files ft32/Makefile.sim:ft32/Makefile.in"
14768 ac_config_commands
="$ac_config_commands ft32/Makefile"
14770 as_fn_append SIM_SUBDIRS
" ft32"
14772 ac_config_files
="$ac_config_files ft32/.gdbinit:common/gdbinit.in"
14774 ac_config_commands
="$ac_config_commands depdir-ft32"
14777 sim_enable_arch_ft32
=true
14785 if test "$SIM_PRIMARY_TARGET" = "ft32"; then :
14786 : "${AS_FOR_TARGET_FT32:=\$(AS_FOR_TARGET)}"
14787 : "${LD_FOR_TARGET_FT32:=\$(LD_FOR_TARGET)}"
14788 : "${CC_FOR_TARGET_FT32:=\$(CC_FOR_TARGET)}"
14792 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_FT32 LD_FOR_TARGET_FT32 CC_FOR_TARGET_FT32"
14794 if ${sim_enable_arch_ft32}; then
14795 SIM_ENABLE_ARCH_ft32_TRUE
=
14796 SIM_ENABLE_ARCH_ft32_FALSE
='#'
14798 SIM_ENABLE_ARCH_ft32_TRUE
='#'
14799 SIM_ENABLE_ARCH_ft32_FALSE
=
14803 sim_enable_arch_h8300
=false
14806 if test "${targ}" = "${target}"; then
14807 SIM_PRIMARY_TARGET
=h8300
14809 as_fn_append SIM_ENABLED_ARCHES
" h8300"
14810 ac_config_files
="$ac_config_files h8300/Makefile.sim:h8300/Makefile.in"
14812 ac_config_commands
="$ac_config_commands h8300/Makefile"
14814 as_fn_append SIM_SUBDIRS
" h8300"
14816 ac_config_files
="$ac_config_files h8300/.gdbinit:common/gdbinit.in"
14818 ac_config_commands
="$ac_config_commands depdir-h8300"
14821 sim_enable_arch_h8300
=true
14829 if test "$SIM_PRIMARY_TARGET" = "h8300"; then :
14830 : "${AS_FOR_TARGET_H8300:=\$(AS_FOR_TARGET)}"
14831 : "${LD_FOR_TARGET_H8300:=\$(LD_FOR_TARGET)}"
14832 : "${CC_FOR_TARGET_H8300:=\$(CC_FOR_TARGET)}"
14836 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_H8300 LD_FOR_TARGET_H8300 CC_FOR_TARGET_H8300"
14838 if ${sim_enable_arch_h8300}; then
14839 SIM_ENABLE_ARCH_h8300_TRUE
=
14840 SIM_ENABLE_ARCH_h8300_FALSE
='#'
14842 SIM_ENABLE_ARCH_h8300_TRUE
='#'
14843 SIM_ENABLE_ARCH_h8300_FALSE
=
14847 sim_enable_arch_iq2000
=false
14850 if test "${targ}" = "${target}"; then
14851 SIM_PRIMARY_TARGET
=iq2000
14853 as_fn_append SIM_ENABLED_ARCHES
" iq2000"
14854 ac_config_files
="$ac_config_files iq2000/Makefile.sim:iq2000/Makefile.in"
14856 ac_config_commands
="$ac_config_commands iq2000/Makefile"
14858 as_fn_append SIM_SUBDIRS
" iq2000"
14860 ac_config_files
="$ac_config_files iq2000/.gdbinit:common/gdbinit.in"
14862 ac_config_commands
="$ac_config_commands depdir-iq2000"
14865 sim_enable_arch_iq2000
=true
14873 if test "$SIM_PRIMARY_TARGET" = "iq2000"; then :
14874 : "${AS_FOR_TARGET_IQ2000:=\$(AS_FOR_TARGET)}"
14875 : "${LD_FOR_TARGET_IQ2000:=\$(LD_FOR_TARGET)}"
14876 : "${CC_FOR_TARGET_IQ2000:=\$(CC_FOR_TARGET)}"
14880 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_IQ2000 LD_FOR_TARGET_IQ2000 CC_FOR_TARGET_IQ2000"
14882 if ${sim_enable_arch_iq2000}; then
14883 SIM_ENABLE_ARCH_iq2000_TRUE
=
14884 SIM_ENABLE_ARCH_iq2000_FALSE
='#'
14886 SIM_ENABLE_ARCH_iq2000_TRUE
='#'
14887 SIM_ENABLE_ARCH_iq2000_FALSE
=
14891 sim_enable_arch_lm32
=false
14894 if test "${targ}" = "${target}"; then
14895 SIM_PRIMARY_TARGET
=lm32
14897 as_fn_append SIM_ENABLED_ARCHES
" lm32"
14898 ac_config_files
="$ac_config_files lm32/Makefile.sim:lm32/Makefile.in"
14900 ac_config_commands
="$ac_config_commands lm32/Makefile"
14902 as_fn_append SIM_SUBDIRS
" lm32"
14904 ac_config_files
="$ac_config_files lm32/.gdbinit:common/gdbinit.in"
14906 ac_config_commands
="$ac_config_commands depdir-lm32"
14909 sim_enable_arch_lm32
=true
14917 if test "$SIM_PRIMARY_TARGET" = "lm32"; then :
14918 : "${AS_FOR_TARGET_LM32:=\$(AS_FOR_TARGET)}"
14919 : "${LD_FOR_TARGET_LM32:=\$(LD_FOR_TARGET)}"
14920 : "${CC_FOR_TARGET_LM32:=\$(CC_FOR_TARGET)}"
14924 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_LM32 LD_FOR_TARGET_LM32 CC_FOR_TARGET_LM32"
14926 if ${sim_enable_arch_lm32}; then
14927 SIM_ENABLE_ARCH_lm32_TRUE
=
14928 SIM_ENABLE_ARCH_lm32_FALSE
='#'
14930 SIM_ENABLE_ARCH_lm32_TRUE
='#'
14931 SIM_ENABLE_ARCH_lm32_FALSE
=
14935 sim_enable_arch_m32c
=false
14938 if test "${targ}" = "${target}"; then
14939 SIM_PRIMARY_TARGET
=m32c
14941 as_fn_append SIM_ENABLED_ARCHES
" m32c"
14942 ac_config_files
="$ac_config_files m32c/Makefile.sim:m32c/Makefile.in"
14944 ac_config_commands
="$ac_config_commands m32c/Makefile"
14946 as_fn_append SIM_SUBDIRS
" m32c"
14948 ac_config_files
="$ac_config_files m32c/.gdbinit:common/gdbinit.in"
14950 ac_config_commands
="$ac_config_commands depdir-m32c"
14953 sim_enable_arch_m32c
=true
14961 if test "$SIM_PRIMARY_TARGET" = "m32c"; then :
14962 : "${AS_FOR_TARGET_M32C:=\$(AS_FOR_TARGET)}"
14963 : "${LD_FOR_TARGET_M32C:=\$(LD_FOR_TARGET)}"
14964 : "${CC_FOR_TARGET_M32C:=\$(CC_FOR_TARGET)}"
14968 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_M32C LD_FOR_TARGET_M32C CC_FOR_TARGET_M32C"
14970 if ${sim_enable_arch_m32c}; then
14971 SIM_ENABLE_ARCH_m32c_TRUE
=
14972 SIM_ENABLE_ARCH_m32c_FALSE
='#'
14974 SIM_ENABLE_ARCH_m32c_TRUE
='#'
14975 SIM_ENABLE_ARCH_m32c_FALSE
=
14979 sim_enable_arch_m32r
=false
14982 if test "${targ}" = "${target}"; then
14983 SIM_PRIMARY_TARGET
=m32r
14985 as_fn_append SIM_ENABLED_ARCHES
" m32r"
14986 ac_config_files
="$ac_config_files m32r/Makefile.sim:m32r/Makefile.in"
14988 ac_config_commands
="$ac_config_commands m32r/Makefile"
14990 as_fn_append SIM_SUBDIRS
" m32r"
14992 ac_config_files
="$ac_config_files m32r/.gdbinit:common/gdbinit.in"
14994 ac_config_commands
="$ac_config_commands depdir-m32r"
14997 sim_enable_arch_m32r
=true
15005 if test "$SIM_PRIMARY_TARGET" = "m32r"; then :
15006 : "${AS_FOR_TARGET_M32R:=\$(AS_FOR_TARGET)}"
15007 : "${LD_FOR_TARGET_M32R:=\$(LD_FOR_TARGET)}"
15008 : "${CC_FOR_TARGET_M32R:=\$(CC_FOR_TARGET)}"
15012 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_M32R LD_FOR_TARGET_M32R CC_FOR_TARGET_M32R"
15014 if ${sim_enable_arch_m32r}; then
15015 SIM_ENABLE_ARCH_m32r_TRUE
=
15016 SIM_ENABLE_ARCH_m32r_FALSE
='#'
15018 SIM_ENABLE_ARCH_m32r_TRUE
='#'
15019 SIM_ENABLE_ARCH_m32r_FALSE
=
15023 sim_enable_arch_m68hc11
=false
15025 all|m68hc11-
*-*|m6811-
*-*)
15026 if test "${targ}" = "${target}"; then
15027 SIM_PRIMARY_TARGET
=m68hc11
15029 as_fn_append SIM_ENABLED_ARCHES
" m68hc11"
15030 ac_config_files
="$ac_config_files m68hc11/Makefile.sim:m68hc11/Makefile.in"
15032 ac_config_commands
="$ac_config_commands m68hc11/Makefile"
15034 as_fn_append SIM_SUBDIRS
" m68hc11"
15036 ac_config_files
="$ac_config_files m68hc11/.gdbinit:common/gdbinit.in"
15038 ac_config_commands
="$ac_config_commands depdir-m68hc11"
15041 sim_enable_arch_m68hc11
=true
15049 if test "$SIM_PRIMARY_TARGET" = "m68hc11"; then :
15050 : "${AS_FOR_TARGET_M68HC11:=\$(AS_FOR_TARGET)}"
15051 : "${LD_FOR_TARGET_M68HC11:=\$(LD_FOR_TARGET)}"
15052 : "${CC_FOR_TARGET_M68HC11:=\$(CC_FOR_TARGET)}"
15056 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_M68HC11 LD_FOR_TARGET_M68HC11 CC_FOR_TARGET_M68HC11"
15058 if ${sim_enable_arch_m68hc11}; then
15059 SIM_ENABLE_ARCH_m68hc11_TRUE
=
15060 SIM_ENABLE_ARCH_m68hc11_FALSE
='#'
15062 SIM_ENABLE_ARCH_m68hc11_TRUE
='#'
15063 SIM_ENABLE_ARCH_m68hc11_FALSE
=
15067 sim_enable_arch_mcore
=false
15070 if test "${targ}" = "${target}"; then
15071 SIM_PRIMARY_TARGET
=mcore
15073 as_fn_append SIM_ENABLED_ARCHES
" mcore"
15074 ac_config_files
="$ac_config_files mcore/Makefile.sim:mcore/Makefile.in"
15076 ac_config_commands
="$ac_config_commands mcore/Makefile"
15078 as_fn_append SIM_SUBDIRS
" mcore"
15080 ac_config_files
="$ac_config_files mcore/.gdbinit:common/gdbinit.in"
15082 ac_config_commands
="$ac_config_commands depdir-mcore"
15085 sim_enable_arch_mcore
=true
15093 if test "$SIM_PRIMARY_TARGET" = "mcore"; then :
15094 : "${AS_FOR_TARGET_MCORE:=\$(AS_FOR_TARGET)}"
15095 : "${LD_FOR_TARGET_MCORE:=\$(LD_FOR_TARGET)}"
15096 : "${CC_FOR_TARGET_MCORE:=\$(CC_FOR_TARGET)}"
15100 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_MCORE LD_FOR_TARGET_MCORE CC_FOR_TARGET_MCORE"
15102 if ${sim_enable_arch_mcore}; then
15103 SIM_ENABLE_ARCH_mcore_TRUE
=
15104 SIM_ENABLE_ARCH_mcore_FALSE
='#'
15106 SIM_ENABLE_ARCH_mcore_TRUE
='#'
15107 SIM_ENABLE_ARCH_mcore_FALSE
=
15111 sim_enable_arch_microblaze
=false
15113 all|microblaze
*-*-*)
15114 if test "${targ}" = "${target}"; then
15115 SIM_PRIMARY_TARGET
=microblaze
15117 as_fn_append SIM_ENABLED_ARCHES
" microblaze"
15118 ac_config_files
="$ac_config_files microblaze/Makefile.sim:microblaze/Makefile.in"
15120 ac_config_commands
="$ac_config_commands microblaze/Makefile"
15122 as_fn_append SIM_SUBDIRS
" microblaze"
15124 ac_config_files
="$ac_config_files microblaze/.gdbinit:common/gdbinit.in"
15126 ac_config_commands
="$ac_config_commands depdir-microblaze"
15129 sim_enable_arch_microblaze
=true
15137 if test "$SIM_PRIMARY_TARGET" = "microblaze"; then :
15138 : "${AS_FOR_TARGET_MICROBLAZE:=\$(AS_FOR_TARGET)}"
15139 : "${LD_FOR_TARGET_MICROBLAZE:=\$(LD_FOR_TARGET)}"
15140 : "${CC_FOR_TARGET_MICROBLAZE:=\$(CC_FOR_TARGET)}"
15144 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_MICROBLAZE LD_FOR_TARGET_MICROBLAZE CC_FOR_TARGET_MICROBLAZE"
15146 if ${sim_enable_arch_microblaze}; then
15147 SIM_ENABLE_ARCH_microblaze_TRUE
=
15148 SIM_ENABLE_ARCH_microblaze_FALSE
='#'
15150 SIM_ENABLE_ARCH_microblaze_TRUE
='#'
15151 SIM_ENABLE_ARCH_microblaze_FALSE
=
15155 sim_enable_arch_mips
=false
15158 if test "${targ}" = "${target}"; then
15159 SIM_PRIMARY_TARGET
=mips
15161 as_fn_append SIM_ENABLED_ARCHES
" mips"
15164 subdirs
="$subdirs mips"
15167 ac_config_files
="$ac_config_files mips/.gdbinit:common/gdbinit.in"
15169 ac_config_commands
="$ac_config_commands depdir-mips"
15172 sim_enable_arch_mips
=true
15180 if test "$SIM_PRIMARY_TARGET" = "mips"; then :
15181 : "${AS_FOR_TARGET_MIPS:=\$(AS_FOR_TARGET)}"
15182 : "${LD_FOR_TARGET_MIPS:=\$(LD_FOR_TARGET)}"
15183 : "${CC_FOR_TARGET_MIPS:=\$(CC_FOR_TARGET)}"
15187 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_MIPS LD_FOR_TARGET_MIPS CC_FOR_TARGET_MIPS"
15189 if ${sim_enable_arch_mips}; then
15190 SIM_ENABLE_ARCH_mips_TRUE
=
15191 SIM_ENABLE_ARCH_mips_FALSE
='#'
15193 SIM_ENABLE_ARCH_mips_TRUE
='#'
15194 SIM_ENABLE_ARCH_mips_FALSE
=
15198 sim_enable_arch_mn10300
=false
15201 if test "${targ}" = "${target}"; then
15202 SIM_PRIMARY_TARGET
=mn10300
15204 as_fn_append SIM_ENABLED_ARCHES
" mn10300"
15205 subdirs
="$subdirs mn10300"
15208 ac_config_files
="$ac_config_files mn10300/.gdbinit:common/gdbinit.in"
15210 ac_config_commands
="$ac_config_commands depdir-mn10300"
15213 sim_enable_arch_mn10300
=true
15221 if test "$SIM_PRIMARY_TARGET" = "mn10300"; then :
15222 : "${AS_FOR_TARGET_MN10300:=\$(AS_FOR_TARGET)}"
15223 : "${LD_FOR_TARGET_MN10300:=\$(LD_FOR_TARGET)}"
15224 : "${CC_FOR_TARGET_MN10300:=\$(CC_FOR_TARGET)}"
15228 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_MN10300 LD_FOR_TARGET_MN10300 CC_FOR_TARGET_MN10300"
15230 if ${sim_enable_arch_mn10300}; then
15231 SIM_ENABLE_ARCH_mn10300_TRUE
=
15232 SIM_ENABLE_ARCH_mn10300_FALSE
='#'
15234 SIM_ENABLE_ARCH_mn10300_TRUE
='#'
15235 SIM_ENABLE_ARCH_mn10300_FALSE
=
15239 sim_enable_arch_moxie
=false
15242 if test "${targ}" = "${target}"; then
15243 SIM_PRIMARY_TARGET
=moxie
15245 as_fn_append SIM_ENABLED_ARCHES
" moxie"
15246 ac_config_files
="$ac_config_files moxie/Makefile.sim:moxie/Makefile.in"
15248 ac_config_commands
="$ac_config_commands moxie/Makefile"
15250 as_fn_append SIM_SUBDIRS
" moxie"
15252 ac_config_files
="$ac_config_files moxie/.gdbinit:common/gdbinit.in"
15254 ac_config_commands
="$ac_config_commands depdir-moxie"
15257 sim_enable_arch_moxie
=true
15265 if test "$SIM_PRIMARY_TARGET" = "moxie"; then :
15266 : "${AS_FOR_TARGET_MOXIE:=\$(AS_FOR_TARGET)}"
15267 : "${LD_FOR_TARGET_MOXIE:=\$(LD_FOR_TARGET)}"
15268 : "${CC_FOR_TARGET_MOXIE:=\$(CC_FOR_TARGET)}"
15272 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_MOXIE LD_FOR_TARGET_MOXIE CC_FOR_TARGET_MOXIE"
15274 if ${sim_enable_arch_moxie}; then
15275 SIM_ENABLE_ARCH_moxie_TRUE
=
15276 SIM_ENABLE_ARCH_moxie_FALSE
='#'
15278 SIM_ENABLE_ARCH_moxie_TRUE
='#'
15279 SIM_ENABLE_ARCH_moxie_FALSE
=
15283 sim_enable_arch_msp430
=false
15286 if test "${targ}" = "${target}"; then
15287 SIM_PRIMARY_TARGET
=msp430
15289 as_fn_append SIM_ENABLED_ARCHES
" msp430"
15290 ac_config_files
="$ac_config_files msp430/Makefile.sim:msp430/Makefile.in"
15292 ac_config_commands
="$ac_config_commands msp430/Makefile"
15294 as_fn_append SIM_SUBDIRS
" msp430"
15296 ac_config_files
="$ac_config_files msp430/.gdbinit:common/gdbinit.in"
15298 ac_config_commands
="$ac_config_commands depdir-msp430"
15301 sim_enable_arch_msp430
=true
15309 if test "$SIM_PRIMARY_TARGET" = "msp430"; then :
15310 : "${AS_FOR_TARGET_MSP430:=\$(AS_FOR_TARGET)}"
15311 : "${LD_FOR_TARGET_MSP430:=\$(LD_FOR_TARGET)}"
15312 : "${CC_FOR_TARGET_MSP430:=\$(CC_FOR_TARGET)}"
15316 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_MSP430 LD_FOR_TARGET_MSP430 CC_FOR_TARGET_MSP430"
15318 if ${sim_enable_arch_msp430}; then
15319 SIM_ENABLE_ARCH_msp430_TRUE
=
15320 SIM_ENABLE_ARCH_msp430_FALSE
='#'
15322 SIM_ENABLE_ARCH_msp430_TRUE
='#'
15323 SIM_ENABLE_ARCH_msp430_FALSE
=
15327 sim_enable_arch_or1k
=false
15330 if test "${targ}" = "${target}"; then
15331 SIM_PRIMARY_TARGET
=or1k
15333 as_fn_append SIM_ENABLED_ARCHES
" or1k"
15334 subdirs
="$subdirs or1k"
15337 ac_config_files
="$ac_config_files or1k/.gdbinit:common/gdbinit.in"
15339 ac_config_commands
="$ac_config_commands depdir-or1k"
15342 sim_enable_arch_or1k
=true
15350 if test "$SIM_PRIMARY_TARGET" = "or1k"; then :
15351 : "${AS_FOR_TARGET_OR1K:=\$(AS_FOR_TARGET)}"
15352 : "${LD_FOR_TARGET_OR1K:=\$(LD_FOR_TARGET)}"
15353 : "${CC_FOR_TARGET_OR1K:=\$(CC_FOR_TARGET)}"
15357 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_OR1K LD_FOR_TARGET_OR1K CC_FOR_TARGET_OR1K"
15359 if ${sim_enable_arch_or1k}; then
15360 SIM_ENABLE_ARCH_or1k_TRUE
=
15361 SIM_ENABLE_ARCH_or1k_FALSE
='#'
15363 SIM_ENABLE_ARCH_or1k_TRUE
='#'
15364 SIM_ENABLE_ARCH_or1k_FALSE
=
15368 sim_enable_arch_ppc
=false
15371 if test "${targ}" = "${target}"; then
15372 SIM_PRIMARY_TARGET
=ppc
15374 as_fn_append SIM_ENABLED_ARCHES
" ppc"
15375 subdirs
="$subdirs ppc"
15378 ac_config_files
="$ac_config_files ppc/.gdbinit:common/gdbinit.in"
15380 ac_config_commands
="$ac_config_commands depdir-ppc"
15383 sim_enable_arch_ppc
=true
15391 if test "$SIM_PRIMARY_TARGET" = "ppc"; then :
15392 : "${AS_FOR_TARGET_PPC:=\$(AS_FOR_TARGET)}"
15393 : "${LD_FOR_TARGET_PPC:=\$(LD_FOR_TARGET)}"
15394 : "${CC_FOR_TARGET_PPC:=\$(CC_FOR_TARGET)}"
15398 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_PPC LD_FOR_TARGET_PPC CC_FOR_TARGET_PPC"
15400 if ${sim_enable_arch_ppc}; then
15401 SIM_ENABLE_ARCH_ppc_TRUE
=
15402 SIM_ENABLE_ARCH_ppc_FALSE
='#'
15404 SIM_ENABLE_ARCH_ppc_TRUE
='#'
15405 SIM_ENABLE_ARCH_ppc_FALSE
=
15409 sim_enable_arch_pru
=false
15412 if test "${targ}" = "${target}"; then
15413 SIM_PRIMARY_TARGET
=pru
15415 as_fn_append SIM_ENABLED_ARCHES
" pru"
15416 ac_config_files
="$ac_config_files pru/Makefile.sim:pru/Makefile.in"
15418 ac_config_commands
="$ac_config_commands pru/Makefile"
15420 as_fn_append SIM_SUBDIRS
" pru"
15422 ac_config_files
="$ac_config_files pru/.gdbinit:common/gdbinit.in"
15424 ac_config_commands
="$ac_config_commands depdir-pru"
15427 sim_enable_arch_pru
=true
15435 if test "$SIM_PRIMARY_TARGET" = "pru"; then :
15436 : "${AS_FOR_TARGET_PRU:=\$(AS_FOR_TARGET)}"
15437 : "${LD_FOR_TARGET_PRU:=\$(LD_FOR_TARGET)}"
15438 : "${CC_FOR_TARGET_PRU:=\$(CC_FOR_TARGET)}"
15442 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_PRU LD_FOR_TARGET_PRU CC_FOR_TARGET_PRU"
15444 if ${sim_enable_arch_pru}; then
15445 SIM_ENABLE_ARCH_pru_TRUE
=
15446 SIM_ENABLE_ARCH_pru_FALSE
='#'
15448 SIM_ENABLE_ARCH_pru_TRUE
='#'
15449 SIM_ENABLE_ARCH_pru_FALSE
=
15453 sim_enable_arch_riscv
=false
15456 if test "${targ}" = "${target}"; then
15457 SIM_PRIMARY_TARGET
=riscv
15459 as_fn_append SIM_ENABLED_ARCHES
" riscv"
15460 ac_config_files
="$ac_config_files riscv/Makefile.sim:riscv/Makefile.in"
15462 ac_config_commands
="$ac_config_commands riscv/Makefile"
15464 as_fn_append SIM_SUBDIRS
" riscv"
15466 ac_config_files
="$ac_config_files riscv/.gdbinit:common/gdbinit.in"
15468 ac_config_commands
="$ac_config_commands depdir-riscv"
15471 sim_enable_arch_riscv
=true
15479 if test "$SIM_PRIMARY_TARGET" = "riscv"; then :
15480 : "${AS_FOR_TARGET_RISCV:=\$(AS_FOR_TARGET)}"
15481 : "${LD_FOR_TARGET_RISCV:=\$(LD_FOR_TARGET)}"
15482 : "${CC_FOR_TARGET_RISCV:=\$(CC_FOR_TARGET)}"
15486 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_RISCV LD_FOR_TARGET_RISCV CC_FOR_TARGET_RISCV"
15488 if ${sim_enable_arch_riscv}; then
15489 SIM_ENABLE_ARCH_riscv_TRUE
=
15490 SIM_ENABLE_ARCH_riscv_FALSE
='#'
15492 SIM_ENABLE_ARCH_riscv_TRUE
='#'
15493 SIM_ENABLE_ARCH_riscv_FALSE
=
15497 sim_enable_arch_rl78
=false
15500 if test "${targ}" = "${target}"; then
15501 SIM_PRIMARY_TARGET
=rl78
15503 as_fn_append SIM_ENABLED_ARCHES
" rl78"
15504 ac_config_files
="$ac_config_files rl78/Makefile.sim:rl78/Makefile.in"
15506 ac_config_commands
="$ac_config_commands rl78/Makefile"
15508 as_fn_append SIM_SUBDIRS
" rl78"
15510 ac_config_files
="$ac_config_files rl78/.gdbinit:common/gdbinit.in"
15512 ac_config_commands
="$ac_config_commands depdir-rl78"
15515 sim_enable_arch_rl78
=true
15523 if test "$SIM_PRIMARY_TARGET" = "rl78"; then :
15524 : "${AS_FOR_TARGET_RL78:=\$(AS_FOR_TARGET)}"
15525 : "${LD_FOR_TARGET_RL78:=\$(LD_FOR_TARGET)}"
15526 : "${CC_FOR_TARGET_RL78:=\$(CC_FOR_TARGET)}"
15530 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_RL78 LD_FOR_TARGET_RL78 CC_FOR_TARGET_RL78"
15532 if ${sim_enable_arch_rl78}; then
15533 SIM_ENABLE_ARCH_rl78_TRUE
=
15534 SIM_ENABLE_ARCH_rl78_FALSE
='#'
15536 SIM_ENABLE_ARCH_rl78_TRUE
='#'
15537 SIM_ENABLE_ARCH_rl78_FALSE
=
15541 sim_enable_arch_rx
=false
15544 if test "${targ}" = "${target}"; then
15545 SIM_PRIMARY_TARGET
=rx
15547 as_fn_append SIM_ENABLED_ARCHES
" rx"
15548 ac_config_files
="$ac_config_files rx/Makefile.sim:rx/Makefile.in"
15550 ac_config_commands
="$ac_config_commands rx/Makefile"
15552 as_fn_append SIM_SUBDIRS
" rx"
15554 ac_config_files
="$ac_config_files rx/.gdbinit:common/gdbinit.in"
15556 ac_config_commands
="$ac_config_commands depdir-rx"
15559 sim_enable_arch_rx
=true
15567 if test "$SIM_PRIMARY_TARGET" = "rx"; then :
15568 : "${AS_FOR_TARGET_RX:=\$(AS_FOR_TARGET)}"
15569 : "${LD_FOR_TARGET_RX:=\$(LD_FOR_TARGET)}"
15570 : "${CC_FOR_TARGET_RX:=\$(CC_FOR_TARGET)}"
15574 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_RX LD_FOR_TARGET_RX CC_FOR_TARGET_RX"
15576 if ${sim_enable_arch_rx}; then
15577 SIM_ENABLE_ARCH_rx_TRUE
=
15578 SIM_ENABLE_ARCH_rx_FALSE
='#'
15580 SIM_ENABLE_ARCH_rx_TRUE
='#'
15581 SIM_ENABLE_ARCH_rx_FALSE
=
15585 sim_enable_arch_sh
=false
15588 if test "${targ}" = "${target}"; then
15589 SIM_PRIMARY_TARGET
=sh
15591 as_fn_append SIM_ENABLED_ARCHES
" sh"
15592 ac_config_files
="$ac_config_files sh/Makefile.sim:sh/Makefile.in"
15594 ac_config_commands
="$ac_config_commands sh/Makefile"
15596 as_fn_append SIM_SUBDIRS
" sh"
15598 ac_config_files
="$ac_config_files sh/.gdbinit:common/gdbinit.in"
15600 ac_config_commands
="$ac_config_commands depdir-sh"
15603 sim_enable_arch_sh
=true
15611 if test "$SIM_PRIMARY_TARGET" = "sh"; then :
15612 : "${AS_FOR_TARGET_SH:=\$(AS_FOR_TARGET)}"
15613 : "${LD_FOR_TARGET_SH:=\$(LD_FOR_TARGET)}"
15614 : "${CC_FOR_TARGET_SH:=\$(CC_FOR_TARGET)}"
15618 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_SH LD_FOR_TARGET_SH CC_FOR_TARGET_SH"
15620 if ${sim_enable_arch_sh}; then
15621 SIM_ENABLE_ARCH_sh_TRUE
=
15622 SIM_ENABLE_ARCH_sh_FALSE
='#'
15624 SIM_ENABLE_ARCH_sh_TRUE
='#'
15625 SIM_ENABLE_ARCH_sh_FALSE
=
15629 sim_enable_arch_erc32
=false
15632 if test "${targ}" = "${target}"; then
15633 SIM_PRIMARY_TARGET
=erc32
15635 as_fn_append SIM_ENABLED_ARCHES
" erc32"
15636 ac_config_files
="$ac_config_files erc32/Makefile.sim:erc32/Makefile.in"
15638 ac_config_commands
="$ac_config_commands erc32/Makefile"
15640 as_fn_append SIM_SUBDIRS
" erc32"
15642 ac_config_files
="$ac_config_files erc32/.gdbinit:common/gdbinit.in"
15644 ac_config_commands
="$ac_config_commands depdir-erc32"
15647 sim_enable_arch_erc32
=true
15655 if test "$SIM_PRIMARY_TARGET" = "erc32"; then :
15656 : "${AS_FOR_TARGET_ERC32:=\$(AS_FOR_TARGET)}"
15657 : "${LD_FOR_TARGET_ERC32:=\$(LD_FOR_TARGET)}"
15658 : "${CC_FOR_TARGET_ERC32:=\$(CC_FOR_TARGET)}"
15662 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_ERC32 LD_FOR_TARGET_ERC32 CC_FOR_TARGET_ERC32"
15664 if ${sim_enable_arch_erc32}; then
15665 SIM_ENABLE_ARCH_erc32_TRUE
=
15666 SIM_ENABLE_ARCH_erc32_FALSE
='#'
15668 SIM_ENABLE_ARCH_erc32_TRUE
='#'
15669 SIM_ENABLE_ARCH_erc32_FALSE
=
15673 sim_enable_arch_v850
=false
15676 if test "${targ}" = "${target}"; then
15677 SIM_PRIMARY_TARGET
=v850
15679 as_fn_append SIM_ENABLED_ARCHES
" v850"
15680 subdirs
="$subdirs v850"
15683 ac_config_files
="$ac_config_files v850/.gdbinit:common/gdbinit.in"
15685 ac_config_commands
="$ac_config_commands depdir-v850"
15688 sim_enable_arch_v850
=true
15696 if test "$SIM_PRIMARY_TARGET" = "v850"; then :
15697 : "${AS_FOR_TARGET_V850:=\$(AS_FOR_TARGET)}"
15698 : "${LD_FOR_TARGET_V850:=\$(LD_FOR_TARGET)}"
15699 : "${CC_FOR_TARGET_V850:=\$(CC_FOR_TARGET)}"
15703 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_V850 LD_FOR_TARGET_V850 CC_FOR_TARGET_V850"
15705 if ${sim_enable_arch_v850}; then
15706 SIM_ENABLE_ARCH_v850_TRUE
=
15707 SIM_ENABLE_ARCH_v850_FALSE
='#'
15709 SIM_ENABLE_ARCH_v850_TRUE
='#'
15710 SIM_ENABLE_ARCH_v850_FALSE
=
15716 if test "x${enable_example_sims}" = xyes
; then
15721 : "${AS_FOR_TARGET_EXAMPLE_SYNACOR:=\$(AS_FOR_TARGET)}"
15722 : "${LD_FOR_TARGET_EXAMPLE_SYNACOR:=\$(LD_FOR_TARGET)}"
15723 : "${CC_FOR_TARGET_EXAMPLE_SYNACOR:=\$(CC)}"
15725 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_EXAMPLE_SYNACOR LD_FOR_TARGET_EXAMPLE_SYNACOR CC_FOR_TARGET_EXAMPLE_SYNACOR"
15727 as_fn_append SIM_ENABLED_ARCHES
" example-synacor"
15728 ac_config_files
="$ac_config_files example-synacor/Makefile.sim:example-synacor/Makefile.in"
15730 ac_config_commands
="$ac_config_commands example-synacor/Makefile"
15732 as_fn_append SIM_SUBDIRS
" example-synacor"
15734 ac_config_files
="$ac_config_files example-synacor/.gdbinit:common/gdbinit.in"
15736 ac_config_commands
="$ac_config_commands depdir-example-synacor"
15740 if test "${enable_example_sims}" = "yes"; then
15741 SIM_ENABLE_ARCH_examples_TRUE
=
15742 SIM_ENABLE_ARCH_examples_FALSE
='#'
15744 SIM_ENABLE_ARCH_examples_TRUE
='#'
15745 SIM_ENABLE_ARCH_examples_FALSE
=
15749 if test "$sim_igen" = "yes"; then
15750 SIM_ENABLE_IGEN_TRUE
=
15751 SIM_ENABLE_IGEN_FALSE
='#'
15753 SIM_ENABLE_IGEN_TRUE
='#'
15754 SIM_ENABLE_IGEN_FALSE
=
15757 if test -n "$SIM_SUBDIRS"; then
15759 ENABLE_SIM_FALSE
='#'
15761 ENABLE_SIM_TRUE
='#'
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim alignment" >&5
15767 $as_echo_n "checking whether to force sim alignment... " >&6; }
15769 # Check whether --enable-sim-alignment was given.
15770 if test "${enable_sim_alignment+set}" = set; then :
15771 enableval
=$enable_sim_alignment; case "${enableval}" in
15772 yes | strict | STRICT
) sim_alignment
="STRICT_ALIGNMENT";;
15773 no | nonstrict | NONSTRICT
) sim_alignment
="NONSTRICT_ALIGNMENT";;
15774 forced | FORCED
) sim_alignment
="FORCED_ALIGNMENT";;
15775 *) as_fn_error $?
"\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5;;
15779 cat >>confdefs.h
<<_ACEOF
15780 #define WITH_ALIGNMENT ${sim_alignment:-0}
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
15784 $as_echo "${sim_alignment:-no}" >&6; }
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sim asserts" >&5
15788 $as_echo_n "checking whether to enable sim asserts... " >&6; }
15790 # Check whether --enable-sim-assert was given.
15791 if test "${enable_sim_assert+set}" = set; then :
15792 enableval
=$enable_sim_assert; case "${enableval}" in
15793 yes) sim_assert
="1";;
15794 no
) sim_assert
="0";;
15795 *) as_fn_error $?
"--enable-sim-assert does not take a value" "$LINENO" 5;;
15799 cat >>confdefs.h
<<_ACEOF
15800 #define WITH_ASSERT $sim_assert
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
15804 $as_echo "$sim_assert" >&6; }
15809 cgendir
='$(srcdir)/../../cgen'
15810 # Check whether --enable-cgen-maint was given.
15811 if test "${enable_cgen_maint+set}" = set; then :
15812 enableval
=$enable_cgen_maint; case "${enableval}" in
15813 yes) cgen_maint
=yes ;;
15814 no
) cgen_maint
=no
;;
15816 # Argument is a directory where cgen can be found. In some
15817 # future world cgen could be installable, but right now this
15818 # is not the case. Instead we assume the directory is a path
15819 # to the cgen source tree.
15821 if test -r ${enableval}/iformat.scm
; then
15822 # This looks like a cgen source tree.
15823 cgendir
=${enableval}
15825 as_fn_error $?
"${enableval} doesn't look like a cgen source tree" "$LINENO" 5
15830 if test x
${cgen_maint} != xno
; then
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim debug setting" >&5
15840 $as_echo_n "checking for sim debug setting... " >&6; }
15842 # Check whether --enable-sim-debug was given.
15843 if test "${enable_sim_debug+set}" = set; then :
15844 enableval
=$enable_sim_debug; case "${enableval}" in
15845 yes) sim_debug
="7";;
15846 no
) sim_debug
="0";;
15847 *) sim_debug
="($enableval)";;
15850 if test "$sim_debug" != "0"; then
15852 cat >>confdefs.h
<<_ACEOF
15853 #define DEBUG $sim_debug
15858 cat >>confdefs.h
<<_ACEOF
15859 #define WITH_DEBUG $sim_debug
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_debug" >&5
15863 $as_echo "$sim_debug" >&6; }
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim endianness" >&5
15866 $as_echo_n "checking whether to force sim endianness... " >&6; }
15868 # Check whether --enable-sim-endian was given.
15869 if test "${enable_sim_endian+set}" = set; then :
15870 enableval
=$enable_sim_endian; case "${enableval}" in
15871 b
*|B
*) sim_endian
="BFD_ENDIAN_BIG";;
15872 l
*|L
*) sim_endian
="BFD_ENDIAN_LITTLE";;
15874 *) as_fn_error $?
"\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5;;
15878 cat >>confdefs.h
<<_ACEOF
15879 #define WITH_TARGET_BYTE_ORDER ${sim_endian:-BFD_ENDIAN_UNKNOWN}
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
15883 $as_echo "${sim_alignment:-no}" >&6; }
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
15887 $as_echo_n "checking default sim environment setting... " >&6; }
15888 sim_environment
="ALL_ENVIRONMENT"
15889 # Check whether --enable-sim-environment was given.
15890 if test "${enable_sim_environment+set}" = set; then :
15891 enableval
=$enable_sim_environment; case "${enableval}" in
15892 all | ALL
) sim_environment
="ALL_ENVIRONMENT";;
15893 user | USER
) sim_environment
="USER_ENVIRONMENT";;
15894 virtual | VIRTUAL
) sim_environment
="VIRTUAL_ENVIRONMENT";;
15895 operating | OPERATING
) sim_environment
="OPERATING_ENVIRONMENT";;
15896 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
15900 cat >>confdefs.h
<<_ACEOF
15901 #define WITH_ENVIRONMENT $sim_environment
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_environment" >&5
15905 $as_echo "$sim_environment" >&6; }
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim hardware settings" >&5
15908 $as_echo_n "checking for sim hardware settings... " >&6; }
15909 # Check whether --enable-sim-hardware was given.
15910 if test "${enable_sim_hardware+set}" = set; then :
15911 enableval
=$enable_sim_hardware;
15913 enable_sim_hardware
="yes"
15917 if test "$enable_sim_hardware" = no
; then
15918 sim_hw_cflags
="-DWITH_HW=0"
15919 elif test "$enable_sim_hardware" = yes; then
15920 sim_hw_cflags
="-DWITH_HW=1"
15921 sim_hw_sockser
="dv-sockser.o"
15922 sim_hw_cflags
="$sim_hw_cflags -DHAVE_DV_SOCKSER"
15924 as_fn_error $?
"unknown argument \"$enable_sim_hardware\"" "$LINENO" 5
15926 if test "$enable_sim_hardware" = "yes"; then
15927 SIM_ENABLE_HW_TRUE
=
15928 SIM_ENABLE_HW_FALSE
='#'
15930 SIM_ENABLE_HW_TRUE
='#'
15931 SIM_ENABLE_HW_FALSE
=
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_sim_hardware}" >&5
15935 $as_echo "${enable_sim_hardware}" >&6; }
15936 SIM_HW_CFLAGS
=$sim_hw_cflags
15938 SIM_HW_SOCKSER
=$sim_hw_sockser
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sim inline settings" >&5
15942 $as_echo_n "checking sim inline settings... " >&6; }
15943 sim_inline
="-DDEFAULT_INLINE=0"
15944 # Check whether --enable-sim-inline was given.
15945 if test "${enable_sim_inline+set}" = set; then :
15946 enableval
=$enable_sim_inline; sim_inline
=""
15947 case "$enableval" in
15948 no
) sim_inline
="-DDEFAULT_INLINE=0";;
15949 0) sim_inline
="-DDEFAULT_INLINE=0";;
15950 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
15951 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
15952 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
15955 *_INLINE
=*) new_flag
="-D$x";;
15956 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
15957 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
15958 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
15960 if test x
"$sim_inline" = x
""; then
15961 sim_inline
="$new_flag"
15963 sim_inline
="$sim_inline $new_flag"
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_inline" >&5
15970 $as_echo "$sim_inline" >&6; }
15971 SIM_INLINE
=$sim_inline
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim profile settings" >&5
15975 $as_echo_n "checking for sim profile settings... " >&6; }
15978 # Check whether --enable-sim-profile was given.
15979 if test "${enable_sim_profile+set}" = set; then :
15980 enableval
=$enable_sim_profile; case "${enableval}" in
15981 yes) profile
="1" sim_profile
="-1";;
15982 no
) profile
="0" sim_profile
="0";;
15984 profile
="(${enableval})" sim_profile
="(${enableval})";;
15988 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
15989 if test x
"$sim_profile" = x
; then
15990 sim_profile
="(PROFILE_$x"
15992 sim_profile
="${sim_profile}|PROFILE_$x"
15995 sim_profile
="$sim_profile)" ;;
15999 cat >>confdefs.h
<<_ACEOF
16000 #define PROFILE $profile
16004 cat >>confdefs.h
<<_ACEOF
16005 #define WITH_PROFILE $sim_profile
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_profile" >&5
16009 $as_echo "$sim_profile" >&6; }
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check reserved bits in instruction" >&5
16012 $as_echo_n "checking whether to check reserved bits in instruction... " >&6; }
16013 # Check whether --enable-sim-reserved-bits was given.
16014 if test "${enable_sim_reserved_bits+set}" = set; then :
16015 enableval
=$enable_sim_reserved_bits; case "${enableval}" in
16017 *) as_fn_error $?
"\"--enable-sim-reserved-bits does not take a value\"" "$LINENO" 5;;
16021 if test "x${enable_sim_reserved_bits}" != xno
; then
16022 sim_reserved_bits
=1
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16024 $as_echo "yes" >&6; }
16026 sim_reserved_bits
=0
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16028 $as_echo "no" >&6; }
16031 cat >>confdefs.h
<<_ACEOF
16032 #define WITH_RESERVED_BITS $sim_reserved_bits
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim cache size" >&5
16037 $as_echo_n "checking for sim cache size... " >&6; }
16039 # Check whether --enable-sim-scache was given.
16040 if test "${enable_sim_scache+set}" = set; then :
16041 enableval
=$enable_sim_scache; case "${enableval}" in
16043 no
) sim_scache
="0";;
16044 [0-9]*) sim_scache
="${enableval}";;
16045 *) as_fn_error $?
"\"Bad value $enableval passed to --enable-sim-scache\"" "$LINENO" 5;;
16050 cat >>confdefs.h
<<_ACEOF
16051 #define WITH_SCACHE $sim_scache
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_scache" >&5
16055 $as_echo "$sim_scache" >&6; }
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim stdio debug behavior" >&5
16058 $as_echo_n "checking for sim stdio debug behavior... " >&6; }
16060 # Check whether --enable-sim-stdio was given.
16061 if test "${enable_sim_stdio+set}" = set; then :
16062 enableval
=$enable_sim_stdio; case "${enableval}" in
16063 yes) sim_stdio
="DO_USE_STDIO";;
16064 no
) sim_stdio
="DONT_USE_STDIO";;
16065 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-stdio" "$LINENO" 5;;
16069 cat >>confdefs.h
<<_ACEOF
16070 #define WITH_STDIO $sim_stdio
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_stdio" >&5
16074 $as_echo "$sim_stdio" >&6; }
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim trace settings" >&5
16077 $as_echo_n "checking for sim trace settings... " >&6; }
16078 sim_trace
="~TRACE_debug"
16079 # Check whether --enable-sim-trace was given.
16080 if test "${enable_sim_trace+set}" = set; then :
16081 enableval
=$enable_sim_trace; case "${enableval}" in
16082 yes) sim_trace
="-1";;
16083 no
) sim_trace
="0";;
16085 sim_trace
="'(${enableval})'";;
16088 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
16089 if test x
"$sim_trace" = x
; then
16090 sim_trace
="(TRACE_$x"
16092 sim_trace
="${sim_trace}|TRACE_$x"
16095 sim_trace
="$sim_trace)" ;;
16099 cat >>confdefs.h
<<_ACEOF
16100 #define WITH_TRACE $sim_trace
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_trace" >&5
16104 $as_echo "$sim_trace" >&6; }
16107 # Check whether --enable-werror was given.
16108 if test "${enable_werror+set}" = set; then :
16109 enableval
=$enable_werror; case "${enableval}" in
16110 yes | y
) ERROR_ON_WARNING
="yes" ;;
16111 no | n
) ERROR_ON_WARNING
="no" ;;
16112 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
16117 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
16118 ERROR_ON_WARNING
=yes
16122 if test "${ERROR_ON_WARNING}" = yes ; then
16123 WERROR_CFLAGS
="-Werror"
16126 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith
16127 -Wno-unused -Wunused-value -Wunused-function
16128 -Wno-switch -Wno-char-subscripts
16129 -Wempty-body -Wunused-but-set-parameter
16130 -Wno-error=maybe-uninitialized
16131 -Wmissing-declarations
16132 -Wmissing-prototypes
16133 -Wdeclaration-after-statement -Wmissing-parameter-type
16135 -Wold-style-declaration -Wold-style-definition
16138 # Enable -Wno-format by default when using gcc on mingw since many
16139 # GCC versions complain about %I64.
16141 *-*-mingw32*) build_warnings
="$build_warnings -Wno-format" ;;
16142 *) build_warnings
="$build_warnings -Wformat-nonliteral" ;;
16145 # Check whether --enable-build-warnings was given.
16146 if test "${enable_build_warnings+set}" = set; then :
16147 enableval
=$enable_build_warnings; case "${enableval}" in
16149 no
) build_warnings
="-w";;
16150 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
16151 build_warnings
="${build_warnings} ${t}";;
16152 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
16153 build_warnings
="${t} ${build_warnings}";;
16154 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
16156 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
16157 echo "Setting compiler warning flags = $build_warnings" 6>&1
16160 # Check whether --enable-sim-build-warnings was given.
16161 if test "${enable_sim_build_warnings+set}" = set; then :
16162 enableval
=$enable_sim_build_warnings; case "${enableval}" in
16164 no
) build_warnings
="-w";;
16165 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
16166 build_warnings
="${build_warnings} ${t}";;
16167 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
16168 build_warnings
="${t} ${build_warnings}";;
16169 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
16171 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
16172 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
16176 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
16179 $as_echo_n "checking compiler warning flags... " >&6; }
16180 # Separate out the -Werror flag as some files just cannot be
16181 # compiled with it enabled.
16182 for w
in ${build_warnings}; do
16184 -Werr*) WERROR_CFLAGS
=-Werror ;;
16185 *) # Check that GCC accepts it
16186 saved_CFLAGS
="$CFLAGS"
16187 CFLAGS
="$CFLAGS -Werror $w"
16188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16189 /* end confdefs.h. */
16199 if ac_fn_c_try_compile
"$LINENO"; then :
16200 WARN_CFLAGS
="${WARN_CFLAGS} $w"
16202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16203 CFLAGS
="$saved_CFLAGS"
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
16207 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a known getopt prototype
in unistd.h
" >&5
16212 $as_echo_n "checking
for a known getopt prototype
in unistd.h...
" >&6; }
16213 if ${sim_cv_decl_getopt_unistd_h+:} false; then :
16214 $as_echo_n "(cached
) " >&6
16216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16217 /* end confdefs.h. */
16218 #include <unistd.h>
16222 extern int getopt (int, char *const*, const char *);
16227 if ac_fn_c_try_compile "$LINENO"; then :
16228 sim_cv_decl_getopt_unistd_h=yes
16230 sim_cv_decl_getopt_unistd_h=no
16232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $sim_cv_decl_getopt_unistd_h" >&5
16236 $as_echo "$sim_cv_decl_getopt_unistd_h" >&6; }
16237 if test $sim_cv_decl_getopt_unistd_h = yes; then
16239 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sim frv should dump cpu state on unknown traps" >&5
16247 $as_echo_n "checking whether sim frv should dump cpu state on unknown traps... " >&6; }
16248 # Check whether --enable-sim-frv-trapdump was given.
16249 if test "${enable_sim_frv_trapdump+set}" = set; then :
16250 enableval
=$enable_sim_frv_trapdump; case "${enableval}" in
16252 *) as_fn_error $?
"\"Unknown value $enableval passed to --enable-sim-trapdump\"" "$LINENO" 5;;
16256 if test "x${enable_sim_frv_trapdump}" = xyes
; then
16257 SIM_FRV_TRAPDUMP_FLAGS
="-DTRAPDUMP=1"
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16259 $as_echo "yes" >&6; }
16261 SIM_FRV_TRAPDUMP_FLAGS
="-DTRAPDUMP=0"
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16263 $as_echo "no" >&6; }
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking riscv bitsize" >&5
16268 $as_echo_n "checking riscv bitsize... " >&6; }
16269 SIM_RISCV_BITSIZE
=64
16272 SIM_RISCV_BITSIZE
=32 ;; #(
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sim rx should be cycle accurate" >&5
16279 $as_echo_n "checking whether sim rx should be cycle accurate... " >&6; }
16280 # Check whether --enable-sim-rx-cycle-accurate was given.
16281 if test "${enable_sim_rx_cycle_accurate+set}" = set; then :
16282 enableval
=$enable_sim_rx_cycle_accurate; case "${enableval}" in
16284 *) as_fn_error $?
"bad value ${enableval} given for --enable-sim-rx-cycle-accurate option" "$LINENO" 5 ;;
16288 if test "x${enable_sim_rx_cycle_accurate}" != xno
; then
16289 SIM_RX_CYCLE_ACCURATE_FLAGS
="-DCYCLE_ACCURATE"
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16291 $as_echo "yes" >&6; }
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16294 $as_echo "no" >&6; }
16299 include_makefile
="include"
16302 ac_config_files
="$ac_config_files arch-subdir.mk Makefile .gdbinit:gdbinit.in"
16304 cat >confcache
<<\_ACEOF
16305 # This file is a shell script that caches the results of configure
16306 # tests run on this system so they can be shared between configure
16307 # scripts and configure runs, see configure's option --config-cache.
16308 # It is not useful on other systems. If it contains results you don't
16309 # want to keep, you may remove or edit it.
16311 # config.status only pays attention to the cache file if you give it
16312 # the --recheck option to rerun configure.
16314 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16315 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16316 # following values.
16320 # The following way of writing the cache mishandles newlines in values,
16321 # but we know of no workaround that is simple, portable, and efficient.
16322 # So, we kill variables containing newlines.
16323 # Ultrix sh set writes to stderr and can't be redirected directly,
16324 # and sets the high bit in the cache file unless we assign to the vars.
16326 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16327 eval ac_val
=\$
$ac_var
16331 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16332 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16335 _ | IFS | as_nl
) ;; #(
16336 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16337 *) { eval $ac_var=; unset $ac_var;} ;;
16343 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16344 *${as_nl}ac_space
=\
*)
16345 # `set' does not quote correctly, so add quotes: double-quote
16346 # substitution turns \\\\ into \\, and sed turns \\ into \.
16349 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16352 # `set' quotes correctly as required by POSIX, so do not add quotes.
16353 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16362 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16364 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16366 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16367 if test -w "$cache_file"; then
16368 if test "x$cache_file" != "x/dev/null"; then
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16370 $as_echo "$as_me: updating cache $cache_file" >&6;}
16371 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16372 cat confcache
>"$cache_file"
16374 case $cache_file in #(
16376 mv -f confcache
"$cache_file"$$
&&
16377 mv -f "$cache_file"$$
"$cache_file" ;; #(
16379 mv -f confcache
"$cache_file" ;;
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16385 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16390 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16391 # Let make expand exec_prefix.
16392 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16394 DEFS
=-DHAVE_CONFIG_H
16399 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16400 # 1. Remove the extension, and $U if already installed.
16401 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16402 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16403 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16404 # will be set to the directory where LIBOBJS objects are built.
16405 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16406 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16408 LIBOBJS
=$ac_libobjs
16410 LTLIBOBJS
=$ac_ltlibobjs
16414 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16415 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
16416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16419 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16420 if test -n "$am_sleep_pid"; then
16421 # Hide warnings about reused PIDs.
16422 wait $am_sleep_pid 2>/dev
/null
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16425 $as_echo "done" >&6; }
16426 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16427 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16430 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16431 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16434 if test -n "$EXEEXT"; then
16436 am__EXEEXT_FALSE
='#'
16438 am__EXEEXT_TRUE
='#'
16442 if test -z "${SIM_ENABLE_ARCH_aarch64_TRUE}" && test -z "${SIM_ENABLE_ARCH_aarch64_FALSE}"; then
16443 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_aarch64\" was never defined.
16444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16446 if test -z "${SIM_ENABLE_ARCH_arm_TRUE}" && test -z "${SIM_ENABLE_ARCH_arm_FALSE}"; then
16447 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_arm\" was never defined.
16448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16450 if test -z "${SIM_ENABLE_ARCH_avr_TRUE}" && test -z "${SIM_ENABLE_ARCH_avr_FALSE}"; then
16451 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_avr\" was never defined.
16452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16454 if test -z "${SIM_ENABLE_ARCH_bfin_TRUE}" && test -z "${SIM_ENABLE_ARCH_bfin_FALSE}"; then
16455 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_bfin\" was never defined.
16456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16458 if test -z "${SIM_ENABLE_ARCH_bpf_TRUE}" && test -z "${SIM_ENABLE_ARCH_bpf_FALSE}"; then
16459 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_bpf\" was never defined.
16460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16462 if test -z "${SIM_ENABLE_ARCH_cr16_TRUE}" && test -z "${SIM_ENABLE_ARCH_cr16_FALSE}"; then
16463 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_cr16\" was never defined.
16464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16466 if test -z "${SIM_ENABLE_ARCH_cris_TRUE}" && test -z "${SIM_ENABLE_ARCH_cris_FALSE}"; then
16467 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_cris\" was never defined.
16468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16470 if test -z "${SIM_ENABLE_ARCH_d10v_TRUE}" && test -z "${SIM_ENABLE_ARCH_d10v_FALSE}"; then
16471 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_d10v\" was never defined.
16472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16474 if test -z "${SIM_ENABLE_ARCH_frv_TRUE}" && test -z "${SIM_ENABLE_ARCH_frv_FALSE}"; then
16475 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_frv\" was never defined.
16476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16478 if test -z "${SIM_ENABLE_ARCH_ft32_TRUE}" && test -z "${SIM_ENABLE_ARCH_ft32_FALSE}"; then
16479 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_ft32\" was never defined.
16480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16482 if test -z "${SIM_ENABLE_ARCH_h8300_TRUE}" && test -z "${SIM_ENABLE_ARCH_h8300_FALSE}"; then
16483 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_h8300\" was never defined.
16484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16486 if test -z "${SIM_ENABLE_ARCH_iq2000_TRUE}" && test -z "${SIM_ENABLE_ARCH_iq2000_FALSE}"; then
16487 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_iq2000\" was never defined.
16488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16490 if test -z "${SIM_ENABLE_ARCH_lm32_TRUE}" && test -z "${SIM_ENABLE_ARCH_lm32_FALSE}"; then
16491 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_lm32\" was never defined.
16492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16494 if test -z "${SIM_ENABLE_ARCH_m32c_TRUE}" && test -z "${SIM_ENABLE_ARCH_m32c_FALSE}"; then
16495 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_m32c\" was never defined.
16496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16498 if test -z "${SIM_ENABLE_ARCH_m32r_TRUE}" && test -z "${SIM_ENABLE_ARCH_m32r_FALSE}"; then
16499 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_m32r\" was never defined.
16500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16502 if test -z "${SIM_ENABLE_ARCH_m68hc11_TRUE}" && test -z "${SIM_ENABLE_ARCH_m68hc11_FALSE}"; then
16503 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_m68hc11\" was never defined.
16504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16506 if test -z "${SIM_ENABLE_ARCH_mcore_TRUE}" && test -z "${SIM_ENABLE_ARCH_mcore_FALSE}"; then
16507 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_mcore\" was never defined.
16508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16510 if test -z "${SIM_ENABLE_ARCH_microblaze_TRUE}" && test -z "${SIM_ENABLE_ARCH_microblaze_FALSE}"; then
16511 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_microblaze\" was never defined.
16512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16514 if test -z "${SIM_ENABLE_ARCH_mips_TRUE}" && test -z "${SIM_ENABLE_ARCH_mips_FALSE}"; then
16515 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_mips\" was never defined.
16516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16518 if test -z "${SIM_ENABLE_ARCH_mn10300_TRUE}" && test -z "${SIM_ENABLE_ARCH_mn10300_FALSE}"; then
16519 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_mn10300\" was never defined.
16520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16522 if test -z "${SIM_ENABLE_ARCH_moxie_TRUE}" && test -z "${SIM_ENABLE_ARCH_moxie_FALSE}"; then
16523 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_moxie\" was never defined.
16524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16526 if test -z "${SIM_ENABLE_ARCH_msp430_TRUE}" && test -z "${SIM_ENABLE_ARCH_msp430_FALSE}"; then
16527 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_msp430\" was never defined.
16528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16530 if test -z "${SIM_ENABLE_ARCH_or1k_TRUE}" && test -z "${SIM_ENABLE_ARCH_or1k_FALSE}"; then
16531 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_or1k\" was never defined.
16532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16534 if test -z "${SIM_ENABLE_ARCH_ppc_TRUE}" && test -z "${SIM_ENABLE_ARCH_ppc_FALSE}"; then
16535 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_ppc\" was never defined.
16536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16538 if test -z "${SIM_ENABLE_ARCH_pru_TRUE}" && test -z "${SIM_ENABLE_ARCH_pru_FALSE}"; then
16539 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_pru\" was never defined.
16540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16542 if test -z "${SIM_ENABLE_ARCH_riscv_TRUE}" && test -z "${SIM_ENABLE_ARCH_riscv_FALSE}"; then
16543 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_riscv\" was never defined.
16544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16546 if test -z "${SIM_ENABLE_ARCH_rl78_TRUE}" && test -z "${SIM_ENABLE_ARCH_rl78_FALSE}"; then
16547 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_rl78\" was never defined.
16548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16550 if test -z "${SIM_ENABLE_ARCH_rx_TRUE}" && test -z "${SIM_ENABLE_ARCH_rx_FALSE}"; then
16551 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_rx\" was never defined.
16552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16554 if test -z "${SIM_ENABLE_ARCH_sh_TRUE}" && test -z "${SIM_ENABLE_ARCH_sh_FALSE}"; then
16555 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_sh\" was never defined.
16556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16558 if test -z "${SIM_ENABLE_ARCH_erc32_TRUE}" && test -z "${SIM_ENABLE_ARCH_erc32_FALSE}"; then
16559 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_erc32\" was never defined.
16560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16562 if test -z "${SIM_ENABLE_ARCH_v850_TRUE}" && test -z "${SIM_ENABLE_ARCH_v850_FALSE}"; then
16563 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_v850\" was never defined.
16564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16566 if test -z "${SIM_ENABLE_ARCH_examples_TRUE}" && test -z "${SIM_ENABLE_ARCH_examples_FALSE}"; then
16567 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_examples\" was never defined.
16568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16570 if test -z "${SIM_ENABLE_IGEN_TRUE}" && test -z "${SIM_ENABLE_IGEN_FALSE}"; then
16571 as_fn_error $?
"conditional \"SIM_ENABLE_IGEN\" was never defined.
16572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16574 if test -z "${ENABLE_SIM_TRUE}" && test -z "${ENABLE_SIM_FALSE}"; then
16575 as_fn_error $?
"conditional \"ENABLE_SIM\" was never defined.
16576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16578 if test -z "${SIM_ENABLE_HW_TRUE}" && test -z "${SIM_ENABLE_HW_FALSE}"; then
16579 as_fn_error $?
"conditional \"SIM_ENABLE_HW\" was never defined.
16580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16583 : "${CONFIG_STATUS=./config.status}"
16585 ac_clean_files_save
=$ac_clean_files
16586 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16588 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16590 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16592 # Generated by $as_me.
16593 # Run this file to recreate the current configuration.
16594 # Compiler output produced by configure, useful for debugging
16595 # configure, is in config.log if it exists.
16598 ac_cs_recheck=false
16601 SHELL=\${CONFIG_SHELL-$SHELL}
16604 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16605 ## -------------------- ##
16606 ## M4sh Initialization. ##
16607 ## -------------------- ##
16609 # Be more Bourne compatible
16610 DUALCASE
=1; export DUALCASE
# for MKS sh
16611 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16614 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16615 # is contrary to our usage. Disable this feature.
16616 alias -g '${1+"$@"}'='"$@"'
16617 setopt NO_GLOB_SUBST
16619 case `(set -o) 2>/dev/null` in #(
16631 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16632 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16633 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16634 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16635 # Prefer a ksh shell builtin over an external printf program on Solaris,
16636 # but without wasting forks for bash or zsh.
16637 if test -z "$BASH_VERSION$ZSH_VERSION" \
16638 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16639 as_echo='print
-r --'
16640 as_echo_n='print
-rn --'
16641 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16642 as_echo='printf %s
\n'
16643 as_echo_n='printf %s
'
16645 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16646 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16647 as_echo_n='/usr
/ucb
/echo -n'
16649 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16650 as_echo_n_body='eval
16654 expr "X$arg" : "X\\(.*\\)$as_nl";
16655 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16657 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16659 export as_echo_n_body
16660 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16662 export as_echo_body
16663 as_echo='sh
-c $as_echo_body as_echo
'
16666 # The user is always right.
16667 if test "${PATH_SEPARATOR+set}" != set; then
16669 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16670 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16677 # We need space, tab and new line, in precisely that order. Quoting is
16678 # there to prevent editors from complaining about space-tab.
16679 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16680 # splitting by setting IFS to empty value.)
16683 # Find who we are. Look in the path if we contain no directory separator.
16686 *[\\/]* ) as_myself=$0 ;;
16687 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16688 for as_dir in $PATH
16691 test -z "$as_dir" && as_dir=.
16692 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16698 # We did not find ourselves, most probably we were run as `sh COMMAND'
16699 # in which case we are not to be found in the path.
16700 if test "x$as_myself" = x
; then
16703 if test ! -f "$as_myself"; then
16704 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16708 # Unset variables that we do not need and which cause bugs (e.g. in
16709 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16710 # suppresses any "Segmentation fault" message there. '((' could
16711 # trigger a bug in pdksh 5.2.14.
16712 for as_var
in BASH_ENV ENV MAIL MAILPATH
16713 do eval test x\
${$as_var+set} = xset \
16714 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16727 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16730 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16731 # ----------------------------------------
16732 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16733 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16734 # script with STATUS, using 1 if that was 0.
16737 as_status
=$1; test $as_status -eq 0 && as_status
=1
16739 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16740 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16742 $as_echo "$as_me: error: $2" >&2
16743 as_fn_exit
$as_status
16747 # as_fn_set_status STATUS
16748 # -----------------------
16749 # Set $? to STATUS, without forking.
16750 as_fn_set_status
()
16753 } # as_fn_set_status
16755 # as_fn_exit STATUS
16756 # -----------------
16757 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16761 as_fn_set_status
$1
16767 # Portably unset VAR.
16770 { eval $1=; unset $1;}
16772 as_unset
=as_fn_unset
16773 # as_fn_append VAR VALUE
16774 # ----------------------
16775 # Append the text in VALUE to the end of the definition contained in VAR. Take
16776 # advantage of any shell optimizations that allow amortized linear growth over
16777 # repeated appends, instead of the typical quadratic growth present in naive
16779 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16780 eval 'as_fn_append ()
16791 # as_fn_arith ARG...
16792 # ------------------
16793 # Perform arithmetic evaluation on the ARGs, and store the result in the
16794 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16795 # must be portable across $(()) and expr.
16796 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16797 eval 'as_fn_arith ()
16804 as_val
=`expr "$@" || test $? -eq 1`
16809 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16810 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16816 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16817 as_basename
=basename
16822 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16828 as_me
=`$as_basename -- "$0" ||
16829 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16830 X"$0" : 'X\(//\)$' \| \
16831 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16833 sed '/^.*\/\([^/][^/]*\)\/*$/{
16847 # Avoid depending upon Character Ranges.
16848 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16849 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16850 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16851 as_cr_digits
='0123456789'
16852 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16854 ECHO_C
= ECHO_N
= ECHO_T
=
16855 case `echo -n x` in #(((((
16857 case `echo 'xy\c'` in
16858 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16860 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16867 rm -f conf$$ conf$$.exe conf$$.
file
16868 if test -d conf$$.dir
; then
16869 rm -f conf$$.dir
/conf$$.
file
16872 mkdir conf$$.dir
2>/dev
/null
16874 if (echo >conf$$.
file) 2>/dev
/null
; then
16875 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16877 # ... but there are two gotchas:
16878 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16879 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16880 # In both cases, we have to default to `cp -pR'.
16881 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16883 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16891 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16892 rmdir conf$$.dir
2>/dev
/null
16897 # Create "$as_dir" as a directory, including parents if necessary.
16902 -*) as_dir
=.
/$as_dir;;
16904 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16908 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16909 *) as_qdir
=$as_dir;;
16911 as_dirs
="'$as_qdir' $as_dirs"
16912 as_dir
=`$as_dirname -- "$as_dir" ||
16913 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16914 X"$as_dir" : 'X\(//\)[^/]' \| \
16915 X"$as_dir" : 'X\(//\)$' \| \
16916 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16917 $as_echo X"$as_dir" |
16918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16922 /^X\(\/\/\)[^/].*/{
16935 test -d "$as_dir" && break
16937 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16938 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16942 if mkdir
-p .
2>/dev
/null
; then
16943 as_mkdir_p
='mkdir -p "$as_dir"'
16945 test -d .
/-p && rmdir .
/-p
16950 # as_fn_executable_p FILE
16951 # -----------------------
16952 # Test if FILE is an executable regular file.
16953 as_fn_executable_p
()
16955 test -f "$1" && test -x "$1"
16956 } # as_fn_executable_p
16957 as_test_x
='test -x'
16958 as_executable_p
=as_fn_executable_p
16960 # Sed expression to map a string onto a valid CPP name.
16961 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16963 # Sed expression to map a string onto a valid variable name.
16964 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16968 ## ----------------------------------- ##
16969 ## Main body of $CONFIG_STATUS script. ##
16970 ## ----------------------------------- ##
16972 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16975 # Save the log message, to keep $0 and so on meaningful, and to
16976 # report actual input values of CONFIG_FILES etc. instead of their
16977 # values after options handling.
16979 This file was extended by sim $as_me 0, which was
16980 generated by GNU Autoconf 2.69. Invocation command line was
16982 CONFIG_FILES = $CONFIG_FILES
16983 CONFIG_HEADERS = $CONFIG_HEADERS
16984 CONFIG_LINKS = $CONFIG_LINKS
16985 CONFIG_COMMANDS = $CONFIG_COMMANDS
16988 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16993 case $ac_config_files in *"
16994 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16997 case $ac_config_headers in *"
16998 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17003 # Files that config.status was made for.
17004 config_files="$ac_config_files"
17005 config_headers="$ac_config_headers"
17006 config_commands="$ac_config_commands"
17010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17012 \`$as_me' instantiates files and other configuration actions
17013 from templates according to the current configuration. Unless the files
17014 and actions are specified as TAGs, all are instantiated by default.
17016 Usage: $0 [OPTION]... [TAG]...
17018 -h, --help print this help, then exit
17019 -V, --version print version number and configuration settings, then exit
17020 --config print configuration, then exit
17021 -q, --quiet, --silent
17022 do not print progress messages
17023 -d, --debug don't remove temporary files
17024 --recheck update $as_me by reconfiguring in the same conditions
17025 --file=FILE[:TEMPLATE]
17026 instantiate the configuration file FILE
17027 --header=FILE[:TEMPLATE]
17028 instantiate the configuration header FILE
17030 Configuration files:
17033 Configuration headers:
17036 Configuration commands:
17039 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
17040 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
17043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17044 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17046 sim config.status 0
17047 configured by $0, generated by GNU Autoconf 2.69,
17048 with options \\"\$ac_cs_config\\"
17050 Copyright (C) 2012 Free Software Foundation, Inc.
17051 This config.status script is free software; the Free Software Foundation
17052 gives unlimited permission to copy, distribute and modify it."
17059 test -n "\$AWK" || AWK=awk
17062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17063 # The default lists apply if the user does not specify any file.
17069 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17070 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17074 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17086 # Handling of the options.
17087 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17089 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17090 $as_echo "$ac_cs_version"; exit ;;
17091 --config |
--confi |
--conf |
--con |
--co |
--c )
17092 $as_echo "$ac_cs_config"; exit ;;
17093 --debug |
--debu |
--deb |
--de |
--d |
-d )
17095 --file |
--fil |
--fi |
--f )
17098 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17099 '') as_fn_error $?
"missing file argument" ;;
17101 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17102 ac_need_defaults
=false
;;
17103 --header |
--heade |
--head |
--hea )
17106 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17108 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17109 ac_need_defaults
=false
;;
17111 # Conflict between --help and --header
17112 as_fn_error $?
"ambiguous option: \`$1'
17113 Try \`$0 --help' for more information.";;
17114 --help |
--hel |
-h )
17115 $as_echo "$ac_cs_usage"; exit ;;
17116 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17117 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17120 # This is an error.
17121 -*) as_fn_error $?
"unrecognized option: \`$1'
17122 Try \`$0 --help' for more information." ;;
17124 *) as_fn_append ac_config_targets
" $1"
17125 ac_need_defaults
=false
;;
17131 ac_configure_extra_args
=
17133 if $ac_cs_silent; then
17135 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17140 if \$ac_cs_recheck; then
17141 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17143 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17144 CONFIG_SHELL='$SHELL'
17145 export CONFIG_SHELL
17150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17154 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17155 ## Running $as_me. ##
17161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17167 # The HP-UX ksh and POSIX shell print the target directory to stdout
17168 # if CDPATH is set.
17169 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17171 sed_quote_subst='$sed_quote_subst'
17172 double_quote_subst='$double_quote_subst'
17173 delay_variable_subst='$delay_variable_subst'
17174 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17175 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17176 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17177 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17178 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17179 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17180 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17181 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17182 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17183 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17184 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17185 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17186 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17187 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17188 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17189 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17190 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17191 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17192 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17193 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17194 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17195 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17196 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17197 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17198 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17199 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17200 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17201 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17202 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17203 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17204 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17205 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17206 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17207 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17208 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17209 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17210 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17211 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17212 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17213 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17214 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17215 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17216 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17217 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17218 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17219 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17220 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17221 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17222 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
17223 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17224 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17225 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17226 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17227 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17228 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17229 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17230 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17231 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17232 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17233 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17234 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17235 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17236 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17237 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17238 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17239 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17240 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17241 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17242 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17243 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17244 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17245 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17246 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17247 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17248 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17249 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17250 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17251 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17252 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17253 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17254 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17255 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17256 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17257 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17258 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17259 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17260 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17261 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17262 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17263 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17264 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17265 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17266 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17267 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17268 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17269 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17270 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17271 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17272 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17273 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17274 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17275 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17276 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17277 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17278 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17279 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17280 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17281 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17282 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17283 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17284 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17285 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17286 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17287 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17288 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17289 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17290 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17291 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17292 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17293 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17296 LTCFLAGS='$LTCFLAGS'
17297 compiler='$compiler_DEFAULT'
17299 # A function that is used when there is no print builtin or printf.
17300 func_fallback_echo ()
17302 eval 'cat <<_LTECHO_EOF
17307 # Quote evaled strings.
17321 deplibs_check_method \
17330 lt_cv_sys_global_symbol_pipe \
17331 lt_cv_sys_global_symbol_to_cdecl \
17332 lt_cv_sys_global_symbol_to_c_name_address \
17333 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17334 lt_prog_compiler_no_builtin_flag \
17335 lt_prog_compiler_wl \
17336 lt_prog_compiler_pic \
17337 lt_prog_compiler_static \
17338 lt_cv_prog_compiler_c_o \
17346 export_dynamic_flag_spec \
17347 whole_archive_flag_spec \
17348 compiler_needs_object \
17350 allow_undefined_flag \
17351 no_undefined_flag \
17352 hardcode_libdir_flag_spec \
17353 hardcode_libdir_flag_spec_ld \
17354 hardcode_libdir_separator \
17359 variables_saved_for_relink \
17361 library_names_spec \
17363 install_override_mode \
17367 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17368 *[\\\\\\\`\\"\\\$]*)
17369 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17372 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17377 # Double-quote double-evaled strings.
17378 for var in reload_cmds \
17379 old_postinstall_cmds \
17380 old_postuninstall_cmds \
17382 extract_expsyms_cmds \
17383 old_archive_from_new_cmds \
17384 old_archive_from_expsyms_cmds \
17386 archive_expsym_cmds \
17388 module_expsym_cmds \
17389 export_symbols_cmds \
17392 postuninstall_cmds \
17394 sys_lib_search_path_spec \
17395 sys_lib_dlsearch_path_spec; do
17396 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17397 *[\\\\\\\`\\"\\\$]*)
17398 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17401 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17406 ac_aux_dir='$ac_aux_dir'
17407 xsi_shell='$xsi_shell'
17408 lt_shell_append='$lt_shell_append'
17410 # See if we are running on zsh, and set the options which allow our
17411 # commands through without removal of \ escapes INIT.
17412 if test -n "\${ZSH_VERSION+set}" ; then
17413 setopt NO_GLOB_SUBST
17419 TIMESTAMP='$TIMESTAMP'
17425 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17426 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17427 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17428 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17429 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17430 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17431 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17432 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17433 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17434 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17435 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17436 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17437 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17438 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17439 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17440 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17441 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17442 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17443 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17444 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17445 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17446 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17447 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17448 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17449 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17450 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17451 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17452 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17453 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17454 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17455 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17456 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17457 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
17461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17463 # Handling of arguments.
17464 for ac_config_target
in $ac_config_targets
17466 case $ac_config_target in
17467 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17468 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17469 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17470 "Make-common.sim") CONFIG_FILES
="$CONFIG_FILES Make-common.sim:common/Make-common.in" ;;
17471 "aarch64/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES aarch64/Makefile.sim:aarch64/Makefile.in" ;;
17472 "aarch64/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS aarch64/Makefile" ;;
17473 "aarch64/.gdbinit") CONFIG_FILES
="$CONFIG_FILES aarch64/.gdbinit:common/gdbinit.in" ;;
17474 "depdir-aarch64") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-aarch64" ;;
17475 "arm/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES arm/Makefile.sim:arm/Makefile.in" ;;
17476 "arm/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS arm/Makefile" ;;
17477 "arm/.gdbinit") CONFIG_FILES
="$CONFIG_FILES arm/.gdbinit:common/gdbinit.in" ;;
17478 "depdir-arm") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-arm" ;;
17479 "avr/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES avr/Makefile.sim:avr/Makefile.in" ;;
17480 "avr/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS avr/Makefile" ;;
17481 "avr/.gdbinit") CONFIG_FILES
="$CONFIG_FILES avr/.gdbinit:common/gdbinit.in" ;;
17482 "depdir-avr") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-avr" ;;
17483 "bfin/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES bfin/Makefile.sim:bfin/Makefile.in" ;;
17484 "bfin/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS bfin/Makefile" ;;
17485 "bfin/.gdbinit") CONFIG_FILES
="$CONFIG_FILES bfin/.gdbinit:common/gdbinit.in" ;;
17486 "depdir-bfin") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-bfin" ;;
17487 "bpf/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES bpf/Makefile.sim:bpf/Makefile.in" ;;
17488 "bpf/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS bpf/Makefile" ;;
17489 "bpf/.gdbinit") CONFIG_FILES
="$CONFIG_FILES bpf/.gdbinit:common/gdbinit.in" ;;
17490 "depdir-bpf") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-bpf" ;;
17491 "cr16/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES cr16/Makefile.sim:cr16/Makefile.in" ;;
17492 "cr16/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS cr16/Makefile" ;;
17493 "cr16/.gdbinit") CONFIG_FILES
="$CONFIG_FILES cr16/.gdbinit:common/gdbinit.in" ;;
17494 "depdir-cr16") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-cr16" ;;
17495 "cris/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES cris/Makefile.sim:cris/Makefile.in" ;;
17496 "cris/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS cris/Makefile" ;;
17497 "cris/.gdbinit") CONFIG_FILES
="$CONFIG_FILES cris/.gdbinit:common/gdbinit.in" ;;
17498 "depdir-cris") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-cris" ;;
17499 "d10v/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES d10v/Makefile.sim:d10v/Makefile.in" ;;
17500 "d10v/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS d10v/Makefile" ;;
17501 "d10v/.gdbinit") CONFIG_FILES
="$CONFIG_FILES d10v/.gdbinit:common/gdbinit.in" ;;
17502 "depdir-d10v") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-d10v" ;;
17503 "frv/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES frv/Makefile.sim:frv/Makefile.in" ;;
17504 "frv/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS frv/Makefile" ;;
17505 "frv/.gdbinit") CONFIG_FILES
="$CONFIG_FILES frv/.gdbinit:common/gdbinit.in" ;;
17506 "depdir-frv") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-frv" ;;
17507 "ft32/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES ft32/Makefile.sim:ft32/Makefile.in" ;;
17508 "ft32/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS ft32/Makefile" ;;
17509 "ft32/.gdbinit") CONFIG_FILES
="$CONFIG_FILES ft32/.gdbinit:common/gdbinit.in" ;;
17510 "depdir-ft32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-ft32" ;;
17511 "h8300/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES h8300/Makefile.sim:h8300/Makefile.in" ;;
17512 "h8300/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS h8300/Makefile" ;;
17513 "h8300/.gdbinit") CONFIG_FILES
="$CONFIG_FILES h8300/.gdbinit:common/gdbinit.in" ;;
17514 "depdir-h8300") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-h8300" ;;
17515 "iq2000/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES iq2000/Makefile.sim:iq2000/Makefile.in" ;;
17516 "iq2000/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS iq2000/Makefile" ;;
17517 "iq2000/.gdbinit") CONFIG_FILES
="$CONFIG_FILES iq2000/.gdbinit:common/gdbinit.in" ;;
17518 "depdir-iq2000") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-iq2000" ;;
17519 "lm32/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES lm32/Makefile.sim:lm32/Makefile.in" ;;
17520 "lm32/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS lm32/Makefile" ;;
17521 "lm32/.gdbinit") CONFIG_FILES
="$CONFIG_FILES lm32/.gdbinit:common/gdbinit.in" ;;
17522 "depdir-lm32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-lm32" ;;
17523 "m32c/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES m32c/Makefile.sim:m32c/Makefile.in" ;;
17524 "m32c/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS m32c/Makefile" ;;
17525 "m32c/.gdbinit") CONFIG_FILES
="$CONFIG_FILES m32c/.gdbinit:common/gdbinit.in" ;;
17526 "depdir-m32c") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m32c" ;;
17527 "m32r/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES m32r/Makefile.sim:m32r/Makefile.in" ;;
17528 "m32r/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS m32r/Makefile" ;;
17529 "m32r/.gdbinit") CONFIG_FILES
="$CONFIG_FILES m32r/.gdbinit:common/gdbinit.in" ;;
17530 "depdir-m32r") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m32r" ;;
17531 "m68hc11/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES m68hc11/Makefile.sim:m68hc11/Makefile.in" ;;
17532 "m68hc11/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS m68hc11/Makefile" ;;
17533 "m68hc11/.gdbinit") CONFIG_FILES
="$CONFIG_FILES m68hc11/.gdbinit:common/gdbinit.in" ;;
17534 "depdir-m68hc11") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m68hc11" ;;
17535 "mcore/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES mcore/Makefile.sim:mcore/Makefile.in" ;;
17536 "mcore/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS mcore/Makefile" ;;
17537 "mcore/.gdbinit") CONFIG_FILES
="$CONFIG_FILES mcore/.gdbinit:common/gdbinit.in" ;;
17538 "depdir-mcore") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mcore" ;;
17539 "microblaze/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES microblaze/Makefile.sim:microblaze/Makefile.in" ;;
17540 "microblaze/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS microblaze/Makefile" ;;
17541 "microblaze/.gdbinit") CONFIG_FILES
="$CONFIG_FILES microblaze/.gdbinit:common/gdbinit.in" ;;
17542 "depdir-microblaze") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-microblaze" ;;
17543 "mips/.gdbinit") CONFIG_FILES
="$CONFIG_FILES mips/.gdbinit:common/gdbinit.in" ;;
17544 "depdir-mips") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mips" ;;
17545 "mn10300/.gdbinit") CONFIG_FILES
="$CONFIG_FILES mn10300/.gdbinit:common/gdbinit.in" ;;
17546 "depdir-mn10300") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mn10300" ;;
17547 "moxie/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES moxie/Makefile.sim:moxie/Makefile.in" ;;
17548 "moxie/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS moxie/Makefile" ;;
17549 "moxie/.gdbinit") CONFIG_FILES
="$CONFIG_FILES moxie/.gdbinit:common/gdbinit.in" ;;
17550 "depdir-moxie") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-moxie" ;;
17551 "msp430/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES msp430/Makefile.sim:msp430/Makefile.in" ;;
17552 "msp430/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS msp430/Makefile" ;;
17553 "msp430/.gdbinit") CONFIG_FILES
="$CONFIG_FILES msp430/.gdbinit:common/gdbinit.in" ;;
17554 "depdir-msp430") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-msp430" ;;
17555 "or1k/.gdbinit") CONFIG_FILES
="$CONFIG_FILES or1k/.gdbinit:common/gdbinit.in" ;;
17556 "depdir-or1k") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-or1k" ;;
17557 "ppc/.gdbinit") CONFIG_FILES
="$CONFIG_FILES ppc/.gdbinit:common/gdbinit.in" ;;
17558 "depdir-ppc") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-ppc" ;;
17559 "pru/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES pru/Makefile.sim:pru/Makefile.in" ;;
17560 "pru/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS pru/Makefile" ;;
17561 "pru/.gdbinit") CONFIG_FILES
="$CONFIG_FILES pru/.gdbinit:common/gdbinit.in" ;;
17562 "depdir-pru") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-pru" ;;
17563 "riscv/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES riscv/Makefile.sim:riscv/Makefile.in" ;;
17564 "riscv/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS riscv/Makefile" ;;
17565 "riscv/.gdbinit") CONFIG_FILES
="$CONFIG_FILES riscv/.gdbinit:common/gdbinit.in" ;;
17566 "depdir-riscv") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-riscv" ;;
17567 "rl78/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES rl78/Makefile.sim:rl78/Makefile.in" ;;
17568 "rl78/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS rl78/Makefile" ;;
17569 "rl78/.gdbinit") CONFIG_FILES
="$CONFIG_FILES rl78/.gdbinit:common/gdbinit.in" ;;
17570 "depdir-rl78") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-rl78" ;;
17571 "rx/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES rx/Makefile.sim:rx/Makefile.in" ;;
17572 "rx/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS rx/Makefile" ;;
17573 "rx/.gdbinit") CONFIG_FILES
="$CONFIG_FILES rx/.gdbinit:common/gdbinit.in" ;;
17574 "depdir-rx") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-rx" ;;
17575 "sh/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES sh/Makefile.sim:sh/Makefile.in" ;;
17576 "sh/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS sh/Makefile" ;;
17577 "sh/.gdbinit") CONFIG_FILES
="$CONFIG_FILES sh/.gdbinit:common/gdbinit.in" ;;
17578 "depdir-sh") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-sh" ;;
17579 "erc32/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES erc32/Makefile.sim:erc32/Makefile.in" ;;
17580 "erc32/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS erc32/Makefile" ;;
17581 "erc32/.gdbinit") CONFIG_FILES
="$CONFIG_FILES erc32/.gdbinit:common/gdbinit.in" ;;
17582 "depdir-erc32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-erc32" ;;
17583 "v850/.gdbinit") CONFIG_FILES
="$CONFIG_FILES v850/.gdbinit:common/gdbinit.in" ;;
17584 "depdir-v850") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-v850" ;;
17585 "example-synacor/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES example-synacor/Makefile.sim:example-synacor/Makefile.in" ;;
17586 "example-synacor/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS example-synacor/Makefile" ;;
17587 "example-synacor/.gdbinit") CONFIG_FILES
="$CONFIG_FILES example-synacor/.gdbinit:common/gdbinit.in" ;;
17588 "depdir-example-synacor") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-example-synacor" ;;
17589 "arch-subdir.mk") CONFIG_FILES
="$CONFIG_FILES arch-subdir.mk" ;;
17590 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17591 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
17593 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17598 # If the user did not use the arguments to specify the items to instantiate,
17599 # then the envvar interface is used. Set only those that are not.
17600 # We use the long form for the default assignment because of an extremely
17601 # bizarre bug on SunOS 4.1.3.
17602 if $ac_need_defaults; then
17603 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17604 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17605 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17608 # Have a temporary directory for convenience. Make it in the build tree
17609 # simply because there is no reason against having it here, and in addition,
17610 # creating and moving files from /tmp can sometimes cause problems.
17611 # Hook for its removal unless debugging.
17612 # Note that there is a small window in which the directory will not be cleaned:
17613 # after its creation but before its name has been assigned to `$tmp'.
17617 trap 'exit_status=$?
17618 : "${ac_tmp:=$tmp}"
17619 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17621 trap 'as_fn_exit 1' 1 2 13 15
17623 # Create a (secure) tmp directory for tmp files.
17626 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17630 tmp
=.
/conf$$
-$RANDOM
17631 (umask 077 && mkdir
"$tmp")
17632 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17635 # Set up the scripts for CONFIG_FILES section.
17636 # No need to generate them if there are no CONFIG_FILES.
17637 # This happens for instance with `./config.status config.h'.
17638 if test -n "$CONFIG_FILES"; then
17641 ac_cr
=`echo X | tr X '\015'`
17642 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17643 # But we know of no other shell where ac_cr would be empty at this
17644 # point, so we can use a bashism as a fallback.
17645 if test "x$ac_cr" = x
; then
17646 eval ac_cr
=\$
\'\\r
\'
17648 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17649 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17652 ac_cs_awk_cr
=$ac_cr
17655 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17660 echo "cat >conf$$subs.awk <<_ACEOF" &&
17661 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17663 } >conf$$subs.sh ||
17664 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17665 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17667 for ac_last_try in false false false false false :; do
17668 . ./conf$$subs.sh ||
17669 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17671 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17672 if test $ac_delim_n = $ac_delim_num; then
17674 elif $ac_last_try; then
17675 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17677 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17680 rm -f conf$$subs.sh
17682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17683 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17687 s/^/S["/; s
/!.
*/"]=/
17697 s/\(.\{148\}\)..*/\1/
17699 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17704 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17711 s/\(.\{148\}\)..*/\1/
17713 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17717 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17722 ' <conf$$subs.awk | sed '
17727 ' >>$CONFIG_STATUS || ac_write_fail=1
17728 rm -f conf$$subs.awk
17729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17731 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17732 for (key in S) S_is_set[key] = 1
17738 nfields = split(line, field, "@
")
17740 len = length(field[1])
17741 for (i = 2; i < nfields; i++) {
17743 keylen = length(key)
17744 if (S_is_set[key]) {
17746 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17747 len += length(value) + length(field[++i])
17758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17759 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17760 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17763 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17764 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17767 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17768 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17769 # trailing colons and then remove the whole line if VPATH becomes empty
17770 # (actually we leave an empty line to preserve line numbers).
17771 if test "x
$srcdir" = x.; then
17772 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17791 fi # test -n "$CONFIG_FILES"
17793 # Set up the scripts for CONFIG_HEADERS section.
17794 # No need to generate them if there are no CONFIG_HEADERS.
17795 # This happens for instance with `./config.status Makefile'.
17796 if test -n "$CONFIG_HEADERS"; then
17797 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17801 # Transform confdefs.h into an awk script `defines.awk', embedded as
17802 # here-document in config.status, that substitutes the proper values into
17803 # config.h.in to produce config.h.
17805 # Create a delimiter string that does not exist in confdefs.h, to ease
17806 # handling of long lines.
17808 for ac_last_try in false false :; do
17809 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17810 if test -z "$ac_tt"; then
17812 elif $ac_last_try; then
17813 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17815 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17819 # For the awk script, D is an array of macro values keyed by name,
17820 # likewise P contains macro parameters if any. Preserve backslash
17821 # newline sequences.
17823 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17825 s/.\{148\}/&'"$ac_delim"'/g
17828 s/^[ ]*#[ ]*define[ ][ ]*/ /
17835 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17837 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17841 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17842 D["\
1"]=" \
3\\\\\\n
"\\/p
17844 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17849 s/.\{148\}/&'"$ac_delim"'/g
17854 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17857 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17859 ' <confdefs.h | sed '
17860 s/'"$ac_delim"'/"\\\
17861 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17864 for (key in D) D_is_set[key] = 1
17867 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17869 split(line, arg, " ")
17870 if (arg[1] == "#") {
17874 defundef
= substr
(arg
[1], 2)
17877 split(mac1
, mac2
, "(") #)
17879 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17880 if (D_is_set
[macro
]) {
17881 # Preserve the white space surrounding the "#".
17882 print prefix
"define", macro P
[macro
] D
[macro
]
17885 # Replace #undef with comments. This is necessary, for example,
17886 # in the case of _POSIX_SOURCE, which is predefined and required
17887 # on some systems where configure will not decide to define it.
17888 if (defundef
== "undef") {
17889 print
"/*", prefix defundef
, macro
, "*/"
17897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17898 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17899 fi # test -n "$CONFIG_HEADERS"
17902 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17907 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17909 case $ac_mode$ac_tag in
17911 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17912 :[FH
]-) ac_tag
=-:-;;
17913 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17930 -) ac_f
="$ac_tmp/stdin";;
17931 *) # Look for the file first in the build tree, then in the source tree
17932 # (if the path is not absolute). The absolute path cannot be DOS-style,
17933 # because $ac_f cannot contain `:'.
17937 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17939 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17941 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17942 as_fn_append ac_file_inputs
" '$ac_f'"
17945 # Let's still pretend it is `configure' which instantiates (i.e., don't
17946 # use $as_me), people would be surprised to read:
17947 # /* config.h. Generated by config.status. */
17948 configure_input
='Generated from '`
17949 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17951 if test x
"$ac_file" != x-
; then
17952 configure_input
="$ac_file. $configure_input"
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17954 $as_echo "$as_me: creating $ac_file" >&6;}
17956 # Neutralize special characters interpreted by sed in replacement strings.
17957 case $configure_input in #(
17958 *\
&* |
*\|
* |
*\\* )
17959 ac_sed_conf_input
=`$as_echo "$configure_input" |
17960 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17961 *) ac_sed_conf_input
=$configure_input;;
17965 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17966 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17971 ac_dir
=`$as_dirname -- "$ac_file" ||
17972 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17973 X"$ac_file" : 'X\(//\)[^/]' \| \
17974 X"$ac_file" : 'X\(//\)$' \| \
17975 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17976 $as_echo X"$ac_file" |
17977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17981 /^X\(\/\/\)[^/].*/{
17994 as_dir
="$ac_dir"; as_fn_mkdir_p
17998 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18000 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18001 # A ".." for each directory in $ac_dir_suffix.
18002 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18003 case $ac_top_builddir_sub in
18004 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18005 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18008 ac_abs_top_builddir
=$ac_pwd
18009 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18010 # for backward compatibility:
18011 ac_top_builddir
=$ac_top_build_prefix
18014 .
) # We are building in place.
18016 ac_top_srcdir
=$ac_top_builddir_sub
18017 ac_abs_top_srcdir
=$ac_pwd ;;
18018 [\\/]* | ?
:[\\/]* ) # Absolute name.
18019 ac_srcdir
=$srcdir$ac_dir_suffix;
18020 ac_top_srcdir
=$srcdir
18021 ac_abs_top_srcdir
=$srcdir ;;
18022 *) # Relative name.
18023 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18024 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18025 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18027 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18037 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18038 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18040 ac_MKDIR_P
=$MKDIR_P
18042 [\\/$
]* | ?
:[\\/]* ) ;;
18043 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18048 # If the template does not know about datarootdir, expand it.
18049 # FIXME: This hack should be removed a few years after 2.60.
18050 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18061 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18062 *datarootdir
*) ac_datarootdir_seen
=yes;;
18063 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18065 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18068 ac_datarootdir_hack='
18069 s&@datadir@&$datadir&g
18070 s&@docdir@&$docdir&g
18071 s&@infodir@&$infodir&g
18072 s&@localedir@&$localedir&g
18073 s&@mandir@&$mandir&g
18074 s&\\\${datarootdir}&$datarootdir&g' ;;
18078 # Neutralize VPATH when `$srcdir' = `.'.
18079 # Shell code in configure.ac might set extrasub.
18080 # FIXME: do we really want to maintain this feature?
18081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18082 ac_sed_extra="$ac_vpsub
18085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18087 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18088 s|@configure_input@|
$ac_sed_conf_input|
;t t
18089 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18090 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18091 s
&@srcdir@
&$ac_srcdir&;t t
18092 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18093 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18094 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18095 s
&@builddir@
&$ac_builddir&;t t
18096 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18097 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18098 s
&@INSTALL@
&$ac_INSTALL&;t t
18099 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18100 $ac_datarootdir_hack
18102 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18103 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18105 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18106 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18107 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18108 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18110 which seems to be undefined. Please make sure it is defined" >&5
18111 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18112 which seems to be undefined. Please make sure it is defined" >&2;}
18114 rm -f "$ac_tmp/stdin"
18116 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18117 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18119 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18125 if test x"$ac_file" != x-; then
18127 $as_echo "/* $configure_input */" \
18128 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18129 } >"$ac_tmp/config.h" \
18130 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18131 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18133 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18136 mv "$ac_tmp/config.h" "$ac_file" \
18137 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18140 $as_echo "/* $configure_input */" \
18141 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18142 || as_fn_error $? "could not create -" "$LINENO" 5
18144 # Compute "$ac_file"'s index
in $config_headers.
18147 for _am_header
in $config_headers :; do
18148 case $_am_header in
18149 $_am_arg |
$_am_arg:* )
18152 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18155 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18156 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18157 X"$_am_arg" : 'X\(//\)[^/]' \| \
18158 X"$_am_arg" : 'X\(//\)$' \| \
18159 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18160 $as_echo X"$_am_arg" |
18161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18165 /^X\(\/\/\)[^/].*/{
18177 s/.*/./; q'`/stamp-h
$_am_stamp_count
18180 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18181 $as_echo "$as_me: executing $ac_file commands" >&6;}
18186 case $ac_file$ac_mode in
18189 # See if we are running on zsh, and set the options which allow our
18190 # commands through without removal of \ escapes.
18191 if test -n "${ZSH_VERSION+set}" ; then
18192 setopt NO_GLOB_SUBST
18195 cfgfile
="${ofile}T"
18196 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18199 cat <<_LT_EOF >> "$cfgfile"
18202 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18203 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18204 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18205 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18207 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18208 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18209 # Written by Gordon Matzigkeit, 1996
18211 # This file is part of GNU Libtool.
18213 # GNU Libtool is free software; you can redistribute it and/or
18214 # modify it under the terms of the GNU General Public License as
18215 # published by the Free Software Foundation; either version 2 of
18216 # the License, or (at your option) any later version.
18218 # As a special exception to the GNU General Public License,
18219 # if you distribute this file as part of a program or library that
18220 # is built using GNU Libtool, you may include this file under the
18221 # same distribution terms that you use for the rest of that program.
18223 # GNU Libtool is distributed in the hope that it will be useful,
18224 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18225 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18226 # GNU General Public License for more details.
18228 # You should have received a copy of the GNU General Public License
18229 # along with GNU Libtool; see the file COPYING. If not, a copy
18230 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18231 # obtained by writing to the Free Software Foundation, Inc.,
18232 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18235 # The names of the tagged configurations supported by this script.
18238 # ### BEGIN LIBTOOL CONFIG
18240 # Which release of libtool.m4 was used?
18241 macro_version=$macro_version
18242 macro_revision=$macro_revision
18244 # Whether or not to build shared libraries.
18245 build_libtool_libs=$enable_shared
18247 # Whether or not to build static libraries.
18248 build_old_libs=$enable_static
18250 # What type of objects to build.
18253 # Whether or not to optimize for fast installation.
18254 fast_install=$enable_fast_install
18256 # Shell to use when invoking shell scripts.
18259 # An echo program that protects backslashes.
18263 host_alias=$host_alias
18267 # The build system.
18268 build_alias=$build_alias
18272 # A sed program that does not truncate output.
18275 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18276 Xsed="\$SED -e 1s/^X//"
18278 # A grep program that handles long lines.
18284 # A literal string matcher.
18287 # A BSD- or MS-compatible name lister.
18290 # Whether we need soft or hard links.
18293 # What is the maximum length of a command?
18294 max_cmd_len=$max_cmd_len
18296 # Object file suffix (normally "o").
18299 # Executable file suffix (normally "").
18302 # whether the shell understands "unset".
18305 # turn spaces into newlines.
18308 # turn newlines into spaces.
18311 # An object symbol dumper.
18312 OBJDUMP=$lt_OBJDUMP
18314 # Method to check whether dependent libraries are shared objects.
18315 deplibs_check_method=$lt_deplibs_check_method
18317 # Command to use when deplibs_check_method == "file_magic".
18318 file_magic_cmd=$lt_file_magic_cmd
18322 AR_FLAGS=$lt_AR_FLAGS
18324 # A symbol stripping program.
18327 # Commands used to install an old-style archive.
18329 old_postinstall_cmds=$lt_old_postinstall_cmds
18330 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18332 # Whether to use a lock for old archive extraction.
18333 lock_old_archive_extraction=$lock_old_archive_extraction
18338 # LTCC compiler flags.
18339 LTCFLAGS=$lt_CFLAGS
18341 # Take the output of nm and produce a listing of raw symbols and C names.
18342 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18344 # Transform the output of nm in a proper C declaration.
18345 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18347 # Transform the output of nm in a C name address pair.
18348 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18350 # Transform the output of nm in a C name address pair when lib prefix is needed.
18351 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18353 # The name of the directory that contains temporary libtool files.
18356 # Used to examine libraries when file_magic_cmd begins with "file".
18357 MAGIC_CMD=$MAGIC_CMD
18359 # Must we lock files when doing compilation?
18360 need_locks=$lt_need_locks
18362 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18363 DSYMUTIL=$lt_DSYMUTIL
18365 # Tool to change global to local symbols on Mac OS X.
18368 # Tool to manipulate fat objects and archives on Mac OS X.
18371 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18374 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18375 OTOOL64=$lt_OTOOL64
18377 # Old archive suffix (normally "a").
18380 # Shared library suffix (normally ".so").
18381 shrext_cmds=$lt_shrext_cmds
18383 # The commands to extract the exported symbol list from a shared archive.
18384 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18386 # Variables whose values should be saved in libtool wrapper scripts and
18387 # restored at link time.
18388 variables_saved_for_relink=$lt_variables_saved_for_relink
18390 # Do we need the "lib" prefix for modules?
18391 need_lib_prefix=$need_lib_prefix
18393 # Do we need a version for libraries?
18394 need_version=$need_version
18396 # Library versioning type.
18397 version_type=$version_type
18399 # Shared library runtime path variable.
18400 runpath_var=$runpath_var
18402 # Shared library path variable.
18403 shlibpath_var=$shlibpath_var
18405 # Is shlibpath searched before the hard-coded library search path?
18406 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18408 # Format of library name prefix.
18409 libname_spec=$lt_libname_spec
18411 # List of archive names. First name is the real one, the rest are links.
18412 # The last name is the one that the linker finds with -lNAME
18413 library_names_spec=$lt_library_names_spec
18415 # The coded name of the library, if different from the real name.
18416 soname_spec=$lt_soname_spec
18418 # Permission mode override for installation of shared libraries.
18419 install_override_mode=$lt_install_override_mode
18421 # Command to use after installation of a shared archive.
18422 postinstall_cmds=$lt_postinstall_cmds
18424 # Command to use after uninstallation of a shared archive.
18425 postuninstall_cmds=$lt_postuninstall_cmds
18427 # Commands used to finish a libtool library installation in a directory.
18428 finish_cmds=$lt_finish_cmds
18430 # As "finish_cmds", except a single script fragment to be evaled but
18432 finish_eval=$lt_finish_eval
18434 # Whether we should hardcode library paths into libraries.
18435 hardcode_into_libs=$hardcode_into_libs
18437 # Compile-time system search path for libraries.
18438 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18440 # Run-time system search path for libraries.
18441 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18443 # Whether dlopen is supported.
18444 dlopen_support=$enable_dlopen
18446 # Whether dlopen of programs is supported.
18447 dlopen_self=$enable_dlopen_self
18449 # Whether dlopen of statically linked programs is supported.
18450 dlopen_self_static=$enable_dlopen_self_static
18452 # Commands to strip libraries.
18453 old_striplib=$lt_old_striplib
18454 striplib=$lt_striplib
18457 # The linker used to build libraries.
18460 # How to create reloadable object files.
18461 reload_flag=$lt_reload_flag
18462 reload_cmds=$lt_reload_cmds
18464 # Commands used to build an old-style archive.
18465 old_archive_cmds=$lt_old_archive_cmds
18467 # A language specific compiler.
18470 # Is the compiler the GNU compiler?
18473 # Compiler flag to turn off builtin functions.
18474 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18476 # How to pass a linker flag through the compiler.
18477 wl=$lt_lt_prog_compiler_wl
18479 # Additional compiler flags for building library objects.
18480 pic_flag=$lt_lt_prog_compiler_pic
18482 # Compiler flag to prevent dynamic linking.
18483 link_static_flag=$lt_lt_prog_compiler_static
18485 # Does compiler simultaneously support -c and -o options?
18486 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18488 # Whether or not to add -lc for building shared libraries.
18489 build_libtool_need_lc=$archive_cmds_need_lc
18491 # Whether or not to disallow shared libs when runtime libs are static.
18492 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18494 # Compiler flag to allow reflexive dlopens.
18495 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18497 # Compiler flag to generate shared objects directly from archives.
18498 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18500 # Whether the compiler copes with passing no objects directly.
18501 compiler_needs_object=$lt_compiler_needs_object
18503 # Create an old-style archive from a shared archive.
18504 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18506 # Create a temporary old-style archive to link instead of a shared archive.
18507 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18509 # Commands used to build a shared archive.
18510 archive_cmds=$lt_archive_cmds
18511 archive_expsym_cmds=$lt_archive_expsym_cmds
18513 # Commands used to build a loadable module if different from building
18514 # a shared archive.
18515 module_cmds=$lt_module_cmds
18516 module_expsym_cmds=$lt_module_expsym_cmds
18518 # Whether we are building with GNU ld or not.
18519 with_gnu_ld=$lt_with_gnu_ld
18521 # Flag that allows shared libraries with undefined symbols to be built.
18522 allow_undefined_flag=$lt_allow_undefined_flag
18524 # Flag that enforces no undefined symbols.
18525 no_undefined_flag=$lt_no_undefined_flag
18527 # Flag to hardcode \$libdir into a binary during linking.
18528 # This must work even if \$libdir does not exist
18529 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18531 # If ld is used when linking, flag to hardcode \$libdir into a binary
18532 # during linking. This must work even if \$libdir does not exist.
18533 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18535 # Whether we need a single "-rpath" flag with a separated argument.
18536 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18538 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18539 # DIR into the resulting binary.
18540 hardcode_direct=$hardcode_direct
18542 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18543 # DIR into the resulting binary and the resulting library dependency is
18544 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18545 # library is relocated.
18546 hardcode_direct_absolute=$hardcode_direct_absolute
18548 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18549 # into the resulting binary.
18550 hardcode_minus_L=$hardcode_minus_L
18552 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18553 # into the resulting binary.
18554 hardcode_shlibpath_var=$hardcode_shlibpath_var
18556 # Set to "yes" if building a shared library automatically hardcodes DIR
18557 # into the library and all subsequent libraries and executables linked
18559 hardcode_automatic=$hardcode_automatic
18561 # Set to yes if linker adds runtime paths of dependent libraries
18562 # to runtime path list.
18563 inherit_rpath=$inherit_rpath
18565 # Whether libtool must link a program against all its dependency libraries.
18566 link_all_deplibs=$link_all_deplibs
18568 # Fix the shell variable \$srcfile for the compiler.
18569 fix_srcfile_path=$lt_fix_srcfile_path
18571 # Set to "yes" if exported symbols are required.
18572 always_export_symbols=$always_export_symbols
18574 # The commands to list exported symbols.
18575 export_symbols_cmds=$lt_export_symbols_cmds
18577 # Symbols that should not be listed in the preloaded symbols.
18578 exclude_expsyms=$lt_exclude_expsyms
18580 # Symbols that must always be exported.
18581 include_expsyms=$lt_include_expsyms
18583 # Commands necessary for linking programs (against libraries) with templates.
18584 prelink_cmds=$lt_prelink_cmds
18586 # Specify filename containing input files.
18587 file_list_spec=$lt_file_list_spec
18589 # How to hardcode a shared library path into an executable.
18590 hardcode_action=$hardcode_action
18592 # ### END LIBTOOL CONFIG
18598 cat <<\_LT_EOF
>> "$cfgfile"
18599 # AIX sometimes has problems with the GCC collect2 program. For some
18600 # reason, if we set the COLLECT_NAMES environment variable, the problems
18601 # vanish in a puff of smoke.
18602 if test "X${COLLECT_NAMES+set}" != Xset
; then
18604 export COLLECT_NAMES
18611 ltmain
="$ac_aux_dir/ltmain.sh"
18614 # We use sed instead of cat because bash on DJGPP gets confused if
18615 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18616 # text mode, it properly converts lines to CR/LF. This bash problem
18617 # is reportedly fixed, but why not run on old versions too?
18618 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18619 ||
(rm -f "$cfgfile"; exit 1)
18623 cat << \_LT_EOF
>> "$cfgfile"
18625 # func_dirname file append nondir_replacement
18626 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18627 # otherwise set result to NONDIR_REPLACEMENT.
18631 */*) func_dirname_result
="${1%/*}${2}" ;;
18632 * ) func_dirname_result
="${3}" ;;
18636 # func_basename file
18639 func_basename_result
="${1##*/}"
18642 # func_dirname_and_basename file append nondir_replacement
18643 # perform func_basename and func_dirname in a single function
18645 # dirname: Compute the dirname of FILE. If nonempty,
18646 # add APPEND to the result, otherwise set result
18647 # to NONDIR_REPLACEMENT.
18648 # value returned in "$func_dirname_result"
18649 # basename: Compute filename of FILE.
18650 # value retuned in "$func_basename_result"
18651 # Implementation must be kept synchronized with func_dirname
18652 # and func_basename. For efficiency, we do not delegate to
18653 # those functions but instead duplicate the functionality here.
18654 func_dirname_and_basename
()
18657 */*) func_dirname_result
="${1%/*}${2}" ;;
18658 * ) func_dirname_result
="${3}" ;;
18660 func_basename_result
="${1##*/}"
18663 # func_stripname prefix suffix name
18664 # strip PREFIX and SUFFIX off of NAME.
18665 # PREFIX and SUFFIX must not contain globbing or regex special
18666 # characters, hashes, percent signs, but SUFFIX may contain a leading
18667 # dot (in which case that matches only a dot).
18670 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18671 # positional parameters, so assign one to ordinary parameter first.
18672 func_stripname_result
=${3}
18673 func_stripname_result
=${func_stripname_result#"${1}"}
18674 func_stripname_result
=${func_stripname_result%"${2}"}
18680 func_opt_split_opt
=${1%%=*}
18681 func_opt_split_arg
=${1#*=}
18688 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18689 *) func_lo2o_result
=${1} ;;
18693 # func_xform libobj-or-source
18696 func_xform_result
=${1%.*}.lo
18699 # func_arith arithmetic-term...
18702 func_arith_result
=$
(( $
* ))
18706 # STRING may not start with a hyphen.
18709 func_len_result
=${#1}
18714 *) # Bourne compatible functions.
18715 cat << \_LT_EOF
>> "$cfgfile"
18717 # func_dirname file append nondir_replacement
18718 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18719 # otherwise set result to NONDIR_REPLACEMENT.
18722 # Extract subdirectory from the argument.
18723 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18724 if test "X$func_dirname_result" = "X${1}"; then
18725 func_dirname_result
="${3}"
18727 func_dirname_result
="$func_dirname_result${2}"
18731 # func_basename file
18734 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18738 # func_stripname prefix suffix name
18739 # strip PREFIX and SUFFIX off of NAME.
18740 # PREFIX and SUFFIX must not contain globbing or regex special
18741 # characters, hashes, percent signs, but SUFFIX may contain a leading
18742 # dot (in which case that matches only a dot).
18743 # func_strip_suffix prefix name
18747 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18748 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18753 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18754 my_sed_long_arg
='1s/^-[^=]*=//'
18759 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18760 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18766 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18769 # func_xform libobj-or-source
18772 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18775 # func_arith arithmetic-term...
18778 func_arith_result
=`expr "$@"`
18782 # STRING may not start with a hyphen.
18785 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18791 case $lt_shell_append in
18793 cat << \_LT_EOF
>> "$cfgfile"
18795 # func_append var value
18796 # Append VALUE to the end of shell variable VAR.
18804 cat << \_LT_EOF
>> "$cfgfile"
18806 # func_append var value
18807 # Append VALUE to the end of shell variable VAR.
18818 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18819 ||
(rm -f "$cfgfile"; exit 1)
18821 mv -f "$cfgfile" "$ofile" ||
18822 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18826 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18827 # Older Autoconf quotes --file arguments for eval, but not when files
18828 # are listed without --file. Let's play safe and only enable the eval
18829 # if we detect the quoting.
18830 case $CONFIG_FILES in
18831 *\'*) eval set x
"$CONFIG_FILES" ;;
18832 *) set x
$CONFIG_FILES ;;
18837 # Strip MF so we end up with the name of the file.
18838 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18839 # Check whether this is an Automake generated Makefile or not.
18840 # We used to match only the files named 'Makefile.in', but
18841 # some people rename them; so instead we look at the file content.
18842 # Grep'ing the first line is not enough: some people post-process
18843 # each Makefile.in and add a new line on top of each file to say so.
18844 # Grep'ing the whole file is not good either: AIX grep has a line
18845 # limit of 2048, but all sed's we know have understand at least 4000.
18846 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18847 dirpart
=`$as_dirname -- "$mf" ||
18848 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18849 X"$mf" : 'X\(//\)[^/]' \| \
18850 X"$mf" : 'X\(//\)$' \| \
18851 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18853 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18857 /^X\(\/\/\)[^/].*/{
18873 # Extract the definition of DEPDIR, am__include, and am__quote
18874 # from the Makefile without running 'make'.
18875 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18876 test -z "$DEPDIR" && continue
18877 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18878 test -z "$am__include" && continue
18879 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18880 # Find all dependency output files, they are included files with
18881 # $(DEPDIR) in their names. We invoke sed twice because it is the
18882 # simplest approach to changing $(DEPDIR) to its actual value in the
18884 for file in `sed -n "
18885 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18886 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18887 # Make sure the directory exists.
18888 test -f "$dirpart/$file" && continue
18889 fdir
=`$as_dirname -- "$file" ||
18890 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18891 X"$file" : 'X\(//\)[^/]' \| \
18892 X"$file" : 'X\(//\)$' \| \
18893 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18894 $as_echo X"$file" |
18895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18899 /^X\(\/\/\)[^/].*/{
18912 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18913 # echo "creating $dirpart/$file"
18914 echo '# dummy' > "$dirpart/$file"
18919 "aarch64/Makefile":C
) sed -n \
18920 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18921 /^srcdir = / s:$:/aarch64:
18924 <Make-common.sim
>aarch64
/Makesim1.tmp
18925 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>aarch64
/Makesim2.tmp
18926 sed -e '/^## COMMON_PRE_/ r aarch64/Makesim1.tmp' \
18927 -e '/^## COMMON_POST_/ r aarch64/Makesim2.tmp' \
18928 <aarch64
/Makefile.sim
>aarch64
/Makefile
18929 rm -f aarch64
/Makesim1.tmp aarch64
/Makesim2.tmp
18931 "depdir-aarch64":C
) $SHELL $ac_aux_dir/mkinstalldirs aarch64
/$DEPDIR ;;
18932 "arm/Makefile":C
) sed -n \
18933 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18934 /^srcdir = / s:$:/arm:
18937 <Make-common.sim
>arm
/Makesim1.tmp
18938 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>arm
/Makesim2.tmp
18939 sed -e '/^## COMMON_PRE_/ r arm/Makesim1.tmp' \
18940 -e '/^## COMMON_POST_/ r arm/Makesim2.tmp' \
18941 <arm
/Makefile.sim
>arm
/Makefile
18942 rm -f arm
/Makesim1.tmp
arm
/Makesim2.tmp
18944 "depdir-arm":C
) $SHELL $ac_aux_dir/mkinstalldirs
arm
/$DEPDIR ;;
18945 "avr/Makefile":C
) sed -n \
18946 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18947 /^srcdir = / s:$:/avr:
18950 <Make-common.sim
>avr
/Makesim1.tmp
18951 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>avr
/Makesim2.tmp
18952 sed -e '/^## COMMON_PRE_/ r avr/Makesim1.tmp' \
18953 -e '/^## COMMON_POST_/ r avr/Makesim2.tmp' \
18954 <avr
/Makefile.sim
>avr
/Makefile
18955 rm -f avr
/Makesim1.tmp avr
/Makesim2.tmp
18957 "depdir-avr":C
) $SHELL $ac_aux_dir/mkinstalldirs avr
/$DEPDIR ;;
18958 "bfin/Makefile":C
) sed -n \
18959 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18960 /^srcdir = / s:$:/bfin:
18963 <Make-common.sim
>bfin
/Makesim1.tmp
18964 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>bfin
/Makesim2.tmp
18965 sed -e '/^## COMMON_PRE_/ r bfin/Makesim1.tmp' \
18966 -e '/^## COMMON_POST_/ r bfin/Makesim2.tmp' \
18967 <bfin
/Makefile.sim
>bfin
/Makefile
18968 rm -f bfin
/Makesim1.tmp bfin
/Makesim2.tmp
18970 "depdir-bfin":C
) $SHELL $ac_aux_dir/mkinstalldirs bfin
/$DEPDIR ;;
18971 "bpf/Makefile":C
) sed -n \
18972 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18973 /^srcdir = / s:$:/bpf:
18976 <Make-common.sim
>bpf
/Makesim1.tmp
18977 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>bpf
/Makesim2.tmp
18978 sed -e '/^## COMMON_PRE_/ r bpf/Makesim1.tmp' \
18979 -e '/^## COMMON_POST_/ r bpf/Makesim2.tmp' \
18980 <bpf
/Makefile.sim
>bpf
/Makefile
18981 rm -f bpf
/Makesim1.tmp bpf
/Makesim2.tmp
18983 "depdir-bpf":C
) $SHELL $ac_aux_dir/mkinstalldirs bpf
/$DEPDIR ;;
18984 "cr16/Makefile":C
) sed -n \
18985 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18986 /^srcdir = / s:$:/cr16:
18989 <Make-common.sim
>cr16
/Makesim1.tmp
18990 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>cr16
/Makesim2.tmp
18991 sed -e '/^## COMMON_PRE_/ r cr16/Makesim1.tmp' \
18992 -e '/^## COMMON_POST_/ r cr16/Makesim2.tmp' \
18993 <cr16
/Makefile.sim
>cr16
/Makefile
18994 rm -f cr16
/Makesim1.tmp cr16
/Makesim2.tmp
18996 "depdir-cr16":C
) $SHELL $ac_aux_dir/mkinstalldirs cr16
/$DEPDIR ;;
18997 "cris/Makefile":C
) sed -n \
18998 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18999 /^srcdir = / s:$:/cris:
19002 <Make-common.sim
>cris
/Makesim1.tmp
19003 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>cris
/Makesim2.tmp
19004 sed -e '/^## COMMON_PRE_/ r cris/Makesim1.tmp' \
19005 -e '/^## COMMON_POST_/ r cris/Makesim2.tmp' \
19006 <cris
/Makefile.sim
>cris
/Makefile
19007 rm -f cris
/Makesim1.tmp cris
/Makesim2.tmp
19009 "depdir-cris":C
) $SHELL $ac_aux_dir/mkinstalldirs cris
/$DEPDIR ;;
19010 "d10v/Makefile":C
) sed -n \
19011 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19012 /^srcdir = / s:$:/d10v:
19015 <Make-common.sim
>d10v
/Makesim1.tmp
19016 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>d10v
/Makesim2.tmp
19017 sed -e '/^## COMMON_PRE_/ r d10v/Makesim1.tmp' \
19018 -e '/^## COMMON_POST_/ r d10v/Makesim2.tmp' \
19019 <d10v
/Makefile.sim
>d10v
/Makefile
19020 rm -f d10v
/Makesim1.tmp d10v
/Makesim2.tmp
19022 "depdir-d10v":C
) $SHELL $ac_aux_dir/mkinstalldirs d10v
/$DEPDIR ;;
19023 "frv/Makefile":C
) sed -n \
19024 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19025 /^srcdir = / s:$:/frv:
19028 <Make-common.sim
>frv
/Makesim1.tmp
19029 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>frv
/Makesim2.tmp
19030 sed -e '/^## COMMON_PRE_/ r frv/Makesim1.tmp' \
19031 -e '/^## COMMON_POST_/ r frv/Makesim2.tmp' \
19032 <frv
/Makefile.sim
>frv
/Makefile
19033 rm -f frv
/Makesim1.tmp frv
/Makesim2.tmp
19035 "depdir-frv":C
) $SHELL $ac_aux_dir/mkinstalldirs frv
/$DEPDIR ;;
19036 "ft32/Makefile":C
) sed -n \
19037 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19038 /^srcdir = / s:$:/ft32:
19041 <Make-common.sim
>ft32
/Makesim1.tmp
19042 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>ft32
/Makesim2.tmp
19043 sed -e '/^## COMMON_PRE_/ r ft32/Makesim1.tmp' \
19044 -e '/^## COMMON_POST_/ r ft32/Makesim2.tmp' \
19045 <ft32
/Makefile.sim
>ft32
/Makefile
19046 rm -f ft32
/Makesim1.tmp ft32
/Makesim2.tmp
19048 "depdir-ft32":C
) $SHELL $ac_aux_dir/mkinstalldirs ft32
/$DEPDIR ;;
19049 "h8300/Makefile":C
) sed -n \
19050 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19051 /^srcdir = / s:$:/h8300:
19054 <Make-common.sim
>h8300
/Makesim1.tmp
19055 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>h8300
/Makesim2.tmp
19056 sed -e '/^## COMMON_PRE_/ r h8300/Makesim1.tmp' \
19057 -e '/^## COMMON_POST_/ r h8300/Makesim2.tmp' \
19058 <h8300
/Makefile.sim
>h8300
/Makefile
19059 rm -f h8300
/Makesim1.tmp h8300
/Makesim2.tmp
19061 "depdir-h8300":C
) $SHELL $ac_aux_dir/mkinstalldirs h8300
/$DEPDIR ;;
19062 "iq2000/Makefile":C
) sed -n \
19063 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19064 /^srcdir = / s:$:/iq2000:
19067 <Make-common.sim
>iq2000
/Makesim1.tmp
19068 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>iq2000
/Makesim2.tmp
19069 sed -e '/^## COMMON_PRE_/ r iq2000/Makesim1.tmp' \
19070 -e '/^## COMMON_POST_/ r iq2000/Makesim2.tmp' \
19071 <iq2000
/Makefile.sim
>iq2000
/Makefile
19072 rm -f iq2000
/Makesim1.tmp iq2000
/Makesim2.tmp
19074 "depdir-iq2000":C
) $SHELL $ac_aux_dir/mkinstalldirs iq2000
/$DEPDIR ;;
19075 "lm32/Makefile":C
) sed -n \
19076 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19077 /^srcdir = / s:$:/lm32:
19080 <Make-common.sim
>lm32
/Makesim1.tmp
19081 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>lm32
/Makesim2.tmp
19082 sed -e '/^## COMMON_PRE_/ r lm32/Makesim1.tmp' \
19083 -e '/^## COMMON_POST_/ r lm32/Makesim2.tmp' \
19084 <lm32
/Makefile.sim
>lm32
/Makefile
19085 rm -f lm32
/Makesim1.tmp lm32
/Makesim2.tmp
19087 "depdir-lm32":C
) $SHELL $ac_aux_dir/mkinstalldirs lm32
/$DEPDIR ;;
19088 "m32c/Makefile":C
) sed -n \
19089 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19090 /^srcdir = / s:$:/m32c:
19093 <Make-common.sim
>m32c
/Makesim1.tmp
19094 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>m32c
/Makesim2.tmp
19095 sed -e '/^## COMMON_PRE_/ r m32c/Makesim1.tmp' \
19096 -e '/^## COMMON_POST_/ r m32c/Makesim2.tmp' \
19097 <m32c
/Makefile.sim
>m32c
/Makefile
19098 rm -f m32c
/Makesim1.tmp m32c
/Makesim2.tmp
19100 "depdir-m32c":C
) $SHELL $ac_aux_dir/mkinstalldirs m32c
/$DEPDIR ;;
19101 "m32r/Makefile":C
) sed -n \
19102 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19103 /^srcdir = / s:$:/m32r:
19106 <Make-common.sim
>m32r
/Makesim1.tmp
19107 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>m32r
/Makesim2.tmp
19108 sed -e '/^## COMMON_PRE_/ r m32r/Makesim1.tmp' \
19109 -e '/^## COMMON_POST_/ r m32r/Makesim2.tmp' \
19110 <m32r
/Makefile.sim
>m32r
/Makefile
19111 rm -f m32r
/Makesim1.tmp m32r
/Makesim2.tmp
19113 "depdir-m32r":C
) $SHELL $ac_aux_dir/mkinstalldirs m32r
/$DEPDIR ;;
19114 "m68hc11/Makefile":C
) sed -n \
19115 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19116 /^srcdir = / s:$:/m68hc11:
19119 <Make-common.sim
>m68hc11
/Makesim1.tmp
19120 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>m68hc11
/Makesim2.tmp
19121 sed -e '/^## COMMON_PRE_/ r m68hc11/Makesim1.tmp' \
19122 -e '/^## COMMON_POST_/ r m68hc11/Makesim2.tmp' \
19123 <m68hc11
/Makefile.sim
>m68hc11
/Makefile
19124 rm -f m68hc11
/Makesim1.tmp m68hc11
/Makesim2.tmp
19126 "depdir-m68hc11":C
) $SHELL $ac_aux_dir/mkinstalldirs m68hc11
/$DEPDIR ;;
19127 "mcore/Makefile":C
) sed -n \
19128 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19129 /^srcdir = / s:$:/mcore:
19132 <Make-common.sim
>mcore
/Makesim1.tmp
19133 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>mcore
/Makesim2.tmp
19134 sed -e '/^## COMMON_PRE_/ r mcore/Makesim1.tmp' \
19135 -e '/^## COMMON_POST_/ r mcore/Makesim2.tmp' \
19136 <mcore
/Makefile.sim
>mcore
/Makefile
19137 rm -f mcore
/Makesim1.tmp mcore
/Makesim2.tmp
19139 "depdir-mcore":C
) $SHELL $ac_aux_dir/mkinstalldirs mcore
/$DEPDIR ;;
19140 "microblaze/Makefile":C
) sed -n \
19141 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19142 /^srcdir = / s:$:/microblaze:
19145 <Make-common.sim
>microblaze
/Makesim1.tmp
19146 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>microblaze
/Makesim2.tmp
19147 sed -e '/^## COMMON_PRE_/ r microblaze/Makesim1.tmp' \
19148 -e '/^## COMMON_POST_/ r microblaze/Makesim2.tmp' \
19149 <microblaze
/Makefile.sim
>microblaze
/Makefile
19150 rm -f microblaze
/Makesim1.tmp microblaze
/Makesim2.tmp
19152 "depdir-microblaze":C
) $SHELL $ac_aux_dir/mkinstalldirs microblaze
/$DEPDIR ;;
19153 "depdir-mips":C
) $SHELL $ac_aux_dir/mkinstalldirs mips
/$DEPDIR ;;
19154 "depdir-mn10300":C
) $SHELL $ac_aux_dir/mkinstalldirs mn10300
/$DEPDIR ;;
19155 "moxie/Makefile":C
) sed -n \
19156 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19157 /^srcdir = / s:$:/moxie:
19160 <Make-common.sim
>moxie
/Makesim1.tmp
19161 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>moxie
/Makesim2.tmp
19162 sed -e '/^## COMMON_PRE_/ r moxie/Makesim1.tmp' \
19163 -e '/^## COMMON_POST_/ r moxie/Makesim2.tmp' \
19164 <moxie
/Makefile.sim
>moxie
/Makefile
19165 rm -f moxie
/Makesim1.tmp moxie
/Makesim2.tmp
19167 "depdir-moxie":C
) $SHELL $ac_aux_dir/mkinstalldirs moxie
/$DEPDIR ;;
19168 "msp430/Makefile":C
) sed -n \
19169 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19170 /^srcdir = / s:$:/msp430:
19173 <Make-common.sim
>msp430
/Makesim1.tmp
19174 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>msp430
/Makesim2.tmp
19175 sed -e '/^## COMMON_PRE_/ r msp430/Makesim1.tmp' \
19176 -e '/^## COMMON_POST_/ r msp430/Makesim2.tmp' \
19177 <msp430
/Makefile.sim
>msp430
/Makefile
19178 rm -f msp430
/Makesim1.tmp msp430
/Makesim2.tmp
19180 "depdir-msp430":C
) $SHELL $ac_aux_dir/mkinstalldirs msp430
/$DEPDIR ;;
19181 "depdir-or1k":C
) $SHELL $ac_aux_dir/mkinstalldirs or1k
/$DEPDIR ;;
19182 "depdir-ppc":C
) $SHELL $ac_aux_dir/mkinstalldirs ppc
/$DEPDIR ;;
19183 "pru/Makefile":C
) sed -n \
19184 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19185 /^srcdir = / s:$:/pru:
19188 <Make-common.sim
>pru
/Makesim1.tmp
19189 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>pru
/Makesim2.tmp
19190 sed -e '/^## COMMON_PRE_/ r pru/Makesim1.tmp' \
19191 -e '/^## COMMON_POST_/ r pru/Makesim2.tmp' \
19192 <pru
/Makefile.sim
>pru
/Makefile
19193 rm -f pru
/Makesim1.tmp
pru
/Makesim2.tmp
19195 "depdir-pru":C
) $SHELL $ac_aux_dir/mkinstalldirs
pru
/$DEPDIR ;;
19196 "riscv/Makefile":C
) sed -n \
19197 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19198 /^srcdir = / s:$:/riscv:
19201 <Make-common.sim
>riscv
/Makesim1.tmp
19202 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>riscv
/Makesim2.tmp
19203 sed -e '/^## COMMON_PRE_/ r riscv/Makesim1.tmp' \
19204 -e '/^## COMMON_POST_/ r riscv/Makesim2.tmp' \
19205 <riscv
/Makefile.sim
>riscv
/Makefile
19206 rm -f riscv
/Makesim1.tmp riscv
/Makesim2.tmp
19208 "depdir-riscv":C
) $SHELL $ac_aux_dir/mkinstalldirs riscv
/$DEPDIR ;;
19209 "rl78/Makefile":C
) sed -n \
19210 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19211 /^srcdir = / s:$:/rl78:
19214 <Make-common.sim
>rl78
/Makesim1.tmp
19215 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>rl78
/Makesim2.tmp
19216 sed -e '/^## COMMON_PRE_/ r rl78/Makesim1.tmp' \
19217 -e '/^## COMMON_POST_/ r rl78/Makesim2.tmp' \
19218 <rl78
/Makefile.sim
>rl78
/Makefile
19219 rm -f rl78
/Makesim1.tmp rl78
/Makesim2.tmp
19221 "depdir-rl78":C
) $SHELL $ac_aux_dir/mkinstalldirs rl78
/$DEPDIR ;;
19222 "rx/Makefile":C
) sed -n \
19223 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19224 /^srcdir = / s:$:/rx:
19227 <Make-common.sim
>rx
/Makesim1.tmp
19228 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>rx
/Makesim2.tmp
19229 sed -e '/^## COMMON_PRE_/ r rx/Makesim1.tmp' \
19230 -e '/^## COMMON_POST_/ r rx/Makesim2.tmp' \
19231 <rx
/Makefile.sim
>rx
/Makefile
19232 rm -f rx
/Makesim1.tmp rx
/Makesim2.tmp
19234 "depdir-rx":C
) $SHELL $ac_aux_dir/mkinstalldirs rx
/$DEPDIR ;;
19235 "sh/Makefile":C
) sed -n \
19236 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19237 /^srcdir = / s:$:/sh:
19240 <Make-common.sim
>sh
/Makesim1.tmp
19241 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>sh
/Makesim2.tmp
19242 sed -e '/^## COMMON_PRE_/ r sh/Makesim1.tmp' \
19243 -e '/^## COMMON_POST_/ r sh/Makesim2.tmp' \
19244 <sh
/Makefile.sim
>sh
/Makefile
19245 rm -f sh
/Makesim1.tmp sh
/Makesim2.tmp
19247 "depdir-sh":C
) $SHELL $ac_aux_dir/mkinstalldirs sh
/$DEPDIR ;;
19248 "erc32/Makefile":C
) sed -n \
19249 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19250 /^srcdir = / s:$:/erc32:
19253 <Make-common.sim
>erc32
/Makesim1.tmp
19254 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>erc32
/Makesim2.tmp
19255 sed -e '/^## COMMON_PRE_/ r erc32/Makesim1.tmp' \
19256 -e '/^## COMMON_POST_/ r erc32/Makesim2.tmp' \
19257 <erc32
/Makefile.sim
>erc32
/Makefile
19258 rm -f erc32
/Makesim1.tmp erc32
/Makesim2.tmp
19260 "depdir-erc32":C
) $SHELL $ac_aux_dir/mkinstalldirs erc32
/$DEPDIR ;;
19261 "depdir-v850":C
) $SHELL $ac_aux_dir/mkinstalldirs v850
/$DEPDIR ;;
19262 "example-synacor/Makefile":C
) sed -n \
19263 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
19264 /^srcdir = / s:$:/example-synacor:
19267 <Make-common.sim
>example-synacor
/Makesim1.tmp
19268 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>example-synacor
/Makesim2.tmp
19269 sed -e '/^## COMMON_PRE_/ r example-synacor/Makesim1.tmp' \
19270 -e '/^## COMMON_POST_/ r example-synacor/Makesim2.tmp' \
19271 <example-synacor
/Makefile.sim
>example-synacor
/Makefile
19272 rm -f example-synacor
/Makesim1.tmp example-synacor
/Makesim2.tmp
19274 "depdir-example-synacor":C
) $SHELL $ac_aux_dir/mkinstalldirs example-synacor
/$DEPDIR ;;
19282 ac_clean_files
=$ac_clean_files_save
19284 test $ac_write_fail = 0 ||
19285 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19288 # configure is writing to config.log, and then calls config.status.
19289 # config.status does its own redirection, appending to config.log.
19290 # Unfortunately, on DOS this fails, as config.log is still kept open
19291 # by configure, so config.status won't be able to write to it; its
19292 # output is simply discarded. So we exec the FD to /dev/null,
19293 # effectively closing config.log, so it can be properly (re)opened and
19294 # appended to by config.status. When coming back to configure, we
19295 # need to make the FD available again.
19296 if test "$no_create" != yes; then
19298 ac_config_status_args
=
19299 test "$silent" = yes &&
19300 ac_config_status_args
="$ac_config_status_args --quiet"
19302 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19304 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19305 # would make configure fail if this is the last instruction.
19306 $ac_cs_success || as_fn_exit
1
19310 # CONFIG_SUBDIRS section.
19312 if test "$no_recursion" != yes; then
19314 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
19315 # so they do not pile up.
19316 ac_sub_configure_args
=
19318 eval "set x $ac_configure_args"
19322 if test -n "$ac_prev"; then
19327 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
19328 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
19329 ac_prev
=cache_file
;;
19330 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
19331 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
19334 --config-cache |
-C)
19336 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
19338 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
19340 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
19342 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
19344 --disable-option-checking)
19348 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
19350 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
19354 # Always prepend --prefix to ensure using the same prefix
19355 # in subdir configurations.
19356 ac_arg
="--prefix=$prefix"
19358 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
19360 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
19363 if test "$silent" = yes; then
19364 ac_sub_configure_args
="--silent $ac_sub_configure_args"
19367 # Always prepend --disable-option-checking to silence warnings, since
19368 # different subdirs can have different --enable and --with options.
19369 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
19372 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
19374 # Do not complain, so a configure script can configure whichever
19375 # parts of a large source tree are present.
19376 test -d "$srcdir/$ac_dir" ||
continue
19378 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
19379 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
19380 $as_echo "$ac_msg" >&6
19381 as_dir
="$ac_dir"; as_fn_mkdir_p
19385 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19387 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19388 # A ".." for each directory in $ac_dir_suffix.
19389 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19390 case $ac_top_builddir_sub in
19391 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19392 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19395 ac_abs_top_builddir
=$ac_pwd
19396 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19397 # for backward compatibility:
19398 ac_top_builddir
=$ac_top_build_prefix
19401 .
) # We are building in place.
19403 ac_top_srcdir
=$ac_top_builddir_sub
19404 ac_abs_top_srcdir
=$ac_pwd ;;
19405 [\\/]* | ?
:[\\/]* ) # Absolute name.
19406 ac_srcdir
=$srcdir$ac_dir_suffix;
19407 ac_top_srcdir
=$srcdir
19408 ac_abs_top_srcdir
=$srcdir ;;
19409 *) # Relative name.
19410 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19411 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19412 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19414 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19419 # Check for guested configure; otherwise get Cygnus style configure.
19420 if test -f "$ac_srcdir/configure.gnu"; then
19421 ac_sub_configure
=$ac_srcdir/configure.gnu
19422 elif test -f "$ac_srcdir/configure"; then
19423 ac_sub_configure
=$ac_srcdir/configure
19424 elif test -f "$ac_srcdir/configure.in"; then
19425 # This should be Cygnus configure.
19426 ac_sub_configure
=$ac_aux_dir/configure
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
19429 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
19433 # The recursion is here.
19434 if test -n "$ac_sub_configure"; then
19435 # Make the cache file name correct relative to the subdirectory.
19436 case $cache_file in
19437 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
19438 *) # Relative name.
19439 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
19442 { $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
19443 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
19444 # The eval makes quoting arguments work.
19445 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
19446 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
19447 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
19453 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19455 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}