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
641 SIM_RX_CYCLE_ACCURATE_FLAGS
643 SIM_MIPS_GEN_MODE_MULTI_FALSE
644 SIM_MIPS_GEN_MODE_MULTI_TRUE
645 SIM_MIPS_GEN_MODE_M16_FALSE
646 SIM_MIPS_GEN_MODE_M16_TRUE
647 SIM_MIPS_GEN_MODE_SINGLE_FALSE
648 SIM_MIPS_GEN_MODE_SINGLE_TRUE
651 SIM_MIPS_MULTI_IGEN_CONFIGS
652 SIM_MIPS_IGEN_ITABLE_FLAGS
655 SIM_MIPS_SINGLE_FLAGS
659 SIM_FRV_TRAPDUMP_FLAGS
671 SIM_ENABLE_ARCH_examples_FALSE
672 SIM_ENABLE_ARCH_examples_TRUE
673 CC_FOR_TARGET_EXAMPLE_SYNACOR
674 LD_FOR_TARGET_EXAMPLE_SYNACOR
675 AS_FOR_TARGET_EXAMPLE_SYNACOR
676 SIM_ENABLE_ARCH_v850_FALSE
677 SIM_ENABLE_ARCH_v850_TRUE
681 SIM_ENABLE_ARCH_erc32_FALSE
682 SIM_ENABLE_ARCH_erc32_TRUE
686 SIM_ENABLE_ARCH_sh_FALSE
687 SIM_ENABLE_ARCH_sh_TRUE
691 SIM_ENABLE_ARCH_rx_FALSE
692 SIM_ENABLE_ARCH_rx_TRUE
696 SIM_ENABLE_ARCH_rl78_FALSE
697 SIM_ENABLE_ARCH_rl78_TRUE
701 SIM_ENABLE_ARCH_riscv_FALSE
702 SIM_ENABLE_ARCH_riscv_TRUE
706 SIM_ENABLE_ARCH_pru_FALSE
707 SIM_ENABLE_ARCH_pru_TRUE
711 SIM_ENABLE_ARCH_ppc_FALSE
712 SIM_ENABLE_ARCH_ppc_TRUE
717 SIM_ENABLE_ARCH_or1k_FALSE
718 SIM_ENABLE_ARCH_or1k_TRUE
722 SIM_ENABLE_ARCH_msp430_FALSE
723 SIM_ENABLE_ARCH_msp430_TRUE
727 SIM_ENABLE_ARCH_moxie_FALSE
728 SIM_ENABLE_ARCH_moxie_TRUE
732 SIM_ENABLE_ARCH_mn10300_FALSE
733 SIM_ENABLE_ARCH_mn10300_TRUE
734 CC_FOR_TARGET_MN10300
735 LD_FOR_TARGET_MN10300
736 AS_FOR_TARGET_MN10300
737 SIM_ENABLE_ARCH_mips_FALSE
738 SIM_ENABLE_ARCH_mips_TRUE
742 SIM_ENABLE_ARCH_microblaze_FALSE
743 SIM_ENABLE_ARCH_microblaze_TRUE
744 CC_FOR_TARGET_MICROBLAZE
745 LD_FOR_TARGET_MICROBLAZE
746 AS_FOR_TARGET_MICROBLAZE
747 SIM_ENABLE_ARCH_mcore_FALSE
748 SIM_ENABLE_ARCH_mcore_TRUE
752 SIM_ENABLE_ARCH_m68hc11_FALSE
753 SIM_ENABLE_ARCH_m68hc11_TRUE
754 CC_FOR_TARGET_M68HC11
755 LD_FOR_TARGET_M68HC11
756 AS_FOR_TARGET_M68HC11
757 SIM_ENABLE_ARCH_m32r_FALSE
758 SIM_ENABLE_ARCH_m32r_TRUE
762 SIM_ENABLE_ARCH_m32c_FALSE
763 SIM_ENABLE_ARCH_m32c_TRUE
767 SIM_ENABLE_ARCH_lm32_FALSE
768 SIM_ENABLE_ARCH_lm32_TRUE
772 SIM_ENABLE_ARCH_iq2000_FALSE
773 SIM_ENABLE_ARCH_iq2000_TRUE
777 SIM_ENABLE_ARCH_h8300_FALSE
778 SIM_ENABLE_ARCH_h8300_TRUE
782 SIM_ENABLE_ARCH_ft32_FALSE
783 SIM_ENABLE_ARCH_ft32_TRUE
787 SIM_ENABLE_ARCH_frv_FALSE
788 SIM_ENABLE_ARCH_frv_TRUE
792 SIM_ENABLE_ARCH_d10v_FALSE
793 SIM_ENABLE_ARCH_d10v_TRUE
797 SIM_ENABLE_ARCH_cris_FALSE
798 SIM_ENABLE_ARCH_cris_TRUE
802 SIM_ENABLE_ARCH_cr16_FALSE
803 SIM_ENABLE_ARCH_cr16_TRUE
807 SIM_ENABLE_ARCH_bpf_FALSE
808 SIM_ENABLE_ARCH_bpf_TRUE
812 SIM_ENABLE_ARCH_bfin_FALSE
813 SIM_ENABLE_ARCH_bfin_TRUE
817 SIM_ENABLE_ARCH_avr_FALSE
818 SIM_ENABLE_ARCH_avr_TRUE
822 SIM_ENABLE_ARCH_arm_FALSE
823 SIM_ENABLE_ARCH_arm_TRUE
827 SIM_ENABLE_ARCH_aarch64_FALSE
828 SIM_ENABLE_ARCH_aarch64_TRUE
829 CC_FOR_TARGET_AARCH64
830 LD_FOR_TARGET_AARCH64
831 AS_FOR_TARGET_AARCH64
858 INSTALL_STRIP_PROGRAM
870 MAINTAINER_MODE_FALSE
962 program_transform_name
978 enable_option_checking
987 enable_maintainer_mode
988 enable_dependency_tracking
998 enable_sim_environment
1002 enable_sim_reserved_bits
1008 enable_build_warnings
1009 enable_sim_build_warnings
1010 enable_sim_frv_trapdump
1011 enable_sim_rx_cycle_accurate
1013 ac_precious_vars
='build_alias
1027 AS_FOR_TARGET_AARCH64
1028 LD_FOR_TARGET_AARCH64
1029 CC_FOR_TARGET_AARCH64
1060 AS_FOR_TARGET_IQ2000
1061 LD_FOR_TARGET_IQ2000
1062 CC_FOR_TARGET_IQ2000
1072 AS_FOR_TARGET_M68HC11
1073 LD_FOR_TARGET_M68HC11
1074 CC_FOR_TARGET_M68HC11
1078 AS_FOR_TARGET_MICROBLAZE
1079 LD_FOR_TARGET_MICROBLAZE
1080 CC_FOR_TARGET_MICROBLAZE
1084 AS_FOR_TARGET_MN10300
1085 LD_FOR_TARGET_MN10300
1086 CC_FOR_TARGET_MN10300
1090 AS_FOR_TARGET_MSP430
1091 LD_FOR_TARGET_MSP430
1092 CC_FOR_TARGET_MSP430
1120 AS_FOR_TARGET_EXAMPLE_SYNACOR
1121 LD_FOR_TARGET_EXAMPLE_SYNACOR
1122 CC_FOR_TARGET_EXAMPLE_SYNACOR'
1123 ac_subdirs_all
='ppc'
1125 # Initialize some variables set by options.
1127 ac_init_version
=false
1128 ac_unrecognized_opts
=
1129 ac_unrecognized_sep
=
1130 # The variables have the same names as the options, with
1131 # dashes changed to underlines.
1132 cache_file
=/dev
/null
1139 program_transform_name
=s
,x
,x
,
1147 # Installation directory options.
1148 # These are left unexpanded so users can "make install exec_prefix=/foo"
1149 # and all the variables that are supposed to be based on exec_prefix
1150 # by default will actually change.
1151 # Use braces instead of parens because sh, perl, etc. also accept them.
1152 # (The list follows the same order as the GNU Coding Standards.)
1153 bindir
='${exec_prefix}/bin'
1154 sbindir
='${exec_prefix}/sbin'
1155 libexecdir
='${exec_prefix}/libexec'
1156 datarootdir
='${prefix}/share'
1157 datadir
='${datarootdir}'
1158 sysconfdir
='${prefix}/etc'
1159 sharedstatedir
='${prefix}/com'
1160 localstatedir
='${prefix}/var'
1161 includedir
='${prefix}/include'
1162 oldincludedir
='/usr/include'
1163 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1164 infodir
='${datarootdir}/info'
1169 libdir
='${exec_prefix}/lib'
1170 localedir
='${datarootdir}/locale'
1171 mandir
='${datarootdir}/man'
1177 # If the previous option needs an argument, assign it.
1178 if test -n "$ac_prev"; then
1179 eval $ac_prev=\
$ac_option
1185 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1190 # Accept the important Cygnus configure options, so we can diagnose typos.
1192 case $ac_dashdash$ac_option in
1196 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1198 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1199 bindir
=$ac_optarg ;;
1201 -build |
--build |
--buil |
--bui |
--bu)
1202 ac_prev
=build_alias
;;
1203 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1204 build_alias
=$ac_optarg ;;
1206 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1207 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1208 ac_prev
=cache_file
;;
1209 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1210 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1211 cache_file
=$ac_optarg ;;
1213 --config-cache |
-C)
1214 cache_file
=config.cache
;;
1216 -datadir |
--datadir |
--datadi |
--datad)
1218 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1219 datadir
=$ac_optarg ;;
1221 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1222 |
--dataroo |
--dataro |
--datar)
1223 ac_prev
=datarootdir
;;
1224 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1225 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1226 datarootdir
=$ac_optarg ;;
1228 -disable-* |
--disable-*)
1229 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1230 # Reject names that are not valid shell variable names.
1231 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1232 as_fn_error $?
"invalid feature name: $ac_useropt"
1233 ac_useropt_orig
=$ac_useropt
1234 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1235 case $ac_user_opts in
1237 "enable_
$ac_useropt"
1239 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1240 ac_unrecognized_sep
=', ';;
1242 eval enable_
$ac_useropt=no
;;
1244 -docdir |
--docdir |
--docdi |
--doc |
--do)
1246 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1247 docdir
=$ac_optarg ;;
1249 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1251 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1252 dvidir
=$ac_optarg ;;
1254 -enable-* |
--enable-*)
1255 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1256 # Reject names that are not valid shell variable names.
1257 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1258 as_fn_error $?
"invalid feature name: $ac_useropt"
1259 ac_useropt_orig
=$ac_useropt
1260 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1261 case $ac_user_opts in
1263 "enable_
$ac_useropt"
1265 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1266 ac_unrecognized_sep
=', ';;
1268 eval enable_
$ac_useropt=\
$ac_optarg ;;
1270 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1271 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1272 |
--exec |
--exe |
--ex)
1273 ac_prev
=exec_prefix
;;
1274 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1275 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1276 |
--exec=* |
--exe=* |
--ex=*)
1277 exec_prefix
=$ac_optarg ;;
1279 -gas |
--gas |
--ga |
--g)
1280 # Obsolete; use --with-gas.
1283 -help |
--help |
--hel |
--he |
-h)
1284 ac_init_help
=long
;;
1285 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1286 ac_init_help
=recursive
;;
1287 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1288 ac_init_help
=short
;;
1290 -host |
--host |
--hos |
--ho)
1291 ac_prev
=host_alias
;;
1292 -host=* |
--host=* |
--hos=* |
--ho=*)
1293 host_alias
=$ac_optarg ;;
1295 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1297 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1299 htmldir
=$ac_optarg ;;
1301 -includedir |
--includedir |
--includedi |
--included |
--include \
1302 |
--includ |
--inclu |
--incl |
--inc)
1303 ac_prev
=includedir
;;
1304 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1305 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1306 includedir
=$ac_optarg ;;
1308 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1310 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1311 infodir
=$ac_optarg ;;
1313 -libdir |
--libdir |
--libdi |
--libd)
1315 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1316 libdir
=$ac_optarg ;;
1318 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1319 |
--libexe |
--libex |
--libe)
1320 ac_prev
=libexecdir
;;
1321 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1322 |
--libexe=* |
--libex=* |
--libe=*)
1323 libexecdir
=$ac_optarg ;;
1325 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1326 ac_prev
=localedir
;;
1327 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1328 localedir
=$ac_optarg ;;
1330 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1331 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1332 ac_prev
=localstatedir
;;
1333 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1334 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1335 localstatedir
=$ac_optarg ;;
1337 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1339 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1340 mandir
=$ac_optarg ;;
1342 -nfp |
--nfp |
--nf)
1343 # Obsolete; use --without-fp.
1346 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1347 |
--no-cr |
--no-c |
-n)
1350 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1351 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1354 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1355 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1356 |
--oldin |
--oldi |
--old |
--ol |
--o)
1357 ac_prev
=oldincludedir
;;
1358 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1359 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1360 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1361 oldincludedir
=$ac_optarg ;;
1363 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1365 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1366 prefix
=$ac_optarg ;;
1368 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1369 |
--program-pre |
--program-pr |
--program-p)
1370 ac_prev
=program_prefix
;;
1371 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1372 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1373 program_prefix
=$ac_optarg ;;
1375 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1376 |
--program-suf |
--program-su |
--program-s)
1377 ac_prev
=program_suffix
;;
1378 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1379 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1380 program_suffix
=$ac_optarg ;;
1382 -program-transform-name |
--program-transform-name \
1383 |
--program-transform-nam |
--program-transform-na \
1384 |
--program-transform-n |
--program-transform- \
1385 |
--program-transform |
--program-transfor \
1386 |
--program-transfo |
--program-transf \
1387 |
--program-trans |
--program-tran \
1388 |
--progr-tra |
--program-tr |
--program-t)
1389 ac_prev
=program_transform_name
;;
1390 -program-transform-name=* |
--program-transform-name=* \
1391 |
--program-transform-nam=* |
--program-transform-na=* \
1392 |
--program-transform-n=* |
--program-transform-=* \
1393 |
--program-transform=* |
--program-transfor=* \
1394 |
--program-transfo=* |
--program-transf=* \
1395 |
--program-trans=* |
--program-tran=* \
1396 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1397 program_transform_name
=$ac_optarg ;;
1399 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1401 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1402 pdfdir
=$ac_optarg ;;
1404 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1406 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1409 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1410 |
-silent |
--silent |
--silen |
--sile |
--sil)
1413 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1415 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1417 sbindir
=$ac_optarg ;;
1419 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1420 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1421 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1423 ac_prev
=sharedstatedir
;;
1424 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1425 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1426 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1428 sharedstatedir
=$ac_optarg ;;
1430 -site |
--site |
--sit)
1432 -site=* |
--site=* |
--sit=*)
1435 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1437 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1438 srcdir
=$ac_optarg ;;
1440 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1441 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1442 ac_prev
=sysconfdir
;;
1443 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1444 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1445 sysconfdir
=$ac_optarg ;;
1447 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1448 ac_prev
=target_alias
;;
1449 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1450 target_alias
=$ac_optarg ;;
1452 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1455 -version |
--version |
--versio |
--versi |
--vers |
-V)
1456 ac_init_version
=: ;;
1459 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1460 # Reject names that are not valid shell variable names.
1461 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1462 as_fn_error $?
"invalid package name: $ac_useropt"
1463 ac_useropt_orig
=$ac_useropt
1464 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1465 case $ac_user_opts in
1469 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1470 ac_unrecognized_sep
=', ';;
1472 eval with_
$ac_useropt=\
$ac_optarg ;;
1474 -without-* |
--without-*)
1475 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1476 # Reject names that are not valid shell variable names.
1477 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1478 as_fn_error $?
"invalid package name: $ac_useropt"
1479 ac_useropt_orig
=$ac_useropt
1480 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1481 case $ac_user_opts in
1485 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1486 ac_unrecognized_sep
=', ';;
1488 eval with_
$ac_useropt=no
;;
1491 # Obsolete; use --with-x.
1494 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1495 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1496 ac_prev
=x_includes
;;
1497 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1498 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1499 x_includes
=$ac_optarg ;;
1501 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1502 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1503 ac_prev
=x_libraries
;;
1504 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1505 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1506 x_libraries
=$ac_optarg ;;
1508 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1509 Try \`$0 --help' for more information"
1513 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1514 # Reject names that are not valid shell variable names.
1515 case $ac_envvar in #(
1516 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1517 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1519 eval $ac_envvar=\
$ac_optarg
1520 export $ac_envvar ;;
1523 # FIXME: should be removed in autoconf 3.0.
1524 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1525 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1526 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1527 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1533 if test -n "$ac_prev"; then
1534 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1535 as_fn_error $?
"missing argument to $ac_option"
1538 if test -n "$ac_unrecognized_opts"; then
1539 case $enable_option_checking in
1541 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1542 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1546 # Check all directory arguments for consistency.
1547 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1548 datadir sysconfdir sharedstatedir localstatedir includedir \
1549 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1550 libdir localedir mandir
1552 eval ac_val
=\$
$ac_var
1553 # Remove trailing slashes.
1556 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1557 eval $ac_var=\
$ac_val;;
1559 # Be sure to have absolute directory names.
1561 [\\/$
]* | ?
:[\\/]* ) continue;;
1562 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1564 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1567 # There might be people who depend on the old broken behavior: `$host'
1568 # used to hold the argument of --host etc.
1569 # FIXME: To remove some day.
1572 target
=$target_alias
1574 # FIXME: To remove some day.
1575 if test "x$host_alias" != x
; then
1576 if test "x$build_alias" = x
; then
1577 cross_compiling
=maybe
1578 elif test "x$build_alias" != "x$host_alias"; then
1584 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1586 test "$silent" = yes && exec 6>/dev
/null
1589 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1590 ac_ls_di
=`ls -di .` &&
1591 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1592 as_fn_error $?
"working directory cannot be determined"
1593 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1594 as_fn_error $?
"pwd does not report name of working directory"
1597 # Find the source files, if location was not specified.
1598 if test -z "$srcdir"; then
1599 ac_srcdir_defaulted
=yes
1600 # Try the directory containing this script, then the parent directory.
1601 ac_confdir
=`$as_dirname -- "$as_myself" ||
1602 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1603 X"$as_myself" : 'X\(//\)[^/]' \| \
1604 X"$as_myself" : 'X\(//\)$' \| \
1605 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1606 $as_echo X"$as_myself" |
1607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1625 if test ! -r "$srcdir/$ac_unique_file"; then
1629 ac_srcdir_defaulted
=no
1631 if test ! -r "$srcdir/$ac_unique_file"; then
1632 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1633 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1635 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1637 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1639 # When building in place, set srcdir=.
1640 if test "$ac_abs_confdir" = "$ac_pwd"; then
1643 # Remove unnecessary trailing slashes from srcdir.
1644 # Double slashes in file names in object file debugging info
1645 # mess up M-x gdb in Emacs.
1647 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1649 for ac_var
in $ac_precious_vars; do
1650 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1651 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1652 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1653 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1657 # Report the --help message.
1659 if test "$ac_init_help" = "long"; then
1660 # Omit some internal or obsolete options to make the list less imposing.
1661 # This message is too long to be a string in the A/UX 3.1 sh.
1663 \`configure' configures sim 0 to adapt to many kinds of systems.
1665 Usage: $0 [OPTION]... [VAR=VALUE]...
1667 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1668 VAR=VALUE. See below for descriptions of some of the useful variables.
1670 Defaults for the options are specified in brackets.
1673 -h, --help display this help and exit
1674 --help=short display options specific to this package
1675 --help=recursive display the short help of all the included packages
1676 -V, --version display version information and exit
1677 -q, --quiet, --silent do not print \`checking ...' messages
1678 --cache-file=FILE cache test results in FILE [disabled]
1679 -C, --config-cache alias for \`--cache-file=config.cache'
1680 -n, --no-create do not create output files
1681 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1683 Installation directories:
1684 --prefix=PREFIX install architecture-independent files in PREFIX
1685 [$ac_default_prefix]
1686 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1689 By default, \`make install' will install all the files in
1690 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1691 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1692 for instance \`--prefix=\$HOME'.
1694 For better control, use the options below.
1696 Fine tuning of the installation directories:
1697 --bindir=DIR user executables [EPREFIX/bin]
1698 --sbindir=DIR system admin executables [EPREFIX/sbin]
1699 --libexecdir=DIR program executables [EPREFIX/libexec]
1700 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1701 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1702 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1703 --libdir=DIR object code libraries [EPREFIX/lib]
1704 --includedir=DIR C header files [PREFIX/include]
1705 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1706 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1707 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1708 --infodir=DIR info documentation [DATAROOTDIR/info]
1709 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1710 --mandir=DIR man documentation [DATAROOTDIR/man]
1711 --docdir=DIR documentation root [DATAROOTDIR/doc/sim]
1712 --htmldir=DIR html documentation [DOCDIR]
1713 --dvidir=DIR dvi documentation [DOCDIR]
1714 --pdfdir=DIR pdf documentation [DOCDIR]
1715 --psdir=DIR ps documentation [DOCDIR]
1721 --program-prefix=PREFIX prepend PREFIX to installed program names
1722 --program-suffix=SUFFIX append SUFFIX to installed program names
1723 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1726 --build=BUILD configure
for building on BUILD
[guessed
]
1727 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1728 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1732 if test -n "$ac_init_help"; then
1733 case $ac_init_help in
1734 short | recursive
) echo "Configuration of sim 0:";;
1739 --disable-option-checking ignore unrecognized
--enable/--with options
1740 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1741 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1742 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1743 --enable-static[=PKGS
] build static libraries
[default
=yes]
1744 --enable-fast-install[=PKGS
]
1745 optimize
for fast installation
[default
=yes]
1746 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1747 --enable-maintainer-mode
1748 enable make rules and dependencies not useful
(and
1749 sometimes confusing
) to the casual installer
1750 --enable-dependency-tracking
1751 do not reject slow dependency extractors
1752 --disable-dependency-tracking
1753 speeds up one-time build
1754 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1755 --disable-silent-rules verbose build output
(undo
: "make V=0")
1756 --enable-sim Enable the GNU simulator
1757 --enable-example-sims enable example GNU simulators
1758 --enable-targets alternative target configurations
1759 --enable-sim-alignment=align
1760 Specify strict
, nonstrict or forced alignment of
1762 --enable-sim-assert Specify whether to perform random assertions
1763 --enable-cgen-maint=DIR build cgen generated files
1764 --enable-sim-debug=opts Enable debugging flags
(for developers of the sim
1766 --enable-sim-endian=endian
1767 Specify target byte endian orientation
1768 --enable-sim-environment=environment
1769 Specify mixed
, user
, virtual or operating
1771 --enable-sim-hardware Whether to
enable hardware
/device simulation
1772 --enable-sim-inline=inlines
1773 Specify
which functions should be inlined
1774 --enable-sim-profile=opts
1775 Enable profiling flags
1776 --enable-sim-reserved-bits
1777 Specify whether to check reserved bits
in
1779 --enable-sim-scache=size
1780 Specify simulator execution cache size
1781 --enable-sim-smp=n Specify number of processors to configure
for
1783 --enable-sim-stdio Specify whether to use stdio
for console
1785 --enable-sim-trace=opts Enable tracing of simulated programs
1786 --enable-werror treat compile warnings as errors
1787 --enable-build-warnings enable build-time compiler warnings
if gcc is used
1788 --enable-sim-build-warnings
1789 enable SIM specific build-time compiler warnings
if
1791 --enable-sim-frv-trapdump
1792 Make unknown traps dump the registers
1793 --disable-sim-rx-cycle-accurate
1794 Disable cycle accurate simulation
(faster runtime
)
1797 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1798 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1799 --with-pkgversion=PKG Use PKG
in the version string
in place of
"SIM"
1800 --with-bugurl=URL Direct users to URL to report a bug
1801 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1803 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1805 Some influential environment variables
:
1806 CC C compiler
command
1807 CFLAGS C compiler flags
1808 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1809 nonstandard directory
<lib dir
>
1810 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1811 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1812 you have headers
in a nonstandard directory
<include dir
>
1814 PKG_CONFIG path to pkg-config utility
1816 directories to add to pkg-config
's search path
1818 path overriding pkg-config's built-in search path
1819 SDL_CFLAGS C compiler flags
for SDL
, overriding pkg-config
1820 SDL_LIBS linker flags
for SDL
, overriding pkg-config
1821 AS_FOR_TARGET_AARCH64
1822 Assembler
for aarch64 tests
1823 LD_FOR_TARGET_AARCH64
1824 Linker
for aarch64 tests
1825 CC_FOR_TARGET_AARCH64
1826 C compiler
for aarch64 tests
1828 Assembler
for arm tests
1830 Linker
for arm tests
1832 C compiler
for arm tests
1834 Assembler
for avr tests
1836 Linker
for avr tests
1838 C compiler
for avr tests
1840 Assembler
for bfin tests
1842 Linker
for bfin tests
1844 C compiler
for bfin tests
1846 Assembler
for bpf tests
1848 Linker
for bpf tests
1850 C compiler
for bpf tests
1852 Assembler
for cr16 tests
1854 Linker
for cr16 tests
1856 C compiler
for cr16 tests
1858 Assembler
for cris tests
1860 Linker
for cris tests
1862 C compiler
for cris tests
1864 Assembler
for d10v tests
1866 Linker
for d10v tests
1868 C compiler
for d10v tests
1870 Assembler
for frv tests
1872 Linker
for frv tests
1874 C compiler
for frv tests
1876 Assembler
for ft32 tests
1878 Linker
for ft32 tests
1880 C compiler
for ft32 tests
1882 Assembler
for h8300 tests
1884 Linker
for h8300 tests
1886 C compiler
for h8300 tests
1887 AS_FOR_TARGET_IQ2000
1888 Assembler
for iq2000 tests
1889 LD_FOR_TARGET_IQ2000
1890 Linker
for iq2000 tests
1891 CC_FOR_TARGET_IQ2000
1892 C compiler
for iq2000 tests
1894 Assembler
for lm32 tests
1896 Linker
for lm32 tests
1898 C compiler
for lm32 tests
1900 Assembler
for m32c tests
1902 Linker
for m32c tests
1904 C compiler
for m32c tests
1906 Assembler
for m32r tests
1908 Linker
for m32r tests
1910 C compiler
for m32r tests
1911 AS_FOR_TARGET_M68HC11
1912 Assembler
for m68hc11 tests
1913 LD_FOR_TARGET_M68HC11
1914 Linker
for m68hc11 tests
1915 CC_FOR_TARGET_M68HC11
1916 C compiler
for m68hc11 tests
1918 Assembler
for mcore tests
1920 Linker
for mcore tests
1922 C compiler
for mcore tests
1923 AS_FOR_TARGET_MICROBLAZE
1924 Assembler
for microblaze tests
1925 LD_FOR_TARGET_MICROBLAZE
1926 Linker
for microblaze tests
1927 CC_FOR_TARGET_MICROBLAZE
1928 C compiler
for microblaze tests
1930 Assembler
for mips tests
1932 Linker
for mips tests
1934 C compiler
for mips tests
1935 AS_FOR_TARGET_MN10300
1936 Assembler
for mn10300 tests
1937 LD_FOR_TARGET_MN10300
1938 Linker
for mn10300 tests
1939 CC_FOR_TARGET_MN10300
1940 C compiler
for mn10300 tests
1942 Assembler
for moxie tests
1944 Linker
for moxie tests
1946 C compiler
for moxie tests
1947 AS_FOR_TARGET_MSP430
1948 Assembler
for msp430 tests
1949 LD_FOR_TARGET_MSP430
1950 Linker
for msp430 tests
1951 CC_FOR_TARGET_MSP430
1952 C compiler
for msp430 tests
1954 Assembler
for or1k tests
1956 Linker
for or1k tests
1958 C compiler
for or1k tests
1960 Assembler
for ppc tests
1962 Linker
for ppc tests
1964 C compiler
for ppc tests
1966 Assembler
for pru tests
1968 Linker
for pru tests
1970 C compiler
for pru tests
1972 Assembler
for riscv tests
1974 Linker
for riscv tests
1976 C compiler
for riscv tests
1978 Assembler
for rl78 tests
1980 Linker
for rl78 tests
1982 C compiler
for rl78 tests
1984 Assembler
for rx tests
1988 C compiler
for rx tests
1990 Assembler
for sh tests
1994 C compiler
for sh tests
1996 Assembler
for erc32 tests
1998 Linker
for erc32 tests
2000 C compiler
for erc32 tests
2002 Assembler
for v850 tests
2004 Linker
for v850 tests
2006 C compiler
for v850 tests
2007 AS_FOR_TARGET_EXAMPLE_SYNACOR
2008 Assembler
for example-synacor tests
2009 LD_FOR_TARGET_EXAMPLE_SYNACOR
2010 Linker
for example-synacor tests
2011 CC_FOR_TARGET_EXAMPLE_SYNACOR
2012 C compiler
for example-synacor tests
2014 Use these variables to override the choices made by
`configure' or to help
2015 it to find libraries and programs with nonstandard names/locations.
2017 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
2018 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
2023 if test "$ac_init_help" = "recursive"; then
2024 # If there are subdirs, report their specific --help.
2025 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2026 test -d "$ac_dir" ||
2027 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2032 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2034 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
2035 # A ".." for each directory in $ac_dir_suffix.
2036 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
2037 case $ac_top_builddir_sub in
2038 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2039 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2042 ac_abs_top_builddir=$ac_pwd
2043 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2044 # for backward compatibility:
2045 ac_top_builddir=$ac_top_build_prefix
2048 .) # We are building in place.
2050 ac_top_srcdir=$ac_top_builddir_sub
2051 ac_abs_top_srcdir=$ac_pwd ;;
2052 [\\/]* | ?:[\\/]* ) # Absolute name.
2053 ac_srcdir=$srcdir$ac_dir_suffix;
2054 ac_top_srcdir=$srcdir
2055 ac_abs_top_srcdir=$srcdir ;;
2057 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2058 ac_top_srcdir=$ac_top_build_prefix$srcdir
2059 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2061 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2063 cd "$ac_dir" || { ac_status=$?; continue; }
2064 # Check for guested configure.
2065 if test -f "$ac_srcdir/configure.gnu"; then
2067 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2068 elif test -f "$ac_srcdir/configure"; then
2070 $SHELL "$ac_srcdir/configure" --help=recursive
2072 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2074 cd "$ac_pwd" || { ac_status=$?; break; }
2078 test -n "$ac_init_help" && exit $ac_status
2079 if $ac_init_version; then
2082 generated by GNU Autoconf 2.69
2084 Copyright (C) 2012 Free Software Foundation, Inc.
2085 This configure script is free software; the Free Software Foundation
2086 gives unlimited permission to copy, distribute and modify it.
2091 ## ------------------------ ##
2092 ## Autoconf initialization. ##
2093 ## ------------------------ ##
2095 # ac_fn_c_try_compile LINENO
2096 # --------------------------
2097 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2098 ac_fn_c_try_compile ()
2100 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2101 rm -f conftest.$ac_objext
2102 if { { ac_try="$ac_compile"
2104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2105 *) ac_try_echo
=$ac_try;;
2107 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2108 $as_echo "$ac_try_echo"; } >&5
2109 (eval "$ac_compile") 2>conftest.err
2111 if test -s conftest.err
; then
2112 grep -v '^ *+' conftest.err
>conftest.er1
2113 cat conftest.er1
>&5
2114 mv -f conftest.er1 conftest.err
2116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2117 test $ac_status = 0; } && {
2118 test -z "$ac_c_werror_flag" ||
2119 test ! -s conftest.err
2120 } && test -s conftest.
$ac_objext; then :
2123 $as_echo "$as_me: failed program was:" >&5
2124 sed 's/^/| /' conftest.
$ac_ext >&5
2128 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2129 as_fn_set_status
$ac_retval
2131 } # ac_fn_c_try_compile
2133 # ac_fn_c_try_cpp LINENO
2134 # ----------------------
2135 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2138 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2139 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2141 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2142 *) ac_try_echo=$ac_try;;
2144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2145 $as_echo "$ac_try_echo"; } >&5
2146 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2148 if test -s conftest.err; then
2149 grep -v '^ *+' conftest.err >conftest.er1
2150 cat conftest.er1 >&5
2151 mv -f conftest.er1 conftest.err
2153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2154 test $ac_status = 0; } > conftest.i && {
2155 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2156 test ! -s conftest.err
2160 $as_echo "$as_me: failed program was:" >&5
2161 sed 's/^/| /' conftest.$ac_ext >&5
2165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2166 as_fn_set_status $ac_retval
2170 # ac_fn_c_try_run LINENO
2171 # ----------------------
2172 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2173 # that executables *can* be run.
2176 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2177 if { { ac_try="$ac_link"
2179 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2180 *) ac_try_echo
=$ac_try;;
2182 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2183 $as_echo "$ac_try_echo"; } >&5
2184 (eval "$ac_link") 2>&5
2186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2187 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2188 { { case "(($ac_try" in
2189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2190 *) ac_try_echo=$ac_try;;
2192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2193 $as_echo "$ac_try_echo"; } >&5
2194 (eval "$ac_try") 2>&5
2196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2197 test $ac_status = 0; }; }; then :
2200 $as_echo "$as_me: program exited with status $ac_status" >&5
2201 $as_echo "$as_me: failed program was:" >&5
2202 sed 's/^/| /' conftest.$ac_ext >&5
2204 ac_retval=$ac_status
2206 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2207 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2208 as_fn_set_status $ac_retval
2212 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2213 # -------------------------------------------------------
2214 # Tests whether HEADER exists and can be compiled using the include files in
2215 # INCLUDES, setting the cache variable VAR accordingly.
2216 ac_fn_c_check_header_compile ()
2218 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2220 $as_echo_n "checking for $2... " >&6; }
2221 if eval \${$3+:} false; then :
2222 $as_echo_n "(cached) " >&6
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2229 if ac_fn_c_try_compile "$LINENO"; then :
2234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2238 $as_echo "$ac_res" >&6; }
2239 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2241 } # ac_fn_c_check_header_compile
2243 # ac_fn_c_try_link LINENO
2244 # -----------------------
2245 # Try to link conftest.$ac_ext, and return whether this succeeded.
2248 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2249 rm -f conftest.$ac_objext conftest$ac_exeext
2250 if { { ac_try="$ac_link"
2252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2253 *) ac_try_echo
=$ac_try;;
2255 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2256 $as_echo "$ac_try_echo"; } >&5
2257 (eval "$ac_link") 2>conftest.err
2259 if test -s conftest.err
; then
2260 grep -v '^ *+' conftest.err
>conftest.er1
2261 cat conftest.er1
>&5
2262 mv -f conftest.er1 conftest.err
2264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2265 test $ac_status = 0; } && {
2266 test -z "$ac_c_werror_flag" ||
2267 test ! -s conftest.err
2268 } && test -s conftest
$ac_exeext && {
2269 test "$cross_compiling" = yes ||
2270 test -x conftest
$ac_exeext
2274 $as_echo "$as_me: failed program was:" >&5
2275 sed 's/^/| /' conftest.
$ac_ext >&5
2279 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2280 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2281 # interfere with the next link command; also delete a directory that is
2282 # left behind by Apple's compiler. We do this before executing the actions.
2283 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2284 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2285 as_fn_set_status
$ac_retval
2287 } # ac_fn_c_try_link
2289 # ac_fn_c_check_func LINENO FUNC VAR
2290 # ----------------------------------
2291 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2292 ac_fn_c_check_func
()
2294 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2296 $as_echo_n "checking for $2... " >&6; }
2297 if eval \
${$3+:} false
; then :
2298 $as_echo_n "(cached) " >&6
2300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h. */
2302 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2304 #define $2 innocuous_$2
2306 /* System header to define __stub macros and hopefully few prototypes,
2307 which can conflict with char $2 (); below.
2308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2309 <limits.h> exists even on freestanding compilers. */
2312 # include <limits.h>
2314 # include <assert.h>
2319 /* Override any GCC internal prototype to avoid an error.
2320 Use char because int might match the return type of a GCC
2321 builtin and then its argument prototype would still apply. */
2326 /* The GNU C library defines this for functions which it implements
2327 to always fail with ENOSYS. Some functions are actually named
2328 something starting with __ and the normal name is an alias. */
2329 #if defined __stub_$2 || defined __stub___$2
2341 if ac_fn_c_try_link
"$LINENO"; then :
2346 rm -f core conftest.err conftest.
$ac_objext \
2347 conftest
$ac_exeext conftest.
$ac_ext
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2351 $as_echo "$ac_res" >&6; }
2352 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2354 } # ac_fn_c_check_func
2356 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2357 # ----------------------------------------------------
2358 # Tries to find if the field MEMBER exists in type AGGR, after including
2359 # INCLUDES, setting cache variable VAR accordingly.
2360 ac_fn_c_check_member
()
2362 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2364 $as_echo_n "checking for $2.$3... " >&6; }
2365 if eval \
${$4+:} false
; then :
2366 $as_echo_n "(cached) " >&6
2368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2369 /* end confdefs.h. */
2381 if ac_fn_c_try_compile
"$LINENO"; then :
2384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2391 if (sizeof ac_aggr.$3)
2397 if ac_fn_c_try_compile
"$LINENO"; then :
2402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2408 $as_echo "$ac_res" >&6; }
2409 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2411 } # ac_fn_c_check_member
2413 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2414 # ---------------------------------------------
2415 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2417 ac_fn_c_check_decl
()
2419 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2420 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2421 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2423 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2424 if eval \
${$3+:} false
; then :
2425 $as_echo_n "(cached) " >&6
2427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2428 /* end confdefs.h. */
2433 #ifndef $as_decl_name
2435 (void) $as_decl_use;
2437 (void) $as_decl_name;
2445 if ac_fn_c_try_compile
"$LINENO"; then :
2450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2454 $as_echo "$ac_res" >&6; }
2455 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2457 } # ac_fn_c_check_decl
2459 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2460 # -------------------------------------------
2461 # Tests whether TYPE exists after having included INCLUDES, setting cache
2462 # variable VAR accordingly.
2463 ac_fn_c_check_type
()
2465 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2467 $as_echo_n "checking for $2... " >&6; }
2468 if eval \
${$3+:} false
; then :
2469 $as_echo_n "(cached) " >&6
2472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2473 /* end confdefs.h. */
2484 if ac_fn_c_try_compile
"$LINENO"; then :
2485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2486 /* end confdefs.h. */
2497 if ac_fn_c_try_compile
"$LINENO"; then :
2502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2508 $as_echo "$ac_res" >&6; }
2509 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2511 } # ac_fn_c_check_type
2512 cat >config.log
<<_ACEOF
2513 This file contains any messages produced by compilers while
2514 running configure, to aid debugging if configure makes a mistake.
2516 It was created by sim $as_me 0, which was
2517 generated by GNU Autoconf 2.69. Invocation command line was
2529 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2530 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2531 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2532 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2533 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2535 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2536 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2538 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2539 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2540 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2541 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2542 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2543 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2544 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2552 test -z "$as_dir" && as_dir
=.
2553 $as_echo "PATH: $as_dir"
2569 # Keep a trace of the command line.
2570 # Strip out --no-create and --no-recursion so they do not pile up.
2571 # Strip out --silent because we don't want to record it for future runs.
2572 # Also quote any args containing shell meta-characters.
2573 # Make two passes to allow for proper duplicate-argument suppression.
2577 ac_must_keep_next
=false
2583 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2584 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2585 |
-silent |
--silent |
--silen |
--sile |
--sil)
2588 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2591 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2593 as_fn_append ac_configure_args1
" '$ac_arg'"
2594 if test $ac_must_keep_next = true
; then
2595 ac_must_keep_next
=false
# Got value, back to normal.
2598 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2599 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2600 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2601 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2602 case "$ac_configure_args0 " in
2603 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2606 -* ) ac_must_keep_next
=true
;;
2609 as_fn_append ac_configure_args
" '$ac_arg'"
2614 { ac_configure_args0
=; unset ac_configure_args0
;}
2615 { ac_configure_args1
=; unset ac_configure_args1
;}
2617 # When interrupted or exit'd, cleanup temporary files, and complete
2618 # config.log. We remove comments because anyway the quotes in there
2619 # would cause problems or look ugly.
2620 # WARNING: Use '\'' to represent an apostrophe within the trap.
2621 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2622 trap 'exit_status=$?
2623 # Save into config.log some information that might help in debugging.
2627 $as_echo "## ---------------- ##
2628 ## Cache variables. ##
2629 ## ---------------- ##"
2631 # The following way of writing the cache mishandles newlines in values,
2633 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2634 eval ac_val=\$$ac_var
2638 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2639 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2642 _ | IFS | as_nl) ;; #(
2643 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2644 *) { eval $ac_var=; unset $ac_var;} ;;
2649 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2650 *${as_nl}ac_space=\ *)
2652 "s/'\''/'\''\\\\'\'''\''/g;
2653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2656 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2663 $as_echo "## ----------------- ##
2664 ## Output variables. ##
2665 ## ----------------- ##"
2667 for ac_var in $ac_subst_vars
2669 eval ac_val=\$$ac_var
2671 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2673 $as_echo "$ac_var='\''$ac_val'\''"
2677 if test -n "$ac_subst_files"; then
2678 $as_echo "## ------------------- ##
2679 ## File substitutions. ##
2680 ## ------------------- ##"
2682 for ac_var
in $ac_subst_files
2684 eval ac_val
=\$
$ac_var
2686 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2688 $as_echo "$ac_var='\''$ac_val'\''"
2693 if test -s confdefs.h; then
2694 $as_echo "## ----------- ##
2701 test "$ac_signal" != 0 &&
2702 $as_echo "$as_me: caught signal $ac_signal"
2703 $as_echo "$as_me: exit $exit_status"
2705 rm -f core *.core core.conftest.* &&
2706 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2709 for ac_signal
in 1 2 13 15; do
2710 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2714 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2715 rm -f -r conftest
* confdefs.h
2717 $as_echo "/* confdefs.h */" > confdefs.h
2719 # Predefined preprocessor variables.
2721 cat >>confdefs.h
<<_ACEOF
2722 #define PACKAGE_NAME "$PACKAGE_NAME"
2725 cat >>confdefs.h
<<_ACEOF
2726 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2729 cat >>confdefs.h
<<_ACEOF
2730 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2733 cat >>confdefs.h
<<_ACEOF
2734 #define PACKAGE_STRING "$PACKAGE_STRING"
2737 cat >>confdefs.h
<<_ACEOF
2738 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2741 cat >>confdefs.h
<<_ACEOF
2742 #define PACKAGE_URL "$PACKAGE_URL"
2746 # Let the site file select an alternate cache file if it wants to.
2747 # Prefer an explicitly selected file to automatically selected ones.
2750 if test -n "$CONFIG_SITE"; then
2751 # We do not want a PATH search for config.site.
2752 case $CONFIG_SITE in #((
2753 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2754 */*) ac_site_file1
=$CONFIG_SITE;;
2755 *) ac_site_file1
=.
/$CONFIG_SITE;;
2757 elif test "x$prefix" != xNONE
; then
2758 ac_site_file1
=$prefix/share
/config.site
2759 ac_site_file2
=$prefix/etc
/config.site
2761 ac_site_file1
=$ac_default_prefix/share
/config.site
2762 ac_site_file2
=$ac_default_prefix/etc
/config.site
2764 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2766 test "x$ac_site_file" = xNONE
&& continue
2767 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2769 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2770 sed 's/^/| /' "$ac_site_file" >&5
2772 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2774 as_fn_error $?
"failed to load site script $ac_site_file
2775 See \`config.log' for more details" "$LINENO" 5; }
2779 if test -r "$cache_file"; then
2780 # Some versions of bash will fail to source /dev/null (special files
2781 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2782 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2784 $as_echo "$as_me: loading cache $cache_file" >&6;}
2786 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2787 *) .
"./$cache_file";;
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2792 $as_echo "$as_me: creating cache $cache_file" >&6;}
2796 as_fn_append ac_header_list
" dlfcn.h"
2797 as_fn_append ac_header_list
" fcntl.h"
2798 as_fn_append ac_header_list
" fpu_control.h"
2799 as_fn_append ac_header_list
" termios.h"
2800 as_fn_append ac_header_list
" utime.h"
2801 as_fn_append ac_header_list
" linux/if_tun.h"
2802 as_fn_append ac_header_list
" linux/mii.h"
2803 as_fn_append ac_header_list
" linux/types.h"
2804 as_fn_append ac_header_list
" net/if.h"
2805 as_fn_append ac_header_list
" netinet/in.h"
2806 as_fn_append ac_header_list
" netinet/tcp.h"
2807 as_fn_append ac_header_list
" sys/ioctl.h"
2808 as_fn_append ac_header_list
" sys/mman.h"
2809 as_fn_append ac_header_list
" sys/mount.h"
2810 as_fn_append ac_header_list
" sys/param.h"
2811 as_fn_append ac_header_list
" sys/resource.h"
2812 as_fn_append ac_header_list
" sys/socket.h"
2813 as_fn_append ac_header_list
" sys/statfs.h"
2814 as_fn_append ac_header_list
" sys/termio.h"
2815 as_fn_append ac_header_list
" sys/termios.h"
2816 as_fn_append ac_header_list
" sys/types.h"
2817 as_fn_append ac_header_list
" sys/vfs.h"
2818 as_fn_append ac_func_list
" __setfpucw"
2819 as_fn_append ac_func_list
" access"
2820 as_fn_append ac_func_list
" aint"
2821 as_fn_append ac_func_list
" anint"
2822 as_fn_append ac_func_list
" cfgetispeed"
2823 as_fn_append ac_func_list
" cfgetospeed"
2824 as_fn_append ac_func_list
" cfsetispeed"
2825 as_fn_append ac_func_list
" cfsetospeed"
2826 as_fn_append ac_func_list
" chdir"
2827 as_fn_append ac_func_list
" chmod"
2828 as_fn_append ac_func_list
" dup"
2829 as_fn_append ac_func_list
" dup2"
2830 as_fn_append ac_func_list
" execv"
2831 as_fn_append ac_func_list
" execve"
2832 as_fn_append ac_func_list
" fcntl"
2833 as_fn_append ac_func_list
" fork"
2834 as_fn_append ac_func_list
" fstat"
2835 as_fn_append ac_func_list
" fstatfs"
2836 as_fn_append ac_func_list
" ftruncate"
2837 as_fn_append ac_func_list
" getdirentries"
2838 as_fn_append ac_func_list
" getegid"
2839 as_fn_append ac_func_list
" geteuid"
2840 as_fn_append ac_func_list
" getgid"
2841 as_fn_append ac_func_list
" getpid"
2842 as_fn_append ac_func_list
" getppid"
2843 as_fn_append ac_func_list
" getrusage"
2844 as_fn_append ac_func_list
" gettimeofday"
2845 as_fn_append ac_func_list
" getuid"
2846 as_fn_append ac_func_list
" ioctl"
2847 as_fn_append ac_func_list
" kill"
2848 as_fn_append ac_func_list
" link"
2849 as_fn_append ac_func_list
" lseek"
2850 as_fn_append ac_func_list
" lstat"
2851 as_fn_append ac_func_list
" mkdir"
2852 as_fn_append ac_func_list
" mmap"
2853 as_fn_append ac_func_list
" munmap"
2854 as_fn_append ac_func_list
" pipe"
2855 as_fn_append ac_func_list
" posix_fallocate"
2856 as_fn_append ac_func_list
" pread"
2857 as_fn_append ac_func_list
" rmdir"
2858 as_fn_append ac_func_list
" setregid"
2859 as_fn_append ac_func_list
" setreuid"
2860 as_fn_append ac_func_list
" setgid"
2861 as_fn_append ac_func_list
" setuid"
2862 as_fn_append ac_func_list
" sigaction"
2863 as_fn_append ac_func_list
" sigprocmask"
2864 as_fn_append ac_func_list
" sqrt"
2865 as_fn_append ac_func_list
" stat"
2866 as_fn_append ac_func_list
" strsignal"
2867 as_fn_append ac_func_list
" symlink"
2868 as_fn_append ac_func_list
" tcdrain"
2869 as_fn_append ac_func_list
" tcflow"
2870 as_fn_append ac_func_list
" tcflush"
2871 as_fn_append ac_func_list
" tcgetattr"
2872 as_fn_append ac_func_list
" tcgetpgrp"
2873 as_fn_append ac_func_list
" tcsendbreak"
2874 as_fn_append ac_func_list
" tcsetattr"
2875 as_fn_append ac_func_list
" tcsetpgrp"
2876 as_fn_append ac_func_list
" time"
2877 as_fn_append ac_func_list
" truncate"
2878 as_fn_append ac_func_list
" umask"
2879 as_fn_append ac_func_list
" unlink"
2880 as_fn_append ac_func_list
" utime"
2881 # Check that the precious variables saved in the cache have kept the same
2883 ac_cache_corrupted
=false
2884 for ac_var
in $ac_precious_vars; do
2885 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2886 eval ac_new_set
=\
$ac_env_${ac_var}_set
2887 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2888 eval ac_new_val
=\
$ac_env_${ac_var}_value
2889 case $ac_old_set,$ac_new_set in
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2892 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2893 ac_cache_corrupted
=: ;;
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2896 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2897 ac_cache_corrupted
=: ;;
2900 if test "x$ac_old_val" != "x$ac_new_val"; then
2901 # differences in whitespace do not lead to failure.
2902 ac_old_val_w
=`echo x $ac_old_val`
2903 ac_new_val_w
=`echo x $ac_new_val`
2904 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2906 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2907 ac_cache_corrupted
=:
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2910 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2911 eval $ac_var=\
$ac_old_val
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2914 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2916 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2919 # Pass precious variables to config.status.
2920 if test "$ac_new_set" = set; then
2922 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2923 *) ac_arg
=$ac_var=$ac_new_val ;;
2925 case " $ac_configure_args " in
2926 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2927 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2931 if $ac_cache_corrupted; then
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2935 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2936 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2938 ## -------------------- ##
2939 ## Main body of script. ##
2940 ## -------------------- ##
2943 ac_cpp
='$CPP $CPPFLAGS'
2944 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2945 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2946 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2955 # Check whether --with-pkgversion was given.
2956 if test "${with_pkgversion+set}" = set; then :
2957 withval
=$with_pkgversion; case "$withval" in
2958 yes) as_fn_error $?
"package version not specified" "$LINENO" 5 ;;
2960 *) PKGVERSION
="($withval) " ;;
2970 cat >>confdefs.h
<<_ACEOF
2971 #define PKGVERSION "$PKGVERSION"
2976 # Check whether --with-bugurl was given.
2977 if test "${with_bugurl+set}" = set; then :
2978 withval
=$with_bugurl; case "$withval" in
2979 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
2982 *) BUGURL
="$withval"
2986 BUGURL
="$PACKAGE_BUGREPORT"
2996 REPORT_BUGS_TO
="<$BUGURL>"
2997 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
3004 cat >>confdefs.h
<<_ACEOF
3005 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
3009 ac_config_headers
="$ac_config_headers config.h"
3013 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3014 if test -f "$ac_dir/install-sh"; then
3016 ac_install_sh
="$ac_aux_dir/install-sh -c"
3018 elif test -f "$ac_dir/install.sh"; then
3020 ac_install_sh
="$ac_aux_dir/install.sh -c"
3022 elif test -f "$ac_dir/shtool"; then
3024 ac_install_sh
="$ac_aux_dir/shtool install -c"
3028 if test -z "$ac_aux_dir"; then
3029 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3032 # These three variables are undocumented and unsupported,
3033 # and are intended to be withdrawn in a future Autoconf release.
3034 # They can cause serious problems if a builder's source tree is in a directory
3035 # whose full name contains unusual characters.
3036 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3037 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3038 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3041 # Make sure we can run config.sub.
3042 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3043 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3046 $as_echo_n "checking build system type... " >&6; }
3047 if ${ac_cv_build+:} false
; then :
3048 $as_echo_n "(cached) " >&6
3050 ac_build_alias
=$build_alias
3051 test "x$ac_build_alias" = x
&&
3052 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3053 test "x$ac_build_alias" = x
&&
3054 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3055 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3056 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3060 $as_echo "$ac_cv_build" >&6; }
3061 case $ac_cv_build in
3063 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3066 ac_save_IFS
=$IFS; IFS
='-'
3072 # Remember, the first character of IFS is used to create $*,
3073 # except with old shells:
3076 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3080 $as_echo_n "checking host system type... " >&6; }
3081 if ${ac_cv_host+:} false
; then :
3082 $as_echo_n "(cached) " >&6
3084 if test "x$host_alias" = x
; then
3085 ac_cv_host
=$ac_cv_build
3087 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3088 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3093 $as_echo "$ac_cv_host" >&6; }
3096 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3099 ac_save_IFS
=$IFS; IFS
='-'
3105 # Remember, the first character of IFS is used to create $*,
3106 # except with old shells:
3109 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3113 $as_echo_n "checking target system type... " >&6; }
3114 if ${ac_cv_target+:} false
; then :
3115 $as_echo_n "(cached) " >&6
3117 if test "x$target_alias" = x
; then
3118 ac_cv_target
=$ac_cv_host
3120 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3121 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3126 $as_echo "$ac_cv_target" >&6; }
3127 case $ac_cv_target in
3129 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
3131 target
=$ac_cv_target
3132 ac_save_IFS
=$IFS; IFS
='-'
3138 # Remember, the first character of IFS is used to create $*,
3139 # except with old shells:
3142 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3145 # The aliases save the names the user supplied, while $host etc.
3146 # will get canonicalized.
3147 test -n "$target_alias" &&
3148 test "$program_prefix$program_suffix$program_transform_name" = \
3150 program_prefix
=${target_alias}-
3151 # Expand $ac_aux_dir to an absolute path.
3152 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3155 ac_cpp
='$CPP $CPPFLAGS'
3156 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3157 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3158 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3159 if test -n "$ac_tool_prefix"; then
3160 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3161 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163 $as_echo_n "checking for $ac_word... " >&6; }
3164 if ${ac_cv_prog_CC+:} false
; then :
3165 $as_echo_n "(cached) " >&6
3167 if test -n "$CC"; then
3168 ac_cv_prog_CC
="$CC" # Let the user override the test.
3170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3174 test -z "$as_dir" && as_dir
=.
3175 for ac_exec_ext
in '' $ac_executable_extensions; do
3176 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3177 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 if test -n "$CC"; then
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3190 $as_echo "$CC" >&6; }
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3193 $as_echo "no" >&6; }
3198 if test -z "$ac_cv_prog_CC"; then
3200 # Extract the first word of "gcc", so it can be a program name with args.
3201 set dummy gcc
; ac_word
=$2
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3203 $as_echo_n "checking for $ac_word... " >&6; }
3204 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3205 $as_echo_n "(cached) " >&6
3207 if test -n "$ac_ct_CC"; then
3208 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3214 test -z "$as_dir" && as_dir
=.
3215 for ac_exec_ext
in '' $ac_executable_extensions; do
3216 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3217 ac_cv_prog_ac_ct_CC
="gcc"
3218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3228 if test -n "$ac_ct_CC"; then
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3230 $as_echo "$ac_ct_CC" >&6; }
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3233 $as_echo "no" >&6; }
3236 if test "x$ac_ct_CC" = x
; then
3239 case $cross_compiling:$ac_tool_warned in
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3243 ac_tool_warned
=yes ;;
3251 if test -z "$CC"; then
3252 if test -n "$ac_tool_prefix"; then
3253 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3254 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256 $as_echo_n "checking for $ac_word... " >&6; }
3257 if ${ac_cv_prog_CC+:} false
; then :
3258 $as_echo_n "(cached) " >&6
3260 if test -n "$CC"; then
3261 ac_cv_prog_CC
="$CC" # Let the user override the test.
3263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3267 test -z "$as_dir" && as_dir
=.
3268 for ac_exec_ext
in '' $ac_executable_extensions; do
3269 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3270 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 if test -n "$CC"; then
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3283 $as_echo "$CC" >&6; }
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3292 if test -z "$CC"; then
3293 # Extract the first word of "cc", so it can be a program name with args.
3294 set dummy cc
; ac_word
=$2
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3296 $as_echo_n "checking for $ac_word... " >&6; }
3297 if ${ac_cv_prog_CC+:} false
; then :
3298 $as_echo_n "(cached) " >&6
3300 if test -n "$CC"; then
3301 ac_cv_prog_CC
="$CC" # Let the user override the test.
3304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3308 test -z "$as_dir" && as_dir
=.
3309 for ac_exec_ext
in '' $ac_executable_extensions; do
3310 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3311 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3312 ac_prog_rejected
=yes
3316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3323 if test $ac_prog_rejected = yes; then
3324 # We found a bogon in the path, so make sure we never use it.
3325 set dummy
$ac_cv_prog_CC
3327 if test $# != 0; then
3328 # We chose a different compiler from the bogus one.
3329 # However, it has the same basename, so the bogon will be chosen
3330 # first if we set CC to just the basename; use the full file name.
3332 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3338 if test -n "$CC"; then
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3340 $as_echo "$CC" >&6; }
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3348 if test -z "$CC"; then
3349 if test -n "$ac_tool_prefix"; then
3350 for ac_prog
in cl.exe
3352 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3353 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if ${ac_cv_prog_CC+:} false
; then :
3357 $as_echo_n "(cached) " >&6
3359 if test -n "$CC"; then
3360 ac_cv_prog_CC
="$CC" # Let the user override the test.
3362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3366 test -z "$as_dir" && as_dir
=.
3367 for ac_exec_ext
in '' $ac_executable_extensions; do
3368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3369 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3380 if test -n "$CC"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3382 $as_echo "$CC" >&6; }
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3389 test -n "$CC" && break
3392 if test -z "$CC"; then
3394 for ac_prog
in cl.exe
3396 # Extract the first word of "$ac_prog", so it can be a program name with args.
3397 set dummy
$ac_prog; ac_word
=$2
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3399 $as_echo_n "checking for $ac_word... " >&6; }
3400 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3401 $as_echo_n "(cached) " >&6
3403 if test -n "$ac_ct_CC"; then
3404 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3410 test -z "$as_dir" && as_dir
=.
3411 for ac_exec_ext
in '' $ac_executable_extensions; do
3412 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3413 ac_cv_prog_ac_ct_CC
="$ac_prog"
3414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3423 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3424 if test -n "$ac_ct_CC"; then
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3426 $as_echo "$ac_ct_CC" >&6; }
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3429 $as_echo "no" >&6; }
3433 test -n "$ac_ct_CC" && break
3436 if test "x$ac_ct_CC" = x
; then
3439 case $cross_compiling:$ac_tool_warned in
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3443 ac_tool_warned
=yes ;;
3452 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3454 as_fn_error $?
"no acceptable C compiler found in \$PATH
3455 See \`config.log' for more details" "$LINENO" 5; }
3457 # Provide some information about the compiler.
3458 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3461 for ac_option
in --version -v -V -qversion; do
3462 { { ac_try
="$ac_compiler $ac_option >&5"
3464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3465 *) ac_try_echo=$ac_try;;
3467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3468 $as_echo "$ac_try_echo"; } >&5
3469 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3471 if test -s conftest.err; then
3473 ... rest of stderr output deleted ...
3474 10q' conftest.err >conftest.er1
3475 cat conftest.er1 >&5
3477 rm -f conftest.er1 conftest.err
3478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3479 test $ac_status = 0; }
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3493 ac_clean_files_save=$ac_clean_files
3494 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3495 # Try to create an executable without -o first, disregard a.out.
3496 # It will help us diagnose broken compilers, and finding out an intuition
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3499 $as_echo_n "checking whether the C compiler works... " >&6; }
3500 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3502 # The possible output files:
3503 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3506 for ac_file in $ac_files
3509 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3510 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3515 if { { ac_try="$ac_link_default"
3517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3518 *) ac_try_echo
=$ac_try;;
3520 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3521 $as_echo "$ac_try_echo"; } >&5
3522 (eval "$ac_link_default") 2>&5
3524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3525 test $ac_status = 0; }; then :
3526 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3527 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3528 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3529 # so that the user can short-circuit this test for compilers unknown to
3531 for ac_file
in $ac_files ''
3533 test -f "$ac_file" ||
continue
3535 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3538 # We found the default executable, but exeext='' is most
3542 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3544 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3546 # We set ac_cv_exeext here because the later test for it is not
3547 # safe: cross compilers may not add the suffix if given an `-o'
3548 # argument, so we may need to know it at that point already.
3549 # Even if this section looks crufty: it has the advantage of
3556 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3561 if test -z "$ac_file"; then :
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3563 $as_echo "no" >&6; }
3564 $as_echo "$as_me: failed program was:" >&5
3565 sed 's/^/| /' conftest.
$ac_ext >&5
3567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3569 as_fn_error
77 "C compiler cannot create executables
3570 See \`config.log' for more details" "$LINENO" 5; }
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3573 $as_echo "yes" >&6; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3576 $as_echo_n "checking for C compiler default output file name... " >&6; }
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3578 $as_echo "$ac_file" >&6; }
3579 ac_exeext
=$ac_cv_exeext
3581 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3582 ac_clean_files
=$ac_clean_files_save
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3584 $as_echo_n "checking for suffix of executables... " >&6; }
3585 if { { ac_try
="$ac_link"
3587 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3588 *) ac_try_echo=$ac_try;;
3590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3591 $as_echo "$ac_try_echo"; } >&5
3592 (eval "$ac_link") 2>&5
3594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3595 test $ac_status = 0; }; then :
3596 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3597 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3598 # work properly (i.e., refer to `conftest.exe'), while it won't with
3600 for ac_file
in conftest.exe conftest conftest.
*; do
3601 test -f "$ac_file" ||
continue
3603 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3604 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3610 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3612 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3613 See \`config.log' for more details" "$LINENO" 5; }
3615 rm -f conftest conftest
$ac_cv_exeext
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3617 $as_echo "$ac_cv_exeext" >&6; }
3619 rm -f conftest.
$ac_ext
3620 EXEEXT
=$ac_cv_exeext
3622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h. */
3628 FILE *f = fopen ("conftest.out", "w");
3629 return ferror (f) || fclose (f) != 0;
3635 ac_clean_files
="$ac_clean_files conftest.out"
3636 # Check that the compiler produces executables we can run. If not, either
3637 # the compiler is broken, or we cross compile.
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3639 $as_echo_n "checking whether we are cross compiling... " >&6; }
3640 if test "$cross_compiling" != yes; then
3641 { { ac_try
="$ac_link"
3643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3644 *) ac_try_echo=$ac_try;;
3646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3647 $as_echo "$ac_try_echo"; } >&5
3648 (eval "$ac_link") 2>&5
3650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3651 test $ac_status = 0; }
3652 if { ac_try='./conftest$ac_cv_exeext'
3653 { { case "(($ac_try" in
3654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3655 *) ac_try_echo
=$ac_try;;
3657 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3658 $as_echo "$ac_try_echo"; } >&5
3659 (eval "$ac_try") 2>&5
3661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3662 test $ac_status = 0; }; }; then
3665 if test "$cross_compiling" = maybe
; then
3668 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3670 as_fn_error $?
"cannot run C compiled programs.
3671 If you meant to cross compile, use \`--host'.
3672 See \`config.log' for more details" "$LINENO" 5; }
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3677 $as_echo "$cross_compiling" >&6; }
3679 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3680 ac_clean_files
=$ac_clean_files_save
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3682 $as_echo_n "checking for suffix of object files... " >&6; }
3683 if ${ac_cv_objext+:} false
; then :
3684 $as_echo_n "(cached) " >&6
3686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3697 rm -f conftest.o conftest.obj
3698 if { { ac_try
="$ac_compile"
3700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3701 *) ac_try_echo=$ac_try;;
3703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3704 $as_echo "$ac_try_echo"; } >&5
3705 (eval "$ac_compile") 2>&5
3707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3708 test $ac_status = 0; }; then :
3709 for ac_file in conftest.o conftest.obj conftest.*; do
3710 test -f "$ac_file" || continue;
3712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3713 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3718 $as_echo "$as_me: failed program was:" >&5
3719 sed 's/^/| /' conftest.$ac_ext >&5
3721 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3723 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3724 See \
`config.log' for more details" "$LINENO" 5; }
3726 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3729 $as_echo "$ac_cv_objext" >&6; }
3730 OBJEXT=$ac_cv_objext
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3733 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3734 if ${ac_cv_c_compiler_gnu+:} false; then :
3735 $as_echo_n "(cached) " >&6
3737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738 /* end confdefs.h. */
3751 if ac_fn_c_try_compile "$LINENO"; then :
3756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3757 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3761 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3762 if test $ac_compiler_gnu = yes; then
3767 ac_test_CFLAGS=${CFLAGS+set}
3768 ac_save_CFLAGS=$CFLAGS
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3770 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3771 if ${ac_cv_prog_cc_g+:} false; then :
3772 $as_echo_n "(cached) " >&6
3774 ac_save_c_werror_flag=$ac_c_werror_flag
3775 ac_c_werror_flag=yes
3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h. */
3789 if ac_fn_c_try_compile "$LINENO"; then :
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3804 if ac_fn_c_try_compile "$LINENO"; then :
3807 ac_c_werror_flag=$ac_save_c_werror_flag
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3820 if ac_fn_c_try_compile "$LINENO"; then :
3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3828 ac_c_werror_flag=$ac_save_c_werror_flag
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3831 $as_echo "$ac_cv_prog_cc_g" >&6; }
3832 if test "$ac_test_CFLAGS" = set; then
3833 CFLAGS=$ac_save_CFLAGS
3834 elif test $ac_cv_prog_cc_g = yes; then
3835 if test "$GCC" = yes; then
3841 if test "$GCC" = yes; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3848 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3849 if ${ac_cv_prog_cc_c89+:} false; then :
3850 $as_echo_n "(cached) " >&6
3852 ac_cv_prog_cc_c89=no
3854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h. */
3859 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3860 struct buf { int x; };
3861 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3862 static char *e (p, i)
3868 static char *f (char * (*g) (char **, int), char **p, ...)
3873 s = g (p, va_arg (v,int));
3878 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3879 function prototypes and stuff, but not '\xHH' hex character constants.
3880 These don't provoke an error unfortunately, instead are silently treated
3881 as 'x'. The following induces an error, until -std is added to get
3882 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3883 array size at least. It's necessary to write '\x00'==0 to get something
3884 that's true only with -std. */
3885 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3887 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3888 inside strings and character constants. */
3890 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3892 int test (int i, double x);
3893 struct s1 {int (*f) (int a);};
3894 struct s2 {int (*f) (double a);};
3895 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3901 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3906 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3907 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3909 CC="$ac_save_CC $ac_arg"
3910 if ac_fn_c_try_compile "$LINENO"; then :
3911 ac_cv_prog_cc_c89=$ac_arg
3913 rm -f core conftest.err conftest.$ac_objext
3914 test "x$ac_cv_prog_cc_c89" != "xno" && break
3916 rm -f conftest.$ac_ext
3921 case "x$ac_cv_prog_cc_c89" in
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3924 $as_echo "none needed" >&6; } ;;
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3927 $as_echo "unsupported" >&6; } ;;
3929 CC="$CC $ac_cv_prog_cc_c89"
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3931 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3933 if test "x$ac_cv_prog_cc_c89" != xno; then :
3938 ac_cpp='$CPP $CPPFLAGS'
3939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944 ac_cpp='$CPP $CPPFLAGS'
3945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3949 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3950 if ${am_cv_prog_cc_c_o+:} false; then :
3951 $as_echo_n "(cached) " >&6
3953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3964 # Make sure it works both with $CC and with simple cc.
3965 # Following AC_PROG_CC_C_O, we do the test twice because some
3966 # compilers refuse to overwrite an existing .o file with -o,
3967 # though they will create one.
3968 am_cv_prog_cc_c_o=yes
3970 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3971 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); } \
3975 && test -f conftest2.$ac_objext; then
3978 am_cv_prog_cc_c_o=no
3982 rm -f core conftest*
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3986 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3987 if test "$am_cv_prog_cc_c_o" != yes; then
3988 # Losing compiler, so override with the script.
3989 # FIXME: It is wrong to rewrite CC.
3990 # But if we don't then we get into trouble of one sort or another.
3991 # A longer-term fix would be to have automake use am__CC in this case,
3992 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3993 CC="$am_aux_dir/compile $CC"
3996 ac_cpp='$CPP $CPPFLAGS'
3997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4003 ac_cpp='$CPP $CPPFLAGS'
4004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4008 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4009 # On Suns, sometimes $CPP names a directory.
4010 if test -n "$CPP" && test -d "$CPP"; then
4013 if test -z "$CPP"; then
4014 if ${ac_cv_prog_CPP+:} false; then :
4015 $as_echo_n "(cached) " >&6
4017 # Double quotes because CPP needs to be expanded
4018 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4021 for ac_c_preproc_warn_flag in '' yes
4023 # Use a header file that comes with gcc, so configuring glibc
4024 # with a fresh cross-compiler works.
4025 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4026 # <limits.h> exists even on freestanding compilers.
4027 # On the NeXT, cc -E runs the code through the compiler's parser,
4028 # not just through cpp. "Syntax error" is here to catch this case.
4029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4030 /* end confdefs.h. */
4032 # include <limits.h>
4034 # include <assert.h>
4038 if ac_fn_c_try_cpp "$LINENO"; then :
4041 # Broken: fails on valid input.
4044 rm -f conftest.err conftest.i conftest.$ac_ext
4046 # OK, works on sane cases. Now check whether nonexistent headers
4047 # can be detected and how.
4048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4050 #include <ac_nonexistent.h>
4052 if ac_fn_c_try_cpp "$LINENO"; then :
4053 # Broken: success on invalid input.
4056 # Passes both tests.
4060 rm -f conftest.err conftest.i conftest.$ac_ext
4063 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4064 rm -f conftest.i conftest.err conftest.
$ac_ext
4065 if $ac_preproc_ok; then :
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4078 $as_echo "$CPP" >&6; }
4080 for ac_c_preproc_warn_flag
in '' yes
4082 # Use a header file that comes with gcc, so configuring glibc
4083 # with a fresh cross-compiler works.
4084 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4085 # <limits.h> exists even on freestanding compilers.
4086 # On the NeXT, cc -E runs the code through the compiler's parser,
4087 # not just through cpp. "Syntax error" is here to catch this case.
4088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4091 # include <limits.h>
4093 # include <assert.h>
4097 if ac_fn_c_try_cpp
"$LINENO"; then :
4100 # Broken: fails on valid input.
4103 rm -f conftest.err conftest.i conftest.
$ac_ext
4105 # OK, works on sane cases. Now check whether nonexistent headers
4106 # can be detected and how.
4107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h. */
4109 #include <ac_nonexistent.h>
4111 if ac_fn_c_try_cpp
"$LINENO"; then :
4112 # Broken: success on invalid input.
4115 # Passes both tests.
4119 rm -f conftest.err conftest.i conftest.
$ac_ext
4122 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4123 rm -f conftest.i conftest.err conftest.
$ac_ext
4124 if $ac_preproc_ok; then :
4127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4129 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4130 See \`config.log' for more details" "$LINENO" 5; }
4134 ac_cpp
='$CPP $CPPFLAGS'
4135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4142 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4143 if ${ac_cv_path_GREP+:} false
; then :
4144 $as_echo_n "(cached) " >&6
4146 if test -z "$GREP"; then
4147 ac_path_GREP_found
=false
4148 # Loop through the user's path and test for each of PROGNAME-LIST
4149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4150 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4153 test -z "$as_dir" && as_dir
=.
4154 for ac_prog
in grep ggrep
; do
4155 for ac_exec_ext
in '' $ac_executable_extensions; do
4156 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4157 as_fn_executable_p
"$ac_path_GREP" ||
continue
4158 # Check for GNU ac_path_GREP and select it if it is found.
4159 # Check for GNU $ac_path_GREP
4160 case `"$ac_path_GREP" --version 2>&1` in
4162 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4165 $as_echo_n 0123456789 >"conftest.in"
4168 cat "conftest.in" "conftest.in" >"conftest.tmp"
4169 mv "conftest.tmp" "conftest.in"
4170 cp "conftest.in" "conftest.nl"
4171 $as_echo 'GREP' >> "conftest.nl"
4172 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4173 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4174 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4175 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4176 # Best one so far, save it but keep looking for a better one
4177 ac_cv_path_GREP
="$ac_path_GREP"
4178 ac_path_GREP_max
=$ac_count
4180 # 10*(2^10) chars as input seems more than enough
4181 test $ac_count -gt 10 && break
4183 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4186 $ac_path_GREP_found && break 3
4191 if test -z "$ac_cv_path_GREP"; then
4192 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4195 ac_cv_path_GREP
=$GREP
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4200 $as_echo "$ac_cv_path_GREP" >&6; }
4201 GREP
="$ac_cv_path_GREP"
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4205 $as_echo_n "checking for egrep... " >&6; }
4206 if ${ac_cv_path_EGREP+:} false
; then :
4207 $as_echo_n "(cached) " >&6
4209 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4210 then ac_cv_path_EGREP
="$GREP -E"
4212 if test -z "$EGREP"; then
4213 ac_path_EGREP_found
=false
4214 # Loop through the user's path and test for each of PROGNAME-LIST
4215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4216 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4219 test -z "$as_dir" && as_dir
=.
4220 for ac_prog
in egrep; do
4221 for ac_exec_ext
in '' $ac_executable_extensions; do
4222 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4223 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4224 # Check for GNU ac_path_EGREP and select it if it is found.
4225 # Check for GNU $ac_path_EGREP
4226 case `"$ac_path_EGREP" --version 2>&1` in
4228 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4231 $as_echo_n 0123456789 >"conftest.in"
4234 cat "conftest.in" "conftest.in" >"conftest.tmp"
4235 mv "conftest.tmp" "conftest.in"
4236 cp "conftest.in" "conftest.nl"
4237 $as_echo 'EGREP' >> "conftest.nl"
4238 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4239 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4240 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4241 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4242 # Best one so far, save it but keep looking for a better one
4243 ac_cv_path_EGREP
="$ac_path_EGREP"
4244 ac_path_EGREP_max
=$ac_count
4246 # 10*(2^10) chars as input seems more than enough
4247 test $ac_count -gt 10 && break
4249 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4252 $ac_path_EGREP_found && break 3
4257 if test -z "$ac_cv_path_EGREP"; then
4258 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4261 ac_cv_path_EGREP
=$EGREP
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4267 $as_echo "$ac_cv_path_EGREP" >&6; }
4268 EGREP
="$ac_cv_path_EGREP"
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4272 $as_echo_n "checking for ANSI C header files... " >&6; }
4273 if ${ac_cv_header_stdc+:} false
; then :
4274 $as_echo_n "(cached) " >&6
4276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4291 if ac_fn_c_try_compile
"$LINENO"; then :
4292 ac_cv_header_stdc
=yes
4294 ac_cv_header_stdc
=no
4296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4298 if test $ac_cv_header_stdc = yes; then
4299 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4301 /* end confdefs.h. */
4305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4306 $EGREP "memchr" >/dev
/null
2>&1; then :
4309 ac_cv_header_stdc
=no
4315 if test $ac_cv_header_stdc = yes; then
4316 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4318 /* end confdefs.h. */
4322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4323 $EGREP "free" >/dev
/null
2>&1; then :
4326 ac_cv_header_stdc
=no
4332 if test $ac_cv_header_stdc = yes; then
4333 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4334 if test "$cross_compiling" = yes; then :
4337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4341 #if ((' ' & 0x0FF) == 0x020)
4342 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4343 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4345 # define ISLOWER(c) \
4346 (('a' <= (c) && (c) <= 'i') \
4347 || ('j' <= (c) && (c) <= 'r') \
4348 || ('s' <= (c) && (c) <= 'z'))
4349 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4352 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4357 for (i = 0; i < 256; i++)
4358 if (XOR (islower (i), ISLOWER (i))
4359 || toupper (i) != TOUPPER (i))
4364 if ac_fn_c_try_run
"$LINENO"; then :
4367 ac_cv_header_stdc
=no
4369 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4370 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4376 $as_echo "$ac_cv_header_stdc" >&6; }
4377 if test $ac_cv_header_stdc = yes; then
4379 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4383 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4384 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4385 inttypes.h stdint.h unistd.h
4387 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4388 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4390 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4391 cat >>confdefs.h
<<_ACEOF
4392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4400 test "$program_prefix" != NONE
&&
4401 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4402 # Use a double $ so make ignores it.
4403 test "$program_suffix" != NONE
&&
4404 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4405 # Double any \ or $.
4406 # By default was `s,x,x', remove it if useless.
4407 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4408 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4410 # Find a good install program. We prefer a C program (faster),
4411 # so one script is as good as another. But avoid the broken or
4412 # incompatible versions:
4413 # SysV /etc/install, /usr/sbin/install
4414 # SunOS /usr/etc/install
4415 # IRIX /sbin/install
4417 # AmigaOS /C/install, which installs bootblocks on floppy discs
4418 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4419 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4420 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4421 # OS/2's system install, which has a completely different semantic
4422 # ./install, which can be erroneously created by make from ./install.sh.
4423 # Reject install programs that cannot install multiple files.
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4425 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4426 if test -z "$INSTALL"; then
4427 if ${ac_cv_path_install+:} false
; then :
4428 $as_echo_n "(cached) " >&6
4430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4434 test -z "$as_dir" && as_dir
=.
4435 # Account for people who put trailing slashes in PATH elements.
4436 case $as_dir/ in #((
4437 .
/ | .
// |
/[cC
]/* | \
4438 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4439 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4442 # OSF1 and SCO ODT 3.0 have their own names for install.
4443 # Don't use installbsd from OSF since it installs stuff as root
4445 for ac_prog
in ginstall scoinst
install; do
4446 for ac_exec_ext
in '' $ac_executable_extensions; do
4447 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4448 if test $ac_prog = install &&
4449 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4450 # AIX install. It has an incompatible calling convention.
4452 elif test $ac_prog = install &&
4453 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4454 # program-specific install script used by HP pwplus--don't use.
4457 rm -rf conftest.one conftest.two conftest.dir
4458 echo one
> conftest.one
4459 echo two
> conftest.two
4461 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4462 test -s conftest.one
&& test -s conftest.two
&&
4463 test -s conftest.dir
/conftest.one
&&
4464 test -s conftest.dir
/conftest.two
4466 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4479 rm -rf conftest.one conftest.two conftest.dir
4482 if test "${ac_cv_path_install+set}" = set; then
4483 INSTALL
=$ac_cv_path_install
4485 # As a last resort, use the slow shell script. Don't cache a
4486 # value for INSTALL within a source directory, because that will
4487 # break other packages using the cache if that directory is
4488 # removed, or if the value is a relative name.
4489 INSTALL
=$ac_install_sh
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4493 $as_echo "$INSTALL" >&6; }
4495 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4496 # It thinks the first close brace ends the variable substitution.
4497 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4499 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4501 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4507 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4508 if ${ac_cv_c_bigendian+:} false
; then :
4509 $as_echo_n "(cached) " >&6
4511 ac_cv_c_bigendian
=unknown
4512 # See if we're dealing with a universal compiler.
4513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4514 /* end confdefs.h. */
4515 #ifndef __APPLE_CC__
4516 not a universal capable compiler
4521 if ac_fn_c_try_compile
"$LINENO"; then :
4523 # Check for potential -arch flags. It is not universal unless
4524 # there are at least two -arch flags with different values.
4527 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4528 if test -n "$ac_prev"; then
4530 i?
86 | x86_64 | ppc | ppc64
)
4531 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4534 ac_cv_c_bigendian
=universal
4540 elif test "x$ac_word" = "x-arch"; then
4545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4546 if test $ac_cv_c_bigendian = unknown
; then
4547 # See if sys/param.h defines the BYTE_ORDER macro.
4548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4550 #include <sys/types.h>
4551 #include <sys/param.h>
4556 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4557 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4566 if ac_fn_c_try_compile
"$LINENO"; then :
4567 # It does; now see whether it defined to BIG_ENDIAN or not.
4568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4570 #include <sys/types.h>
4571 #include <sys/param.h>
4576 #if BYTE_ORDER != BIG_ENDIAN
4584 if ac_fn_c_try_compile
"$LINENO"; then :
4585 ac_cv_c_bigendian
=yes
4587 ac_cv_c_bigendian
=no
4589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4593 if test $ac_cv_c_bigendian = unknown
; then
4594 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4602 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4610 if ac_fn_c_try_compile
"$LINENO"; then :
4611 # It does; now see whether it defined to _BIG_ENDIAN or not.
4612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4627 if ac_fn_c_try_compile
"$LINENO"; then :
4628 ac_cv_c_bigendian
=yes
4630 ac_cv_c_bigendian
=no
4632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4636 if test $ac_cv_c_bigendian = unknown
; then
4637 # Compile a test program.
4638 if test "$cross_compiling" = yes; then :
4639 # Try to guess by grepping values from an object file.
4640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4641 /* end confdefs.h. */
4642 short int ascii_mm[] =
4643 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4644 short int ascii_ii[] =
4645 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4646 int use_ascii (int i) {
4647 return ascii_mm[i] + ascii_ii[i];
4649 short int ebcdic_ii[] =
4650 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4651 short int ebcdic_mm[] =
4652 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4653 int use_ebcdic (int i) {
4654 return ebcdic_mm[i] + ebcdic_ii[i];
4661 return use_ascii (foo) == use_ebcdic (foo);
4666 if ac_fn_c_try_compile
"$LINENO"; then :
4667 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4668 ac_cv_c_bigendian
=yes
4670 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4671 if test "$ac_cv_c_bigendian" = unknown
; then
4672 ac_cv_c_bigendian
=no
4674 # finding both strings is unlikely to happen, but who knows?
4675 ac_cv_c_bigendian
=unknown
4679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4682 /* end confdefs.h. */
4683 $ac_includes_default
4688 /* Are we little or big endian? From Harbison&Steele. */
4692 char c[sizeof (long int)];
4695 return u.c[sizeof (long int) - 1] == 1;
4701 if ac_fn_c_try_run
"$LINENO"; then :
4702 ac_cv_c_bigendian
=no
4704 ac_cv_c_bigendian
=yes
4706 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4707 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4713 $as_echo "$ac_cv_c_bigendian" >&6; }
4714 case $ac_cv_c_bigendian in #(
4716 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4722 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4726 as_fn_error $?
"unknown endianness
4727 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4733 if test -n "$ac_tool_prefix"; then
4734 # Extract the first word of "${ac_tool_prefix}dtc", so it can be a program name with args.
4735 set dummy
${ac_tool_prefix}dtc
; ac_word
=$2
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4737 $as_echo_n "checking for $ac_word... " >&6; }
4738 if ${ac_cv_prog_DTC+:} false
; then :
4739 $as_echo_n "(cached) " >&6
4741 if test -n "$DTC"; then
4742 ac_cv_prog_DTC
="$DTC" # Let the user override the test.
4744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4748 test -z "$as_dir" && as_dir
=.
4749 for ac_exec_ext
in '' $ac_executable_extensions; do
4750 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4751 ac_cv_prog_DTC
="${ac_tool_prefix}dtc"
4752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4762 if test -n "$DTC"; then
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTC" >&5
4764 $as_echo "$DTC" >&6; }
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4767 $as_echo "no" >&6; }
4772 if test -z "$ac_cv_prog_DTC"; then
4774 # Extract the first word of "dtc", so it can be a program name with args.
4775 set dummy dtc
; ac_word
=$2
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4777 $as_echo_n "checking for $ac_word... " >&6; }
4778 if ${ac_cv_prog_ac_ct_DTC+:} false
; then :
4779 $as_echo_n "(cached) " >&6
4781 if test -n "$ac_ct_DTC"; then
4782 ac_cv_prog_ac_ct_DTC
="$ac_ct_DTC" # Let the user override the test.
4784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4788 test -z "$as_dir" && as_dir
=.
4789 for ac_exec_ext
in '' $ac_executable_extensions; do
4790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4791 ac_cv_prog_ac_ct_DTC
="dtc"
4792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4801 ac_ct_DTC
=$ac_cv_prog_ac_ct_DTC
4802 if test -n "$ac_ct_DTC"; then
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DTC" >&5
4804 $as_echo "$ac_ct_DTC" >&6; }
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4807 $as_echo "no" >&6; }
4810 if test "x$ac_ct_DTC" = x
; then
4813 case $cross_compiling:$ac_tool_warned in
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4817 ac_tool_warned
=yes ;;
4822 DTC
="$ac_cv_prog_DTC"
4826 if test "x$cross_compiling" = "xno"; then
4827 : "${AR_FOR_BUILD:=\$(AR)}"
4828 : "${CC_FOR_BUILD:=\$(CC)}"
4829 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
4830 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
4831 : "${CPPFLAGS_FOR_BUILD:=\$(CPPFLAGS)}"
4832 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
4834 : "${AR_FOR_BUILD:=ar}"
4835 : "${CC_FOR_BUILD:=gcc}"
4836 : "${RANLIB_FOR_BUILD:=ranlib}"
4837 : "${CFLAGS_FOR_BUILD:=-g -O}"
4838 : "${CPPFLAGS_FOR_BUILD:=}"
4839 : "${LDLFAGS_FOR_BUILD:=}"
4849 if test -n "$ac_tool_prefix"; then
4850 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4851 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4853 $as_echo_n "checking for $ac_word... " >&6; }
4854 if ${ac_cv_prog_AR+:} false
; then :
4855 $as_echo_n "(cached) " >&6
4857 if test -n "$AR"; then
4858 ac_cv_prog_AR
="$AR" # Let the user override the test.
4860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4864 test -z "$as_dir" && as_dir
=.
4865 for ac_exec_ext
in '' $ac_executable_extensions; do
4866 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4867 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4878 if test -n "$AR"; then
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4880 $as_echo "$AR" >&6; }
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4883 $as_echo "no" >&6; }
4888 if test -z "$ac_cv_prog_AR"; then
4890 # Extract the first word of "ar", so it can be a program name with args.
4891 set dummy
ar; ac_word
=$2
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893 $as_echo_n "checking for $ac_word... " >&6; }
4894 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4895 $as_echo_n "(cached) " >&6
4897 if test -n "$ac_ct_AR"; then
4898 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4904 test -z "$as_dir" && as_dir
=.
4905 for ac_exec_ext
in '' $ac_executable_extensions; do
4906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4907 ac_cv_prog_ac_ct_AR
="ar"
4908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4917 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4918 if test -n "$ac_ct_AR"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4920 $as_echo "$ac_ct_AR" >&6; }
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4926 if test "x$ac_ct_AR" = x
; then
4929 case $cross_compiling:$ac_tool_warned in
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4933 ac_tool_warned
=yes ;;
4941 if test -n "$ac_tool_prefix"; then
4942 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4943 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4945 $as_echo_n "checking for $ac_word... " >&6; }
4946 if ${ac_cv_prog_RANLIB+:} false
; then :
4947 $as_echo_n "(cached) " >&6
4949 if test -n "$RANLIB"; then
4950 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4956 test -z "$as_dir" && as_dir
=.
4957 for ac_exec_ext
in '' $ac_executable_extensions; do
4958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4959 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4969 RANLIB
=$ac_cv_prog_RANLIB
4970 if test -n "$RANLIB"; then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4972 $as_echo "$RANLIB" >&6; }
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 $as_echo "no" >&6; }
4980 if test -z "$ac_cv_prog_RANLIB"; then
4981 ac_ct_RANLIB
=$RANLIB
4982 # Extract the first word of "ranlib", so it can be a program name with args.
4983 set dummy ranlib
; ac_word
=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4987 $as_echo_n "(cached) " >&6
4989 if test -n "$ac_ct_RANLIB"; then
4990 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4996 test -z "$as_dir" && as_dir
=.
4997 for ac_exec_ext
in '' $ac_executable_extensions; do
4998 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4999 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5010 if test -n "$ac_ct_RANLIB"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5012 $as_echo "$ac_ct_RANLIB" >&6; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5018 if test "x$ac_ct_RANLIB" = x
; then
5021 case $cross_compiling:$ac_tool_warned in
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5025 ac_tool_warned
=yes ;;
5027 RANLIB
=$ac_ct_RANLIB
5030 RANLIB
="$ac_cv_prog_RANLIB"
5040 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5041 if test -n "$ac_tool_prefix"; then
5042 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5043 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
5047 $as_echo_n "(cached) " >&6
5051 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5058 test -z "$as_dir" && as_dir
=.
5059 for ac_exec_ext
in '' $ac_executable_extensions; do
5060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5061 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5073 if test -n "$PKG_CONFIG"; then
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5075 $as_echo "$PKG_CONFIG" >&6; }
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5083 if test -z "$ac_cv_path_PKG_CONFIG"; then
5084 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5085 # Extract the first word of "pkg-config", so it can be a program name with args.
5086 set dummy pkg-config
; ac_word
=$2
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5088 $as_echo_n "checking for $ac_word... " >&6; }
5089 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
5090 $as_echo_n "(cached) " >&6
5092 case $ac_pt_PKG_CONFIG in
5094 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
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_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5116 if test -n "$ac_pt_PKG_CONFIG"; then
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5118 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5121 $as_echo "no" >&6; }
5124 if test "x$ac_pt_PKG_CONFIG" = x
; then
5127 case $cross_compiling:$ac_tool_warned in
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5131 ac_tool_warned
=yes ;;
5133 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5136 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5140 if test -n "$PKG_CONFIG"; then
5141 _pkg_min_version
=0.9.0
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5143 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5144 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5146 $as_echo "yes" >&6; }
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5154 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
5155 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
5156 # is C99. So handle it ourselves.
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
5160 $as_echo_n "checking whether C11 is supported by default... " >&6; }
5161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5162 /* end confdefs.h. */
5164 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
5165 # error "C11 support not found"
5169 if ac_fn_c_try_compile
"$LINENO"; then :
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5171 $as_echo "yes" >&6; }
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 $as_echo "no" >&6; }
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
5177 $as_echo_n "checking for -std=c11 support... " >&6; }
5180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5181 /* end confdefs.h. */
5183 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
5184 # error "C11 support not found"
5188 if ac_fn_c_try_compile
"$LINENO"; then :
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5191 $as_echo "yes" >&6; }
5193 C_DIALECT
="-std=c11"
5196 as_fn_error $?
"C11 is required" "$LINENO" 5
5198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5206 for ac_header
in $ac_header_list
5208 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5209 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5211 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5212 cat >>confdefs.h
<<_ACEOF
5213 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5267 for ac_func
in $ac_func_list
5269 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5270 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5271 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5272 cat >>confdefs.h
<<_ACEOF
5273 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5406 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5407 if ${ac_cv_struct_tm+:} false
; then :
5408 $as_echo_n "(cached) " >&6
5410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5411 /* end confdefs.h. */
5412 #include <sys/types.h>
5419 int *p = &tm.tm_sec;
5425 if ac_fn_c_try_compile
"$LINENO"; then :
5426 ac_cv_struct_tm
=time.h
5428 ac_cv_struct_tm
=sys
/time.h
5430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5433 $as_echo "$ac_cv_struct_tm" >&6; }
5434 if test $ac_cv_struct_tm = sys
/time.h
; then
5436 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
5441 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
5442 if ${ac_cv_type_uid_t+:} false
; then :
5443 $as_echo_n "(cached) " >&6
5445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5446 /* end confdefs.h. */
5447 #include <sys/types.h>
5450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5451 $EGREP "uid_t" >/dev
/null
2>&1; then :
5452 ac_cv_type_uid_t
=yes
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
5460 $as_echo "$ac_cv_type_uid_t" >&6; }
5461 if test $ac_cv_type_uid_t = no
; then
5463 $as_echo "#define uid_t int" >>confdefs.h
5466 $as_echo "#define gid_t int" >>confdefs.h
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5473 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5478 macro_version
='2.2.7a'
5479 macro_revision
='1.3134'
5493 ltmain
="$ac_aux_dir/ltmain.sh"
5495 # Backslashify metacharacters that are still active within
5496 # double-quoted strings.
5497 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5499 # Same as above, but do not quote variable references.
5500 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5502 # Sed substitution to delay expansion of an escaped shell variable in a
5503 # double_quote_subst'ed string.
5504 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5506 # Sed substitution to delay expansion of an escaped single quote.
5507 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5509 # Sed substitution to avoid accidental globbing in evaled expressions
5510 no_glob_subst
='s/\*/\\\*/g'
5512 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5513 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5514 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5517 $as_echo_n "checking how to print strings... " >&6; }
5518 # Test print first, because it will be a builtin if present.
5519 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5520 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5522 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5525 # Use this function as a fallback that always works.
5526 func_fallback_echo ()
5528 eval 'cat <<_LTECHO_EOF
5532 ECHO='func_fallback_echo
'
5535 # func_echo_all arg...
5536 # Invoke $ECHO with all args, space-separated.
5543 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5544 $as_echo "printf" >&6; } ;;
5545 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5546 $as_echo "print -r" >&6; } ;;
5547 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5548 $as_echo "cat" >&6; } ;;
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5565 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5566 if ${ac_cv_path_SED+:} false; then :
5567 $as_echo_n "(cached) " >&6
5569 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5570 for ac_i in 1 2 3 4 5 6 7; do
5571 ac_script="$ac_script$as_nl$ac_script"
5573 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5574 { ac_script=; unset ac_script;}
5575 if test -z "$SED"; then
5576 ac_path_SED_found=false
5577 # Loop through the user's path and
test for each of PROGNAME-LIST
5578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5582 test -z "$as_dir" && as_dir
=.
5583 for ac_prog
in sed gsed
; do
5584 for ac_exec_ext
in '' $ac_executable_extensions; do
5585 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5586 as_fn_executable_p
"$ac_path_SED" ||
continue
5587 # Check for GNU ac_path_SED and select it if it is found.
5588 # Check for GNU $ac_path_SED
5589 case `"$ac_path_SED" --version 2>&1` in
5591 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5594 $as_echo_n 0123456789 >"conftest.in"
5597 cat "conftest.in" "conftest.in" >"conftest.tmp"
5598 mv "conftest.tmp" "conftest.in"
5599 cp "conftest.in" "conftest.nl"
5600 $as_echo '' >> "conftest.nl"
5601 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5602 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5603 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5604 if test $ac_count -gt ${ac_path_SED_max-0}; then
5605 # Best one so far, save it but keep looking for a better one
5606 ac_cv_path_SED
="$ac_path_SED"
5607 ac_path_SED_max
=$ac_count
5609 # 10*(2^10) chars as input seems more than enough
5610 test $ac_count -gt 10 && break
5612 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5615 $ac_path_SED_found && break 3
5620 if test -z "$ac_cv_path_SED"; then
5621 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5629 $as_echo "$ac_cv_path_SED" >&6; }
5630 SED
="$ac_cv_path_SED"
5633 test -z "$SED" && SED
=sed
5634 Xsed
="$SED -e 1s/^X//"
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5647 $as_echo_n "checking for fgrep... " >&6; }
5648 if ${ac_cv_path_FGREP+:} false
; then :
5649 $as_echo_n "(cached) " >&6
5651 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5652 then ac_cv_path_FGREP
="$GREP -F"
5654 if test -z "$FGREP"; then
5655 ac_path_FGREP_found
=false
5656 # Loop through the user's path and test for each of PROGNAME-LIST
5657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5658 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5661 test -z "$as_dir" && as_dir
=.
5662 for ac_prog
in fgrep
; do
5663 for ac_exec_ext
in '' $ac_executable_extensions; do
5664 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5665 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5666 # Check for GNU ac_path_FGREP and select it if it is found.
5667 # Check for GNU $ac_path_FGREP
5668 case `"$ac_path_FGREP" --version 2>&1` in
5670 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5673 $as_echo_n 0123456789 >"conftest.in"
5676 cat "conftest.in" "conftest.in" >"conftest.tmp"
5677 mv "conftest.tmp" "conftest.in"
5678 cp "conftest.in" "conftest.nl"
5679 $as_echo 'FGREP' >> "conftest.nl"
5680 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5681 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5682 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5683 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5684 # Best one so far, save it but keep looking for a better one
5685 ac_cv_path_FGREP
="$ac_path_FGREP"
5686 ac_path_FGREP_max
=$ac_count
5688 # 10*(2^10) chars as input seems more than enough
5689 test $ac_count -gt 10 && break
5691 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5694 $ac_path_FGREP_found && break 3
5699 if test -z "$ac_cv_path_FGREP"; then
5700 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5703 ac_cv_path_FGREP
=$FGREP
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5709 $as_echo "$ac_cv_path_FGREP" >&6; }
5710 FGREP
="$ac_cv_path_FGREP"
5713 test -z "$GREP" && GREP
=grep
5733 # Check whether --with-gnu-ld was given.
5734 if test "${with_gnu_ld+set}" = set; then :
5735 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5741 if test "$GCC" = yes; then
5742 # Check if gcc -print-prog-name=ld gives a path.
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5744 $as_echo_n "checking for ld used by $CC... " >&6; }
5747 # gcc leaves a trailing carriage return which upsets mingw
5748 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5750 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5753 # Accept absolute paths.
5755 re_direlt
='/[^/][^/]*/\.\./'
5756 # Canonicalize the pathname of ld
5757 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5758 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5759 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5761 test -z "$LD" && LD
="$ac_prog"
5764 # If it fails, then pretend we aren't using GCC.
5768 # If it is relative, then search for the first ld in PATH.
5772 elif test "$with_gnu_ld" = yes; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5774 $as_echo_n "checking for GNU ld... " >&6; }
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5777 $as_echo_n "checking for non-GNU ld... " >&6; }
5779 if ${lt_cv_path_LD+:} false
; then :
5780 $as_echo_n "(cached) " >&6
5782 if test -z "$LD"; then
5783 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5784 for ac_dir
in $PATH; do
5786 test -z "$ac_dir" && ac_dir
=.
5787 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5788 lt_cv_path_LD
="$ac_dir/$ac_prog"
5789 # Check to see if the program is GNU ld. I'd rather use --version,
5790 # but apparently some variants of GNU ld only accept -v.
5791 # Break only if it was the GNU/non-GNU ld that we prefer.
5792 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5793 *GNU
* |
*'with BFD'*)
5794 test "$with_gnu_ld" != no
&& break
5797 test "$with_gnu_ld" != yes && break
5804 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5809 if test -n "$LD"; then
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5811 $as_echo "$LD" >&6; }
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814 $as_echo "no" >&6; }
5816 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5818 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5819 if ${lt_cv_prog_gnu_ld+:} false
; then :
5820 $as_echo_n "(cached) " >&6
5822 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5823 case `$LD -v 2>&1 </dev/null` in
5824 *GNU
* |
*'with BFD'*)
5825 lt_cv_prog_gnu_ld
=yes
5828 lt_cv_prog_gnu_ld
=no
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5833 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5834 with_gnu_ld
=$lt_cv_prog_gnu_ld
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5845 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5846 if ${lt_cv_path_NM+:} false
; then :
5847 $as_echo_n "(cached) " >&6
5849 if test -n "$NM"; then
5850 # Let the user override the nm to test.
5851 lt_nm_to_check
="$NM"
5853 lt_nm_to_check
="${ac_tool_prefix}nm"
5854 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5855 lt_nm_to_check
="$lt_nm_to_check nm"
5858 for lt_tmp_nm
in "$lt_nm_to_check"; do
5859 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5860 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5862 test -z "$ac_dir" && ac_dir
=.
5863 # Strip out any user-provided options from the nm to test twice,
5864 # the first time to test to see if nm (rather than its options) has
5865 # an explicit path, the second time to yield a file which can be
5867 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5868 case "$tmp_nm_path" in
5869 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
5870 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
5872 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5873 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
5874 # Check to see if the nm accepts a BSD-compat flag.
5875 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5876 # nm: unknown option "B" ignored
5877 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5878 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
5882 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5884 lt_cv_path_NM
="$tmp_nm -p"
5888 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5889 continue # so that we can try to find one that supports BSD flags
5898 : ${lt_cv_path_NM=no}
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5901 $as_echo "$lt_cv_path_NM" >&6; }
5902 if test "$lt_cv_path_NM" != "no"; then
5905 # Didn't find any BSD compatible name lister, look for dumpbin.
5906 if test -n "$DUMPBIN"; then :
5907 # Let the user override the test.
5909 if test -n "$ac_tool_prefix"; then
5910 for ac_prog
in dumpbin
"link -dump"
5912 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5913 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 $as_echo_n "checking for $ac_word... " >&6; }
5916 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5917 $as_echo_n "(cached) " >&6
5919 if test -n "$DUMPBIN"; then
5920 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5926 test -z "$as_dir" && as_dir
=.
5927 for ac_exec_ext
in '' $ac_executable_extensions; do
5928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5929 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5939 DUMPBIN
=$ac_cv_prog_DUMPBIN
5940 if test -n "$DUMPBIN"; then
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5942 $as_echo "$DUMPBIN" >&6; }
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5949 test -n "$DUMPBIN" && break
5952 if test -z "$DUMPBIN"; then
5953 ac_ct_DUMPBIN
=$DUMPBIN
5954 for ac_prog
in dumpbin
"link -dump"
5956 # Extract the first word of "$ac_prog", so it can be a program name with args.
5957 set dummy
$ac_prog; ac_word
=$2
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5959 $as_echo_n "checking for $ac_word... " >&6; }
5960 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5961 $as_echo_n "(cached) " >&6
5963 if test -n "$ac_ct_DUMPBIN"; then
5964 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5970 test -z "$as_dir" && as_dir
=.
5971 for ac_exec_ext
in '' $ac_executable_extensions; do
5972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5973 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5983 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5984 if test -n "$ac_ct_DUMPBIN"; then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5986 $as_echo "$ac_ct_DUMPBIN" >&6; }
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989 $as_echo "no" >&6; }
5993 test -n "$ac_ct_DUMPBIN" && break
5996 if test "x$ac_ct_DUMPBIN" = x
; then
5999 case $cross_compiling:$ac_tool_warned in
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6003 ac_tool_warned
=yes ;;
6005 DUMPBIN
=$ac_ct_DUMPBIN
6009 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6011 DUMPBIN
="$DUMPBIN -symbols"
6019 if test "$DUMPBIN" != ":"; then
6023 test -z "$NM" && NM
=nm
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6031 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6032 if ${lt_cv_nm_interface+:} false
; then :
6033 $as_echo_n "(cached) " >&6
6035 lt_cv_nm_interface
="BSD nm"
6036 echo "int some_variable = 0;" > conftest.
$ac_ext
6037 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6038 (eval "$ac_compile" 2>conftest.err
)
6039 cat conftest.err
>&5
6040 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6041 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6042 cat conftest.err
>&5
6043 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6044 cat conftest.out
>&5
6045 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6046 lt_cv_nm_interface
="MS dumpbin"
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6051 $as_echo "$lt_cv_nm_interface" >&6; }
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6054 $as_echo_n "checking whether ln -s works... " >&6; }
6056 if test "$LN_S" = "ln -s"; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6058 $as_echo "yes" >&6; }
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6061 $as_echo "no, using $LN_S" >&6; }
6064 # find the maximum length of command line arguments
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6066 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6067 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6068 $as_echo_n "(cached) " >&6
6075 # On DJGPP, this test can blow up pretty badly due to problems in libc
6076 # (any single argument exceeding 2000 bytes causes a buffer overrun
6077 # during glob expansion). Even if it were fixed, the result of this
6078 # check would be larger than it should be.
6079 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6083 # Under GNU Hurd, this test is not required because there is
6084 # no limit to the length of command line arguments.
6085 # Libtool will interpret -1 as no limit whatsoever
6086 lt_cv_sys_max_cmd_len
=-1;
6089 cygwin
* | mingw
* | cegcc
*)
6090 # On Win9x/ME, this test blows up -- it succeeds, but takes
6091 # about 5 minutes as the teststring grows exponentially.
6092 # Worse, since 9x/ME are not pre-emptively multitasking,
6093 # you end up with a "frozen" computer, even though with patience
6094 # the test eventually succeeds (with a max line length of 256k).
6095 # Instead, let's just punt: use the minimum linelength reported by
6096 # all of the supported platforms: 8192 (on NT/2K/XP).
6097 lt_cv_sys_max_cmd_len
=8192;
6101 # On MiNT this can take a long time and run out of memory.
6102 lt_cv_sys_max_cmd_len
=8192;
6106 # On AmigaOS with pdksh, this test takes hours, literally.
6107 # So we just punt and use a minimum line length of 8192.
6108 lt_cv_sys_max_cmd_len
=8192;
6111 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6112 # This has been around since 386BSD, at least. Likely further.
6113 if test -x /sbin
/sysctl
; then
6114 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6115 elif test -x /usr
/sbin
/sysctl
; then
6116 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6118 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6120 # And add a safety zone
6121 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6122 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6126 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6127 lt_cv_sys_max_cmd_len
=196608
6131 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6132 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6133 # nice to cause kernel panics so lets avoid the loop below.
6134 # First set a reasonable default.
6135 lt_cv_sys_max_cmd_len
=16384
6137 if test -x /sbin
/sysconfig
; then
6138 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6139 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6144 lt_cv_sys_max_cmd_len
=102400
6146 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6147 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6148 if test -n "$kargmax"; then
6149 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6151 lt_cv_sys_max_cmd_len
=32768
6155 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6156 if test -n "$lt_cv_sys_max_cmd_len"; then
6157 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6158 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6160 # Make teststring a little bigger before we do anything with it.
6161 # a 1K string should be a reasonable start.
6162 for i
in 1 2 3 4 5 6 7 8 ; do
6163 teststring
=$teststring$teststring
6165 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6166 # If test is not a shell built-in, we'll probably end up computing a
6167 # maximum length that is only half of the actual maximum length, but
6169 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6170 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6171 test $i != 17 # 1/2 MB should be enough
6174 teststring
=$teststring$teststring
6176 # Only check the string length outside the loop.
6177 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6179 # Add a significant safety factor because C++ compilers can tack on
6180 # massive amounts of additional arguments before passing them to the
6181 # linker. It appears as though 1/2 is a usable value.
6182 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6189 if test -n $lt_cv_sys_max_cmd_len ; then
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6191 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6194 $as_echo "none" >&6; }
6196 max_cmd_len
=$lt_cv_sys_max_cmd_len
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6208 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6209 # Try some XSI features
6212 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6214 && eval 'test $(( 1 + 1 )) -eq 2 \
6215 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6218 $as_echo "$xsi_shell" >&6; }
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6222 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6224 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6226 && lt_shell_append=yes
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6228 $as_echo "$lt_shell_append" >&6; }
6231 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6241 # test EBCDIC or ASCII
6242 case `echo X|tr X '\101'` in
6243 A) # ASCII based system
6244 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6245 lt_SP2NL='tr \040 \012'
6246 lt_NL2SP='tr \015\012 \040\040'
6248 *) # EBCDIC based system
6249 lt_SP2NL='tr \100 \n'
6250 lt_NL2SP='tr \r\n \100\100'
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6263 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6264 if ${lt_cv_ld_reload_flag+:} false; then :
6265 $as_echo_n "(cached
) " >&6
6267 lt_cv_ld_reload_flag='-r'
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6270 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6271 reload_flag=$lt_cv_ld_reload_flag
6272 case $reload_flag in
6274 *) reload_flag=" $reload_flag" ;;
6276 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6279 if test "$GCC" = yes; then
6280 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6282 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6295 if test -n "$ac_tool_prefix"; then
6296 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6297 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6299 $as_echo_n "checking
for $ac_word...
" >&6; }
6300 if ${ac_cv_prog_OBJDUMP+:} false; then :
6301 $as_echo_n "(cached
) " >&6
6303 if test -n "$OBJDUMP"; then
6304 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310 test -z "$as_dir" && as_dir=.
6311 for ac_exec_ext in '' $ac_executable_extensions; do
6312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6313 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6314 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6323 OBJDUMP=$ac_cv_prog_OBJDUMP
6324 if test -n "$OBJDUMP"; then
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6326 $as_echo "$OBJDUMP" >&6; }
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6329 $as_echo "no
" >&6; }
6334 if test -z "$ac_cv_prog_OBJDUMP"; then
6335 ac_ct_OBJDUMP=$OBJDUMP
6336 # Extract the first word of "objdump
", so it can be a program name with args.
6337 set dummy objdump; ac_word=$2
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6339 $as_echo_n "checking
for $ac_word...
" >&6; }
6340 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6341 $as_echo_n "(cached
) " >&6
6343 if test -n "$ac_ct_OBJDUMP"; then
6344 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6350 test -z "$as_dir" && as_dir=.
6351 for ac_exec_ext in '' $ac_executable_extensions; do
6352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6353 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6354 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6363 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6364 if test -n "$ac_ct_OBJDUMP"; then
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6366 $as_echo "$ac_ct_OBJDUMP" >&6; }
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6369 $as_echo "no
" >&6; }
6372 if test "x
$ac_ct_OBJDUMP" = x; then
6375 case $cross_compiling:$ac_tool_warned in
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6378 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6379 ac_tool_warned=yes ;;
6381 OBJDUMP=$ac_ct_OBJDUMP
6384 OBJDUMP="$ac_cv_prog_OBJDUMP"
6387 test -z "$OBJDUMP" && OBJDUMP=objdump
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6398 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6399 if ${lt_cv_deplibs_check_method+:} false; then :
6400 $as_echo_n "(cached
) " >&6
6402 lt_cv_file_magic_cmd='$MAGIC_CMD'
6403 lt_cv_file_magic_test_file=
6404 lt_cv_deplibs_check_method='unknown'
6405 # Need to set the preceding variable on all platforms that support
6406 # interlibrary dependencies.
6407 # 'none' -- dependencies not supported.
6408 # `unknown' -- same as none, but documents that we really don't know.
6409 # 'pass_all' -- all dependencies passed with no checks.
6410 # 'test_compile' -- check by making test program.
6411 # 'file_magic [[regex]]' -- check by looking for files in library path
6412 # which responds to the $file_magic_cmd with a given extended regex.
6413 # If you have `file' or equivalent on your system and you're not sure
6414 # whether `pass_all' will *always* work, you probably want this one.
6418 lt_cv_deplibs_check_method=pass_all
6422 lt_cv_deplibs_check_method=pass_all
6426 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6427 lt_cv_file_magic_cmd='/usr/bin/file -L'
6428 lt_cv_file_magic_test_file=/shlib/libc.so
6432 # func_win32_libid is a shell function defined in ltmain.sh
6433 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6434 lt_cv_file_magic_cmd='func_win32_libid'
6438 # Base MSYS/MinGW do not provide the 'file' command needed by
6439 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6440 # unless we find 'file', for example because we are cross-compiling.
6441 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6442 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6443 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6444 lt_cv_file_magic_cmd='func_win32_libid'
6446 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6447 lt_cv_file_magic_cmd='$OBJDUMP -f'
6452 # use the weaker test based on 'objdump'. See mingw*.
6453 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6454 lt_cv_file_magic_cmd='$OBJDUMP -f'
6457 darwin* | rhapsody*)
6458 lt_cv_deplibs_check_method=pass_all
6461 freebsd* | dragonfly*)
6462 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6465 # Not sure whether the presence of OpenBSD here was a mistake.
6466 # Let's accept both of them until this is cleared up.
6467 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6468 lt_cv_file_magic_cmd=/usr/bin/file
6469 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6473 lt_cv_deplibs_check_method=pass_all
6478 lt_cv_deplibs_check_method=pass_all
6482 lt_cv_deplibs_check_method=pass_all
6485 hpux10.20* | hpux11*)
6486 lt_cv_file_magic_cmd=/usr/bin/file
6489 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6490 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6493 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]'
6494 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6497 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6498 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6504 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6505 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6508 irix5* | irix6* | nonstopux*)
6510 *-32|*"-32 ") libmagic=32-bit;;
6511 *-n32|*"-n32 ") libmagic=N32;;
6512 *-64|*"-64 ") libmagic=64-bit;;
6513 *) libmagic=never-match;;
6515 lt_cv_deplibs_check_method=pass_all
6518 # This must be Linux ELF.
6519 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6520 lt_cv_deplibs_check_method=pass_all
6524 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6525 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6527 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6532 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6533 lt_cv_file_magic_cmd=/usr/bin/file
6534 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6538 lt_cv_deplibs_check_method=pass_all
6542 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6543 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6545 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6549 osf3* | osf4* | osf5*)
6550 lt_cv_deplibs_check_method=pass_all
6554 lt_cv_deplibs_check_method=pass_all
6558 lt_cv_deplibs_check_method=pass_all
6561 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6562 lt_cv_deplibs_check_method=pass_all
6566 case $host_vendor in
6568 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]'
6569 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6572 lt_cv_deplibs_check_method=pass_all
6575 lt_cv_file_magic_cmd='/bin/file'
6576 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6579 lt_cv_file_magic_cmd='/bin/file'
6580 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6581 lt_cv_file_magic_test_file=/lib/libc.so
6584 lt_cv_deplibs_check_method=pass_all
6587 lt_cv_deplibs_check_method=pass_all
6593 lt_cv_deplibs_check_method=pass_all
6596 # Assume VxWorks cross toolchains are built on Linux, possibly
6597 # as canadian for Windows hosts.
6598 lt_cv_deplibs_check_method=pass_all
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6604 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6605 file_magic_cmd=$lt_cv_file_magic_cmd
6606 deplibs_check_method=$lt_cv_deplibs_check_method
6607 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6621 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6622 for plugin in $plugin_names; do
6623 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6624 if test x$plugin_so = x$plugin; then
6625 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6627 if test x$plugin_so != x$plugin; then
6628 plugin_option="--plugin $plugin_so"
6633 if test -n "$ac_tool_prefix"; then
6634 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6635 set dummy ${ac_tool_prefix}ar; ac_word=$2
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6637 $as_echo_n "checking
for $ac_word...
" >&6; }
6638 if ${ac_cv_prog_AR+:} false; then :
6639 $as_echo_n "(cached
) " >&6
6641 if test -n "$AR"; then
6642 ac_cv_prog_AR="$AR" # Let the user override the test.
6644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6648 test -z "$as_dir" && as_dir=.
6649 for ac_exec_ext in '' $ac_executable_extensions; do
6650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6651 ac_cv_prog_AR="${ac_tool_prefix}ar"
6652 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6662 if test -n "$AR"; then
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6664 $as_echo "$AR" >&6; }
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6667 $as_echo "no
" >&6; }
6672 if test -z "$ac_cv_prog_AR"; then
6674 # Extract the first word of "ar", so it can be a program name with args.
6675 set dummy ar; ac_word=$2
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6677 $as_echo_n "checking
for $ac_word...
" >&6; }
6678 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6679 $as_echo_n "(cached
) " >&6
6681 if test -n "$ac_ct_AR"; then
6682 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688 test -z "$as_dir" && as_dir=.
6689 for ac_exec_ext in '' $ac_executable_extensions; do
6690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6691 ac_cv_prog_ac_ct_AR="ar"
6692 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6701 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6702 if test -n "$ac_ct_AR"; then
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6704 $as_echo "$ac_ct_AR" >&6; }
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6707 $as_echo "no
" >&6; }
6710 if test "x
$ac_ct_AR" = x; then
6713 case $cross_compiling:$ac_tool_warned in
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6716 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6717 ac_tool_warned=yes ;;
6725 test -z "$AR" && AR=ar
6726 if test -n "$plugin_option"; then
6727 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6729 $AR $plugin_option rc conftest.a conftest.c
6730 if test "$?
" != 0; then
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6732 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6734 AR="$AR $plugin_option"
6739 test -z "$AR_FLAGS" && AR_FLAGS=cru
6751 if test -n "$ac_tool_prefix"; then
6752 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6753 set dummy ${ac_tool_prefix}strip; ac_word=$2
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6755 $as_echo_n "checking
for $ac_word...
" >&6; }
6756 if ${ac_cv_prog_STRIP+:} false; then :
6757 $as_echo_n "(cached
) " >&6
6759 if test -n "$STRIP"; then
6760 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6766 test -z "$as_dir" && as_dir=.
6767 for ac_exec_ext in '' $ac_executable_extensions; do
6768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6769 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6779 STRIP=$ac_cv_prog_STRIP
6780 if test -n "$STRIP"; then
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6782 $as_echo "$STRIP" >&6; }
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6785 $as_echo "no
" >&6; }
6790 if test -z "$ac_cv_prog_STRIP"; then
6792 # Extract the first word of "strip
", so it can be a program name with args.
6793 set dummy strip; ac_word=$2
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6795 $as_echo_n "checking
for $ac_word...
" >&6; }
6796 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6797 $as_echo_n "(cached
) " >&6
6799 if test -n "$ac_ct_STRIP"; then
6800 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6806 test -z "$as_dir" && as_dir=.
6807 for ac_exec_ext in '' $ac_executable_extensions; do
6808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6809 ac_cv_prog_ac_ct_STRIP="strip
"
6810 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6819 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6820 if test -n "$ac_ct_STRIP"; then
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6822 $as_echo "$ac_ct_STRIP" >&6; }
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6825 $as_echo "no
" >&6; }
6828 if test "x
$ac_ct_STRIP" = x; then
6831 case $cross_compiling:$ac_tool_warned in
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6834 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6835 ac_tool_warned=yes ;;
6840 STRIP="$ac_cv_prog_STRIP"
6843 test -z "$STRIP" && STRIP=:
6850 if test -n "$ac_tool_prefix"; then
6851 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6852 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6854 $as_echo_n "checking
for $ac_word...
" >&6; }
6855 if ${ac_cv_prog_RANLIB+:} false; then :
6856 $as_echo_n "(cached
) " >&6
6858 if test -n "$RANLIB"; then
6859 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6865 test -z "$as_dir" && as_dir=.
6866 for ac_exec_ext in '' $ac_executable_extensions; do
6867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6868 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6878 RANLIB=$ac_cv_prog_RANLIB
6879 if test -n "$RANLIB"; then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6881 $as_echo "$RANLIB" >&6; }
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6884 $as_echo "no
" >&6; }
6889 if test -z "$ac_cv_prog_RANLIB"; then
6890 ac_ct_RANLIB=$RANLIB
6891 # Extract the first word of "ranlib
", so it can be a program name with args.
6892 set dummy ranlib; ac_word=$2
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6894 $as_echo_n "checking
for $ac_word...
" >&6; }
6895 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6896 $as_echo_n "(cached
) " >&6
6898 if test -n "$ac_ct_RANLIB"; then
6899 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 test -z "$as_dir" && as_dir=.
6906 for ac_exec_ext in '' $ac_executable_extensions; do
6907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6908 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6909 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6918 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6919 if test -n "$ac_ct_RANLIB"; then
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6921 $as_echo "$ac_ct_RANLIB" >&6; }
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6924 $as_echo "no
" >&6; }
6927 if test "x
$ac_ct_RANLIB" = x; then
6930 case $cross_compiling:$ac_tool_warned in
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6933 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6934 ac_tool_warned=yes ;;
6936 RANLIB=$ac_ct_RANLIB
6939 RANLIB="$ac_cv_prog_RANLIB"
6942 test -z "$RANLIB" && RANLIB=:
6943 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6944 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6945 RANLIB="$RANLIB $plugin_option"
6954 # Determine commands to create old-style static archives.
6955 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6956 old_postinstall_cmds='chmod 644 $oldlib'
6957 old_postuninstall_cmds=
6959 if test -n "$RANLIB"; then
6962 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6965 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6968 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6973 lock_old_archive_extraction=yes ;;
6975 lock_old_archive_extraction=no ;;
6998 for ac_prog in gawk mawk nawk awk
7000 # Extract the first word of "$ac_prog", so it can be a program name with args.
7001 set dummy $ac_prog; ac_word=$2
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7003 $as_echo_n "checking
for $ac_word...
" >&6; }
7004 if ${ac_cv_prog_AWK+:} false; then :
7005 $as_echo_n "(cached
) " >&6
7007 if test -n "$AWK"; then
7008 ac_cv_prog_AWK="$AWK" # Let the user override the test.
7010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7014 test -z "$as_dir" && as_dir=.
7015 for ac_exec_ext in '' $ac_executable_extensions; do
7016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7017 ac_cv_prog_AWK="$ac_prog"
7018 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7028 if test -n "$AWK"; then
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AWK" >&5
7030 $as_echo "$AWK" >&6; }
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7033 $as_echo "no
" >&6; }
7037 test -n "$AWK" && break
7058 # If no C compiler was specified, use CC.
7061 # If no C compiler flags were specified, use CFLAGS.
7062 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7064 # Allow CC to be a program name with arguments.
7068 # Check for command to grab the raw symbol name followed by C symbol from nm.
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7070 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7071 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7072 $as_echo_n "(cached
) " >&6
7075 # These are sane defaults that work on at least a few old systems.
7076 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7078 # Character class describing NM global symbol codes.
7079 symcode='[BCDEGRST]'
7081 # Regexp to match symbols that can be accessed directly from C.
7082 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7084 # Define system-specific variables.
7089 cygwin* | mingw* | pw32* | cegcc*)
7090 symcode='[ABCDGISTW]'
7093 if test "$host_cpu" = ia64; then
7094 symcode='[ABCDEGRST]'
7098 symcode='[BCDEGRST]'
7101 symcode='[BCDEGQRST]'
7112 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7120 # If we're using GNU nm, then use its standard symbol codes.
7121 case `$NM -V 2>&1` in
7122 *GNU* | *'with BFD'*)
7123 symcode='[ABCDGIRSTW]' ;;
7126 # Transform an extracted symbol line into a proper C declaration.
7127 # Some systems (esp. on ia64) link data and code symbols differently,
7128 # so use this general approach.
7129 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7131 # Transform an extracted symbol line into symbol name and symbol address
7132 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7133 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'"
7135 # Handle CRLF in mingw tool chain
7139 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7143 # Try without a prefix underscore, then with it.
7144 for ac_symprfx in "" "_
"; do
7146 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7147 symxfrm="\\1 $ac_symprfx\\2 \\2"
7149 # Write the raw and C identifiers.
7150 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7151 # Fake it for dumpbin and say T for any non-static function
7152 # and D for any global variable.
7153 # Also find C++ and __fastcall symbols from MSVC++,
7154 # which start with @ or ?.
7155 lt_cv_sys_global_symbol_pipe="$AWK '"\
7156 " {last_section=section; section=\$ 3};"\
7157 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7158 " \$ 0!~/External *\|/{next};"\
7159 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7160 " {if(hide[section]) next};"\
7161 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7162 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7163 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7164 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7165 " ' prfx
=^
$ac_symprfx"
7167 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7170 # Check to see that the pipe works correctly.
7174 cat > conftest.$ac_ext <<_LT_EOF
7179 void nm_test_func(void);
7180 void nm_test_func(void){}
7184 int main(){nm_test_var='a';nm_test_func();return(0);}
7187 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7188 (eval $ac_compile) 2>&5
7190 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7191 test $ac_status = 0; }; then
7192 # Now try to grab the symbols.
7194 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7195 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7197 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7198 test $ac_status = 0; } && test -s "$nlist"; then
7199 # Try sorting and uniquifying the output.
7200 if sort "$nlist" | uniq > "$nlist"T; then
7201 mv -f "$nlist"T "$nlist"
7206 # Make sure that we snagged all the symbols we need.
7207 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7208 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7209 cat <<_LT_EOF > conftest.$ac_ext
7215 # Now generate the symbol file.
7216 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7218 cat <<_LT_EOF >> conftest.$ac_ext
7220 /* The mapping between symbol names and symbols. */
7225 lt__PROGRAM__LTX_preloaded_symbols[] =
7227 { "@PROGRAM@
", (void *) 0 },
7229 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7230 cat <<\_LT_EOF >> conftest.$ac_ext
7234 /* This works around a problem in FreeBSD linker */
7235 #ifdef FREEBSD_WORKAROUND
7236 static const void *lt_preloaded_setup() {
7237 return lt__PROGRAM__LTX_preloaded_symbols;
7245 # Now try linking the two files.
7246 mv conftest.$ac_objext conftstm.$ac_objext
7247 lt_save_LIBS="$LIBS"
7248 lt_save_CFLAGS="$CFLAGS"
7249 LIBS="conftstm.
$ac_objext"
7250 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7251 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7252 (eval $ac_link) 2>&5
7254 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7255 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7258 LIBS="$lt_save_LIBS"
7259 CFLAGS="$lt_save_CFLAGS"
7261 echo "cannot
find nm_test_func
in $nlist" >&5
7264 echo "cannot
find nm_test_var
in $nlist" >&5
7267 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7270 echo "$progname: failed program was
:" >&5
7271 cat conftest.$ac_ext >&5
7273 rm -rf conftest* conftst*
7275 # Do not use the global_symbol_pipe unless it works.
7276 if test "$pipe_works" = yes; then
7279 lt_cv_sys_global_symbol_pipe=
7285 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7286 lt_cv_sys_global_symbol_to_cdecl=
7288 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7290 $as_echo "failed
" >&6; }
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7293 $as_echo "ok
" >&6; }
7317 # Check whether --enable-libtool-lock was given.
7318 if test "${enable_libtool_lock+set}" = set; then :
7319 enableval=$enable_libtool_lock;
7322 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7324 # Some flags need to be propagated to the compiler or linker for good
7328 # Find out which ABI we are using.
7329 echo 'int i;' > conftest.$ac_ext
7330 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7331 (eval $ac_compile) 2>&5
7333 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7334 test $ac_status = 0; }; then
7335 case `/usr/bin/file conftest.$ac_objext` in
7347 # Find out which ABI we are using.
7348 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7349 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7350 (eval $ac_compile) 2>&5
7352 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7353 test $ac_status = 0; }; then
7354 if test "$lt_cv_prog_gnu_ld" = yes; then
7355 case `/usr/bin/file conftest.$ac_objext` in
7357 LD="${LD-ld} -melf32bsmip"
7360 LD="${LD-ld} -melf32bmipn32"
7363 LD="${LD-ld} -melf64bmip"
7367 case `/usr/bin/file conftest.$ac_objext` in
7383 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7384 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7385 # Find out which ABI we are using.
7386 echo 'int i;' > conftest.$ac_ext
7387 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7388 (eval $ac_compile) 2>&5
7390 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7391 test $ac_status = 0; }; then
7392 case `/usr/bin/file conftest.o` in
7395 x86_64-*kfreebsd*-gnu)
7396 LD="${LD-ld} -m elf_i386_fbsd
"
7399 case `/usr/bin/file conftest.o` in
7401 LD="${LD-ld} -m elf32_x86_64
"
7404 LD="${LD-ld} -m elf_i386
"
7408 powerpc64le-*linux*)
7409 LD="${LD-ld} -m elf32lppclinux
"
7412 LD="${LD-ld} -m elf32ppclinux
"
7415 LD="${LD-ld} -m elf_s390
"
7418 LD="${LD-ld} -m elf32_sparc
"
7424 x86_64-*kfreebsd*-gnu)
7425 LD="${LD-ld} -m elf_x86_64_fbsd
"
7428 LD="${LD-ld} -m elf_x86_64
"
7431 LD="${LD-ld} -m elf64lppc
"
7434 LD="${LD-ld} -m elf64ppc
"
7436 s390*-*linux*|s390*-*tpf*)
7437 LD="${LD-ld} -m elf64_s390
"
7440 LD="${LD-ld} -m elf64_sparc
"
7450 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7451 SAVE_CFLAGS="$CFLAGS"
7452 CFLAGS="$CFLAGS -belf"
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7454 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7455 if ${lt_cv_cc_needs_belf+:} false; then :
7456 $as_echo_n "(cached
) " >&6
7459 ac_cpp='$CPP $CPPFLAGS'
7460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7465 /* end confdefs.h. */
7475 if ac_fn_c_try_link "$LINENO"; then :
7476 lt_cv_cc_needs_belf=yes
7478 lt_cv_cc_needs_belf=no
7480 rm -f core conftest.err conftest.$ac_objext \
7481 conftest$ac_exeext conftest.$ac_ext
7483 ac_cpp='$CPP $CPPFLAGS'
7484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7490 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7491 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7492 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7493 CFLAGS="$SAVE_CFLAGS"
7497 # Find out which ABI we are using.
7498 echo 'int i;' > conftest.$ac_ext
7499 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7500 (eval $ac_compile) 2>&5
7502 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7503 test $ac_status = 0; }; then
7504 case `/usr/bin/file conftest.o` in
7506 case $lt_cv_prog_gnu_ld in
7507 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7509 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7521 need_locks="$enable_libtool_lock"
7525 rhapsody* | darwin*)
7526 if test -n "$ac_tool_prefix"; then
7527 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7528 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7530 $as_echo_n "checking
for $ac_word...
" >&6; }
7531 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7532 $as_echo_n "(cached
) " >&6
7534 if test -n "$DSYMUTIL"; then
7535 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7541 test -z "$as_dir" && as_dir=.
7542 for ac_exec_ext in '' $ac_executable_extensions; do
7543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7544 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7545 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7554 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7555 if test -n "$DSYMUTIL"; then
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7557 $as_echo "$DSYMUTIL" >&6; }
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7560 $as_echo "no
" >&6; }
7565 if test -z "$ac_cv_prog_DSYMUTIL"; then
7566 ac_ct_DSYMUTIL=$DSYMUTIL
7567 # Extract the first word of "dsymutil
", so it can be a program name with args.
7568 set dummy dsymutil; ac_word=$2
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7570 $as_echo_n "checking
for $ac_word...
" >&6; }
7571 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7572 $as_echo_n "(cached
) " >&6
7574 if test -n "$ac_ct_DSYMUTIL"; then
7575 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7581 test -z "$as_dir" && as_dir=.
7582 for ac_exec_ext in '' $ac_executable_extensions; do
7583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7584 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7585 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7594 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7595 if test -n "$ac_ct_DSYMUTIL"; then
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7597 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7600 $as_echo "no
" >&6; }
7603 if test "x
$ac_ct_DSYMUTIL" = x; then
7606 case $cross_compiling:$ac_tool_warned in
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7609 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7610 ac_tool_warned=yes ;;
7612 DSYMUTIL=$ac_ct_DSYMUTIL
7615 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7618 if test -n "$ac_tool_prefix"; then
7619 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7620 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7622 $as_echo_n "checking
for $ac_word...
" >&6; }
7623 if ${ac_cv_prog_NMEDIT+:} false; then :
7624 $as_echo_n "(cached
) " >&6
7626 if test -n "$NMEDIT"; then
7627 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7633 test -z "$as_dir" && as_dir=.
7634 for ac_exec_ext in '' $ac_executable_extensions; do
7635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7636 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7637 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7646 NMEDIT=$ac_cv_prog_NMEDIT
7647 if test -n "$NMEDIT"; then
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7649 $as_echo "$NMEDIT" >&6; }
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7652 $as_echo "no
" >&6; }
7657 if test -z "$ac_cv_prog_NMEDIT"; then
7658 ac_ct_NMEDIT=$NMEDIT
7659 # Extract the first word of "nmedit
", so it can be a program name with args.
7660 set dummy nmedit; ac_word=$2
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7662 $as_echo_n "checking
for $ac_word...
" >&6; }
7663 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7664 $as_echo_n "(cached
) " >&6
7666 if test -n "$ac_ct_NMEDIT"; then
7667 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7673 test -z "$as_dir" && as_dir=.
7674 for ac_exec_ext in '' $ac_executable_extensions; do
7675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7676 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7677 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7686 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7687 if test -n "$ac_ct_NMEDIT"; then
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7689 $as_echo "$ac_ct_NMEDIT" >&6; }
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7692 $as_echo "no
" >&6; }
7695 if test "x
$ac_ct_NMEDIT" = x; then
7698 case $cross_compiling:$ac_tool_warned in
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7701 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7702 ac_tool_warned=yes ;;
7704 NMEDIT=$ac_ct_NMEDIT
7707 NMEDIT="$ac_cv_prog_NMEDIT"
7710 if test -n "$ac_tool_prefix"; then
7711 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7712 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7714 $as_echo_n "checking
for $ac_word...
" >&6; }
7715 if ${ac_cv_prog_LIPO+:} false; then :
7716 $as_echo_n "(cached
) " >&6
7718 if test -n "$LIPO"; then
7719 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7725 test -z "$as_dir" && as_dir=.
7726 for ac_exec_ext in '' $ac_executable_extensions; do
7727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7728 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7729 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7738 LIPO=$ac_cv_prog_LIPO
7739 if test -n "$LIPO"; then
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7741 $as_echo "$LIPO" >&6; }
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7744 $as_echo "no
" >&6; }
7749 if test -z "$ac_cv_prog_LIPO"; then
7751 # Extract the first word of "lipo
", so it can be a program name with args.
7752 set dummy lipo; ac_word=$2
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7754 $as_echo_n "checking
for $ac_word...
" >&6; }
7755 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7756 $as_echo_n "(cached
) " >&6
7758 if test -n "$ac_ct_LIPO"; then
7759 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7765 test -z "$as_dir" && as_dir=.
7766 for ac_exec_ext in '' $ac_executable_extensions; do
7767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7768 ac_cv_prog_ac_ct_LIPO="lipo
"
7769 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7778 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7779 if test -n "$ac_ct_LIPO"; then
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7781 $as_echo "$ac_ct_LIPO" >&6; }
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7784 $as_echo "no
" >&6; }
7787 if test "x
$ac_ct_LIPO" = x; then
7790 case $cross_compiling:$ac_tool_warned in
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7793 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7794 ac_tool_warned=yes ;;
7799 LIPO="$ac_cv_prog_LIPO"
7802 if test -n "$ac_tool_prefix"; then
7803 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7804 set dummy ${ac_tool_prefix}otool; ac_word=$2
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7806 $as_echo_n "checking
for $ac_word...
" >&6; }
7807 if ${ac_cv_prog_OTOOL+:} false; then :
7808 $as_echo_n "(cached
) " >&6
7810 if test -n "$OTOOL"; then
7811 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7817 test -z "$as_dir" && as_dir=.
7818 for ac_exec_ext in '' $ac_executable_extensions; do
7819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7820 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7821 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7830 OTOOL=$ac_cv_prog_OTOOL
7831 if test -n "$OTOOL"; then
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7833 $as_echo "$OTOOL" >&6; }
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7836 $as_echo "no
" >&6; }
7841 if test -z "$ac_cv_prog_OTOOL"; then
7843 # Extract the first word of "otool
", so it can be a program name with args.
7844 set dummy otool; ac_word=$2
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7846 $as_echo_n "checking
for $ac_word...
" >&6; }
7847 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7848 $as_echo_n "(cached
) " >&6
7850 if test -n "$ac_ct_OTOOL"; then
7851 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7857 test -z "$as_dir" && as_dir=.
7858 for ac_exec_ext in '' $ac_executable_extensions; do
7859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7860 ac_cv_prog_ac_ct_OTOOL="otool
"
7861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7870 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7871 if test -n "$ac_ct_OTOOL"; then
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7873 $as_echo "$ac_ct_OTOOL" >&6; }
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7876 $as_echo "no
" >&6; }
7879 if test "x
$ac_ct_OTOOL" = x; then
7882 case $cross_compiling:$ac_tool_warned in
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7885 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7886 ac_tool_warned=yes ;;
7891 OTOOL="$ac_cv_prog_OTOOL"
7894 if test -n "$ac_tool_prefix"; then
7895 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7896 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7898 $as_echo_n "checking
for $ac_word...
" >&6; }
7899 if ${ac_cv_prog_OTOOL64+:} false; then :
7900 $as_echo_n "(cached
) " >&6
7902 if test -n "$OTOOL64"; then
7903 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7909 test -z "$as_dir" && as_dir=.
7910 for ac_exec_ext in '' $ac_executable_extensions; do
7911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7912 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7913 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7922 OTOOL64=$ac_cv_prog_OTOOL64
7923 if test -n "$OTOOL64"; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7925 $as_echo "$OTOOL64" >&6; }
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7928 $as_echo "no
" >&6; }
7933 if test -z "$ac_cv_prog_OTOOL64"; then
7934 ac_ct_OTOOL64=$OTOOL64
7935 # Extract the first word of "otool64
", so it can be a program name with args.
7936 set dummy otool64; ac_word=$2
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7938 $as_echo_n "checking
for $ac_word...
" >&6; }
7939 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7940 $as_echo_n "(cached
) " >&6
7942 if test -n "$ac_ct_OTOOL64"; then
7943 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7952 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7962 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7963 if test -n "$ac_ct_OTOOL64"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7965 $as_echo "$ac_ct_OTOOL64" >&6; }
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7968 $as_echo "no
" >&6; }
7971 if test "x
$ac_ct_OTOOL64" = x; then
7974 case $cross_compiling:$ac_tool_warned in
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7977 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7978 ac_tool_warned=yes ;;
7980 OTOOL64=$ac_ct_OTOOL64
7983 OTOOL64="$ac_cv_prog_OTOOL64"
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8013 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8014 if ${lt_cv_apple_cc_single_mod+:} false; then :
8015 $as_echo_n "(cached
) " >&6
8017 lt_cv_apple_cc_single_mod=no
8018 if test -z "${LT_MULTI_MODULE}"; then
8019 # By default we will add the -single_module flag. You can override
8020 # by either setting the environment variable LT_MULTI_MODULE
8021 # non-empty at configure time, or by adding -multi_module to the
8023 rm -rf libconftest.dylib*
8024 echo "int foo
(void
){return 1;}" > conftest.c
8025 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8026 -dynamiclib -Wl,-single_module conftest.c
" >&5
8027 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8028 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8030 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8031 lt_cv_apple_cc_single_mod=yes
8033 cat conftest.err >&5
8035 rm -rf libconftest.dylib*
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8040 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8042 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8043 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8044 $as_echo_n "(cached
) " >&6
8046 lt_cv_ld_exported_symbols_list=no
8047 save_LDFLAGS=$LDFLAGS
8048 echo "_main
" > conftest.sym
8049 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8051 /* end confdefs.h. */
8061 if ac_fn_c_try_link "$LINENO"; then :
8062 lt_cv_ld_exported_symbols_list=yes
8064 lt_cv_ld_exported_symbols_list=no
8066 rm -f core conftest.err conftest.$ac_objext \
8067 conftest$ac_exeext conftest.$ac_ext
8068 LDFLAGS="$save_LDFLAGS"
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8072 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8074 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8075 if ${lt_cv_ld_force_load+:} false; then :
8076 $as_echo_n "(cached
) " >&6
8078 lt_cv_ld_force_load=no
8079 cat > conftest.c << _LT_EOF
8080 int forced_loaded() { return 2;}
8082 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8083 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8084 echo "$AR cru libconftest.a conftest.o
" >&5
8085 $AR cru libconftest.a conftest.o 2>&5
8086 cat > conftest.c << _LT_EOF
8087 int main() { return 0;}
8089 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8090 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8092 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8093 lt_cv_ld_force_load=yes
8095 cat conftest.err >&5
8097 rm -f conftest.err libconftest.a conftest conftest.c
8098 rm -rf conftest.dSYM
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8102 $as_echo "$lt_cv_ld_force_load" >&6; }
8103 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8104 # build without first building modern cctools / linker.
8105 case $host_cpu-$host_os in
8106 *-rhapsody* | *-darwin1.[012])
8107 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8109 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8111 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8112 # deployment target is forced to an earlier version.
8113 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8114 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8117 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8124 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8125 _lt_dar_single_mod='$single_module'
8127 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8128 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8130 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8132 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8133 _lt_dsymutil='~$DSYMUTIL $lib || :'
8140 for ac_header in dlfcn.h
8142 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8144 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8145 cat >>confdefs.h <<_ACEOF
8146 #define HAVE_DLFCN_H 1
8155 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8156 as_ac_Header=`$as_echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_hdr that defines DIR
" >&5
8158 $as_echo_n "checking
for $ac_hdr that defines DIR...
" >&6; }
8159 if eval \${$as_ac_Header+:} false; then :
8160 $as_echo_n "(cached
) " >&6
8162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8163 /* end confdefs.h. */
8164 #include <sys/types.h>
8176 if ac_fn_c_try_compile "$LINENO"; then :
8177 eval "$as_ac_Header=yes"
8179 eval "$as_ac_Header=no
"
8181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8183 eval ac_res=\$$as_ac_Header
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
8185 $as_echo "$ac_res" >&6; }
8186 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8187 cat >>confdefs.h <<_ACEOF
8188 #define `$as_echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
8191 ac_header_dirent=$ac_hdr; break
8195 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8196 if test $ac_header_dirent = dirent.h; then
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
8198 $as_echo_n "checking
for library containing opendir...
" >&6; }
8199 if ${ac_cv_search_opendir+:} false; then :
8200 $as_echo_n "(cached
) " >&6
8202 ac_func_search_save_LIBS=$LIBS
8203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8204 /* end confdefs.h. */
8206 /* Override any GCC internal prototype to avoid an error.
8207 Use char because int might match the return type of a GCC
8208 builtin and then its argument prototype would still apply. */
8221 for ac_lib in '' dir; do
8222 if test -z "$ac_lib"; then
8223 ac_res="none required
"
8226 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8228 if ac_fn_c_try_link "$LINENO"; then :
8229 ac_cv_search_opendir=$ac_res
8231 rm -f core conftest.err conftest.$ac_objext \
8233 if ${ac_cv_search_opendir+:} false; then :
8237 if ${ac_cv_search_opendir+:} false; then :
8240 ac_cv_search_opendir=no
8243 LIBS=$ac_func_search_save_LIBS
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
8246 $as_echo "$ac_cv_search_opendir" >&6; }
8247 ac_res=$ac_cv_search_opendir
8248 if test "$ac_res" != no; then :
8249 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
8255 $as_echo_n "checking
for library containing opendir...
" >&6; }
8256 if ${ac_cv_search_opendir+:} false; then :
8257 $as_echo_n "(cached
) " >&6
8259 ac_func_search_save_LIBS=$LIBS
8260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8261 /* end confdefs.h. */
8263 /* Override any GCC internal prototype to avoid an error.
8264 Use char because int might match the return type of a GCC
8265 builtin and then its argument prototype would still apply. */
8278 for ac_lib in '' x; do
8279 if test -z "$ac_lib"; then
8280 ac_res="none required
"
8283 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8285 if ac_fn_c_try_link "$LINENO"; then :
8286 ac_cv_search_opendir=$ac_res
8288 rm -f core conftest.err conftest.$ac_objext \
8290 if ${ac_cv_search_opendir+:} false; then :
8294 if ${ac_cv_search_opendir+:} false; then :
8297 ac_cv_search_opendir=no
8300 LIBS=$ac_func_search_save_LIBS
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
8303 $as_echo "$ac_cv_search_opendir" >&6; }
8304 ac_res=$ac_cv_search_opendir
8305 if test "$ac_res" != no; then :
8306 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8315 ac_fn_c_check_member "$LINENO" "struct stat
" "st_blksize
" "ac_cv_member_struct_stat_st_blksize
" "$ac_includes_default"
8316 if test "x
$ac_cv_member_struct_stat_st_blksize" = xyes; then :
8318 cat >>confdefs.h <<_ACEOF
8319 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8323 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
8328 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
8329 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
8331 cat >>confdefs.h
<<_ACEOF
8332 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8336 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
8339 case " $LIBOBJS " in
8340 *" fileblocks.$ac_objext "* ) ;;
8341 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
8348 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
8349 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
8351 cat >>confdefs.h
<<_ACEOF
8352 #define HAVE_STRUCT_STAT_ST_RDEV 1
8356 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
8361 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
8362 #include <$ac_cv_struct_tm>
8365 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
8367 cat >>confdefs.h
<<_ACEOF
8368 #define HAVE_STRUCT_TM_TM_ZONE 1
8374 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
8376 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
8379 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
8381 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
8387 cat >>confdefs.h
<<_ACEOF
8388 #define HAVE_DECL_TZNAME $ac_have_decl
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
8392 $as_echo_n "checking for tzname... " >&6; }
8393 if ${ac_cv_var_tzname+:} false
; then :
8394 $as_echo_n "(cached) " >&6
8396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8399 #if !HAVE_DECL_TZNAME
8400 extern char *tzname[];
8406 return tzname[0][0];
8411 if ac_fn_c_try_link
"$LINENO"; then :
8412 ac_cv_var_tzname
=yes
8416 rm -f core conftest.err conftest.
$ac_objext \
8417 conftest
$ac_exeext conftest.
$ac_ext
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
8420 $as_echo "$ac_cv_var_tzname" >&6; }
8421 if test $ac_cv_var_tzname = yes; then
8423 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
8429 ac_fn_c_check_member
"$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
8430 #include <sys/types.h>
8432 #include <sys/stat.h>
8434 if test "x$ac_cv_member_struct_stat_st_dev" = xyes
; then :
8436 cat >>confdefs.h
<<_ACEOF
8437 #define HAVE_STRUCT_STAT_ST_DEV 1
8442 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ino" "ac_cv_member_struct_stat_st_ino" "#ifdef HAVE_SYS_TYPES_H
8443 #include <sys/types.h>
8445 #include <sys/stat.h>
8447 if test "x$ac_cv_member_struct_stat_st_ino" = xyes
; then :
8449 cat >>confdefs.h
<<_ACEOF
8450 #define HAVE_STRUCT_STAT_ST_INO 1
8455 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mode" "ac_cv_member_struct_stat_st_mode" "#ifdef HAVE_SYS_TYPES_H
8456 #include <sys/types.h>
8458 #include <sys/stat.h>
8460 if test "x$ac_cv_member_struct_stat_st_mode" = xyes
; then :
8462 cat >>confdefs.h
<<_ACEOF
8463 #define HAVE_STRUCT_STAT_ST_MODE 1
8468 ac_fn_c_check_member
"$LINENO" "struct stat" "st_nlink" "ac_cv_member_struct_stat_st_nlink" "#ifdef HAVE_SYS_TYPES_H
8469 #include <sys/types.h>
8471 #include <sys/stat.h>
8473 if test "x$ac_cv_member_struct_stat_st_nlink" = xyes
; then :
8475 cat >>confdefs.h
<<_ACEOF
8476 #define HAVE_STRUCT_STAT_ST_NLINK 1
8481 ac_fn_c_check_member
"$LINENO" "struct stat" "st_uid" "ac_cv_member_struct_stat_st_uid" "#ifdef HAVE_SYS_TYPES_H
8482 #include <sys/types.h>
8484 #include <sys/stat.h>
8486 if test "x$ac_cv_member_struct_stat_st_uid" = xyes
; then :
8488 cat >>confdefs.h
<<_ACEOF
8489 #define HAVE_STRUCT_STAT_ST_UID 1
8494 ac_fn_c_check_member
"$LINENO" "struct stat" "st_gid" "ac_cv_member_struct_stat_st_gid" "#ifdef HAVE_SYS_TYPES_H
8495 #include <sys/types.h>
8497 #include <sys/stat.h>
8499 if test "x$ac_cv_member_struct_stat_st_gid" = xyes
; then :
8501 cat >>confdefs.h
<<_ACEOF
8502 #define HAVE_STRUCT_STAT_ST_GID 1
8507 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "#ifdef HAVE_SYS_TYPES_H
8508 #include <sys/types.h>
8510 #include <sys/stat.h>
8512 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
8514 cat >>confdefs.h
<<_ACEOF
8515 #define HAVE_STRUCT_STAT_ST_RDEV 1
8520 ac_fn_c_check_member
"$LINENO" "struct stat" "st_size" "ac_cv_member_struct_stat_st_size" "#ifdef HAVE_SYS_TYPES_H
8521 #include <sys/types.h>
8523 #include <sys/stat.h>
8525 if test "x$ac_cv_member_struct_stat_st_size" = xyes
; then :
8527 cat >>confdefs.h
<<_ACEOF
8528 #define HAVE_STRUCT_STAT_ST_SIZE 1
8533 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "#ifdef HAVE_SYS_TYPES_H
8534 #include <sys/types.h>
8536 #include <sys/stat.h>
8538 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
8540 cat >>confdefs.h
<<_ACEOF
8541 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8546 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "#ifdef HAVE_SYS_TYPES_H
8547 #include <sys/types.h>
8549 #include <sys/stat.h>
8551 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
8553 cat >>confdefs.h
<<_ACEOF
8554 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8559 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atime" "ac_cv_member_struct_stat_st_atime" "#ifdef HAVE_SYS_TYPES_H
8560 #include <sys/types.h>
8562 #include <sys/stat.h>
8564 if test "x$ac_cv_member_struct_stat_st_atime" = xyes
; then :
8566 cat >>confdefs.h
<<_ACEOF
8567 #define HAVE_STRUCT_STAT_ST_ATIME 1
8572 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtime" "ac_cv_member_struct_stat_st_mtime" "#ifdef HAVE_SYS_TYPES_H
8573 #include <sys/types.h>
8575 #include <sys/stat.h>
8577 if test "x$ac_cv_member_struct_stat_st_mtime" = xyes
; then :
8579 cat >>confdefs.h
<<_ACEOF
8580 #define HAVE_STRUCT_STAT_ST_MTIME 1
8585 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctime" "ac_cv_member_struct_stat_st_ctime" "#ifdef HAVE_SYS_TYPES_H
8586 #include <sys/types.h>
8588 #include <sys/stat.h>
8590 if test "x$ac_cv_member_struct_stat_st_ctime" = xyes
; then :
8592 cat >>confdefs.h
<<_ACEOF
8593 #define HAVE_STRUCT_STAT_ST_CTIME 1
8600 ac_fn_c_check_type
"$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default"
8601 if test "x$ac_cv_type___int128" = xyes
; then :
8603 cat >>confdefs.h
<<_ACEOF
8604 #define HAVE___INT128 1
8610 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
8611 #include <sys/socket.h>
8614 if test "x$ac_cv_type_socklen_t" = xyes
; then :
8616 cat >>confdefs.h
<<_ACEOF
8617 #define HAVE_SOCKLEN_T 1
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
8625 $as_echo_n "checking type of array argument to getgroups... " >&6; }
8626 if ${ac_cv_type_getgroups+:} false
; then :
8627 $as_echo_n "(cached) " >&6
8629 if test "$cross_compiling" = yes; then :
8630 ac_cv_type_getgroups
=cross
8632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8633 /* end confdefs.h. */
8634 /* Thanks to Mike Rendell for this test. */
8635 $ac_includes_default
8638 #define MAX(x, y) ((x) > (y) ? (x) : (y))
8645 union { gid_t gval; long int lval; } val;
8648 for (i = 0; i < NGID; i++)
8649 gidset[i] = val.gval;
8650 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
8652 /* Exit non-zero if getgroups seems to require an array of ints. This
8653 happens when gid_t is short int but getgroups modifies an array
8655 return n > 0 && gidset[n] != val.gval;
8658 if ac_fn_c_try_run
"$LINENO"; then :
8659 ac_cv_type_getgroups
=gid_t
8661 ac_cv_type_getgroups
=int
8663 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8664 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8667 if test $ac_cv_type_getgroups = cross
; then
8668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8669 /* end confdefs.h. */
8673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8674 $EGREP "getgroups.*int.*gid_t" >/dev
/null
2>&1; then :
8675 ac_cv_type_getgroups
=gid_t
8677 ac_cv_type_getgroups
=int
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
8684 $as_echo "$ac_cv_type_getgroups" >&6; }
8686 cat >>confdefs.h
<<_ACEOF
8687 #define GETGROUPS_T $ac_cv_type_getgroups
8691 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
8692 if test "x$ac_cv_type_mode_t" = xyes
; then :
8696 cat >>confdefs.h
<<_ACEOF
8702 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
8703 if test "x$ac_cv_type_off_t" = xyes
; then :
8707 cat >>confdefs.h
<<_ACEOF
8708 #define off_t long int
8713 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8714 if test "x$ac_cv_type_pid_t" = xyes
; then :
8718 cat >>confdefs.h
<<_ACEOF
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8725 $as_echo_n "checking return type of signal handlers... " >&6; }
8726 if ${ac_cv_type_signal+:} false
; then :
8727 $as_echo_n "(cached) " >&6
8729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8730 /* end confdefs.h. */
8731 #include <sys/types.h>
8737 return *(signal (0, 0)) (0) == 1;
8742 if ac_fn_c_try_compile
"$LINENO"; then :
8743 ac_cv_type_signal
=int
8745 ac_cv_type_signal
=void
8747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8750 $as_echo "$ac_cv_type_signal" >&6; }
8752 cat >>confdefs.h
<<_ACEOF
8753 #define RETSIGTYPE $ac_cv_type_signal
8757 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8758 if test "x$ac_cv_type_size_t" = xyes
; then :
8762 cat >>confdefs.h
<<_ACEOF
8763 #define size_t unsigned int
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8769 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8770 if ${ac_cv_type_uid_t+:} false
; then :
8771 $as_echo_n "(cached) " >&6
8773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8774 /* end confdefs.h. */
8775 #include <sys/types.h>
8778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8779 $EGREP "uid_t" >/dev
/null
2>&1; then :
8780 ac_cv_type_uid_t
=yes
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8788 $as_echo "$ac_cv_type_uid_t" >&6; }
8789 if test $ac_cv_type_uid_t = no
; then
8791 $as_echo "#define uid_t int" >>confdefs.h
8794 $as_echo "#define gid_t int" >>confdefs.h
8813 # Check whether --enable-shared was given.
8814 if test "${enable_shared+set}" = set; then :
8815 enableval
=$enable_shared; p
=${PACKAGE-default}
8817 yes) enable_shared
=yes ;;
8818 no
) enable_shared
=no
;;
8821 # Look at the argument we got. We use all the common list separators.
8822 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8823 for pkg
in $enableval; do
8825 if test "X$pkg" = "X$p"; then
8844 # Check whether --enable-static was given.
8845 if test "${enable_static+set}" = set; then :
8846 enableval
=$enable_static; p
=${PACKAGE-default}
8848 yes) enable_static
=yes ;;
8849 no
) enable_static
=no
;;
8852 # Look at the argument we got. We use all the common list separators.
8853 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8854 for pkg
in $enableval; do
8856 if test "X$pkg" = "X$p"; then
8876 # Check whether --with-pic was given.
8877 if test "${with_pic+set}" = set; then :
8878 withval
=$with_pic; pic_mode
="$withval"
8884 test -z "$pic_mode" && pic_mode
=default
8892 # Check whether --enable-fast-install was given.
8893 if test "${enable_fast_install+set}" = set; then :
8894 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8896 yes) enable_fast_install
=yes ;;
8897 no
) enable_fast_install
=no
;;
8899 enable_fast_install
=no
8900 # Look at the argument we got. We use all the common list separators.
8901 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8902 for pkg
in $enableval; do
8904 if test "X$pkg" = "X$p"; then
8905 enable_fast_install
=yes
8912 enable_fast_install
=yes
8925 # This can be used to rebuild libtool when needed
8926 LIBTOOL_DEPS
="$ltmain"
8928 # Always use our own libtool.
8929 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8956 test -z "$LN_S" && LN_S
="ln -s"
8971 if test -n "${ZSH_VERSION+set}" ; then
8972 setopt NO_GLOB_SUBST
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8976 $as_echo_n "checking for objdir... " >&6; }
8977 if ${lt_cv_objdir+:} false
; then :
8978 $as_echo_n "(cached) " >&6
8980 rm -f .libs
2>/dev
/null
8981 mkdir .libs
2>/dev
/null
8982 if test -d .libs
; then
8985 # MS-DOS does not allow filenames that begin with a dot.
8988 rmdir .libs
2>/dev
/null
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8991 $as_echo "$lt_cv_objdir" >&6; }
8992 objdir
=$lt_cv_objdir
8998 cat >>confdefs.h
<<_ACEOF
8999 #define LT_OBJDIR "$lt_cv_objdir/"
9007 # AIX sometimes has problems with the GCC collect2 program. For some
9008 # reason, if we set the COLLECT_NAMES environment variable, the problems
9009 # vanish in a puff of smoke.
9010 if test "X${COLLECT_NAMES+set}" != Xset
; then
9012 export COLLECT_NAMES
9019 can_build_shared
=yes
9021 # All known linkers require a `.a' archive for static linking (except MSVC,
9022 # which needs '.lib').
9025 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9028 old_CFLAGS
="$CFLAGS"
9030 # Set sane defaults for various variables
9031 test -z "$CC" && CC
=cc
9032 test -z "$LTCC" && LTCC
=$CC
9033 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9034 test -z "$LD" && LD
=ld
9035 test -z "$ac_objext" && ac_objext
=o
9037 for cc_temp
in $compiler""; do
9039 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9040 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9045 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9048 # Only perform the check for file, if the check method requires it
9049 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9050 case $deplibs_check_method in
9052 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9054 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9055 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9056 $as_echo_n "(cached) " >&6
9060 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9063 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9064 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9065 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9066 for ac_dir
in $ac_dummy; do
9068 test -z "$ac_dir" && ac_dir
=.
9069 if test -f $ac_dir/${ac_tool_prefix}file; then
9070 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9071 if test -n "$file_magic_test_file"; then
9072 case $deplibs_check_method in
9074 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9075 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9076 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9077 $EGREP "$file_magic_regex" > /dev
/null
; then
9082 *** Warning: the command libtool uses to detect shared libraries,
9083 *** $file_magic_cmd, produces output that libtool cannot recognize.
9084 *** The result is that libtool may fail to recognize shared libraries
9085 *** as such. This will affect the creation of libtool libraries that
9086 *** depend on shared libraries, but programs linked with such libtool
9087 *** libraries will work regardless of this problem. Nevertheless, you
9088 *** may want to report the problem to your system manager and/or to
9089 *** bug-libtool@gnu.org
9099 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9104 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9105 if test -n "$MAGIC_CMD"; then
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9107 $as_echo "$MAGIC_CMD" >&6; }
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9110 $as_echo "no" >&6; }
9117 if test -z "$lt_cv_path_MAGIC_CMD"; then
9118 if test -n "$ac_tool_prefix"; then
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9120 $as_echo_n "checking for file... " >&6; }
9121 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9122 $as_echo_n "(cached) " >&6
9126 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9129 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9130 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9131 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9132 for ac_dir
in $ac_dummy; do
9134 test -z "$ac_dir" && ac_dir
=.
9135 if test -f $ac_dir/file; then
9136 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9137 if test -n "$file_magic_test_file"; then
9138 case $deplibs_check_method in
9140 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9141 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9142 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9143 $EGREP "$file_magic_regex" > /dev
/null
; then
9148 *** Warning: the command libtool uses to detect shared libraries,
9149 *** $file_magic_cmd, produces output that libtool cannot recognize.
9150 *** The result is that libtool may fail to recognize shared libraries
9151 *** as such. This will affect the creation of libtool libraries that
9152 *** depend on shared libraries, but programs linked with such libtool
9153 *** libraries will work regardless of this problem. Nevertheless, you
9154 *** may want to report the problem to your system manager and/or to
9155 *** bug-libtool@gnu.org
9165 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9170 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9171 if test -n "$MAGIC_CMD"; then
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9173 $as_echo "$MAGIC_CMD" >&6; }
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9176 $as_echo "no" >&6; }
9189 # Use C for the default configuration in the libtool script
9193 ac_cpp
='$CPP $CPPFLAGS'
9194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9199 # Source file extension for C test sources.
9202 # Object file extension for compiled C test sources.
9206 # Code to be used in simple compile tests
9207 lt_simple_compile_test_code
="int some_variable = 0;"
9209 # Code to be used in simple link tests
9210 lt_simple_link_test_code
='int main(){return(0);}'
9218 # If no C compiler was specified, use CC.
9221 # If no C compiler flags were specified, use CFLAGS.
9222 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9224 # Allow CC to be a program name with arguments.
9227 # Save the default compiler, since it gets overwritten when the other
9228 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9229 compiler_DEFAULT
=$CC
9231 # save warnings/boilerplate of simple test code
9232 ac_outfile
=conftest.
$ac_objext
9233 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9234 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9235 _lt_compiler_boilerplate
=`cat conftest.err`
9238 ac_outfile
=conftest.
$ac_objext
9239 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9240 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9241 _lt_linker_boilerplate
=`cat conftest.err`
9246 ## There is no encapsulation within the following macros, do not change
9247 ## the running order or otherwise move them around unless you know exactly
9248 ## what you are doing...
9249 if test -n "$compiler"; then
9251 lt_prog_compiler_no_builtin_flag
=
9253 if test "$GCC" = yes; then
9254 case $cc_basename in
9256 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9258 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9262 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9263 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9264 $as_echo_n "(cached) " >&6
9266 lt_cv_prog_compiler_rtti_exceptions
=no
9267 ac_outfile
=conftest.
$ac_objext
9268 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9269 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9270 # Insert the option either (1) after the last *FLAGS variable, or
9271 # (2) before a word containing "conftest.", or (3) at the end.
9272 # Note that $ac_compile itself does not contain backslashes and begins
9273 # with a dollar sign (not a hyphen), so the echo should work correctly.
9274 # The option is referenced via a variable to avoid confusing sed.
9275 lt_compile
=`echo "$ac_compile" | $SED \
9276 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9277 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9278 -e 's:$: $lt_compiler_flag:'`
9279 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9280 (eval "$lt_compile" 2>conftest.err
)
9282 cat conftest.err
>&5
9283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284 if (exit $ac_status) && test -s "$ac_outfile"; then
9285 # The compiler can only warn and ignore the option if not recognized
9286 # So say no if there are warnings other than the usual output.
9287 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9288 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9289 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9290 lt_cv_prog_compiler_rtti_exceptions
=yes
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9297 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9299 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9300 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9312 lt_prog_compiler_wl
=
9313 lt_prog_compiler_pic
=
9314 lt_prog_compiler_static
=
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9317 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9319 if test "$GCC" = yes; then
9320 lt_prog_compiler_wl
='-Wl,'
9321 lt_prog_compiler_static
='-static'
9325 # All AIX code is PIC.
9326 if test "$host_cpu" = ia64
; then
9327 # AIX 5 now supports IA64 processor
9328 lt_prog_compiler_static
='-Bstatic'
9330 lt_prog_compiler_pic
='-fPIC'
9336 # see comment about AmigaOS4 .so support
9337 lt_prog_compiler_pic
='-fPIC'
9340 # FIXME: we need at least 68020 code to build shared libraries, but
9341 # adding the `-m68020' flag to GCC prevents building anything better,
9343 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9348 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9349 # PIC is the default for these OSes.
9352 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9353 # This hack is so that the source file can tell whether it is being
9354 # built for inclusion in a dll (and should export symbols for example).
9355 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9356 # (--disable-auto-import) libraries
9357 lt_prog_compiler_pic
='-DDLL_EXPORT'
9360 darwin
* | rhapsody
*)
9361 # PIC is the default on this platform
9362 # Common symbols not allowed in MH_DYLIB files
9363 lt_prog_compiler_pic
='-fno-common'
9367 # PIC is the default for Haiku.
9368 # The "-static" flag exists, but is broken.
9369 lt_prog_compiler_static
=
9373 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9374 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9375 # sets the default TLS model and affects inlining.
9381 lt_prog_compiler_pic
='-fPIC'
9387 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9388 # Instead, we relocate shared libraries at runtime.
9392 # Just because we use GCC doesn't mean we suddenly get shared libraries
9393 # on systems that don't support them.
9394 lt_prog_compiler_can_build_shared
=no
9399 # QNX uses GNU C++, but need to define -shared option too, otherwise
9401 lt_prog_compiler_pic
='-fPIC -shared'
9405 if test -d /usr
/nec
; then
9406 lt_prog_compiler_pic
=-Kconform_pic
9411 lt_prog_compiler_pic
='-fPIC'
9415 case $cc_basename in
9416 nvcc
*) # Cuda Compiler Driver 2.2
9417 lt_prog_compiler_wl
='-Xlinker '
9418 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9422 # PORTME Check for flag to pass linker flags through the system compiler.
9425 lt_prog_compiler_wl
='-Wl,'
9426 if test "$host_cpu" = ia64
; then
9427 # AIX 5 now supports IA64 processor
9428 lt_prog_compiler_static
='-Bstatic'
9430 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9434 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9435 # This hack is so that the source file can tell whether it is being
9436 # built for inclusion in a dll (and should export symbols for example).
9437 lt_prog_compiler_pic
='-DDLL_EXPORT'
9440 hpux9
* | hpux10
* | hpux11
*)
9441 lt_prog_compiler_wl
='-Wl,'
9442 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9449 lt_prog_compiler_pic
='+Z'
9452 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9453 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9456 irix5
* | irix6
* | nonstopux
*)
9457 lt_prog_compiler_wl
='-Wl,'
9458 # PIC (with -KPIC) is the default.
9459 lt_prog_compiler_static
='-non_shared'
9462 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9463 case $cc_basename in
9464 # old Intel for x86_64 which still supported -KPIC.
9466 lt_prog_compiler_wl
='-Wl,'
9467 lt_prog_compiler_pic
='-KPIC'
9468 lt_prog_compiler_static
='-static'
9470 # icc used to be incompatible with GCC.
9471 # ICC 10 doesn't accept -KPIC any more.
9473 lt_prog_compiler_wl
='-Wl,'
9474 lt_prog_compiler_pic
='-fPIC'
9475 lt_prog_compiler_static
='-static'
9477 # Lahey Fortran 8.1.
9479 lt_prog_compiler_wl
='-Wl,'
9480 lt_prog_compiler_pic
='--shared'
9481 lt_prog_compiler_static
='--static'
9483 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9484 # Portland Group compilers (*not* the Pentium gcc compiler,
9485 # which looks to be a dead project)
9486 lt_prog_compiler_wl
='-Wl,'
9487 lt_prog_compiler_pic
='-fpic'
9488 lt_prog_compiler_static
='-Bstatic'
9491 lt_prog_compiler_wl
='-Wl,'
9492 # All Alpha code is PIC.
9493 lt_prog_compiler_static
='-non_shared'
9495 xl
* | bgxl
* | bgf
* | mpixl
*)
9496 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9497 lt_prog_compiler_wl
='-Wl,'
9498 lt_prog_compiler_pic
='-qpic'
9499 lt_prog_compiler_static
='-qstaticlink'
9502 case `$CC -V 2>&1 | sed 5q` in
9503 *Sun\ F
* |
*Sun
*Fortran
*)
9504 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9505 lt_prog_compiler_pic
='-KPIC'
9506 lt_prog_compiler_static
='-Bstatic'
9507 lt_prog_compiler_wl
=''
9511 lt_prog_compiler_pic
='-KPIC'
9512 lt_prog_compiler_static
='-Bstatic'
9513 lt_prog_compiler_wl
='-Wl,'
9521 lt_prog_compiler_pic
='-KPIC'
9522 lt_prog_compiler_static
='-Bstatic'
9526 # QNX uses GNU C++, but need to define -shared option too, otherwise
9528 lt_prog_compiler_pic
='-fPIC -shared'
9531 osf3
* | osf4
* | osf5
*)
9532 lt_prog_compiler_wl
='-Wl,'
9533 # All OSF/1 code is PIC.
9534 lt_prog_compiler_static
='-non_shared'
9538 lt_prog_compiler_static
='-non_shared'
9542 lt_prog_compiler_pic
='-KPIC'
9543 lt_prog_compiler_static
='-Bstatic'
9544 case $cc_basename in
9546 lt_prog_compiler_wl
='-Qoption ld ';;
9548 lt_prog_compiler_wl
='-Wl,';;
9553 lt_prog_compiler_wl
='-Qoption ld '
9554 lt_prog_compiler_pic
='-PIC'
9555 lt_prog_compiler_static
='-Bstatic'
9558 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9559 lt_prog_compiler_wl
='-Wl,'
9560 lt_prog_compiler_pic
='-KPIC'
9561 lt_prog_compiler_static
='-Bstatic'
9565 if test -d /usr
/nec
;then
9566 lt_prog_compiler_pic
='-Kconform_pic'
9567 lt_prog_compiler_static
='-Bstatic'
9571 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9572 lt_prog_compiler_wl
='-Wl,'
9573 lt_prog_compiler_pic
='-KPIC'
9574 lt_prog_compiler_static
='-Bstatic'
9578 lt_prog_compiler_wl
='-Wl,'
9579 lt_prog_compiler_can_build_shared
=no
9583 lt_prog_compiler_pic
='-pic'
9584 lt_prog_compiler_static
='-Bstatic'
9588 lt_prog_compiler_can_build_shared
=no
9594 # For platforms which do not support PIC, -DPIC is meaningless:
9596 lt_prog_compiler_pic
=
9599 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9603 $as_echo "$lt_prog_compiler_pic" >&6; }
9611 # Check to make sure the PIC flag actually works.
9613 if test -n "$lt_prog_compiler_pic"; then
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9615 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9616 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9617 $as_echo_n "(cached) " >&6
9619 lt_cv_prog_compiler_pic_works
=no
9620 ac_outfile
=conftest.
$ac_objext
9621 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9622 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9623 # Insert the option either (1) after the last *FLAGS variable, or
9624 # (2) before a word containing "conftest.", or (3) at the end.
9625 # Note that $ac_compile itself does not contain backslashes and begins
9626 # with a dollar sign (not a hyphen), so the echo should work correctly.
9627 # The option is referenced via a variable to avoid confusing sed.
9628 lt_compile
=`echo "$ac_compile" | $SED \
9629 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9630 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9631 -e 's:$: $lt_compiler_flag:'`
9632 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9633 (eval "$lt_compile" 2>conftest.err
)
9635 cat conftest.err
>&5
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 if (exit $ac_status) && test -s "$ac_outfile"; then
9638 # The compiler can only warn and ignore the option if not recognized
9639 # So say no if there are warnings other than the usual output.
9640 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9641 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9642 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9643 lt_cv_prog_compiler_pic_works
=yes
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9650 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9652 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9653 case $lt_prog_compiler_pic in
9655 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9658 lt_prog_compiler_pic
=
9659 lt_prog_compiler_can_build_shared
=no
9670 # Check to make sure the static flag actually works.
9672 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9674 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9675 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9676 $as_echo_n "(cached) " >&6
9678 lt_cv_prog_compiler_static_works
=no
9679 save_LDFLAGS
="$LDFLAGS"
9680 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9681 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9682 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9683 # The linker can only warn and ignore the option if not recognized
9684 # So say no if there are warnings
9685 if test -s conftest.err
; then
9686 # Append any errors to the config.log.
9687 cat conftest.err
1>&5
9688 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9689 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9690 if diff conftest.exp conftest.er2
>/dev
/null
; then
9691 lt_cv_prog_compiler_static_works
=yes
9694 lt_cv_prog_compiler_static_works
=yes
9698 LDFLAGS
="$save_LDFLAGS"
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9702 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9704 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9707 lt_prog_compiler_static
=
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9717 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9718 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9719 $as_echo_n "(cached) " >&6
9721 lt_cv_prog_compiler_c_o
=no
9722 $RM -r conftest
2>/dev
/null
9726 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9728 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9729 # Insert the option either (1) after the last *FLAGS variable, or
9730 # (2) before a word containing "conftest.", or (3) at the end.
9731 # Note that $ac_compile itself does not contain backslashes and begins
9732 # with a dollar sign (not a hyphen), so the echo should work correctly.
9733 lt_compile
=`echo "$ac_compile" | $SED \
9734 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9735 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9736 -e 's:$: $lt_compiler_flag:'`
9737 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9738 (eval "$lt_compile" 2>out
/conftest.err
)
9740 cat out
/conftest.err
>&5
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9744 # The compiler can only warn and ignore the option if not recognized
9745 # So say no if there are warnings
9746 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9747 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9748 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9749 lt_cv_prog_compiler_c_o
=yes
9754 # SGI C++ compiler will create directory out/ii_files/ for
9755 # template instantiation
9756 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9757 $RM out
/* && rmdir out
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9764 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9772 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9773 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9774 $as_echo_n "(cached) " >&6
9776 lt_cv_prog_compiler_c_o
=no
9777 $RM -r conftest
2>/dev
/null
9781 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9783 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9784 # Insert the option either (1) after the last *FLAGS variable, or
9785 # (2) before a word containing "conftest.", or (3) at the end.
9786 # Note that $ac_compile itself does not contain backslashes and begins
9787 # with a dollar sign (not a hyphen), so the echo should work correctly.
9788 lt_compile
=`echo "$ac_compile" | $SED \
9789 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9790 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9791 -e 's:$: $lt_compiler_flag:'`
9792 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9793 (eval "$lt_compile" 2>out
/conftest.err
)
9795 cat out
/conftest.err
>&5
9796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9797 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9799 # The compiler can only warn and ignore the option if not recognized
9800 # So say no if there are warnings
9801 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9802 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9803 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9804 lt_cv_prog_compiler_c_o
=yes
9809 # SGI C++ compiler will create directory out/ii_files/ for
9810 # template instantiation
9811 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9812 $RM out
/* && rmdir out
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9819 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9824 hard_links
="nottested"
9825 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9826 # do not overwrite the value of need_locks provided by the user
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9828 $as_echo_n "checking if we can lock with hard links... " >&6; }
9831 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9833 ln conftest.a conftest.b
2>&5 || hard_links
=no
9834 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9836 $as_echo "$hard_links" >&6; }
9837 if test "$hard_links" = no
; then
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9839 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9852 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9855 allow_undefined_flag
=
9856 always_export_symbols
=no
9858 archive_expsym_cmds
=
9859 compiler_needs_object
=no
9860 enable_shared_with_static_runtimes
=no
9861 export_dynamic_flag_spec
=
9862 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9863 hardcode_automatic
=no
9865 hardcode_direct_absolute
=no
9866 hardcode_libdir_flag_spec
=
9867 hardcode_libdir_flag_spec_ld
=
9868 hardcode_libdir_separator
=
9870 hardcode_shlibpath_var
=unsupported
9872 link_all_deplibs
=unknown
9875 old_archive_from_new_cmds
=
9876 old_archive_from_expsyms_cmds
=
9877 thread_safe_flag_spec
=
9878 whole_archive_flag_spec
=
9879 # include_expsyms should be a list of space-separated symbols to be *always*
9880 # included in the symbol list
9882 # exclude_expsyms can be an extended regexp of symbols to exclude
9883 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9884 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9885 # as well as any symbol that contains `d'.
9886 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9887 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9888 # platforms (ab)use it in PIC code, but their linkers get confused if
9889 # the symbol is explicitly referenced. Since portable code cannot
9890 # rely on this symbol name, it's probably fine to never include it in
9891 # preloaded symbol tables.
9892 # Exclude shared library initialization/finalization symbols.
9893 extract_expsyms_cmds
=
9896 cygwin
* | mingw
* | pw32
* | cegcc
*)
9897 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9898 # When not using gcc, we currently assume that we are using
9899 # Microsoft Visual C++.
9900 if test "$GCC" != yes; then
9905 # we just hope/assume this is gcc and not c89 (= MSVC++)
9915 # On some targets, GNU ld is compatible enough with the native linker
9916 # that we're better off using the native interface for both.
9917 lt_use_gnu_ld_interface
=no
9918 if test "$with_gnu_ld" = yes; then
9921 # The AIX port of GNU ld has always aspired to compatibility
9922 # with the native linker. However, as the warning in the GNU ld
9923 # block says, versions before 2.19.5* couldn't really create working
9924 # shared libraries, regardless of the interface used.
9925 case `$LD -v 2>&1` in
9926 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9927 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9928 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9930 lt_use_gnu_ld_interface
=yes
9935 lt_use_gnu_ld_interface
=yes
9940 if test "$lt_use_gnu_ld_interface" = yes; then
9941 # If archive_cmds runs LD, not CC, wlarc should be empty
9944 # Set some defaults for GNU ld with shared library support. These
9945 # are reset later if shared libraries are not supported. Putting them
9946 # here allows them to be overridden if necessary.
9947 runpath_var
=LD_RUN_PATH
9948 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9949 export_dynamic_flag_spec
='${wl}--export-dynamic'
9950 # ancient GNU ld didn't support --whole-archive et. al.
9951 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9952 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9954 whole_archive_flag_spec
=
9956 supports_anon_versioning
=no
9957 case `$LD -v 2>&1` in
9958 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9959 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9960 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9961 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9962 *\
2.11.
*) ;; # other 2.11 versions
9963 *) supports_anon_versioning
=yes ;;
9966 # See if GNU ld supports shared libraries.
9969 # On AIX/PPC, the GNU linker is very broken
9970 if test "$host_cpu" != ia64
; then
9974 *** Warning: the GNU linker, at least up to release 2.19, is reported
9975 *** to be unable to reliably create shared libraries on AIX.
9976 *** Therefore, libtool is disabling shared libraries support. If you
9977 *** really care for shared libraries, you may want to install binutils
9978 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9979 *** You will then need to restart the configuration process.
9988 # see comment about AmigaOS4 .so support
9989 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9990 archive_expsym_cmds
=''
9993 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)'
9994 hardcode_libdir_flag_spec
='-L$libdir'
9995 hardcode_minus_L
=yes
10001 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10002 allow_undefined_flag
=unsupported
10003 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10004 # support --undefined. This deserves some investigation. FIXME
10005 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10011 cygwin
* | mingw
* | pw32
* | cegcc
*)
10012 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10013 # as there is no search path for DLLs.
10014 hardcode_libdir_flag_spec
='-L$libdir'
10015 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10016 allow_undefined_flag
=unsupported
10017 always_export_symbols
=no
10018 enable_shared_with_static_runtimes
=yes
10019 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10021 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10022 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10023 # If the export-symbols file already is a .def file (1st line
10024 # is EXPORTS), use it as is; otherwise, prepend...
10025 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10026 cp $export_symbols $output_objdir/$soname.def;
10028 echo EXPORTS > $output_objdir/$soname.def;
10029 cat $export_symbols >> $output_objdir/$soname.def;
10031 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10038 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10039 link_all_deplibs
=yes
10044 hardcode_shlibpath_var
=no
10045 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10046 export_dynamic_flag_spec
='${wl}-E'
10047 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10048 # Instead, shared libraries are loaded at an image base (0x10000000 by
10049 # default) and relocated if they conflict, which is a slow very memory
10050 # consuming and fragmenting process. To avoid this, we pick a random,
10051 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10052 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10053 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10054 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'
10057 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10059 if test "$host_os" = linux-dietlibc
; then
10060 case $cc_basename in
10061 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10064 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10065 && test "$tmp_diet" = no
10067 tmp_addflag
=' $pic_flag'
10068 tmp_sharedflag
='-shared'
10069 case $cc_basename,$host_cpu in
10070 pgcc
*) # Portland Group C compiler
10071 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'
10072 tmp_addflag
=' $pic_flag'
10074 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10075 # Portland Group f77 and f90 compilers
10076 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'
10077 tmp_addflag
=' $pic_flag -Mnomain' ;;
10078 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10079 tmp_addflag
=' -i_dynamic' ;;
10080 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10081 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10082 ifc
* | ifort
*) # Intel Fortran compiler
10083 tmp_addflag
=' -nofor_main' ;;
10084 lf95
*) # Lahey Fortran 8.1
10085 whole_archive_flag_spec
=
10086 tmp_sharedflag
='--shared' ;;
10087 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10088 tmp_sharedflag
='-qmkshrobj'
10090 nvcc
*) # Cuda Compiler Driver 2.2
10091 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'
10092 compiler_needs_object
=yes
10095 case `$CC -V 2>&1 | sed 5q` in
10096 *Sun\ C
*) # Sun C 5.9
10097 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'
10098 compiler_needs_object
=yes
10099 tmp_sharedflag
='-G' ;;
10100 *Sun\ F
*) # Sun Fortran 8.3
10101 tmp_sharedflag
='-G' ;;
10103 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10105 if test "x$supports_anon_versioning" = xyes
; then
10106 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10107 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10108 echo "local: *; };" >> $output_objdir/$libname.ver~
10109 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10112 case $cc_basename in
10113 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10114 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10115 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10116 hardcode_libdir_flag_spec
=
10117 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10118 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10119 if test "x$supports_anon_versioning" = xyes
; then
10120 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10121 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10122 echo "local: *; };" >> $output_objdir/$libname.ver~
10123 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10133 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10134 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10137 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10138 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10143 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10147 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10148 *** create shared libraries on Solaris systems. Therefore, libtool
10149 *** is disabling shared libraries support. We urge you to upgrade GNU
10150 *** binutils to release 2.9.1 or newer. Another option is to modify
10151 *** your PATH or compiler configuration so that the native linker is
10152 *** used, and then restart.
10155 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10156 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10157 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10163 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10164 case `$LD -v 2>&1` in
10165 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10169 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10170 *** reliably create shared libraries on SCO systems. Therefore, libtool
10171 *** is disabling shared libraries support. We urge you to upgrade GNU
10172 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10173 *** your PATH or compiler configuration so that the native linker is
10174 *** used, and then restart.
10179 # For security reasons, it is highly recommended that you always
10180 # use absolute paths for naming shared libraries, and exclude the
10181 # DT_RUNPATH tag from executables and libraries. But doing so
10182 # requires that you compile everything twice, which is a pain.
10183 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10184 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10185 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10186 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10195 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10197 hardcode_direct
=yes
10198 hardcode_shlibpath_var
=no
10202 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10203 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10204 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10211 if test "$ld_shlibs" = no
; then
10213 hardcode_libdir_flag_spec
=
10214 export_dynamic_flag_spec
=
10215 whole_archive_flag_spec
=
10218 # PORTME fill in a description of your system's linker (not GNU ld)
10221 allow_undefined_flag
=unsupported
10222 always_export_symbols
=yes
10223 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'
10224 # Note: this linker hardcodes the directories in LIBPATH if there
10225 # are no directories specified by -L.
10226 hardcode_minus_L
=yes
10227 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10228 # Neither direct hardcoding nor static linking is supported with a
10230 hardcode_direct
=unsupported
10235 if test "$host_cpu" = ia64
; then
10236 # On IA64, the linker does run time linking by default, so we don't
10237 # have to do anything special.
10238 aix_use_runtimelinking
=no
10239 exp_sym_flag
='-Bexport'
10242 # If we're using GNU nm, then we don't want the "-C" option.
10243 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10244 # Also, AIX nm treats weak defined symbols like other global
10245 # defined symbols, whereas GNU nm marks them as "W".
10246 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10247 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'
10249 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'
10251 aix_use_runtimelinking
=no
10253 # Test if we are trying to use run time linking or normal
10254 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10255 # need to do runtime linking.
10256 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10257 for ld_flag
in $LDFLAGS; do
10258 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10259 aix_use_runtimelinking
=yes
10266 exp_sym_flag
='-bexport'
10267 no_entry_flag
='-bnoentry'
10270 # When large executables or shared objects are built, AIX ld can
10271 # have problems creating the table of contents. If linking a library
10272 # or program results in "error TOC overflow" add -mminimal-toc to
10273 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10274 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10277 hardcode_direct
=yes
10278 hardcode_direct_absolute
=yes
10279 hardcode_libdir_separator
=':'
10280 link_all_deplibs
=yes
10281 file_list_spec
='${wl}-f,'
10283 if test "$GCC" = yes; then
10284 case $host_os in aix4.
[012]|aix4.
[012].
*)
10285 # We only want to do this on AIX 4.2 and lower, the check
10286 # below for broken collect2 doesn't work under 4.3+
10287 collect2name
=`${CC} -print-prog-name=collect2`
10288 if test -f "$collect2name" &&
10289 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10291 # We have reworked collect2
10294 # We have old collect2
10295 hardcode_direct
=unsupported
10296 # It fails to find uninstalled libraries when the uninstalled
10297 # path is not listed in the libpath. Setting hardcode_minus_L
10298 # to unsupported forces relinking
10299 hardcode_minus_L
=yes
10300 hardcode_libdir_flag_spec
='-L$libdir'
10301 hardcode_libdir_separator
=
10305 shared_flag
='-shared'
10306 if test "$aix_use_runtimelinking" = yes; then
10307 shared_flag
="$shared_flag "'${wl}-G'
10311 if test "$host_cpu" = ia64
; then
10312 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10313 # chokes on -Wl,-G. The following line is correct:
10316 if test "$aix_use_runtimelinking" = yes; then
10317 shared_flag
='${wl}-G'
10319 shared_flag
='${wl}-bM:SRE'
10324 export_dynamic_flag_spec
='${wl}-bexpall'
10325 # It seems that -bexpall does not export symbols beginning with
10326 # underscore (_), so it is better to generate a list of symbols to export.
10327 always_export_symbols
=yes
10328 if test "$aix_use_runtimelinking" = yes; then
10329 # Warning - without using the other runtime loading flags (-brtl),
10330 # -berok will link without error, but may produce a broken library.
10331 allow_undefined_flag
='-berok'
10332 # Determine the default libpath from the value encoded in an
10333 # empty executable.
10334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10335 /* end confdefs.h. */
10345 if ac_fn_c_try_link
"$LINENO"; then :
10347 lt_aix_libpath_sed
='
10348 /Import File Strings/,/^$/ {
10354 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10355 # Check for a 64-bit object if we didn't find anything.
10356 if test -z "$aix_libpath"; then
10357 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10360 rm -f core conftest.err conftest.
$ac_objext \
10361 conftest
$ac_exeext conftest.
$ac_ext
10362 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10364 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10365 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"
10367 if test "$host_cpu" = ia64
; then
10368 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10369 allow_undefined_flag
="-z nodefs"
10370 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"
10372 # Determine the default libpath from the value encoded in an
10373 # empty executable.
10374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10385 if ac_fn_c_try_link
"$LINENO"; then :
10387 lt_aix_libpath_sed
='
10388 /Import File Strings/,/^$/ {
10394 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10395 # Check for a 64-bit object if we didn't find anything.
10396 if test -z "$aix_libpath"; then
10397 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10400 rm -f core conftest.err conftest.
$ac_objext \
10401 conftest
$ac_exeext conftest.
$ac_ext
10402 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10404 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10405 # Warning - without using the other run time loading flags,
10406 # -berok will link without error, but may produce a broken library.
10407 no_undefined_flag
=' ${wl}-bernotok'
10408 allow_undefined_flag
=' ${wl}-berok'
10409 if test "$with_gnu_ld" = yes; then
10410 # We only use this code for GNU lds that support --whole-archive.
10411 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10413 # Exported symbols can be pulled into shared objects from archives
10414 whole_archive_flag_spec
='$convenience'
10416 archive_cmds_need_lc
=yes
10417 # This is similar to how AIX traditionally builds its shared libraries.
10418 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'
10426 # see comment about AmigaOS4 .so support
10427 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10428 archive_expsym_cmds
=''
10431 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)'
10432 hardcode_libdir_flag_spec
='-L$libdir'
10433 hardcode_minus_L
=yes
10439 export_dynamic_flag_spec
=-rdynamic
10442 cygwin
* | mingw
* | pw32
* | cegcc
*)
10443 # When not using gcc, we currently assume that we are using
10444 # Microsoft Visual C++.
10445 # hardcode_libdir_flag_spec is actually meaningless, as there is
10446 # no search path for DLLs.
10447 hardcode_libdir_flag_spec
=' '
10448 allow_undefined_flag
=unsupported
10449 # Tell ltmain to make .lib files, not .a files.
10451 # Tell ltmain to make .dll files, not .so files.
10453 # FIXME: Setting linknames here is a bad hack.
10454 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10455 # The linker will automatically build a .lib file if we build a DLL.
10456 old_archive_from_new_cmds
='true'
10457 # FIXME: Should let the user specify the lib program.
10458 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10459 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10460 enable_shared_with_static_runtimes
=yes
10463 darwin
* | rhapsody
*)
10466 archive_cmds_need_lc
=no
10468 hardcode_automatic
=yes
10469 hardcode_shlibpath_var
=unsupported
10470 if test "$lt_cv_ld_force_load" = "yes"; then
10471 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\"`'
10473 whole_archive_flag_spec
=''
10475 link_all_deplibs
=yes
10476 allow_undefined_flag
="$_lt_dar_allow_undefined"
10477 case $cc_basename in
10478 ifort
*) _lt_dar_can_shared
=yes ;;
10479 *) _lt_dar_can_shared
=$GCC ;;
10481 if test "$_lt_dar_can_shared" = "yes"; then
10482 output_verbose_link_cmd
=func_echo_all
10483 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10484 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10485 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}"
10486 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}"
10495 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10496 hardcode_libdir_flag_spec
='-L$libdir'
10497 hardcode_shlibpath_var
=no
10500 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10501 # support. Future versions do this automatically, but an explicit c++rt0.o
10502 # does not break anything, and helps significantly (at the cost of a little
10505 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10506 hardcode_libdir_flag_spec
='-R$libdir'
10507 hardcode_direct
=yes
10508 hardcode_shlibpath_var
=no
10511 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10513 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10514 hardcode_direct
=yes
10515 hardcode_minus_L
=yes
10516 hardcode_shlibpath_var
=no
10519 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10520 freebsd
* | dragonfly
*)
10521 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10522 hardcode_libdir_flag_spec
='-R$libdir'
10523 hardcode_direct
=yes
10524 hardcode_shlibpath_var
=no
10528 if test "$GCC" = yes; then
10529 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'
10531 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'
10533 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10534 hardcode_libdir_separator
=:
10535 hardcode_direct
=yes
10537 # hardcode_minus_L: Not really in the search PATH,
10538 # but as the default location of the library.
10539 hardcode_minus_L
=yes
10540 export_dynamic_flag_spec
='${wl}-E'
10544 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10545 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10547 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10549 if test "$with_gnu_ld" = no
; then
10550 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10551 hardcode_libdir_flag_spec_ld
='+b $libdir'
10552 hardcode_libdir_separator
=:
10553 hardcode_direct
=yes
10554 hardcode_direct_absolute
=yes
10555 export_dynamic_flag_spec
='${wl}-E'
10556 # hardcode_minus_L: Not really in the search PATH,
10557 # but as the default location of the library.
10558 hardcode_minus_L
=yes
10563 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10566 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10569 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10572 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10578 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10581 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10585 # Older versions of the 11.00 compiler do not understand -b yet
10586 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10588 $as_echo_n "checking if $CC understands -b... " >&6; }
10589 if ${lt_cv_prog_compiler__b+:} false
; then :
10590 $as_echo_n "(cached) " >&6
10592 lt_cv_prog_compiler__b
=no
10593 save_LDFLAGS
="$LDFLAGS"
10594 LDFLAGS
="$LDFLAGS -b"
10595 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10596 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10597 # The linker can only warn and ignore the option if not recognized
10598 # So say no if there are warnings
10599 if test -s conftest.err
; then
10600 # Append any errors to the config.log.
10601 cat conftest.err
1>&5
10602 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10603 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10604 if diff conftest.exp conftest.er2
>/dev
/null
; then
10605 lt_cv_prog_compiler__b
=yes
10608 lt_cv_prog_compiler__b
=yes
10612 LDFLAGS
="$save_LDFLAGS"
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10616 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10618 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10619 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10621 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10627 if test "$with_gnu_ld" = no
; then
10628 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10629 hardcode_libdir_separator
=:
10634 hardcode_shlibpath_var
=no
10637 hardcode_direct
=yes
10638 hardcode_direct_absolute
=yes
10639 export_dynamic_flag_spec
='${wl}-E'
10641 # hardcode_minus_L: Not really in the search PATH,
10642 # but as the default location of the library.
10643 hardcode_minus_L
=yes
10649 irix5
* | irix6
* | nonstopux
*)
10650 if test "$GCC" = yes; then
10651 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'
10652 # Try to use the -exported_symbol ld option, if it does not
10653 # work, assume that -exports_file does not work either and
10654 # implicitly export all symbols.
10655 save_LDFLAGS
="$LDFLAGS"
10656 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10661 if ac_fn_c_try_link
"$LINENO"; then :
10662 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'
10665 rm -f core conftest.err conftest.
$ac_objext \
10666 conftest
$ac_exeext conftest.
$ac_ext
10667 LDFLAGS
="$save_LDFLAGS"
10669 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'
10670 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'
10672 archive_cmds_need_lc
='no'
10673 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10674 hardcode_libdir_separator
=:
10676 link_all_deplibs
=yes
10680 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10681 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10683 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10685 hardcode_libdir_flag_spec
='-R$libdir'
10686 hardcode_direct
=yes
10687 hardcode_shlibpath_var
=no
10691 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10692 hardcode_direct
=yes
10693 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10694 hardcode_libdir_separator
=:
10695 hardcode_shlibpath_var
=no
10702 if test -f /usr
/libexec
/ld.so
; then
10703 hardcode_direct
=yes
10704 hardcode_shlibpath_var
=no
10705 hardcode_direct_absolute
=yes
10706 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10707 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10708 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10709 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10710 export_dynamic_flag_spec
='${wl}-E'
10713 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10714 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10715 hardcode_libdir_flag_spec
='-R$libdir'
10718 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10719 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10729 hardcode_libdir_flag_spec
='-L$libdir'
10730 hardcode_minus_L
=yes
10731 allow_undefined_flag
=unsupported
10732 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'
10733 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10737 if test "$GCC" = yes; then
10738 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10739 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'
10741 allow_undefined_flag
=' -expect_unresolved \*'
10742 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'
10744 archive_cmds_need_lc
='no'
10745 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10746 hardcode_libdir_separator
=:
10749 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10750 if test "$GCC" = yes; then
10751 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10752 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'
10753 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10755 allow_undefined_flag
=' -expect_unresolved \*'
10756 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'
10757 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~
10758 $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'
10760 # Both c and cxx compiler support -rpath directly
10761 hardcode_libdir_flag_spec
='-rpath $libdir'
10763 archive_cmds_need_lc
='no'
10764 hardcode_libdir_separator
=:
10768 no_undefined_flag
=' -z defs'
10769 if test "$GCC" = yes; then
10771 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10772 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10773 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10775 case `$CC -V 2>&1` in
10778 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10779 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10780 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10784 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10785 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10786 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10790 hardcode_libdir_flag_spec
='-R$libdir'
10791 hardcode_shlibpath_var
=no
10793 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10795 # The compiler driver will combine and reorder linker options,
10796 # but understands `-z linker_flag'. GCC discards it without `$wl',
10797 # but is careful enough not to reorder.
10798 # Supported since Solaris 2.6 (maybe 2.5.1?)
10799 if test "$GCC" = yes; then
10800 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10802 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10806 link_all_deplibs
=yes
10810 if test "x$host_vendor" = xsequent
; then
10811 # Use $CC to link under sequent, because it throws in some extra .o
10812 # files that make .init and .fini sections work.
10813 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10815 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10817 hardcode_libdir_flag_spec
='-L$libdir'
10818 hardcode_direct
=yes
10819 hardcode_minus_L
=yes
10820 hardcode_shlibpath_var
=no
10824 case $host_vendor in
10826 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10827 hardcode_direct
=yes # is this really true???
10830 ## LD is ld it makes a PLAMLIB
10831 ## CC just makes a GrossModule.
10832 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10833 reload_cmds
='$CC -r -o $output$reload_objs'
10837 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10838 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10841 runpath_var
='LD_RUN_PATH'
10842 hardcode_shlibpath_var
=no
10846 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10847 hardcode_shlibpath_var
=no
10848 export_dynamic_flag_spec
='-Bexport'
10852 if test -d /usr
/nec
; then
10853 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10854 hardcode_shlibpath_var
=no
10855 runpath_var
=LD_RUN_PATH
10856 hardcode_runpath_var
=yes
10861 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10862 no_undefined_flag
='${wl}-z,text'
10863 archive_cmds_need_lc
=no
10864 hardcode_shlibpath_var
=no
10865 runpath_var
='LD_RUN_PATH'
10867 if test "$GCC" = yes; then
10868 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10869 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10871 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10872 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10876 sysv5
* | sco3.2v5
* | sco5v6
*)
10877 # Note: We can NOT use -z defs as we might desire, because we do not
10878 # link with -lc, and that would cause any symbols used from libc to
10879 # always be unresolved, which means just about no library would
10880 # ever link correctly. If we're not using GNU ld we use -z text
10881 # though, which does catch some bad symbols but isn't as heavy-handed
10883 no_undefined_flag
='${wl}-z,text'
10884 allow_undefined_flag
='${wl}-z,nodefs'
10885 archive_cmds_need_lc
=no
10886 hardcode_shlibpath_var
=no
10887 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10888 hardcode_libdir_separator
=':'
10889 link_all_deplibs
=yes
10890 export_dynamic_flag_spec
='${wl}-Bexport'
10891 runpath_var
='LD_RUN_PATH'
10893 if test "$GCC" = yes; then
10894 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10895 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10897 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10898 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10903 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10904 hardcode_libdir_flag_spec
='-L$libdir'
10905 hardcode_shlibpath_var
=no
10913 if test x
$host_vendor = xsni
; then
10915 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10916 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10923 $as_echo "$ld_shlibs" >&6; }
10924 test "$ld_shlibs" = no
&& can_build_shared
=no
10926 with_gnu_ld
=$with_gnu_ld
10943 # Do we need to explicitly link libc?
10945 case "x$archive_cmds_need_lc" in
10947 # Assume -lc should be added
10948 archive_cmds_need_lc
=yes
10950 if test "$enable_shared" = yes && test "$GCC" = yes; then
10951 case $archive_cmds in
10953 # FIXME: we may have to deal with multi-command sequences.
10956 # Test whether the compiler implicitly links with -lc since on some
10957 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10958 # to ld, don't add -lc before -lgcc.
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10960 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10961 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10962 $as_echo_n "(cached) " >&6
10965 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10967 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10968 (eval $ac_compile) 2>&5
10970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10971 test $ac_status = 0; } 2>conftest.err
; then
10974 libobjs
=conftest.
$ac_objext
10976 wl
=$lt_prog_compiler_wl
10977 pic_flag
=$lt_prog_compiler_pic
10983 lt_save_allow_undefined_flag
=$allow_undefined_flag
10984 allow_undefined_flag
=
10985 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10986 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10989 test $ac_status = 0; }
10991 lt_cv_archive_cmds_need_lc
=no
10993 lt_cv_archive_cmds_need_lc
=yes
10995 allow_undefined_flag
=$lt_save_allow_undefined_flag
10997 cat conftest.err
1>&5
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11003 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11004 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11168 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11170 if test "$GCC" = yes; then
11172 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11173 *) lt_awk_arg
="/^libraries:/" ;;
11176 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11177 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11179 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11180 case $lt_search_path_spec in
11182 # if the path contains ";" then we assume it to be the separator
11183 # otherwise default to the standard path separator (i.e. ":") - it is
11184 # assumed that no part of a normal pathname contains ";" but that should
11185 # okay in the real world where ";" in dirpaths is itself problematic.
11186 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11189 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11192 # Ok, now we have the path, separated by spaces, we can step through it
11193 # and add multilib dir if necessary.
11194 lt_tmp_lt_search_path_spec
=
11195 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11196 for lt_sys_path
in $lt_search_path_spec; do
11197 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11198 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11200 test -d "$lt_sys_path" && \
11201 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11204 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11205 BEGIN {RS=" "; FS="/|\n";} {
11208 for (lt_i = NF; lt_i > 0; lt_i--) {
11209 if ($lt_i != "" && $lt_i != ".") {
11210 if ($lt_i == "..") {
11213 if (lt_count == 0) {
11214 lt_foo="/" $lt_i lt_foo;
11221 if (lt_foo != "") { lt_freq[lt_foo]++; }
11222 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11224 # AWK program above erroneously prepends '/' to C:/dos/paths
11227 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11228 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11230 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11232 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11234 library_names_spec
=
11235 libname_spec
='lib$name'
11239 postuninstall_cmds
=
11243 shlibpath_overrides_runpath
=unknown
11245 dynamic_linker
="$host_os ld.so"
11246 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11247 need_lib_prefix
=unknown
11248 hardcode_into_libs
=no
11250 # when you set need_version to no, make sure it does not cause -set_version
11251 # flags to be left without arguments
11252 need_version
=unknown
11257 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11258 shlibpath_var
=LIBPATH
11260 # AIX 3 has no versioning support, so we append a major version to the name.
11261 soname_spec
='${libname}${release}${shared_ext}$major'
11268 hardcode_into_libs
=yes
11269 if test "$host_cpu" = ia64
; then
11270 # AIX 5 supports IA64
11271 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11272 shlibpath_var
=LD_LIBRARY_PATH
11274 # With GCC up to 2.95.x, collect2 would create an import file
11275 # for dependence libraries. The import file would start with
11276 # the line `#! .'. This would cause the generated library to
11277 # depend on `.', always an invalid library. This was fixed in
11278 # development snapshots of GCC prior to 3.0.
11280 aix4 | aix4.
[01] | aix4.
[01].
*)
11281 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11283 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11286 can_build_shared
=no
11290 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11291 # soname into executable. Probably we can add versioning support to
11292 # collect2, so additional links can be useful in future.
11293 if test "$aix_use_runtimelinking" = yes; then
11294 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11295 # instead of lib<name>.a to let people know that these are not
11296 # typical AIX shared libraries.
11297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11299 # We preserve .a as extension for shared libraries through AIX4.2
11300 # and later when we are not doing run time linking.
11301 library_names_spec
='${libname}${release}.a $libname.a'
11302 soname_spec
='${libname}${release}${shared_ext}$major'
11304 shlibpath_var
=LIBPATH
11311 # Since July 2007 AmigaOS4 officially supports .so libraries.
11312 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11316 library_names_spec
='$libname.ixlibrary $libname.a'
11317 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11318 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'
11324 library_names_spec
='${libname}${shared_ext}'
11325 dynamic_linker
="$host_os ld.so"
11326 shlibpath_var
=LIBRARY_PATH
11332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11333 soname_spec
='${libname}${release}${shared_ext}$major'
11334 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11335 shlibpath_var
=LD_LIBRARY_PATH
11336 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11337 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11338 # the default ld.so.conf also contains /usr/contrib/lib and
11339 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11340 # libtool to hard-code these into programs
11343 cygwin
* | mingw
* | pw32
* | cegcc
*)
11344 version_type
=windows
11349 case $GCC,$host_os in
11350 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11351 library_names_spec
='$libname.dll.a'
11352 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11353 postinstall_cmds
='base_file=`basename \${file}`~
11354 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11355 dldir=$destdir/`dirname \$dlpath`~
11356 test -d \$dldir || mkdir -p \$dldir~
11357 $install_prog $dir/$dlname \$dldir/$dlname~
11358 chmod a+x \$dldir/$dlname~
11359 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11360 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11362 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11363 dlpath=$dir/\$dldll~
11365 shlibpath_overrides_runpath
=yes
11369 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11370 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11372 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11375 # MinGW DLLs use traditional 'lib' prefix
11376 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11379 # pw32 DLLs use 'pw' prefix rather than 'lib'
11380 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11386 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11389 dynamic_linker
='Win32 ld.exe'
11390 # FIXME: first we should search . and the directory the executable is in
11394 darwin
* | rhapsody
*)
11395 dynamic_linker
="$host_os dyld"
11396 version_type
=darwin
11399 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11400 soname_spec
='${libname}${release}${major}$shared_ext'
11401 shlibpath_overrides_runpath
=yes
11402 shlibpath_var
=DYLD_LIBRARY_PATH
11403 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11405 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11406 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11414 soname_spec
='${libname}${release}${shared_ext}$major'
11415 shlibpath_var
=LD_LIBRARY_PATH
11418 freebsd
* | dragonfly
*)
11419 # DragonFly does not have aout. When/if they implement a new
11420 # versioning mechanism, adjust this.
11421 if test -x /usr
/bin
/objformat
; then
11422 objformat
=`/usr/bin/objformat`
11425 freebsd
[23].
*) objformat
=aout
;;
11426 *) objformat
=elf
;;
11429 version_type
=freebsd-
$objformat
11430 case $version_type in
11432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11437 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11441 shlibpath_var
=LD_LIBRARY_PATH
11444 shlibpath_overrides_runpath
=yes
11446 freebsd3.
[01]* | freebsdelf3.
[01]*)
11447 shlibpath_overrides_runpath
=yes
11448 hardcode_into_libs
=yes
11450 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11451 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11452 shlibpath_overrides_runpath
=no
11453 hardcode_into_libs
=yes
11455 *) # from 4.6 on, and DragonFly
11456 shlibpath_overrides_runpath
=yes
11457 hardcode_into_libs
=yes
11466 dynamic_linker
="$host_os runtime_loader"
11467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11468 soname_spec
='${libname}${release}${shared_ext}$major'
11469 shlibpath_var
=LIBRARY_PATH
11470 shlibpath_overrides_runpath
=yes
11471 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11472 hardcode_into_libs
=yes
11475 hpux9
* | hpux10
* | hpux11
*)
11476 # Give a soname corresponding to the major version so that dld.sl refuses to
11477 # link against other versions.
11484 hardcode_into_libs
=yes
11485 dynamic_linker
="$host_os dld.so"
11486 shlibpath_var
=LD_LIBRARY_PATH
11487 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11489 soname_spec
='${libname}${release}${shared_ext}$major'
11490 if test "X$HPUX_IA64_MODE" = X32
; then
11491 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11493 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11495 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11499 hardcode_into_libs
=yes
11500 dynamic_linker
="$host_os dld.sl"
11501 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11502 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11504 soname_spec
='${libname}${release}${shared_ext}$major'
11505 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11506 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11510 dynamic_linker
="$host_os dld.sl"
11511 shlibpath_var
=SHLIB_PATH
11512 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11514 soname_spec
='${libname}${release}${shared_ext}$major'
11517 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11518 postinstall_cmds
='chmod 555 $lib'
11519 # or fails outright, so override atomically:
11520 install_override_mode
=555
11527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11528 soname_spec
='${libname}${release}${shared_ext}$major'
11529 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11530 shlibpath_var
=LD_LIBRARY_PATH
11531 shlibpath_overrides_runpath
=no
11532 hardcode_into_libs
=yes
11535 irix5
* | irix6
* | nonstopux
*)
11537 nonstopux
*) version_type
=nonstopux
;;
11539 if test "$lt_cv_prog_gnu_ld" = yes; then
11547 soname_spec
='${libname}${release}${shared_ext}$major'
11548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11550 irix5
* | nonstopux
*)
11551 libsuff
= shlibsuff
=
11554 case $LD in # libtool.m4 will add one of these switches to LD
11555 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11556 libsuff
= shlibsuff
= libmagic
=32-bit;;
11557 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11558 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11559 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11560 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11561 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11565 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11566 shlibpath_overrides_runpath
=no
11567 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11568 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11569 hardcode_into_libs
=yes
11572 # No shared lib support for Linux oldld, aout, or coff.
11573 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11577 # This must be Linux ELF.
11579 # uclinux* changes (here and below) have been submitted to the libtool
11580 # project, but have not yet been accepted: they are GCC-local changes
11581 # for the time being. (See
11582 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11583 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
11587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11588 soname_spec
='${libname}${release}${shared_ext}$major'
11589 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11590 shlibpath_var
=LD_LIBRARY_PATH
11591 shlibpath_overrides_runpath
=no
11593 # Some binutils ld are patched to set DT_RUNPATH
11594 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11595 $as_echo_n "(cached) " >&6
11597 lt_cv_shlibpath_overrides_runpath
=no
11598 save_LDFLAGS
=$LDFLAGS
11599 save_libdir
=$libdir
11600 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11601 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11603 /* end confdefs.h. */
11613 if ac_fn_c_try_link
"$LINENO"; then :
11614 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11615 lt_cv_shlibpath_overrides_runpath
=yes
11618 rm -f core conftest.err conftest.
$ac_objext \
11619 conftest
$ac_exeext conftest.
$ac_ext
11620 LDFLAGS
=$save_LDFLAGS
11621 libdir
=$save_libdir
11625 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11627 # This implies no fast_install, which is unacceptable.
11628 # Some rework will be needed to allow for fast_install
11629 # before this can be enabled.
11630 hardcode_into_libs
=yes
11632 # Append ld.so.conf contents to the search path
11633 if test -f /etc
/ld.so.conf
; then
11634 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' ' '`
11635 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11638 # We used to test for /lib/ld.so.1 and disable shared libraries on
11639 # powerpc, because MkLinux only supported shared libraries with the
11640 # GNU dynamic linker. Since this was broken with cross compilers,
11641 # most powerpc-linux boxes support dynamic linking these days and
11642 # people can always --disable-shared, the test was removed, and we
11643 # assume the GNU/Linux dynamic linker is in use.
11644 dynamic_linker
='GNU/Linux ld.so'
11651 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11653 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11654 dynamic_linker
='NetBSD (a.out) ld.so'
11656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11657 soname_spec
='${libname}${release}${shared_ext}$major'
11658 dynamic_linker
='NetBSD ld.elf_so'
11660 shlibpath_var
=LD_LIBRARY_PATH
11661 shlibpath_overrides_runpath
=yes
11662 hardcode_into_libs
=yes
11667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11668 shlibpath_var
=LD_LIBRARY_PATH
11669 shlibpath_overrides_runpath
=yes
11676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11677 soname_spec
='${libname}${release}${shared_ext}$major'
11678 shlibpath_var
=LD_LIBRARY_PATH
11679 shlibpath_overrides_runpath
=no
11680 hardcode_into_libs
=yes
11681 dynamic_linker
='ldqnx.so'
11686 sys_lib_dlsearch_path_spec
="/usr/lib"
11688 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11690 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11691 *) need_version
=no
;;
11693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11694 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11695 shlibpath_var
=LD_LIBRARY_PATH
11696 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11698 openbsd2.
[89] | openbsd2.
[89].
*)
11699 shlibpath_overrides_runpath
=no
11702 shlibpath_overrides_runpath
=yes
11706 shlibpath_overrides_runpath
=yes
11711 libname_spec
='$name'
11714 library_names_spec
='$libname${shared_ext} $libname.a'
11715 dynamic_linker
='OS/2 ld.exe'
11716 shlibpath_var
=LIBPATH
11719 osf3
* | osf4
* | osf5
*)
11723 soname_spec
='${libname}${release}${shared_ext}$major'
11724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11725 shlibpath_var
=LD_LIBRARY_PATH
11726 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11727 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11739 soname_spec
='${libname}${release}${shared_ext}$major'
11740 shlibpath_var
=LD_LIBRARY_PATH
11741 shlibpath_overrides_runpath
=yes
11742 hardcode_into_libs
=yes
11743 # ldd complains unless libraries are executable
11744 postinstall_cmds
='chmod +x $lib'
11749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11750 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11751 shlibpath_var
=LD_LIBRARY_PATH
11752 shlibpath_overrides_runpath
=yes
11753 if test "$with_gnu_ld" = yes; then
11761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11762 soname_spec
='${libname}${release}${shared_ext}$major'
11763 shlibpath_var
=LD_LIBRARY_PATH
11764 case $host_vendor in
11766 shlibpath_overrides_runpath
=no
11768 runpath_var
=LD_RUN_PATH
11776 shlibpath_overrides_runpath
=no
11777 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11783 if test -d /usr
/nec
;then
11785 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11786 soname_spec
='$libname${shared_ext}.$major'
11787 shlibpath_var
=LD_LIBRARY_PATH
11791 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11792 version_type
=freebsd-elf
11795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11796 soname_spec
='${libname}${release}${shared_ext}$major'
11797 shlibpath_var
=LD_LIBRARY_PATH
11798 shlibpath_overrides_runpath
=yes
11799 hardcode_into_libs
=yes
11800 if test "$with_gnu_ld" = yes; then
11801 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11803 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11806 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11810 sys_lib_dlsearch_path_spec
='/usr/lib'
11814 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11819 shlibpath_var
=LD_LIBRARY_PATH
11820 shlibpath_overrides_runpath
=no
11821 hardcode_into_libs
=yes
11826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11827 soname_spec
='${libname}${release}${shared_ext}$major'
11828 shlibpath_var
=LD_LIBRARY_PATH
11831 # Shared libraries for VwWorks, >= 7 only at this stage
11832 # and (fpic) still incompatible with "large" code models
11833 # in a few configurations. Only for RTP mode in any case,
11834 # and upon explicit request at configure time.
11837 case ${with_multisubdir}-${enable_shared} in
11844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11845 soname_spec
='${libname}${release}${shared_ext}$major'
11846 dynamic_linker
="$host_os module_loader"
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11855 $as_echo "$dynamic_linker" >&6; }
11856 test "$dynamic_linker" = no
&& can_build_shared
=no
11858 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11859 if test "$GCC" = yes; then
11860 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11863 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11864 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11866 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11867 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11962 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11964 if test -n "$hardcode_libdir_flag_spec" ||
11965 test -n "$runpath_var" ||
11966 test "X$hardcode_automatic" = "Xyes" ; then
11968 # We can hardcode non-existent directories.
11969 if test "$hardcode_direct" != no
&&
11970 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11971 # have to relink, otherwise we might link with an installed library
11972 # when we should be linking with a yet-to-be-installed one
11973 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11974 test "$hardcode_minus_L" != no
; then
11975 # Linking always hardcodes the temporary library directory.
11976 hardcode_action
=relink
11978 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11979 hardcode_action
=immediate
11982 # We cannot hardcode anything, or else we can only hardcode existing
11984 hardcode_action
=unsupported
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11987 $as_echo "$hardcode_action" >&6; }
11989 if test "$hardcode_action" = relink ||
11990 test "$inherit_rpath" = yes; then
11991 # Fast installation is not supported
11992 enable_fast_install
=no
11993 elif test "$shlibpath_overrides_runpath" = yes ||
11994 test "$enable_shared" = no
; then
11995 # Fast installation is not necessary
11996 enable_fast_install
=needless
12004 if test "x$enable_dlopen" != xyes
; then
12005 enable_dlopen
=unknown
12006 enable_dlopen_self
=unknown
12007 enable_dlopen_self_static
=unknown
12014 lt_cv_dlopen
="load_add_on"
12016 lt_cv_dlopen_self
=yes
12019 mingw
* | pw32
* | cegcc
*)
12020 lt_cv_dlopen
="LoadLibrary"
12025 lt_cv_dlopen
="dlopen"
12030 # if libdl is installed we need to link against it
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12032 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12033 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12034 $as_echo_n "(cached) " >&6
12036 ac_check_lib_save_LIBS
=$LIBS
12038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12041 /* Override any GCC internal prototype to avoid an error.
12042 Use char because int might match the return type of a GCC
12043 builtin and then its argument prototype would still apply. */
12056 if ac_fn_c_try_link
"$LINENO"; then :
12057 ac_cv_lib_dl_dlopen
=yes
12059 ac_cv_lib_dl_dlopen
=no
12061 rm -f core conftest.err conftest.
$ac_objext \
12062 conftest
$ac_exeext conftest.
$ac_ext
12063 LIBS
=$ac_check_lib_save_LIBS
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12066 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12067 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12068 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12071 lt_cv_dlopen
="dyld"
12073 lt_cv_dlopen_self
=yes
12080 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12081 if test "x$ac_cv_func_shl_load" = xyes
; then :
12082 lt_cv_dlopen
="shl_load"
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12085 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12086 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12087 $as_echo_n "(cached) " >&6
12089 ac_check_lib_save_LIBS
=$LIBS
12091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12092 /* end confdefs.h. */
12094 /* Override any GCC internal prototype to avoid an error.
12095 Use char because int might match the return type of a GCC
12096 builtin and then its argument prototype would still apply. */
12104 return shl_load ();
12109 if ac_fn_c_try_link
"$LINENO"; then :
12110 ac_cv_lib_dld_shl_load
=yes
12112 ac_cv_lib_dld_shl_load
=no
12114 rm -f core conftest.err conftest.
$ac_objext \
12115 conftest
$ac_exeext conftest.
$ac_ext
12116 LIBS
=$ac_check_lib_save_LIBS
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12119 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12120 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12121 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12123 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12124 if test "x$ac_cv_func_dlopen" = xyes
; then :
12125 lt_cv_dlopen
="dlopen"
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12128 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12129 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12130 $as_echo_n "(cached) " >&6
12132 ac_check_lib_save_LIBS
=$LIBS
12134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12137 /* Override any GCC internal prototype to avoid an error.
12138 Use char because int might match the return type of a GCC
12139 builtin and then its argument prototype would still apply. */
12152 if ac_fn_c_try_link
"$LINENO"; then :
12153 ac_cv_lib_dl_dlopen
=yes
12155 ac_cv_lib_dl_dlopen
=no
12157 rm -f core conftest.err conftest.
$ac_objext \
12158 conftest
$ac_exeext conftest.
$ac_ext
12159 LIBS
=$ac_check_lib_save_LIBS
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12162 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12163 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12164 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12167 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12168 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12169 $as_echo_n "(cached) " >&6
12171 ac_check_lib_save_LIBS
=$LIBS
12172 LIBS
="-lsvld $LIBS"
12173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12174 /* end confdefs.h. */
12176 /* Override any GCC internal prototype to avoid an error.
12177 Use char because int might match the return type of a GCC
12178 builtin and then its argument prototype would still apply. */
12191 if ac_fn_c_try_link
"$LINENO"; then :
12192 ac_cv_lib_svld_dlopen
=yes
12194 ac_cv_lib_svld_dlopen
=no
12196 rm -f core conftest.err conftest.
$ac_objext \
12197 conftest
$ac_exeext conftest.
$ac_ext
12198 LIBS
=$ac_check_lib_save_LIBS
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12201 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12202 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12203 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12206 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12207 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12208 $as_echo_n "(cached) " >&6
12210 ac_check_lib_save_LIBS
=$LIBS
12212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12213 /* end confdefs.h. */
12215 /* Override any GCC internal prototype to avoid an error.
12216 Use char because int might match the return type of a GCC
12217 builtin and then its argument prototype would still apply. */
12225 return dld_link ();
12230 if ac_fn_c_try_link
"$LINENO"; then :
12231 ac_cv_lib_dld_dld_link
=yes
12233 ac_cv_lib_dld_dld_link
=no
12235 rm -f core conftest.err conftest.
$ac_objext \
12236 conftest
$ac_exeext conftest.
$ac_ext
12237 LIBS
=$ac_check_lib_save_LIBS
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12240 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12241 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12242 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12263 if test "x$lt_cv_dlopen" != xno
; then
12269 case $lt_cv_dlopen in
12271 save_CPPFLAGS
="$CPPFLAGS"
12272 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12274 save_LDFLAGS
="$LDFLAGS"
12275 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12278 LIBS
="$lt_cv_dlopen_libs $LIBS"
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12281 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12282 if ${lt_cv_dlopen_self+:} false
; then :
12283 $as_echo_n "(cached) " >&6
12285 if test "$cross_compiling" = yes; then :
12286 lt_cv_dlopen_self
=cross
12288 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12289 lt_status
=$lt_dlunknown
12290 cat > conftest.
$ac_ext <<_LT_EOF
12291 #line 12291 "configure"
12292 #include "confdefs.h"
12301 # define LT_DLGLOBAL RTLD_GLOBAL
12304 # define LT_DLGLOBAL DL_GLOBAL
12306 # define LT_DLGLOBAL 0
12310 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12311 find out it does not work in some platform. */
12312 #ifndef LT_DLLAZY_OR_NOW
12314 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12317 # define LT_DLLAZY_OR_NOW DL_LAZY
12320 # define LT_DLLAZY_OR_NOW RTLD_NOW
12323 # define LT_DLLAZY_OR_NOW DL_NOW
12325 # define LT_DLLAZY_OR_NOW 0
12332 /* When -fvisbility=hidden is used, assume the code has been annotated
12333 correspondingly for the symbols needed. */
12334 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12335 void fnord () __attribute__((visibility("default")));
12338 void fnord () { int i=42; }
12341 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12342 int status = $lt_dlunknown;
12346 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12349 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12350 else puts (dlerror ());
12352 /* dlclose (self); */
12360 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12361 (eval $ac_link) 2>&5
12363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12364 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12365 (.
/conftest
; exit; ) >&5 2>/dev
/null
12367 case x
$lt_status in
12368 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12369 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12370 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12373 # compilation failed
12374 lt_cv_dlopen_self
=no
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12382 $as_echo "$lt_cv_dlopen_self" >&6; }
12384 if test "x$lt_cv_dlopen_self" = xyes
; then
12385 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12387 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12388 if ${lt_cv_dlopen_self_static+:} false
; then :
12389 $as_echo_n "(cached) " >&6
12391 if test "$cross_compiling" = yes; then :
12392 lt_cv_dlopen_self_static
=cross
12394 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12395 lt_status
=$lt_dlunknown
12396 cat > conftest.
$ac_ext <<_LT_EOF
12397 #line 12397 "configure"
12398 #include "confdefs.h"
12407 # define LT_DLGLOBAL RTLD_GLOBAL
12410 # define LT_DLGLOBAL DL_GLOBAL
12412 # define LT_DLGLOBAL 0
12416 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12417 find out it does not work in some platform. */
12418 #ifndef LT_DLLAZY_OR_NOW
12420 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12423 # define LT_DLLAZY_OR_NOW DL_LAZY
12426 # define LT_DLLAZY_OR_NOW RTLD_NOW
12429 # define LT_DLLAZY_OR_NOW DL_NOW
12431 # define LT_DLLAZY_OR_NOW 0
12438 /* When -fvisbility=hidden is used, assume the code has been annotated
12439 correspondingly for the symbols needed. */
12440 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12441 void fnord () __attribute__((visibility("default")));
12444 void fnord () { int i=42; }
12447 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12448 int status = $lt_dlunknown;
12452 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12455 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12456 else puts (dlerror ());
12458 /* dlclose (self); */
12466 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12467 (eval $ac_link) 2>&5
12469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12470 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12471 (.
/conftest
; exit; ) >&5 2>/dev
/null
12473 case x
$lt_status in
12474 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12475 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12476 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12479 # compilation failed
12480 lt_cv_dlopen_self_static
=no
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12488 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12491 CPPFLAGS
="$save_CPPFLAGS"
12492 LDFLAGS
="$save_LDFLAGS"
12497 case $lt_cv_dlopen_self in
12498 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12499 *) enable_dlopen_self
=unknown
;;
12502 case $lt_cv_dlopen_self_static in
12503 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12504 *) enable_dlopen_self_static
=unknown
;;
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12527 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12528 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12529 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12530 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12532 $as_echo "yes" >&6; }
12534 # FIXME - insert some real tests, host_os isn't really good enough
12537 if test -n "$STRIP" ; then
12538 striplib
="$STRIP -x"
12539 old_striplib
="$STRIP -S"
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12541 $as_echo "yes" >&6; }
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12544 $as_echo "no" >&6; }
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12549 $as_echo "no" >&6; }
12565 # Report which library types will actually be built
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12567 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12569 $as_echo "$can_build_shared" >&6; }
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12572 $as_echo_n "checking whether to build shared libraries... " >&6; }
12573 test "$can_build_shared" = "no" && enable_shared
=no
12575 # On AIX, shared libraries and static libraries use the same namespace, and
12576 # are all built from PIC.
12579 test "$enable_shared" = yes && enable_static
=no
12580 if test -n "$RANLIB"; then
12581 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12582 postinstall_cmds
='$RANLIB $lib'
12587 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12588 test "$enable_shared" = yes && enable_static
=no
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12593 $as_echo "$enable_shared" >&6; }
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12596 $as_echo_n "checking whether to build static libraries... " >&6; }
12597 # Make sure either enable_shared or enable_static is yes.
12598 test "$enable_shared" = yes || enable_static
=yes
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12600 $as_echo "$enable_static" >&6; }
12607 ac_cpp
='$CPP $CPPFLAGS'
12608 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12609 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12610 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12626 ac_config_commands
="$ac_config_commands libtool"
12631 # Only expand once:
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
12636 $as_echo_n "checking for library containing bind... " >&6; }
12637 if ${ac_cv_search_bind+:} false
; then :
12638 $as_echo_n "(cached) " >&6
12640 ac_func_search_save_LIBS
=$LIBS
12641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12644 /* Override any GCC internal prototype to avoid an error.
12645 Use char because int might match the return type of a GCC
12646 builtin and then its argument prototype would still apply. */
12659 for ac_lib
in '' socket
; do
12660 if test -z "$ac_lib"; then
12661 ac_res
="none required"
12664 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12666 if ac_fn_c_try_link
"$LINENO"; then :
12667 ac_cv_search_bind
=$ac_res
12669 rm -f core conftest.err conftest.
$ac_objext \
12671 if ${ac_cv_search_bind+:} false
; then :
12675 if ${ac_cv_search_bind+:} false
; then :
12678 ac_cv_search_bind
=no
12680 rm conftest.
$ac_ext
12681 LIBS
=$ac_func_search_save_LIBS
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
12684 $as_echo "$ac_cv_search_bind" >&6; }
12685 ac_res
=$ac_cv_search_bind
12686 if test "$ac_res" != no
; then :
12687 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12692 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12693 if ${ac_cv_search_gethostbyname+:} false
; then :
12694 $as_echo_n "(cached) " >&6
12696 ac_func_search_save_LIBS
=$LIBS
12697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12698 /* end confdefs.h. */
12700 /* Override any GCC internal prototype to avoid an error.
12701 Use char because int might match the return type of a GCC
12702 builtin and then its argument prototype would still apply. */
12706 char gethostbyname ();
12710 return gethostbyname ();
12715 for ac_lib
in '' nsl
; do
12716 if test -z "$ac_lib"; then
12717 ac_res
="none required"
12720 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12722 if ac_fn_c_try_link
"$LINENO"; then :
12723 ac_cv_search_gethostbyname
=$ac_res
12725 rm -f core conftest.err conftest.
$ac_objext \
12727 if ${ac_cv_search_gethostbyname+:} false
; then :
12731 if ${ac_cv_search_gethostbyname+:} false
; then :
12734 ac_cv_search_gethostbyname
=no
12736 rm conftest.
$ac_ext
12737 LIBS
=$ac_func_search_save_LIBS
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12740 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12741 ac_res
=$ac_cv_search_gethostbyname
12742 if test "$ac_res" != no
; then :
12743 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fabs" >&5
12748 $as_echo_n "checking for library containing fabs... " >&6; }
12749 if ${ac_cv_search_fabs+:} false
; then :
12750 $as_echo_n "(cached) " >&6
12752 ac_func_search_save_LIBS
=$LIBS
12753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12756 /* Override any GCC internal prototype to avoid an error.
12757 Use char because int might match the return type of a GCC
12758 builtin and then its argument prototype would still apply. */
12771 for ac_lib
in '' m
; do
12772 if test -z "$ac_lib"; then
12773 ac_res
="none required"
12776 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12778 if ac_fn_c_try_link
"$LINENO"; then :
12779 ac_cv_search_fabs
=$ac_res
12781 rm -f core conftest.err conftest.
$ac_objext \
12783 if ${ac_cv_search_fabs+:} false
; then :
12787 if ${ac_cv_search_fabs+:} false
; then :
12790 ac_cv_search_fabs
=no
12792 rm conftest.
$ac_ext
12793 LIBS
=$ac_func_search_save_LIBS
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fabs" >&5
12796 $as_echo "$ac_cv_search_fabs" >&6; }
12797 ac_res
=$ac_cv_search_fabs
12798 if test "$ac_res" != no
; then :
12799 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log2" >&5
12804 $as_echo_n "checking for library containing log2... " >&6; }
12805 if ${ac_cv_search_log2+:} false
; then :
12806 $as_echo_n "(cached) " >&6
12808 ac_func_search_save_LIBS
=$LIBS
12809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12810 /* end confdefs.h. */
12812 /* Override any GCC internal prototype to avoid an error.
12813 Use char because int might match the return type of a GCC
12814 builtin and then its argument prototype would still apply. */
12827 for ac_lib
in '' m
; do
12828 if test -z "$ac_lib"; then
12829 ac_res
="none required"
12832 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12834 if ac_fn_c_try_link
"$LINENO"; then :
12835 ac_cv_search_log2
=$ac_res
12837 rm -f core conftest.err conftest.
$ac_objext \
12839 if ${ac_cv_search_log2+:} false
; then :
12843 if ${ac_cv_search_log2+:} false
; then :
12846 ac_cv_search_log2
=no
12848 rm conftest.
$ac_ext
12849 LIBS
=$ac_func_search_save_LIBS
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log2" >&5
12852 $as_echo "$ac_cv_search_log2" >&6; }
12853 ac_res
=$ac_cv_search_log2
12854 if test "$ac_res" != no
; then :
12855 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12861 $as_echo_n "checking for library containing dlopen... " >&6; }
12862 if ${ac_cv_search_dlopen+:} false
; then :
12863 $as_echo_n "(cached) " >&6
12865 ac_func_search_save_LIBS
=$LIBS
12866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 /* Override any GCC internal prototype to avoid an error.
12870 Use char because int might match the return type of a GCC
12871 builtin and then its argument prototype would still apply. */
12884 for ac_lib
in '' dl
; do
12885 if test -z "$ac_lib"; then
12886 ac_res
="none required"
12889 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12891 if ac_fn_c_try_link
"$LINENO"; then :
12892 ac_cv_search_dlopen
=$ac_res
12894 rm -f core conftest.err conftest.
$ac_objext \
12896 if ${ac_cv_search_dlopen+:} false
; then :
12900 if ${ac_cv_search_dlopen+:} false
; then :
12903 ac_cv_search_dlopen
=no
12905 rm conftest.
$ac_ext
12906 LIBS
=$ac_func_search_save_LIBS
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12909 $as_echo "$ac_cv_search_dlopen" >&6; }
12910 ac_res
=$ac_cv_search_dlopen
12911 if test "$ac_res" != no
; then :
12912 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12916 if test "${ac_cv_lib_dl_dlopen}" = "yes"; then
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sdl2" >&5
12920 $as_echo_n "checking for sdl2... " >&6; }
12922 if test -n "$SDL_CFLAGS"; then
12923 pkg_cv_SDL_CFLAGS
="$SDL_CFLAGS"
12924 elif test -n "$PKG_CONFIG"; then
12925 if test -n "$PKG_CONFIG" && \
12926 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2\""; } >&5
12927 ($PKG_CONFIG --exists --print-errors "sdl2") 2>&5
12929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12930 test $ac_status = 0; }; then
12931 pkg_cv_SDL_CFLAGS
=`$PKG_CONFIG --cflags "sdl2" 2>/dev/null`
12932 test "x$?" != "x0" && pkg_failed
=yes
12939 if test -n "$SDL_LIBS"; then
12940 pkg_cv_SDL_LIBS
="$SDL_LIBS"
12941 elif test -n "$PKG_CONFIG"; then
12942 if test -n "$PKG_CONFIG" && \
12943 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2\""; } >&5
12944 ($PKG_CONFIG --exists --print-errors "sdl2") 2>&5
12946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12947 test $ac_status = 0; }; then
12948 pkg_cv_SDL_LIBS
=`$PKG_CONFIG --libs "sdl2" 2>/dev/null`
12949 test "x$?" != "x0" && pkg_failed
=yes
12957 if test $pkg_failed = no
; then
12958 pkg_save_LDFLAGS
="$LDFLAGS"
12959 LDFLAGS
="$LDFLAGS $pkg_cv_SDL_LIBS"
12960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12961 /* end confdefs.h. */
12971 if ac_fn_c_try_link
"$LINENO"; then :
12976 rm -f core conftest.err conftest.
$ac_objext \
12977 conftest
$ac_exeext conftest.
$ac_ext
12978 LDFLAGS
=$pkg_save_LDFLAGS
12983 if test $pkg_failed = yes; then
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12985 $as_echo "no" >&6; }
12987 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12988 _pkg_short_errors_supported
=yes
12990 _pkg_short_errors_supported
=no
12992 if test $_pkg_short_errors_supported = yes; then
12993 SDL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl2" 2>&1`
12995 SDL_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sdl2" 2>&1`
12997 # Put the nasty error message in config.log where it belongs
12998 echo "$SDL_PKG_ERRORS" >&5
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sdl" >&5
13004 $as_echo_n "checking for sdl... " >&6; }
13006 if test -n "$SDL_CFLAGS"; then
13007 pkg_cv_SDL_CFLAGS
="$SDL_CFLAGS"
13008 elif test -n "$PKG_CONFIG"; then
13009 if test -n "$PKG_CONFIG" && \
13010 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
13011 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
13013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13014 test $ac_status = 0; }; then
13015 pkg_cv_SDL_CFLAGS
=`$PKG_CONFIG --cflags "sdl" 2>/dev/null`
13016 test "x$?" != "x0" && pkg_failed
=yes
13023 if test -n "$SDL_LIBS"; then
13024 pkg_cv_SDL_LIBS
="$SDL_LIBS"
13025 elif test -n "$PKG_CONFIG"; then
13026 if test -n "$PKG_CONFIG" && \
13027 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
13028 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
13030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13031 test $ac_status = 0; }; then
13032 pkg_cv_SDL_LIBS
=`$PKG_CONFIG --libs "sdl" 2>/dev/null`
13033 test "x$?" != "x0" && pkg_failed
=yes
13041 if test $pkg_failed = no
; then
13042 pkg_save_LDFLAGS
="$LDFLAGS"
13043 LDFLAGS
="$LDFLAGS $pkg_cv_SDL_LIBS"
13044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13045 /* end confdefs.h. */
13055 if ac_fn_c_try_link
"$LINENO"; then :
13060 rm -f core conftest.err conftest.
$ac_objext \
13061 conftest
$ac_exeext conftest.
$ac_ext
13062 LDFLAGS
=$pkg_save_LDFLAGS
13067 if test $pkg_failed = yes; then
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13069 $as_echo "no" >&6; }
13071 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13072 _pkg_short_errors_supported
=yes
13074 _pkg_short_errors_supported
=no
13076 if test $_pkg_short_errors_supported = yes; then
13077 SDL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl" 2>&1`
13079 SDL_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sdl" 2>&1`
13081 # Put the nasty error message in config.log where it belongs
13082 echo "$SDL_PKG_ERRORS" >&5
13085 elif test $pkg_failed = untried
; then
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13087 $as_echo "no" >&6; }
13090 SDL_CFLAGS
=$pkg_cv_SDL_CFLAGS
13091 SDL_LIBS
=$pkg_cv_SDL_LIBS
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13093 $as_echo "yes" >&6; }
13094 SDL_CFLAGS
="${SDL_CFLAGS} -DHAVE_SDL=1"
13098 elif test $pkg_failed = untried
; then
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13100 $as_echo "no" >&6; }
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sdl" >&5
13105 $as_echo_n "checking for sdl... " >&6; }
13107 if test -n "$SDL_CFLAGS"; then
13108 pkg_cv_SDL_CFLAGS
="$SDL_CFLAGS"
13109 elif test -n "$PKG_CONFIG"; then
13110 if test -n "$PKG_CONFIG" && \
13111 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
13112 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
13114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13115 test $ac_status = 0; }; then
13116 pkg_cv_SDL_CFLAGS
=`$PKG_CONFIG --cflags "sdl" 2>/dev/null`
13117 test "x$?" != "x0" && pkg_failed
=yes
13124 if test -n "$SDL_LIBS"; then
13125 pkg_cv_SDL_LIBS
="$SDL_LIBS"
13126 elif test -n "$PKG_CONFIG"; then
13127 if test -n "$PKG_CONFIG" && \
13128 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
13129 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
13131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13132 test $ac_status = 0; }; then
13133 pkg_cv_SDL_LIBS
=`$PKG_CONFIG --libs "sdl" 2>/dev/null`
13134 test "x$?" != "x0" && pkg_failed
=yes
13142 if test $pkg_failed = no
; then
13143 pkg_save_LDFLAGS
="$LDFLAGS"
13144 LDFLAGS
="$LDFLAGS $pkg_cv_SDL_LIBS"
13145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13156 if ac_fn_c_try_link
"$LINENO"; then :
13161 rm -f core conftest.err conftest.
$ac_objext \
13162 conftest
$ac_exeext conftest.
$ac_ext
13163 LDFLAGS
=$pkg_save_LDFLAGS
13168 if test $pkg_failed = yes; then
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13170 $as_echo "no" >&6; }
13172 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13173 _pkg_short_errors_supported
=yes
13175 _pkg_short_errors_supported
=no
13177 if test $_pkg_short_errors_supported = yes; then
13178 SDL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl" 2>&1`
13180 SDL_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sdl" 2>&1`
13182 # Put the nasty error message in config.log where it belongs
13183 echo "$SDL_PKG_ERRORS" >&5
13186 elif test $pkg_failed = untried
; then
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13188 $as_echo "no" >&6; }
13191 SDL_CFLAGS
=$pkg_cv_SDL_CFLAGS
13192 SDL_LIBS
=$pkg_cv_SDL_LIBS
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13194 $as_echo "yes" >&6; }
13195 SDL_CFLAGS
="${SDL_CFLAGS} -DHAVE_SDL=1"
13200 SDL_CFLAGS
=$pkg_cv_SDL_CFLAGS
13201 SDL_LIBS
=$pkg_cv_SDL_LIBS
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13203 $as_echo "yes" >&6; }
13204 SDL_CFLAGS
="${SDL_CFLAGS} -DHAVE_SDL=2"
13207 if test -n "$SDL_CFLAGS"; then :
13208 if test "$ac_cv_search_dlopen" = no
; then :
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SDL support requires dlopen support" >&5
13210 $as_echo "$as_me: WARNING: SDL support requires dlopen support" >&2;}
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cygwin" >&5
13222 $as_echo_n "checking for cygwin... " >&6; }
13223 if ${sim_cv_os_cygwin+:} false
; then :
13224 $as_echo_n "(cached) " >&6
13226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13227 /* end confdefs.h. */
13233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13234 $EGREP "lose" >/dev
/null
2>&1; then :
13235 sim_cv_os_cygwin
=yes
13237 sim_cv_os_cygwin
=no
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_os_cygwin" >&5
13243 $as_echo "$sim_cv_os_cygwin" >&6; }
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
13246 $as_echo_n "checking for library containing tgetent... " >&6; }
13247 if ${ac_cv_search_tgetent+:} false
; then :
13248 $as_echo_n "(cached) " >&6
13250 ac_func_search_save_LIBS
=$LIBS
13251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13254 /* Override any GCC internal prototype to avoid an error.
13255 Use char because int might match the return type of a GCC
13256 builtin and then its argument prototype would still apply. */
13269 for ac_lib
in '' termcap tinfo curses ncurses
; do
13270 if test -z "$ac_lib"; then
13271 ac_res
="none required"
13274 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13276 if ac_fn_c_try_link
"$LINENO"; then :
13277 ac_cv_search_tgetent
=$ac_res
13279 rm -f core conftest.err conftest.
$ac_objext \
13281 if ${ac_cv_search_tgetent+:} false
; then :
13285 if ${ac_cv_search_tgetent+:} false
; then :
13288 ac_cv_search_tgetent
=no
13290 rm conftest.
$ac_ext
13291 LIBS
=$ac_func_search_save_LIBS
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
13294 $as_echo "$ac_cv_search_tgetent" >&6; }
13295 ac_res
=$ac_cv_search_tgetent
13296 if test "$ac_res" != no
; then :
13297 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13298 TERMCAP_LIB
=$ac_cv_search_tgetent
13303 if test x
$sim_cv_os_cygwin = xyes
; then
13304 TERMCAP_LIB
="${TERMCAP_LIB} -luser32"
13308 if test -r ..
/readline
/Makefile
; then
13309 READLINE_LIB
=..
/readline
/readline
/libreadline.a
13310 READLINE_CFLAGS
='-I$(READLINE_SRC)/..'
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
13313 $as_echo_n "checking for readline in -lreadline... " >&6; }
13314 if ${ac_cv_lib_readline_readline+:} false
; then :
13315 $as_echo_n "(cached) " >&6
13317 ac_check_lib_save_LIBS
=$LIBS
13318 LIBS
="-lreadline $TERMCAP_LIB $LIBS"
13319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13320 /* end confdefs.h. */
13322 /* Override any GCC internal prototype to avoid an error.
13323 Use char because int might match the return type of a GCC
13324 builtin and then its argument prototype would still apply. */
13332 return readline ();
13337 if ac_fn_c_try_link
"$LINENO"; then :
13338 ac_cv_lib_readline_readline
=yes
13340 ac_cv_lib_readline_readline
=no
13342 rm -f core conftest.err conftest.
$ac_objext \
13343 conftest
$ac_exeext conftest.
$ac_ext
13344 LIBS
=$ac_check_lib_save_LIBS
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
13347 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13348 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
13349 READLINE_LIB
=-lreadline
13351 as_fn_error $?
"the required \"readline\" library is missing" "$LINENO" 5
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
13360 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
13361 if ${sim_cv_decl_getopt_unistd_h+:} false
; then :
13362 $as_echo_n "(cached) " >&6
13364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13365 /* end confdefs.h. */
13366 #include <unistd.h>
13370 extern int getopt (int, char *const*, const char *);
13375 if ac_fn_c_try_compile
"$LINENO"; then :
13376 sim_cv_decl_getopt_unistd_h
=yes
13378 sim_cv_decl_getopt_unistd_h
=no
13380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_decl_getopt_unistd_h" >&5
13384 $as_echo "$sim_cv_decl_getopt_unistd_h" >&6; }
13385 if test $sim_cv_decl_getopt_unistd_h = yes; then
13387 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13394 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13395 # Check whether --enable-maintainer-mode was given.
13396 if test "${enable_maintainer_mode+set}" = set; then :
13397 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
13399 USE_MAINTAINER_MODE
=no
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13403 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13404 if test $USE_MAINTAINER_MODE = yes; then
13405 MAINTAINER_MODE_TRUE
=
13406 MAINTAINER_MODE_FALSE
='#'
13408 MAINTAINER_MODE_TRUE
='#'
13409 MAINTAINER_MODE_FALSE
=
13412 MAINT
=$MAINTAINER_MODE_TRUE
13415 am__api_version
='1.15'
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
13418 $as_echo_n "checking whether build environment is sane... " >&6; }
13419 # Reject unsafe characters in $srcdir or the absolute working directory
13420 # name. Accept space and tab only in the latter.
13424 *[\\\"\
#\$\&\'\`$am_lf]*)
13425 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
13428 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
13429 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
13432 # Do 'set' in a subshell so we don't clobber the current shell's
13433 # arguments. Must try -L first in case configure is actually a
13434 # symlink; some systems play weird games with the mod time of symlinks
13435 # (eg FreeBSD returns the mod time of the symlink's containing
13439 for am_try
in 1 2; do
13440 echo "timestamp, slept: $am_has_slept" > conftest.
file
13441 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
13442 if test "$*" = "X"; then
13444 set X
`ls -t "$srcdir/configure" conftest.file`
13446 if test "$*" != "X $srcdir/configure conftest.file" \
13447 && test "$*" != "X conftest.file $srcdir/configure"; then
13449 # If neither matched, then we have a broken ls. This can happen
13450 # if, for instance, CONFIG_SHELL is bash and it inherits a
13451 # broken ls alias from the environment. This has actually
13452 # happened. Such a system could not be considered "sane".
13453 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
13454 alias in your environment" "$LINENO" 5
13456 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
13463 test "$2" = conftest.
file
13469 as_fn_error $?
"newly created file is older than distributed files!
13470 Check your system clock" "$LINENO" 5
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13473 $as_echo "yes" >&6; }
13474 # If we didn't sleep, we still need to ensure time stamps of config.status and
13475 # generated files are strictly newer.
13477 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
13482 rm -f conftest.
file
13484 if test x
"${MISSING+set}" != xset
; then
13485 case $am_aux_dir in
13487 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
13489 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
13492 # Use eval to expand $SHELL
13493 if eval "$MISSING --is-lightweight"; then
13494 am_missing_run
="$MISSING "
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
13498 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
13501 if test x
"${install_sh+set}" != xset
; then
13502 case $am_aux_dir in
13504 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
13506 install_sh
="\${SHELL} $am_aux_dir/install-sh"
13510 # Installed binaries are usually stripped using 'strip' when the user
13511 # run "make install-strip". However 'strip' might not be the right
13512 # tool to use in cross-compilation environments, therefore Automake
13513 # will honor the 'STRIP' environment variable to overrule this program.
13514 if test "$cross_compiling" != no
; then
13515 if test -n "$ac_tool_prefix"; then
13516 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
13517 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13519 $as_echo_n "checking for $ac_word... " >&6; }
13520 if ${ac_cv_prog_STRIP+:} false
; then :
13521 $as_echo_n "(cached) " >&6
13523 if test -n "$STRIP"; then
13524 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13527 for as_dir
in $PATH
13530 test -z "$as_dir" && as_dir
=.
13531 for ac_exec_ext
in '' $ac_executable_extensions; do
13532 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13533 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
13534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13543 STRIP
=$ac_cv_prog_STRIP
13544 if test -n "$STRIP"; then
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
13546 $as_echo "$STRIP" >&6; }
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13549 $as_echo "no" >&6; }
13554 if test -z "$ac_cv_prog_STRIP"; then
13556 # Extract the first word of "strip", so it can be a program name with args.
13557 set dummy strip
; ac_word
=$2
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13559 $as_echo_n "checking for $ac_word... " >&6; }
13560 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
13561 $as_echo_n "(cached) " >&6
13563 if test -n "$ac_ct_STRIP"; then
13564 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
13566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13567 for as_dir
in $PATH
13570 test -z "$as_dir" && as_dir
=.
13571 for ac_exec_ext
in '' $ac_executable_extensions; do
13572 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13573 ac_cv_prog_ac_ct_STRIP
="strip"
13574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13583 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
13584 if test -n "$ac_ct_STRIP"; then
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
13586 $as_echo "$ac_ct_STRIP" >&6; }
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13589 $as_echo "no" >&6; }
13592 if test "x$ac_ct_STRIP" = x
; then
13595 case $cross_compiling:$ac_tool_warned in
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13599 ac_tool_warned
=yes ;;
13604 STRIP
="$ac_cv_prog_STRIP"
13608 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
13611 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
13612 if test -z "$MKDIR_P"; then
13613 if ${ac_cv_path_mkdir+:} false
; then :
13614 $as_echo_n "(cached) " >&6
13616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13617 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
13620 test -z "$as_dir" && as_dir
=.
13621 for ac_prog
in mkdir gmkdir
; do
13622 for ac_exec_ext
in '' $ac_executable_extensions; do
13623 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
13624 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
13625 'mkdir (GNU coreutils) '* | \
13626 'mkdir (coreutils) '* | \
13627 'mkdir (fileutils) '4.1*)
13628 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
13638 test -d .
/--version && rmdir .
/--version
13639 if test "${ac_cv_path_mkdir+set}" = set; then
13640 MKDIR_P
="$ac_cv_path_mkdir -p"
13642 # As a last resort, use the slow shell script. Don't cache a
13643 # value for MKDIR_P within a source directory, because that will
13644 # break other packages using the cache if that directory is
13645 # removed, or if the value is a relative name.
13646 MKDIR_P
="$ac_install_sh -d"
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
13650 $as_echo "$MKDIR_P" >&6; }
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
13653 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
13655 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
13656 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
13657 $as_echo_n "(cached) " >&6
13659 cat >conftest.
make <<\_ACEOF
13662 @
echo '@@@%%%=$(MAKE)=@@@%%%'
13664 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13665 case `${MAKE-make} -f conftest.make 2>/dev/null` in
13666 *@@@
%%%=?
*=@@@
%%%*)
13667 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
13669 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
13671 rm -f conftest.
make
13673 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13675 $as_echo "yes" >&6; }
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13679 $as_echo "no" >&6; }
13680 SET_MAKE
="MAKE=${MAKE-make}"
13683 rm -rf .tst
2>/dev
/null
13684 mkdir .tst
2>/dev
/null
13685 if test -d .tst
; then
13690 rmdir .tst
2>/dev
/null
13692 DEPDIR
="${am__leading_dot}deps"
13694 ac_config_commands
="$ac_config_commands depfiles"
13697 am_make
=${MAKE-make}
13698 cat > confinc
<< 'END'
13700 @
echo this is the am__doit target
13703 # If we don't find an include directive, just comment out the code.
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
13705 $as_echo_n "checking for style of include used by $am_make... " >&6; }
13709 # First try GNU make style include.
13710 echo "include confinc" > confmf
13711 # Ignore all kinds of additional output from 'make'.
13712 case `$am_make -s -f confmf 2> /dev/null` in #(
13713 *the\ am__doit\ target
*)
13714 am__include
=include
13719 # Now try BSD make style include.
13720 if test "$am__include" = "#"; then
13721 echo '.include "confinc"' > confmf
13722 case `$am_make -s -f confmf 2> /dev/null` in #(
13723 *the\ am__doit\ target
*)
13724 am__include
=.include
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
13733 $as_echo "$_am_result" >&6; }
13734 rm -f confinc confmf
13736 # Check whether --enable-dependency-tracking was given.
13737 if test "${enable_dependency_tracking+set}" = set; then :
13738 enableval
=$enable_dependency_tracking;
13741 if test "x$enable_dependency_tracking" != xno
; then
13742 am_depcomp
="$ac_aux_dir/depcomp"
13746 if test "x$enable_dependency_tracking" != xno; then
13755 # Check whether --enable-silent-rules was given.
13756 if test "${enable_silent_rules+set}" = set; then :
13757 enableval
=$enable_silent_rules;
13760 case $enable_silent_rules in # (((
13761 yes) AM_DEFAULT_VERBOSITY
=0;;
13762 no
) AM_DEFAULT_VERBOSITY
=1;;
13763 *) AM_DEFAULT_VERBOSITY
=1;;
13765 am_make
=${MAKE-make}
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13767 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13768 if ${am_cv_make_support_nested_variables+:} false
; then :
13769 $as_echo_n "(cached) " >&6
13771 if $as_echo 'TRUE=$(BAR$(V))
13777 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
13778 am_cv_make_support_nested_variables
=yes
13780 am_cv_make_support_nested_variables
=no
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13784 $as_echo "$am_cv_make_support_nested_variables" >&6; }
13785 if test $am_cv_make_support_nested_variables = yes; then
13787 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
13789 AM_V
=$AM_DEFAULT_VERBOSITY
13790 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
13794 if test "`cd $srcdir && pwd`" != "`pwd`"; then
13795 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
13796 # is not polluted with repeated "-I."
13797 am__isrc
=' -I$(srcdir)'
13798 # test to see if srcdir already configured
13799 if test -f $srcdir/config.status
; then
13800 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
13804 # test whether we have cygpath
13805 if test -z "$CYGPATH_W"; then
13806 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
13807 CYGPATH_W
='cygpath -w'
13814 # Define the identity of the package.
13819 cat >>confdefs.h
<<_ACEOF
13820 #define PACKAGE "$PACKAGE"
13824 cat >>confdefs.h
<<_ACEOF
13825 #define VERSION "$VERSION"
13828 # Some tools Automake needs.
13830 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
13833 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
13836 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
13839 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
13842 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
13844 # For better backward compatibility. To be removed once Automake 1.9.x
13845 # dies out for good. For more background, see:
13846 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
13847 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
13848 mkdir_p
='$(MKDIR_P)'
13850 # We need awk for the "check" target (and possibly the TAP driver). The
13851 # system "awk" is bad on some platforms.
13852 # Always define AMTAR for backward compatibility. Yes, it's still used
13853 # in the wild :-( We should find a proper way to deprecate it ...
13854 AMTAR
='$${TAR-tar}'
13857 # We'll loop over all known methods to create a tar archive until one works.
13858 _am_tools
='gnutar pax cpio none'
13860 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
13866 depcc
="$CC" am_compiler_list
=
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13869 $as_echo_n "checking dependency style of $depcc... " >&6; }
13870 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
13871 $as_echo_n "(cached) " >&6
13873 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13874 # We make a subdir and do the tests there. Otherwise we can end up
13875 # making bogus files that we don't know about and never remove. For
13876 # instance it was reported that on HP-UX the gcc test will end up
13877 # making a dummy file named 'D' -- because '-MD' means "put the output
13879 rm -rf conftest.dir
13881 # Copy depcomp to subdir because otherwise we won't find it if we're
13882 # using a relative directory.
13883 cp "$am_depcomp" conftest.dir
13885 # We will build objects and dependencies in a subdirectory because
13886 # it helps to detect inapplicable dependency modes. For instance
13887 # both Tru64's cc and ICC support -MD to output dependencies as a
13888 # side effect of compilation, but ICC will put the dependencies in
13889 # the current directory while Tru64 will put them in the object
13893 am_cv_CC_dependencies_compiler_type
=none
13894 if test "$am_compiler_list" = ""; then
13895 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13897 am__universal
=false
13898 case " $depcc " in #(
13899 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
13902 for depmode
in $am_compiler_list; do
13903 # Setup a source with many dependencies, because some compilers
13904 # like to wrap large dependency lists on column 80 (with \), and
13905 # we should not choose a depcomp mode which is confused by this.
13907 # We need to recreate these files for each test, as the compiler may
13908 # overwrite some of them when testing with obscure command lines.
13909 # This happens at least with the AIX C compiler.
13911 for i
in 1 2 3 4 5 6; do
13912 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
13913 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13914 # Solaris 10 /bin/sh.
13915 echo '/* dummy */' > sub
/conftst
$i.h
13917 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13919 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13920 # mode. It turns out that the SunPro C++ compiler does not properly
13921 # handle '-M -o', and we need to detect this. Also, some Intel
13922 # versions had trouble with output in subdirs.
13923 am__obj
=sub
/conftest.
${OBJEXT-o}
13924 am__minus_obj
="-o $am__obj"
13927 # This depmode causes a compiler race in universal mode.
13928 test "$am__universal" = false ||
continue
13931 # After this tag, mechanisms are not by side-effect, so they'll
13932 # only be used when explicitly requested.
13933 if test "x$enable_dependency_tracking" = xyes
; then
13939 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
13940 # This compiler won't grok '-c -o', but also, the minuso test has
13941 # not run yet. These depmodes are late enough in the game, and
13942 # so weak that their functioning should not be impacted.
13943 am__obj
=conftest.
${OBJEXT-o}
13948 if depmode
=$depmode \
13949 source=sub
/conftest.c object
=$am__obj \
13950 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13951 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
13952 >/dev
/null
2>conftest.err
&&
13953 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13954 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13955 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
13956 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13957 # icc doesn't choke on unknown options, it will just issue warnings
13958 # or remarks (even with -Werror). So we grep stderr for any message
13959 # that says an option was ignored or not supported.
13960 # When given -MP, icc 7.0 and 7.1 complain thusly:
13961 # icc: Command line warning: ignoring option '-M'; no argument required
13962 # The diagnosis changed in icc 8.0:
13963 # icc: Command line remark: option '-MP' not supported
13964 if (grep 'ignoring option' conftest.err ||
13965 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13966 am_cv_CC_dependencies_compiler_type
=$depmode
13973 rm -rf conftest.dir
13975 am_cv_CC_dependencies_compiler_type
=none
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13980 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13981 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
13984 test "x$enable_dependency_tracking" != xno \
13985 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
13986 am__fastdepCC_TRUE
=
13987 am__fastdepCC_FALSE
='#'
13989 am__fastdepCC_TRUE
='#'
13990 am__fastdepCC_FALSE
=
13995 # POSIX will say in a future version that running "rm -f" with no argument
13996 # is OK; and we want to be able to make that assumption in our Makefile
13997 # recipes. So use an aggressive probe to check that the usage we want is
13998 # actually supported "in the wild" to an acceptable degree.
13999 # See automake bug#10828.
14000 # To make any issue more visible, cause the running configure to be aborted
14001 # by default if the 'rm' program in use doesn't match our expectations; the
14002 # user can still override this though.
14003 if rm -f && rm -fr && rm -rf; then : OK
; else
14007 Your 'rm' program seems unable to run without file operands specified
14008 on the command line, even when the '-f' option is present. This is contrary
14009 to the behaviour of most rm programs out there, and not conforming with
14010 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
14012 Please tell bug-automake@gnu.org about your system, including the value
14013 of your $PATH and any error possibly output before this message. This
14014 can help us improve future automake versions.
14017 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
14018 echo 'Configuration will proceed anyway, since you have set the' >&2
14019 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
14023 Aborting the configuration process, to ensure you take notice of the issue.
14025 You can download and install GNU coreutils to get an 'rm' implementation
14026 that behaves properly: <http://www.gnu.org/software/coreutils/>.
14028 If you want to complete the configuration process using your problematic
14029 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
14030 to "yes", and re-run configure.
14033 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
14037 # Check whether --enable-silent-rules was given.
14038 if test "${enable_silent_rules+set}" = set; then :
14039 enableval
=$enable_silent_rules;
14042 case $enable_silent_rules in # (((
14043 yes) AM_DEFAULT_VERBOSITY
=0;;
14044 no
) AM_DEFAULT_VERBOSITY
=1;;
14045 *) AM_DEFAULT_VERBOSITY
=0;;
14047 am_make
=${MAKE-make}
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
14049 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
14050 if ${am_cv_make_support_nested_variables+:} false
; then :
14051 $as_echo_n "(cached) " >&6
14053 if $as_echo 'TRUE=$(BAR$(V))
14059 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
14060 am_cv_make_support_nested_variables
=yes
14062 am_cv_make_support_nested_variables
=no
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
14066 $as_echo "$am_cv_make_support_nested_variables" >&6; }
14067 if test $am_cv_make_support_nested_variables = yes; then
14069 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
14071 AM_V
=$AM_DEFAULT_VERBOSITY
14072 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
14077 # If a cpu ever has more than one simulator to choose from, use
14078 # --enable-sim=... to choose.
14079 # Check whether --enable-sim was given.
14080 if test "${enable_sim+set}" = set; then :
14081 enableval=$enable_sim; case "${enableval}" in
14083 *) as_fn_error $? "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
14088 # Check whether --enable-example-sims was given.
14089 if test "${enable_example_sims+set}" = set; then :
14090 enableval=$enable_example_sims;
14094 # Check whether --enable-targets was given.
14095 if test "${enable_targets+set}" = set; then :
14096 enableval=$enable_targets; case "${enableval}" in
14097 yes | "") as_fn_error $? "enable-targets option must specify target names or 'all
'" "$LINENO" 5
14099 no) enable_targets= ;;
14100 *) enable_targets=$enableval ;;
14105 SIM_PRIMARY_TARGET=
14108 SIM_ENABLED_ARCHES=
14115 if test "${enable_sim}" != no; then
14116 for targ in `echo $target $enable_targets | sed 's
/,/ /g
'`
14118 sim_enable_arch_aarch64=false
14121 if test "${targ}" = "${target}"; then
14122 SIM_PRIMARY_TARGET=aarch64
14125 as_fn_append SIM_ENABLED_ARCHES " aarch64"
14127 ac_config_files="$ac_config_files aarch64/.gdbinit:common/gdbinit.in"
14130 sim_enable_arch_aarch64=true
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
14134 $as_echo_n "checking where to find the target cc... " >&6; }
14135 if test "x${build}" != "x${host}" ; then
14136 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
14137 # We already found the complete path
14138 ac_dir=`dirname $CC_FOR_TARGET`
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14140 $as_echo "pre-installed in $ac_dir" >&6; }
14142 # Canadian cross, just use what we found
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14144 $as_echo "pre-installed" >&6; }
14148 case " ${configdirs} " in
14149 *" ${target_alias}-gcc "*) ;;
14153 if test $ok = yes; then
14154 # An in-tree tool is available and we can use it
14155 CC_FOR_TARGET='$
$r/$
(HOST_SUBDIR
)/${target_alias}-gcc'
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14157 $as_echo "just compiled" >&6; }
14158 elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
14159 # We already found the complete path
14160 ac_dir=`dirname $CC_FOR_TARGET`
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14162 $as_echo "pre-installed in $ac_dir" >&6; }
14163 elif test "x$target" = "x$host"; then
14164 # We can use an host tool
14165 CC_FOR_TARGET='$
(CC
)'
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14167 $as_echo "host tool" >&6; }
14169 # We need a cross tool
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14171 $as_echo "pre-installed" >&6; }
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
14176 $as_echo_n "checking where to find the target as... " >&6; }
14177 if test "x${build}" != "x${host}" ; then
14178 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
14179 # We already found the complete path
14180 ac_dir=`dirname $AS_FOR_TARGET`
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14182 $as_echo "pre-installed in $ac_dir" >&6; }
14184 # Canadian cross, just use what we found
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14186 $as_echo "pre-installed" >&6; }
14190 case " ${configdirs} " in
14191 *" \$(abs_builddir) "*) ;;
14195 if test $ok = yes; then
14196 # An in-tree tool is available and we can use it
14197 AS_FOR_TARGET='$
$r/$
(HOST_SUBDIR
)/\$
(abs_builddir
)/..
/gas
/as-new
'
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14199 $as_echo "just compiled" >&6; }
14200 elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
14201 # We already found the complete path
14202 ac_dir=`dirname $AS_FOR_TARGET`
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14204 $as_echo "pre-installed in $ac_dir" >&6; }
14205 elif test "x$target" = "x$host"; then
14206 # We can use an host tool
14207 AS_FOR_TARGET='$
(AS
)'
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14209 $as_echo "host tool" >&6; }
14211 # We need a cross tool
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14213 $as_echo "pre-installed" >&6; }
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
14218 $as_echo_n "checking where to find the target ld... " >&6; }
14219 if test "x${build}" != "x${host}" ; then
14220 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
14221 # We already found the complete path
14222 ac_dir=`dirname $LD_FOR_TARGET`
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14224 $as_echo "pre-installed in $ac_dir" >&6; }
14226 # Canadian cross, just use what we found
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14228 $as_echo "pre-installed" >&6; }
14232 case " ${configdirs} " in
14233 *" \$(abs_builddir) "*) ;;
14237 if test $ok = yes; then
14238 # An in-tree tool is available and we can use it
14239 LD_FOR_TARGET='$
$r/$
(HOST_SUBDIR
)/\$
(abs_builddir
)/..
/ld
/ld-new
'
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14241 $as_echo "just compiled" >&6; }
14242 elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
14243 # We already found the complete path
14244 ac_dir=`dirname $LD_FOR_TARGET`
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14246 $as_echo "pre-installed in $ac_dir" >&6; }
14247 elif test "x$target" = "x$host"; then
14248 # We can use an host tool
14249 LD_FOR_TARGET='$
(LD
)'
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14251 $as_echo "host tool" >&6; }
14253 # We need a cross tool
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14255 $as_echo "pre-installed" >&6; }
14264 if test "$SIM_PRIMARY_TARGET" = "aarch64"; then :
14265 : "${AS_FOR_TARGET_AARCH64:=\$(AS_FOR_TARGET)}"
14266 : "${LD_FOR_TARGET_AARCH64:=\$(LD_FOR_TARGET)}"
14267 : "${CC_FOR_TARGET_AARCH64:=\$(CC_FOR_TARGET)}"
14271 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_AARCH64 LD_FOR_TARGET_AARCH64 CC_FOR_TARGET_AARCH64"
14273 if ${sim_enable_arch_aarch64}; then
14274 SIM_ENABLE_ARCH_aarch64_TRUE=
14275 SIM_ENABLE_ARCH_aarch64_FALSE='#'
14277 SIM_ENABLE_ARCH_aarch64_TRUE
='#'
14278 SIM_ENABLE_ARCH_aarch64_FALSE
=
14282 sim_enable_arch_arm
=false
14285 if test "${targ}" = "${target}"; then
14286 SIM_PRIMARY_TARGET
=arm
14289 as_fn_append SIM_ENABLED_ARCHES
" arm"
14291 ac_config_files
="$ac_config_files arm/.gdbinit:common/gdbinit.in"
14294 sim_enable_arch_arm
=true
14301 if test "$SIM_PRIMARY_TARGET" = "arm"; then :
14302 : "${AS_FOR_TARGET_ARM:=\$(AS_FOR_TARGET)}"
14303 : "${LD_FOR_TARGET_ARM:=\$(LD_FOR_TARGET)}"
14304 : "${CC_FOR_TARGET_ARM:=\$(CC_FOR_TARGET)}"
14308 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_ARM LD_FOR_TARGET_ARM CC_FOR_TARGET_ARM"
14310 if ${sim_enable_arch_arm}; then
14311 SIM_ENABLE_ARCH_arm_TRUE
=
14312 SIM_ENABLE_ARCH_arm_FALSE
='#'
14314 SIM_ENABLE_ARCH_arm_TRUE
='#'
14315 SIM_ENABLE_ARCH_arm_FALSE
=
14319 sim_enable_arch_avr
=false
14322 if test "${targ}" = "${target}"; then
14323 SIM_PRIMARY_TARGET
=avr
14326 as_fn_append SIM_ENABLED_ARCHES
" avr"
14328 ac_config_files
="$ac_config_files avr/.gdbinit:common/gdbinit.in"
14331 sim_enable_arch_avr
=true
14338 if test "$SIM_PRIMARY_TARGET" = "avr"; then :
14339 : "${AS_FOR_TARGET_AVR:=\$(AS_FOR_TARGET)}"
14340 : "${LD_FOR_TARGET_AVR:=\$(LD_FOR_TARGET)}"
14341 : "${CC_FOR_TARGET_AVR:=\$(CC_FOR_TARGET)}"
14345 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_AVR LD_FOR_TARGET_AVR CC_FOR_TARGET_AVR"
14347 if ${sim_enable_arch_avr}; then
14348 SIM_ENABLE_ARCH_avr_TRUE
=
14349 SIM_ENABLE_ARCH_avr_FALSE
='#'
14351 SIM_ENABLE_ARCH_avr_TRUE
='#'
14352 SIM_ENABLE_ARCH_avr_FALSE
=
14356 sim_enable_arch_bfin
=false
14359 if test "${targ}" = "${target}"; then
14360 SIM_PRIMARY_TARGET
=bfin
14363 as_fn_append SIM_ENABLED_ARCHES
" bfin"
14365 ac_config_files
="$ac_config_files bfin/.gdbinit:common/gdbinit.in"
14368 sim_enable_arch_bfin
=true
14375 if test "$SIM_PRIMARY_TARGET" = "bfin"; then :
14376 : "${AS_FOR_TARGET_BFIN:=\$(AS_FOR_TARGET)}"
14377 : "${LD_FOR_TARGET_BFIN:=\$(LD_FOR_TARGET)}"
14378 : "${CC_FOR_TARGET_BFIN:=\$(CC_FOR_TARGET)}"
14382 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_BFIN LD_FOR_TARGET_BFIN CC_FOR_TARGET_BFIN"
14384 if ${sim_enable_arch_bfin}; then
14385 SIM_ENABLE_ARCH_bfin_TRUE
=
14386 SIM_ENABLE_ARCH_bfin_FALSE
='#'
14388 SIM_ENABLE_ARCH_bfin_TRUE
='#'
14389 SIM_ENABLE_ARCH_bfin_FALSE
=
14393 sim_enable_arch_bpf
=false
14396 if test "${targ}" = "${target}"; then
14397 SIM_PRIMARY_TARGET
=bpf
14400 as_fn_append SIM_ENABLED_ARCHES
" bpf"
14402 ac_config_files
="$ac_config_files bpf/.gdbinit:common/gdbinit.in"
14405 sim_enable_arch_bpf
=true
14412 if test "$SIM_PRIMARY_TARGET" = "bpf"; then :
14413 : "${AS_FOR_TARGET_BPF:=\$(AS_FOR_TARGET)}"
14414 : "${LD_FOR_TARGET_BPF:=\$(LD_FOR_TARGET)}"
14415 : "${CC_FOR_TARGET_BPF:=\$(CC_FOR_TARGET)}"
14419 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_BPF LD_FOR_TARGET_BPF CC_FOR_TARGET_BPF"
14421 if ${sim_enable_arch_bpf}; then
14422 SIM_ENABLE_ARCH_bpf_TRUE
=
14423 SIM_ENABLE_ARCH_bpf_FALSE
='#'
14425 SIM_ENABLE_ARCH_bpf_TRUE
='#'
14426 SIM_ENABLE_ARCH_bpf_FALSE
=
14430 sim_enable_arch_cr16
=false
14433 if test "${targ}" = "${target}"; then
14434 SIM_PRIMARY_TARGET
=cr16
14437 as_fn_append SIM_ENABLED_ARCHES
" cr16"
14439 ac_config_files
="$ac_config_files cr16/.gdbinit:common/gdbinit.in"
14442 sim_enable_arch_cr16
=true
14449 if test "$SIM_PRIMARY_TARGET" = "cr16"; then :
14450 : "${AS_FOR_TARGET_CR16:=\$(AS_FOR_TARGET)}"
14451 : "${LD_FOR_TARGET_CR16:=\$(LD_FOR_TARGET)}"
14452 : "${CC_FOR_TARGET_CR16:=\$(CC_FOR_TARGET)}"
14456 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_CR16 LD_FOR_TARGET_CR16 CC_FOR_TARGET_CR16"
14458 if ${sim_enable_arch_cr16}; then
14459 SIM_ENABLE_ARCH_cr16_TRUE
=
14460 SIM_ENABLE_ARCH_cr16_FALSE
='#'
14462 SIM_ENABLE_ARCH_cr16_TRUE
='#'
14463 SIM_ENABLE_ARCH_cr16_FALSE
=
14467 sim_enable_arch_cris
=false
14469 all|cris-
*-* | crisv32-
*-*)
14470 if test "${targ}" = "${target}"; then
14471 SIM_PRIMARY_TARGET
=cris
14474 as_fn_append SIM_ENABLED_ARCHES
" cris"
14476 ac_config_files
="$ac_config_files cris/.gdbinit:common/gdbinit.in"
14479 sim_enable_arch_cris
=true
14486 if test "$SIM_PRIMARY_TARGET" = "cris"; then :
14487 : "${AS_FOR_TARGET_CRIS:=\$(AS_FOR_TARGET)}"
14488 : "${LD_FOR_TARGET_CRIS:=\$(LD_FOR_TARGET)}"
14489 : "${CC_FOR_TARGET_CRIS:=\$(CC_FOR_TARGET)}"
14493 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_CRIS LD_FOR_TARGET_CRIS CC_FOR_TARGET_CRIS"
14495 if ${sim_enable_arch_cris}; then
14496 SIM_ENABLE_ARCH_cris_TRUE
=
14497 SIM_ENABLE_ARCH_cris_FALSE
='#'
14499 SIM_ENABLE_ARCH_cris_TRUE
='#'
14500 SIM_ENABLE_ARCH_cris_FALSE
=
14504 sim_enable_arch_d10v
=false
14507 if test "${targ}" = "${target}"; then
14508 SIM_PRIMARY_TARGET
=d10v
14511 as_fn_append SIM_ENABLED_ARCHES
" d10v"
14513 ac_config_files
="$ac_config_files d10v/.gdbinit:common/gdbinit.in"
14516 sim_enable_arch_d10v
=true
14523 if test "$SIM_PRIMARY_TARGET" = "d10v"; then :
14524 : "${AS_FOR_TARGET_D10V:=\$(AS_FOR_TARGET)}"
14525 : "${LD_FOR_TARGET_D10V:=\$(LD_FOR_TARGET)}"
14526 : "${CC_FOR_TARGET_D10V:=\$(CC_FOR_TARGET)}"
14530 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_D10V LD_FOR_TARGET_D10V CC_FOR_TARGET_D10V"
14532 if ${sim_enable_arch_d10v}; then
14533 SIM_ENABLE_ARCH_d10v_TRUE
=
14534 SIM_ENABLE_ARCH_d10v_FALSE
='#'
14536 SIM_ENABLE_ARCH_d10v_TRUE
='#'
14537 SIM_ENABLE_ARCH_d10v_FALSE
=
14541 sim_enable_arch_frv
=false
14544 if test "${targ}" = "${target}"; then
14545 SIM_PRIMARY_TARGET
=frv
14548 as_fn_append SIM_ENABLED_ARCHES
" frv"
14550 ac_config_files
="$ac_config_files frv/.gdbinit:common/gdbinit.in"
14553 sim_enable_arch_frv
=true
14560 if test "$SIM_PRIMARY_TARGET" = "frv"; then :
14561 : "${AS_FOR_TARGET_FRV:=\$(AS_FOR_TARGET)}"
14562 : "${LD_FOR_TARGET_FRV:=\$(LD_FOR_TARGET)}"
14563 : "${CC_FOR_TARGET_FRV:=\$(CC_FOR_TARGET)}"
14567 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_FRV LD_FOR_TARGET_FRV CC_FOR_TARGET_FRV"
14569 if ${sim_enable_arch_frv}; then
14570 SIM_ENABLE_ARCH_frv_TRUE
=
14571 SIM_ENABLE_ARCH_frv_FALSE
='#'
14573 SIM_ENABLE_ARCH_frv_TRUE
='#'
14574 SIM_ENABLE_ARCH_frv_FALSE
=
14578 sim_enable_arch_ft32
=false
14581 if test "${targ}" = "${target}"; then
14582 SIM_PRIMARY_TARGET
=ft32
14585 as_fn_append SIM_ENABLED_ARCHES
" ft32"
14587 ac_config_files
="$ac_config_files ft32/.gdbinit:common/gdbinit.in"
14590 sim_enable_arch_ft32
=true
14597 if test "$SIM_PRIMARY_TARGET" = "ft32"; then :
14598 : "${AS_FOR_TARGET_FT32:=\$(AS_FOR_TARGET)}"
14599 : "${LD_FOR_TARGET_FT32:=\$(LD_FOR_TARGET)}"
14600 : "${CC_FOR_TARGET_FT32:=\$(CC_FOR_TARGET)}"
14604 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_FT32 LD_FOR_TARGET_FT32 CC_FOR_TARGET_FT32"
14606 if ${sim_enable_arch_ft32}; then
14607 SIM_ENABLE_ARCH_ft32_TRUE
=
14608 SIM_ENABLE_ARCH_ft32_FALSE
='#'
14610 SIM_ENABLE_ARCH_ft32_TRUE
='#'
14611 SIM_ENABLE_ARCH_ft32_FALSE
=
14615 sim_enable_arch_h8300
=false
14618 if test "${targ}" = "${target}"; then
14619 SIM_PRIMARY_TARGET
=h8300
14622 as_fn_append SIM_ENABLED_ARCHES
" h8300"
14624 ac_config_files
="$ac_config_files h8300/.gdbinit:common/gdbinit.in"
14627 sim_enable_arch_h8300
=true
14634 if test "$SIM_PRIMARY_TARGET" = "h8300"; then :
14635 : "${AS_FOR_TARGET_H8300:=\$(AS_FOR_TARGET)}"
14636 : "${LD_FOR_TARGET_H8300:=\$(LD_FOR_TARGET)}"
14637 : "${CC_FOR_TARGET_H8300:=\$(CC_FOR_TARGET)}"
14641 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_H8300 LD_FOR_TARGET_H8300 CC_FOR_TARGET_H8300"
14643 if ${sim_enable_arch_h8300}; then
14644 SIM_ENABLE_ARCH_h8300_TRUE
=
14645 SIM_ENABLE_ARCH_h8300_FALSE
='#'
14647 SIM_ENABLE_ARCH_h8300_TRUE
='#'
14648 SIM_ENABLE_ARCH_h8300_FALSE
=
14652 sim_enable_arch_iq2000
=false
14655 if test "${targ}" = "${target}"; then
14656 SIM_PRIMARY_TARGET
=iq2000
14659 as_fn_append SIM_ENABLED_ARCHES
" iq2000"
14661 ac_config_files
="$ac_config_files iq2000/.gdbinit:common/gdbinit.in"
14664 sim_enable_arch_iq2000
=true
14671 if test "$SIM_PRIMARY_TARGET" = "iq2000"; then :
14672 : "${AS_FOR_TARGET_IQ2000:=\$(AS_FOR_TARGET)}"
14673 : "${LD_FOR_TARGET_IQ2000:=\$(LD_FOR_TARGET)}"
14674 : "${CC_FOR_TARGET_IQ2000:=\$(CC_FOR_TARGET)}"
14678 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_IQ2000 LD_FOR_TARGET_IQ2000 CC_FOR_TARGET_IQ2000"
14680 if ${sim_enable_arch_iq2000}; then
14681 SIM_ENABLE_ARCH_iq2000_TRUE
=
14682 SIM_ENABLE_ARCH_iq2000_FALSE
='#'
14684 SIM_ENABLE_ARCH_iq2000_TRUE
='#'
14685 SIM_ENABLE_ARCH_iq2000_FALSE
=
14689 sim_enable_arch_lm32
=false
14692 if test "${targ}" = "${target}"; then
14693 SIM_PRIMARY_TARGET
=lm32
14696 as_fn_append SIM_ENABLED_ARCHES
" lm32"
14698 ac_config_files
="$ac_config_files lm32/.gdbinit:common/gdbinit.in"
14701 sim_enable_arch_lm32
=true
14708 if test "$SIM_PRIMARY_TARGET" = "lm32"; then :
14709 : "${AS_FOR_TARGET_LM32:=\$(AS_FOR_TARGET)}"
14710 : "${LD_FOR_TARGET_LM32:=\$(LD_FOR_TARGET)}"
14711 : "${CC_FOR_TARGET_LM32:=\$(CC_FOR_TARGET)}"
14715 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_LM32 LD_FOR_TARGET_LM32 CC_FOR_TARGET_LM32"
14717 if ${sim_enable_arch_lm32}; then
14718 SIM_ENABLE_ARCH_lm32_TRUE
=
14719 SIM_ENABLE_ARCH_lm32_FALSE
='#'
14721 SIM_ENABLE_ARCH_lm32_TRUE
='#'
14722 SIM_ENABLE_ARCH_lm32_FALSE
=
14726 sim_enable_arch_m32c
=false
14729 if test "${targ}" = "${target}"; then
14730 SIM_PRIMARY_TARGET
=m32c
14733 as_fn_append SIM_ENABLED_ARCHES
" m32c"
14735 ac_config_files
="$ac_config_files m32c/.gdbinit:common/gdbinit.in"
14738 sim_enable_arch_m32c
=true
14745 if test "$SIM_PRIMARY_TARGET" = "m32c"; then :
14746 : "${AS_FOR_TARGET_M32C:=\$(AS_FOR_TARGET)}"
14747 : "${LD_FOR_TARGET_M32C:=\$(LD_FOR_TARGET)}"
14748 : "${CC_FOR_TARGET_M32C:=\$(CC_FOR_TARGET)}"
14752 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_M32C LD_FOR_TARGET_M32C CC_FOR_TARGET_M32C"
14754 if ${sim_enable_arch_m32c}; then
14755 SIM_ENABLE_ARCH_m32c_TRUE
=
14756 SIM_ENABLE_ARCH_m32c_FALSE
='#'
14758 SIM_ENABLE_ARCH_m32c_TRUE
='#'
14759 SIM_ENABLE_ARCH_m32c_FALSE
=
14763 sim_enable_arch_m32r
=false
14766 if test "${targ}" = "${target}"; then
14767 SIM_PRIMARY_TARGET
=m32r
14770 as_fn_append SIM_ENABLED_ARCHES
" m32r"
14772 ac_config_files
="$ac_config_files m32r/.gdbinit:common/gdbinit.in"
14775 sim_enable_arch_m32r
=true
14782 if test "$SIM_PRIMARY_TARGET" = "m32r"; then :
14783 : "${AS_FOR_TARGET_M32R:=\$(AS_FOR_TARGET)}"
14784 : "${LD_FOR_TARGET_M32R:=\$(LD_FOR_TARGET)}"
14785 : "${CC_FOR_TARGET_M32R:=\$(CC_FOR_TARGET)}"
14789 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_M32R LD_FOR_TARGET_M32R CC_FOR_TARGET_M32R"
14791 if ${sim_enable_arch_m32r}; then
14792 SIM_ENABLE_ARCH_m32r_TRUE
=
14793 SIM_ENABLE_ARCH_m32r_FALSE
='#'
14795 SIM_ENABLE_ARCH_m32r_TRUE
='#'
14796 SIM_ENABLE_ARCH_m32r_FALSE
=
14800 sim_enable_arch_m68hc11
=false
14802 all|m68hc11-
*-*|m6811-
*-*)
14803 if test "${targ}" = "${target}"; then
14804 SIM_PRIMARY_TARGET
=m68hc11
14807 as_fn_append SIM_ENABLED_ARCHES
" m68hc11"
14809 ac_config_files
="$ac_config_files m68hc11/.gdbinit:common/gdbinit.in"
14812 sim_enable_arch_m68hc11
=true
14819 if test "$SIM_PRIMARY_TARGET" = "m68hc11"; then :
14820 : "${AS_FOR_TARGET_M68HC11:=\$(AS_FOR_TARGET)}"
14821 : "${LD_FOR_TARGET_M68HC11:=\$(LD_FOR_TARGET)}"
14822 : "${CC_FOR_TARGET_M68HC11:=\$(CC_FOR_TARGET)}"
14826 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_M68HC11 LD_FOR_TARGET_M68HC11 CC_FOR_TARGET_M68HC11"
14828 if ${sim_enable_arch_m68hc11}; then
14829 SIM_ENABLE_ARCH_m68hc11_TRUE
=
14830 SIM_ENABLE_ARCH_m68hc11_FALSE
='#'
14832 SIM_ENABLE_ARCH_m68hc11_TRUE
='#'
14833 SIM_ENABLE_ARCH_m68hc11_FALSE
=
14837 sim_enable_arch_mcore
=false
14840 if test "${targ}" = "${target}"; then
14841 SIM_PRIMARY_TARGET
=mcore
14844 as_fn_append SIM_ENABLED_ARCHES
" mcore"
14846 ac_config_files
="$ac_config_files mcore/.gdbinit:common/gdbinit.in"
14849 sim_enable_arch_mcore
=true
14856 if test "$SIM_PRIMARY_TARGET" = "mcore"; then :
14857 : "${AS_FOR_TARGET_MCORE:=\$(AS_FOR_TARGET)}"
14858 : "${LD_FOR_TARGET_MCORE:=\$(LD_FOR_TARGET)}"
14859 : "${CC_FOR_TARGET_MCORE:=\$(CC_FOR_TARGET)}"
14863 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_MCORE LD_FOR_TARGET_MCORE CC_FOR_TARGET_MCORE"
14865 if ${sim_enable_arch_mcore}; then
14866 SIM_ENABLE_ARCH_mcore_TRUE
=
14867 SIM_ENABLE_ARCH_mcore_FALSE
='#'
14869 SIM_ENABLE_ARCH_mcore_TRUE
='#'
14870 SIM_ENABLE_ARCH_mcore_FALSE
=
14874 sim_enable_arch_microblaze
=false
14876 all|microblaze
*-*-*)
14877 if test "${targ}" = "${target}"; then
14878 SIM_PRIMARY_TARGET
=microblaze
14881 as_fn_append SIM_ENABLED_ARCHES
" microblaze"
14883 ac_config_files
="$ac_config_files microblaze/.gdbinit:common/gdbinit.in"
14886 sim_enable_arch_microblaze
=true
14893 if test "$SIM_PRIMARY_TARGET" = "microblaze"; then :
14894 : "${AS_FOR_TARGET_MICROBLAZE:=\$(AS_FOR_TARGET)}"
14895 : "${LD_FOR_TARGET_MICROBLAZE:=\$(LD_FOR_TARGET)}"
14896 : "${CC_FOR_TARGET_MICROBLAZE:=\$(CC_FOR_TARGET)}"
14900 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_MICROBLAZE LD_FOR_TARGET_MICROBLAZE CC_FOR_TARGET_MICROBLAZE"
14902 if ${sim_enable_arch_microblaze}; then
14903 SIM_ENABLE_ARCH_microblaze_TRUE
=
14904 SIM_ENABLE_ARCH_microblaze_FALSE
='#'
14906 SIM_ENABLE_ARCH_microblaze_TRUE
='#'
14907 SIM_ENABLE_ARCH_microblaze_FALSE
=
14911 sim_enable_arch_mips
=false
14914 if test "${targ}" = "${target}"; then
14915 SIM_PRIMARY_TARGET
=mips
14918 as_fn_append SIM_ENABLED_ARCHES
" mips"
14920 ac_config_files
="$ac_config_files mips/.gdbinit:common/gdbinit.in"
14923 sim_enable_arch_mips
=true
14930 if test "$SIM_PRIMARY_TARGET" = "mips"; then :
14931 : "${AS_FOR_TARGET_MIPS:=\$(AS_FOR_TARGET)}"
14932 : "${LD_FOR_TARGET_MIPS:=\$(LD_FOR_TARGET)}"
14933 : "${CC_FOR_TARGET_MIPS:=\$(CC_FOR_TARGET)}"
14937 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_MIPS LD_FOR_TARGET_MIPS CC_FOR_TARGET_MIPS"
14939 if ${sim_enable_arch_mips}; then
14940 SIM_ENABLE_ARCH_mips_TRUE
=
14941 SIM_ENABLE_ARCH_mips_FALSE
='#'
14943 SIM_ENABLE_ARCH_mips_TRUE
='#'
14944 SIM_ENABLE_ARCH_mips_FALSE
=
14948 sim_enable_arch_mn10300
=false
14951 if test "${targ}" = "${target}"; then
14952 SIM_PRIMARY_TARGET
=mn10300
14955 as_fn_append SIM_ENABLED_ARCHES
" mn10300"
14957 ac_config_files
="$ac_config_files mn10300/.gdbinit:common/gdbinit.in"
14960 sim_enable_arch_mn10300
=true
14967 if test "$SIM_PRIMARY_TARGET" = "mn10300"; then :
14968 : "${AS_FOR_TARGET_MN10300:=\$(AS_FOR_TARGET)}"
14969 : "${LD_FOR_TARGET_MN10300:=\$(LD_FOR_TARGET)}"
14970 : "${CC_FOR_TARGET_MN10300:=\$(CC_FOR_TARGET)}"
14974 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_MN10300 LD_FOR_TARGET_MN10300 CC_FOR_TARGET_MN10300"
14976 if ${sim_enable_arch_mn10300}; then
14977 SIM_ENABLE_ARCH_mn10300_TRUE
=
14978 SIM_ENABLE_ARCH_mn10300_FALSE
='#'
14980 SIM_ENABLE_ARCH_mn10300_TRUE
='#'
14981 SIM_ENABLE_ARCH_mn10300_FALSE
=
14985 sim_enable_arch_moxie
=false
14988 if test "${targ}" = "${target}"; then
14989 SIM_PRIMARY_TARGET
=moxie
14992 as_fn_append SIM_ENABLED_ARCHES
" moxie"
14994 ac_config_files
="$ac_config_files moxie/.gdbinit:common/gdbinit.in"
14997 sim_enable_arch_moxie
=true
15004 if test "$SIM_PRIMARY_TARGET" = "moxie"; then :
15005 : "${AS_FOR_TARGET_MOXIE:=\$(AS_FOR_TARGET)}"
15006 : "${LD_FOR_TARGET_MOXIE:=\$(LD_FOR_TARGET)}"
15007 : "${CC_FOR_TARGET_MOXIE:=\$(CC_FOR_TARGET)}"
15011 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_MOXIE LD_FOR_TARGET_MOXIE CC_FOR_TARGET_MOXIE"
15013 if ${sim_enable_arch_moxie}; then
15014 SIM_ENABLE_ARCH_moxie_TRUE
=
15015 SIM_ENABLE_ARCH_moxie_FALSE
='#'
15017 SIM_ENABLE_ARCH_moxie_TRUE
='#'
15018 SIM_ENABLE_ARCH_moxie_FALSE
=
15022 sim_enable_arch_msp430
=false
15025 if test "${targ}" = "${target}"; then
15026 SIM_PRIMARY_TARGET
=msp430
15029 as_fn_append SIM_ENABLED_ARCHES
" msp430"
15031 ac_config_files
="$ac_config_files msp430/.gdbinit:common/gdbinit.in"
15034 sim_enable_arch_msp430
=true
15041 if test "$SIM_PRIMARY_TARGET" = "msp430"; then :
15042 : "${AS_FOR_TARGET_MSP430:=\$(AS_FOR_TARGET)}"
15043 : "${LD_FOR_TARGET_MSP430:=\$(LD_FOR_TARGET)}"
15044 : "${CC_FOR_TARGET_MSP430:=\$(CC_FOR_TARGET)}"
15048 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_MSP430 LD_FOR_TARGET_MSP430 CC_FOR_TARGET_MSP430"
15050 if ${sim_enable_arch_msp430}; then
15051 SIM_ENABLE_ARCH_msp430_TRUE
=
15052 SIM_ENABLE_ARCH_msp430_FALSE
='#'
15054 SIM_ENABLE_ARCH_msp430_TRUE
='#'
15055 SIM_ENABLE_ARCH_msp430_FALSE
=
15059 sim_enable_arch_or1k
=false
15062 if test "${targ}" = "${target}"; then
15063 SIM_PRIMARY_TARGET
=or1k
15066 as_fn_append SIM_ENABLED_ARCHES
" or1k"
15068 ac_config_files
="$ac_config_files or1k/.gdbinit:common/gdbinit.in"
15071 sim_enable_arch_or1k
=true
15078 if test "$SIM_PRIMARY_TARGET" = "or1k"; then :
15079 : "${AS_FOR_TARGET_OR1K:=\$(AS_FOR_TARGET)}"
15080 : "${LD_FOR_TARGET_OR1K:=\$(LD_FOR_TARGET)}"
15081 : "${CC_FOR_TARGET_OR1K:=\$(CC_FOR_TARGET)}"
15085 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_OR1K LD_FOR_TARGET_OR1K CC_FOR_TARGET_OR1K"
15087 if ${sim_enable_arch_or1k}; then
15088 SIM_ENABLE_ARCH_or1k_TRUE
=
15089 SIM_ENABLE_ARCH_or1k_FALSE
='#'
15091 SIM_ENABLE_ARCH_or1k_TRUE
='#'
15092 SIM_ENABLE_ARCH_or1k_FALSE
=
15096 sim_enable_arch_ppc
=false
15099 if test "${targ}" = "${target}"; then
15100 SIM_PRIMARY_TARGET
=ppc
15103 as_fn_append SIM_ENABLED_ARCHES
" ppc"
15106 subdirs
="$subdirs ppc"
15109 ac_config_files
="$ac_config_files ppc/.gdbinit:common/gdbinit.in"
15112 sim_enable_arch_ppc
=true
15119 if test "$SIM_PRIMARY_TARGET" = "ppc"; then :
15120 : "${AS_FOR_TARGET_PPC:=\$(AS_FOR_TARGET)}"
15121 : "${LD_FOR_TARGET_PPC:=\$(LD_FOR_TARGET)}"
15122 : "${CC_FOR_TARGET_PPC:=\$(CC_FOR_TARGET)}"
15126 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_PPC LD_FOR_TARGET_PPC CC_FOR_TARGET_PPC"
15128 if ${sim_enable_arch_ppc}; then
15129 SIM_ENABLE_ARCH_ppc_TRUE
=
15130 SIM_ENABLE_ARCH_ppc_FALSE
='#'
15132 SIM_ENABLE_ARCH_ppc_TRUE
='#'
15133 SIM_ENABLE_ARCH_ppc_FALSE
=
15137 sim_enable_arch_pru
=false
15140 if test "${targ}" = "${target}"; then
15141 SIM_PRIMARY_TARGET
=pru
15144 as_fn_append SIM_ENABLED_ARCHES
" pru"
15146 ac_config_files
="$ac_config_files pru/.gdbinit:common/gdbinit.in"
15149 sim_enable_arch_pru
=true
15156 if test "$SIM_PRIMARY_TARGET" = "pru"; then :
15157 : "${AS_FOR_TARGET_PRU:=\$(AS_FOR_TARGET)}"
15158 : "${LD_FOR_TARGET_PRU:=\$(LD_FOR_TARGET)}"
15159 : "${CC_FOR_TARGET_PRU:=\$(CC_FOR_TARGET)}"
15163 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_PRU LD_FOR_TARGET_PRU CC_FOR_TARGET_PRU"
15165 if ${sim_enable_arch_pru}; then
15166 SIM_ENABLE_ARCH_pru_TRUE
=
15167 SIM_ENABLE_ARCH_pru_FALSE
='#'
15169 SIM_ENABLE_ARCH_pru_TRUE
='#'
15170 SIM_ENABLE_ARCH_pru_FALSE
=
15174 sim_enable_arch_riscv
=false
15177 if test "${targ}" = "${target}"; then
15178 SIM_PRIMARY_TARGET
=riscv
15181 as_fn_append SIM_ENABLED_ARCHES
" riscv"
15183 ac_config_files
="$ac_config_files riscv/.gdbinit:common/gdbinit.in"
15186 sim_enable_arch_riscv
=true
15193 if test "$SIM_PRIMARY_TARGET" = "riscv"; then :
15194 : "${AS_FOR_TARGET_RISCV:=\$(AS_FOR_TARGET)}"
15195 : "${LD_FOR_TARGET_RISCV:=\$(LD_FOR_TARGET)}"
15196 : "${CC_FOR_TARGET_RISCV:=\$(CC_FOR_TARGET)}"
15200 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_RISCV LD_FOR_TARGET_RISCV CC_FOR_TARGET_RISCV"
15202 if ${sim_enable_arch_riscv}; then
15203 SIM_ENABLE_ARCH_riscv_TRUE
=
15204 SIM_ENABLE_ARCH_riscv_FALSE
='#'
15206 SIM_ENABLE_ARCH_riscv_TRUE
='#'
15207 SIM_ENABLE_ARCH_riscv_FALSE
=
15211 sim_enable_arch_rl78
=false
15214 if test "${targ}" = "${target}"; then
15215 SIM_PRIMARY_TARGET
=rl78
15218 as_fn_append SIM_ENABLED_ARCHES
" rl78"
15220 ac_config_files
="$ac_config_files rl78/.gdbinit:common/gdbinit.in"
15223 sim_enable_arch_rl78
=true
15230 if test "$SIM_PRIMARY_TARGET" = "rl78"; then :
15231 : "${AS_FOR_TARGET_RL78:=\$(AS_FOR_TARGET)}"
15232 : "${LD_FOR_TARGET_RL78:=\$(LD_FOR_TARGET)}"
15233 : "${CC_FOR_TARGET_RL78:=\$(CC_FOR_TARGET)}"
15237 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_RL78 LD_FOR_TARGET_RL78 CC_FOR_TARGET_RL78"
15239 if ${sim_enable_arch_rl78}; then
15240 SIM_ENABLE_ARCH_rl78_TRUE
=
15241 SIM_ENABLE_ARCH_rl78_FALSE
='#'
15243 SIM_ENABLE_ARCH_rl78_TRUE
='#'
15244 SIM_ENABLE_ARCH_rl78_FALSE
=
15248 sim_enable_arch_rx
=false
15251 if test "${targ}" = "${target}"; then
15252 SIM_PRIMARY_TARGET
=rx
15255 as_fn_append SIM_ENABLED_ARCHES
" rx"
15257 ac_config_files
="$ac_config_files rx/.gdbinit:common/gdbinit.in"
15260 sim_enable_arch_rx
=true
15267 if test "$SIM_PRIMARY_TARGET" = "rx"; then :
15268 : "${AS_FOR_TARGET_RX:=\$(AS_FOR_TARGET)}"
15269 : "${LD_FOR_TARGET_RX:=\$(LD_FOR_TARGET)}"
15270 : "${CC_FOR_TARGET_RX:=\$(CC_FOR_TARGET)}"
15274 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_RX LD_FOR_TARGET_RX CC_FOR_TARGET_RX"
15276 if ${sim_enable_arch_rx}; then
15277 SIM_ENABLE_ARCH_rx_TRUE
=
15278 SIM_ENABLE_ARCH_rx_FALSE
='#'
15280 SIM_ENABLE_ARCH_rx_TRUE
='#'
15281 SIM_ENABLE_ARCH_rx_FALSE
=
15285 sim_enable_arch_sh
=false
15288 if test "${targ}" = "${target}"; then
15289 SIM_PRIMARY_TARGET
=sh
15292 as_fn_append SIM_ENABLED_ARCHES
" sh"
15294 ac_config_files
="$ac_config_files sh/.gdbinit:common/gdbinit.in"
15297 sim_enable_arch_sh
=true
15304 if test "$SIM_PRIMARY_TARGET" = "sh"; then :
15305 : "${AS_FOR_TARGET_SH:=\$(AS_FOR_TARGET)}"
15306 : "${LD_FOR_TARGET_SH:=\$(LD_FOR_TARGET)}"
15307 : "${CC_FOR_TARGET_SH:=\$(CC_FOR_TARGET)}"
15311 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_SH LD_FOR_TARGET_SH CC_FOR_TARGET_SH"
15313 if ${sim_enable_arch_sh}; then
15314 SIM_ENABLE_ARCH_sh_TRUE
=
15315 SIM_ENABLE_ARCH_sh_FALSE
='#'
15317 SIM_ENABLE_ARCH_sh_TRUE
='#'
15318 SIM_ENABLE_ARCH_sh_FALSE
=
15322 sim_enable_arch_erc32
=false
15325 if test "${targ}" = "${target}"; then
15326 SIM_PRIMARY_TARGET
=erc32
15329 as_fn_append SIM_ENABLED_ARCHES
" erc32"
15331 ac_config_files
="$ac_config_files erc32/.gdbinit:common/gdbinit.in"
15334 sim_enable_arch_erc32
=true
15341 if test "$SIM_PRIMARY_TARGET" = "erc32"; then :
15342 : "${AS_FOR_TARGET_ERC32:=\$(AS_FOR_TARGET)}"
15343 : "${LD_FOR_TARGET_ERC32:=\$(LD_FOR_TARGET)}"
15344 : "${CC_FOR_TARGET_ERC32:=\$(CC_FOR_TARGET)}"
15348 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_ERC32 LD_FOR_TARGET_ERC32 CC_FOR_TARGET_ERC32"
15350 if ${sim_enable_arch_erc32}; then
15351 SIM_ENABLE_ARCH_erc32_TRUE
=
15352 SIM_ENABLE_ARCH_erc32_FALSE
='#'
15354 SIM_ENABLE_ARCH_erc32_TRUE
='#'
15355 SIM_ENABLE_ARCH_erc32_FALSE
=
15359 sim_enable_arch_v850
=false
15362 if test "${targ}" = "${target}"; then
15363 SIM_PRIMARY_TARGET
=v850
15366 as_fn_append SIM_ENABLED_ARCHES
" v850"
15368 ac_config_files
="$ac_config_files v850/.gdbinit:common/gdbinit.in"
15371 sim_enable_arch_v850
=true
15378 if test "$SIM_PRIMARY_TARGET" = "v850"; then :
15379 : "${AS_FOR_TARGET_V850:=\$(AS_FOR_TARGET)}"
15380 : "${LD_FOR_TARGET_V850:=\$(LD_FOR_TARGET)}"
15381 : "${CC_FOR_TARGET_V850:=\$(CC_FOR_TARGET)}"
15385 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_V850 LD_FOR_TARGET_V850 CC_FOR_TARGET_V850"
15387 if ${sim_enable_arch_v850}; then
15388 SIM_ENABLE_ARCH_v850_TRUE
=
15389 SIM_ENABLE_ARCH_v850_FALSE
='#'
15391 SIM_ENABLE_ARCH_v850_TRUE
='#'
15392 SIM_ENABLE_ARCH_v850_FALSE
=
15398 if test "x${enable_example_sims}" = xyes
; then
15403 : "${AS_FOR_TARGET_EXAMPLE_SYNACOR:=\$(AS_FOR_TARGET)}"
15404 : "${LD_FOR_TARGET_EXAMPLE_SYNACOR:=\$(LD_FOR_TARGET)}"
15405 : "${CC_FOR_TARGET_EXAMPLE_SYNACOR:=\$(CC)}"
15407 as_fn_append SIM_TOOLCHAIN_VARS
" AS_FOR_TARGET_EXAMPLE_SYNACOR LD_FOR_TARGET_EXAMPLE_SYNACOR CC_FOR_TARGET_EXAMPLE_SYNACOR"
15410 as_fn_append SIM_ENABLED_ARCHES
" example-synacor"
15412 ac_config_files
="$ac_config_files example-synacor/.gdbinit:common/gdbinit.in"
15416 if test "${enable_example_sims}" = "yes"; then
15417 SIM_ENABLE_ARCH_examples_TRUE
=
15418 SIM_ENABLE_ARCH_examples_FALSE
='#'
15420 SIM_ENABLE_ARCH_examples_TRUE
='#'
15421 SIM_ENABLE_ARCH_examples_FALSE
=
15425 if test "$ENABLE_SIM" = "yes"; then
15427 ENABLE_SIM_FALSE
='#'
15429 ENABLE_SIM_TRUE
='#'
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim alignment" >&5
15435 $as_echo_n "checking whether to force sim alignment... " >&6; }
15437 # Check whether --enable-sim-alignment was given.
15438 if test "${enable_sim_alignment+set}" = set; then :
15439 enableval
=$enable_sim_alignment; case "${enableval}" in
15440 yes | strict | STRICT
) sim_alignment
="STRICT_ALIGNMENT";;
15441 no | nonstrict | NONSTRICT
) sim_alignment
="NONSTRICT_ALIGNMENT";;
15442 forced | FORCED
) sim_alignment
="FORCED_ALIGNMENT";;
15443 *) as_fn_error $?
"\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5;;
15447 cat >>confdefs.h
<<_ACEOF
15448 #define WITH_ALIGNMENT ${sim_alignment:-0}
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
15452 $as_echo "${sim_alignment:-no}" >&6; }
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sim asserts" >&5
15456 $as_echo_n "checking whether to enable sim asserts... " >&6; }
15458 # Check whether --enable-sim-assert was given.
15459 if test "${enable_sim_assert+set}" = set; then :
15460 enableval
=$enable_sim_assert; case "${enableval}" in
15461 yes) sim_assert
="1";;
15462 no
) sim_assert
="0";;
15463 *) as_fn_error $?
"--enable-sim-assert does not take a value" "$LINENO" 5;;
15467 cat >>confdefs.h
<<_ACEOF
15468 #define WITH_ASSERT $sim_assert
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
15472 $as_echo "$sim_assert" >&6; }
15477 cgendir
='$(srcdir)/../../cgen'
15478 if test -r ${srcdir}/..
/cgen
/iformat.scm
; then
15479 cgendir
='$(srcdir)/../cgen'
15481 # Check whether --enable-cgen-maint was given.
15482 if test "${enable_cgen_maint+set}" = set; then :
15483 enableval
=$enable_cgen_maint; case "${enableval}" in
15484 yes) cgen_maint
=yes ;;
15485 no
) cgen_maint
=no
;;
15487 # Argument is a directory where cgen can be found. In some
15488 # future world cgen could be installable, but right now this
15489 # is not the case. Instead we assume the directory is a path
15490 # to the cgen source tree.
15492 if test -r ${enableval}/iformat.scm
; then
15493 # This looks like a cgen source tree.
15494 cgendir
=${enableval}
15496 as_fn_error $?
"${enableval} doesn't look like a cgen source tree" "$LINENO" 5
15501 if test x
${cgen_maint} != xno
; then
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim debug setting" >&5
15511 $as_echo_n "checking for sim debug setting... " >&6; }
15513 # Check whether --enable-sim-debug was given.
15514 if test "${enable_sim_debug+set}" = set; then :
15515 enableval
=$enable_sim_debug; case "${enableval}" in
15516 yes) sim_debug
="7";;
15517 no
) sim_debug
="0";;
15518 *) sim_debug
="($enableval)";;
15521 if test "$sim_debug" != "0"; then
15523 cat >>confdefs.h
<<_ACEOF
15524 #define DEBUG $sim_debug
15529 cat >>confdefs.h
<<_ACEOF
15530 #define WITH_DEBUG $sim_debug
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_debug" >&5
15534 $as_echo "$sim_debug" >&6; }
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim endianness" >&5
15537 $as_echo_n "checking whether to force sim endianness... " >&6; }
15539 # Check whether --enable-sim-endian was given.
15540 if test "${enable_sim_endian+set}" = set; then :
15541 enableval
=$enable_sim_endian; case "${enableval}" in
15542 b
*|B
*) sim_endian
="BFD_ENDIAN_BIG";;
15543 l
*|L
*) sim_endian
="BFD_ENDIAN_LITTLE";;
15545 *) as_fn_error $?
"\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5;;
15549 cat >>confdefs.h
<<_ACEOF
15550 #define WITH_TARGET_BYTE_ORDER ${sim_endian:-BFD_ENDIAN_UNKNOWN}
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
15554 $as_echo "${sim_alignment:-no}" >&6; }
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
15558 $as_echo_n "checking default sim environment setting... " >&6; }
15559 sim_environment
="ALL_ENVIRONMENT"
15560 # Check whether --enable-sim-environment was given.
15561 if test "${enable_sim_environment+set}" = set; then :
15562 enableval
=$enable_sim_environment; case "${enableval}" in
15563 all | ALL
) sim_environment
="ALL_ENVIRONMENT";;
15564 user | USER
) sim_environment
="USER_ENVIRONMENT";;
15565 virtual | VIRTUAL
) sim_environment
="VIRTUAL_ENVIRONMENT";;
15566 operating | OPERATING
) sim_environment
="OPERATING_ENVIRONMENT";;
15567 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
15571 cat >>confdefs.h
<<_ACEOF
15572 #define WITH_ENVIRONMENT $sim_environment
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_environment" >&5
15576 $as_echo "$sim_environment" >&6; }
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim hardware settings" >&5
15579 $as_echo_n "checking for sim hardware settings... " >&6; }
15580 # Check whether --enable-sim-hardware was given.
15581 if test "${enable_sim_hardware+set}" = set; then :
15582 enableval
=$enable_sim_hardware;
15584 enable_sim_hardware
="yes"
15588 if test "$enable_sim_hardware" = no
; then
15589 sim_hw_cflags
="-DWITH_HW=0"
15590 elif test "$enable_sim_hardware" = yes; then
15591 sim_hw_cflags
="-DWITH_HW=1"
15592 sim_hw_sockser
="dv-sockser.o"
15593 sim_hw_cflags
="$sim_hw_cflags -DHAVE_DV_SOCKSER"
15595 as_fn_error $?
"unknown argument \"$enable_sim_hardware\"" "$LINENO" 5
15597 if test "$enable_sim_hardware" = "yes"; then
15598 SIM_ENABLE_HW_TRUE
=
15599 SIM_ENABLE_HW_FALSE
='#'
15601 SIM_ENABLE_HW_TRUE
='#'
15602 SIM_ENABLE_HW_FALSE
=
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_sim_hardware}" >&5
15606 $as_echo "${enable_sim_hardware}" >&6; }
15607 SIM_HW_CFLAGS
=$sim_hw_cflags
15609 SIM_HW_SOCKSER
=$sim_hw_sockser
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sim inline settings" >&5
15613 $as_echo_n "checking sim inline settings... " >&6; }
15614 sim_inline
="-DDEFAULT_INLINE=0"
15615 # Check whether --enable-sim-inline was given.
15616 if test "${enable_sim_inline+set}" = set; then :
15617 enableval
=$enable_sim_inline; sim_inline
=""
15618 case "$enableval" in
15619 no
) sim_inline
="-DDEFAULT_INLINE=0";;
15620 0) sim_inline
="-DDEFAULT_INLINE=0";;
15621 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
15622 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
15623 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
15626 *_INLINE
=*) new_flag
="-D$x";;
15627 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
15628 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
15629 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
15631 if test x
"$sim_inline" = x
""; then
15632 sim_inline
="$new_flag"
15634 sim_inline
="$sim_inline $new_flag"
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_inline" >&5
15641 $as_echo "$sim_inline" >&6; }
15642 SIM_INLINE
=$sim_inline
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim profile settings" >&5
15646 $as_echo_n "checking for sim profile settings... " >&6; }
15649 # Check whether --enable-sim-profile was given.
15650 if test "${enable_sim_profile+set}" = set; then :
15651 enableval
=$enable_sim_profile; case "${enableval}" in
15652 yes) profile
="1" sim_profile
="-1";;
15653 no
) profile
="0" sim_profile
="0";;
15655 profile
="(${enableval})" sim_profile
="(${enableval})";;
15659 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
15660 if test x
"$sim_profile" = x
; then
15661 sim_profile
="(PROFILE_$x"
15663 sim_profile
="${sim_profile}|PROFILE_$x"
15666 sim_profile
="$sim_profile)" ;;
15670 cat >>confdefs.h
<<_ACEOF
15671 #define PROFILE $profile
15675 cat >>confdefs.h
<<_ACEOF
15676 #define WITH_PROFILE $sim_profile
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_profile" >&5
15680 $as_echo "$sim_profile" >&6; }
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check reserved bits in instruction" >&5
15683 $as_echo_n "checking whether to check reserved bits in instruction... " >&6; }
15684 # Check whether --enable-sim-reserved-bits was given.
15685 if test "${enable_sim_reserved_bits+set}" = set; then :
15686 enableval
=$enable_sim_reserved_bits; case "${enableval}" in
15688 *) as_fn_error $?
"\"--enable-sim-reserved-bits does not take a value\"" "$LINENO" 5;;
15692 if test "x${enable_sim_reserved_bits}" != xno
; then
15693 sim_reserved_bits
=1
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15695 $as_echo "yes" >&6; }
15697 sim_reserved_bits
=0
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15699 $as_echo "no" >&6; }
15702 cat >>confdefs.h
<<_ACEOF
15703 #define WITH_RESERVED_BITS $sim_reserved_bits
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim cache size" >&5
15708 $as_echo_n "checking for sim cache size... " >&6; }
15710 # Check whether --enable-sim-scache was given.
15711 if test "${enable_sim_scache+set}" = set; then :
15712 enableval
=$enable_sim_scache; case "${enableval}" in
15714 no
) sim_scache
="0";;
15715 [0-9]*) sim_scache
="${enableval}";;
15716 *) as_fn_error $?
"\"Bad value $enableval passed to --enable-sim-scache\"" "$LINENO" 5;;
15721 cat >>confdefs.h
<<_ACEOF
15722 #define WITH_SCACHE $sim_scache
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_scache" >&5
15726 $as_echo "$sim_scache" >&6; }
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of sim cpus to support" >&5
15729 $as_echo_n "checking number of sim cpus to support... " >&6; }
15730 default_sim_smp
="0"
15731 sim_smp
="$default_sim_smp"
15732 # Check whether --enable-sim-smp was given.
15733 if test "${enable_sim_smp+set}" = set; then :
15734 enableval
=$enable_sim_smp; case "${enableval}" in
15737 *) sim_smp
="$enableval";;
15740 IGEN_FLAGS_SMP
="-N ${sim_smp}"
15742 if test "x$sim_smp" = x0
; then :
15746 cat >>confdefs.h
<<_ACEOF
15747 #define WITH_SMP $sim_smp
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_smp" >&5
15752 $as_echo "$sim_smp" >&6; }
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim stdio debug behavior" >&5
15755 $as_echo_n "checking for sim stdio debug behavior... " >&6; }
15757 # Check whether --enable-sim-stdio was given.
15758 if test "${enable_sim_stdio+set}" = set; then :
15759 enableval
=$enable_sim_stdio; case "${enableval}" in
15760 yes) sim_stdio
="DO_USE_STDIO";;
15761 no
) sim_stdio
="DONT_USE_STDIO";;
15762 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-stdio" "$LINENO" 5;;
15766 cat >>confdefs.h
<<_ACEOF
15767 #define WITH_STDIO $sim_stdio
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_stdio" >&5
15771 $as_echo "$sim_stdio" >&6; }
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim trace settings" >&5
15774 $as_echo_n "checking for sim trace settings... " >&6; }
15775 sim_trace
="~TRACE_debug"
15776 # Check whether --enable-sim-trace was given.
15777 if test "${enable_sim_trace+set}" = set; then :
15778 enableval
=$enable_sim_trace; case "${enableval}" in
15779 yes) sim_trace
="-1";;
15780 no
) sim_trace
="0";;
15782 sim_trace
="'(${enableval})'";;
15785 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
15786 if test x
"$sim_trace" = x
; then
15787 sim_trace
="(TRACE_$x"
15789 sim_trace
="${sim_trace}|TRACE_$x"
15792 sim_trace
="$sim_trace)" ;;
15796 cat >>confdefs.h
<<_ACEOF
15797 #define WITH_TRACE $sim_trace
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_trace" >&5
15801 $as_echo "$sim_trace" >&6; }
15804 # Check whether --enable-werror was given.
15805 if test "${enable_werror+set}" = set; then :
15806 enableval
=$enable_werror; case "${enableval}" in
15807 yes | y
) ERROR_ON_WARNING
="yes" ;;
15808 no | n
) ERROR_ON_WARNING
="no" ;;
15809 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
15814 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
15815 ERROR_ON_WARNING
=yes
15819 if test "${ERROR_ON_WARNING}" = yes ; then
15820 WERROR_CFLAGS
="-Werror"
15823 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith
15824 -Wno-unused -Wunused-value -Wunused-function
15825 -Wno-switch -Wno-char-subscripts
15826 -Wempty-body -Wunused-but-set-parameter
15827 -Wno-error=maybe-uninitialized
15828 -Wmissing-declarations
15829 -Wmissing-prototypes
15830 -Wdeclaration-after-statement -Wmissing-parameter-type
15832 -Wold-style-declaration -Wold-style-definition
15835 # Enable -Wno-format by default when using gcc on mingw since many
15836 # GCC versions complain about %I64.
15838 *-*-mingw32*) build_warnings
="$build_warnings -Wno-format" ;;
15839 *) build_warnings
="$build_warnings -Wformat-nonliteral" ;;
15842 # Check whether --enable-build-warnings was given.
15843 if test "${enable_build_warnings+set}" = set; then :
15844 enableval
=$enable_build_warnings; case "${enableval}" in
15846 no
) build_warnings
="-w";;
15847 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
15848 build_warnings
="${build_warnings} ${t}";;
15849 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
15850 build_warnings
="${t} ${build_warnings}";;
15851 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
15853 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
15854 echo "Setting compiler warning flags = $build_warnings" 6>&1
15857 # Check whether --enable-sim-build-warnings was given.
15858 if test "${enable_sim_build_warnings+set}" = set; then :
15859 enableval
=$enable_sim_build_warnings; case "${enableval}" in
15861 no
) build_warnings
="-w";;
15862 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
15863 build_warnings
="${build_warnings} ${t}";;
15864 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
15865 build_warnings
="${t} ${build_warnings}";;
15866 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
15868 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
15869 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
15873 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
15876 $as_echo_n "checking compiler warning flags... " >&6; }
15877 # Separate out the -Werror flag as some files just cannot be
15878 # compiled with it enabled.
15879 for w
in ${build_warnings}; do
15881 -Werr*) WERROR_CFLAGS
=-Werror ;;
15882 *) # Check that GCC accepts it
15883 saved_CFLAGS
="$CFLAGS"
15884 CFLAGS
="$CFLAGS -Werror $w"
15885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15886 /* end confdefs.h. */
15896 if ac_fn_c_try_compile
"$LINENO"; then :
15897 WARN_CFLAGS
="${WARN_CFLAGS} $w"
15899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15900 CFLAGS
="$saved_CFLAGS"
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
15904 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sim frv should dump cpu state on unknown traps
" >&5
15909 $as_echo_n "checking whether sim frv should dump cpu state on unknown traps...
" >&6; }
15910 # Check whether --enable-sim-frv-trapdump was given.
15911 if test "${enable_sim_frv_trapdump+set}" = set; then :
15912 enableval=$enable_sim_frv_trapdump; case "${enableval}" in
15914 *) as_fn_error $? "\"Unknown value
$enableval passed to
--enable-sim-trapdump\"" "$LINENO" 5;;
15918 if test "x
${enable_sim_frv_trapdump}" = xyes; then
15919 SIM_FRV_TRAPDUMP_FLAGS="-DTRAPDUMP=1"
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15921 $as_echo "yes" >&6; }
15923 SIM_FRV_TRAPDUMP_FLAGS="-DTRAPDUMP=0"
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15925 $as_echo "no
" >&6; }
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mips subtarget
" >&5
15931 $as_echo_n "checking mips subtarget...
" >&6; }
15932 SIM_MIPS_SUBTARGET=
15933 case ${target} in #(
15935 SIM_MIPS_SUBTARGET="-DTARGET_ENABLE_FR=1" ;; #(
15937 SIM_MIPS_SUBTARGET="-DSUBTARGET_R3900=1" ;; #(
15939 SIM_MIPS_SUBTARGET="-DTARGET_ENABLE_FR=1" ;; #(
15941 SIM_MIPS_SUBTARGET="-DTARGET_ENABLE_FR=1" ;; #(
15943 SIM_MIPS_SUBTARGET="-DTARGET_ENABLE_FR=1" ;; #(
15945 SIM_MIPS_SUBTARGET="-DTARGET_ENABLE_FR=1" ;; #(
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${SIM_MIPS_SUBTARGET:-none}" >&5
15950 $as_echo "${SIM_MIPS_SUBTARGET:-none}" >&6; }
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mips bitsize
" >&5
15954 $as_echo_n "checking mips bitsize...
" >&6; }
15955 SIM_MIPS_BITSIZE=64
15956 case ${target} in #(
15958 SIM_MIPS_BITSIZE=64 ;; #(
15960 SIM_MIPS_BITSIZE=64 ;; #(
15962 SIM_MIPS_BITSIZE=64 ;; #(
15964 SIM_MIPS_BITSIZE=64 ;; #(
15966 SIM_MIPS_BITSIZE=32 ;; #(
15968 SIM_MIPS_BITSIZE=64 ;; #(
15970 SIM_MIPS_BITSIZE=32 ;; #(
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $SIM_MIPS_BITSIZE" >&5
15975 $as_echo "$SIM_MIPS_BITSIZE" >&6; }
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mips fpu bitsize
" >&5
15979 $as_echo_n "checking mips fpu bitsize...
" >&6; }
15980 SIM_MIPS_FPU_BITSIZE=64
15981 case ${target} in #(
15983 SIM_MIPS_FPU_BITSIZE=32 ;; #(
15985 SIM_MIPS_FPU_BITSIZE=64 ;; #(
15987 SIM_MIPS_FPU_BITSIZE=64 ;; #(
15989 SIM_MIPS_FPU_BITSIZE=64 ;; #(
15991 SIM_MIPS_FPU_BITSIZE=64 ;; #(
15993 SIM_MIPS_FPU_BITSIZE=32 ;; #(
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $SIM_MIPS_FPU_BITSIZE" >&5
15998 $as_echo "$SIM_MIPS_FPU_BITSIZE" >&6; }
16001 SIM_MIPS_GEN=SINGLE
16002 sim_mips_single_machine="-M mipsIV
"
16003 sim_mips_m16_machine="-M mips16
,mipsIII
"
16004 sim_mips_single_filter="32,64,f
"
16005 sim_mips_m16_filter="16"
16006 case ${target} in #(
16008 SIM_MIPS_GEN=SINGLE
16009 sim_mips_single_filter="32,f
"
16010 sim_mips_single_machine="-M r3900
" ;; #(
16013 sim_mips_single_machine="-M vr4100
"
16014 sim_mips_m16_machine="-M vr4100
" ;; #(
16017 sim_mips_multi_configs="\
16018 vr4100
:mipsIII
,mips16
,vr4100
:32,64:mips4100
,mips4111\
16019 vr4120
:mipsIII
,mips16
,vr4120
:32,64:mips4120\
16020 vr5000
:mipsIV
:32,64,f
:mips4300
,mips5000
,mips8000\
16021 vr5400
:mipsIV
,vr5400
:32,64,f
:mips5400\
16022 vr5500
:mipsIV
,vr5500
:32,64,f
:mips5500
"
16023 sim_mips_multi_default=mips5000 ;; #(
16024 mips*-sde-elf* | mips*-mti-elf*) :
16026 sim_mips_multi_configs="\
16027 micromips
:micromips64
,micromipsdsp
:32,64,f
:mips_micromips\
16028 mipsisa64r2
:mips64r2
,mips16
,mips16e
,mdmx
,dsp
,dsp2
,mips3d
,smartmips
:32,64,f
:mipsisa32r2
,mipsisa64r2
,mipsisa32r5
,mipsisa64r5\
16029 mipsisa64r6
:mips64r6
:32,64,f
:mipsisa32r6
,mipsisa64r6
"
16030 sim_mips_multi_default=mipsisa64r2 ;; #(
16032 SIM_MIPS_GEN=M16 ;; #(
16035 sim_mips_multi_configs="\
16036 micromips
:micromips32
,micromipsdsp
:32,f
:mips_micromips\
16037 mips32r2
:mips32r2
,mips3d
,mips16
,mips16e
,mdmx
,dsp
,dsp2
,smartmips
:32,f
:mipsisa32r2
"
16038 sim_mips_multi_default=mipsisa32r2 ;; #(
16040 SIM_MIPS_GEN=SINGLE
16041 sim_mips_single_machine="-M mips32r6
"
16042 sim_mips_single_filter="32,f
" ;; #(
16045 sim_mips_single_machine="-M mips32
,mips16
,mips16e
,smartmips
"
16046 sim_mips_m16_machine="-M mips16
,mips16e
,mips32
"
16047 sim_mips_single_filter="32,f
" ;; #(
16050 sim_mips_single_machine="-M mips64r2
,mips3d
,mips16
,mips16e
,mdmx
,dsp
,dsp2
"
16051 sim_mips_m16_machine="-M mips16
,mips16e
,mips64r2
" ;; #(
16053 SIM_MIPS_GEN=SINGLE
16054 sim_mips_single_machine="-M mips64r6
" ;; #(
16056 SIM_MIPS_GEN=SINGLE
16057 sim_mips_single_machine="-M mips64
,mips3d
,sb1
" ;; #(
16060 sim_mips_single_machine="-M mips64
,mips3d
,mips16
,mips16e
,mdmx
"
16061 sim_mips_m16_machine="-M mips16
,mips16e
,mips64
" ;; #(
16064 sim_mips_single_machine="-M mipsIII
,mips16
"
16065 sim_mips_m16_machine="-M mips16
,mipsIII
"
16066 sim_mips_single_filter="32,f
" ;; #(
16068 SIM_MIPS_GEN=SINGLE
16069 sim_mips_single_filter="32,f
" ;; #(
16074 SIM_MIPS_IGEN_ITABLE_FLAGS=
16075 SIM_MIPS_MULTI_SRC=
16076 SIM_MIPS_MULTI_OBJ=
16077 SIM_MIPS_MULTI_IGEN_CONFIGS=
16078 if test "x
$SIM_MIPS_GEN" = x"MULTI
"; then :
16079 if test -z "${sim_mips_multi_configs}" || test -z "${sim_mips_multi_default}"; then :
16080 as_fn_error $? "Error
in configure.ac
: MULTI simulator not
set up correctly
" "$LINENO" 5
16083 as_dir=mips; as_fn_mkdir_p
16084 rm -f mips/multi-include.h mips/multi-run.c
16085 sim_mips_seen_default=no
16087 cat << __EOF__ > mips/multi-run.c
16088 /* Main entry point for MULTI simulators.
16089 Copyright (C) 2003-2023 Free Software Foundation, Inc.
16091 This program is free software; you can redistribute it and/or modify
16092 it under the terms of the GNU General Public License as published by
16093 the Free Software Foundation; either version 3 of the License, or
16094 (at your option) any later version.
16096 This program is distributed in the hope that it will be useful,
16097 but WITHOUT ANY WARRANTY; without even the implied warranty of
16098 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16099 GNU General Public License for more details.
16101 You should have received a copy of the GNU General Public License
16102 along with this program. If not, see <http://www.gnu.org/licenses/>.
16106 This file was generated by sim/mips/configure. */
16108 #include "sim-main.h
"
16109 #include "multi-include.h
"
16110 #include "bfd
/elf-bfd.h
"
16111 #include "bfd
/elfxx-mips.h
"
16112 #include "elf
/mips.h
"
16118 sim_engine_run (SIM_DESC sd,
16121 int signal) /* ignore */
16125 if (STATE_ARCHITECTURE (sd) == NULL)
16126 mach = bfd_mach_${sim_mips_multi_default};
16127 else if (elf_elfheader (STATE_PROG_BFD (sd))->e_flags
16128 & EF_MIPS_ARCH_ASE_MICROMIPS)
16129 mach = bfd_mach_mips_micromips;
16132 mach = _bfd_elf_mips_mach (elf_elfheader (STATE_PROG_BFD (sd))->e_flags);
16134 mach = STATE_ARCHITECTURE (SD)->mach;
16141 for fc in ${sim_mips_multi_configs}; do
16143 c=`echo ${fc} | sed 's/:[^:]*$//'`
16144 bfdmachs=`echo ${fc} | sed 's/.*://'`
16145 name=`echo ${c} | sed 's/:.*//'`
16146 machine=`echo ${c} | sed 's/.*:\(.*\):.*/\1/'`
16147 filter=`echo ${c} | sed 's/.*://'`
16149 as_fn_append SIM_MIPS_IGEN_ITABLE_FLAGS " -F ${filter} -M ${machine}"
16155 as_fn_append SIM_MIPS_MULTI_SRC " mips
/m16
${name}_run.c
"
16156 as_fn_append SIM_MIPS_MULTI_OBJ " mips
/m16
${name}_run.o
"
16157 as_fn_append SIM_MIPS_IGEN_ITABLE_FLAGS " -F 16"
16159 *:*micromips32*:*) :
16160 ws="micromips_m32 micromips16 micromips32
"
16162 as_fn_append SIM_MIPS_MULTI_SRC " mips
/micromips
${name}_run.c
"
16163 as_fn_append SIM_MIPS_MULTI_OBJ " mips
/micromips
${name}_run.o
"
16164 as_fn_append SIM_MIPS_IGEN_ITABLE_FLAGS " -F 16,32"
16166 *:*micromips64*:*) :
16167 ws="micromips_m64 micromips16 micromips64
"
16169 as_fn_append SIM_MIPS_MULTI_SRC " mips
/micromips
${name}_run.c
"
16170 as_fn_append SIM_MIPS_MULTI_OBJ " mips
/micromips
${name}_run.o
"
16171 as_fn_append SIM_MIPS_IGEN_ITABLE_FLAGS " -F 16,32,64"
16178 for base in engine icache idecode model semantics support; do
16179 as_fn_append SIM_MIPS_MULTI_SRC " mips
/${w}${name}_${base}.c
"
16180 as_fn_append SIM_MIPS_MULTI_SRC " mips
/${w}${name}_${base}.h
"
16181 as_fn_append SIM_MIPS_MULTI_OBJ " mips
/${w}${name}_${base}.o
"
16183 as_fn_append SIM_MIPS_MULTI_IGEN_CONFIGS " ${w}${c}"
16186 echo "#include \"${w}${name}_engine.h\"" >> mips/multi-include.h
16188 for mach
in `echo ${bfdmachs} | sed 's/,/ /g'`; do
16189 echo " case bfd_mach_${mach}:" >> mips
/multi-run.c
16190 if test "x$mach" = x
"${sim_mips_multi_default}"; then :
16191 echo " default:" >> mips
/multi-run.c
16192 sim_mips_seen_default
=yes
16196 echo " ${w}${name}_engine_run (sd, next_cpu_nr, nr_cpus, signal);" \
16197 >> mips
/multi-run.c
16198 echo " break;" >> mips
/multi-run.c
16201 if test "x$sim_mips_seen_default" = xno
; then :
16202 as_fn_error $?
"Error in configure.ac: \${sim_mips_multi_configs} doesn't have an entry for \${sim_mips_multi_default}" "$LINENO" 5
16205 cat << __EOF__ >> mips/multi-run.c
16211 SIM_MIPS_MULTI_SRC
=mips
/doesnt-exist.c
16212 SIM_MIPS_IGEN_ITABLE_FLAGS
='$(SIM_MIPS_SINGLE_FLAGS)'
16213 if test "x$SIM_MIPS_GEN" = x
"M16"; then :
16214 as_fn_append SIM_MIPS_IGEN_ITABLE_FLAGS
' $(SIM_MIPS_M16_FLAGS)'
16218 SIM_MIPS_SINGLE_FLAGS
="-F ${sim_mips_single_filter} ${sim_mips_single_machine}"
16219 SIM_MIPS_M16_FLAGS
="-F ${sim_mips_m16_filter} ${sim_mips_m16_machine}"
16227 if test "$SIM_MIPS_GEN" = "SINGLE"; then
16228 SIM_MIPS_GEN_MODE_SINGLE_TRUE
=
16229 SIM_MIPS_GEN_MODE_SINGLE_FALSE
='#'
16231 SIM_MIPS_GEN_MODE_SINGLE_TRUE
='#'
16232 SIM_MIPS_GEN_MODE_SINGLE_FALSE
=
16235 if test "$SIM_MIPS_GEN" = "M16"; then
16236 SIM_MIPS_GEN_MODE_M16_TRUE
=
16237 SIM_MIPS_GEN_MODE_M16_FALSE
='#'
16239 SIM_MIPS_GEN_MODE_M16_TRUE
='#'
16240 SIM_MIPS_GEN_MODE_M16_FALSE
=
16243 if test "$SIM_MIPS_GEN" = "MULTI"; then
16244 SIM_MIPS_GEN_MODE_MULTI_TRUE
=
16245 SIM_MIPS_GEN_MODE_MULTI_FALSE
='#'
16247 SIM_MIPS_GEN_MODE_MULTI_TRUE
='#'
16248 SIM_MIPS_GEN_MODE_MULTI_FALSE
=
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking riscv bitsize" >&5
16253 $as_echo_n "checking riscv bitsize... " >&6; }
16254 SIM_RISCV_BITSIZE
=64
16257 SIM_RISCV_BITSIZE
=32 ;; #(
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SIM_RISCV_BITSIZE" >&5
16262 $as_echo "$SIM_RISCV_BITSIZE" >&6; }
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sim rx should be cycle accurate" >&5
16266 $as_echo_n "checking whether sim rx should be cycle accurate... " >&6; }
16267 # Check whether --enable-sim-rx-cycle-accurate was given.
16268 if test "${enable_sim_rx_cycle_accurate+set}" = set; then :
16269 enableval
=$enable_sim_rx_cycle_accurate; case "${enableval}" in
16271 *) as_fn_error $?
"bad value ${enableval} given for --enable-sim-rx-cycle-accurate option" "$LINENO" 5 ;;
16275 if test "x${enable_sim_rx_cycle_accurate}" != xno
; then
16276 SIM_RX_CYCLE_ACCURATE_FLAGS
="-DCYCLE_ACCURATE"
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16278 $as_echo "yes" >&6; }
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16281 $as_echo "no" >&6; }
16286 ac_config_files
="$ac_config_files arch-subdir.mk Makefile .gdbinit:gdbinit.in"
16288 cat >confcache
<<\_ACEOF
16289 # This file is a shell script that caches the results of configure
16290 # tests run on this system so they can be shared between configure
16291 # scripts and configure runs, see configure's option --config-cache.
16292 # It is not useful on other systems. If it contains results you don't
16293 # want to keep, you may remove or edit it.
16295 # config.status only pays attention to the cache file if you give it
16296 # the --recheck option to rerun configure.
16298 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16299 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16300 # following values.
16304 # The following way of writing the cache mishandles newlines in values,
16305 # but we know of no workaround that is simple, portable, and efficient.
16306 # So, we kill variables containing newlines.
16307 # Ultrix sh set writes to stderr and can't be redirected directly,
16308 # and sets the high bit in the cache file unless we assign to the vars.
16310 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16311 eval ac_val
=\$
$ac_var
16315 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16316 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16319 _ | IFS | as_nl
) ;; #(
16320 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16321 *) { eval $ac_var=; unset $ac_var;} ;;
16327 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16328 *${as_nl}ac_space
=\
*)
16329 # `set' does not quote correctly, so add quotes: double-quote
16330 # substitution turns \\\\ into \\, and sed turns \\ into \.
16333 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16336 # `set' quotes correctly as required by POSIX, so do not add quotes.
16337 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16346 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16348 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16350 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16351 if test -w "$cache_file"; then
16352 if test "x$cache_file" != "x/dev/null"; then
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16354 $as_echo "$as_me: updating cache $cache_file" >&6;}
16355 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16356 cat confcache
>"$cache_file"
16358 case $cache_file in #(
16360 mv -f confcache
"$cache_file"$$
&&
16361 mv -f "$cache_file"$$
"$cache_file" ;; #(
16363 mv -f confcache
"$cache_file" ;;
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16369 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16374 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16375 # Let make expand exec_prefix.
16376 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16378 DEFS
=-DHAVE_CONFIG_H
16383 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16384 # 1. Remove the extension, and $U if already installed.
16385 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16386 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16387 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16388 # will be set to the directory where LIBOBJS objects are built.
16389 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16390 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16392 LIBOBJS
=$ac_libobjs
16394 LTLIBOBJS
=$ac_ltlibobjs
16398 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16399 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
16400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16403 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16404 if test -n "$am_sleep_pid"; then
16405 # Hide warnings about reused PIDs.
16406 wait $am_sleep_pid 2>/dev
/null
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16409 $as_echo "done" >&6; }
16410 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16411 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16414 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16415 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16418 if test -n "$EXEEXT"; then
16420 am__EXEEXT_FALSE
='#'
16422 am__EXEEXT_TRUE
='#'
16426 if test -z "${SIM_ENABLE_ARCH_aarch64_TRUE}" && test -z "${SIM_ENABLE_ARCH_aarch64_FALSE}"; then
16427 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_aarch64\" was never defined.
16428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16430 if test -z "${SIM_ENABLE_ARCH_arm_TRUE}" && test -z "${SIM_ENABLE_ARCH_arm_FALSE}"; then
16431 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_arm\" was never defined.
16432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16434 if test -z "${SIM_ENABLE_ARCH_avr_TRUE}" && test -z "${SIM_ENABLE_ARCH_avr_FALSE}"; then
16435 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_avr\" was never defined.
16436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16438 if test -z "${SIM_ENABLE_ARCH_bfin_TRUE}" && test -z "${SIM_ENABLE_ARCH_bfin_FALSE}"; then
16439 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_bfin\" was never defined.
16440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16442 if test -z "${SIM_ENABLE_ARCH_bpf_TRUE}" && test -z "${SIM_ENABLE_ARCH_bpf_FALSE}"; then
16443 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_bpf\" was never defined.
16444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16446 if test -z "${SIM_ENABLE_ARCH_cr16_TRUE}" && test -z "${SIM_ENABLE_ARCH_cr16_FALSE}"; then
16447 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_cr16\" was never defined.
16448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16450 if test -z "${SIM_ENABLE_ARCH_cris_TRUE}" && test -z "${SIM_ENABLE_ARCH_cris_FALSE}"; then
16451 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_cris\" was never defined.
16452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16454 if test -z "${SIM_ENABLE_ARCH_d10v_TRUE}" && test -z "${SIM_ENABLE_ARCH_d10v_FALSE}"; then
16455 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_d10v\" was never defined.
16456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16458 if test -z "${SIM_ENABLE_ARCH_frv_TRUE}" && test -z "${SIM_ENABLE_ARCH_frv_FALSE}"; then
16459 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_frv\" was never defined.
16460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16462 if test -z "${SIM_ENABLE_ARCH_ft32_TRUE}" && test -z "${SIM_ENABLE_ARCH_ft32_FALSE}"; then
16463 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_ft32\" was never defined.
16464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16466 if test -z "${SIM_ENABLE_ARCH_h8300_TRUE}" && test -z "${SIM_ENABLE_ARCH_h8300_FALSE}"; then
16467 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_h8300\" was never defined.
16468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16470 if test -z "${SIM_ENABLE_ARCH_iq2000_TRUE}" && test -z "${SIM_ENABLE_ARCH_iq2000_FALSE}"; then
16471 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_iq2000\" was never defined.
16472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16474 if test -z "${SIM_ENABLE_ARCH_lm32_TRUE}" && test -z "${SIM_ENABLE_ARCH_lm32_FALSE}"; then
16475 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_lm32\" was never defined.
16476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16478 if test -z "${SIM_ENABLE_ARCH_m32c_TRUE}" && test -z "${SIM_ENABLE_ARCH_m32c_FALSE}"; then
16479 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_m32c\" was never defined.
16480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16482 if test -z "${SIM_ENABLE_ARCH_m32r_TRUE}" && test -z "${SIM_ENABLE_ARCH_m32r_FALSE}"; then
16483 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_m32r\" was never defined.
16484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16486 if test -z "${SIM_ENABLE_ARCH_m68hc11_TRUE}" && test -z "${SIM_ENABLE_ARCH_m68hc11_FALSE}"; then
16487 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_m68hc11\" was never defined.
16488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16490 if test -z "${SIM_ENABLE_ARCH_mcore_TRUE}" && test -z "${SIM_ENABLE_ARCH_mcore_FALSE}"; then
16491 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_mcore\" was never defined.
16492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16494 if test -z "${SIM_ENABLE_ARCH_microblaze_TRUE}" && test -z "${SIM_ENABLE_ARCH_microblaze_FALSE}"; then
16495 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_microblaze\" was never defined.
16496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16498 if test -z "${SIM_ENABLE_ARCH_mips_TRUE}" && test -z "${SIM_ENABLE_ARCH_mips_FALSE}"; then
16499 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_mips\" was never defined.
16500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16502 if test -z "${SIM_ENABLE_ARCH_mn10300_TRUE}" && test -z "${SIM_ENABLE_ARCH_mn10300_FALSE}"; then
16503 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_mn10300\" was never defined.
16504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16506 if test -z "${SIM_ENABLE_ARCH_moxie_TRUE}" && test -z "${SIM_ENABLE_ARCH_moxie_FALSE}"; then
16507 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_moxie\" was never defined.
16508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16510 if test -z "${SIM_ENABLE_ARCH_msp430_TRUE}" && test -z "${SIM_ENABLE_ARCH_msp430_FALSE}"; then
16511 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_msp430\" was never defined.
16512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16514 if test -z "${SIM_ENABLE_ARCH_or1k_TRUE}" && test -z "${SIM_ENABLE_ARCH_or1k_FALSE}"; then
16515 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_or1k\" was never defined.
16516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16518 if test -z "${SIM_ENABLE_ARCH_ppc_TRUE}" && test -z "${SIM_ENABLE_ARCH_ppc_FALSE}"; then
16519 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_ppc\" was never defined.
16520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16522 if test -z "${SIM_ENABLE_ARCH_pru_TRUE}" && test -z "${SIM_ENABLE_ARCH_pru_FALSE}"; then
16523 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_pru\" was never defined.
16524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16526 if test -z "${SIM_ENABLE_ARCH_riscv_TRUE}" && test -z "${SIM_ENABLE_ARCH_riscv_FALSE}"; then
16527 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_riscv\" was never defined.
16528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16530 if test -z "${SIM_ENABLE_ARCH_rl78_TRUE}" && test -z "${SIM_ENABLE_ARCH_rl78_FALSE}"; then
16531 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_rl78\" was never defined.
16532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16534 if test -z "${SIM_ENABLE_ARCH_rx_TRUE}" && test -z "${SIM_ENABLE_ARCH_rx_FALSE}"; then
16535 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_rx\" was never defined.
16536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16538 if test -z "${SIM_ENABLE_ARCH_sh_TRUE}" && test -z "${SIM_ENABLE_ARCH_sh_FALSE}"; then
16539 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_sh\" was never defined.
16540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16542 if test -z "${SIM_ENABLE_ARCH_erc32_TRUE}" && test -z "${SIM_ENABLE_ARCH_erc32_FALSE}"; then
16543 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_erc32\" was never defined.
16544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16546 if test -z "${SIM_ENABLE_ARCH_v850_TRUE}" && test -z "${SIM_ENABLE_ARCH_v850_FALSE}"; then
16547 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_v850\" was never defined.
16548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16550 if test -z "${SIM_ENABLE_ARCH_examples_TRUE}" && test -z "${SIM_ENABLE_ARCH_examples_FALSE}"; then
16551 as_fn_error $?
"conditional \"SIM_ENABLE_ARCH_examples\" was never defined.
16552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16554 if test -z "${ENABLE_SIM_TRUE}" && test -z "${ENABLE_SIM_FALSE}"; then
16555 as_fn_error $?
"conditional \"ENABLE_SIM\" was never defined.
16556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16558 if test -z "${SIM_ENABLE_HW_TRUE}" && test -z "${SIM_ENABLE_HW_FALSE}"; then
16559 as_fn_error $?
"conditional \"SIM_ENABLE_HW\" was never defined.
16560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16562 if test -z "${SIM_MIPS_GEN_MODE_SINGLE_TRUE}" && test -z "${SIM_MIPS_GEN_MODE_SINGLE_FALSE}"; then
16563 as_fn_error $?
"conditional \"SIM_MIPS_GEN_MODE_SINGLE\" was never defined.
16564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16566 if test -z "${SIM_MIPS_GEN_MODE_M16_TRUE}" && test -z "${SIM_MIPS_GEN_MODE_M16_FALSE}"; then
16567 as_fn_error $?
"conditional \"SIM_MIPS_GEN_MODE_M16\" was never defined.
16568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16570 if test -z "${SIM_MIPS_GEN_MODE_MULTI_TRUE}" && test -z "${SIM_MIPS_GEN_MODE_MULTI_FALSE}"; then
16571 as_fn_error $?
"conditional \"SIM_MIPS_GEN_MODE_MULTI\" was never defined.
16572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16575 : "${CONFIG_STATUS=./config.status}"
16577 ac_clean_files_save
=$ac_clean_files
16578 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16580 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16582 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16584 # Generated by $as_me.
16585 # Run this file to recreate the current configuration.
16586 # Compiler output produced by configure, useful for debugging
16587 # configure, is in config.log if it exists.
16590 ac_cs_recheck=false
16593 SHELL=\${CONFIG_SHELL-$SHELL}
16596 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16597 ## -------------------- ##
16598 ## M4sh Initialization. ##
16599 ## -------------------- ##
16601 # Be more Bourne compatible
16602 DUALCASE
=1; export DUALCASE
# for MKS sh
16603 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16606 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16607 # is contrary to our usage. Disable this feature.
16608 alias -g '${1+"$@"}'='"$@"'
16609 setopt NO_GLOB_SUBST
16611 case `(set -o) 2>/dev/null` in #(
16623 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16624 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16625 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16626 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16627 # Prefer a ksh shell builtin over an external printf program on Solaris,
16628 # but without wasting forks for bash or zsh.
16629 if test -z "$BASH_VERSION$ZSH_VERSION" \
16630 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16631 as_echo='print
-r --'
16632 as_echo_n='print
-rn --'
16633 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16634 as_echo='printf %s
\n'
16635 as_echo_n='printf %s
'
16637 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16638 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16639 as_echo_n='/usr
/ucb
/echo -n'
16641 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16642 as_echo_n_body='eval
16646 expr "X$arg" : "X\\(.*\\)$as_nl";
16647 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16649 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16651 export as_echo_n_body
16652 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16654 export as_echo_body
16655 as_echo='sh
-c $as_echo_body as_echo
'
16658 # The user is always right.
16659 if test "${PATH_SEPARATOR+set}" != set; then
16661 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16662 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16669 # We need space, tab and new line, in precisely that order. Quoting is
16670 # there to prevent editors from complaining about space-tab.
16671 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16672 # splitting by setting IFS to empty value.)
16675 # Find who we are. Look in the path if we contain no directory separator.
16678 *[\\/]* ) as_myself=$0 ;;
16679 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16680 for as_dir in $PATH
16683 test -z "$as_dir" && as_dir=.
16684 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16690 # We did not find ourselves, most probably we were run as `sh COMMAND'
16691 # in which case we are not to be found in the path.
16692 if test "x$as_myself" = x
; then
16695 if test ! -f "$as_myself"; then
16696 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16700 # Unset variables that we do not need and which cause bugs (e.g. in
16701 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16702 # suppresses any "Segmentation fault" message there. '((' could
16703 # trigger a bug in pdksh 5.2.14.
16704 for as_var
in BASH_ENV ENV MAIL MAILPATH
16705 do eval test x\
${$as_var+set} = xset \
16706 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16719 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16722 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16723 # ----------------------------------------
16724 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16725 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16726 # script with STATUS, using 1 if that was 0.
16729 as_status
=$1; test $as_status -eq 0 && as_status
=1
16731 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16732 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16734 $as_echo "$as_me: error: $2" >&2
16735 as_fn_exit
$as_status
16739 # as_fn_set_status STATUS
16740 # -----------------------
16741 # Set $? to STATUS, without forking.
16742 as_fn_set_status
()
16745 } # as_fn_set_status
16747 # as_fn_exit STATUS
16748 # -----------------
16749 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16753 as_fn_set_status
$1
16759 # Portably unset VAR.
16762 { eval $1=; unset $1;}
16764 as_unset
=as_fn_unset
16765 # as_fn_append VAR VALUE
16766 # ----------------------
16767 # Append the text in VALUE to the end of the definition contained in VAR. Take
16768 # advantage of any shell optimizations that allow amortized linear growth over
16769 # repeated appends, instead of the typical quadratic growth present in naive
16771 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16772 eval 'as_fn_append ()
16783 # as_fn_arith ARG...
16784 # ------------------
16785 # Perform arithmetic evaluation on the ARGs, and store the result in the
16786 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16787 # must be portable across $(()) and expr.
16788 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16789 eval 'as_fn_arith ()
16796 as_val
=`expr "$@" || test $? -eq 1`
16801 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16802 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16808 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16809 as_basename
=basename
16814 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16820 as_me
=`$as_basename -- "$0" ||
16821 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16822 X"$0" : 'X\(//\)$' \| \
16823 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16825 sed '/^.*\/\([^/][^/]*\)\/*$/{
16839 # Avoid depending upon Character Ranges.
16840 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16841 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16842 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16843 as_cr_digits
='0123456789'
16844 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16846 ECHO_C
= ECHO_N
= ECHO_T
=
16847 case `echo -n x` in #(((((
16849 case `echo 'xy\c'` in
16850 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16852 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16859 rm -f conf$$ conf$$.exe conf$$.
file
16860 if test -d conf$$.dir
; then
16861 rm -f conf$$.dir
/conf$$.
file
16864 mkdir conf$$.dir
2>/dev
/null
16866 if (echo >conf$$.
file) 2>/dev
/null
; then
16867 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16869 # ... but there are two gotchas:
16870 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16871 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16872 # In both cases, we have to default to `cp -pR'.
16873 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16875 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16883 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16884 rmdir conf$$.dir
2>/dev
/null
16889 # Create "$as_dir" as a directory, including parents if necessary.
16894 -*) as_dir
=.
/$as_dir;;
16896 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16900 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16901 *) as_qdir
=$as_dir;;
16903 as_dirs
="'$as_qdir' $as_dirs"
16904 as_dir
=`$as_dirname -- "$as_dir" ||
16905 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16906 X"$as_dir" : 'X\(//\)[^/]' \| \
16907 X"$as_dir" : 'X\(//\)$' \| \
16908 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16909 $as_echo X"$as_dir" |
16910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16914 /^X\(\/\/\)[^/].*/{
16927 test -d "$as_dir" && break
16929 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16930 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16934 if mkdir
-p .
2>/dev
/null
; then
16935 as_mkdir_p
='mkdir -p "$as_dir"'
16937 test -d .
/-p && rmdir .
/-p
16942 # as_fn_executable_p FILE
16943 # -----------------------
16944 # Test if FILE is an executable regular file.
16945 as_fn_executable_p
()
16947 test -f "$1" && test -x "$1"
16948 } # as_fn_executable_p
16949 as_test_x
='test -x'
16950 as_executable_p
=as_fn_executable_p
16952 # Sed expression to map a string onto a valid CPP name.
16953 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16955 # Sed expression to map a string onto a valid variable name.
16956 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16960 ## ----------------------------------- ##
16961 ## Main body of $CONFIG_STATUS script. ##
16962 ## ----------------------------------- ##
16964 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16967 # Save the log message, to keep $0 and so on meaningful, and to
16968 # report actual input values of CONFIG_FILES etc. instead of their
16969 # values after options handling.
16971 This file was extended by sim $as_me 0, which was
16972 generated by GNU Autoconf 2.69. Invocation command line was
16974 CONFIG_FILES = $CONFIG_FILES
16975 CONFIG_HEADERS = $CONFIG_HEADERS
16976 CONFIG_LINKS = $CONFIG_LINKS
16977 CONFIG_COMMANDS = $CONFIG_COMMANDS
16980 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16985 case $ac_config_files in *"
16986 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16989 case $ac_config_headers in *"
16990 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16995 # Files that config.status was made for.
16996 config_files="$ac_config_files"
16997 config_headers="$ac_config_headers"
16998 config_commands="$ac_config_commands"
17002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17004 \`$as_me' instantiates files and other configuration actions
17005 from templates according to the current configuration. Unless the files
17006 and actions are specified as TAGs, all are instantiated by default.
17008 Usage: $0 [OPTION]... [TAG]...
17010 -h, --help print this help, then exit
17011 -V, --version print version number and configuration settings, then exit
17012 --config print configuration, then exit
17013 -q, --quiet, --silent
17014 do not print progress messages
17015 -d, --debug don't remove temporary files
17016 --recheck update $as_me by reconfiguring in the same conditions
17017 --file=FILE[:TEMPLATE]
17018 instantiate the configuration file FILE
17019 --header=FILE[:TEMPLATE]
17020 instantiate the configuration header FILE
17022 Configuration files:
17025 Configuration headers:
17028 Configuration commands:
17031 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
17032 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
17035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17036 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17038 sim config.status 0
17039 configured by $0, generated by GNU Autoconf 2.69,
17040 with options \\"\$ac_cs_config\\"
17042 Copyright (C) 2012 Free Software Foundation, Inc.
17043 This config.status script is free software; the Free Software Foundation
17044 gives unlimited permission to copy, distribute and modify it."
17051 test -n "\$AWK" || AWK=awk
17054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17055 # The default lists apply if the user does not specify any file.
17061 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17062 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17066 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17078 # Handling of the options.
17079 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17081 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17082 $as_echo "$ac_cs_version"; exit ;;
17083 --config |
--confi |
--conf |
--con |
--co |
--c )
17084 $as_echo "$ac_cs_config"; exit ;;
17085 --debug |
--debu |
--deb |
--de |
--d |
-d )
17087 --file |
--fil |
--fi |
--f )
17090 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17091 '') as_fn_error $?
"missing file argument" ;;
17093 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17094 ac_need_defaults
=false
;;
17095 --header |
--heade |
--head |
--hea )
17098 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17100 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17101 ac_need_defaults
=false
;;
17103 # Conflict between --help and --header
17104 as_fn_error $?
"ambiguous option: \`$1'
17105 Try \`$0 --help' for more information.";;
17106 --help |
--hel |
-h )
17107 $as_echo "$ac_cs_usage"; exit ;;
17108 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17109 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17112 # This is an error.
17113 -*) as_fn_error $?
"unrecognized option: \`$1'
17114 Try \`$0 --help' for more information." ;;
17116 *) as_fn_append ac_config_targets
" $1"
17117 ac_need_defaults
=false
;;
17123 ac_configure_extra_args
=
17125 if $ac_cs_silent; then
17127 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17132 if \$ac_cs_recheck; then
17133 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17135 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17136 CONFIG_SHELL='$SHELL'
17137 export CONFIG_SHELL
17142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17146 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17147 ## Running $as_me. ##
17153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17159 # The HP-UX ksh and POSIX shell print the target directory to stdout
17160 # if CDPATH is set.
17161 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17163 sed_quote_subst='$sed_quote_subst'
17164 double_quote_subst='$double_quote_subst'
17165 delay_variable_subst='$delay_variable_subst'
17166 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17167 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17168 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17169 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17170 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17171 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17172 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17173 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17174 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17175 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17176 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17177 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17178 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17179 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17180 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17181 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17182 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17183 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17184 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17185 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17186 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17187 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17188 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17189 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17190 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17191 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17192 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17193 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17194 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17195 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17196 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17197 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17198 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17199 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17200 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17201 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17202 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17203 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17204 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17205 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17206 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17207 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17208 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17209 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17210 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17211 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17212 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17213 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17214 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"`'
17215 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17216 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17217 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17218 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17219 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17220 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17221 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17222 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17223 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17224 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17225 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17226 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17227 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17228 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17229 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17230 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17231 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17232 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17233 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17234 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17235 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17236 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17237 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17238 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17239 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17240 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17241 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17242 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17243 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17244 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17245 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17246 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17247 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17248 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17249 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17250 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17251 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17252 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17253 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17254 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17255 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17256 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17257 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17258 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17259 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17260 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17261 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17262 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17263 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17264 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17265 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17266 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17267 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17268 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17269 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17270 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17271 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17272 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17273 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17274 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17275 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17276 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17277 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17278 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17279 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17280 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17281 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17282 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17283 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17284 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17285 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17288 LTCFLAGS='$LTCFLAGS'
17289 compiler='$compiler_DEFAULT'
17291 # A function that is used when there is no print builtin or printf.
17292 func_fallback_echo ()
17294 eval 'cat <<_LTECHO_EOF
17299 # Quote evaled strings.
17313 deplibs_check_method \
17322 lt_cv_sys_global_symbol_pipe \
17323 lt_cv_sys_global_symbol_to_cdecl \
17324 lt_cv_sys_global_symbol_to_c_name_address \
17325 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17326 lt_prog_compiler_no_builtin_flag \
17327 lt_prog_compiler_wl \
17328 lt_prog_compiler_pic \
17329 lt_prog_compiler_static \
17330 lt_cv_prog_compiler_c_o \
17338 export_dynamic_flag_spec \
17339 whole_archive_flag_spec \
17340 compiler_needs_object \
17342 allow_undefined_flag \
17343 no_undefined_flag \
17344 hardcode_libdir_flag_spec \
17345 hardcode_libdir_flag_spec_ld \
17346 hardcode_libdir_separator \
17351 variables_saved_for_relink \
17353 library_names_spec \
17355 install_override_mode \
17359 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17360 *[\\\\\\\`\\"\\\$]*)
17361 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17364 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17369 # Double-quote double-evaled strings.
17370 for var in reload_cmds \
17371 old_postinstall_cmds \
17372 old_postuninstall_cmds \
17374 extract_expsyms_cmds \
17375 old_archive_from_new_cmds \
17376 old_archive_from_expsyms_cmds \
17378 archive_expsym_cmds \
17380 module_expsym_cmds \
17381 export_symbols_cmds \
17384 postuninstall_cmds \
17386 sys_lib_search_path_spec \
17387 sys_lib_dlsearch_path_spec; do
17388 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17389 *[\\\\\\\`\\"\\\$]*)
17390 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17393 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17398 ac_aux_dir='$ac_aux_dir'
17399 xsi_shell='$xsi_shell'
17400 lt_shell_append='$lt_shell_append'
17402 # See if we are running on zsh, and set the options which allow our
17403 # commands through without removal of \ escapes INIT.
17404 if test -n "\${ZSH_VERSION+set}" ; then
17405 setopt NO_GLOB_SUBST
17411 TIMESTAMP='$TIMESTAMP'
17417 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17423 # Handling of arguments.
17424 for ac_config_target
in $ac_config_targets
17426 case $ac_config_target in
17427 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17428 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17429 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17430 "aarch64/.gdbinit") CONFIG_FILES
="$CONFIG_FILES aarch64/.gdbinit:common/gdbinit.in" ;;
17431 "arm/.gdbinit") CONFIG_FILES
="$CONFIG_FILES arm/.gdbinit:common/gdbinit.in" ;;
17432 "avr/.gdbinit") CONFIG_FILES
="$CONFIG_FILES avr/.gdbinit:common/gdbinit.in" ;;
17433 "bfin/.gdbinit") CONFIG_FILES
="$CONFIG_FILES bfin/.gdbinit:common/gdbinit.in" ;;
17434 "bpf/.gdbinit") CONFIG_FILES
="$CONFIG_FILES bpf/.gdbinit:common/gdbinit.in" ;;
17435 "cr16/.gdbinit") CONFIG_FILES
="$CONFIG_FILES cr16/.gdbinit:common/gdbinit.in" ;;
17436 "cris/.gdbinit") CONFIG_FILES
="$CONFIG_FILES cris/.gdbinit:common/gdbinit.in" ;;
17437 "d10v/.gdbinit") CONFIG_FILES
="$CONFIG_FILES d10v/.gdbinit:common/gdbinit.in" ;;
17438 "frv/.gdbinit") CONFIG_FILES
="$CONFIG_FILES frv/.gdbinit:common/gdbinit.in" ;;
17439 "ft32/.gdbinit") CONFIG_FILES
="$CONFIG_FILES ft32/.gdbinit:common/gdbinit.in" ;;
17440 "h8300/.gdbinit") CONFIG_FILES
="$CONFIG_FILES h8300/.gdbinit:common/gdbinit.in" ;;
17441 "iq2000/.gdbinit") CONFIG_FILES
="$CONFIG_FILES iq2000/.gdbinit:common/gdbinit.in" ;;
17442 "lm32/.gdbinit") CONFIG_FILES
="$CONFIG_FILES lm32/.gdbinit:common/gdbinit.in" ;;
17443 "m32c/.gdbinit") CONFIG_FILES
="$CONFIG_FILES m32c/.gdbinit:common/gdbinit.in" ;;
17444 "m32r/.gdbinit") CONFIG_FILES
="$CONFIG_FILES m32r/.gdbinit:common/gdbinit.in" ;;
17445 "m68hc11/.gdbinit") CONFIG_FILES
="$CONFIG_FILES m68hc11/.gdbinit:common/gdbinit.in" ;;
17446 "mcore/.gdbinit") CONFIG_FILES
="$CONFIG_FILES mcore/.gdbinit:common/gdbinit.in" ;;
17447 "microblaze/.gdbinit") CONFIG_FILES
="$CONFIG_FILES microblaze/.gdbinit:common/gdbinit.in" ;;
17448 "mips/.gdbinit") CONFIG_FILES
="$CONFIG_FILES mips/.gdbinit:common/gdbinit.in" ;;
17449 "mn10300/.gdbinit") CONFIG_FILES
="$CONFIG_FILES mn10300/.gdbinit:common/gdbinit.in" ;;
17450 "moxie/.gdbinit") CONFIG_FILES
="$CONFIG_FILES moxie/.gdbinit:common/gdbinit.in" ;;
17451 "msp430/.gdbinit") CONFIG_FILES
="$CONFIG_FILES msp430/.gdbinit:common/gdbinit.in" ;;
17452 "or1k/.gdbinit") CONFIG_FILES
="$CONFIG_FILES or1k/.gdbinit:common/gdbinit.in" ;;
17453 "ppc/.gdbinit") CONFIG_FILES
="$CONFIG_FILES ppc/.gdbinit:common/gdbinit.in" ;;
17454 "pru/.gdbinit") CONFIG_FILES
="$CONFIG_FILES pru/.gdbinit:common/gdbinit.in" ;;
17455 "riscv/.gdbinit") CONFIG_FILES
="$CONFIG_FILES riscv/.gdbinit:common/gdbinit.in" ;;
17456 "rl78/.gdbinit") CONFIG_FILES
="$CONFIG_FILES rl78/.gdbinit:common/gdbinit.in" ;;
17457 "rx/.gdbinit") CONFIG_FILES
="$CONFIG_FILES rx/.gdbinit:common/gdbinit.in" ;;
17458 "sh/.gdbinit") CONFIG_FILES
="$CONFIG_FILES sh/.gdbinit:common/gdbinit.in" ;;
17459 "erc32/.gdbinit") CONFIG_FILES
="$CONFIG_FILES erc32/.gdbinit:common/gdbinit.in" ;;
17460 "v850/.gdbinit") CONFIG_FILES
="$CONFIG_FILES v850/.gdbinit:common/gdbinit.in" ;;
17461 "example-synacor/.gdbinit") CONFIG_FILES
="$CONFIG_FILES example-synacor/.gdbinit:common/gdbinit.in" ;;
17462 "arch-subdir.mk") CONFIG_FILES
="$CONFIG_FILES arch-subdir.mk" ;;
17463 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17464 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
17466 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17471 # If the user did not use the arguments to specify the items to instantiate,
17472 # then the envvar interface is used. Set only those that are not.
17473 # We use the long form for the default assignment because of an extremely
17474 # bizarre bug on SunOS 4.1.3.
17475 if $ac_need_defaults; then
17476 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17477 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17478 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17481 # Have a temporary directory for convenience. Make it in the build tree
17482 # simply because there is no reason against having it here, and in addition,
17483 # creating and moving files from /tmp can sometimes cause problems.
17484 # Hook for its removal unless debugging.
17485 # Note that there is a small window in which the directory will not be cleaned:
17486 # after its creation but before its name has been assigned to `$tmp'.
17490 trap 'exit_status=$?
17491 : "${ac_tmp:=$tmp}"
17492 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17494 trap 'as_fn_exit 1' 1 2 13 15
17496 # Create a (secure) tmp directory for tmp files.
17499 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17503 tmp
=.
/conf$$
-$RANDOM
17504 (umask 077 && mkdir
"$tmp")
17505 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17508 # Set up the scripts for CONFIG_FILES section.
17509 # No need to generate them if there are no CONFIG_FILES.
17510 # This happens for instance with `./config.status config.h'.
17511 if test -n "$CONFIG_FILES"; then
17514 ac_cr
=`echo X | tr X '\015'`
17515 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17516 # But we know of no other shell where ac_cr would be empty at this
17517 # point, so we can use a bashism as a fallback.
17518 if test "x$ac_cr" = x
; then
17519 eval ac_cr
=\$
\'\\r
\'
17521 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17522 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17525 ac_cs_awk_cr
=$ac_cr
17528 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17533 echo "cat >conf$$subs.awk <<_ACEOF" &&
17534 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17536 } >conf$$subs.sh ||
17537 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17538 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17540 for ac_last_try in false false false false false :; do
17541 . ./conf$$subs.sh ||
17542 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17544 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17545 if test $ac_delim_n = $ac_delim_num; then
17547 elif $ac_last_try; then
17548 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17550 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17553 rm -f conf$$subs.sh
17555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17556 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17560 s/^/S["/; s
/!.
*/"]=/
17570 s/\(.\{148\}\)..*/\1/
17572 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17577 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17584 s/\(.\{148\}\)..*/\1/
17586 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17590 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17595 ' <conf$$subs.awk | sed '
17600 ' >>$CONFIG_STATUS || ac_write_fail=1
17601 rm -f conf$$subs.awk
17602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17604 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17605 for (key in S) S_is_set[key] = 1
17611 nfields = split(line, field, "@
")
17613 len = length(field[1])
17614 for (i = 2; i < nfields; i++) {
17616 keylen = length(key)
17617 if (S_is_set[key]) {
17619 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17620 len += length(value) + length(field[++i])
17631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17632 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17633 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17636 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17637 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17640 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17641 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17642 # trailing colons and then remove the whole line if VPATH becomes empty
17643 # (actually we leave an empty line to preserve line numbers).
17644 if test "x
$srcdir" = x.; then
17645 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17664 fi # test -n "$CONFIG_FILES"
17666 # Set up the scripts for CONFIG_HEADERS section.
17667 # No need to generate them if there are no CONFIG_HEADERS.
17668 # This happens for instance with `./config.status Makefile'.
17669 if test -n "$CONFIG_HEADERS"; then
17670 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17674 # Transform confdefs.h into an awk script `defines.awk', embedded as
17675 # here-document in config.status, that substitutes the proper values into
17676 # config.h.in to produce config.h.
17678 # Create a delimiter string that does not exist in confdefs.h, to ease
17679 # handling of long lines.
17681 for ac_last_try in false false :; do
17682 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17683 if test -z "$ac_tt"; then
17685 elif $ac_last_try; then
17686 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17688 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17692 # For the awk script, D is an array of macro values keyed by name,
17693 # likewise P contains macro parameters if any. Preserve backslash
17694 # newline sequences.
17696 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17698 s/.\{148\}/&'"$ac_delim"'/g
17701 s/^[ ]*#[ ]*define[ ][ ]*/ /
17708 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17710 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17714 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17715 D["\
1"]=" \
3\\\\\\n
"\\/p
17717 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17722 s/.\{148\}/&'"$ac_delim"'/g
17727 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17730 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17732 ' <confdefs.h | sed '
17733 s/'"$ac_delim"'/"\\\
17734 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17736 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17737 for (key in D) D_is_set[key] = 1
17740 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17742 split(line, arg, " ")
17743 if (arg[1] == "#") {
17747 defundef
= substr
(arg
[1], 2)
17750 split(mac1
, mac2
, "(") #)
17752 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17753 if (D_is_set
[macro
]) {
17754 # Preserve the white space surrounding the "#".
17755 print prefix
"define", macro P
[macro
] D
[macro
]
17758 # Replace #undef with comments. This is necessary, for example,
17759 # in the case of _POSIX_SOURCE, which is predefined and required
17760 # on some systems where configure will not decide to define it.
17761 if (defundef
== "undef") {
17762 print
"/*", prefix defundef
, macro
, "*/"
17770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17771 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17772 fi # test -n "$CONFIG_HEADERS"
17775 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17780 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17782 case $ac_mode$ac_tag in
17784 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17785 :[FH
]-) ac_tag
=-:-;;
17786 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17803 -) ac_f
="$ac_tmp/stdin";;
17804 *) # Look for the file first in the build tree, then in the source tree
17805 # (if the path is not absolute). The absolute path cannot be DOS-style,
17806 # because $ac_f cannot contain `:'.
17810 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17812 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17814 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17815 as_fn_append ac_file_inputs
" '$ac_f'"
17818 # Let's still pretend it is `configure' which instantiates (i.e., don't
17819 # use $as_me), people would be surprised to read:
17820 # /* config.h. Generated by config.status. */
17821 configure_input
='Generated from '`
17822 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17824 if test x
"$ac_file" != x-
; then
17825 configure_input
="$ac_file. $configure_input"
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17827 $as_echo "$as_me: creating $ac_file" >&6;}
17829 # Neutralize special characters interpreted by sed in replacement strings.
17830 case $configure_input in #(
17831 *\
&* |
*\|
* |
*\\* )
17832 ac_sed_conf_input
=`$as_echo "$configure_input" |
17833 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17834 *) ac_sed_conf_input
=$configure_input;;
17838 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17839 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17844 ac_dir
=`$as_dirname -- "$ac_file" ||
17845 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17846 X"$ac_file" : 'X\(//\)[^/]' \| \
17847 X"$ac_file" : 'X\(//\)$' \| \
17848 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17849 $as_echo X"$ac_file" |
17850 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17854 /^X\(\/\/\)[^/].*/{
17867 as_dir
="$ac_dir"; as_fn_mkdir_p
17871 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17873 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17874 # A ".." for each directory in $ac_dir_suffix.
17875 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17876 case $ac_top_builddir_sub in
17877 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17878 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17881 ac_abs_top_builddir
=$ac_pwd
17882 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17883 # for backward compatibility:
17884 ac_top_builddir
=$ac_top_build_prefix
17887 .
) # We are building in place.
17889 ac_top_srcdir
=$ac_top_builddir_sub
17890 ac_abs_top_srcdir
=$ac_pwd ;;
17891 [\\/]* | ?
:[\\/]* ) # Absolute name.
17892 ac_srcdir
=$srcdir$ac_dir_suffix;
17893 ac_top_srcdir
=$srcdir
17894 ac_abs_top_srcdir
=$srcdir ;;
17895 *) # Relative name.
17896 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17897 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17898 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17900 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17910 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17911 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17913 ac_MKDIR_P
=$MKDIR_P
17915 [\\/$
]* | ?
:[\\/]* ) ;;
17916 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17921 # If the template does not know about datarootdir, expand it.
17922 # FIXME: This hack should be removed a few years after 2.60.
17923 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17934 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17935 *datarootdir
*) ac_datarootdir_seen
=yes;;
17936 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17938 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17941 ac_datarootdir_hack='
17942 s&@datadir@&$datadir&g
17943 s&@docdir@&$docdir&g
17944 s&@infodir@&$infodir&g
17945 s&@localedir@&$localedir&g
17946 s&@mandir@&$mandir&g
17947 s&\\\${datarootdir}&$datarootdir&g' ;;
17951 # Neutralize VPATH when `$srcdir' = `.'.
17952 # Shell code in configure.ac might set extrasub.
17953 # FIXME: do we really want to maintain this feature?
17954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17955 ac_sed_extra="$ac_vpsub
17958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17960 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17961 s|@configure_input@|
$ac_sed_conf_input|
;t t
17962 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17963 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17964 s
&@srcdir@
&$ac_srcdir&;t t
17965 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17966 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17967 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17968 s
&@builddir@
&$ac_builddir&;t t
17969 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17970 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17971 s
&@INSTALL@
&$ac_INSTALL&;t t
17972 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17973 $ac_datarootdir_hack
17975 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17976 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17978 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17979 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17980 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17981 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17983 which seems to be undefined. Please make sure it is defined" >&5
17984 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17985 which seems to be undefined. Please make sure it is defined" >&2;}
17987 rm -f "$ac_tmp/stdin"
17989 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17990 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17992 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17998 if test x"$ac_file" != x-; then
18000 $as_echo "/* $configure_input */" \
18001 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18002 } >"$ac_tmp/config.h" \
18003 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18004 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18006 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18009 mv "$ac_tmp/config.h" "$ac_file" \
18010 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18013 $as_echo "/* $configure_input */" \
18014 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18015 || as_fn_error $? "could not create -" "$LINENO" 5
18017 # Compute "$ac_file"'s index
in $config_headers.
18020 for _am_header
in $config_headers :; do
18021 case $_am_header in
18022 $_am_arg |
$_am_arg:* )
18025 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18028 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18029 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18030 X"$_am_arg" : 'X\(//\)[^/]' \| \
18031 X"$_am_arg" : 'X\(//\)$' \| \
18032 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18033 $as_echo X"$_am_arg" |
18034 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18038 /^X\(\/\/\)[^/].*/{
18050 s/.*/./; q'`/stamp-h
$_am_stamp_count
18053 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18054 $as_echo "$as_me: executing $ac_file commands" >&6;}
18059 case $ac_file$ac_mode in
18062 # See if we are running on zsh, and set the options which allow our
18063 # commands through without removal of \ escapes.
18064 if test -n "${ZSH_VERSION+set}" ; then
18065 setopt NO_GLOB_SUBST
18068 cfgfile
="${ofile}T"
18069 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18072 cat <<_LT_EOF >> "$cfgfile"
18075 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18076 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18077 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18078 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18080 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18081 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18082 # Written by Gordon Matzigkeit, 1996
18084 # This file is part of GNU Libtool.
18086 # GNU Libtool is free software; you can redistribute it and/or
18087 # modify it under the terms of the GNU General Public License as
18088 # published by the Free Software Foundation; either version 2 of
18089 # the License, or (at your option) any later version.
18091 # As a special exception to the GNU General Public License,
18092 # if you distribute this file as part of a program or library that
18093 # is built using GNU Libtool, you may include this file under the
18094 # same distribution terms that you use for the rest of that program.
18096 # GNU Libtool is distributed in the hope that it will be useful,
18097 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18098 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18099 # GNU General Public License for more details.
18101 # You should have received a copy of the GNU General Public License
18102 # along with GNU Libtool; see the file COPYING. If not, a copy
18103 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18104 # obtained by writing to the Free Software Foundation, Inc.,
18105 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18108 # The names of the tagged configurations supported by this script.
18111 # ### BEGIN LIBTOOL CONFIG
18113 # Which release of libtool.m4 was used?
18114 macro_version=$macro_version
18115 macro_revision=$macro_revision
18117 # Whether or not to build shared libraries.
18118 build_libtool_libs=$enable_shared
18120 # Whether or not to build static libraries.
18121 build_old_libs=$enable_static
18123 # What type of objects to build.
18126 # Whether or not to optimize for fast installation.
18127 fast_install=$enable_fast_install
18129 # Shell to use when invoking shell scripts.
18132 # An echo program that protects backslashes.
18136 host_alias=$host_alias
18140 # The build system.
18141 build_alias=$build_alias
18145 # A sed program that does not truncate output.
18148 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18149 Xsed="\$SED -e 1s/^X//"
18151 # A grep program that handles long lines.
18157 # A literal string matcher.
18160 # A BSD- or MS-compatible name lister.
18163 # Whether we need soft or hard links.
18166 # What is the maximum length of a command?
18167 max_cmd_len=$max_cmd_len
18169 # Object file suffix (normally "o").
18172 # Executable file suffix (normally "").
18175 # whether the shell understands "unset".
18178 # turn spaces into newlines.
18181 # turn newlines into spaces.
18184 # An object symbol dumper.
18185 OBJDUMP=$lt_OBJDUMP
18187 # Method to check whether dependent libraries are shared objects.
18188 deplibs_check_method=$lt_deplibs_check_method
18190 # Command to use when deplibs_check_method == "file_magic".
18191 file_magic_cmd=$lt_file_magic_cmd
18195 AR_FLAGS=$lt_AR_FLAGS
18197 # A symbol stripping program.
18200 # Commands used to install an old-style archive.
18202 old_postinstall_cmds=$lt_old_postinstall_cmds
18203 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18205 # Whether to use a lock for old archive extraction.
18206 lock_old_archive_extraction=$lock_old_archive_extraction
18211 # LTCC compiler flags.
18212 LTCFLAGS=$lt_CFLAGS
18214 # Take the output of nm and produce a listing of raw symbols and C names.
18215 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18217 # Transform the output of nm in a proper C declaration.
18218 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18220 # Transform the output of nm in a C name address pair.
18221 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18223 # Transform the output of nm in a C name address pair when lib prefix is needed.
18224 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18226 # The name of the directory that contains temporary libtool files.
18229 # Used to examine libraries when file_magic_cmd begins with "file".
18230 MAGIC_CMD=$MAGIC_CMD
18232 # Must we lock files when doing compilation?
18233 need_locks=$lt_need_locks
18235 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18236 DSYMUTIL=$lt_DSYMUTIL
18238 # Tool to change global to local symbols on Mac OS X.
18241 # Tool to manipulate fat objects and archives on Mac OS X.
18244 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18247 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18248 OTOOL64=$lt_OTOOL64
18250 # Old archive suffix (normally "a").
18253 # Shared library suffix (normally ".so").
18254 shrext_cmds=$lt_shrext_cmds
18256 # The commands to extract the exported symbol list from a shared archive.
18257 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18259 # Variables whose values should be saved in libtool wrapper scripts and
18260 # restored at link time.
18261 variables_saved_for_relink=$lt_variables_saved_for_relink
18263 # Do we need the "lib" prefix for modules?
18264 need_lib_prefix=$need_lib_prefix
18266 # Do we need a version for libraries?
18267 need_version=$need_version
18269 # Library versioning type.
18270 version_type=$version_type
18272 # Shared library runtime path variable.
18273 runpath_var=$runpath_var
18275 # Shared library path variable.
18276 shlibpath_var=$shlibpath_var
18278 # Is shlibpath searched before the hard-coded library search path?
18279 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18281 # Format of library name prefix.
18282 libname_spec=$lt_libname_spec
18284 # List of archive names. First name is the real one, the rest are links.
18285 # The last name is the one that the linker finds with -lNAME
18286 library_names_spec=$lt_library_names_spec
18288 # The coded name of the library, if different from the real name.
18289 soname_spec=$lt_soname_spec
18291 # Permission mode override for installation of shared libraries.
18292 install_override_mode=$lt_install_override_mode
18294 # Command to use after installation of a shared archive.
18295 postinstall_cmds=$lt_postinstall_cmds
18297 # Command to use after uninstallation of a shared archive.
18298 postuninstall_cmds=$lt_postuninstall_cmds
18300 # Commands used to finish a libtool library installation in a directory.
18301 finish_cmds=$lt_finish_cmds
18303 # As "finish_cmds", except a single script fragment to be evaled but
18305 finish_eval=$lt_finish_eval
18307 # Whether we should hardcode library paths into libraries.
18308 hardcode_into_libs=$hardcode_into_libs
18310 # Compile-time system search path for libraries.
18311 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18313 # Run-time system search path for libraries.
18314 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18316 # Whether dlopen is supported.
18317 dlopen_support=$enable_dlopen
18319 # Whether dlopen of programs is supported.
18320 dlopen_self=$enable_dlopen_self
18322 # Whether dlopen of statically linked programs is supported.
18323 dlopen_self_static=$enable_dlopen_self_static
18325 # Commands to strip libraries.
18326 old_striplib=$lt_old_striplib
18327 striplib=$lt_striplib
18330 # The linker used to build libraries.
18333 # How to create reloadable object files.
18334 reload_flag=$lt_reload_flag
18335 reload_cmds=$lt_reload_cmds
18337 # Commands used to build an old-style archive.
18338 old_archive_cmds=$lt_old_archive_cmds
18340 # A language specific compiler.
18343 # Is the compiler the GNU compiler?
18346 # Compiler flag to turn off builtin functions.
18347 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18349 # How to pass a linker flag through the compiler.
18350 wl=$lt_lt_prog_compiler_wl
18352 # Additional compiler flags for building library objects.
18353 pic_flag=$lt_lt_prog_compiler_pic
18355 # Compiler flag to prevent dynamic linking.
18356 link_static_flag=$lt_lt_prog_compiler_static
18358 # Does compiler simultaneously support -c and -o options?
18359 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18361 # Whether or not to add -lc for building shared libraries.
18362 build_libtool_need_lc=$archive_cmds_need_lc
18364 # Whether or not to disallow shared libs when runtime libs are static.
18365 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18367 # Compiler flag to allow reflexive dlopens.
18368 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18370 # Compiler flag to generate shared objects directly from archives.
18371 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18373 # Whether the compiler copes with passing no objects directly.
18374 compiler_needs_object=$lt_compiler_needs_object
18376 # Create an old-style archive from a shared archive.
18377 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18379 # Create a temporary old-style archive to link instead of a shared archive.
18380 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18382 # Commands used to build a shared archive.
18383 archive_cmds=$lt_archive_cmds
18384 archive_expsym_cmds=$lt_archive_expsym_cmds
18386 # Commands used to build a loadable module if different from building
18387 # a shared archive.
18388 module_cmds=$lt_module_cmds
18389 module_expsym_cmds=$lt_module_expsym_cmds
18391 # Whether we are building with GNU ld or not.
18392 with_gnu_ld=$lt_with_gnu_ld
18394 # Flag that allows shared libraries with undefined symbols to be built.
18395 allow_undefined_flag=$lt_allow_undefined_flag
18397 # Flag that enforces no undefined symbols.
18398 no_undefined_flag=$lt_no_undefined_flag
18400 # Flag to hardcode \$libdir into a binary during linking.
18401 # This must work even if \$libdir does not exist
18402 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18404 # If ld is used when linking, flag to hardcode \$libdir into a binary
18405 # during linking. This must work even if \$libdir does not exist.
18406 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18408 # Whether we need a single "-rpath" flag with a separated argument.
18409 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18411 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18412 # DIR into the resulting binary.
18413 hardcode_direct=$hardcode_direct
18415 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18416 # DIR into the resulting binary and the resulting library dependency is
18417 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18418 # library is relocated.
18419 hardcode_direct_absolute=$hardcode_direct_absolute
18421 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18422 # into the resulting binary.
18423 hardcode_minus_L=$hardcode_minus_L
18425 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18426 # into the resulting binary.
18427 hardcode_shlibpath_var=$hardcode_shlibpath_var
18429 # Set to "yes" if building a shared library automatically hardcodes DIR
18430 # into the library and all subsequent libraries and executables linked
18432 hardcode_automatic=$hardcode_automatic
18434 # Set to yes if linker adds runtime paths of dependent libraries
18435 # to runtime path list.
18436 inherit_rpath=$inherit_rpath
18438 # Whether libtool must link a program against all its dependency libraries.
18439 link_all_deplibs=$link_all_deplibs
18441 # Fix the shell variable \$srcfile for the compiler.
18442 fix_srcfile_path=$lt_fix_srcfile_path
18444 # Set to "yes" if exported symbols are required.
18445 always_export_symbols=$always_export_symbols
18447 # The commands to list exported symbols.
18448 export_symbols_cmds=$lt_export_symbols_cmds
18450 # Symbols that should not be listed in the preloaded symbols.
18451 exclude_expsyms=$lt_exclude_expsyms
18453 # Symbols that must always be exported.
18454 include_expsyms=$lt_include_expsyms
18456 # Commands necessary for linking programs (against libraries) with templates.
18457 prelink_cmds=$lt_prelink_cmds
18459 # Specify filename containing input files.
18460 file_list_spec=$lt_file_list_spec
18462 # How to hardcode a shared library path into an executable.
18463 hardcode_action=$hardcode_action
18465 # ### END LIBTOOL CONFIG
18471 cat <<\_LT_EOF
>> "$cfgfile"
18472 # AIX sometimes has problems with the GCC collect2 program. For some
18473 # reason, if we set the COLLECT_NAMES environment variable, the problems
18474 # vanish in a puff of smoke.
18475 if test "X${COLLECT_NAMES+set}" != Xset
; then
18477 export COLLECT_NAMES
18484 ltmain
="$ac_aux_dir/ltmain.sh"
18487 # We use sed instead of cat because bash on DJGPP gets confused if
18488 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18489 # text mode, it properly converts lines to CR/LF. This bash problem
18490 # is reportedly fixed, but why not run on old versions too?
18491 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18492 ||
(rm -f "$cfgfile"; exit 1)
18496 cat << \_LT_EOF
>> "$cfgfile"
18498 # func_dirname file append nondir_replacement
18499 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18500 # otherwise set result to NONDIR_REPLACEMENT.
18504 */*) func_dirname_result
="${1%/*}${2}" ;;
18505 * ) func_dirname_result
="${3}" ;;
18509 # func_basename file
18512 func_basename_result
="${1##*/}"
18515 # func_dirname_and_basename file append nondir_replacement
18516 # perform func_basename and func_dirname in a single function
18518 # dirname: Compute the dirname of FILE. If nonempty,
18519 # add APPEND to the result, otherwise set result
18520 # to NONDIR_REPLACEMENT.
18521 # value returned in "$func_dirname_result"
18522 # basename: Compute filename of FILE.
18523 # value retuned in "$func_basename_result"
18524 # Implementation must be kept synchronized with func_dirname
18525 # and func_basename. For efficiency, we do not delegate to
18526 # those functions but instead duplicate the functionality here.
18527 func_dirname_and_basename
()
18530 */*) func_dirname_result
="${1%/*}${2}" ;;
18531 * ) func_dirname_result
="${3}" ;;
18533 func_basename_result
="${1##*/}"
18536 # func_stripname prefix suffix name
18537 # strip PREFIX and SUFFIX off of NAME.
18538 # PREFIX and SUFFIX must not contain globbing or regex special
18539 # characters, hashes, percent signs, but SUFFIX may contain a leading
18540 # dot (in which case that matches only a dot).
18543 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18544 # positional parameters, so assign one to ordinary parameter first.
18545 func_stripname_result
=${3}
18546 func_stripname_result
=${func_stripname_result#"${1}"}
18547 func_stripname_result
=${func_stripname_result%"${2}"}
18553 func_opt_split_opt
=${1%%=*}
18554 func_opt_split_arg
=${1#*=}
18561 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18562 *) func_lo2o_result
=${1} ;;
18566 # func_xform libobj-or-source
18569 func_xform_result
=${1%.*}.lo
18572 # func_arith arithmetic-term...
18575 func_arith_result
=$
(( $
* ))
18579 # STRING may not start with a hyphen.
18582 func_len_result
=${#1}
18587 *) # Bourne compatible functions.
18588 cat << \_LT_EOF
>> "$cfgfile"
18590 # func_dirname file append nondir_replacement
18591 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18592 # otherwise set result to NONDIR_REPLACEMENT.
18595 # Extract subdirectory from the argument.
18596 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18597 if test "X$func_dirname_result" = "X${1}"; then
18598 func_dirname_result
="${3}"
18600 func_dirname_result
="$func_dirname_result${2}"
18604 # func_basename file
18607 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18611 # func_stripname prefix suffix name
18612 # strip PREFIX and SUFFIX off of NAME.
18613 # PREFIX and SUFFIX must not contain globbing or regex special
18614 # characters, hashes, percent signs, but SUFFIX may contain a leading
18615 # dot (in which case that matches only a dot).
18616 # func_strip_suffix prefix name
18620 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18621 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18626 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18627 my_sed_long_arg
='1s/^-[^=]*=//'
18632 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18633 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18639 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18642 # func_xform libobj-or-source
18645 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18648 # func_arith arithmetic-term...
18651 func_arith_result
=`expr "$@"`
18655 # STRING may not start with a hyphen.
18658 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18664 case $lt_shell_append in
18666 cat << \_LT_EOF
>> "$cfgfile"
18668 # func_append var value
18669 # Append VALUE to the end of shell variable VAR.
18677 cat << \_LT_EOF
>> "$cfgfile"
18679 # func_append var value
18680 # Append VALUE to the end of shell variable VAR.
18691 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18692 ||
(rm -f "$cfgfile"; exit 1)
18694 mv -f "$cfgfile" "$ofile" ||
18695 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18699 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18700 # Older Autoconf quotes --file arguments for eval, but not when files
18701 # are listed without --file. Let's play safe and only enable the eval
18702 # if we detect the quoting.
18703 case $CONFIG_FILES in
18704 *\'*) eval set x
"$CONFIG_FILES" ;;
18705 *) set x
$CONFIG_FILES ;;
18710 # Strip MF so we end up with the name of the file.
18711 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18712 # Check whether this is an Automake generated Makefile or not.
18713 # We used to match only the files named 'Makefile.in', but
18714 # some people rename them; so instead we look at the file content.
18715 # Grep'ing the first line is not enough: some people post-process
18716 # each Makefile.in and add a new line on top of each file to say so.
18717 # Grep'ing the whole file is not good either: AIX grep has a line
18718 # limit of 2048, but all sed's we know have understand at least 4000.
18719 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18720 dirpart
=`$as_dirname -- "$mf" ||
18721 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18722 X"$mf" : 'X\(//\)[^/]' \| \
18723 X"$mf" : 'X\(//\)$' \| \
18724 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18730 /^X\(\/\/\)[^/].*/{
18746 # Extract the definition of DEPDIR, am__include, and am__quote
18747 # from the Makefile without running 'make'.
18748 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18749 test -z "$DEPDIR" && continue
18750 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18751 test -z "$am__include" && continue
18752 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18753 # Find all dependency output files, they are included files with
18754 # $(DEPDIR) in their names. We invoke sed twice because it is the
18755 # simplest approach to changing $(DEPDIR) to its actual value in the
18757 for file in `sed -n "
18758 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18759 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18760 # Make sure the directory exists.
18761 test -f "$dirpart/$file" && continue
18762 fdir
=`$as_dirname -- "$file" ||
18763 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18764 X"$file" : 'X\(//\)[^/]' \| \
18765 X"$file" : 'X\(//\)$' \| \
18766 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18767 $as_echo X"$file" |
18768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18772 /^X\(\/\/\)[^/].*/{
18785 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18786 # echo "creating $dirpart/$file"
18787 echo '# dummy' > "$dirpart/$file"
18799 ac_clean_files
=$ac_clean_files_save
18801 test $ac_write_fail = 0 ||
18802 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18805 # configure is writing to config.log, and then calls config.status.
18806 # config.status does its own redirection, appending to config.log.
18807 # Unfortunately, on DOS this fails, as config.log is still kept open
18808 # by configure, so config.status won't be able to write to it; its
18809 # output is simply discarded. So we exec the FD to /dev/null,
18810 # effectively closing config.log, so it can be properly (re)opened and
18811 # appended to by config.status. When coming back to configure, we
18812 # need to make the FD available again.
18813 if test "$no_create" != yes; then
18815 ac_config_status_args
=
18816 test "$silent" = yes &&
18817 ac_config_status_args
="$ac_config_status_args --quiet"
18819 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18821 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18822 # would make configure fail if this is the last instruction.
18823 $ac_cs_success || as_fn_exit
1
18827 # CONFIG_SUBDIRS section.
18829 if test "$no_recursion" != yes; then
18831 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
18832 # so they do not pile up.
18833 ac_sub_configure_args
=
18835 eval "set x $ac_configure_args"
18839 if test -n "$ac_prev"; then
18844 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
18845 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
18846 ac_prev
=cache_file
;;
18847 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
18848 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
18851 --config-cache |
-C)
18853 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
18855 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
18857 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
18859 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
18861 --disable-option-checking)
18865 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18867 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
18871 # Always prepend --prefix to ensure using the same prefix
18872 # in subdir configurations.
18873 ac_arg
="--prefix=$prefix"
18875 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18877 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
18880 if test "$silent" = yes; then
18881 ac_sub_configure_args
="--silent $ac_sub_configure_args"
18884 # Always prepend --disable-option-checking to silence warnings, since
18885 # different subdirs can have different --enable and --with options.
18886 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
18889 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
18891 # Do not complain, so a configure script can configure whichever
18892 # parts of a large source tree are present.
18893 test -d "$srcdir/$ac_dir" ||
continue
18895 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
18896 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
18897 $as_echo "$ac_msg" >&6
18898 as_dir
="$ac_dir"; as_fn_mkdir_p
18902 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18904 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18905 # A ".." for each directory in $ac_dir_suffix.
18906 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18907 case $ac_top_builddir_sub in
18908 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18909 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18912 ac_abs_top_builddir
=$ac_pwd
18913 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18914 # for backward compatibility:
18915 ac_top_builddir
=$ac_top_build_prefix
18918 .
) # We are building in place.
18920 ac_top_srcdir
=$ac_top_builddir_sub
18921 ac_abs_top_srcdir
=$ac_pwd ;;
18922 [\\/]* | ?
:[\\/]* ) # Absolute name.
18923 ac_srcdir
=$srcdir$ac_dir_suffix;
18924 ac_top_srcdir
=$srcdir
18925 ac_abs_top_srcdir
=$srcdir ;;
18926 *) # Relative name.
18927 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18928 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18929 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18931 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18936 # Check for guested configure; otherwise get Cygnus style configure.
18937 if test -f "$ac_srcdir/configure.gnu"; then
18938 ac_sub_configure
=$ac_srcdir/configure.gnu
18939 elif test -f "$ac_srcdir/configure"; then
18940 ac_sub_configure
=$ac_srcdir/configure
18941 elif test -f "$ac_srcdir/configure.in"; then
18942 # This should be Cygnus configure.
18943 ac_sub_configure
=$ac_aux_dir/configure
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
18946 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
18950 # The recursion is here.
18951 if test -n "$ac_sub_configure"; then
18952 # Make the cache file name correct relative to the subdirectory.
18953 case $cache_file in
18954 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
18955 *) # Relative name.
18956 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
18959 { $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
18960 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
18961 # The eval makes quoting arguments work.
18962 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
18963 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
18964 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
18970 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18972 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}